Collectstatic error with whitenoise on 3.9.5 (same as #1281)

the bug was described in the closed issue #1281 but it was not resolved
a fresh new django project with whitenoise and django-autocomplete-light in installed-app will throw the following error
The CSS file 'vendor/select2/docs/themes/learn2/css/font-awesome.min.css' references a file which could not be found:
  vendor/select2/docs/themes/learn2/fonts/fontawesome-webfont.woff2

Please check the URL references in this CSS file, particularly any
relative paths which might be pointing to the wrong location.

the wierd thing is if I downgrade to 3.8.2, it works, but if I upgrade again to 3.9.5 it continues to work (even if I delete static folder)
to be sure to reproduce the error I have made a dockerfile, you can reproduce the error with a simple
docker build .

Here is the full project with all files needed to reproduce the error
dal-static-error.zip

Attempting to narrow down the problem: versions 3.9.4 and 3.9.5-rc1 work.
Upgrading to versions >= 3.9.5-rc2 causes collectstatic to fail.

No, I've tried with all versions from 3.9.0 to 3.9.5 and all fails, you can try it with the zip file changing the Pipfile and rebuilding the docker

sory!
I dind't realize that i have a ~= in the Pipfile, so even I ve changed the version I was allways using 3.9.5
I can confirm you 3.9.4 is working well

We are not supposed to use git modules anymore since a82d1501c3c7b912e98c69a50b71a1c9802f31d6
But, apparently releases worked better on dirty repositories that still had a copy of the select2 submodule :facepalm:
Unfortunately, I can't delete the release like last time because of https://github.com/pypi/support/issues/2788 as such, I'm trying to find a reasonable mitigation to make another release in the hour.

BTW, what Django version are ya'll on?

3.2.19
From: 1337 H4X0|2 @.>
Sent: Friday, May 12, 2023 11:49 AM
To: yourlabs/django-autocomplete-light @.>
Cc: Matthew Buff @.>; Comment @.>
Subject: Re: [yourlabs/django-autocomplete-light] Collectstatic error with whitenoise on 3.9.5 (same as #1281) (Issue #1328)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
BTW, what Django version are ya'll on?

Reply to this email directly, view it on GitHubhttps://github.com/yourlabs/django-autocomplete-light/issues/1328#issuecomment-1545950053, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJ34PC6AZHSW7QULJKQBDLXFZLXTANCNFSM6AAAAAAX65QDYA.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

Thanks! Is it fixed for you with 3.9.7?

Confirmed - fixed in 3.9.7.
Thank you!

Thanks! What a relief :rofl:
So, the only preventive bugfix and the last one we can do for this repo, is make github action to do the npm build
But it fails miserably to let npm copy a file because of a proclaimed permission error nevermind the fact that copying the file in bash in the above lines works perfectly as it should:

See full logs in job #33337
Any idea welcome!

cp node_modules/select2/dist/css/select2.css node_modules/select2/dist/css/select2.min.css 'src/dal_select2/static/vendor/select2/dist/css/*.css'
have no meaning
the folder 'src/dal_select2/static/vendor/select2/dist/css/*.css is undefined / is not a folder
you probably want :
cp node_modules/select2/dist/css/select2.css node_modules/select2/dist/css/select2.min.css src/dal_select2/static/vendor/select2/dist/css/
( if src/dal_select2/static/vendor/select2/dist/css/  is a real existing folder )
but anyway src/dal_select2/static/vendor/select2/dist/css/*.css  is not a valid destination folder for the cp command

--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,28 +1,35 @@
 name: Clean release
 run-name: ${{ github.actor }} release
-on: push
+on:
+  push:
+    tags:
+      - '*'
+
 jobs:
   pypi-release:
     runs-on: ubuntu-latest
     container:
       image: yourlabs/python
+      options: --entrypoint /usr/sbin/bash
     steps:
     - name: Check out repository code
       uses: actions/checkout@v3
     - name: debug this crazy environment
       run: |
-        set -x
-        npm install
-        npm run build
+        workdir=$(pwd)
+        chown -R 1000:1000 "$workdir"
+        su - app -c "cd $workdir && npm install && npm run build"
     - name: Update version in setup.py and docs/conf.py
       run: |
         sed -i "s/version=[^,]*,/version='${GITHUB_REF##*/}',/" setup.py
         sed -i "s/release = [^,]*,/release = '${GITHUB_REF##*/}'/" docs/conf.py
-        sed -i 's/version": "[^"]*"/version": "$short"/' package.json
         short=$(echo ${GITHUB_REF##*/} | grep -Eo '[^.]+\.[^.]+')
+        sed -i 's/version": "[^"]*"/version": '\"$short\"'/' package.json
         sed -i "s/version = [^,]*,/version = '${GITHUB_REF##*/}'/" docs/conf.py
...

Avec ca normalement c'est bon. Mais à cause de short=$(echo ${GITHUB_REF##*/} | grep -Eo '[^.]+\.[^.]+') ca ne peut marcher que avce les tags:
echo 'master' | grep -Eo '[^.]+\.[^.]+'
echo $?
1

I think we got it to work now, I guess I owe some friends some :beers: now :rofl:
https://github.com/yourlabs/django-autocomplete-light/actions/runs/5066646261/jobs/9096712238


[P0] reft_model loading as reft_model not as pyvene object

A reft_model got by the method get_reft_model() is an instance of ReftModel and we can call the method print_trainable_parameters() to show the number of parameters. However, a reft_model  loaded by the method ReftModel.load() is an instance of intervenable_base.IntervenableModel and we can not call the method print_trainable_parameters(). Is this
reasonable?

@Jixs0528 good catch! this should be fixed!

@frankaging cool let me take a look

Fixed! closing this for now. Feel free to reopen if other issues arise. Ty for raising this again.

I think the method forward() in the class NoreftIntervention should be:
output = base + torch.matmul(
            (self.act_fn(self.learned_source(base)) - proj_base), self.proj_layer.weight.T
        )

Or it will raise a RuntimeError.

hey @Jixs0528 can you provide the error log? NoreftIntervention runs fine on my end.

providing more evidence here. the weight matrix in NoreftIntervention is initialized with (model_dim, low_rank_dim). the weight matrix is in a shape of (low_rank_dim*model_dim).

@frankaging Sorry. I misunderstood the shape of proj_layer.weight. Thanks for replying quickly.


Changing path of /user API to /me

Is your feature request related to a problem? Please describe.
We currently have an API to get resources belong to a caller (user) with API /v1beta1/user/starring and /v1beta1/user/discussions.
But in guardian the API is v1beta1/me. I am thinking we can make it consistent across org by updating columbus API from /user to /me
Describe the solution you'd like
Updating columbus API from /user to /me

any thought on this? @ravisuhag @StewartJingga @rahmatrhd

I'm okay with that, I've always liked /me better than /user.

using /me at least can avoid confusion when we also manage users entity and expose it on /users (if we have). And I also like /me better than anything, pun intended 😜


fixes most of the issues in #1

I've compressed compressed multiple assets and then converted them to webp for 20% more performace.

If the issue still persists, i'll modify  p.text-center.my-3 element and create a different method to to display the content in a more efficient manner (possibly create when being displayed and destroyed when not being viewed) to improve LCP loading performance

Thank you, everything looks good! I'll merge the changes and keep you updated.


the hunter combat routines does not work

i am a newcomer to this  add-ons.
the add-ons is loaded successfully,and the  mastertoggle is showed in the game and enabled,but the combat routines does not work.
this is my screenshots.does i forget something necessary to set?

What do you mean by it dosent work?
I need more details.
What do you want it to do? Automated?
If so you need a lua unlocker, are you using one?

@MrTheSoulz
Thank your reply  very much,i thought these addons are for auto fightting by AFK Like honorbuddy,am I wrong?
My character does not fight against the enemy automatically,no auto interrupts ,no auto aoe.
I test with DeadKing,Paladin,and Hunter.
Although Paladin can auto  targets, automated facing and movements,it do not auto fight yet.
I run EWT(easy wow toolbox) well,and set the option "Advanced Lua Unlock" in EWT.the combat helperV1.1 seem like wok fine for Paladin.
I did see a message "[nep]:Found:EasyWoWToolBox"in chat saying when i click the red unlock option,but it also seem like no use .
.

@MrTheSoulz
the Combot helper V1.1 does not work fine for DeadKnight by my test,but work well for Paladin
.

@MrTheSoulz Nobody confront the problems like this?

Yes, this will automatr everything if you use a unlocker, wich you are.
Is your wow client in english? My current crs will only work in english clients.

@MrTheSoulz  Yes,I think the problem

@MrTheSoulz  Thank you very much,The cause of the problem is the language of client,and I fix it.
Best regards to you .


movefocus within groups

Description
There is movewindoworgroup.
For consistency, it would be nice to have movefocusorgroup to move in and out of groups as well.

Duplicate of #4906


Let us select wkWebView or uiWebView

It would be very useful if you can add initializer with chance to select what to use UIWebView or WKWebView. WKWebView know doesn't use apps cookies and useless in many situations.

Thank you for your suggestion. I am coming to the realization that this is necessary. I am planning a release in the near future, and will aim to include this.


Error when Get-FolderSize is executed in / on linux and Mac

On linux and Mac I've an error showing up when the command is triggered in /.
Setup:
PS /> Get-Host | Select-Object Version

Version
-------
7.1.4

PS /> (Get-Location)

Path
----
/

Command and Error:
PS /> (Get-FolderSize -FolderName 'etc')
Split-Path: /root/.local/share/powershell/Modules/PSFolderSize/1.7.1/Functions/Private/Get-FolderList.ps1:72
Line |
  72 |          $splitPath = Split-Path -Path $BasePath
     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot process argument because the value of argument "path"
     | is not valid. Change the value of the "path" argument and run
     | the operation again.

Workaround:
PS /> (Get-FolderSize -FolderName 'etc' -Path '.')

FolderName                     SizeMB       SizeGB       FullPath
----------                     ------       ------       --------
etc                            3.37         0            /etc

Oh, I like this issue and fix.
I think this would be great for simplifying how to search folder sizes in Linux.
though there are a thousand tools for it, they are not as universal in many cases.

Taking a look at this next! Thanks for the information.


<EMAIL_ADDRESS>Update pre_install

powershell syntax error
foreach-object

[x] I have read the Contributing Guide.

/verify


Arcgis hd toolbox

added readme

I'm converting this PR to a draft for now -- just give a shout @mattballard-planet when it's done and ready for review!

@sarasafavi I think that this is ready to go!


Adding support for ESlint 9.0.0

ESLint 9.0.0 has been released as stable.
Currently, the ESlint version of this package is pointing to version 8.43.0, which has many deprecation notices for version 9.0.0.
This version updates the code to prevent using deprecated fn from version 8.x and start using the new fns of 9.x
The version has been updated to 8.56.0 and migrated to a non-deprecated FNS.
ESLint has not been bumped to version 9, as many changes are required to maintain backward compatibility. However, the package works well in the new version.
Tests are passing. And I tested a bit on my end. This is not a guarantee that I did not break anything. And Code reviews will be really appreciated :)
Note that the package has been bumped to 0.14.0.
Issue: https://github.com/solidjs-community/eslint-plugin-solid/issues/137

Hi, thank you for putting together a PR for this. Looking more into this, it's going to take a fair amount of changes to support ESLint v9 in a backwards-compatible way, since ESLint did not provide backwards-compatibility for the moved APIs.
Like I said in the issue, I don't want to drop support for < v9, so I'm going to make the required changes in another PR (#140). As with most ESLint plugins, it's going to take some time to support the new major. (pnpm test:all checks the plugin across different versions/parsers, and I'd like to get them all passing for v6–v9.)
In the meantime, I hope you and others are able to use your fork with ESLint v9 🙂 I hope you don't mind if I close this—we can reopen should you get to a non-breaking change, but I should have it covered. Thank you again for your PR!

eslint-plugin-solid is now compatible with ESLint 9 in v0.14.0! Please let me know if you have any issues.

eslint-plugin-solid is now compatible with ESLint 9 in v0.14.0! Please let me know if you have any issues.

It sounds awesome.I'll try it later.🎉


bug: missing newlines

Help strings for the following commands have no newline:

sar_drawline
sar_drawline_clear
sar_trace_bbox_at
sar_trace_bbox_ent_dist
sar_trace_bbox_use_hover

Fixed.


ciftify_recon_all : mris_convert prefix issue

Hello,
I am running into the following problem when running ciftify_recon_all on the freesurfer folder of a subject, which was generated with fmriprep :
Running: mris_convert -c REANALYSIS/data/derivatives/fmriprep/sourcedata/freesurfer/sub-06/surf/lh.sulc REANALYSIS/data/derivatives/fmriprep/sourcedata/freesurfer/sub-06/surf/lh.white /tmp/tmptejesxgg/MNINonLinear/native/sub-06.L.sulc.native.shape.gii
Running: wb_command -set-structure /tmp/tmptejesxgg/MNINonLinear/native/sub-06.L.sulc.native.shape.gii CORTEX_LEFT
cmd: wb_command -set-structure /tmp/tmptejesxgg/MNINonLinear/native/sub-06.L.sulc.native.shape.gii CORTEX_LEFT
 Failed with returncode 255

While running:
/home/gc277172/workbench-linux64-v1.5.0/workbench/bin_linux64/../exe_linux64/wb_command -set-structure /tmp/tmptejesxgg/MNINonLinear/native/sub-06.L.sulc.native.shape.gii CORTEX_LEFT

ERROR: NAME OF FILE: sub-06.L.sulc.native.shape.gii
PATH TO FILE: /tmp/tmptejesxgg/MNINonLinear/native

File does not exist.

From what I understand after running mris_convert directly from the command line, the issue seems to stem from the fact that it this function does not actually name the output sub-06.L.sulc.native.shape.gii as instructed, but rather lh.sub-06.L.sulc.native.shape.gii, leading to the following wb-command looking for a non-existent file. Is this due to an incompatibility between the version of freesurfer I am using (7.4.1) and ciftify, or is there a work-around to this issue ?
Thank you in advance,
Guillaume

Hi Guillaume, I am having exactly the same problem ( I have been using freesurfer v 7.2) Did you manage to find a solution?
Thanks,
Matilde

I have the same problem,if anyone can help me?
Thanks!

hey，guys！i changed my freesurfer version to 7.3.2，the error disappeared and it works fine.


feat: add reacton use_event hook in ipyvue instead of reacton

This code should go into ipyvue, not reacton, such that we can have multiple ipyvue versions with different use_event versions.

TODO: add tests


Move to using constructor/destructor for ReadHandler

Problem
We have public APIs on ReadHandler (like Init, and parts of OnReadRequest) that are expected to only be called when the handler tests true for IsFree.   This is pretty fragile.
Proposed Solution
Switch to having an actual constructor and destructor for ReadHandler.  The constructor would take a delegate and exchange context as arguments.  Shutdown would call the destructor.  We'd then need some out-of-band tracking of whether things are free or not, but we have helper classes for object pools that work that way.
That would also lay the groundwork for doing heap-allocation of ReadHandlers as needed, instead of pool-allocation.

Working on this already.

@mrjerryjohns any update for this? Does this need to be in for 1.0?

This was fixed in #13066.


Caliper does not reuse connections when sending transactions to HF orderer

Caliper does not reuse connections when sending transactions to Fabric orderers, potentially causing timeouts.
Context
I am running performance testing against Fabric, while monitoring the peer and orderer's metrics. I see that the active GRPC connections to one of the orderers i.e. the leader RAFT node reach thousands (i coded the invoke function to only send transaction to the leader RAFT node). In comparison, other components (peers and other orderers) only use a max of 20 active GRPC connections. Once my send rate is more than 450, I start seeing connection errors when sending transactions to orderers e.g. grpcs://n33ef3b-osxjnci2.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud:7050 has an error Error: Failed to connect before the deadline URL:grpcs://n33ef3b-osxjnci2.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud:7050

In the orderer logs, it seems that connections are continuously established and terminated (notice the different ephemeral ports coming from the same source):
2019-12-12 07:56:28.852 UTC [comm.grpc.server] 1 -> INFO 7b0d1 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51521 grpc.code=OK grpc.call_duration=3.195041ms
2019-12-12 07:56:28.858 UTC [comm.grpc.server] 1 -> INFO 7b0d2 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51539 grpc.code=OK grpc.call_duration=4.003912ms
2019-12-12 07:56:28.863 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0d3 Writing block [2642] (Raft index: 2648) to ledger channel=channel2 node=4
2019-12-12 07:56:28.865 UTC [comm.grpc.server] 1 -> INFO 7b0d4 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51543 grpc.code=OK grpc.call_duration=2.915077ms
2019-12-12 07:56:28.866 UTC [comm.grpc.server] 1 -> INFO 7b0d5 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51563 grpc.code=OK grpc.call_duration=2.045326ms
2019-12-12 07:56:28.869 UTC [comm.grpc.server] 1 -> INFO 7b0d6 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51593 grpc.code=OK grpc.call_duration=2.505865ms
2019-12-12 07:56:28.875 UTC [comm.grpc.server] 1 -> INFO 7b0d7 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=<IP_ADDRESS>:51611 grpc.code=OK grpc.call_duration=2.293097ms
2019-12-12 07:56:30.827 UTC [orderer.consensus.etcdraft] propose -> INFO 7b0d8 Created block [2643], there are 0 blocks in flight channel=channel2 node=4
2019-12-12 07:56:30.837 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0d9 Writing block [2643] (Raft index: 2649) to ledger channel=channel2 node=4

As a comparison, I used another tool (https://github.com/guoger/stupid) with same payload and chaincode and the number of active connections are stable (11) throughout the run:

Viewing the orderer logs as well, it seems that there are no new connections being generated
2019-12-12 08:26:11.869 UTC [orderer.consensus.etcdraft] propose -> INFO 7b0e8 Created block [2646], there are 0 blocks in flight channel=channel2 node=4
2019-12-12 08:26:11.918 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0e9 Writing block [2646] (Raft index: 2652) to ledger channel=channel2 node=4
2019-12-12 08:26:12.988 UTC [orderer.consensus.etcdraft] propose -> INFO 7b0ea Created block [2647], there are 0 blocks in flight channel=channel2 node=4
2019-12-12 08:26:13.041 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0eb Writing block [2647] (Raft index: 2653) to ledger channel=channel2 node=4
2019-12-12 08:26:14.018 UTC [orderer.consensus.etcdraft] propose -> INFO 7b0ec Created block [2648], there are 0 blocks in flight channel=channel2 node=4
2019-12-12 08:26:14.056 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0ed Writing block [2648] (Raft index: 2654) to ledger channel=channel2 node=4
2019-12-12 08:26:15.137 UTC [orderer.consensus.etcdraft] propose -> INFO 7b0ee Created block [2649], there are 0 blocks in flight channel=channel2 node=4
2019-12-12 08:26:15.178 UTC [orderer.consensus.etcdraft] writeBlock -> INFO 7b0ef Writing block [2649] (Raft index: 2655) to ledger channel=channel2 node=4

Note:

I checked orderer CPU and memory utilization and they average at around 40%. Disk IOPS is also sufficient, as there are no error logs regarding slow data writing. I am firm that ample resources are allocated
There are no network bottleneck as the transaction payload is a few bytes. I monitored the bandwidth and it is not saturated
HF components are deployed in a Kubernetes cluster. Caliper is deployed in the same Kubernetes cluster in a dedicated node, targeting the internal endpoints to minimize latency.
Formula for active GRPC connection is grpc_comm_conn_opened - grpc_comm_conn_closed (https://hyperledger-fabric.readthedocs.io/en/release-1.4/metrics_reference.html)

Expected Behavior

Caliper should reuse connections
Actual Behavior
As described above
Possible Fix
Steps to Reproduce

Monitor orderer Prometheus metrics
Send high TPS to orderer

Existing issues

[ ] Stack Overflow issues
[ ] GitHub Issues
[ ] Rocket Chat history

Context

I'm not able to send high TPS without Caliper timing out on the orderer
Your Environment

Version used: v0.2.0
Environment name and version (e.g. Chrome 39, node.js 5.4): Docker image
Operating System and version (desktop or mobile):
Link to your project:

@aldredb Hmm, strange. Caliper creates a connection profile for every client listed in the network configuration (plus the admins), which mimics typical usage. The connection profile part of the SDK assembles the network information and exposes the methods for the TX life-cycle. Caliper just forwards some parameters to this method:
https://github.com/hyperledger/caliper/blob/59606d74521109a6d0afafbfe6c9de19b186c8ac/packages/caliper-fabric/lib/fabric.js#L2001
Everything else happens inside the SDK.
Could you please provide the Fabric SUT binding version which determines the installed SDK versions? (caliper-bind-sdk parameter)
@nklincoln Any insight into the SDK connection management?

@aklenik I binded to 1.4.4
Not sure that it helps, but this is my connection profile:
name: Fabric
version: "1.0"
mutual-tls: false

caliper:
  blockchain: fabric

info:
  Version: 1.4.3
  Size: IBP on Cloud
  Orderer: Raft
  Distribution: Single Host
  StateDB: CouchDB

clients:
  client0.org1.example.com:
    client:
      organization: Org1
      connection:
        timeout:
          orderer: 30
      credentialStore:
        path: hfc-kvs/org1
        cryptoStore:
          path: hfc-kvs/org1
      clientPrivateKey:
        path: org1admin/private_key.pem
      clientSignedCert:
        path: org1admin/certificate.pem
  client0.org2.example.com:
    client:
      organization: Org2
      connection:
        timeout:
          orderer: 30
      credentialStore:
        path: hfc-kvs/org2
        cryptoStore:
          path: hfc-kvs/org2
      clientPrivateKey:
        path: org2admin/private_key.pem
      clientSignedCert:
        path: org2admin/certificate.pem

channels:
  channel2:
    configBinary: network/fabric-v1.4.1/raft/config/mychannel.tx
    created: true
    orderers:
    - orderer1
    - orderer2
    - orderer3
    - orderer4
    - orderer5
    peers:
      org1peer1:
        endorsingPeer: true
        eventSource: false
        chaincodeQuery: true
        ledgerQuery: true
      org1peer2:
        endorsingPeer: false
        eventSource: true
        chaincodeQuery: false
        ledgerQuery: true
      org2peer1:
        endorsingPeer: true
        eventSource: false
        chaincodeQuery: true
        ledgerQuery: true
      org2peer2:
        endorsingPeer: false
        eventSource: false
        chaincodeQuery: false
        ledgerQuery: true

    chaincodes:
    - id: marbles
      version: v1
      language: golang
      path: marbles
      metadataPath: src/marbles/metadata
      targetPeers:
      - org1peer1
      - org2peer1

      endorsement-policy:
        identities:
        - role:
            name: member
            mspId: org1msp
        - role:
            name: member
            mspId: org2msp
        policy:
          2-of:
          - signed-by: 0
          - signed-by: 1

organizations:
  Org1:
    mspid: org1msp
    peers:
    - org1peer1
    - org1peer2
    adminPrivateKey:
      path: org1admin/private_key.pem
    signedCert:
      path: org1admin/certificate.pem
  Org2:
    mspid: org2msp
    peers:
    - org2peer1
    - org2peer2
    adminPrivateKey:
      path: org2admin/private_key.pem
    signedCert:
      path: org2admin/certificate.pem

orderers:
  orderer1:
    url: grpcs://osxjnci1.n33ef3b.svc.cluster.local:7050
    grpcOptions:
      ssl-target-name-override: n33ef3b-osxjnci1.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
    tlsCACerts:
        path: os-tlscacert.pem
  orderer2:
    url: grpcs://osxjnci2.n33ef3b.svc.cluster.local:7050
    grpcOptions:
      ssl-target-name-override: n33ef3b-osxjnci2.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
    tlsCACerts:
        path: os-tlscacert.pem
  orderer3:
      url: grpcs://osxjnci3.n33ef3b.svc.cluster.local:7050
      grpcOptions:
        ssl-target-name-override: n33ef3b-osxjnci3.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      tlsCACerts:
          path: os-tlscacert.pem
  orderer4:
      url: grpcs://osxjnci4.n33ef3b.svc.cluster.local:7050
      grpcOptions:
        ssl-target-name-override: n33ef3b-osxjnci4.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      tlsCACerts:
          path: os-tlscacert.pem
  orderer5:
      url: grpcs://osxjnci5.n33ef3b.svc.cluster.local:7050
      grpcOptions:
        ssl-target-name-override: n33ef3b-osxjnci5.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      tlsCACerts:
          path: os-tlscacert.pem

peers:
  org1peer1:
    url: grpcs://org1peer1.n33ef3b.svc.cluster.local:7051
    grpcOptions:
      ssl-target-name-override: n33ef3b-org1peer1.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      grpc.keepalive_time_ms: 600000
    tlsCACerts:
        path: org1-tlscacert.pem
  org1peer2:
    url: grpcs://org1peer2.n33ef3b.svc.cluster.local:7051
    grpcOptions:
      ssl-target-name-override: n33ef3b-org1peer2.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      grpc.keepalive_time_ms: 600000
    tlsCACerts:
        path: org1-tlscacert.pem
  org2peer1:
    url: grpcs://org2peer1.n33ef3b.svc.cluster.local:7051
    grpcOptions:
      ssl-target-name-override: n33ef3b-org2peer1.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      grpc.keepalive_time_ms: 600000
    tlsCACerts:
        path: org2-tlscacert.pem
  org2peer2:
    url: grpcs://org2peer2.n33ef3b.svc.cluster.local:7051
    grpcOptions:
      ssl-target-name-override: n33ef3b-org2peer2.pw-mzr-4667f5c54a9fa16798873d0072267a42-0001.jp-tok.containers.appdomain.cloud
      grpc.keepalive_time_ms: 600000
    tlsCACerts:
        path: org2-tlscacert.pem

Been investigating this one, and it looks to be an issue inside the fabric sdk. When using a Channel.sendTransaction call, there is a Client.getTargetOrderer() call that ultimately results in Client.newOrderer() that creates a new grpc connection ... and this happens on each Channel.sendTransaction()

I have some changes that target #684, which modularises the Fabric adaptor. The initial change breaks the existing adaptor into two:

one that uses the gateway submission route
one that uses the standard (non-gateway) route
I would recommend that once the PR that addresses the above is merged, we modify the "standard" route to build an orderer object (or objects) that is/are reused through the benchmarking process

@nklincoln @aldredb That's strange behavior. One of the main benefits of the connection profile is to refer to nodes by their names everywhere (and it manages the corresponding objects internally). If the peer connections are managed properly, the SDK should do the same for the orderers.
Plus if you don't specify the target orderer explicitly, Caliper does round-robin target selection, yet we only see increased connections for one orderer. Or do you specify the target orderer for TXs explicitly, @aldredb ?
Anyway, maybe we should get some insight from the SDK people, before starting to add bug workarounds on the Caliper-level. @nklincoln ?

@aklenik as mentioned in my initial post, I targeted only 1 orderer (the leader RAFT node). That's why the increased connections are only in 1  orderer

@aldredb Ah, okay, thanks for the clarification. So if we leave the load balancing to Caliper, the situation is even worse, since the connection count will increase for every orderer...
Until this is fixed on some level, you should use the gateway mode, as @nklincoln suggested.

@aklenik what are the caveats of using gateway mode? Will the endorsement be automatically load balanced between peers of the same org?

@aldredb Hmm, as I see, we don't provide the target selection strategy when constructing the gateways:
https://github.com/hyperledger/caliper/blob/06641ab8c5b1bd52e7f8748e62ee6a4bd49264a1/packages/caliper-fabric/lib/fabric.js#L1068-L1076
The default is MSPID_SCOPE_SINGLE in this case, which always picks the same target...
https://hyperledger.github.io/fabric-sdk-node/release-1.4/module-fabric-network.html#.DefaultQueryHandlerStrategies
I don't know whether using discovery changes this or not.

@aklenik I tried using --caliper-fabric-usegateway and while connections are reused, I achieved much lower performance
Result with --caliper-fabric-usegateway:
Succ: 11635
Fail: 0
Send Rate: 193.8
Max Latency: 61.30
Min Latency: 2.03
Avg Latency: 12.06
TPS: 157.9
Result without --caliper-fabric-usegateway:
Succ: 16199
Fail: 0
Send Rate: 270.0
Max Latency: 4.95
Min Latency: 0.91
Avg Latency: 1.80
TPS: 258.2
My config.yaml file:
test:
  clients:
    type: local
    number: 6
  rounds:
  - label: init
    txDuration:
    - 60
    rateControl:
    - type: fixed-rate
      opts:
        tps: 270
    callback: init.js

Thanks to hints from @nklincoln , there is a workaround while waiting for the fix:
In init.js, create an orderer object:
const { Orderer } = require('fabric-client');

const orderer = new Orderer('grpcs://orderers2.n33ef3b.svc.cluster.local:7050',{
    pem: 'xxx'
})

...

const args = {
        chaincodeFunction: 'initMarble',
        chaincodeArguments: [marbleName, marbleColor, marbleSize, marbleOwner,payload],
        orderer: orderer,
    };

    let results = await bc.invokeSmartContract(contx, 'marbles', 'v1', args, 30);


Allow CMake to find CHERIOT_LLVM_BIN

Found CMake was trying to use the wrong toolchain
when building the baremetal examples for the first time. Seems the CHERIOT_LLVM_BIN the instructions say to export cannot be accessed in CMake-land without prefixing with ENV.
Touched on by https://github.com/lowRISC/sonata-system/issues/101

Hmmm, I've been using the following command and it works just fine:
cmake -B sw/cheri/build -S sw/cheri -DCHERIOT_LLVM_BIN=/home/mvdmaas/tools/llvm-cheriot/bin

Using -D appears to be an alternative, but not the method the existing instructions appear to use. They specify using export CHERIOT_LLVM_BIN=/path/to/cheriot-llvm/bin and cmake -B sw/cheri/build -S sw/cheri .


Fixed #4784 : Inform users about unsupported features in beta flavor

Description
Fixes #4784
What changes did you make and why?
The app is receiving empty results or HTTP 500 responses when trying to retrieve the leaderboard or achievements for users in the Beta environment.
Added a toast that appears whenever AchievementsFragment or LeaderboardFragment is made visible on Beta flavors, informing the user these features are unavailable in Beta flavor. Also skips the dysfunctional API calls and hides the empty / dysfunctional UI elements.
Tests performed
Tested betaDebug + prodDebug on Pixel 3a (AVD Emulator) with API level 28.
Screenshots

@KosOrKosm Could you also sync your branch with the latest master?

@madhurgupta10 Synced with master and updated tests to check if the Toast appears.

Hello @nicolas-raoul, could you review/test my PR?

Sorry for the delay!
Strangely at the moment I am struggling to get the beta flavor to run:
$ ./gradlew installBetaDebug
[...]
Installing APK 'app-commons-v3.1.1-KosOrKosm-beta-disable-prod-only-apis-beta-debug.apk' on 'SM-G970F - 9' for app:betaDebug
Installed on 1 device.
[...]
BUILD SUCCESSFUL in 3m 10s
$ adb shell am start -n fr.free.nrw.commons/fr.free.nrw.commonsCommonsApplication
Starting: Intent { cmp=fr.free.nrw.commons/fr.free.nrw.commonsCommonsApplication }
Error type 3
Error: Activity class {fr.free.nrw.commons/fr.free.nrw.commonsCommonsApplication} does not exist.

Any idea what might be wrong, by any chance? :-)

Pushing the APK and installing it directly worked, strange...
Anyway, I tested and it is working great! :-)
Would you mind just addressing my previous coverage comment?
Thanks!

@nicolas-raoul I added a test that should cover the missing lines in AchievementsFragment

This pull request unfortunately broke some unit tests:
fr.free.nrw.commons.leaderboard.LeaderboardFragmentUnitTests > testMenuVisibilityOverrideVisibleWithContext FAILED
    java.lang.Exception at AndroidTestEnvironment.java:538
        Caused by: java.lang.NullPointerException at LeaderboardFragmentUnitTests.kt:232

fr.free.nrw.commons.profile.achievements.AchievementsFragmentUnitTests > testMenuVisibilityOverrideVisibleWithContext FAILED
    java.lang.Exception at AndroidTestEnvironment.java:538
        Caused by: java.lang.NullPointerException at AchievementsFragmentUnitTests.kt:375

That's odd, the tests pass in my local environment. I think the test might be failing on production because of the beta flavor check, which causes the test to never display a Toast and the assertion to fail. Is there any way to overwrite the build flavor for the duration of a test?

This pull request unfortunately broke some unit tests:
fr.free.nrw.commons.leaderboard.LeaderboardFragmentUnitTests > testMenuVisibilityOverrideVisibleWithContext FAILED
    java.lang.Exception at AndroidTestEnvironment.java:538
        Caused by: java.lang.NullPointerException at LeaderboardFragmentUnitTests.kt:232

fr.free.nrw.commons.profile.achievements.AchievementsFragmentUnitTests > testMenuVisibilityOverrideVisibleWithContext FAILED
    java.lang.Exception at AndroidTestEnvironment.java:538
        Caused by: java.lang.NullPointerException at AchievementsFragmentUnitTests.kt:375

The latest build (https://github.com/commons-app/apps-android-commons/runs/5512038434?check_suite_focus=true) seems to be successful without any failing tests, @nicolas-raoul can you please confirm when you detected these failing tests?

@madhurgupta10 I had found this commit using git bissect running ./gradlew testProdDebugUnitTest, but I might have messed up something. Anyway master tests are passing now, thanks all! :-)


Energy cutoff for plan wave / dual basis hamiltonian.

@babbush @idk3 Do you have suggestions for how to do unit tests for the energy cutoff?
My impression is that, after energy cutoff, dual basis and plane wave hamiltonians are not necessarily the same - am I right? If that's the case, how to do unit tests?

Hi Wei, I will need to look into it but actually I am under the impression that there is a dual basis Hamiltonian which is isospectral to any plane wave Hamiltonian. They are not related exactly by the Fourier transform, but by a more complicated transformation. Have you checked to see if the dual basis Hamiltonian (when basis functions are centered on points in a sphere instead of in points in a cube) is equivalent to the energy cutoff plane wave Hamiltonian?

A somewhat lame test would be to make sure that the Hamiltonian with a sphere of plane waves had greater than or equal to the Hamiltonian with a cube of frequencies where the cube side length is twice the radius of the sphere. Does that make sense?

@babbush
Are you referring to, for example, plane_wave_external_potential()? I think the alias (shift) is already done when computing the indices, right?
My understanding (from Garnet's and your email) is that, we compute the shifted/aliased indices by assuming a cubic cutoff, then we apply energy cutoff on the momentum which is computed from the shifted/aliased indices - is that right?
Or, should I firstly apply energy cutoff, then compute the shifted/aliased indices?

Hi Wei,
Can you forward the email you mention here to me? I recall that email in the past but I can't find it in my inbox right now. I'll respond after I've considered this a bit more.

forwarded to your @google email
@babbush

Okay, I just looked over them. So perhaps we do not need to alias in the way I just suggested (perhaps the current implementation is fine). It is hard for me to know for sure though. I think it would be nice to try the test where we compare the Hamiltonian in the basis of the plane wave sphere to the Hamiltonian in the basis of the dual function sphere. If those two things are equivalent, I am happy.

The spherical equivalence test is definitely a good one - can one of you ( @babbush @Spaceenter ) forward the email from that to me? The sphere/cube ground state comparison also sounds good, but it would be nice if there's something we can say about the higher energy states..

So I am sorry to have confused you @Spaceenter but apparently there is no equivalence between the plane wave and dual basis models with the cutoff. I don't think it makes sense at all to work with the dual basis in a spherical cutoff (only the plane wave Hamiltonian). So I would ask that you remove the changes you made to the dual basis parts of the code and only keep this cutoff business for the plane wave parts. Sorry!

I see, probably that explains why I cannot get those two equal to each other with cutoff, I was trying to see if I made any mistake - thanks, I'll remove soon and update here.

Done - PTAL. @babbush

Thanks @Spaceenter. I guess there needs to be one more test though. Can you think of anything? Like I say, the energy of the ground state can only go down (or stay the same) as one adds plane waves. So one possible test is just to make sure that imposing the cutoff makes energy go down or stay the same.

Added test - but I don't quite understand why coverage drops - The following seems not right to me:
https://coveralls.io/builds/14452849/source?filename=src%2Fopenfermion%2Fhamiltonians%2F_plane_wave_hamiltonian_test.py#L71
-- I don't understand why the whole test is not run, given that part of code is not changed. Do you have insights? @babbush

Quite strange. Could it have something to do with the word "integration"?
Maybe it is not running that because it thinks it is an integration test
and it only wants to run unit tests? That is just a theory. I really have
no idea what is happening.

In general, I think *_test.py shouldn't be included in coverage test - they should be covered 100% by default.
Do you know who set up the Travis/Coverage test? Could we ask him/her to remove all coverage checks for unit test files?
@babbush

@Spaceenter I think of course they need to be included in coverage test. If some of the tests are not run for some reason, it's a problem that needs to be solved, and without the coverage test no one will ever notice that.

@fangzh-umich Do you have insights why the following code is not run?
https://stackoverflow.com/questions/20420429/what-the-difference-between-window-settimeout-and-settimeout

Also, I've found the problem: You defined a test with the same name at the end of the file, so it overwrites the first test.

Oh, sorry - yea, that's a mistake from my side. Thanks!

@babbush PTAL


Server-Side Request Forgery in axios

npm audit report
axios  >=1.3.2
Severity: high
Server-Side Request Forgery in axios - https://github.com/advisories/GHSA-8hc4-vh64-cxmj

Fix:
Update axios to 1.7.4

Temporary fix via package.jsons overrides in project:
"overrides": {
    "postmark": {
      "axios": "^1.7.4"
    }
}

Thanks for letting us know, this was resolved in version 4.0.5


how large can the db be?

if i want to access a key from a db, does it read the whole file into mem or just that particular key section? just wondering if i need to have lots of mem available for this. 100GB per db size advisable etc?

In diskv, each key is one-to-one with a file on disk.


#459: Export task to csv

Per issue #459, this PR lets users download task results table data as a CSV.

@vprusso I'm going to publish to production, by the way, just to keep you in the loop.


How to use as a library author?

Hello! I just discovered this package and it seems to do something I've been wanting in Elixir for a long time.
As a library author, do I need to do anything in my library for people to use this? Do I have to to set :application metadata when logging from within my library?
Or can I just call vanilla Logger.debug from my library and the end user can still disable debug logging for my lib?
Thanks for this and the help!

You don’t need to do anything special within your library as FlexLogger works on top of Elixir‘s standard log system.


Run cv2 window in fullscreen automatically

This is my code: (i saw in google but it doesn't work)
cv2.namedWindow(str(p), cv2.WINDOW_FULLSCREEN)  # allow window resize (Linux)
cv2.setWindowProperty(str(p), cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
cv2.resizeWindow(str(p), im0.shape[1], im0.shape[0])

please use https://forum.opencv.org for questions.


Expressions in with params not recognized

Hovering on one of the with params should trigger the Evaluates to... tooltip, but that's not happening.

This should work now.


feat: 3D design to the homepage cover

What feature?
The home page of the site is having a few images which are placed normally. I would like to add 3D effect to the images and better Ui to give enhancing look to the website cover page.
Add screenshots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

could you show a demo? also, we are thinking to add 3d design later.

yeah sure !
I did work on it and here is what i come up with
https://github.com/priyankarpal/ProjectsHut/assets/74443858/749fd291-dda8-4184-8cea-76a6db56912e
Also with i would be working with some hovering effect
Note : This is just a demo

yeah sure ! I did work on it and here is what i come up with
WhatsApp.Video.2023-07-07.at.23.36.13.mp4
Also with i would be working with some hovering effect
Note : This is just a demo

I think it's just changing the positions & there is no 3d design.


Realm file size became 3 GB

I have four tables with 6 columns each and each table is having 5k entries each table.(all are strings)
what could be the issue it reaches 3GB?

It is hard to think that it will be 3GB unless there are very long strings. The Realm file may be larger than the actual data due to version pinning of the transaction.
For details, please see our documentation as follows.
https://realm.io/docs/swift/latest/#limitations-file-size
In that case, you can reduce the Realm file size to the same size as the data by copying Realm file (Realm().writeCopyToPath(_:encryptionKey:)) or executing compaction (shouldCompactOnLaunch).
For details on compaction, please see the link below.
https://realm.io/docs/swift/latest/#compacting-realms

First of all, please make sure that the data is actually 3 Gbytes or not. If it contains a lot of transaction version data, the file size will increase from the actual size. To do this, execute compaction or copy the Realm file.
Please see more details:
https://realm.io/docs/swift/latest/#limitations-file-size

At that time, if the file size does not change, 3 Gbytes of data is actually stored, so it can not be made smaller.
If the file size decreases, the file size is larger than the actual due to the transaction version pinning.
When I look at your code, you are using Realm in multithread, so there is a possibility to occur unintentional version pinning. Try to use autorelease pool to minimize the lifetime of Realm instance. Also, setting shouldComplatOnLaunch to periodically compact at startup can also help solve the problem.

You might be missing the autoreleasepool in the dispatch async queue

Question on this autoreleasepool: I swear last time I reviewed my codebase in light of https://realm.io/docs/swift/latest/ the autorelease wrapping example wasn't there. Am I nuts and should have been doing this all along or is this doc been updated? Whats the best way to stay on top of this kind of thing?

It's very possible the examples were updated. We had a number of users run into this issue over the summer and spent some time trying to make our documentation clearer in order to head off this problem.
Unfortunately we don't currently have public diffs of our documentation or anything like a RSS feed, but one thing you can do from our docs page is click on "Latest" (where it says "Realm Swift X.X.X", below the navigation bar but above the beginning of the content), and choose an older version of the docs to compare. I will bring this issue up with our web team to see if they have any ideas.

@bruce-lumo it was there but you had to look for it. I'm pretty sure it was added to the top example later. In fact, it was added with the docs update to 2.5.1.

Btw another thing I've heard can increase your size so much is if you add the items in a new transaction each time, because it increases the transaction log a lot.
And another thing is that there can be reclaimable space created by super-large transactions (10000+ objects at a time for example)


Fixes object explorer's manage keybinding shortcut

This PR fixes #20077

You have some compile issues currently

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 42.146%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/dashboard/browser/dashboardActions.ts
1
4
25.0%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/contrib/dashboard/browser/dashboardActions.ts
1
56.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
28579

Relevant Lines:
62972

💛  - Coveralls


mac-13 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-13 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Mac-13 marked as dead due to the machine out of sync with Salt master. Ran command “salt-call state.apply” to re-sync salt master again.
flutter@flutter-devicelab-mac-13 ~ % uptime
16:03  up 30 mins, 3 users, load averages: 1.48 1.69 1.52


Gprof

#MESOS-987 https://issues.apache.org/jira/browse/MESOS-987
#MESOS-1213 https://issues.apache.org/jira/browse/MESOS-1213

Closing as requested in https://s.apache.org/V8r3


The documentation does not seem to be automatically updated

Task description
The mk-docs documentation does not updated

Definition of Done
The GH action keep the documentation updated

I remembered this issue when I built the page for the first time. This is due to the fact that mkdocs is looking for changes in /docs folder and in mkdocs.yml file:

I've created a file under /docs which is called index.md: it is basically the homepage of ergocub-software documentation and the gh-pages action is looking for it when the site is built.
Trying to point to the README.md, instead, I retrieved an error since it is not in the checked paths.
For this reason, to update the documentation, the changes should be done under /doc/mkdocs folder and not directly in the root README.md.
I can open a PR to report the last changes in the right .md files.
cc @Nicogene @pattacini

Or (maybe better to not have duplicated files) I can change the docs-dir to be the root of the repository. In this way, the homepage can be directly the README.md

There are multiple ways to do this thing.
I have no strong opinions. You may want to look at how documentation is structured.

I already did, but documentation has a different structure since it has the mkdocs.yml file at the root of the repo, so mkdocs searches for all the .md files starting from the root:
README.md
mkdocs.yml
docs/
   index.md
   ...

In ergocub-software case, instead, there are both mkdocs and doxygen doc generation and, for this purpose, we put both under the same doc folder:
README.md
doc/
  doxygen/
  mkdocs/
    mkdocs.yml
    docs/
        index.md
        ...

The nav configuration is defined from mkdocs.yml on, so the root README.md is not found.
Maybe we can wait for @Nicogene opinion and decide how to proceed.
cc @pattacini

I would move the mkdocs.yml in the root of the repo and remove the copy of the README under the docs folder, otherwise the github action should copy the changes made in the README.md to the docs/index.md

Moving mkdocs.yml at the root of the repo means that some changes should be done also in the workflow of gh-pages deployment. What about adding docs-dir parameter in the mkdocs.yml file and setting it to be the root? In this way, nothing should be modified in the gh action and every time it is triggered, mkdocs will search for changes in the whole repository.
cc @Nicogene

What about adding docs-dir parameter in the mkdocs.yml file and setting it to be the root? In this way, nothing should be modified in the gh action and every time it is triggered, mkdocs will search for changes in the whole repository.

Ok for me!


Total active count for Farrukhabad district in Uttar Pradesh state is not up to date

Till 10 May 2020 there are 2 total cases in Farrukhabad district in Uttar Pradesh state but api is returning only 1 case

Fixed. Thank you for letting us know.


Remove py2

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d465ca7). Click here to learn what that means.
The diff coverage is 45.28%.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   44.49%
=========================================
  Files             ?        8
  Lines             ?      609
  Branches          ?        0
=========================================
  Hits              ?      271
  Misses            ?      338
  Partials          ?        0

Impacted Files
Coverage Δ

ngage/exceptions.py
100.00% <ø> (ø)

ngage/plugins/bird.py
0.00% <0.00%> (ø)

ngage/shell.py
24.10% <9.67%> (ø)

ngage/plugins/eznc.py
47.27% <66.66%> (ø)

ngage/plugins/napalm.py
55.35% <66.66%> (ø)

ngage/cli.py
58.13% <68.18%> (ø)

ngage/plugins/__init__.py
63.85% <75.00%> (ø)

ngage/config.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


tree_util error handling throws error

Description
I believe this and this line, should instead be:
        f"    {' '.join(str(k) for k in prefix_tree_keys)}\n"
...
        f"    {' '.join(str(k) for k in full_tree_keys)}\n"

I believe this, because I recently experienced the following error thrown inside this error handling:
...
  File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/jax/_src/pjit.py", line 1346, in _check_and_canonicalize_out_shardings
    out_shardings_flat = flatten_axis_resources(
                         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/jax/_src/pjit.py", line 1121, in flatten_axis_resources
    raise e(what)
          ^^^^^^^
  File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/jax/_src/tree_util.py", line 1260, in <lambda>
    f"    {\' \'.join(str(k.key) for k in prefix_tree_keys)}\
"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/jax/_src/tree_util.py", line 1260, in <genexpr>
    f"    {\' \'.join(str(k.key) for k in prefix_tree_keys)}\
"
                        ^^^^^
AttributeError: \'GetAttrKey\' object has no attribute \'key\'

System info (python version, jaxlib version, accelerator, etc.)
not relevant

@Sohl-Dickstein 😄 thanks for the fix! I’ll try to apply it tonight.


[BUG] Using mouse back button to return to game causes crash

Describe the bug
Whenever I'm in the pause screen changing settings or mods and I use the mouse back button to close the menu and return to the game it crashes. Confirmed it's this mod, I switched out catalogue and this one and tested multiple times. I'm not sure which mod adds the capability to navigate menus using the mouse back button, I think Quark?
To Reproduce
Steps to reproduce the behavior:

Pause the game
Navigate any menu or change any setting you want (Optional)
Use mouse back button to exit the menu and return to the game
Game crashes

Expected behavior
I expected to be able to close the menu
Forge version
47.2.0
Better modlist version
0.1.5
Additional context
MC Logs link
Worth noting I'm using Sinytra Connector and a slew of other mods. Thanks!

i will look at it tomorrow. it would be helpful if you find the exact mods it happens with (doesn't happen with just quark and better modlist for me)

Cool no worries. I'll try to see, maybe an issue with connector and other mods? I'm sure there's one that calls the fabric mod ModList, who knows.

sorry but i can't reproduce the crash, can you send your modpack?

I've been trying to replicate it in other duplicate instances (I use Prism) and I have not been able to reproduce it either. I removed all texture/resource packs from the one instance where it was still happening and it stopped as well, so it must have been issues with a texture or menu change.
I can still send the modlist but I think it was just a bad download on my part
Thank you for your help tho! Feel bad for wasting your time haha


Update to nestjs v8

I'm trying to update my service to nestjs v8. However this library depends on nestjs v7. Are there any plans to update to nestjs v8?

sorry for late reply, We have an unscheduled plan to update the lib to support NestJS 8 soon, but unfortunately, we're so busy and don't have much time to maintain this repo.
anyway, if you want to do that, feel free to send PRs.

resolves #10

resolve via #10


Twitter Suggestion: Integrate functionality of the CovPassCheck-App into the Corona-Warn-App

Feature description
The functionality of the CovPassCheck-App should be integrated into the Corona-Warn-App.
There should be a new section "Check validity of certificates" where the user is able to scan certificates of other people, these are checked for validity and CWA shows the status of validity.
Additionally, there should be an option to switch off the automatic download of certificates list (revoked certificates, etc.) to not take away free space from a user who doesn't even use this features.
Problem and motivation
An integration of the functionality of the CovPassCheck-App into the Corona-Warn-App would solve multiple problems. One is the problem that certificates are very rarely checked with the CovPassCheck-App but instead just looked at. If CWA would have the same functionality as the CovPassCheck-App it is safe to assume that at least a few more people will check certificate with a check app.
Another motivation to integrate this is to let CWA more and more become a "Allzwecktool" (all-purpose-tool) in the "fight" against Corona.
Additional information
This feature request is based on the wish a user shared with me on Twitter: https://twitter.com/bergruebe/status/1429881896071311370?s=20

Internal Tracking ID: EXPOSUREAPP-13523

This issue is nearly 10 months old and was never mirrored to JIRA. Please mirror it to JIRA now.

Thanks for your feature request @Ein-Tim. We have created an internal ticket for it and will raise this topic internally.
Internal Tracking ID: EXPOSUREAPP-13523

Corona-Warn-App Open Source Team

As the CWA project went into ramp-down mode, I don't expect this feature to be implemented. I'm therefore closing this issue.


Please make password optional on Wi-fi

I need to connect my bobcat miner to a public wifi that has no password. Please in the helium app have wifi password be optional. Please, my set up depends on it.
Thank you!

We can try to remove the app validation and see if miner (on the Hotspot) accepts no password.

Wow, you can give it a try for me?!
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 8, 2021, 9:43 AM, Coco Tang wrote:

We can try to remove the app validation and see if miner (on the Hotspot) accepts no password.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Can you please tell me when the password is off? I need to travel to reset the hotspot. So before I go, I'll like to know first when it's ready. Thank you so much!!
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 8, 2021, 9:43 AM, Coco Tang wrote:

We can try to remove the app validation and see if miner (on the Hotspot) accepts no password.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Can you please tell me when the password is off? I need to travel to reset the hotspot. So before I go, I'll like to know first when it's ready.

Please follow the release notes. That will be your indication that the feature is released.

Where are the release notes?
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 8, 2021, 9:50 AM, Abhay Kumar wrote:

Can you please tell me when the password is off? I need to travel to reset the hotspot. So before I go, I'll like to know first when it's ready.

Please follow the release notes. That will be your indication that the feature is released.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

In the App Store and on Discord.

Thank you!
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 8, 2021, 9:52 AM, Abhay Kumar wrote:

In the App Store and on Discord.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Is this a good thing to do? By hosting an HS you are driving the network and taking responsibility for provisioning that area. Yes you are mining, but mining is secondary. Now if you use a public wi-fi to allow easier locating an HS, you are also opening up your HS for attacks. This seems like a trust reduction for that specific area/HS and maybe an easier intrusion into the network.

At a minimum, I would like the option to NOT relay via an open HS. Would not want my open ports available to an open HS.

Is this being worked on now?
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 8, 2021, 9:52 AM, Abhay Kumar wrote:

In the App Store and on Discord.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

no, it's under consideration. the team has lots of other work ahead of this.


[release/1.4] go.mod: Update hcsshim to v0.8.21

This version brings in some bug fixes to layer handling. The actual fix isn't
present in the diff as it's not used here, but the Windows shim is built from
the tag present in go.mod, so the fix will be in the Windows shim on a new release
of Containerd if this tag is in.
Signed-off-by: Daniel Canter<EMAIL_ADDRESS>

vndr gets rid of non-go files it seems, but that begs the question of how it didn't get removed before..

@estesp As you've looked at the other two 😉


After logout mfa prompt does not show

If I logout my user I do not have to enter my MFA again.
This happens with different users, some of them have registered multiple MFA options some of them only OTP.

@hifabienne i cannot reproduce this on any version

waiting for customer feedback


RFC: Add Electrical Domain

We need to add the following as part of Equipment class. The hierarchy can be part of Electrical System, just like a separate hierarchy for HVAC, Lighting System, etc.

Power meters
… We need to have a notion of which areas of a building does the power meter cover.
... Points: Voltage, Current, Power, Energy

Circuit Panel
... Knowing where they are located and what areas they cover is useful for fault diagnosis and general maintenance.

Fuses
... Knowing which circuit panel they are part of is useful for fault diagnosis

Solar Panels
… location and points to indicate power generation characteristics
... Leaving points out until we have a concrete example

Energy Storage
… Location, current charge levels, capacity, charging status
... Leaving points out until we have a concrete example

The relationships we will need:
PowerMeter isSubClassOf Meter
PowerMeter covers Location_Entity
PowerMeter can have the Points: Voltage, Current, Electrical Power, Electrical Energy
Note 1: Need the word "Electrical" to distinguish it from "Thermal"
Note 2: May need to add "Sensor" to each Point above to be consistent with rest of Brick.
ElectricalSystem isSubClassOf Equipment
CircuitPanel isSubClassOf ElectricalSystem
Fuse isSubClassOf ElectricalSystem
SolarPanel isSubClassOf ElectricalSystem
EnergyStorage isSubClassOf ElectricalSystem
Fuse isPartOf CircuitPanel (read can be part of, will be isPartOf in an instance)
CircuitPanel covers Location_Entity (also for respective instances)

I've started further discussion here: https://groups.google.com/forum/#!topic/brickschema/6QvW5kJEmks

Closing this discussion now for inactivity, but if anyone is interested in investigating how to add more electrical domain concepts to Brick please let me know!


Godep importer

What does this do / why do we need it?
Adds godep config importer support to init.
What should your reviewer look out for in this PR?
Importer logic and test cases.
Which issue(s) does this PR fix?
fixes #577

Removed Name field from godepImporter and added test for missing Rev.
Also, added a few checks:

Skip duplicate package imports
Skip sub-package imports by deducing project root from the import path

Seems to be ready 😊

🎉💃🏻🚀

woohoo!! 🎉 🚀 🎊


URL-decode user password before adding to authorization header.

If a URL like<EMAIL_ADDRESS>- where @ symbol in password is URL-encoded - is passed to http.request() method, the password is added to Authorization header as it is, leading to failed authentication response from server. Decoding the password just before adding it to the header resolves this issue. That is what this pull request does.
This should also resolve same problem in LuaSec's https.request() function will depends upon LuaSocket.

Good catch! Please use url.unescape() instead, for clarity. I'll accept the pull request once you do that.

Sure. And update the comment on top of url.escape() as well?

The comment seems reasonable for either version of the code. Up to you. Thanks!

Comment on _M.unescape() in url.lua says
-- Encodes a string into its escaped hexadecimal representation
That's what made me think again initially :)

Ah! I thought you meant your own comment. Please fix the code in url.lua as well. Sorry about that. :)

Right, I've ended up reverting and re-adding the changes instead of updating the previous pull-request. Hope that's okay. Let me know if the changes don't make sense and I'll update them. Cheers!


preprocess question

After I modify the preprocessing process, do I need to reinstall TensorflowTTS?

@unparalleled-ysj you can use:
pip install -e .

so you can edit everything without re-install.

@unparalleled-ysj you can use:
pip install -e .

so you can edit everything without re-install.

Thanks


Upgrade patch version of postcss to resolve vulnerability

Resolve the following vulnerability: https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Thanks!


The quay.io/cardil/kn-event-sender image is still being used

Despite https://github.com/knative-sandbox/kn-plugin-event/blame/main/pkg/metadata/image.go#L16-L22 being introduced in #63 the following code is still being used:
https://github.com/knative-sandbox/kn-plugin-event/blob/6d85cfd3588b76bebb2a05b5d345c4eb4a468e21/pkg/sender/in_cluster.go#L67-L74
This still resolves the image to: quay.io/cardil/kn-event-sender.
Proper metadata.ResolveImage() should be utilized, in the same way as it is used at:
https://github.com/knative-sandbox/kn-plugin-event/blob/6d85cfd3588b76bebb2a05b5d345c4eb4a468e21/internal/cli/cmd/version.go#L31-L35
/kind bug

Fortunately, the fix seams straightforward.

/assign


Fail to install the Java Development kit

Summary
After I downloaded java package following the command below,

I failed to install the java development kit with the command below and Error appeared

The error interface:

Seems like you might not have downloaded openjdk correctly.  May I suggest you remove it:
rm openlogic*deb
and issue the wget command again?

I redownloaded the openjdk and problem solved.
Thank you :).


Adding a new plugin to the project

Hi @seb5g,
just finished an extension for the support of a new microscopy stage.
It's available over there: https://github.com/LMSC-NTappy/pymodaq_plugins_piezosystemjena
If you don't mind giving me a few instructions I'd be happy to add it to the plugin manager
Best Regards
Nicolas

Hi Nicolas,
Basically you need to publish your package on pypi, and the plugin manager will see it directly.
Here's how I do it:

First you need to have an account on pypi, and add the login info to Github as a "secret" (secrets.PYPI_USERNAME and secrets.PYPI_PASSWORD). They need to be available either to your entire Github account, or just to your repository. If you need help for this let me know.

Release your package:

First set your package version number in the VERSION file. It looks like Seb is going with "0.1.0" for first releases of working plugins.
Then in github, create a Release (right side of the main screen of your repository), with the same Version number as the one you just set.
This will trigger the nice github workflow that Seb made and included in the plugin template, python-publish.yml
If the login info is correct, this will upload the package to pypi. You can follow the publish script in Actions. You'll see if the run was successful or if it encountered issues.

Every Sunday at 12:00, pymodaq plugin manager will look for any new or updated pypi package named "pymodaq-plugins-xxxx". This should add your plugin to everyone's list (you can verify on your computer, or the readme of https://github.com/CEMES-CNRS/pymodaq_plugin_manager)

Let me know if you're having trouble!
Romain

Thank you very much for these informations!
The new version of Pylablib is out so I'll try next week when I am back from conference
Keeping this issue opened until then.

What Romain wrote is the right procedure !

Just managed to package the plugin as well as an other one.
If the plugin manager finds them correctly in the pypi jungle tomorrow, I guess we'll be able to close this issue :)
Thanks for the help @rgeneaux and @seb5g . Worked just right so far!
For posterity, in case someone reads these lines in search for infos:
-the secrets are added in the repository directly and must be named PYPI_USERNAME and PYPI_PASSWORD directly when added. See for details https://docs.github.com/en/actions/security-guides/encrypted-secrets
-The version number during release is actually set in the "tag" field.

After taking a look today, including in a fresh PyMoDAQ installation, it seems that the plugin_manager is unable to find my plug-ins :'/
They correctly appear on the readme of the plugin manager and redirect to the right pip page.
Care to take a look? I probably am doing something wrong like not having the right name or stg.
Cheers
Nico

I read that the package index (https://pypi.org/simple/) oftentimes has long delays to add new packages (or new versions). Indeed your package is not present in the index yet.
But your plugin is on pypi and I could install it just fine from pip install. So maybe let's just wait a few days :)

Thanks for the reply!
Let's just wait then :)

And indeed this morning it's good and now appears.
CLosing this now, many thanks for your help!
N

Cool!
another thing: your latest release (0.1.1) didn't get published to pypi (see here https://pypi.org/project/pymodaq-plugins-piezosystemjena/#history)
this is because your VERSION file still says 0.1.0
You can just delete your 0.1.1 release, commit the VERSION, and re-release to trigger the publish action.
@seb5g I guess we should write everything from this issue into the documentation? Currently it's a bit light on the plugin publishing part. I tried to add it to the PyMoDAQ Roadmap but I do'nt have write access yet :-)

Damit...
I am updating this now and I will re-release later this week. People in my lab will be using the plug-in so I'll wait to make sure nothing comes up
Thanks for the heads up!

I gave you both access to the project on the new PyMoDAQ organisation (changing name went smoothly). You can write things in the project and you could manage repository if needed or if you move your plugins in there!


Disabled modules still register the ServiceProvider

Versions:

laravel-modules Version: 11.1.1
Laravel Version: 11.23
PHP Version: 8.3

Description:

The module service provider still load( register ) even it was disabled

Steps To Reproduce:

…

hi @alissn , yes i'm using the command php artisan module:disable  but it is not working

Hi @locnguyen1842,
Although there are events for creating, deleting, disabling, and enabling modules to clear the bootstrap/cache/module.php file, it seems that these events aren't functioning as expected.
i create new pull request to revet register of the providers to previous version. #1952


receiver.sh speling error

Line 89 says "bookeeper" not "bookkeeper" in receiver.sh

Thanks for reporting! Fixed in d3eca8d46830c92370fdba51acc60034877d1c85.


weird error about blockIdx.x & gridDim.x

I am porting some cuda functions, which works well on nvidia gpu+cuda, to hip. I have a kernel with a small snippet of code as following. When i tested with a configuration of thread grid(1, 1) and thread block(16, 16), the right execution should be running into the code block of if 5 after if 1/2/3/4 testing (just testing the condition, not running into their blocks), but the real execution ran into code block of if 3. I debugged and retyped this code snippet to eliminate the effecting of text coding, then found that the problem was condition testting of if 2. If the condition test of if 2 is removed or a printf() is added in block of if 2 althrough code of if 2 won't be executed, then everything is all right. printf() shows that blockIdx.y is 0 and gridDim.y is 1, there is no signs of error. Can anyone give some clues to this weird problem?
code:
if (blockIdx.x < gridDim.x - 1) {  // if 1
...
}
if (blockIdx.y < gridDim.y - 1) {  // if 2
...
}
if (blockIdx.y < gridDim.y - 1) {  // if 3
...
}
else if (blockIdx.x < gridDim.x - 1) {  // if 4
...
}
else {  // if 5
...
}

Hello,
Can you post the full sample with launch config as well.

The launch configuration is  thread grid(1, 1) and thread block(16, 16), the full execution logic of my kernel is as following:
global void kernel() {
shared uchar data[16][17];
if (blockIdx.x < gridDim.x - 1 && blockIdx.y < gridDim.y - 1) {
...
}
else {
// load data to the shared memory
__syncthreads();
if (threadIdx.x < threadIdx_x && threadIdx.y < threadIdx_y) {
  if (blockIdx.x < gridDim.x - 1) {  // if 1
    ...
  }
  if (blockIdx.y < gridDim.y - 1) {  // if 2
    ...
  }

  if (blockIdx.y < gridDim.y - 1) {  // if 3
    ...
  }
  else if (blockIdx.x < gridDim.x - 1) {  // if 4
    ...
  }
  else {  // if 5
    ...
  }
}

}
}

@jimurk Is this still an issue for you? If resolved, please close ticket. Thanks!


Outdated links in Task 1 and Task 3

Some links in Task 1 are outdated:
https://github.com/festim-dev/FESTIM-workshop/blob/987d27c0ffe4337c40613f2030843f0c50f46786/tasks/task01.ipynb#L127-L128
https://github.com/festim-dev/FESTIM-workshop/blob/987d27c0ffe4337c40613f2030843f0c50f46786/tasks/task01.ipynb#L176
I also missed this one in #46. Sorry about that.
https://github.com/festim-dev/FESTIM-workshop/blob/987d27c0ffe4337c40613f2030843f0c50f46786/tasks/task01.ipynb#L155
and in Task 3:
https://github.com/festim-dev/FESTIM-workshop/blob/987d27c0ffe4337c40613f2030843f0c50f46786/tasks/task03.ipynb#L349

The links to the docs should be easy to fix.
To fix the link to the image in Task 3 one would need to rerun the notebook to obtain it 😄


WP_Queries are not defaulting to only published posts

I noticed that the WP_Query default arguments are not defaulting to looking only for published posts.  Suggest you add a default parameter of:
'post_status' => 'publish'
to all of the queries so that they don't return unpublished posts.

Thank you for pointing this out. Do you want to quickly create a pull request?


feat: add insert_if_new (#14397)

Objective
Often there are reasons to insert some components (e.g. Transform) separately from the rest of a bundle (e.g. PbrBundle). However insert overwrites existing components, making this difficult.
See also issue #14397
Fixes #2054.
Solution
This PR adds the method insert_if_new to EntityMut and Commands, which is the same as insert except that the old component is kept in case of conflicts.
It also renames some internal enums (from ComponentStatus::Mutated to Existing), to reflect the possible change in meaning.
Testing
Did you test these changes? If so, how?
Added basic unit tests; used the new behavior in my project.
Are there any parts that need more testing?
There should be a test that the change time isn't set if a component is not overwritten; I wasn't sure how to write a test for that case.
How can other people (reviewers) test your changes? Is there anything specific they need to know?
cargo test in the bevy_ecs project.
If relevant, what platforms did you test these changes on, and are there any important ones you can't test?
Only tested on Windows, but it doesn't touch anything platform-specific.

Apparently I messed something up when fixing conflicts with "Track source location in change detection (#14034)", unit tests are failing now. Looking into it.

Could you add an example which demonstrates it? not a blocker.

@alice-i-cecile currently I have the on_insert trigger not running if you call insert_if_new and the component already exists. (The logic being that this is a no-op, the component didn't change so nothing should happen). Does this seems like the right behavior?

Wish I'd known about this before trying to adopt https://github.com/bevyengine/bevy/pull/9231. Regardless, that PR should probably be closed now as this PR deprecates it.

@alice-i-cecile currently I have the on_insert trigger not running if you call insert_if_new and the component already exists. (The logic being that this is a no-op, the component didn't change so nothing should happen). Does this seems like the right behavior?

This is correct.

@jpetkau once CI is green please ping me and I'll get this in.

@jpetkau once CI is green please ping me and I'll get this in.

@alice-i-cecile Ok it's green again

Thank you to everyone involved with the authoring or reviewing of this PR! This work is relatively important and needs release notes! Head over to https://github.com/bevyengine/bevy-website/issues/1675 if you'd like to help out.


F7-Vue ignoring plugin parameters

Framework7 version: 6.3.5
Vue.js version: 3.2.20
Platform and Target: macOS 11.5.2 (Safari and Chrome)
Minimal example code: https://github.com/valnub/f7-ws-vue-test

Describe the bug
I created the plugin f7-welcomescreen. Few weeks ago a user complained that it is not working anymore in F7-Vue. I looked into it and can confirm that it doesn't work in F7-Vue but it works in F7-React and F7-Core. I dug into the issue and found out that in the vue version the plugin parameters are ignored by F7. Is this a bug in F7-Vue or did I do something wrong here?
To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/valnub/f7-ws-vue-test
cd f7-ws-vue-test
yarn
yarn start

Expected behavior
Blue welcome screen should show up
Actual Behavior
Blue screen does not show up
Screenshots
This is the expected blue screen:

Other
Plugin source code and be found here: https://github.com/valnub/Framework7-Plugin-Welcomescreen/blob/master/index.js

This is how Vue.js works, if you pass to component some props which are not defined in component props it ignores them and set as HTML attributes. And apparently F7's App component doesn't know about welcomescreen prop and doesn't it expect it. So probably some other way of initializing the plugin should be made

@nolimits4web Thanks for your reply. Is there a best practice on how to initialize F7 plugins for Vue? Couldn't find anything on F7 docs. I'm also quite confused what this has to do with Vue props as I just want to pass plugin initialization values to F7-Vue.

I'm also quite confused what this has to do with Vue props

params = {
  foo: 1,
  bar: 2,
}

and
<f7-app v-bind="params" />

will be the same as
<f7-app :foo="1" :bar="2" />

So adding extra properties to params produces unknown prop passed to component

Is there a best practice on how to initialize F7 plugins for Vue

Best practice is to extend F7 instance or prototype and use proper init using F7 instance, e.g.:
f7ready((f7) => {
  f7.welcomescreen.create(...pluginParams)
})


Post editing

TSIA

Any more info on this? What can a user edit? Can they change the video? Can they move it to a different forum?

They can edit text, image, and video content. Not sure why a user would move a post to a different forum, but we won't support that

@JakeSteinebronn @DanielW48 I'd like your thoughts on this, but I'm in favor of not letting users add new images or video content to an existing post. I think it'll be confusing for other users to encounter those edits because a post they interacted with could become about something completeley different.
Also there's a lot of nuance around someone editing in a controversial image and now everyone who previously liked the image looks like they're supporting that. Instagram handles this by only letting you delete images/videos and showing a new timestamp on any text edits.
If the motive behind post editing is to fix simple mistakes, we could just let the text content be editable (fix typos, etc).

Agreed, adding media to an existing post sounds no bueno. Deleting could be nice, but it will be a lot of work and it's probably pretty low priority.


Spike: Investigate Charts

Let's do a deep dive into our current charts offering.

Why is it built on top of Victory?
Is it a viable option to build future charts using Carbon visualization? Can we reskin them? Any legal reasons why we couldn't?
What other options are there for accessible data visualization libraries?

I happened to see that WebAssign release-planning-tool repo has a reference to charts. We can reach out to Alex T from WebAssign if we have questions.

The big plus to Carbon is that they turn the data into a table by default. None of the other popular React chart libraries do this. I think that may be the easiest way to guarantee the information is fully accessible, and for that reason, I would lean towards continuing down this path. In addition, Carbon is an open source library, so I don't see any legal reason why we couldn't use it.
As far as the ability to reskin Carbon, it's possible.

They offer 4 themes: white, g9, g10, g100. From there, you can also customize the colors of the data in each chart.
We would have to add some custom CSS styling to override the font

CodeSandbox example
We have to decide whether we want to wrap Carbon inside @react-magma/charts OR document our recommendation for how to use them in conjunction with Magma
Pros:

Easier out of the box for other developers (no customization needed)

Cons:

We'd have to release a new version every time Carbon does to keep up with the latest. AKA more work for us.
We'd have to deprecate the existing Magma Charts and replace it with this. This shouldn't be a huge deal as maybe one team is utilizing charts.

Completed investigation on 4/26/2023. Team has decided to move forward with this approach.
Draft pull request with work so far: https://github.com/cengage/react-magma/pull/1051
Opened the following follow up stories where design requirements will be outlined and the charts will be fully documented:

#1052
#1053
#1054
#10550
#1056

Some screenshots:


soft threshold when aggregating labels for child clusters

What would you like to be added:
kind/feature
Why is this needed:

cc @lmxia


Manual linking info

This adds information for manually linking the capture to the embed sent to the user that started the game

Ah this is a great idea, thanks for contributing :)


[1.0.0.rc1] generate: fix mount-cgroups bug

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>Backported to v1.0.0.rc1 from c4fb2c0 #156 (cherry-pick applied
cleanly).
Signed-off-by: W. Trevor King<EMAIL_ADDRESS>

LGTM


NHATTRUYEN URL change (Nhattruyenup.com -> Nhattruyenvn.com)

Source information
Nhattruyen 1.4.23
Source language
Vietnamese - Tiếng Việt
Source new URL
https://nhattruyenvn.com/
Other details
Nhattruyen URL change and this it not duplicate or something like that, this is new one, pls fix it.
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

This is not a duplicate because the previous article was by nettruyen, not by nhattruyen


Location search not possible

Subject: Location search not possible
Description:
When typing a location name, no suggestion pop up. Same for firefox and chromium with ad filter turned off.
Results:
Locations should have shown up.
Backend version: develop-64e6cf65
Frontend version: develop-6d22ac7f
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Page: https://couchers.org/
User: lupo (31910)

Dupe #3737


validate() method for JFXComboBox

Hello, is it possible to validate a JFXComboBox? I see that RequiredFieldValidator support JFXTextField and JFXComboBox, but when I try to do myJFXComboBox.validate() it doesn't work.
Regards.

Hello,
You can use ValidationFacade for this.

create a new ValidationFacade and set its control to JFXCombobox.
validate using static call ValidationFacade.validate(jfxComboBox);

you can check JFoenix demo of JFXComboBox control for more details.
Regards,

Soon, more controls will have validation baked right into them.

@mdelloso in the latest version of JFoenix 8.0.7 you can call validate directly on any control that implements the interface IFXValidatableControl (including JFXComboBox)
Regards,


Strapi v4

Details
Describe the solution you'd like:
Add Strapi v4 deployment to cluster
Anything else you would like to add:
Likely will need to build custom image.
See Strapi Blog and also naskio/docker-strapi for reference
Additional Information:

Abandoned I'm favor of other solutions


Initial build

Alaska Airlines Pull Request
Summary:
Rebuild of ods-inputText as auro-input element.
fixes: https://github.com/AlaskaAirlines/ods-inputtext/issues/18
Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Updates addressed.
@shelbyevans can I get a design review?
http://auro-21.surge.sh/ ... click on the Input component from the nav.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Partial constraints for GCPs

I am monitoring glacier change with monthly measurements, and currently need to align each flight manually due to the lack of precise ground control points. Because of the way the landscape changes, it would be relatively easy to establish repeatable, precise lat/lon coordinates for certain features even without precise geolocation, but altitude may change significantly between measurement runs.
Conversely there is a glacial lake with known altitude but it would be almost impossible to use lat/lon out there. So I was wondering if the GCP control point format could be extended to allow something like
<geo_x> <geo_y> NAN <img_x> <img_y> <image_name>
NAN NAN <geo_z> <img_x> <img_y> <image_name>

Update:
I've read more of the source and I would guess the first option (unknown altitude) may be easier to accommodate. The cost function is calculated in image space, and one unknown component would be equivalent to the distance of the specified image location to a line rather than the reprojected point. In the second case (elevation only) there appears not to be enough information.

tl;dr: not possible with the way we handle GPS right now. Possible with a different implementation.
As currently implemented, GCP are assumed to be points with known 3D position. These points are projected to the images and compared with their observed position there.
Such procedure can only be made if all 3 coords of the GPC are known.
In reality, though, we often don't know the exact position. Sometimes the estimate might be uncertain. Other times, as in the case you mention, only some axes are observed.
A better way to handle such situations would be to estimate the 3D location of the GPC instead of assuming that they are known. This way the estimated position could be constrained to be close to different types of measurements including the ones where only some axes are observed.

@stephanmantler
i think a Least Square Ajustment with GCP weight would be a solution.
If you like, take a look into this example.
To run,
LeastSquareAdjustment.pdf
please install GNU Octave and unpack under /tmp/
odm_affine3d_2017-04-16.zip


[Feature] How can we integrate it in existing L5 instance?

Is there a way to integrate canvas in existing L5 instance? If yes then please help me out.

In its current state, Canvas cannot be pulled into an existing Laravel installation. It's a standalone application. There have been quite a few requests for this to be available purely as a package that can be added to existing installations, so you may see this feature in an upcoming release. Thanks for checking out Canvas and stay tuned!

No problem... @austintoddj Thanks a lot for creating canvas... If possible il try to contribute... 👍


DRep registration - Registration hang up after providing json file and confirming

Registration as Drep fails:
To reproduce:

Provide meta data as below:

Confirm
Pass

Metadata link: https://raw.githubusercontent.com/mpawel79/testrepo/master/test.jsonld

Proceed - bank screen appears. Compare with:

Jam recording here

This fails with a different error: "Metadata not verified"
https://www.loom.com/share/2a1d643df66b4a1ea315463a18967fc4?sid=aab95f83-c608-4dd8-ba6e-17bedc2ee401

"Blocked" as cannot be tested.

misterDrep_1000.jsonld.zip
This is the json file for this issue. Zipped because github doesn't like json.

Fixed by #1247

OK NOW - use of URL without protocol, eg. 'test.com' works fine now. Jam Recording

Working now. Closing


Replacing self.model with self

Closing as this is fixed by #291. But thanks nevertheless for the PR @peeeffchang


Remove legacy gossip

This was extracted from #528.

Rebased onto current develop, filed separately as #737.

I believe this PR (and the branch) can be deleted, too?

Yeah, I believe so.  Let's just close for now and wait to delete until we are sure.