Multiple terms with EC:<IP_ADDRESS> as definition xref

EC:<IP_ADDRESS> is:
Name: histone acetyltransferase
Reaction: acetyl-CoA + L-lysyl-[protein] <=> CoA + H(+) + N(6)-acetyl-L-lysyl-[protein]
Comment: A group of enzymes acetylating histones.
But it's currently the definition xref for many of the more specific child terms in GO (see tree below).  EC/RHEA/MetaCyc don't have specific entries for the different acetylated residue activities.
I've found a couple of general PMIDs that we can use instead of the EC for the definition xref:
PMID: 19056256 Catalysis and Substrate Selection by Histone/Protein Lysine Acetyltransferases
PMID: 18552846 Combinatorial patterns of histone acetylations and methylations in the human genome
So I will replace the current EC:<IP_ADDRESS> def xref with one/both of those PMIDs as appropriate, as shown below.
Note there is one GO term (histone H3K72 acetyltransferase activity GO:0044019 for which I can find no evidence in either PMID, nor through a more general PubMed search. It has 0 annotations. I suggest this term is obsoleted.
histone acetyltransferase activity [EC:<IP_ADDRESS>] => add PMID:19056256
|__histone H2A acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256
|   |__histone H2AK5 acetyltransferase activity  [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
|   |__histone H2AK9 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|__histone H2B acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256
|   |__histone H2BK5 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|   |__histone H2BK12 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|__histone H3 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256
|   |__histone H3K4 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|   |__histone H3K9 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
|   |__histone H3K14 acetyltransferase activity [GOC:vw, PMID:21289066] => add PMID:19056256 & PMID:18552846
|   |__histone H3K18 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|   |__histone H3K23 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
|   |__histone H3K27 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|   |__histone H3K36 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:18552846
|   |__histone H3K56 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256
|   |__histone H3K72 acetyltransferase activity [EC:<IP_ADDRESS>] => OBSOLETE (0 annotations, nothing in PubMed)
|   |__histone H3K122 acetyltransferase activity [PMID:23415232]
|__histone H4 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256
    |__histone H4K5 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
    |__histone H4K8 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
    |__histone H4K12 acetyltransferase activity [EC:<IP_ADDRESS>] => PMID:19056256 & PMID:18552846
    |__histone H4K16 acetyltransferase activity [EC:<IP_ADDRESS>]=> PMID:19056256 & PMID:18552846

@pgaudet Can you do this bit please:

Note there is one GO term (histone H3K72 acetyltransferase activity GO:0044019 for which I can find no evidence in either PMID, nor through a more general PubMed search. It has 0 annotations. I suggest this term is obsoleted.

I also quite like
https://pubmed.ncbi.nlm.nih.gov/25303536/

Dear all,
The proposal has been made to obsolete GO:0044019 histone H3K72 acetyltransferase activity
The reason for obsoletion is that there is no evidence that this function exists (we find no literature about H3K72ac). There are no annotations to this term; these term is not present in any subsets.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/28368
Thanks, Pascale

@sjm41 I'm doing the obsoletion, I assume you'll be doing the xref edits?

Yes, already done!  Sorry, should have said that above....

I didnt see the linked PR, that's all. (now I do, I hadn't checked closely enough)


[docs] Add getting started guide

This PR adds a getting started guide in the docs folder of the repository.
The getting started guide covers the following:

Installing dependencies to run the install script (git, docker, docker-compose, node)
Running the install script
Interacting with the API using cURL (create, retrieve and update entities, as well as authenticating as an entity)

Let me know if this guide should reside in the repository's docs folder or if I should create a Github Wiki page for it on this repository and add a link to the wiki page in the readme instead.
Thanks!

CLI license is AGPL, but it needs to be compatible with main repository (MIT)

Done.

What will be the responsibility of registry-cli in long term, will it help manage the registry instance or just to help getting started?

I propose making the CLI an official tool to manage registries and make requests using the registry API:
Command	Description
init	Setup an example registry in the current directory
restart	Restart registry and es/db/keycloak container(s)
stop	Stop registry and es/db/keycloak container(s)
config	Edit registry config (set env vars through docker-compose file)
request <auth | create | update | get | search | attest> ...	Make an API call to the registry
While init and restart already exist, I would like to implement the rest of the commands as well.

Might have to give the option of do it yourself installation for those who want to know the internals (also from the security angle)

This is a great idea, I could add an advanced installation section which goes through the process of creating your own docker-compose file, setting up keycloak and running the registry all by yourself.

Please note, production configuration would be deployed on kubernetes many of the commands on registry cli will be redundant or not required.
@gamemaker1 can you please check-in the cli into tools / cli folder so that I can merge this PR.


⚠ TiendaEnLinea has degraded performance

In 86aadcd, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 6587 ms

Resolved: TiendaEnLinea performance has improved in 42de207.


Question regarding multipart/form-data

Is it currently possible to use schemathesis for testing multipart/formdata requests using examples for the entire requestBody?
My API has some backend functionality which needs to be stubbed using the example.
I want to use this for the following schema:
upload_document_input:
      description: A multipart file (in binary [not base64!] format) to upload and the relevant metadata via the body.
      required: true
      content:
        multipart/form-data:
          schema:
            type: object
            required:
              - metadata
              - file
            properties:
              metadata:
                $ref: "#/components/schemas/meta_data"
              file:
                $ref: "#/components/schemas/file_content"
          examples: #is not added in the test output
            requestExample:
              $ref: "#/components/examples/requestExample"

requestExample:
        value: {
          "requires_indexing": "true",
          "file_name": "MyTestFilename.txt",
          "scanning_context": {
            "indexing_code": "AAA",
            "indexing_group":"ABCD"
          },
            "document_metadata": {
            "document_source": "AAA",
            "differentiator":"...."
          }
        }

Hi! If requestExample is not used, then it is a bug

The issue is that examples extracted from references are not used there


Rewrite with TypeScript and simplify

Hey thanks!
I noticed that the index.ts is much simpler, doing less. Are the original behaviors around registering listeners prior to connecting, and ignoring the multiple 'connected' events, handled in the updated code?
@antontsvil what do you think? Will this work in the origin codebase?

@Jonahss I didn't expect such a quick reply. I'm actually trying to be extremely practical at the moment to get this library do what I need for a current project, and I wasn't sure that changing the functionality around registering listeners and other things would be acceptable for this library. It's something I'd consider coming back to and adding later.
In fact I opened this PR by accident — I thought I was targeting my fork.
I'd be happy to come back when I have more time and consolidate the efforts sometime in the near future though.

Oh ok! Best of luck, glad you at least found this repo helpful.

@Jonahss I'm glad I waited until the weekend before testing this :laughing:


feat: Remove unused database users in secretstore-setup config

close #5012

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

recheck

@jinlinGuan please open the branch on your own fork

close and open #5015


[BUG] Failed to wait for processing start in 60 seconds — Labels issue

Describe the bug
On both a 1.0.1 and 1.0.2 cluster, when attempting to upload varying images, I get "Failed to wait for processing start in 60 seconds". I have been trying to do this through an RKE2 Rancher 2.6.4 cluster. These attempts were without adding labels. I just attempted to do this directly on a single 1.0.2 node and it failed again. However, I decided to look at the label option and discovered there were two label keys and dropdowns for each. When I selected the dropdowns and then selected create, everything works as expected.
Keys:
harvesterhci.io/os-type
harvesterhci.io/image-type
On the Harvester nodes, this appears to either be a bug or a process that is not defined in the GUI. On Rancher, the experience is different — no predefined keys and associated dropdowns in the labels area. This looks like an unintended variation in UX. I'm not sure if it is an issue with Rancher or the Harvester driver, for bug reporting purposes?
To Reproduce
Steps to reproduce the behavior:
Rancher managed Harvester cluster from Rancher:

On a Rancher managed Harvester cluster, go to and select the File radio button and then select Upload File...choose any image (I tried iso, img, qcow2).
Go to the Labels options and view the options available, but do not create any labels. Notice that there are no predefined keys here.
Select Create
After 60 seconds have passed, this will fail with the message Failed to wait for processing start in 60 seconds

Directly on the Harvester node:

Go to and select the File radio button and then select Upload File...choose any image (I did two...img and iso)
Go to the Labels options and view the options available. You should see two predefined keys and dropdown options for each. Select the appropriate dropdown options.
Select Create
An upload begins and completes.

Expected behavior
The user experience regarding uploading images should be the same, whether being executed in Rancher or on Harvester nodes directly. The uploads should succeed either without labels, or with preconfigured labels, or with label instructions provided while creating the image. Further, if not using a particular label is expected to cause failure, a failure message would be helpful.
Support bundle
If this is required, I will scrub mine for security purposes and post upon request.
Environment:

Harvester ISO version: 1.0.1 and 1.0.2. Cluster management conducted through Rancher 2.6.4
Underlying Infrastructure: Bare metal DL 360 G9 (x3)

Additional context
This may be another bug to report...After deleting the failed uploads and refreshing the page, they appear gone. Coming back to the Images area later often shows those deleted failures again, so they must not get purged completely.

Hi, @axsgitty   harvester v1.0.2 corresponds to rancher v2.6.5, and their UX behavior is basically the same.

Whether the upload fails or not is not related to the labels, you need to provide more information, such as the yaml file

I considered this a bug because I get "Failed to wait for processing start in 60 seconds". I wasn't interested in reporting this bug, frankly. However, I thought the labels part of this was interesting as a workaround or perhaps a separate bug and I wasn't sure others would find the specific pattern I was finding and decided to go ahead and report this.
I'll check my yaml for security and scrub if required and get it to you later today.
For visual reference to the difference that I see, below are the ss from Rancher (red) and Harvester (blue). If this is by design, please close this. I have a workaround to the failures and would be happy not to spend one minute where it's not helpful.

[node3.zip] (https://github.com/harvester/harvester/files/8718178/node3.zip)
scrubbed yaml

Closed as likely a duplicate of #2158, as mentioned by @simonflood.


Send midi from host

Would there be any good example to send midi message from the host to a plugin?

Lilv doesn't get involved with such things (direct interaction between the plugin and host code).  Any LV2 host will do, for example, Jalv: https://github.com/lv2/jalv


DM-295 add unique constraint on opportunity and proposal status tables

Merged this into the branch for #53 since it included that PR's changes.


🐛 Bug Report: mergeConfigSchemas root title collision handling

📜 Description
When you merge an array containing two or more config schemas using mergeConfigSchemas from @backstage/config-loader and one or more of these schemas contain a root title e.g. @backstage/cli or @backstage/plugin-user-settings then the merged schema contains the root title of the first schema. This behaviour might be unexpected to a user and they might wonder why there is a root title for the merged schema result that is seemingly unrelated.
I came across this issue and had to work out the behaviour and after having a think, I was wondering if the behaviour should be more obvious. One way might to have a root title merge strategy option (e.g. rootTitleMergeStrategy: 'useFirst' | 'useLast' | 'noMerge') with a default to make this behaviour more clear.
👍 Expected behavior
When merging config schemas using mergeConfigSchemas then it should more intelligently handle different fields and possible collisions, such as root titles.
👎 Actual Behavior with Screenshots
When merging config schemas using mergeConfigSchemas it uses the first config schema in the array as the root title even if there are other config schemas with root titles
👟 Reproduction steps
Observe in the console logs of this codesandbox that the root title of the merged config schemas is the first config schema in the array's root title.
https://codesandbox.io/p/devbox/eloquent-snowflake-ml24j5
📃 Provide the context for the Bug.
No response
🖥 Your Environment
OS: Mac 14.1.1
Node: 18.16.0
npm: 9.5.1
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Tbh I feel we could just throw away the title in mergeConfigSchemas, doesn't seem particularly useful to care about the titles of individual packages at the point where you've merged the schemas.

Makes sense. I'm happy to make a PR for this.


Create Tests workflow, will house certification tests

Problem
Now that we have a simple description language for tests, certification will use it to run all tests in CI for the SDK
Change overview

GitHub workflow to run tests
A fix to allow messages to work
Setup pairing in chip-tool test mode

Testing
How was this tested? (at least one bullet point required)

Ran act to verify the job runs
Run locally on my linux server
Tested using two yamls

Note: Linux crashes now in Exchange, not sure why. Would love eyes on it.
Need to also have this auto gen tests.

Moving this out of Draft! Linux is working now with the latest fixes. @pan-apple is working on Darwin tests (the cluster commands fail)

OK, this is ready for integration now. Thanks @pan-apple!
This covers testing of:
• Real ubuntu/linux C++ chip tool
• Darwin built C++ chip tool
Note: there are races in our stack that this has already found, and will continue to do so. A couple major ones are fixed/worked around in here
Next steps post this PR are:
• Auto-generating code from the YAML files, instead of requiring manual generation.
• Fix all the races
@Damian-Nordic @andy31415 @jepenven-silabs @hawk248 @jelderton @bzbarsky-apple ?


Kepub support?

I love the bot, it is super useful.
However, as a Kobo user, I was wondering if you are planning on adding support for Kepub conversion?
Thanks for the hard work.

I love the bot, it is super useful.

Hello, Thanks for your kind words @LMPombar, glad to hear it's useful.

However, as a Kobo user, I was wondering if you are planning on adding support for Kepub conversion?

The conversion is handled by Calibre. I can't see KEPUB there.

You are absolutely right, I forgot I had to install an external plugin to do the conversion on Calibre Desktop.
I'll try to think of a solution for it (maybe some collaboration with https://github.com/pgaskin/kepubify ?)
Thanks again for your hard work.

Wow, that'd be awesome. The plugin is called KePub Output jgoguen/calibre-kobo-driver

I assume we only need input and output ones, right?

Yes, I assume KePub Input is to be able to convert Kepub into anything else, while KePub Output allows to convert anything into KePub. That would cover all the possible cases.

Yes, I assume KePub Input is to be able to convert Kepub into anything else, while KePub Output allows to convert anything into KePub. That would cover all the possible cases.

Unfortunately, the plugin doesn't support CLI usage, thus it's not possible to add.
https://www.mobileread.com/forums/showpost.php?p=3456778&postcount=192

I have found an alternative approach, using kepubify from cli directly https://pgaskin.net/kepubify/docs/.


Warband Bank Distance Inhibitor - Auto Deposit/Withdraw Gold

Hi!
When using the Warband Bank Distance Inhibitor toy, the addon does not auto deposit or withdraw gold.
Thanks!

This is fixed and will release in a hotfix update today.


Support load data from a bunch of sst

Describe This Problem
For some data persisted as ssts in production environment, it is hoped that download the data and load it into a CeresDB instance for test and development.
Proposal
Load by write API
A simple way is to provide a tool to decode the ssts, and load the data into CeresDB by write API.

Pros:

Simple;
No need to worry about the format compatibility, that is to say, we can load data files in not only CeresDB's format(Parquet);

Cons:

Loading by write may cost too much time;

Bulk load
Use CeresDB to read the ssts, and generates the corresponding meta data in manifest directly.

Pros:

The speed must be very fast;

Cons:

A little bit complex;
Only can support load data files in CeresDB's file format;

Additional Context
No response

When troubleshoot query performance issues, the generated ssts by compaction matters most so I vote for the second way to load the sst directly.


LazyLoading issue with multiple instance

I have an issue with multiple instance jexcel on my page.  Then i switch to tab2 and tab2 has another jexcel grid also working fine. When i come back tab1, i am destroying the jexcel and re-creating. In this case lazloading is stuck at 100. it doesn't move down.

When i check above data-y it shows me 799 even i can see the row as 50 on screen. Due to wrong calculation, page does not scroll. Where can be the issue ?

i removed destroy event but put div clear for now it is working fine. IF you have a better solution please let me know.
$("div_id").empty();

<<<< init jExcel again here >>>>

Which method to destroy are you using?

i was using this one
 jexcel.destroy(document.getElementById(rfrshId));

I would recommend not to use destroy if you need just to hide and show.  Is there a way you just hide and show the tabs?

Alright, hide and show also works for me.
Thanks.


Handle scope better

Description of the new feature / enhancement
Several packages have been reported to not properly handle "--scope".
The most likely reasons are due to the installer determining scope based on whether the process is elevated, or the user is a member of the local Administrators group.
One example is Git.Git reported at twitter by @woodyinwoodley
The 2.40.1 manifest is specifying an "inno" installer, but it doesn't appear to support the /CURRENTUSER or /ALLUSERS switch.
The manifest does have entries for both "user" and "machine", but those keys don't actually drive the intended behavior.
The default behavior in the installer checks to see if the user is a member of the local Administrators group to determine if the installer will be installed machine wide or per user.
; Note that we write the Registry values below either to HKLM or to HKCU depending on whether the user running the installer
; is a member of the local Administrators group or not (see the "Check" argument).

; Install under HKEY_LOCAL_MACHINE if an administrator is installing.

https://github.com/git-for-windows/build-extra/blob/6fe3f63731fb39e20f7a668fd54566514ecc83af/installer/install.iss#L214
; Install under HKEY_CURRENT_USER if a non-administrator is installing

https://github.com/git-for-windows/build-extra/blob/6fe3f63731fb39e20f7a668fd54566514ecc83af/installer/install.iss#L221
Proposed technical implementation details
We could add another YAML key to indicate that the scope arguments either aren't properly supported, or we could attempt to provide some kind of error messaging to help users understand why their request can't be honored by WinGet.
We could potentially also check to see if the user is in the local Administrator group to determine what output to display.

We could add another YAML key to indicate that the scope arguments either aren't properly supported

This probably wouldn't even need a new key. It would just need Scope and the associated implementation to be added to the enum for UnsupportedArguments
https://github.com/microsoft/winget-cli/blob/005f765919431d470363d860660228794ad7585e/schemas/JSON/manifests/v1.4.0/manifest.installer.1.4.0.json#L456-L468

or we could attempt to provide some kind of error messaging to help users understand why their request can't be honored by WinGet.

This is also already kind of in place, although it could likely be improved.
https://github.com/microsoft/winget-cli/blob/005f765919431d470363d860660228794ad7585e/src/AppInstallerCLICore/Workflows/InstallFlow.cpp#L317
https://github.com/microsoft/winget-cli/blob/005f765919431d470363d860660228794ad7585e/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw#L1446-L1448

I think for cases where it depends on whether it runs as admin or not, we could set elevationRequirement=elevationProhibited for user scope and elevationRequirement=requiresElevation for machine scope; then enlighten winget to launch the installers with the right access. We could spin off a separate process with the right permissions and use it only to run the installers from the right context. That could probably also help us get a single UAC from winget during upgrade --all / import, instead of multiple ones from each installer.

I think for cases where it depends on whether it runs as admin or not, we could set elevationRequirement=elevationProhibited for user scope and elevationRequirement=requiresElevation for machine scope;

I think for this particular installer, fixing from manifest is ideal. And works in downlevel.

I think for cases where it depends on whether it runs as admin or not, we could set elevationRequirement=elevationProhibited for user scope and elevationRequirement=requiresElevation for machine scope;

I think for this particular installer, fixing from manifest is ideal. And works in downlevel.

I dont think that works in this case. Git.git doesn’t depend on elevation status. If an administrator is running the installer - even in a non-elevated context - it will install with machine scope; If a non-admin is running - even in an elevated context - I believe it installs as user scope (depends on how IsAdminLoggedOn is handled for inno)

I dont think that works in this case. Git.git doesn’t depend on elevation status. If an administrator is running the installer - even in a non-elevated context - it will install with machine scope; If a non-admin is running - even in an elevated context - I believe it installs as user scope (depends on how IsAdminLoggedOn is handled for inno)

Ah, thanks for the clarification. I must have mis-read something. I feel to truly support this case, there may be changes required to the installer itself.

I dont think that works in this case. Git.git doesn’t depend on elevation status. If an administrator is running the installer - even in a non-elevated context - it will install with machine scope; If a non-admin is running - even in an elevated context - I believe it installs as user scope (depends on how IsAdminLoggedOn is handled for inno)

Ah, thanks for the clarification. I must have mis-read something. I feel to truly support this case, there may be changes required to the installer itself.

I agree that changing the installer would probably be the best here, but its likely a breaking change for git for windows, which leads me to believe it won’t happen anytime soon. Of course anything is possible, but there are likely other installers out there which don’t respect intended scope, so in my opinion it would be good to have at least some method of declaring this in the manifest

I agree that changing the installer would probably be the best here, but its likely a breaking change for git for windows, which leads me to believe it won’t happen anytime soon. Of course anything is possible, but there are likely other installers out there which don’t respect intended scope, so in my opinion it would be good to have at least some method of declaring this in the manifest

Yes, it's certainly doable but unfortunately it does not solve the actual issue. Declaring Log | InstallLocation as unsupported means the installer does not support custom log writing | installing to custom location. While in this case, declaring scope as unsupported is sort of hiding the issue. The installer does support "scope", but in a custom way. Making it unsupported seems not helping user with their goal, but failing gracefully. winget install git.git --scope machine will just fail gracefully with "scope is not supported by this package"

While in this case, declaring scope as unsupported is sort of hiding the issue.

I hadn't considered it that way. That's a good way of looking at it. There certainly is a tradeoff between accuracy and ease of use

Yeah, that's been my concern as well. I think we might need to fail if we can't honor "--scope" as passed in, and provide the appropriate error with what we can determine. That's why I was thinking we might also need to have something that means: *

"scope for this installer is determined by running the command as user vs administrator"
and
"scope for this installer is determined by user being a member of administrators group"

At least that way we don't do something against the wishes of the user arguments, and they can be informed.

As an enterprise user with limited privileges I am allowed to install software which meets the following requirements:

Does not require elevated privileges to be installed/executed
Is available only for my user (Scope: User)

Some software support the above requirement using a very clear approach (e.g. VSCode, User Installer vs System Installer), others do not support it at all (e.g standard Python installer) others require a very custom set of installer parameters (eg. Miniforge3).
While I understand now (from Issue #3286) that "Scope" are "ElevationRequirement" might be divergent, it is my understanding that the expectation from most users is that Scope: User also implies "No elevation required" - which means installers not support it should not be invoked at all.
I see two potential options:
a) Determine that packages with "Scope: User" MUST a) install to a user scoped location AND b) not require Elevation
b) Provide clear documentation and different properties to separate the distinction between "Scope" and ""ElevationRequirement"
I would strongly prefer option a) because in my experience that has been the behavior/setup expected/found in enterprise environments.

@Joaompinto thanks for the great write up!
Yes, there is clearly a matrix of desired behavior, and unfortunately a set of installers that don't honor what a user would want.
The original intent behind elevation requirement was to inform WinGet about how the installer behaves generally so the user could be informed (or WinGet could simply do the right thing). The intent behind "scope" was to give the user the ability to specify install scope.
We found several exceptions like the installer for Git looks to see if the current user is a member of local administrators and make its own determination about which scope to install. Another scenario I've run into as an example is when a package installs a service (requires admin) even though the package the user interacts with is installed in user scope (HKCU vs. HKLM).
In general, we try to break everything down into "classes" of problems or behaviors so we can reason about them collectively rather than trying to maintain a list of how each package behaves and implement package specific logic. In terms of "arguments" we can specify in the CLI, we also want to have "preferences" or "requirements" in settings to enable the desired behaviors.
There is a bit of balance between a very complex manifest and fine-grained control in the CLI. I believe we're approaching the point where we have enough installers with various behaviors to define them in terms of classes so we can start to implement the appropriate behaviors in WinGet for them.
I've been thinking in terms of a manifest informing WinGet whether the package "honors" the desired behavior through appropriate switches or arguments, those that simply don't, and those that have other common behaviors we can at least reason about or test. If this metadata is required and not optional, it becomes a breaking change, and we don't take those lightly.
There are also a couple of different "modes" of operation I've been thinking about for WinGet. One is all about an interactive session with a user issuing commands and how we can give them options they can respond to. The other is all about automated tooling that will not respond or make these decisions, and WinGet should simply fail with the appropriate error message. These modes are where I begin to lean into a 2.0 release:

#2128

@Joaompinto I've been working on some documentation around various installer behaviors so we can try to provide guidance on installers for ISVs so they know what WinGet is doing and can make the desired improvements. We've also been adding more logic in the validation infrastructure to look at behaviors associated with install scope.
I agree with you on the suggestions for adding "known issues" to the documentation. I'll start an e-mail thread with our partners at Microsoft Learn to see if we've got a best practice pattern to follow and provide some additional guidance on scope challenges.

https://github.com/git-for-windows/git/issues/4758

Python >=3.12 no longer requires admin rights by default
https://github.com/python/cpython/issues/113794#issuecomment-1880893458


Tensorfuse - Wrapper around tensorflow, theano and CGT

Maybe it's a good idea to use this wrapper (https://github.com/dementrock/tensorfuse) instead of implement our own wrapper on keras. What do you think?

It would stink, for many reasons. For instance, we frequently need to modify our backend API.
Just because it exists, doesn't mean we should use it. Not to mention that the common Theano-TensorFlow interface implemented by Keras was the first of its kind, so it would make more sense to ask such projects why they're not using the Keras backend instead of reimplementing it ;-)


Add --lint-fatal option

This keeps the previous behaviour of printing details about duplicate
rules but doesn't exit with a fatal exit code unless turned on.
Cherry-picks  #10815
Signed-off-by: David Leadbeater<EMAIL_ADDRESS>

@metalmatze we are seeing more users complaining about this; could you cut a .1 release with this? thanks!

Any idea why ci/circleci: build is failing? Sadly I don't have the rights to restart that.


osrm dosn't like cul-de-sacs

osrm can't find a route if the end point is on a dead end street.

seems to be the last leg of any dead end street that osrm dislike as an end point

Fixed with latest checkins

cool. wann push it to github?

It already is. Please reprocess data files.

ok. i just didn't see any commits here on githib that sounded related? https://github.com/DennisOSRM/Project-OSRM/commits/master
i always reprocess data after a recompile :-)

i can confirm that cul-de-sacs seem to work correctly in afe9157d6572563eee9638038768182bd5ccdbfb :-)

Great, thanks.
Am 05.12.2011 18:43, schrieb Emil Tin:

i can confirm that cul-de-sacs seem to work correctly in afe9157d6572563eee9638038768182bd5ccdbfb :-)

Reply to this email directly or view it on GitHub:
https://github.com/DennisOSRM/Project-OSRM/issues/43#issuecomment-3020191

--
Karlsruher Institut für Technologie (KIT)
Institut für Theoretische Informatik
Dennis Luxen
Wissenschaftler
Am Fasanengarten 5
Gebäude 50.34, Zimmer 220
76131 Karlsruhe
Telefon: +49<PHONE_NUMBER>1
Fax:     +49<PHONE_NUMBER>8
E-Mail<EMAIL_ADDRESS>KIT - Universität des Landes Baden-Württemberg und nationales
Großforschungszentrum in der Helmholtz-Gemeinschaft


Prevents errors that occur when calling a non-existent JavaScript property with a question mark

Problem
require 'js'
JS.global[:document].undefinded_method?

This code will cause the following error.
RbError: /bundle/gems/js-2.6.2.dev/lib/js.rb:176:in 'JS::Object#call': TypeError: Cannot read properties of undefined (reading 'undefinded_method')

This is because the JavaScript function existence check is missing.
Solution
Checks for the existence of JavaScript functions.

I hesitate to introduce additional semantics differences with/without '?' suffix. I think the root problem here might possibly be the unclear error message thrown when calling non-existing methods.
If the error message is something like TypeError: document.undefinded_method is not a function, is your initial problem satisfied?

I see.
It is strange that it returns false only when call properties with '?'.
It would be better to have the same error when calling a property with/without '?'.

I'll have a time to improve error diagnostic messages :)

Fixed as follows.
When we call a JavaScript property as a method, we get a NoMethodError.
Perhaps it would be better to;

raise TypeError when the property is called
raise NoMethodError when the property is undefined

One thing I am wondering about is the behavior when an existing JavaScript property has an undefiend.


Add Zip Code

Can you please add back in the Zip Code statement for this dev obj?  That is the missing link for my data pull.

Hello @MoosebuttHoggard, as I am no longer using these data, I'm not updating this project.
Anyway, feel free to fork it and make your own changes. Maybe you can find the information you need here: https://www.farinspace.com//us-cities-and-state-sql-dump/


Replicate subset shape tests fix from clisops

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)
[ ] bumpversion (major / minor / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?
In roocs/clisops#138, I had a strange problem where some tests were failing on the first run, but not on subsequent runs. Some results were changing in the 1e-4 range. I'm applying the same test relaxation in our "test_subset.py" than in clisops'. (Commit a391e39e )

Really I have no idea where it could be coming from. I tried deleting test files and rerunning subset_shape and I saw no difference...


Ribbon control pot order may want to be reshuffled

On the Ribbon Controller, the pots which send the ribbon control signal go VCO -> VCF A -> VCF B -> MOD OSC, from left to right.
When the instrument was originally built, it went VCO -> MOD OSC -> VCF A -> VCF B from left to right.
The new arrangement makes some sense, because this is the order that the components appear on the panel as you scan from left to right.
But Ox often tweaks VCO control and MOD OSC controls together during performances. This is more awkward to do when these two controls are farther apart. I also found myself instinctively grabbing the VCF A pot when I meant to adjust the MOD OSC while testing the instrument, the original order feels more intuitive to use.
Consider rearranging the pots to be the way they originally were, VCO -> MOD OSC -> VCF A -> VCF B from left to right.

Changed with new digital ribbon controller and new panel. Order is VCO -> MOD OSC -> VCF from left to right. VCFs have been lumped together to make room for the glide control.


Fixed issue

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
What is the current behavior?
A C++ program that reverses a given string and prints it out to the console was created.
Issue Number: #1309

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


code cleanup in preparation for rebalancing the whole graph

Now that I am committed to trying to rebalance the whole diagram, we can finally address hlint's comments and remove some unused code.

Cleaned up while implementing rebalancing functions.


Project not compile and maven framework not supported

Since there is no framework adjusted to the java project the compiler not recognized JsonObject.
In addition in order to use the library we will need to add all files to company's src code

Is the below not working for you?
https://search.maven.org/artifact/com.ip2location/ip2location-java


feat(getrelminutes): add the getRelMinutes module

Codecov Report

Merging #15 (00dd078) into develop (f15f2c9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         7    +1
  Lines           58        67    +9
  Branches         8         9    +1
=========================================
+ Hits            58        67    +9

Impacted Files
Coverage Δ

src/getRelMinutes.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Swift Package

Hey hey,
I was just wondering what is needed to get https://github.com/ehn-digital-green-development/base45-swift/tree/distribution/swiftpackage merged?
Is there something I can help out with to get it done?
Thanks!

Yes - I made a pull request - #7 - if you could check that It works for you too - lets merge it.

Closes with pr #7 and tag 1.00


Consider switching to Preact

Using Preact would minimize the bundle size and be more performant. This is not a priority right now but It is something to think about.

Might consider Svelte instead

This might be more important than expected as React currently makes up over 40% of the content script build and needs to come down in size

This is insane.


Please consider providing Unum or Posit arithmetic

In his book, The End of Error, John Gustafson describes a new number format called Unum with many interesting properties.
Since then, Prof. Gustafson has also designed several alternative formats that are worth providing. Please see these links:
http://www.johngustafson.net/unums.html
https://posithub.org/about
https://posithub.org/khub_community
https://users.rust-lang.org/t/create-rust-posit-arithmetic-library-based-on-21-february-2017-posit-arithmetic-by-john-l-gustafson-beating-floating-point-at-its-own-game/10077
This would be a great number format to have available in a Prolog implementation, and a quite unique selling point. In fact, the idea is similar to number formats that were available in previous Prolog implementations and designs (Prolog IV).
I hope that you find these number formats interesting, and consider providing them at some point!

It would be a unique selling point indeed! I remember Willi Riha from the Shen community mentioning unums a while back. Creating a Rust implementation of unums could be a fun project onto itself. Chances are fair that one exists already. I will look into it. Thanks!

Is The End of Error still worth a purchase, or have unums been eclipsed by posits? I can't find much on posits.

To the first question: In my opinion, the book is well worth purchasing, due to the many examples and nice illustrations of floating point issues alone already. It is very nicely done.
As to the other part: I have seen posits being described as "a hardware-friendly version of unums":
https://www.johndcook.com/blog/2018/04/11/anatomy-of-a-posit-number/
I think an important takeaway of this is that ideally, several different number formats can be nicely supported, with rational numbers as a very important application, and unums possibly as a quite unique attraction.

https://www.nextplatform.com/2019/07/08/new-approach-could-sink-floating-point-computation/ gives a good overview.

There is also [softposit[(https://crates.io/crates/softposit) crate to build on.

It surprises me that none of the unum/posit projects I've seen experiment with GPU parallelism. Posits/unums are designed with parallelism in mind, no?

GPU parallelism heavily depends on (absence of) state (like all the tiny flags in IEEE that make switching more cumbersome) - unums remove that state.
Currently it seems that Gustafson explores the design space around unums. Unums were much closer to traditional IEEEs that what posits are

... but in any case, it is probably more promising to first get regular Prolog (including partial lists) and constraints up and running.

I have no idea why https://github.com/triska/scryer-prolog/commit/2889631b61809ed766eb4d668715e6cf38b0630b now shows up in the history of this issue.


The light weighted namespace feature for cross-region multi FS cluster.

As far as I know, Alluxio works very well for the FS cache scenario, especially the combination with Presto, which speeds up the adhoc query significantly. But Alluxio is also famous with its FS namespace functionality, it seems there are little improvement for this feature in recent versions.
For large companies, it is common that there are many FS clusters in different region. If one Alluxio cluster in one region is used as the FS namespace for these FS clusters, it will slow down the different region access significantly, especially for the data reading/writing access. By the way, if Alluxio workers are spread in different region, it will be too complicated to manage the workers.
I have some ideas for the cross-region namespace feature.
Firstly, the worker should be bypassed when reading/writing uncached data. For the situation that client, worker, UFS are distributed in different regions, the worker will slow down the reading/writing significantly.
Secondly, master should not record every UFS path. Currently, the UFS path is recorded automatically once it is accessed. For large companies, there maybe tens of huge HDFS clusters, recording each path is not possible.
Thirdly, an uniform light weighted privilege model is required. I proposed an IACL privilege model in issue 11275 for this feature. Further more, all privilege info is also written to UFS directly by default currently. This is not useful and can not be implemented for Object Store like S3. I think all files' privilege in UFS can be set to same as the mount point.
With these features, tens of huge FS clusters can be managed by Alluxio with ignorable performance penalty. I think it is the time to enhance the namespace functionality for Alluxio.

now we have cross-cluster sync @tcrain , @copperybean you can contact us if you are interested. Will close it for now


Cannot add standard page under "Events"

I want to add a page under "events" that includes a description of a whole series of events. We have done something similar in the past with Douglass Day and the Collections as Data Series, back before Wagtail. However, with Wagtail, I am only able to add event cards under "Events."
To reproduce

On Wagtail, go to Events and then "+ child page." The only option is to create an event card.
Alternatively, go to Home and then "+ child page." Add a page for the series. Then, under "more," click "move." Unfortunately,  I am unable to move the page to Events.

Expected behavior
I would like to create a page and move it to Events, or to have the option directly to add a child page for an event series under Events.
Device information

macOS Catalina 10.15.7 (I'm using Chrome)

dev notes
Revise events list page definition to allow it to have content pages as children; update existing unit tests checking allowed child behavior

I revised the events link page to allow content pages as well as event pages, but it doesn't seem to be doing what we hoped. (The allowed child page unit test was also failing, so I disabled it because I thought it was a fluke, but maybe it isn't registering properly or it's being overridden somewhere else.)

@cvansant I think I found the problem, please retest at your convenience.

This worked! Now I want to have event cards work as child pages under the  new content pages for the event series, but that's an issue for another day.


Thank you for the fast turnaround:)


Broken link: "From a SharePoint list"

Broken link: "From a SharePoint list"

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

ID: cd466cfc-002f-eba5-da1a-a82ddad5fea5
Version Independent ID: 5313c975-6848-3d03-9a18-a5ed0cb07149
Content: Overview of creating apps - PowerApps
Content Source: powerapps-docs/maker/index.md
Service: powerapps
GitHub Login: @AFTOwen
Microsoft Alias: anneta

Thanks, @ianbruckner! That link is fixed.


Add testCasePromise

Is there a way to do testCasePromise instead of async { }

It is really simple, testCaseAsync  expects Async<unit> as the last parameter. Use Async.AwaitPromise on Promise<unit> and give that to testCaseAsync. I haven't tested it but this should work:
let testCasePromise testName promise =
  testCaseAsync testName (Async.AwaitPromise promise)

Maybe you need to open Fable.Core to make AwaitPromise available but I am not sure

I am not sure it is a good idea to add this to the library as it will break compatibility with Expecto's API

See these tests from Fable.Redis for reference

Thanks. Good enough for me.
Zaid Ajaj<EMAIL_ADDRESS>schrieb am Mi., 6. Nov. 2019, 15:59:

See these tests from Fable.Redis
https://github.com/whitetigle/fable-redis/blob/master/tests/Tests.fs
for reference
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Zaid-Ajaj/Fable.Mocha/issues/9?email_source=notifications&email_token=AAAOANBNADU2DKO52LR2S5LQSLLULA5CNFSM4JJV5PW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDG2JNQ#issuecomment-550347958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANC52XYDK6ZGSZYCJW3QSLLULANCNFSM4JJV5PWQ
.


remove the configuration to enable or disable safe requests retry

remove the configuration as it is not required anymore

This looks like it needs to be rebased / merged with Master.

Ugh, that made a merge commit. We should have @vmamidi rebase this properly and remove that merge.

@vmamidi Yeah, please merge master to your branch, and git push this again (with --force) to your PR branch.


Initialize Guice after the environment has been set

This is a simple way to achieve a lazier initialization of the guice injector. There are no tests that proof the singletons are working correctly. If you are willing to accept the pull request I might add some:).

Does that mean, that we don't need to build our Guice bundle with Stage.DEVELOPMENT anymore?
That would be awesome!
I don't know much about Guice internals and the details about your implementation. So I can't really judge if your solution is the proper way to do it or not.

The change is very simple and its only about the time when guice is being initialized. This works for singletons that need the environment, so far nothing broke, but I haven't tested anything else. If I find a moment Ill look into tests from #70.

This almost works but unfortunately breaks an important feature of dropwizard-guice that many people are depending on. You can't just move the call to initialize into the run phase like this because it is too late to add bundles or configured bundles to the bootstrap by that point. I added a test in 4d079c98f026498ebc94e8514bd647b4c2c31f08 that shows the issue (the bundle will never be run).
Over time, however, we've found that auto config actually does more harm than good and we've moved away from it towards a more explicit model. We have another library, HubSpot/dropwizard-guicier, that doesn't support auto config. It builds the injector during the run phase, runs in Stage.PRODUCTION by default, and has many other benefits. It does however still use dropwizard 0.7 and Jersey 1 at the moment, but I might try to upgrade it soon (boo HK2)

I see... we could not use autoconfig for another reason and maybe for this reason it did not give problems.

Unfortunately I don't think we'll be able to fix this issue in dropwizard-guice, but I'd recommend checking out HubSpot/dropwizard-guicier


Sender network id is now set to local network id for local rpc calls.

I don't know if this is by design but I think this is a bug. When an rpc calls a function locally, it doesn't set the rpc sender id to the local id. This should be there so that the rpc function can know if the caller is from the network or sent locally.
func sender():
	rpc("reciever")

master func reciever():
	if multiplayer.get_rpc_sender_id() != 1:
		# do something if caller was not server...

In the example above, sender id is only set if the rpc did not come from the server. This breaks the desired logic of the function.

This would solve issue #27332
You should add that to your description

P.S.: @Mr-Slurpy I'm sorry this took so long to review :pray: , I was busy and had some doubts at the time. Then then kinda forgot :crying_cat_face: .

Ok, I made the changes you requested.

Thank you for your contribution!


proposal: x/crypto/ssh: add callbacks to dynamically change server and client configuration

I propose to add the following callbacks.
// ServerConfig holds server specific configuration data.
type ServerConfig struct {
        ...
        // GetConfigForClientCallback, if not nil, is called after receiving the
	// version from the client. It may return a non-nil ServerConfig in order to
	// change the ServerConfig that will be used to handle this connection. If
	// the returned ServerConfig is nil, the original ServerConfig will be used.
	// The ServerConfig returned by this callback may not be subsequently
	// modified. If an error is returned the handshake will fail.
	GetConfigForClientCallback func(conn ConnMetadata) (*ServerConfig, error)
}

// A ClientConfig structure is used to configure a Client. It must not be
// modified after having been passed to an SSH function.
type ClientConfig struct {
        ...
        // GetConfigForServerCallback, if not nil, is called after receiving the
	// version from the server. It may return a non-nil ClientConfig in order to
	// change the ClientConfig that will be used to handle this connection. If
	// the returned ClientConfig is nil, the original ClientConfig will be used.
	// The ClientConfig returned by this callback may not be subsequently
	// modified. If an error is returned the handshake will fail.
	GetConfigForServerCallback func(conn ConnMetadata) (*ClientConfig, error)

These additions enable many advanced use cases, for example we can enable/disable algorithms, authentication methods, banners etc. depending on the client or server version.
cc @golang/security

A style note: we tend to avoid a leading Get on function/method names.

A style note: we tend to avoid a leading Get on function/method names.

proposal updated, thank you!

On naming: The equivalent in crypto/tls is Config.GetConfigForClient. There are a number of other tls.Config callbacks with a Get prefix.
ssh.ClientConfig and ssh.ServerConfig contain a number of existing fields named ...Callback.
I think that package-internal consistency is more important than global consistency, so the names in the current proposal of ConfigForClientCallback and ConfigForServerCallback seems good to me.
(The general idea of the proposal also seems reasonable to me, but someone more familiar with crypto/ssh would be a better judge of that.)

is this really necessary? I think you could wrap the connection into something that gobbles the client version strings, creates a Config and then replays the client version string.
Or maybe we can further decompose NewServerConn into something that takes the Client version as well as the net.Conn.

Adding a callback in the Config that returns a Config is a very confusing API, as it's not obvious in which step the config gets swapped out for something else.

El sáb., 29 de jul. de 2023 8:59 AM, Nicola Murino @.***>
escribió:

I propose to add the following callbacks.
// ServerConfig holds server specific configuration data.
type ServerConfig struct {
...
// GetConfigForClientCallback, if not nil, is called after receiving the
// version from the client. It may return a non-nil ServerConfig in order to
// change the ServerConfig that will be used to handle this connection. If
// the returned ServerConfig is nil, the original ServerConfig will be used.
// The ServerConfig returned by this callback may not be subsequently
// modified. If an error is returned the handshake will fail.
GetConfigForClientCallback func(conn ConnMetadata) (*ServerConfig, error)
}
// A ClientConfig structure is used to configure a Client. It must not be
// modified after having been passed to an SSH function.
type ClientConfig struct {
...
// GetConfigForServerCallback, if not nil, is called after receiving the
// version from the server. It may return a non-nil ClientConfig in order to
// change the ClientConfig that will be used to handle this connection. If
// the returned ClientConfig is nil, the original ClientConfig will be used.
// The ClientConfig returned by this callback may not be subsequently
// modified. If an error is returned the handshake will fail.
GetConfigForServerCallback func(conn ConnMetadata) (*ClientConfig, error)
These additions enable many advanced use cases, for example we can
enable/disable algorithms, authentication methods, banners etc. depending
on the client or server version.
cc @golang/security https://github.com/orgs/golang/teams/security
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/61650, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLWG3HKANZUDQJYHYXAYY3XSUCK3ANCNFSM6AAAAAA24PVFKI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

See https://go-review.git.corp.google.com/c/crypto/+/538555 for what I mean.
Also note (as documented in the change description) that there is really no need to have anything in the ClientConfig. Since the client picks the algorithms to use, the client can just specify all algorithms in preference order and still be both secure (for newer servers) and interoperable with older servers.

@hanwen, thank you. So an alternative proposal is this one
// ServerConfig holds server specific configuration data.
type ServerConfig struct {
   ...
   // ClientVersion is the client version to assume. If set, the
   // version handshake is skipped. In this case, callers must
   // explicitly call ExchangeVersions to obtain the remote version.
   ClientVersion string
}

maybe add the same to ClientConfig.
// A ClientConfig structure is used to configure a Client. It must not be
// modified after having been passed to an SSH function.
type ClientConfig struct {
   ...
   // ServerVersion is the server version to assume. If set, the
   // version handshake is skipped. In this case, callers must
   // explicitly call ExchangeVersions to obtain the remote version.
   ServerVersion string
}

make the currently private exchangeVersions function public

I should add: 1) I understand what this issue is asking for, but 2) I find it hard to coherently explain what security benefit it creates.
As discussed, the client doesn't have to adapt to the server to begin with.
But what use is it for the server to adapt to the client? If the server just supports all algorithms (including the weak ones), a client with a new binary will still get strong algorithms, and an old client will get the weak algorithms.
So, what this feature would achieve is that the server looks like it only supports strong algorithms during cursory inspection (eg. probing the server), but it actually is less secure because clients can fallback to something insecure if they say the right version number.
The way to increase security is to get clients to upgrade their binaries. Refusing to serve them is the typical way to force this to happen, but if we expose negotiated algorithms (https://github.com/golang/go/issues/58523), you could also use a banner message to get that message across.


Add a MultiValue utility type to the crypto crate alongside Value.

Is your feature request related to a problem? Please describe.
Currently, we have a Value type recording a typed value (amount + asset id).  We can form commitments to Values, and we can sum commitments even of different types, because of the way the value commitment mechanism works.
However, we can't directly represent the opening of one of those value commitments, because each Value can only record a single type of value.
It would be useful to have a type that could represent a vector of typed values.  This would let us implement tx viewing commands (e.g., in #1364) more easily, because we could implement one formatting method for a multi-value type, then construct instances of that type and format them, rather than having the code for representing an action's combined effects on value balance live in the UI in some ad-hoc way.
Describe the solution you'd like
Add a new type to the crypto module, alongside the existing Value:
pub struct MultiValue {
    inner: BTreeMap<asset::Id, u64>,
}

Then, fill in some useful utility methods:

[ ] conversion from Values
[ ] a way to add Value to a MultiValue, accumulating into the correct entry
[ ] a way to iterate over the component Values of a MultiValue
[ ] a way to create a value::Commitment given a blinding factor

We can test that the implementation is correct using property tests that use the homomorphic property of commitments (Commit(a + b) = Commit(a) + Commit(b)).

This is already fulfilled by https://github.com/penumbra-zone/penumbra/blob/main/wallet/src/plan/balance.rs#L16-L22. Perhaps we should move this type to a different place in the penumbra monorepo, so it can be used in more places?
Some things that could be added: impl {Add, AddAssign, Sub, SubAssign}<Balance> for Value { type Output = Balance; }, and the final checkbox above, a way to create a value commitment.

I am about to start work on implementing commit for Balance. This is what I have in mind:
For a blinding factor $b$, a vector of values $v_1, ..., v_n \in F$, and $G$, $H$ group elements:
$$bH + \sum_{i=1}^n (sign(v_i) (v_i G)$$
sign is negative if the respective Balance entry is Required, positive otherwise.
Does that make sense?

Hey @erwanor—we realized we made a mistake in conceptualizing this change, and it's on the critical path for some other changes we're going to make. We're going to take this one over the finish line, continuing from the PR #1430 you made, and credit you in the changes, of course. Thanks for helping out on this one!

Ok np, thanks for the heads up


Collectd link is dead

Github collectd readme link is dead:
URL for relevant page?
https://docs.influxdata.com/influxdb/v1.7/administration/ports/
What products and version are you using?
1.7
Where did you look before opening the issue?
https://docs.influxdata.com/influxdb/v1.7/administration/ports/

Thanks for this! 👍


KlineInterval Week1 wrong

Describe the bug
KlineInterval.cs
[Map("1w", "Week1")]
OneWeek,
https://mexcdevelop.github.io/apidocs/spot_v3_en/#enum-definitions
Kline Interval
1W 1 week
please change it. thanks

Has been fixed


Launch with Gradio share

Hey, thanks for making this.
I was able to get it to run but is there any way to set share=True in the launch function? It doesn't appear to be among the args I can set in docker_compose.yaml, as kohya_gui.py doesn't normally accept it.

Ah, I figured out a way, I just had to exec into the container shell and then use vim to edit kohya_gui.py.

I will plan to add it when the upstream add it, I'm not making a fork to improve but merely to dockerize the existing container :)


Sidebar Follow button customization

What
Hi Team,
as usual excellent work on the plugin.
I have a feature request, its not a bug request but a continuation of #427
What i am asking for is customizability of the widget with following options.

Change the text of follow button.
Show hide the icon
Show hide the name and fediverse id of the blog
Make a button only version of the widget

What i am hoping to have with this is

A single button follow me on fediverse on sidebar.
Full follow option goes in the pages.

Why
more customizability and tweaking capability.
How
sample text only button.

Editing the button text and allow for "button only" sound like good enhancements 👍🏻

I'm still using the Twentythirteen theme on my self-hosted site. When placing the Follow button widget in the bottom widget area along with other widgets, the div gets so narrow the text is cut to basically the first 2 or 3 letters. I guess I could edit the theme CSS, but if there were some way for the plugin to handle minimum width of the containing <div> to ensure it's fully visible, that'd be sweet, too.


Generating VAPID private / public key

How could I generate a suitable VAPID private / public key?
Maybe this library should also have a function to generate the keys?

As you can see in the documentation WebPushBuilder.with_vapid simply takes an ES256KeyPair, as defined by the jwt_simple crate, which is also re-exported at the root of the web-push-native crate. You should therefore be able to use ES256KeyPair::generate to generate a suitable key pair.
I hope this answers your question!

Thanks a lot, just what I was looking for.

Great! In that case, I will close the issue now. Feel free to reopen or create new issues if anything else is unclear.


How to get demo file ./public

How to get demo file ./public

How to Use log

The logging plugin is registered to the RPluginCollection and can be obtained using Plugins.Use<ILogger>(). Then you just call the logging method that best fits your need on the object returned.
I am not quite sure what you mean by demo file

I am not sure what you meant by demo file. But i have updated the examples. I hope these can help you.

Thank you


Fixed broken link

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Word andPhrases Score
CorrectnessScore
Scorecard
Processed

globalization/index.yml
100
100
100
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx


[Pg] Fix many introspection issues

Addresses #1210, #1928, #1625, #2315, #2714, #1633, #1648.
This PR aims to fix many introspection issues for the PG dialect in Drizzle Kit.
Summary of fixes

Handle sql values:

id: integer("id").default(nextval('deal_id_seq'::regclass)).primaryKey().notNull(); // Current
id: integer("id").default(sql`nextval('deal_id_seq'::regclass)`).primaryKey().notNull(); // Fix

Wrap string in quotes if the column name is an invalid object key:

top:detected: tinyint("Top:detected"); // Current
'top:detected': tinyint("Top:detected"); // Fix

Handle default null:

create table "users" ( "phone" text default null::text );

phone: text("phone").default(NULL::text); // Current
phone: text("phone"); // Fix

Correctly reference enums in different schemas:

const auth = pgSchema("auth");
const aalLevelInAuth = auth.enum("aal_level", ['aal1', 'aal2', 'aal3']);

aal: aalLevel("aal"); // Current
aal: aalLevelInAuth("aal"); // Fix

Fix enums "overlapping" with native types:

const timeLeft = pgEnum("TimeLeft", ['VERY_LONG', 'SHORT', 'MEDIUM', 'LONG']);

timeLeft: time("timeLeft").notNull(); // Current. This happens because the enum began with "time" and the native "time" got picked up instead
timeLeft: timeLeft("timeLeft").notNull(); // Fix

Thanks! I fixed most of the same issues yesterday, so I'll merge your PR and find the places where we have common fixes and what you additionally fixed

I'll close this one as long as it had a lot of conflicts with another implementation that was fixed. I took some ideas from this PR, like removing "::" mappings in introspect and some array type default handlers
I didn't merge it, because it would have caused more problems and taken more time to resolve
Thanks a lot for you work


crash if variables present more than once in LHS of the same assignment

Here is some code that cause Yosys 0.6 (git sha1 5869d26, clang 3.4-1ubuntu3 -fPIC -Os) to fail:
// File: testcase_order.v
module testcase_order
(
   input ai, bi, ci,
   output reg ao, bo, co
);
   always@*
   begin
      ao=ai;
      bo=bi;
      co=ci;
      {co,co,bo,ao} = {ai,bi,ai,ci}; // Error: multiple assignment to 'co' with blocking assignment
   end

endmodule

When same variable 'co' assigned more than once in same statement (inside concatenation) seg-fault happen. Although presented code is a bad coding style (AFAIK, IEEE-1364 doesn't specify order in which assignment should be made inside same assign), I believe tool should not fail.
Tool invoked with:
yosys -q -p "read_verilog testcase_order.v; proc;"
GDB log looks like this:

#0  Yosys::RTLIL::SigSpec::operator= (this=0x7ffd5551b3c8, other=...) at kernel/rtlil.cc:2339
#1  0x00000000004f8876 in Yosys::RTLIL::SigSpec::SigSpec (this=0x7ffd5551b3c8, other=...) at kernel/rtlil.cc:2298
#2  0x000000000071fe72 in (anonymous namespace)::SigSnippets::insert (this=0x7ffd5551b6a0, cs=0x236cba0) at passes/proc/proc_mux.cc:101
#3  0x000000000071f8a3 in proc_mux (mod=, proc=, mod=, proc=) at passes/proc/proc_mux.cc:359
#4  (anonymous namespace)::ProcMuxPass::execute (this=, args=..., design=0x2352c40) at passes/proc/proc_mux.cc:402
#5  0x00000000004c54cd in Yosys::Pass::call (design=0x2352c40, args=std::vector of length 1, capacity 1 = {...}) at kernel/register.cc:227
#6  0x00000000004c518a in Yosys::Pass::call (design=0x2352c40, command=...) at kernel/register.cc:207
#7  0x00000000007196f5 in (anonymous namespace)::ProcPass::execute (this=, args=..., design=0x2352c40) at passes/proc/proc.cc:81
#8  0x00000000004c54cd in Yosys::Pass::call (design=0x2352c40, args=std::vector of length 1, capacity 1 = {...}) at kernel/register.cc:227
#9  0x00000000004c4fbe in Yosys::Pass::call (design=0x2352c40, command=...) at kernel/register.cc:184
#10 0x000000000051a1fa in Yosys::run_pass (command="read_verilog testcase_order.v; proc;", design=) at kernel/yosys.cc:861
#11 0x00000000004c2c7a in main (argc=, argv=) at kernel/driver.cc:362

Thanks for the bug report! I've now fixed this problem in commit 766032c5f85e33c8aabb69d1868c3493f254695f.


Swift package manager not supported

Swift package manager not supported

...or at least its not working. There is a Package.Swift that looks like it worked sometime in the past but now it does not load into a clean project with only this dependency

Haven't tried in a long while. If it works for you it's probably fixed

Closing as not reproducible.


Feature/aws region 4.x

Description
Continuing from #1070 for the 3.0 branch.
Added support to show AWS region if it is set either by ENV or in the AWS configuration files.
Screenshot

you no like my commits?

This PR is closed automatically because 4.x is already merged. Can you open the same PR for master?


Add support for torch>=2, torchvision>=0.15.2, onnx>=1.14

Miscellaneous changes to support latest versions of torch, torchvsion, and ONNX. This adds tests for more torchvision models. I also paired down the torchvision tests to speed things up. There are a couple marked as xfail that I still need to work on.
@pgleeson, I cleaned up some stuff in the CI as well.

Re-enable python 3.10 testing on full package
Re-enable windows testing on full package
Install graphviz with a setup-graphviz action, this works on all platforms it seems.
Consolidate windows and linux\mac testing, these got separated at one point, not sure how.

Thanks @davidt0x, will try it out.

Hey @pgleeson, which version of onnx were you seeing failures? I tried 1.12 (current is 1.14) and it is passing.

@davidt0x I think the issue was pytorch 1.11 with the later versions of the onnx libs was causing the "old" form of the node ids to be generated, see this commit: https://github.com/ModECI/MDF/commit/722222459cab9f52c1c87cc0fba41604475d7a09


Use mvn dependency:analyze to analyze the pom and make the build smaller

Summary
Right now there are a lot of unused but included jars in our jars, we should take a pass through it and reduce our dependencies
Urgency
ASAP, but not urgent

#10201 #10156


ClientValidation broken with script tag in attribute label

What steps will reproduce the problem?

Create a form and model with attribute label e.g. Test Label<script>alert("1")</script>
Without enableClientValidation the attribute label is properly encoded
With enableClientValidation a script alert is shown and broken HTML appears

Additional info

Q
A

Yii version
2.0.latest

PHP version
any

Operating system
any

Please provide the code used to place the label in the view.

Here a example:
Model:
class Example extends ActiveRecord
{
    public function attributeLabels()
    {
        return [
            'newPassword' => Yii::t('base', 'New password').'<script>alert("1")</script>',
        ];
    }
   // ...
}

View:
    <?php $form = ActiveForm::begin(['enableClientValidation' => true]); ?>
    ...
    <?php echo $form->field($model, 'newPassword')->passwordInput(['maxlength' => 45]); ?>

Hmm, I can see that label is not encoded by default. It was long time ago last time I checked this but isn't it by design?  enableClientValidation has nothing to do with it.

Hmm, here attribute lables seems to by encoded by default. Screenshot of the example code:

Oh, I see, so the label is placed as is as a part of client validation JS code.

I can confirm labels are indeed encoded but apparently not when used inside the JS.

We should encode them for JS as well.


Edit ReStyle’s inversion  by InterFaceGAN

In ReStyle’s paper Figure 8, you shown edit ReStyle’s inversion  by InterFaceGAN .
did  you edit latent in w_plus latent space by used the age weight in w latent space of  InterFaceGAN ?
for example :
latent_codes = np.load('boundaries/stylegan_ffhq_age_w_boundary.npy')
ws = torch.from_numpy(latent_codes).type(torch.FloatTensor)
ws = ws.to(self.run_device)
wps = self.model.truncation(ws)
results['wp'] = self.get_value(wps)

or you trained a new age weight in w_plus latent space of  InterFaceGAN ?
I want to edit real image by ReStyle and InterFaceGAN. I think your inversion method  is better than their method !

yesterday I made a  test to edit latent code by InterFaceGAN in InterFaceGAN code and ReStyle.
InterFaceGAN:
the image InterFaceGAN generate without edit :

the image InterFaceGAN generate with age edit by 'boundaries/stylegan_ffhq_age_w_boundary.npy' :

ReStyle
the input image that InterFaceGAN generate without edit :

the image ReStyle inversion by restyle_psp_ffhq_encode.pt:

the output ReStyle generate with age edit :

the method edit age in ReStyle by InterFaceGAN:
psp.py/class pSp
bound_dir = 'boundaries/stylegan_ffhq_age_w_boundary.npy'
boundaries = np.load(bound_dir)
age_attr = -2.6 #@param {type:"slider", min:-3.0, max:3.0, step:0.1}
boundaries = boundaries * age_attr
latent_codes = torch.from_numpy(boundaries).type(torch.FloatTensor)
ws = latent_codes.to(self.opts.device)
print('ws.size =', ws.size())

truncation = TruncationModule(resolution=1024,
                         w_space_dim=512,
                         truncation_psi=0.7,
                         truncation_layers=8)
truncation = truncation.to(self.opts.device)
wps = truncation(ws)

print('codes.size =', codes.size())
print('wps.size =', wps.size())

codes = codes + wps

Is there anything wrong ?

To answer your first question, to edit the images we used the boundary direction in w. However, their official implementation finds directions in StyleGAN1 whereas we use StyleGAN2. So the directions provided in InterFaceGAN's repo will not be useful if you want to edit with ReStyle. (I think this may be why you don't see meaningful edits here)
Instead, we used the implementation to find new directions in StyleGAN. You can find some directions in the following repo:
https://github.com/omertov/encoder4editing/tree/main/editings
Then to edit the image, we used the following class which you may find useful as well:
https://github.com/omertov/encoder4editing/blob/main/editings/latent_editor.py
For example, you will notice the following function:
https://github.com/omertov/encoder4editing/blob/2795aa93714e03ce4d8b70d4d803e4718f5c63d4/editings/latent_editor.py#L18
where:

latent is the W+ latent code you wish to edit
direction is the direction of the edit (e.g., direction = np.load("path/to/boundary")
factor_range is the range of the edit strength you want to apply (e.g., (-5, 5))

Let me know if you have any additional questions

I see ! pretty good！
How did you get the boundary (e.g., age.pt) ? Did you train StyleGAN2 by InterFaceGAN ?

Did you train StyleGAN2 by InterFaceGAN ?

Exactly. We used the official InterFaceGAN repo and made some small changes to support running on StyleGAN2.

Did you train StyleGAN2 by InterFaceGAN ?

Exactly. We used the official InterFaceGAN repo and made some small changes to support running on StyleGAN2.

OK，thank you!  try!


fatal error: 'capstone/capstone.h' file not found

Output
/bin/sh /Users/<user>/.phpbrew/build/php-8.1.8/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/opcache/ -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/opcache/ -I/Users/<user>/.phpbrew/build/php-8.1.8/include -I/Users/<user>/.phpbrew/build/php-8.1.8/main -I/Users/<user>/.phpbrew/build/php-8.1.8 -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/date/lib<EMAIL_ADDRESS>-I/opt/homebrew/Cellar/zlib/1.2.13/include -I/opt/homebrew/opt/bzip2/include -I/opt/homebrew/Cellar/curl/7.85.0/include -I/opt/homebrew/Cellar/libpng/1.6.38/include/libpng16 -I/opt/homebrew/Cellar/jpeg-turbo/2.1.4/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/icu4c/71.1/include -I/opt/homebrew/Cellar/oniguruma/6.9.8/include -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/mbstring/libmbfl -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/mbstring/libmbfl/mbfl -I/opt/homebrew/Cellar/capstone/4.0.2/include/capstone -I/opt/homebrew/opt/readline/include -I/opt/homebrew/Cellar/libsodium/1.0.18_1/include -I/opt/homebrew/Cellar/libzip/1.9.2/include -I/Users/<user>/.phpbrew/build/php-8.1.8/TSRM -I/Users/<user>/.phpbrew/build/php-8.1.8/Zend    -fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS    -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /Users/<user>/.phpbrew/build/php-8.1.8/ext/opcache/jit/zend_jit.c -o ext/opcache/jit/zend_jit.lo  -MMD -MF ext/opcache/jit/zend_jit.dep -MT ext/opcache/jit/zend_jit.lo
In file included from /Users/<user>/.phpbrew/build/php-8.1.8/ext/opcache/jit/zend_jit.c:713:
ext/opcache/jit/zend_jit_disasm.c:24:11: fatal error: 'capstone/capstone.h' file not found
# include <capstone/capstone.h>
          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [ext/opcache/jit/zend_jit.lo] Error 1

Expected Result
Compiled PHP (doi)

Command
Paste your phpbrew install command here (be sure to install with --debug flag, e.g. phpbrew --debug install)
Initially:
phpbrew -d install latest +default +soap +iconv="$(brew --prefix libiconv)" +fileinfo +mysql +openssl=$(brew --prefix<EMAIL_ADDRESS>+fpm +sodium +intl +gd +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)" -- --without-pcre-jit

In an attempt to point opcache to capstone's location:
<EMAIL_ADDRESS>/usr/local/bin/phpbrew -d install latest +default +soap +iconv="$(brew --prefix libiconv)" +fileinfo +mysql +openssl=$(brew --prefix<EMAIL_ADDRESS>+fpm +sodium +intl +gd +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)" +opcache="($brew --prefix capstone)" -- --without-pcre-jit

Build Log
https://gist.github.com/MagicLegend/b8dfcbad7d418237fa09ebf9bbf88f9f

Platform
OS:
MacOS 12.6, M1

Running PHP:
7.4.27
Installing PHP:
latest (8.1.8)

Installing PHP 7.4.27 went fine with this command. How do I disable these other JIT parts, since they appear to be broken on ARM? Note that capstone is installed via brew at /opt/homebrew/opt/capstone, and the header file it's searching for is available at /opt/homebrew/opt/capstone/include/capstone/capstone.h.
Thank you!

And of course right as you give up and post the question, you figure out the answer. The solution is to also add --disable-opcache-jit to the end of the argument list, as I kind of suspected already. However, disabling JIT in general is not a great solution - is there a better more permanent fix?

It helps me, when installed PHP8.1.10 using phpenv.
Thank you !

I prepare fresh and clean Ubuntu 18.04 and try to reproduce the issue.
Some related commands I run are as follows:

Preparing fresh and clean Ubuntu 18.04.
Installing required packages with sudo apt-get install command for PHP versions.
Installing the latest stable PHPBrew version.
Running the phpbrew install 8.1 +default command to install/building the latest PHP 8.1 version.
After compiling/building latest PHP 8.1 version, running the `` command to switch current PHP 8.1 version.
It's worked successfully. Some command outputs are as follows:

......
Congratulations! Now you have PHP with 8.1.13 as php-8.1.13

* To configure your installed PHP further, you can edit the config file at
    /root/.phpbrew/php/php-8.1.13/etc/php.ini

To use the newly built PHP, try the line(s) below:

    $ phpbrew use php-8.1.13

Or you can use switch command to switch your default php to php-8.1.13:

    $ phpbrew switch php-8.1.13

Enjoy!

I think the issue only happens in the macOS and possible solution is available in the previous reply.
I think the issue can be closed now.

I can confirm I always had to disable JIT on OSX as well. I couldn't figure if it was a PHP issue or a PHPBrew one (it looks like it was PHP to me)

I notice that fatal error: 'capstone/capstone.h' file not found message presented in many other C/C++ projects compiling.
Especially it happens on the MacOS 12.6, M1. Maybe we should check the capstone.h file path firstly?
And ensure the running the $brew --prefix capstone command can get the current capstone.h fie path.

@MagicLegend, sorry. I don't have the MacBook M1 and please try to use the following steps at your available time and ensure that:

Running the PHPBrew to build/install latest PHP 8.1 without adding any +opcache variant.
After running above command is successful, running the phpbrew switch  to switch above PHP version.
Running the phpbrew ext install opcache command to try whether the opcache extension with JIT can be compiled dynamically for the PHP.

Finally, I've one MACOS 11.6 and try to use the following steps to reproduce the issue:
cloudxmac@cloudxmacs-Mac ~ % sw_vers
ProductName:    macOS
ProductVersion: 11.6
BuildVersion:   20G165
cloudxmac@cloudxmacs-Mac ~ % brew install bzip2
cloudxmac@cloudxmacs-Mac ~ % ls /usr/local/opt/bzip2
CHANGES                 LICENSE                 bin                     lib
INSTALL_RECEIPT.json    README                  include                 share
cloudxmac@cloudxmacs-Mac ~ % brew install zlib
cloudxmac@cloudxmacs-Mac ~ % brew install<EMAIL_ADDRESS>cloudxmac@cloudxmacs-Mac ~ % brew install oniguruma
cloudxmac@cloudxmacs-Mac ~ % brew install readline
cloudxmac@cloudxmacs-Mac ~ % brew install libzip
cloudxmac@cloudxmacs-Mac ~ % phpbrew install -j 4 8.1.13 +default +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)" +openssl="$(brew --prefix openssl@1.1)"
===> phpbrew will now build 8.1.13
===> Loading and resolving variants...
Homebrew prefix "/usr/local/opt/libxml2" does not exist.
Homebrew prefix "/usr/local/opt/mhash" does not exist.
Homebrew prefix "/usr/local/opt/curl" does not exist.
Checking distribution checksum...
Checksum matched: 93fcfdfaaa3d094a0fdb18ce08d20f20d526ee3f07a146a8a8ec82ce00b237ca
===> Distribution file was successfully extracted, skipping...
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Checking patch for replace freetype-config with pkg-config on php older than 7.4
Found existing build.log, renaming it to /Users/cloudxmac/.phpbrew/build/php-8.1.13/build.log.1670211355
===> Configuring 8.1.13...
......
Congratulations! Now you have PHP with 8.1.13 as php-8.1.13

* To configure your installed PHP further, you can edit the config file at
    /Users/cloudxmac/.phpbrew/php/php-8.1.13/etc/php.ini

* WARNING:
  You haven't setup your .bashrc file to load phpbrew shell script yet!
  Please run 'phpbrew init' to see the steps!

To use the newly built PHP, try the line(s) below:

    $ phpbrew use php-8.1.13

Or you can use switch command to switch your default php to php-8.1.13:

    $ phpbrew switch php-8.1.13

Enjoy!
cloudxmac@cloudxmacs-Mac ~ % phpbrew use 8.1.13
cloudxmac@cloudxmacs-Mac ~ % phpbrew ext install opcache
......
===> Creating config file /Users/cloudxmac/.phpbrew/php/php-8.1.13/var/db/opcache.ini.disabled
===> Enabling extension opcache
[*] opcache extension is enabled.
Done.
cloudxmac@cloudxmacs-Mac ~ % php -v
PHP 8.1.13 (cli) (built: Dec  5 2022 11:41:36) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.13, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.13, Copyright (c), by Zend Technologies

I just encountered this problem, too. The PHP compiler uses capstone, if this module is available. This is the related commit in the php-src repository.
So in my case, i just removed capstone since i doesn't need it anyways. In my case  it was a dependency for qemu.
So @peter279k you may check this, with capstone installed.
$ brew install capstone

Hope this helps anybody.

Just notice that the PHPBrew can be worked successfully after running the brew install capstone command in the MACOS 12.6.

The issue is available in the troubleshooting page.


widgets didnot displays on google devices

why that widgets even not displays on gooogle devices , i test on multiple devices as well as emultors but in widgets options not shows on my app even remaing devices successfullly displays

I don't understand. Where is it not displaying?
Can you share a video?
Widget picker or when you add it to home screen?

yes means in widget picker where we pick all other apps widget didnot show that widget

Please try whether the widgets from the example app from releases page are shown.
https://github.com/sAleksovski/react-native-android-widget/releases
Also, share your apk file, or create a small example project that does not work on Google device, but works on others.

@abrar0123 do you still have this issue, or you figured it out?

I'm closing this since I cannot reproduce it, and there is not enough information.
Feel free to reopen it when you provide a recording of the sample app running in Google device.

i encounter the issue non expo react native

@vincemavill this is not related, @abrar0123 said the widgets were not shown in the widget picker.
For your case check the logs and you will find the error.

@sAleksovski no logs error showing,

There must be something in the log.
If there is nothing in the react native log, check the adb log.


Allow OO_PAUSE_ON_{START,BUILD} pauses to be cancelled

With the "sleep 10" becoming the while condition, one can kill the
sleep to cause the container or build to resume.

@BlueShells gave 👍 in stg PR #1662

ok to test (since I forgot to merge the stg PR)


Remove unused images

Current coverage is 100% (diff: 100%)

Merging #4 into master will not change coverage

@@           master    #4   diff @@
===================================
  Files          11    11
  Lines         211   211
  Methods         0     0
  Messages        0     0
  Branches        8     8
===================================
  Hits          211   211
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update b46c8e1...00203cc


fix: expect single synthetic lock per native lock ID

Closes: #5246
What is the purpose of the change
After doing some investigation, it turns out that we should never have multiple synthetic locks be assigned to a single lock ID. Despite this, some of the functions (such as GetAllSyntheticLockupsByLockup) implied that this was possible by expecting an array of synthetic locks as the return value.
After feeling confident that my understanding of synthetic locks to underlying locks was correct, I removed this from functions and tests to prevent others from being confused in the future (which also indirectly solves the issue I made for migration).
Testing and Verifying

Did a state export of mainnet data and confirmed no locks currently point to multiple synthetic locks
Modified tests in synthetic_lock_test and migrate_test

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Merging since 2 ACKs and all feedback seems addressed


Can I deploy to a service that wasn't created by this plugin?

We have a ECS/fargate service that's managed by terraform. The terraform config includes attaching the service to a target group so it receives traffic from an ALB.
I attempted to use this plugin to deploy a new task definition to the service, and initially I left the target group out of the plugin config as I knew the "create service" code path in the plugin wouldn't be used:
    plugins:
      - ecs-deploy#v1.4.1:
          cluster: "cluster-name"
          service: "my-service"
          task-definition: "deploy/task-container-definitions.json"
          task-family: "thing"
          image: "${ECR_REPO}:${BUILDKITE_BUILD_NUMBER}"
          execution-role: "${ECS_EXECUTION_ROLE_ARN}"

However, deploys failed with this error:
Cannot update a service to add/remove a load balancer. First delete the service
and then run again, or rename the service to force a new one to be created.
Container config differs

I then assumed I might need to include the target group config, even though it wouldn't be used, so I tried this config:
    plugins:
      - ecs-deploy#v1.4.1:
          cluster: "cluster-name"
          service: "my-service"
          task-definition: "deploy/task-container-definitions.json"
          task-family: "thing"
          image: "${ECR_REPO}:${BUILDKITE_BUILD_NUMBER}"
          execution-role: "${ECS_EXECUTION_ROLE_ARN}"
          target-container-name: web
          target-container-port: 3000

However, deploys failed with this error:
Registering new task definition for thing
Registered thing:16
🚨 Error: The command exited with status 1

To confirm the agent running the step has the necessary IAM permissions, I tried a minimal deploy shell script with some sugar around the following commands and it seems to work:
aws ecs register-task-definition --cli-input-json ...
aws ecs update-service ...
aws ecs wait services-stable ...

Hi @yob, so sorry about the long delay. While you did provide a lot of information it is not 100% clear what the actual issue was and/or why it failed. A lot has changed in the plugin since this issue was reported and it is likely it is already solved. If not, don't hesitate to let us know so that we can further review the use case


Running ALTER TYPE ... ADD VALUE ... with prisma on cockroachDB causes prisma migrate dev/deploy to hang indefinitely

Bug description
Generating a custom migration file with the following migration leads to the prisma migration engine hanging indefinitely (with cockroachDB):
-- AlterEnum ALTER TYPE "QuestionType" ADD VALUE 'BINARY';
When running the migration in dev mode, debug mode produces the following:
prisma:schemaEngine:stderr {"timestamp":"2024-09-21T11:10:32.091287Z","level":"INFO","fields":{"message":"Starting schema engine RPC server","git_hash":"b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"},"target":"schema_engine"} +3ms
Seems like the lack of a clear error message is similar to #24975 , where the actual error message faced by the engine is being obfuscated. Because of this, I can't verify the exact error produced when running the migration.
How to reproduce
Generate a migration file using npx prisma migrate dev --create-only after adding an additional value to an enum in the schema.prisma
Prisma generates the migration file with the following: ALTER TYPE "QuestionType" ADD VALUE 'BINARY'; (since the BINARY option was added to the QuestionType enum)
Running npx prisma migrate dev (or deploy) causes the migration engine to hang with the "Starting schema engine RPC server" error message
Inside the _prisma_migrations table in the db, the migration<PHONE_NUMBER>0944_add_yes_no_question containing the ALTER TYPE statement has a finished_at of NULL and an applied_steps_count of 0. The rolled_back_at and logs are both NULL:
Expected behavior
ALTER TYPE "QuestionType" ADD VALUE 'BINARY' should add the BINARY value to the QuestionType enum without the migration failing
Prisma information

// Add your schema.prisma

model Item {
  id                   String       @id @default(cuid())
  name                 String
  itemType         QuestionType
}

enum QuestionType {
  QUANTITY
  PHOTO
  BINARY // recently added to the enum, which resulted in the failed migration
}

Environment & setup

OS: macOS
Database: CockroachDB, using cockroachdb/cockroach:latest (v24.2.0)
Node.js version: v20.2.0

Prisma Version
prisma                  : 5.13.0
@prisma/client          : 5.13.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v20.2.0
Query Engine (Node-API) : libquery-engine b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b (at node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Default Engines Hash    : b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b
Studio                  : 0.500.0
Preview Features        : fullTextSearch

Very, very weirdly, it seems like baselining the database via collapsing all the existing migrations allows this new migration file to execute without issues. This is a non-solution of course, just a matter of interest

Any updates to this issue? @SevInf


I always get this error: "TypeError: Binary Location Must be a String"

I have written this code after the example in this repo:
cookie = "i pasted here the _U cookie"
dalle = Dalle(cookie)
dalle.create("apple")
urls = dalle.get_urls()
dalle.download(urls, "images/")

When I run this code, I get the following error:
TypeError: Binary Location Must be a String
The problem is with the dalle = Dalle(cookie) line.
The fix for this is probably easy, but I just can't figure it out.

Have the same problem,still unsolved.


[Enhancement] Provide an option to hide/unhide the status bar

Summary
Provide an option to hide/unhide the status bar on some pages only, at Xamarin.Forms level, currently one needs to use a DependencyService to achieve this.
API
StatusBarEffect
Properties

API
Description

IsFullScreenProperty
Controls StatusBar visibility (in fact enables/disable FullScreen).

IsFullScreenPersistentProperty
Keep Full Screen enable even after navigating from page that enabled it.

Intended Use Case
My initial goal is to set a page in full screen with an attached effect to it.
Used besides (or even without) Shell.NavBarIsVisible="False"  it will enable full screen mode.
xct:StatusBarEffect.IsFullScreen="True"
What do you guys think?
Scenarios

This can be used on pages that dev want it to be in full screen, like a Login page. Once we navigate away from that page the full screen is restored (to disable it, what if the app was in full screen initially before navigating the page? I guess we will have to keep it then)

<ContentPage xct:StatusBarEffect.IsFullScreen="True" ...

If a dev want to keep the app in full screen even after navigating away from that page (not sure if this would be required)

<ContentPage xct:StatusBarEffect.IsFullScreen="True" xct:StatusBarEffect.IsFullScreenPersistent="True"

Should we trigger Shell.NavBarIsVisible="False" along when is applied ?
Naming
Since it is affecting at app-level maybe a better name is needed xct:AppEffect.IsFullScreen="True"?
Who Will Do The Work?

[x] I am willing to take this on myself
[ ] Just putting this out there for someone to pick up

@jfversluis @pictos Any initial thoughts?

@jfversluis @pictos Any initial thoughts?

@jfversluis @pictos @AndreiMisiukevich Any initial thoughts?

@Cfun1 on Android we have different ways to hide the statusbar as you can see here, do you plan to manage that on android? Do you have any implementation spec?

@pictos I was thinking about the SYSTEM_UI_FLAG_FULLSCREEN only but if you think it better with all so yea.
The only spec I have so far is the one described in the issue, still some questions pending. Also still not clear if such feature will be approved from the usage case point of view.

@Cfun1 I'm ok with this feature, I think that will be a great addition to the lib. Let me see your questions and try to answer them in next hour

1- Should we trigger Shell.NavBarIsVisible="False"/ NavigationPage.HasNavigationBar="False" along when is applied ?
2- Should I follow the same shared effect design in xct, or using platform specific API (will have to take a look on how it works)?

TBH makes sense to hide the navigationBar when the user enters this full-screen mode. We can do for both Shell and NavigationPage, I believe that will be very straight forward to implement;
In this case we can implement this on all platforms (Android, iOS, and UWP)? If yes we can move with the normal effect, if not we need to discuss a little bit more if makes senses to use it as Platform Specific APIs

@Cfun1 since you want to work on this, I already added in-progress label. Please let me know if you can work on this

@pictos sure when i gather the basic bits for this i will send a pr