feat: footer unit tests

Description
This adds unit tests for the global footer
Related Issue
Resolves: MWPW-137634
Testing instructions

change web-test-runner.config.mjs by adding   files: ['./test/blocks/global-footer/global-footer.test.js'], to the default exported json (this will help target the global-footer.test.js for tests)
run npm run test:file:watch

Test URLs
Acrobat:

Before: https://main--dc--adobecom.hlx.page/drafts/rbogos/default?martech=off
After: https://main--dc--adobecom.hlx.page/drafts/rbogos/default?milolibs=mwpw-138031-footer-tests--milo--rbogos&martech=off

BACOM:

Before: https://main--bacom--adobecom.hlx.page/drafts/rbogos/default
After: https://main--bacom--adobecom.hlx.page/drafts/rbogos/default?milolibs=mwpw-138031-footer-tests--milo--rbogos&martech=off

CC:

Before: https://main--cc--adobecom.hlx.page/drafts/rbogos/default?martech=off
After: https://main--cc--adobecom.hlx.page/drafts/rbogos/default?milolibs=mwpw-138031-footer-tests--milo--rbogos&martech=off

Milo:

Before: https://main--milo--robert-bogos.hlx.page/drafts/rbogos/default?martech=off
After: https://footer-tests--milo--robert-bogos.hlx.page/drafts/rbogos/default?martech=off

@robert-bogos :
A few nala tests corresponding to Text block are failing on your PR branch, ( they are passing on other branches)
I just wanted to check do you have latest milo code base on your branch also
@rgclayton @AddumOne

@skumar09 this purely touches unit tests, so nala checks shouldn't fail. With the latest additions to the PR that seems to have cleared 👍

Nice 👍
Last thing you might want to look at, is if you run this in the browser and check the network tab/console it has 3 404s.

http://localhost:2000/favicon.ico
http://localhost:2000/libs/blocks/undefined/undefined.css
http://localhost:2000/libs/blocks/undefined/undefined.js

the /favicon.ico  seems to only show on first load, before the tests start. A solution would be to mock this call, but it will add more code and no extra functionality.
the /undefined calls come from the test where the region picker's href has an empty hash and that causes these 404s in the await loadBlock(regionSelector) from global-footer.js, but it looks like the expected behaviour. Could mock these calls just to get rid of the 404s.

What do you think? @mokimo


There is "close to the right" but not "close to the left"? (Editor tab right click menu)

When I right-click on the editor tab, it'll show me a menu like this:

There's "Close to The Right" but there's no "Close to The Left", so why not have one?

wow great duplication check!


Fix BIO_get BIO_set functions require openssl 1.1.0

BIO_get_data and BIO_set_data and related methods are availabe since openssl 1.1.0.
See https://www.openssl.org/docs/man1.1.1/man3/BIO_set_init.html
Closes #11735

Some windows specs failed - https://github.com/daliborfilus/crystal/actions/runs/1679244468, but that isn't related to this I guess?

CI on the PR passes, so it should be all good :+1:


Wire up installation of content using a provided ServiceAccount

Following #971 and #972, we need to wire up the logic such that a ServiceAccount referenced in a ClusterExtension is used to install/upgrade/uninstall content via the Helm client.
While exact implementation may vary, here are some things to consider during implementation:

The type implemented in #972 could likely be used to create a client.RestConfigMapper that is used with client.NewActionConfigGetter to configure the helm client created for a given ClusterExtension.

You can see where the client.NewActionConfigGetter is configured here: https://github.com/operator-framework/operator-controller/blob/2eca31ddd520a558b063880b5db0bb3ece878a3b/cmd/manager/main.go#L168-L175

Acceptance Criteria:

The client.NewActionConfigGetter setup in https://github.com/operator-framework/operator-controller/blob/2eca31ddd520a558b063880b5db0bb3ece878a3b/cmd/manager/main.go#L168-L175 is updated to use a client.RestConfigMapper that creates a rest.Config configured with a token from the ServiceAccount referenced in a ClusterExtension

The token for this should be retrieved via the implementation in #972

Updates to the existing unit + e2e tests as necessary for them to continue functioning as expected. It is anticipated that some work will need to be done to configure a ServiceAccount with appropriate permissions to be used during e2e tests.
Permissions on the operator-controller ServiceAccount should be updated to no longer require write permissions on content to be installed (and clean up any other permissions that are no longer necessary)
Any changes to the previously implemented interfaces to facilitate the wiring of components successfully are made

I noticed in #1038 that we use a */*/* ServiceAccount in tests. Can we change those permissions to the minimum necessary ones based on the bundle contents to make sure that future changes we make don't impose more permissions requirements?

Closing this one as completed as #1038 was merged.
@joelanford Your comment should be addressed via #1074


Add Neuroscope recording interface

This PR adds the NeuroScopeRecordingInterface to the list of supported interfaces. A file is outputted from a pipeline using this interface.
@CodyCBakerPhD How would you like to go about validating that this actually works?

When the PR for each new interface is added, you try it once before opening the PR (the entire pipeline) then I'll try it before merge
I really can't think of any other better way to get an entire end-to-end integration test using ground truth test files (could use a series of Chromatic stories with hard coded payloads but that isn't really the same thing... would also greatly inflate our snapshot usage)
How does that sound?

Sounds good to me. Would there ever be cases where the pipeline is successful but the output file is incorrect?

Would there ever be cases where the pipeline is successful but the output file is incorrect?

Depends on what you mean be 'incorrect'
If that means 'user specified a bunch of metadata fields in the GUIDE but they did not end up in the file' then the issue could be in either the GUIDE passing things to NeuroConv or a problem in NeuroConv itself
If that means 'data fields were written incorrectly' then I really hope not because that would be a big NeuroConv problem. I like to think everything is OK there
If that means 'NeuroConv default values are actually incorrect and we can't modify them in GUIDE right now' yeah, that is technically possible (w.r.t electrode metadata and the like) but the current solution is just to not use GUIDE in that case since they would need metadata customization. Anyone that needs that will be directed to use NeuroConv directly until GUIDE supports all the metadata customization

@garrettmflynn on this PR I get an error when generating preview
Failed to load resource: net::ERR_CONNECTION_REFUSED
index.ts:72 Connected to Python back-end successfully
<IP_ADDRESS>:4242/neuroconv/convert:1          Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)
utils.js?t=1689345824441:35 Uncaught (in promise) Error: Request to convert failed: 'ElectrodeColumns'
    at run (utils.js?t=1689345824441:35:33)
    at async GuidedMetadataPage.runConversions (Page.js?t=1689345824441:122:28)
    at async GuidedFooter.onNext [as __onNext] (GuidedMetadata.js?t=1689345824441:27:29)

using main of NeuroConv - I thought we had merged in a fix for that?

You are correct, though this branch was not up-to-date with main.
Just worked on my end. Can you try again?

Had to do a complete wipe and reinstall of GUIDE on my system, but yes it works on this branch now
The last thing I'd request specific to this PR is adding a source data field for the gain argument: https://github.com/catalystneuro/neuroconv/blob/main/src/neuroconv/datainterfaces/ecephys/neuroscope/neuroscopedatainterface.py#L119
It's technically optional so schematically doesn't need to be filled in - but it's encouraged
This is actually a good example of your earlier question

Would there ever be cases where the pipeline is successful but the output file is incorrect?

Right now, I'd say yes because the default gain from neo has always been incorrect as far as we can tell, which is why we always override it when using it in practice

The changes in the intan branch expose non-required properties and hide those we don't like seeing right now.
Rebasing to that branch exposes gain properly.

Very minor - how difficult is it to get rid of the up and down arrows to the right of the form entry box for the float valued gain? It increments in +/- 1 which isn't really applicable for this field

Would you want it to increment at a different interval? Or would you just
prefer it to be gone.
Both are fairly straightforward.
On Fri, Aug 4, 2023 at 12:52 PM, Cody Baker @.***>
wrote:

Very minor - how difficult is it to get rid of the up and down arrows to
the right of the form entry box for the float valued gain? It increments
in +/- 1 which isn't really applicable for this field
[image: image]
https://user-images.githubusercontent.com/51133164/258516769-055cbfe6-c3a8-41dd-8b1e-e7058271ff70.png
—
Reply to this email directly, view it on GitHub
https://github.com/NeurodataWithoutBorders/nwb-guide/pull/234#issuecomment-1666103916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDAY5J2VDT5ORLCLTRG4R3XTVHJTANCNFSM6AAAAAA2H6L6JM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Would you want it to increment at a different interval? Or would you just prefer it to be gone.

I'm not against the general idea of incrementing a float (in terms of the generic web component) whenever the resolution exists in a reasonably stable range, but it's this specific float that should probably not be incrementable. So for this case, 'gone' is preferred
Usually the gain value is a very particular number and can potentially go into several (up to 6+ or more) decimal places out, so typing it explicitly really is the way to go here to make sure it's accurate

Added the relevant interval increment features to #270.

Pipeline looks good!


Automate prombench for GKE

PR for modifying prombench into GKE
Although I have pushed all changes in 1 commit, the entire commit history can be seen here
Signed-off-by: Harsh Agarwal<EMAIL_ADDRESS>

@krasi-georgiev
How about creating 1 prometheus-meta & 1 grafana to monitor all instances of prombench.
This will greatly simplify the logic of allowing anonymous user access to grafana graphs and exposing ingress paths

Aaah I just noticed that you have deployed 2. We definitely need only 2 as otherwise triggering alerts and comparing results would be difficult.

Could you clarify what 2 things have been deployed & what 1 thing do we need?


[BUG] Cannot get price

Hi,
I used two scripts below for getting prices of nfts, but all failed. I remembered that I can get prices by using function "offers" or "offersByUrl" before, but they do not work now.
Script 1:
let result_testnet = await OpenseaScraper.offersByUrl("https://testnets.opensea.io/collection/doodles-officias", options); console.dir(result_testnet, {depth: null}); // result object contains keys stats and offers

Script 2:
   let result =  await OpenseaScraper.offers(nft, options);     console.dir(result, {depth: null}); // result object contains keys stats and offers

Any suggestions for that? Thanks.

thanks a lot, its a bug, working on it.

Thanks for your response. I think opensea website Could have updates somewhere.

So opensea changed some variable names in their __wired__ variable (we get the prices from that variable).
I noticed that quantityInEth is not longer availible. Instead only quantity seems to exist.
// doesnt work anymore
Object.values(__wired__.records)
    .filter(o => o.__typename === "AssetQuantityType")
    .filter(o => o.quantityInEth) // ❌ this breaks

// seems to work
Object.values(__wired__.records)
    .filter(o => o.__typename === "AssetQuantityType")
    .filter(o => o.quantity) // returns something but with wrong mapping

Unfortunately simply chaning this does NOT fix the issue, because the mapping is off. This needs more investigation. Leaving my findings here for now.

So opensea changed some variable names in their __wired__ variable (we get the prices from that variable).
I noticed that quantityInEth is not longer availible. Instead only quantity seems to exist.
// doesnt work anymore
Object.values(__wired__.records)
    .filter(o => o.__typename === "AssetQuantityType")
    .filter(o => o.quantityInEth) // ❌ this breaks

// seems to work
Object.values(__wired__.records)
    .filter(o => o.__typename === "AssetQuantityType")
    .filter(o => o.quantity) // returns something but with wrong mapping

Unfortunately simply chaning this does NOT fix the issue, because the mapping is off. This needs more investigation. Leaving my findings here for now.

Is there any updates on this issue? Thanks

I currently don't have time to fix this. I have it on my todo list, but I cannot promise nor predict any timeline.

Thnaks for your reply.

I currently don't have time to fix this. I have it on my todo list, but I cannot promise nor predict any timeline.

I did some investigations on Opensea website abnd made some changes on source code. Now it seems work.
   const floorPrices = Object.values(__wired__.records)     .filter(o => o.__typename === "PriceType" && o.eth && o.unit && o.usd)     .filter(o => o.eth)     .map(o => {       return {         amount: o.eth,         currency: 'ETH',       }     });

I did some investigations on Opensea website abnd made some changes on source code. Now it seems work.
 const floorPrices = Object.values(__wired__.records) .filter(o => o.__typename === "PriceType" && o.eth && o.unit && o.usd) .filter(o => o.eth) .map(o => { return { amount: o.eth, currency: 'ETH', } });

this works!! thank you!

thanks @kaiqiangh for the fix! I adapted it in the new version 6.5.2. To adapt please use version 6.5.2:
npm install<EMAIL_ADDRESS>
or alternatively if you have it already installed upgrade to latest version
npm upgrade

Thank you! ♥

thanks @kaiqiangh for the fix! I adapted it in the new version 6.5.2. To adapt please use version 6.5.2:
npm install<EMAIL_ADDRESS>
or alternatively if you have it already installed upgrade to latest version
npm upgrade

Thank you! ♥

All good! Thanks!


Avoid docker running as root

This avoids everything having root permissions, created files being
owned by root, and other nastiness. This is made slightly more
complicated by Google linux machine's...creative... setup for user
management. All these scripts can be run locally provided the appropriate
env variables are set, which can be done with the script provided in
https://github.com/google/iree/pull/2588.
This was the root cause for https://github.com/google/iree/issues/2565.
The image we're using for the GPU builds doesn't have passwordless sudo
so we couldn't delete the Kokoro artifacts directory.
Fixes https://github.com/google/iree/issues/2565

bazel: command not found

Lol bazel is only installed for root. Oh docker...

So we are installing bazel by wget a installer.sh.. Why not use apt repo (https://docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu)?

So we are installing bazel by wget a installer.sh.. Why not use apt repo (docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu)?

Historical reasons I think from when this happened as part of a GitHub action. I think Scott spent quite some time trying to get Bazel to just install :grin: Let's see if apt just works now. I'm still dismayed by the apt-key warning though...

Just look at the last commit. The first is from #2588. I'll rebase and drop that and switch everything back to prod images once #2583 is in.

Updated the prod images after https://github.com/google/iree/issues/2565, going to revert to using prod tags and double check this still works

Somehow this seems to have made the integrations build take an hour instead of 20 minutes :confused:


Add hotfix versions: 1.19.13-hotfix.20210830 and 1.20.9-hotfix.20210830

To add new hotfix versions to the VHD.

@ganeshkumar5699 could you help to add these new packages in vhdbuilder/packer/generate-windows-vhd-configuration.ps1

@ganeshkumar5699 could you help to add these new packages in vhdbuilder/packer/generate-windows-vhd-configuration.ps1

Added to it @AbelHu.


E21_Person: Switch to interval field?

we switch to the new interval field and also include a migration that takes care of copying data to the new field


⚠ Samsung has degraded performance

In 22d0f71, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2361 ms

Resolved: Samsung performance has improved in 4ed7033.


Provide a function for completion-at-point-functions

It would be great if yankpag provided a function that can readily be added to completion-at-point-functions, which is part of core Emacs (see documentation).
To be able to integrate with different solutions to company-mode like corfu
Thanks

Hi! That's a good suggestion. I'm not using completion for Yankpad myself, how would you suggest that it works? Is it the snippet names that it completes against? If so I think the expand keyword needs to be included in the names.

Hi! That's a good suggestion. I'm not using completion for Yankpad myself, how would you suggest that it works? Is it the snippet names that it completes against? If so I think the expand keyword needs to be included in the names.

this repo can serve as inspiration https://github.com/elken/cape-yasnippet/tree/master


Don't list extension methods multiple times.

This is a copy of the changes from @slozier in ironpython3 https://github.com/IronLanguages/ironpython3/pull/1620
This fixes the same issue in ironpython2 https://github.com/IronLanguages/ironpython2/issues/810

@dotnet-policy-service agree

Correct. I misread the commits from you and missed that you had reverted that file. I have updated the PR.


Memory leak fix and small fixes

Great repo but had some small issues.
Apparently you shouldn't use router-link inside nuxt but nuxt-link . This was causing a huge memory leak for me and stopped the front-end after routing 3 times.
Also fixed some small bugs.

Hello @eertmanhidde ! I manually added your modifications during some updates I was doing!
Thanks for this contribution :)


Why didn't we get UMLS:C0572088 with CHV?

So with the addition of CHV into KG2.8.4pre (#280), the hope and intention was that we would get UMLS:C0572088 ("Fentanyl overdose") into the graph. But for some reason, that didn't happen. Grepping the umls-chv.ttl file is probably the approach here, to find it. Could someone please have a look?  Thanks.

This is in the umls-chv.ttl file:
<http://purl.bioontology.org/ontology/CHV/0000040137> a owl:Class ;
        skos:prefLabel """fentanyl overdose"""@en ;
        skos:notation """0000040137"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/COMBO_SCORE> """-1"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/COMBO_SCORE_NO_TOP_WORDS> """-1"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/CONTEXT_SCORE> """-1"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/CUI_SCORE> """-1"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/DISPARAGED> """no"""^^xsd:string ;
        <http://purl.bioontology.org/ontology/CHV/FREQUENCY> """-1"""^^xsd:string ;
        UMLS:has_cui """C0572088"""^^xsd:string ;
        UMLS:has_tui """T037"""^^xsd:string ;
        UMLS:has_sty <http://purl.bioontology.org/ontology/STY/T037> ;

and this is in the umls-chv.json file:
    }, {
      "id" : "http://purl.bioontology.org/ontology/CHV/0000040137",
      "meta" : {
        "basicPropertyValues" : [ {
          "pred" : "https://identifiers.org/umls:has_cui",
          "val" : "C0572088"
        }, {
          "pred" : "http://www.w3.org/2004/02/skos/core#notation",
          "val" : "0000040137"
        }, {
          "pred" : "http://www.w3.org/2004/02/skos/core#prefLabel",
          "val" : "fentanyl overdose"
        }, {
          "pred" : "https://identifiers.org/umls:has_tui",
          "val" : "T037"
        } ]
      },
      "type" : "CLASS"
    }, {

However, it, for some reason, did not get incorporated into KG2.8.4pre or KG2.8.5pre. This is likely an issue with multi ont.

Good catch, @ecwood


Reduce backend method complexity

BACKEND PULL REQUEST
Related Issue
Resolves #5585
Changes Proposed

The following functions are refactored to reduce complexity

OrganizationExtractor.convertClaims
OrganizationInitializingService.initAll

Additional Information
N/A
Testing

How should reviewers verify this PR?

had to rebase from main :) Ready for re-review @johanna-skylight @mehansen @zdeveloper @fzhao99


!!! BUILD FAILED --> PGP Verify not OK / signature(0) verify(0)

Hi, i need help please. Im getting this error.

Please provide more information. Check this same type of issue here https://github.com/rootzoll/raspiblitz/issues/797

Please provide more information. Check this same type of issue here https://github.com/rootzoll/raspiblitz/issues/797

Please provide more info.
is it the lnd PGP key?
Does manual verification of the LND binary work?

Please provide more info.
is it the lnd PGP key?
Does manual verification of the LND binary work?

*** PREPARATION OF BITCOIN & Co ***
--2021-01-15 08: 49: 09-- https://bitcoin.org/laanwj-releases.asc
Solving bitcoin.org (bitcoin.org) ... <IP_ADDRESS>
Connecting with bitcoin.org (bitcoin.org) [<IP_ADDRESS>]: 443 ... connected.
HTTP request sent, waiting for response ... 200 OK
Length: 32242 (31K) [application / octet stream]
Recording to: "laanwj-releases.asc"
laanwj-releases.asc 100% [========================================= =====>] 31.49K --.- KB / s in 0.001s
2021-01-15 08:49:09 (20.9 MB / s) - "laanwj-releases.asc" saved [32242/32242]
gpg: WARNING: no command provided. Trying to guess what you want ...
pub rsa4096 2015-06-24 [SC] [expires: 2022-02-10]
01EA5486DE18A882D4C2684590C8019E36C2E964
uid Wladimir J. van der Laan (Bitcoin Core binary launch signing key<EMAIL_ADDRESS>gpg: key 90C8019E36C2E964: 51 unverified signatures due to missing keys
gpg: /home/admin/.gnupg/trustdb.gpg: trusted database has been created
gpg: key 90C8019E36C2E964: public key "Wladimir J. van der Laan (Bitcoin Core binary release signing key<EMAIL_ADDRESS>imported
gpg: Total amount processed: 1
gpg: imported: 1
gpg: absolutely reliable keys not found
--2021-01-15 08: 49: 09-- https://bitcoin.org/bin/bitcoin-core-0.20.0/SHA256SUMS.asc
Solving bitcoin.org (bitcoin.org) ... <IP_ADDRESS>
Connecting with bitcoin.org (bitcoin.org) [<IP_ADDRESS>]: 443 ... connected.
HTTP request sent, waiting for response ... 200 OK
Length: 1769 (1.7K) [application / octet stream]
Recording to: "SHA256SUMS.asc"
SHA256SUMS.asc 100% [=========================================== ===>] 1.73K --.- KB / s in 0s
2021-01-15 08:49:10 (30.3 MB / s) - "SHA256SUMS.asc" saved [1769/1769]
good signature (0)
correctKey (0)
!!! BUILD FAILED -> PGP Verify is not ok / signature (0) verify (0)

*** PREPARATION OF BITCOIN & Co ***
--2021-01-15 08: 49: 09-- https://bitcoin.org/laanwj-releases.asc
Solving bitcoin.org (bitcoin.org) ... <IP_ADDRESS>
Connecting with bitcoin.org (bitcoin.org) [<IP_ADDRESS>]: 443 ... connected.
HTTP request sent, waiting for response ... 200 OK
Length: 32242 (31K) [application / octet stream]
Recording to: "laanwj-releases.asc"
laanwj-releases.asc 100% [========================================= =====>] 31.49K --.- KB / s in 0.001s
2021-01-15 08:49:09 (20.9 MB / s) - "laanwj-releases.asc" saved [32242/32242]
gpg: WARNING: no command provided. Trying to guess what you want ...
pub rsa4096 2015-06-24 [SC] [expires: 2022-02-10]
01EA5486DE18A882D4C2684590C8019E36C2E964
uid Wladimir J. van der Laan (Bitcoin Core binary launch signing key<EMAIL_ADDRESS>gpg: key 90C8019E36C2E964: 51 unverified signatures due to missing keys
gpg: /home/admin/.gnupg/trustdb.gpg: trusted database has been created
gpg: key 90C8019E36C2E964: public key "Wladimir J. van der Laan (Bitcoin Core binary release signing key<EMAIL_ADDRESS>imported
gpg: Total amount processed: 1
gpg: imported: 1
gpg: absolutely reliable keys not found
--2021-01-15 08: 49: 09-- https://bitcoin.org/bin/bitcoin-core-0.20.0/SHA256SUMS.asc
Solving bitcoin.org (bitcoin.org) ... <IP_ADDRESS>
Connecting with bitcoin.org (bitcoin.org) [<IP_ADDRESS>]: 443 ... connected.
HTTP request sent, waiting for response ... 200 OK
Length: 1769 (1.7K) [application / octet stream]
Recording to: "SHA256SUMS.asc"
SHA256SUMS.asc 100% [=========================================== ===>] 1.73K --.- KB / s in 0s
2021-01-15 08:49:10 (30.3 MB / s) - "SHA256SUMS.asc" saved [1769/1769]
good signature (0)
correctKey (0)
!!! BUILD FAILED -> PGP Verify is not ok / signature (0) verify (0)

Been 2 weeks, have you upgraded to version 1.6.3?
Reflash the microSD card.

Been 2 weeks, have you upgraded to version 1.6.3?
Reflash the microSD card.

Pls close this issue.


Correct the ReadMe file's Heading from "Applicarion " to Application

Can I get assigned? let me know how to start.

Can I get assigned? let me know how to start.

Yes you can work....And this issue has been solved but i am sure there is lots of typo in Readme file ...You can work

Hey, I think there's some mismatch in your project's ReadMe file,
first : small typos
second : title and description don't really go together , title and codebase says Weather Application , readme says "Todo App"
If you think is is one of the issues, I would love to contribute to this


Will not work in a Vercel instance for Astro (works locally)

Both for Node 18 and Node 20:
[14:23:34.076]<EMAIL_ADDRESS>install: ../simsimd/include/simsimd/types.h:27: warning: "SIMSIMD_TARGET_ARM_NEON" redefined
[14:23:34.076]<EMAIL_ADDRESS>install:    27 | #define SIMSIMD_TARGET_ARM_NEON 0
[14:23:34.076]<EMAIL_ADDRESS>install:       |
[14:23:34.077]<EMAIL_ADDRESS>install: <command-line>: note: this is the location of the previous definition
[14:23:34.077]<EMAIL_ADDRESS>install: In file included from ../simsimd/include/simsimd/binary.h:23,
[14:23:34.077]<EMAIL_ADDRESS>install:                  from ../simsimd/include/simsimd/simsimd.h:17,
[14:23:34.077]<EMAIL_ADDRESS>install:                  from ../include/usearch/index_plugins.hpp:68,
[14:23:34.077]<EMAIL_ADDRESS>install:                  from ../include/usearch/index_dense.hpp:10,
[14:23:34.078]<EMAIL_ADDRESS>install:                  from ../javascript/lib.cpp:18:
[14:23:34.078]<EMAIL_ADDRESS>install: ../simsimd/include/simsimd/types.h:36: warning: "SIMSIMD_TARGET_ARM_SVE" redefined
[14:23:34.078]<EMAIL_ADDRESS>install:    36 | #define SIMSIMD_TARGET_ARM_SVE 0
[14:23:34.078]<EMAIL_ADDRESS>install:       |
[14:23:34.078]<EMAIL_ADDRESS>install: <command-line>: note: this is the location of the previous definition
[14:23:35.137]<EMAIL_ADDRESS>install: In file included from ../simsimd/include/simsimd/simsimd.h:18,
[14:23:35.138]<EMAIL_ADDRESS>install:                  from ../include/usearch/index_plugins.hpp:68,
[14:23:35.138]<EMAIL_ADDRESS>install:                  from ../include/usearch/index_dense.hpp:10,
[14:23:35.138]<EMAIL_ADDRESS>install:                  from ../javascript/lib.cpp:18:
[14:23:35.138]<EMAIL_ADDRESS>install: ../simsimd/include/simsimd/probability.h:457:8: error: '__m512h' does not name a type; did you mean '__m512i'?
[14:23:35.138]<EMAIL_ADDRESS>install:   457 | inline __m512h
[14:23:35.138]<EMAIL_ADDRESS>install:       |        ^~~~~~~
[14:23:35.138]<EMAIL_ADDRESS>install:       |        __m512i
[14:23:35.138]<EMAIL_ADDRESS>install: ../simsimd/include/simsimd/probability.h:477:1: error: attribute 'avx512fp16' argument 'target' is unknown
[14:23:35.139]<EMAIL_ADDRESS>install:   477 | simsimd_avx512_f16_kl(simsimd_f16_t const* a, simsimd_f16_t const* b, simsimd_size_t n) {
[14:23:35.139]<EMAIL_ADDRESS>install:       | ^~~~~~~~~~~~~~~~~~~~~

Vercel error log:
500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED
ID: cle1:cle1::sw2js-1705001182897-78fa89a33f7c

19:26:23 [ERROR] Error: No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.10.0
    loaded from<EMAIL_ADDRESS>
    at load.resolve.load.path (/var/task/node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/node-gyp-build.js:60:9)
    at load (/var/task/node_modules/.pnpm/node-gyp-build@4.8.0/node_modules/node-gyp-build/node-gyp-build.js:22:30)
    at Object.<anonymous> (/var/task/node_modules/.pnpm/simsimd@3.6.3/node_modules/simsimd/javascript/simsimd.js:3:18)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at r.<computed>.e._load (/var/task/___vc/__launcher/bridge-server-72TT5FOD.js:1:1574)
    at cjsLoader (node:internal/modules/esm/translators:345:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:294:7)

Hi, @FlipFloop! It should work if you upgrade the compiler. If you are on Linux, I suggest GCC 12 or newer. Can you please try again?

My local machine isn't the problem. I am trying to make this work on an Astro site in Vercel. Like so:

import {
  runPerformanceTest,
  normalizeColors,
  generateRandom1DArray,
  type PerformanceTestResult,
} from "~/utils/performanceTime";

import { sqeuclidean } from "simsimd";

const numIterations = 1000;
const small_size = 5;
const vectorA = generateRandom1DArray(small_size);
const vectorB = generateRandom1DArray(small_size);

const vectorA_F32Arr = new Float32Array(vectorA);
const vectorB_F32Arr = new Float32Array(vectorB);

const medium_size = 500;
const vectorC = generateRandom1DArray(medium_size);
const vectorD = generateRandom1DArray(medium_size);

const vectorC_F32Arr = new Float32Array(vectorC);
const vectorD_F32Arr = new Float32Array(vectorD);

const long_size = 5000;
const vectorE = generateRandom1DArray(long_size);
const vectorF = generateRandom1DArray(long_size);

const vectorE_F32Arr = new Float32Array(vectorE);
const vectorF_F32Arr = new Float32Array(vectorF);

const runPerformanceTests = (
  algorithm: (a: any, b: any) => number,
  vector1: number[] | Float32Array,
  vector2: number[] | Float32Array,
  iterations: number,
): PerformanceTestResult => {
  let totalTime = 0;
  let totalResult = 0;

  for (let i = 0; i < iterations; i++) {
    const { result, time } = runPerformanceTest(algorithm, vector1, vector2);
    totalResult += result;
    totalTime += time;
  }

  const averageTime = totalTime / iterations;
  const averageResult = totalResult / iterations;

  return { result: averageResult, time: averageTime };
};

const euclideanDistance = (a: number[], b: number[]) => {
  return Math.hypot(...Object.keys(a).map((k: any) => b[k] - a[k])) ** 2;
};

const { result: avgResSimSmall, time: avgTimeSimSmall } = runPerformanceTests(
  sqeuclidean,
  vectorA_F32Arr,
  vectorB_F32Arr,
  numIterations,
);

const { result: avgResMathSmall, time: avgTimeMathSmall } = runPerformanceTests(
  euclideanDistance,
  vectorA,
  vectorB,
  numIterations,
);

const performanceTimesSmall: number[] = [avgTimeSimSmall, avgTimeMathSmall];
const normalizedColorsSmall = normalizeColors(performanceTimesSmall);

const { result: avgResSimMedium, time: avgTimeSimMedium } = runPerformanceTests(
  sqeuclidean,
  vectorC_F32Arr,
  vectorD_F32Arr,
  numIterations,
);

const { result: avgResMathMedium, time: avgTimeMathMedium } =
  runPerformanceTests(euclideanDistance, vectorC, vectorD, numIterations);

const performanceTimesMedium = [avgTimeSimMedium, avgTimeMathMedium];
const normalizedColorsMedium = normalizeColors(performanceTimesMedium);

const { result: avgResSimLong, time: avgTimeSimLong } = runPerformanceTests(
  sqeuclidean,
  vectorE_F32Arr,
  vectorF_F32Arr,
  numIterations,
);

const { result: avgResMathLong, time: avgTimeMathLong } = runPerformanceTests(
  euclideanDistance,
  vectorE,
  vectorF,
  numIterations,
);
const performanceTimesLong = [avgTimeSimLong, avgTimeMathLong];
const normalizedColorsLong = normalizeColors(performanceTimesLong);
---

<SpeedTestLayout
  title="simsimd library speedup experiment"
  description="simsimd library speedup experiment"
  numIterations={numIterations}
>

    Perform sqeuclidean by simsimd or using
      traditional methods

    <SimsimdRes
      size={small_size}
      normalizedColors={normalizedColorsSmall}
      avgTimeSim={avgTimeSimSmall}
      avgTimeMath={avgTimeMathSmall}
      avgResSim={avgResSimSmall}
      avgResMath={avgResMathSmall}
    />

    <SimsimdRes
      size={medium_size}
      normalizedColors={normalizedColorsMedium}
      avgTimeSim={avgTimeSimMedium}
      avgTimeMath={avgTimeMathMedium}
      avgResSim={avgResSimMedium}
      avgResMath={avgResMathMedium}
    />

    <SimsimdRes
      size={long_size}
      normalizedColors={normalizedColorsLong}
      avgTimeSim={avgTimeSimLong}
      avgTimeMath={avgTimeMathLong}
      avgResSim={avgResSimLong}
      avgResMath={avgResMathLong}
    />

</SpeedTestLayout>

You can see here: click on /experiments: https://victorguyard-392vahokg-victor-guyard-s-team.vercel.app/more/

@FlipFloop, any chance the prebuilt packages coming in #59 would help with that?

Possibly? I used ES6 syntax to import.. tell me when it's merged!

@sroussey, any thoughts on this?

I'll check out this afternoon.
BTW: is this vercel edge? Or node?
Their edge uses deno I think. And won't allow native code.
Which reminds me that I could put in a fallback of JS code in case something tries to run without native code. Obviously needs to issue a warning.

@sroussey just a default Vercel instance. Node 18/20.
Can I contribute to the fallback stuff? I think it'd be good for me to learn how this works...

I have something that deploys to vercel so I can do a test later this afternoon.

I know what it is, and it was something I was going to change this weekend anyhow.

Don't actually use this once this version gets updated, but you can test via using @sroussey/simsimd instead of simsimd and then get back to us with results.

@sroussey, should I already merge the #59? Is it supposed to close this?
@FlipFloop, sure, contributions always welcome - thank you!

Not yet.

So, from what I can tell, you can not use native libraries on vercel.
I did fix an issue where if you are using nextjs and you want to serve on your own nodejs server you can.
See the docs to read more. Edge functions are even more restricted.

On failure, we could fallback I guess. The functions are simple, for example (ask @ashvardanian if correct!)
export function inner_distance(arr1: number[], arr2: number[]) {
  return 1 - arr1.reduce((acc, val, i) => acc + val * arr2[i], 0);
}

Yes, @sroussey that makes sense. @FlipFloop would you be able to provide fallback implementations for other distance functions?

Sure, however how could I check ahead of time if the fallback is needed, since the package won't build at all on those instances?

Here is where I am at. I can't test the fallback stuff because I run into an issue where I can't import them? Also not all the functions were being tested in the first place....
https://github.com/ashvardanian/SimSIMD/compare/main...FlipFloop:SimSIMD:main

Update: even after 3.6.5, this doesn't work.

I am ready to review and merge if you guys have any other ideas?

Wasn't it here?
https://github.com/ashvardanian/SimSIMD/pull/64

The latest version on npm is 3.6.4 not 3.6.5

My apologies! I thought it auto published!

Fixed. See https://github.com/ashvardanian/SimSIMD/pull/66


New version: Mozilla.Firefox.DeveloperEdition.ca-valencia version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


Improve the UI of blog cards

i would like to change the UI of blog cards to make them more attractive.
Please assign it to me under GSSOC'23

Hey @KhushiKhandelwal610, you may work on this and please refer to the Contribution guidelines on the readme once.
All the best!

Closing this because of no response or pr from your side.


Assembly Error

hi
it seems you have an error in your pom.xml. all gridport elemnts are with co extension instead of com....
after fixing that and running mvn assembly:single , i still get an error:
Downloaded: http://maven.gridport.com/content/repositories/snapshots/commons-cli/commons-cli/1.2/commons-cli-1.2.jar (51 B at 0.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.610s
[INFO] Finished at: Tue Jan 27 16:56:19 IST 2015
[INFO] Final Memory: 10M/724M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project kafka-hadoop-loader: Failed to create assembly: Error creating assembly archive jar-with-dependencies: error in opening zip file -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
did i do anything wrong?

Im getting the same error as well

it seems this is not maintained anymore. closing the issue.

I have stopped maintaining when Kafka Connect was in the making but I got recently a few requests as well as need to have a simple schema-less solution still available so have done a rework and maintaining again.


adjust_maximized_client_rect fails when restore maximized window from taskbar

adjust_maximized_client_rect for me works fine when i minimize/maximize and restore window within my window, but problem appears when i hide (minimize) window using taskbar, and then again restore it with taskbar, size of the window still not fits correctly (it not fills hole monitor but a make size of my window a little larger ,and shift window down).

Not maximized window (normal)

Maximized window (by double clicking on nc area or my maximize button).

But when window maximized and minimized by taskbar and restore it fails.

And that happens on all sides of the window (i.e it little bigger that usual).
But when i resize taskbar, window again fits currently.

I try everything, send message WM_NCCALCSIZE, when message WM_SHOWWINDOW process, or manually move and change size of the window, but result still the same.
NOTE: In my window i use the same example as BordelessWindow only i change a little the HitTest, but that not causing this problem i've checked.
LRESULT HitTest(POINT p, HWND hwnd, bool handleResize) {
		// identify borders and corners to allow resizing the window.
		// Note: On Windows 10, windows behave differently and
		// allow resizing outside the visible window frame.
		// This implementation does not replicate that behavior.
		const POINT border{
			::GetSystemMetrics(SM_CXFRAME) + ::GetSystemMetrics(SM_CXPADDEDBORDER),
			::GetSystemMetrics(SM_CYFRAME) + ::GetSystemMetrics(SM_CXPADDEDBORDER)
		};
		RECT window;
		if (!::GetWindowRect(hwnd, &window)) {
			return HTNOWHERE;
		}

		bool handleDragForClient = FE_FALSE;
		bool handleDrag = FE_TRUE;

		const auto drag = handleDrag ? HTCAPTION : HTCLIENT;
		const auto dragClient = handleDragForClient ? HTCAPTION : HTCLIENT;

		enum region_mask {
			client = 0b0000,
			left = 0b0001,
			right = 0b0010,
			top = 0b0100,
			bottom = 0b1000,
		};

		const auto result = left * (p.x < (window.left + border.x)) |
			right * (p.x >= (window.right - border.x)) |
			top * (p.y < (window.top + border.y)) |
			bottom * (p.y >= (window.bottom - border.y));

		switch (result) {
		case left:           return handleResize ? HTLEFT : drag;
		case right:          return handleResize ? HTRIGHT : drag;
		case top:            return handleResize ? HTTOP : drag;
		case bottom:         return handleResize ? HTBOTTOM : drag;
		case top | left:  return handleResize ? HTTOPLEFT : drag;
		case top | right: return handleResize ? HTTOPRIGHT : drag;
		case bottom | left:  return handleResize ? HTBOTTOMLEFT : drag;
		case bottom | right: return handleResize ? HTBOTTOMRIGHT : drag;
		case client: {
			// Define the No Client Area Where we can drag. In this case is:
			// 0 -- window.right - 117
			// |                     |
			// |                     |
			// window.top + 40 -------
			//
			// NOTE: Client Area implement here using in Force Editor as PanelNonClientArea.
			if (
				// First rect.
				p.x >= 0 && p.x <= window.right - 117 &&
				p.y >= 0 && p.y <= window.top + 32 ||

				// Second rect.
				p.x >= (window.right / 2) + 100 && p.x <= window.right &&
				p.y >= window.top + 32 && p.y <= window.top + 64
				)
				return HTCAPTION;

			return dragClient;
		}
		default:             return HTNOWHERE;
		}
	}

Edit 1: I look up to the #14 issue, it shoud fix my problem, but it didn't.

After few hours digging out Win API, i finally found fix for this problem. It was in adjust_maximized_client_rect, in MonitorFromWindow , where its flag was set to MONITOR_DEFAULTTONULL, witch retrieve monitor only if window is intersect that monitor, but when window was minimized by task bar it seems to not intersect with monitor and returns NULL. So to fix this need just set MONITOR_DEFAULTTOPRIMARY instead, in that case that invalid NULL handle to monitor will be retrieved always as primary monitor.

That's curious.
I did some debugging, and I see the same behavior.
I guess when WM_NCCALCSIZE gets sent, the system is giving us the proposed window rect,
meaning it's not the actual window rect yet.
Calling GetWindowRect from WM_NCCALCSIZE seems to confirm that:

So it makes sense that MonitorFromWindow can't determine which monitor this window intersects.
Using MONITOR_DEFAULTTOPRIMARY kind of works, but only if the window was maximized on the primary monitor. Otherwise, the monitor work rect and window rect might not even overlap, and you have effectively no client area.
However, we do know the rectangle the window is about to occupy (which is the maximized rect the window is being restored to), so we can use that to determine the right monitor:
- auto monitor = ::MonitorFromWindow(window, MONITOR_DEFAULTTONULL);
+ auto monitor = ::MonitorFromRect(&rect, MONITOR_DEFAULTTONULL);

Maybe this code can solve the problem
/* Adjust client rect to not spill over monitor edges when maximized.
 * rect(in/out): in: proposed window rect, out: calculated client rect
 * Does nothing if the window is not maximized.
 */
auto adjust_maximized_client_rect(HWND window, RECT& rect) -> void {
    if (!maximized(window)) {
        return;
    }

    // get the screen that the window is supposed to be on
    WINDOWPLACEMENT wp{};
    if (!::GetWindowPlacement(window, &wp)) {
        return;
    }

    POINT center = {
        rect.left + (rect.right - rect.left) / 2,
        rect.top + (rect.bottom - rect.top) / 2
    };

    auto monitor = ::MonitorFromPoint(center, MONITOR_DEFAULTTONULL);
    if (!monitor) {
        return;
    }

    MONITORINFO monitor_info{};
    monitor_info.cbSize = sizeof(monitor_info);
    if (!::GetMonitorInfoW(monitor, &monitor_info)) {
        return;
    }

    // when maximized, make the client area fill just the monitor (without task bar) rect,
    // not the whole window rect which extends beyond the monitor.
    rect = monitor_info.rcWork;
}


"'Nonetype' object is not subscriptable" error on bulk translate

Tried to use bulk translate on a pdf file:
from pygoogletranslation import Translator

translator = Translator()

translation = translator.translate('日本語')
print(translation)
>>Translated(src=ja, dest=en, text=Japanese, pronunciation=, original_text=日本語 ,extra_data="{}...")
bulk = translator.bulktranslate('annotation_ID07.pdf', src='ja', dest='en')

got this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-6655f63a5be2> in <module>
----> 1 bulk = translator.bulktranslate('annotation_ID07.pdf', src='ja', dest='en')

~\AppData\Roaming\Python\Python37\site-packages\pygoogletranslation\translate.py in bulktranslate(self, file, src, dest)
    257         text = text.replace('"', '')
    258         text = text.replace("'", "")
--> 259         data = self._translate(text, src=src, dest=dest)
    260         return self.extract_translation(data, text)
    261

~\AppData\Roaming\Python\Python37\site-packages\pygoogletranslation\translate.py in _translate(self, text, src, dest)
    185                     raise Exception('Unexpected status code {} from {}'.format(response.status_code, self.transurl))
    186                     return False
--> 187             translated_list.append(utils.format_translation(trans_list))
    188         return translated_list
    189

~\AppData\Roaming\Python\Python37\site-packages\pygoogletranslation\utils.py in format_translation(translated)
     90     pron = ''
     91     for _translated in translated:
---> 92         text += _translated[0][2][1][0][0][5][0][0]
     93         try:
     94             pron += unidecode.unidecode(_translated[0][2][1][0][0][1])

TypeError: 'NoneType' object is not subscriptable

Hi kyle-sama,
Please share the pdf to<EMAIL_ADDRESS>I will help you on this issue bcz I have tested with some pdf files that is working file.
So I need a PFD file that you are trying to translate.
Thanks,
Saravananslb

Hi kyle-sama,
Please share the pdf to<EMAIL_ADDRESS>I will help you on this issue bcz I have tested with some pdf files that is working file.
So I need a PFD file that you are trying to translate.
Thanks,
Saravananslb

I'm sorry, it's sensitive data that I cannot share, but I'll see if I can try on something else

I'm sorry, it's sensitive data that I cannot share, but I'll see if I can try on something else

yeah other files don't throw the errors, but give various results...

yeah other files don't throw the errors, but give various results...

Try this version pip install pygoogletranslation==2.0.4.
I hope this will fix ur error.

Try this version pip install pygoogletranslation==2.0.4.
I hope this will fix ur error.

Random thought about the pdf file that wasn't working... what kind of pdf is it? What I mean by that is that if it's really a scanned pdf, then you're unlikely to have much luck with it without some fairly sophisticated ocr.


Make http error cache control behavior configurable.

What I am changing
While implementing edge caching for a titiler deployment we have a case where underlying source COGs are continually added in real time.  Currently a request that results in 404 No assets found for tile has the same Cache-Control header as a 200 response and is maintained by the edge cache for the same duration.  In our case we would prefer 404 responses to have a shorter duration in the edge cache so that requests are passed to the origin (where new assets may now be available).  This PR makes the upper range or http codes which include a Cache-Control header configurable so that edge caches can exert finer control on error response cache duration.
How I did it
Extended core/middleware to support a configurable upper bound for response codes which include a Cache-Control header rather than the hardcoded 500 value.
How you can test it
Via the project's tox testing entrypoint.

I may revisit this a bit later @vincentsarago I'm still not fully sure of the Cloudfront behavior between Cache-Control and Max TTL for error responses but this should help diagnose. 🙇


Bundle and optimize

Figure out how to make an optimized bundle for Aurelia code. Ideally should get all the vendor js into one file, and custom app code into another, all concatenated and minified. Such that running the app would only make two http requests to get the js.
Also ideally would have sourcemaps so the bundled code can still be debugged.

Checkout latest skeleton navigation. They've got bundling and export working very nicely.
The "easiest" way to incorporate this may be to re-seed canve-viz from the skeleton, then bring over the src and test dirs.


Developer Guide: suggest some micro enhancements to learn each component

The DG should suggest some small enhancements for each component so that new developers (especially CS2103 students) has a way to get started on learning the code of each component.

logic component

Add shorthand equivalent alias, which cannot be changed by the user (i.e. our official alias)

model component

Add a new removeTag(Tag tag) method. The specified tag will be removed from all persons, effectively removing it from the address book entirely too.

ui component

Use different colors for different tags.
Modify NewResultAvailableEvent such that ResultDisplay can show a different style on error (right now it shows the same regardless of error or not).

storage component

Maybe convert the format for UserPrefs from .json to .xml????

Looks good. Perhaps we can add these under a Getting Started in Writing Code section in the dev guide?


Refactor of cloud.gov Pages repos

In order to keep our repos current and consistent, complete a series of general refactoring tasks across the cloud.gov Pages repositories.
Acceptance Criteria
Note: The following list maybe broken down into separate issues in their respective repositories

[x] Update dependencies and remove deprecated libraries
[ ] Create consistency across certain code base portions (import vs require, multiple iterations of auth functions in core, njk vs jsx, etc)
[ ] Drop unused services, unused code, partially implemented experiments (or complete)
[x] Cut down on noisy warnings, deprecation warnings, build info/warnings
[ ] Update/audit repo README documentation

Some updates made here as part of 31.IP Sprint, removing iteration until better scoped

Closing for more specific issues.


Why dice scores mentioned in repository and paper are different?

Dice score is 0.918 in the paper and 0.8225/0.8186 in the repository. Why there is a huge gap in between?
Are they evaluated on validation set or test set? And what is overlap parameter of score of 0.918 in the paper?
Thank you.

Thanks for the interests on the work. The repository is build as a tutorial for multi-organ segmentation using public available data and easy-to-access GPU resources such as single GPU training. The paper performance is trained using Distributed training, tuned parameters, more than 20 models ensemble, and with collaborated additional data (80 in total for training and validation). These configurations are different from single GPU, single model, 30 public available BTCV data in the tutorial.
Thanks!


[FEAT]: Push event logging to asynchronous tasks

What would you like to see?
I had been going through the server side code and I found out that event logging functionalities in api can cause critical tasks like new admin creation to fail if they take a lot of time. Pushing those events to a message queue system can enable critical tasks to complete without any hinderance thus also enabling easy scaling .
I can help implement the system using BullMQ/ RabbitMQ/ Any other message brokers

The restriction here is that we cannot run any extra services that arent nodejs as we cannot port that to the desktop app.
Agreed that these tasks should not be blocking and be delegated to another service so that they are non-blocking.

We have to find alternatives as it might cause major issues while scaling. I will look for alternative solutions if any.

I would suspect the bottleneck at any nominal scale would not be a DB call to a local DB file. It would likely be the LLM running inferencing. We have instances that have 100+ concurrent users with no hiccups and their slowest (or most costly) bottleneck is having an LLM provider that can manage that much throughput from users.
I still agree is should be moved to another process, but I really dont think this would be the bottleneck to optimize on


Add blog post about May 26th plugin update

This PR adds a blog post about this week's mattermost-plugin-ai update summarized here:  https://community.mattermost.com/core/pl/ih9qbrx6ipfj9r6pcgbmdmna4w

@asaadmahmood Can you merge when you have a chance?

@jasonblais @azigler We need to run hugo -d docs before pushing any changes.

@jasonblais @azigler We need to run hugo -d docs before pushing any changes.

Gotcha. I went ahead and did that now. @jasonblais should we consider setting up some automations for this process?

I have pushed this separately to avoid the conflicts.

@asaadmahmood Looks good but seems like the Markdown for inline code is not being rendered in the title:
https://ai.mattermost.com/posts/2023-05-30-plugin-update/
The title here (and on the homepage) is "May 26th update to `mattermost-plugin-ai`"

@asaadmahmood Gotcha. If so, can you remove them from that title when you get a chance?

@azigler Done.


Enable I2C

Update the yocto conf file in order to start with I2C enabled
DoD: able to verify I2C is enabled
Blockers: None

I currently have i2c enabled and can verify it via two commands below. I kept using the wrong version of i2c tools detect command so the packaged may have been properly installed longer than I thought.

commit: https://github.com/cu-ecen-aeld/final-project-kpakert/commit/0b5fbdd2fe3d134b0e8c494c327676e0130a393a


Fix colour editor for use in browsers that don't use -webkit- prefix

With the fork of Brackets I'm working with right now, located here, we're running Brackets in the browser. Brackets is set up with the -webkit- prefix. It would help our use case to allow for other browser prefixes. @le717 has been involved with the discussion in our issue here.

Some additional context: this bug is about fixing issues specific to the inline color editor, not fixing all -webkit-* issues in general.

This PR will fix this issue.

Revamped and fixed finally in #12861


eas credentials logging into apple leads to Error: unable to get local issuer certificate

Build/Submit details page URL
No response
Summary
When I run eas credentials, refuse to log in, then for iOS I choose Generate a new Apple Distribution Certificate?, then I successfully log in to apple account, but I immediately get: "Authentication with Apple Developer Portal failed!
Error: unable to get local issuer certificate"
I had an expired certificate that I've removed. When I run "Distribution Certificate: Delete one from your account" I get
"There are no Distribution Certificates available in your EAS account."
Thanks.
Managed or bare?
Managed
Environment
expo-env-info 1.2.0 environment info:
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
npm: 10.8.2 - ~\triviaLink\node_modules.bin\npm.CMD
IDEs:
Android Studio: AI-222.4459.24.2221.9862592
npmPackages:
@expo/metro-config: ^0.18.4 => 0.18.8
expo: ^51.0.20 => 51.0.20
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.3 => 0.74.3
react-native-web: ~0.19.10 => 0.19.12
Expo Workflow: managed
Expo doctor output:
✔ Check Expo config for common issues

✔ Check package.json for common issues
✔ Check native tooling versions
✖ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check for issues with metro config
✖ Check Expo config (app.json/ app.config.js) schema
Unexpected error while running 'Check Expo config (app.json/ app.config.js) schema' check:
TypeError: fetch failed
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✖ Check that native modules use compatible support package versions for installed Expo SDK
✖ Check that packages match versions required by installed Expo SDK
Detailed check results:
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>(for more info, run: npm why @expo/config-plugins)
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>(for more info, run: npm why @expo/prebuild-config)
Advice: Upgrade dependencies that are using the invalid package versions.
The package "npm" should not be installed directly in your project. It may conflict with the globally-installed version.
The package "expo-app-loading" has been removed as of SDK 49. You should use expo-splash-screen instead. Learn more: https://docs.expo.dev/versions/latest/sdk/splash-screen/
The following packages should be updated for best compatibility with the installed expo version:
<EMAIL_ADDRESS>- expected version: ~51.0.22
<EMAIL_ADDRESS>- expected version: ~12.0.9
<EMAIL_ADDRESS>- expected version: ~0.28.12
<EMAIL_ADDRESS>- expected version: ~0.25.21
<EMAIL_ADDRESS>- expected version: 4.10.5
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Run eas credentials, try to generate a new apple distribution certificate.

Hi @dodyeid,
I believe that unable to get local issuer certificate is an SSL error and not an error from Apple's API, so I think that it has nothing to do with distribution certificates 🤔.
Can you run the command with EXPO_DEBUG=1 and DEBUG=* env variables set to get more logs?

Hi and thanks for your help @szdziedzic ! I ran set EXPO_DEBUG=1 , followed by  set DEBUG=*, and then ran eas credentials again followed by logging in only to get the same error message (nothing new or added popped up). I am a "noob" so perhaps I am not properly setting the env variables.
One thing to note that might help you/us - when I copied my project repo on another computer, installed node, expo, and eas, and then ran eas credentials there, it worked perfectly fine! So I think something is occurring with my particular system / system metadata.
Thanks again for your help.


Add the strict flag to the test http stubber

When porting this test over to the HTTP stubber I made an incorrect assumption.
The test previously would stub out the first request with an exception and then all subsequent requests would behave as normal. The way it's currently implemented the HTTP stubber will only allow two requests to be made, meaning if the second request fails for legitimate reasons the third retry attempt fails when it hits the stubber. Rather than throw a bunch of Nones into the responses I've added a strict flag to the stubber which will allow only stubbing a subset of the requests to be made as is required by this test.
Alternatively, I could implement a special handler for this test case specifically and not use the HTTP stubber.

Codecov Report

Merging #1579 into develop will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1579      +/-   ##
===========================================
- Coverage       92%   91.97%   -0.04%
===========================================
  Files           50       50
  Lines         9107     9107
===========================================
- Hits          8379     8376       -3
- Misses         728      731       +3

Impacted Files
Coverage Δ

botocore/credentials.py
98.4% <0%> (-0.4%)
:arrow_down:

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 154d414...fbfc563. Read the comment docs.


GSimpleActionGroup with actions is not dropped when it should be

Bug description
I noticed in Fractal, thanks to the GTK Inspector's Global > Statistics screen that GSimpleActionGroups still exist after they are dropped in our user code.
I created this minimal reproducer with the gtk-rust-template: https://gitlab.gnome.org/kcommaille/sag_refs.
It appears the action group is dropped if it has no action entries, but it is not dropped if it has at least one action entry.
This is not reproducible with C code (e.g. in GTK Demo  that works fine).

Woops that's actually an issue in gtk-rs-core

This is fixed by https://github.com/gtk-rs/gtk-rs-core/pull/1208


Support LangChain 0.3.0

Update pydantic related logic to be compatible with LangChain 0.3.0.
Testing
Validated on notebook with different env settings:
langchain                          0.3.0
langchain-core                     0.3.1
pydantic                           2.8.2
pydantic_core                      2.20.1

langchain                          0.2.16
langchain-core                     0.2.40
pydantic                           2.8.2
pydantic_core                      2.20.1

langchain                          0.2.16
langchain-core                     0.2.40
pydantic                           1.10.18
pydantic_core                      0.42.0

@efriis Let me tagging you for double-checking if there is anything missing for supporting LangChain 0.3.0. Thanks!


I get tymon.jwt does not exist

Hello I get error on Laravel 5.2
ReflectionException in Container.php line 738:
Class tymon.jwt does not exist
I install and configure first tymon/jwt-auth

I fixed this error in this pull request, #16 :smile:

I also have this error

I think it's caused by a recent jwt-auth update

@angelmartz @antonioreyna What version of tymon/jwt-auth are you using?

Please note, You need to pull the very latest dev version or 0.6.*

hello, i got this problem again.

there is no 0.6.* on jwt-auth

You need to upgrade to 1.x.


input field (tagging, select multiple) doesn't allow more than 2 or 3 characters in IE

Input field seems to be broken in IE when tagging/select multiple is enabled.
After typing 2 or 3 characters, the input field doesn't allow anymore characters in IE. It also happens in the demo page.
https://select2.github.io/examples.html#tags
I tested in IE11, Windows 8.1
Libraries I use

jQuery version: 1.7.2
Select2 version: 4.0.3

Duplicate of https://github.com/select2/select2/issues/4398.


AD authentication login is not working after patching the server from SLES12 SP1 to SP2

Version: <IP_ADDRESS>
OS/Distro: SUSE Linux Enterprise Server for SAP Applications 12 SP2
Issue/Impact: AD authentication login is not working after patching the server from SLES12 SP1 to SP2
Note: replace co
lsass.log
ntent with your own
When reporting an issue it's important that we have as much detail as you can provide. The following is a list of commands to check.

systemctl status lwsmd.service
=> iutdevsap132:~ # systemctl status lwsmd.service
● lwsmd.service - BeyondTrust PBIS Service Manager
Loaded: loaded (/usr/lib/systemd/system/lwsmd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-06-03 17:36:30 AEST; 18h ago
Process: 14499 ExecStop=/opt/pbis/bin/lwsm shutdown (code=dumped, signal=SEGV)
Process: 14914 ExecStart=/opt/pbis/sbin/lwsmd --start-as-daemon (code=exited, status=0/SUCCESS)
Main PID: 14919 (lwsmd)
Tasks: 481 (limit: 512)
CGroup: /system.slice/lwsmd.service
├─14919 /opt/pbis/sbin/lwsmd --start-as-daemon
├─14987 lw-container lwreg
├─15059 lw-container eventlog
├─15129 lw-container netlogon
├─15198 lw-container lwio
├─15269 lw-container lsass
└─15354 lw-container reapsysl

Jun 03 17:36:30 iutdevsap132 /opt/pbis/sbin/lwsmd[14919]: Logging started
Jun 03 17:36:30 iutdevsap132 lwreg[14987]: Logging started
Jun 03 17:36:30 iutdevsap132 eventlog[15059]: Logging started
Jun 03 17:36:30 iutdevsap132 netlogon[15129]: Logging started
Jun 03 17:36:30 iutdevsap132 lwio[15198]: Logging started
Jun 03 17:36:30 iutdevsap132 lsass[15269]: Logging started
Jun 03 17:36:30 iutdevsap132 reapsysl[15354]: Logging started
Jun 03 17:36:30 iutdevsap132 systemd[1]: Started BeyondTrust PBIS Service Manager.
Jun 03 17:36:38 iutdevsap132 lsass[15269]: [lsass] Ignoring failure enumerating trusts for forest ebiz.qr.com.au. Error was -1<PHONE_NUMBER>)
Jun 03 17:36:38 iutdevsap132 lsass[15269]: [lsass] Ignoring failure enumerating trusts for forest ebizuat.qr.com.au. Error was -1<PHONE_NUMBER>)
iutdevsap132:~ #
2. /opt/pbis/bin/lwsm list
=> iutdevsap132:~ # /opt/pbis/bin/lwsm list
lwreg          running (container: 14987)
dcerpc         stopped
eventlog       running (container: 15059)
lsass          running (container: 15269)
lwio           running (container: 15198)
netlogon       running (container: 15129)
rdr            running (io: 15198)
reapsysl       running (container: 15354)
usermonitor    stopped
iutdevsap132:~ #

/opt/pbis/domainjoin-cli query
=> iutdevsap132:~ # /opt/pbis/bin/domainjoin-cli query
Name = iutdevsap132
Domain = INTERNAL.QR.COM.AU
Distinguished Name = CN=IUTDEVSAP132,OU=SAP HANA,OU=Applications,OU=DEV,OU=SLES,OU=Domain Corp Servers Linux,DC=internal,DC=qr,DC=com,DC=au
iutdevsap132:~ #

pbis status
=> iutdevsap132:~ # pbis status
LSA Server Status:

Compiled daemon version: <IP_ADDRESS>
Packaged product version: <IP_ADDRESS>64
Uptime:        0 days 18 hours 35 minutes 19 seconds
[Authentication provider: lsa-activedirectory-provider]
    Status:        Unknown
    Mode:          Unknown

iutdevsap132:~ #

/opt/pbis/bin/enum-users
=> iutdevsap132:~ # /opt/pbis/bin/enum-users
TotalNumUsersFound: 0

attach logs

/opt/pbis/bin/lwsm set-log-target -p lsass -  file /tmp/lsass.log
/opt/pbis/bin/lwsm set-log-level -p lsass - debug
attach log

Output/Error: error in /var/log/messages
2019-06-03T19:00:06.285340+10:00 iutdevsap132 dbus[2140]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.299" (uid=1006 pid=42893 comm="-pam ") interface="org.freedesktop.login1.Manager" member="CreateSession" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=2211 comm="/usr/lib/systemd/systemd-logind ")
Steps to Reproduce:

install command
Domainjoin command
Command that returns issue => PBIS status is showing "Unknown" instead of listing the domains. currently we are unable to login to the server using AD login id and password.

iutdevsap132:/opt/pbis/bin # /opt/pbis/bin/lwsm restart lsass
Stopping service: lsass
Starting service: lsass
Error: LW_ERROR_SERVICE_UNRESPONSIVE (41203)
The service is not responding to requests
iutdevsap132:/opt/pbis/bin #

After refreshing lsass service login issue was resolved, however after reboot same issue is reoccurring.
iutdevsap132:/opt/pbis/bin # /opt/pbis/bin/lwsm restart lsass
Stopping service: lsass
Starting service: lsass
Error: LW_ERROR_SERVICE_UNRESPONSIVE (41203)
The service is not responding to requests
iutdevsap132:/opt/pbis/bin # /opt/pbis/bin/lwsm refresh lsass
Refreshing service: lsass
iutdevsap132:/opt/pbis/bin # /opt/pbis/bin/lwsm restart lsass
Stopping service: lsass
Starting service: lsass
iutdevsap132:/opt/pbis/bin #

Can you rejoin the domain? System file updates might have overwritten our changes.
We recommend a leave/uninstall/reinstall/join when upgrading the OS. See the Installation Guide section on "Upgrade An Operating System"

Hi Robert,
Please let me know the complete command syntax to rejoin the domain.

Hi Robert,
I went through the Installation Guide, however as I haven't done the rejoin before, please let me know the complete steps for leave/uninstall/reinstall/join when upgrading the OS. The Installation Guide is helpful but I am unable to completely understand some of the steps. Moreover please confirm which version of PBIS needs to be installed in SLES12 SP2 OS version. Current PBIS version is pbis-open-8.5.1-206.x86_64.
can I download the newer version from - https://github.com/BeyondTrust/pbis-open/releases ?
Regards,
Koyel Paul

For SLES12 SP2 go with 8.8.0(we are working on an issue with 9.0.1)

/opt/pbis/bin/domainjoin-cli leave
/opt/pbis/bin/uninstall.sh uninstall
{update OS}
{install PBIS}
/opt/pbis/bin/domainjoin-cli join {previous join options}

Hi Robert,
Thank you for sharing the details.
we added an entry in /etc/after.local to refresh and restart 'lsass' after each reboot and tested that AD login is automatically working within 1-2 minutes of server reboot.
Please let us know if we can keep the same PBIS version running currently (pbis-open-8.5.1-206.x86_64).
Regards,
Koyel Paul

If it's working for you. I would recommend 8.8.0 as it did address an issue with lwsmd on startup.

Hi,
Please let me know the format to add --OU while joining the server back to the domain. we have multiple OU and this is the first time I am going to implement this change. Also, will there be any additional steps required at Winapp side, or Linux commands should be sufficient to join the server back to the domain after the installation of pbis 8.8.0 version?

The internal help for domainjoin-cli  (run 'domainjoin-cli --help') provides two examples of specifying OU's.  This is also mentioned in the Linux Admin Guide, and in the domainjoin-cli man page.  There should be no additional steps required on the windows side.

Examples have been updated in the product and in the Documentation.


Tone Master multi send

Is there a way to send Tone.Master from current page to another context -> for example page2.html ?
Best, Luis

Check out: https://react raining.com/react-router/
If you are unfamiliar with React, look through their docs to get a sense
for how the framework abstracts HTML and DOM interaction.
If you're interested in sharing data between tabs  / windows, there's the
new BroadcastChannel API (MDN docs: https://mzl.la/2A2NOYe). You could
theoretically broadcast a buffer array or an object reference, but
AudioContexts are still intentionally isolated.
On Sun, Dec 16, 2018, 10:28 AM luisArandas<EMAIL_ADDRESS>wrote:

Is there any link you might find useful?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Tonejs/Tone.js/issues/412#issuecomment-447656475, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC7ifxYR-udQZZkBlVVj9vBCSFESzL5mks5u5nS5gaJpZM4ZVUDA
.

Thank you very much.
Best, Luis

Suggest the create-react-app npm package.
$ npm install -g create-react-app
$ create-react-app my-app

On Sun, Dec 16, 2018, 10:42 AM luisArandas<EMAIL_ADDRESS>wrote:

Thank you very much.
Best, Luis
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Tonejs/Tone.js/issues/412#issuecomment-447657514, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC7ifyGMfP09cyR__dWz_5lZNeQpT42fks5u5ngQgaJpZM4ZVUDA
.

as @spencerudnick mentioned, the AudioContext is window specific and there is no built-in Web Audio way pass audio from one page to another. Might be something you can do with WebRTC?


Datepicker button/docs

Suggestion / feature request
TODOs:

[ ] Document various buttons used to access the date picker (styleguide)
[ ] Implement dedicated date button

Hello, I see this has been moved from 1.5.0 to 1.6.0 and then to 1.7.0. Is there any chance this is actually going to be released in 1.7.0? We need the datepicker button in on of our projects and if the release of that is still undetermined I need to figure out an alternative.

@danielleroux any updates on this?

Its on the track but we dont have a exact release date.

#737

Date Input will be delivered in #1318


feat: display unpushed commits with detailed status and format

feat: display unpushed commits with detailed status and format
Description
The daytona info command now displays the number of unpushed commits for each project, with detailed commit information including hash, author, message, date, and branch. Access this additional data in JSON or YAML format using daytona info -f json or daytona info -f yaml.

[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation

Related Issue(s)
/claim #532
Closes #532
Screenshots

Notes
 state:
    gitstatus:
      currentbranch: main
      filestatus:
      - extra: ""
        name: file3.md
        staging: Unmodified
        worktree: Modified
      unpushedcommits:
      - author: Your Name
        branch: main
        date: "2024-09-14 03:58:34"
        hash: f56b074f506f320d9555962d86eca047ba4233f7
        message: |-
          commit3 signedoff

          Signed-off-by: Your Name<EMAIL_ADDRESS>      - author: Your Name
        branch: main
        date: "2024-09-14 03:57:46"
        hash: 8c6a1a9a6fb153eba08c15ae07a956b65b4e3b9c
        message: commit2
      - author: Your Name
        branch: main
        date: "2024-09-14 03:55:41"
        hash: 18790f91d75edbaa0e2466ae7d72e53af7713256
        message: commit1

I'm adjusting logDepth based on shallow clone status, repo size, and commit frequency. Example:
isShallow, err := s.IsShallowClone()
repoSize, err := s.GetRepositorySize()
commitFrequency, err := s.GetCommitFrequency()

var logDepth int
switch {
case isShallow:
	logDepth = 10
case repoSize > 500*1024*1024:
	logDepth = 50
case commitFrequency > 50:
	logDepth = 75
case repoSize > 100*1024*1024:
	logDepth = 100
default:
	logDepth = 150
}

if s.Config.LogDepth > 0 {
	logDepth = s.Config.LogDepth
}

Thoughts? @Tpuljak what other things we can consider. as this will reduce the workload for the getting the unpushed commits

I'm adjusting logDepth based on shallow clone status, repo size, and commit frequency. Example:
isShallow, err := s.IsShallowClone()
repoSize, err := s.GetRepositorySize()
commitFrequency, err := s.GetCommitFrequency()

var logDepth int
switch {
case isShallow:
	logDepth = 10
case repoSize > 500*1024*1024:
	logDepth = 50
case commitFrequency > 50:
	logDepth = 75
case repoSize > 100*1024*1024:
	logDepth = 100
default:
	logDepth = 150
}

if s.Config.LogDepth > 0 {
	logDepth = s.Config.LogDepth
}

Thoughts? @Tpuljak what other things we can consider. as this will reduce the workload for the getting the unpushed commits

@bryans-go I like where this is going. Maybe there are optimized solutions for this out there. Could you try to find examples just so we have some confirmation?

@Tpuljak,
Thanks again for the suggestions. Based on your request for optimization examples, I looked into tools like git-sizer, which helps Git users identify performance bottlenecks related to the size and structure of their repositories.
can you help me with its execution

@Tpuljak,
Thanks again for the suggestions. Based on your request for optimization examples, I looked into tools like git-sizer, which helps Git users identify performance bottlenecks related to the size and structure of their repositories. can you help me with its execution

Looking around, the lib that we use does not seem to support doing this efficiently though it might be worth to explore this https://github.com/go-git/go-git/issues/340. It might just be easier to exec git and parse the output of the command and pass that to our API. Also, we're not interested so much in the exact details of the commits, we're only interested in the number of commits that are different.

@Tpuljak as i said earlier can you help me with the execution of the git command (git rev-list --left-right --count main...other or any other git command that does the same thing). but I'm unsure where to write code for it. btw should i revert back and focus on the execution of git command and parsing it output to the daytona info comand through api

@Tpuljak as i said earlier can you help me with the execution of the git command (git rev-list --left-right --count main...other or any other git command that does the same thing). but I'm unsure where to write code for it. btw should i revert back and focus on the execution of git command and parsing it output to the daytona info comand through api

Left you a review with the required changes.

@Tpuljak  my question is that how we will use that execute function because I am having a hard time getting which file to edit for it . can you please give a hint or something. also i have done the initial changes asked by you but the project state is not getting updated.

@Tpuljak my question is that how we will use that execute function because I am having a hard time getting which file to edit for it . can you please give a hint or something. also i have done the initial changes asked by you but the project state is not getting updated.

@bryans-go from what I can see here (https://github.com/bryans-go/daytona/blob/feat/UnpushedCommit/pkg/git/service.go#L253) you're on the right track. If the project state is not updated, you'll need to debug a bit for yourself.
Are you maybe using windows to develop or are you using daytona/devcontainers?

@Tpuljak I'm using linux(pop os) . I tried using dev-containers but that was not my stage at all and here is the sreenshot for reference

Done new changes @Tpuljak

@Tpuljak just did the requested changes

@Tpuljak

added check for upstream(tracking branch) not set . because this happens when users do not set upstream branch after creating a new branch

@Tpuljak  added check for upstream(tracking branch) not set . because this happens when users do not set upstream branch after creating a new branch it should git push -u origin branch-name to set upstream

@bryans-go branch not published was enough to cover that. Please revert the last commit and check https://github.com/daytonaio/daytona/pull/1103#discussion_r1768806131

@Tpuljak sorry for the late response . I had done all the requested changes .


corda:4.4-linuxkit dockerhub image using corda 4.7

Describe the bug
It looks like a corda 4.7 docker image was recently added to docker hub but it looks like in the process the corda:4.4-linuxkit image was also updated to corda 4.7
This means that the notary fails to start as configuration requirements changed between 4.4 and 4.7.
You can clearly see the 4.4-linuxkit tag is built using 4.7 here: https://hub.docker.com/layers/hyperledgerlabs/corda/4.4-linuxkit/images/sha256-1d6008e3c43c5b2dab43d546ac6450b9f8097603b3be2685fa535ce8fcd0c5b3?context=explore
To Reproduce
Steps to reproduce the behavior:

Pull the docker tag corda:4.4-linuxkit from dockerhub

Expected behavior
Docker image should be built with Corda 4.4
Screenshots

The Image has been rebuilt and uploaded on dockerhub


Fix postgres sources w/o backfill

#12  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @thisisgoldman and the rest of your teammates on  Graphite


devicelab mac-7 failing test due to insufficient system resources

The test is ios_app_with_extensions_test
════════════════════╡ ••• Run app on simulator device ••• ╞═════════════════════

2020-08-17T17:33:15.040519:
Executing: xcrun simctl bootstatus C9F9B041-95EB-4E12-8DD4-1FCD130CADCE -b in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:15.282982: stdout: Monitoring boot status for TestFlutteriPhoneWithWatch (C9F9B041-95EB-4E12-8DD4-1FCD130CADCE).
stdout: Booting device...
stdout: [2020-08-18 00:33:15 +0000] Status=0, isTerminal=NO, Elapsed=00:00.
stdout: 	Booting
stdout:
2020-08-17T17:33:16.937137: stdout: [2020-08-18 00:33:16 +0000] Status=2, isTerminal=NO, Elapsed=00:01.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Gathering plugins
stdout: 		Migration Elapsed:00:00 seconds
stdout:
2020-08-17T17:33:16.944403: stdout: [2020-08-18 00:33:16 +0000] Status=2, isTerminal=NO, Elapsed=00:01.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Gathering plugins
stdout: 		Migration Elapsed:00:00 seconds
stdout:
2020-08-17T17:33:17.358995: stdout: [2020-08-18 00:33:17 +0000] Status=2, isTerminal=NO, Elapsed=00:02.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:01 seconds
stdout:
2020-08-17T17:33:18.361668: stdout: [2020-08-18 00:33:18 +0000] Status=2, isTerminal=NO, Elapsed=00:03.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:02 seconds
2020-08-17T17:33:18.361768: stdout:
2020-08-17T17:33:19.366644: stdout: [2020-08-18 00:33:19 +0000] Status=2, isTerminal=NO, Elapsed=00:04.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:03 seconds
stdout:
2020-08-17T17:33:20.363650: stdout: [2020-08-18 00:33:20 +0000] Status=2, isTerminal=NO, Elapsed=00:05.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:04 seconds
stdout:
2020-08-17T17:33:21.367356: stdout: [2020-08-18 00:33:21 +0000] Status=2, isTerminal=NO, Elapsed=00:06.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:05 seconds
stdout:
2020-08-17T17:33:22.359968: stdout: [2020-08-18 00:33:22 +0000] Status=2, isTerminal=NO, Elapsed=00:07.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:06 seconds
stdout:
2020-08-17T17:33:23.361898: stdout: [2020-08-18 00:33:23 +0000] Status=2, isTerminal=NO, Elapsed=00:08.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:07 seconds
stdout:
2020-08-17T17:33:24.359606: stdout: [2020-08-18 00:33:24 +0000] Status=2, isTerminal=NO, Elapsed=00:09.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:08 seconds
stdout:
2020-08-17T17:33:25.367843: stdout: [2020-08-18 00:33:25 +0000] Status=2, isTerminal=NO, Elapsed=00:10.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.-0LaunchServicesMigrator (00LaunchServicesMigrator.migrator, user-agnostic)
stdout: 		Migration Elapsed:00:09 seconds
stdout:
2020-08-17T17:33:26.368157: stdout: [2020-08-18 00:33:26 +0000] Status=2, isTerminal=NO, Elapsed=00:11.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.addressbook.migrator (AddressBookLegacy.migrator)
stdout: 		Migration Elapsed:00:10 seconds
stdout:
2020-08-17T17:33:27.362522: stdout: [2020-08-18 00:33:27 +0000] Status=2, isTerminal=NO, Elapsed=00:12.
stdout: 	Waiting on Data Migration
stdout: 		Reason:Running plugin com.apple.certui.migrator (CertUI.migrator)
stdout: 		Migration Elapsed:00:11 seconds
stdout:
2020-08-17T17:33:28.361344: stdout: [2020-08-18 00:33:28 +0000] Status=2, isTerminal=NO, Elapsed=00:13.
2020-08-17T17:33:28.361654: stdout: 	Waiting on Data Migration
stdout: 		Reason:Finished plugin com.apple.managedconfiguration.cleanup.migrator (MCCleanup.migrator)
stdout: 		Migration Elapsed:00:12 seconds
stdout:
2020-08-17T17:33:29.858235: stdout: [2020-08-18 00:33:29 +0000] Status=1, isTerminal=NO, Elapsed=00:14.
stdout: 	Waiting on BackBoard
stdout:
2020-08-17T17:33:32.368054: stdout: [2020-08-18 00:33:32 +0000] Status=4, isTerminal=NO, Elapsed=00:17.
stdout: 	Waiting on System App
stdout:
2020-08-17T17:33:33.372926: stdout: [2020-08-18 00:33:33 +0000] Status=4294967295, isTerminal=YES, Elapsed=00:18.
stdout: 	Finished
stdout:
2020-08-17T17:33:33.386123: "xcrun" exit code: 0
2020-08-17T17:33:33.386315:
Executing: xcrun simctl bootstatus 3F85330C-10B9-4EAE-B353-18B911169070 -b in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:33.557527: stderr: Device boot failed
2020-08-17T17:33:33.557721: stderr: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=67):
stderr: Unable to boot device due to insufficient system resources.
stderr: Please see Simulator Help for information on adjusting system settings to allow more simulated devices to boot at once.
2020-08-17T17:33:33.557789: stderr:
stderr: maxUserProcs: 709, runningUserProcs: 629, enforcedProcBuffer: 144
stderr: Please see Simulator Help for information on adjusting system settings to allow more simulated devices to boot at once.
stderr:
stderr: maxUserProcs: 709, runningUserProcs: 629, enforcedProcBuffer: 144
2020-08-17T17:33:33.557846: stdout: Monitoring boot status for TestFlutterWatch (3F85330C-10B9-4EAE-B353-18B911169070).
2020-08-17T17:33:33.557893: stdout: Booting device...
2020-08-17T17:33:33.559036: "xcrun" exit code: 67
2020-08-17T17:33:33.694675:
Executing: xcrun simctl shutdown 3F85330C-10B9-4EAE-B353-18B911169070 in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:33.796571: stderr: An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=165):
stderr: Unable to shutdown device in current state: Shutdown
2020-08-17T17:33:33.797429: "xcrun" exit code: 165
2020-08-17T17:33:33.797660:
Executing: xcrun simctl delete 3F85330C-10B9-4EAE-B353-18B911169070 in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:33.893280: "xcrun" exit code: 0
2020-08-17T17:33:33.893573:
Executing: xcrun simctl shutdown C9F9B041-95EB-4E12-8DD4-1FCD130CADCE in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:40.140114: "xcrun" exit code: 0
2020-08-17T17:33:40.140405:
Executing: xcrun simctl delete C9F9B041-95EB-4E12-8DD4-1FCD130CADCE in /Users/flutter/.cocoon/flutter
2020-08-17T17:33:40.214725: "xcrun" exit code: 0
2020-08-17T17:33:40.214966:

═══════════╡ ••• Checking running Dart processes after task... ••• ╞════════════

2020-08-17T17:33:40.259025: Cleaning up after task...
2020-08-17T17:33:40.368664: Task execution finished

Task failed with the following reason:
Executable "xcrun" failed with exit code 67.

Per SO, rebooted mac-7 and making a test run.

Test run succeed, recovered the bot.


Running in Docker creates root-owned files

This is the same issue that always comes up when you use docker. Since the docker daemon runs as root, all the files that it mounts are root-owned. This means that you have to run chown on them all the time.
It would be nice if kerblam could avoid this:

If we ask every time for your sudo password, we could chown the files ourselves, although it's dangerous if you chown random stuff (security risk)? It would be better to track which files are made and chown those alone, but it's a lot of work.
If we manage to run the docker container as a user (e.g. see here and here) we could ignore all of this, but it never worked in the past for me.

This can be avoided by switching to the podman executable instead of docker.
I still have to test out podman, however, but my initial experience is very good.
I'll tag this as RFC.

Just to make the link, the "switch to podman" issue is #37

With #37 being resolved, this is no longer relevant. Making root-owned files is just a side-effect of using docker. With https://github.com/MrHedmad/kerblam/pull/57 you can swap to Podman and not have this problem anymore.


Fix flakiness of testRemoteCleanupDeleteStale, bug fix in RemoteMetadataManifest and RemoteReadResult

Description
We see that Cleanup interval setting set before the might not be applied before the interval for assert is over.
Added a check to ensure that setting is updated before checking if files are deleted.
Further, addressing some bugs found after merging #14089

Addressing a bug in getManifestCodecVersion where if path for files have Delimiter __ we are throwing an error.
Changed that expected object in RemoteReadResult to move away from XContent, as this was decided in #13576 but not updated in #14006

Ran the test 1000 times to ensure that flakiness is not there now.
Related Issues
Resolves #14205
Resolves #13968
Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for https://github.com/opensearch-project/OpenSearch/commit/60f7a88210e4bc9fe07f8695a5d5e7b1fd96d1c7: FAILURE

org.opensearch.index.remote.RemoteSegmentTransferTrackerTests.testComputeTimeLagOnUpdate - #12639

@shiv0408 please update the PR title, it is not just test flakiness

❌ Gradle check result for 87b05a7: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@shiv0408 Looks like the "org.opensearch.remotemigration.RemoteStoreMigrationTestCase.testEndToEndRemoteMigration" failure might be a new one. I don't see an open issue for it.

Hey @andrross and @shiv0408  the automation created an issue for RemoteStoreMigrationTestCase and linked this PR as well, please check.

Hey @andrross and @shiv0408 the automation created an issue for RemoteStoreMigrationTestCase and linked this PR as well, please check.

Thanks @prudhvigodithi. Looks like the testEndToEndRemoteMigration failure is not a new one for this PR.

From this AUTOCUT issue https://github.com/opensearch-project/OpenSearch/issues/14315#issue-2352106645 I can see the testEndToEndRemoteMigration has failed on some other PR's and post merge actions.

❌ Gradle check result for https://github.com/opensearch-project/OpenSearch/commit/af9c6be1e1c8fa3c11d74c91d92fad679baabb3f: FAILURE

org.opensearch.cache.common.tier.TieredSpilloverCacheStatsIT.testIndicesAndTierLevelAggregation - #14281

❌ Gradle check result for af9c6be: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock
org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex

org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock - #10006
org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex - #11547


problems while running with deamon

env:
centos7 + php7.1.4

There are two master processes .
Master process does not exit when stop.

Please use english, that can help all people to understand each other. Thanks. : -)
Or you can send your question to http://wenda.workerman.net which is for chinese.
Anyway, please describe the problem in detail or someone else can't help you

There are two master processes .

How do you judge there are two master processes?

Master process does not exit when stop.

How do you judge master process does not exit?
Can you describe the problem in  more detail like this？

Show the codes start.php.
2.What operations have been done? Please paste screenshot.
3.How do you judge problem occurred? Please paste screenshot.

Another important point is that...
Have you modified the workerman source code?

This is my start.php file:
`<?php
use Workerman\Worker;
/**

run with command
php start.php start
*/

ini_set('display_errors', 'on');
// 检查扩展
if(!extension_loaded('pcntl'))
{
exit("Please install pcntl extension. See http://doc3.workerman.net/install/install.html\n");
}
if(!extension_loaded('posix'))
{
exit("Please install posix extension. See http://doc3.workerman.net/install/install.html\n");
}
// 标记是全局启动
define('GLOBAL_START', 1);
require_once dirname(DIR) . '/vendor/autoload.php';
// 加载所有Applications//start.php，以便启动所有服务
foreach(glob(dirname(DIR).'/Applications/Statistics/start.php') as $start_file)
{
require_once $start_file;
}
// 运行所有服务
Worker::runAll();
`
And i haven't changed any workerman code.
Now I can see the processes :
`
4539 ?        Ss     0:00 WorkerMan: master process  start_file=/mnt/php/test/shell/start.php
4540 ?        S      0:00  _ WorkerMan: master process  start_file=/mnt/php/test/shell/start.php
4541 ?        S      0:00      _ WorkerMan: worker process  StatisticProvider text://<IP_ADDRESS>:55858
4542 ?        S      0:00      _ WorkerMan: worker process  StatisticWorker statistic://<IP_ADDRESS>:55656
4543 ?        S      0:00      _ WorkerMan: worker process  StatisticWeb http://<IP_ADDRESS>:55757
4544 ?        S      0:00      _ WorkerMan: worker process  StatisticFinder text://<IP_ADDRESS>:55858
`
The master process remains after I stoped :
`
4539 ?        Ss     0:00 WorkerMan: master process  start_file=/mnt/php/test/shell/start.php
4540 ?        S      0:00  _ WorkerMan: master process  start_file=/mnt/php/test/shell/start.php
`

Please try another php version.

Use ps auxf | grep Workerman in linux, or use ps auxd | grep Workerman in FreeBSD to show your process tree.


DistillerSR: missing information

There are a couple of features/properties about DistillerSR that I was unable to find in literature and/or documentation:

[ ] It is possible to export inclusions or exclusions as separate files, but is it also possible to export a single file with labeling decisions? If yes, is it possible to re-import those back into DistillerSR, retaining the labeling decisions?
[x] Concerning minimum training data: there is also a button in DistillerSR to Re-Rank References Now. But it is not clear if this can be used before 25 or 2% of the training data has been screened. The button is documented here.
[ ] Which feature extraction method is used for the re-ranking?
[x] Which classifier is used for the re-ranking?
[ ] Which balancing strategies are available?
[ ] Which query strategies are available?

Task 2: The Re-Rank Continuous AI Reprioritization can be enabled in the settings. The re-ranking is then triggered every 25 references (http://v2dis-help.evidencepartners.com/1/en/topic/using-re-rank-in-your-project?q=Re-Rank). Thus, it should not be possible to re-rank before the first set of 25 records has been screened.
Task 4: “DistillerAI uses a SVM (support vector machine) non-probabilistic binary linear classifier to make its predictions. This is a natural language processing classifier.“ (http://v2dis-help.evidencepartners.com/1/en/topic/ai-preview-and-rank?q=SVM)
Task 5: One element of the Classifier Statistics Screen is a Balanced Accuracy Score, that is more indicative for the performance of a classifier, if classes are highly imbalanced (http://v2dis-help.evidencepartners.com/1/en/topic/validating-classifiers?q=balanced)
Task 6 (I hope that this is meant by query strategies): An overview of the possible strategies can be found here: http://v2dis-help.evidencepartners.com/1/en/topic/searching-curatorcr-repositories

Thank you for providing the additional information on DistillerSR. I've created a Pull Request to incorporate your suggestions and update the repository accordingly. You can review the proposed changes here: https://github.com/Rensvandeschoot/software-overview-machine-learning-for-screening-text/pull/58.

Task 5: One element of the Classifier Statistics Screen is a Balanced Accuracy Score, that is more indicative for the performance of a classifier, if classes are highly imbalanced (http://v2dis-help.evidencepartners.com/1/en/topic/validating-classifiers?q=balanced)

It seems that the information provided on the website you referenced pertains to searching within CuratorCR Repositories, rather than the query strategies utilized for determining the order in which texts are presented to the user during the screening process. For instance, when a certainty-based query strategy is chosen, documents are displayed in the order of relevance score, with the most likely relevant document shown first. Or, when a random strategy is employed, documents are presented in a random order, completely disregarding the model output. Unfortunately, DistillerSR's documentation does not appear to provide explicit information on these types of query strategies.
After reviewing the documentation you provided, it appears that DistillerSR employs either random or certainty-based query strategies (without other mixed options or clustering). So, I have added random (when the re-rank feature is turned off) and certainty-based as the available query strategies in DistillerSR.


describe validationData, authorizer

@drortirosh note that we must make this PR also to the public repo here: https://github.com/ethereum/RIPs


Use page number/total pages inside of the page body not only in footer/header

Description
I am trying to use page number/total pages inside of the page, by that i mean outside of header/footer, Not sure is it a bug or is it ignored by design.
Complete minimal example reproducing the issue
HTML that is being used is done through razor on my side so there is no external site.
I tried putting class in span by documentation in the body of HTML but it is being ignored:

Expected behavior:
To display page number or total pages depending on the class used outside of header/footer
Actual behavior:
Nothing happens :)
Versions
PuppeteerSharp 5.0.0
.NET Core 6

Hey @zejtin, Unfortunately, that's a Chrome feature. There is not much we can do on our side.
You can create a ticket in chromium bugs and see what they say.


Do you plan to maintain this?

I've started using your template on couple of my website. I like working with Vue and also Cloudflare workers bring an interesting advantage for ssr.
I really appreciate sharing the code and solving the SSR problem for VUE applications.
I would like to ask if you plan on extending this further or it was just a one time demo / solution.
I'm already extending your my fork and want to know if I should start contributing back with pull requests

Hello,
I'm waiting for Vue 3. Probably the best way to go is to push the necessary changes to the Vue 2 master. We can look into it together.

Perfect! Vue 3 will change the SSR approach. Makes sense!