Generalize 'requires' field of services and binding types

Right now the spec supports 4 types of bindings. For each binding it defines the valid output data format.
These 4 types are very broadly applicable but they seem to be specific for CF use cases. On it's current state the spec would need to be changed to support any additional use case.
Trying to generalize this behavior is in line with the work that has been done in other parts of the spec to remove CFisms.
Right now there are two proposals about how to define the supported bindings and their structure:

Use JSON schema like service parameters.
Use profiles like context object.

Independently of the approach chosen, we can also discuss how we want to roll out these changes. I'm thinking about two possibilities:

A two stage approach: The new solution is introduced, old fields are marked a deprecate. Deprecate fields would be removed in a major version bump.
A one stage approach: The old fields are removed and the new ones introduced in a major version bump.

Personally I prefer using profiles and rolling out the changes in two steps. It would involved more work but we could roll out the change sooner and get it tested, and reduce the risk of a major version release.
Let's hear your opinion!

I'd like to get @zrob's opinion on this one. As far as I am aware, in CF the requires field (an array supporting syslog_drain, route_forwarding and volume_mount) is used so that we can know in advance what type of binding the service is providing, and so that we can interpret the response body when creating a binding.
If this is the case, then providing an alternative way for brokers to advertise the 'type' of service they provide seems like a reasonable step. I'm not sure whether this should be a schema representation of the binding response or just another place to advertise platform-specific binding types.
The problem with the latter is that it is going to encourage platform-specific brokers, which we want to avoid. It would be good to hear if Kubernetes has a plan to support similar services to route services and volume mounts moving forward.

Requires is used as sort of a pseudo-authorization mechanism more so than to interpret the response.
One example is that if a service that does not require syslog_drain in the catalog, actually does return a syslog drain url, then the platform will note this and refuse to allow the syslog functionality.
It helps operators understand what services are doing on their platform and to opt-out of including services that might make undesired changes to app behaviors.  Imagine a service that claims to provide a message queue, but is also draining all logs to some unexpected location that may need security auditing.
This means the requires value is tightly coupled to response data in the binding.  So I'm not sure what the value in platform specific require fields would be, b/c they currently are all tightly coupled to a spec feature, not a platform feature.

Added removing the requires field to the Ideas for v3 page. Closing here.


not sure, but who is to blame?

Be me
clueless, but thanks to llm's recently start playing with python
Just ask AI if something is unclear..
Get trolled by AI
llama? groqpilot? groq?
@unclecode, any idea what happened here? This is unusual, mistakes happen but 3 times in a row?
I don't think that ever happened to me

in the settings, set your "system prompt" to the personality of AI you want, tell the AI how to react to your questions


Automate testing CKF in an airgapped environment

We'll need to ensure that Charmed Kubeflow can work in an airgapped environment.
This issue will be focused on how to setup the test infra, so that we can test an airgapped installation. The goals for this effort are

To replicate as closely as possible the flow we would support for delivering to end users an airgapped CKF installation
To automate all steps we (KF team) need to test that CKF can work in an airgapped environment
To provide an easy way for devs to spin up a testing environment for airgapped CKF

Definitions of done for this effort are:

Have scripts that automate all the artifact generation

Scripts for producing images list for any bundle
Scripts for producing a tar file with all the images used by CKF
Scripts for producing a tar file with all Charms of a bundle

Have script that automates the deployment of CKF in an airgapped environment

Have we asked Solutions QA if they do this sort of testing?  They might have some good tips.


javax.mail.MessagingException: Could not convert socket to TLS;

javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1652)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:534)
at javax.mail.Service.connect(Service.java:313)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javax.mail.Transport.send0(Transport.java:190)
at javax.mail.Transport.send(Transport.java:120)
at com.smattme.EmailService.sendMail(EmailService.java:149)
at com.smattme.MysqlExportService.export(MysqlExportService.java:298)
at com.atcollection.dashboard.setting.Setting.lambda$emailBackup$0(Setting.java:205)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)

Hello @ahmadbintariq4u
This exception has to do with Java mail not able to communicate with Mailtrap. You should check your Mailtrap config, the email port is usually 2525 and the username and password are usually alphanumeric and not your Gmail account

@SeunMatt  Thanks bro.
one more thing.. Is the EMAIL_FROM && EMAIL_TO is the gmails?

The EMAIL_TO is the email where the zipped backup files will be sent, it can be any valid email - Gmail or others.
The EMAIL_FROM can also be any valid email address.

cc @ahmadbintariq4u


Jupyter doesn't work with anaconda

Environment data

VS Code version: 1.33.1
Extension version (available under the Extensions sidebar): 2019.4.2
OS and version: macOS Mojave 10.14.3
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.1 Anaconda 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: N/A

Expected behaviour
Jupyter loads correctly
Actual behaviour
it fails to load with anaconda
Steps to reproduce:

select code
shift + enter

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Executing code failed : Error: Activating Python 3.7.1 64-bit ('py37': conda) to run Jupyter failed with Error: Command failed: . /anaconda3/envs/py37/bin/activate && conda activate py37 && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python /Users/zohaad/.vscode/extensions/ms-python.python-2019.4.12954/pythonFiles/printEnvVariables.py CommandNotFoundError: 'activate is not a conda command. Did you mean 'source activate'? .

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX

This is not datascience specific. I think the error is we're using '. ' instead of source, although from this
https://github.com/Microsoft/vscode-python/blob/b741e1af6d53cdf94765a6708964d489bd558ff8/src/client/interpreter/activation/service.ts#L105
It looks like it was on purpose.

@DonJayamanne @rchiodo @xhochy
Building the latest extension version from github master, activation errors still persist with conda.
Basically, before a recent PR (#5516, #4402), I think it was trying to do something like this, which is wrong:
$ <ENV>/activate

Error: activate must be sourced. Run 'source activate envname'
instead of 'activate envname'.

Now it's trying to do something like this (but it's also still wrong!):
$ source <ENV>/bin/activate

Error: no environment provided.

It should be either this:
$ source <ENV>/bin/activate <ENV>

Or, as a matter of fact, conda guys officially suggest using conda activate and conda deactivate instead of sourcing things manually: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#activating-an-environment

The only way I can make it work (and this is on conda/macOS) is replacing the <ENV>/activate script with this one-liner:
export $PATH=<ENV>:$PATH

This is weird. The latest nightly is working for me with conda 4.6. What conda version do you have installed?

@xhochy conda is 4.6.14, the extension I've just built from the latest master, with a clean install.
Again, seeing what the extension is trying to do - e.g., even jupyter aside, if you select some code and shift-enter, it tries to fire a python console, like this: source <ENV>/bin/activate, which doesn't seem right.

@xhochy If you simply 'run file in the terminal', does it paste source <ENV>/bin/activate there, or something else?

@xhochy I did a bit more debugging.
Turns out I do indeed have conda 4.6, but that particular environment was created long time ago with an older version of conda (probably 4.5 or, less likely, 4.4 - it's hard to tell). With freshly-created environments the problem doesn't happen.
But this is all very implicit and obscure. IMO either the extension should support a wider range of conda environments, or it should fire an explicit warning saying "please recreate it with a latest conda" (which is not so nice...).
One thing to note: newer conda environments do not even have the <ENV>/bin/activate script at all within the environment. They also don't have conda executable within the environment by default.
With this in mind, if the extension didn't try to source the activate in older conda environments, it would then work for all conda versions? (as in, for all environment versions) I'm still not sure why it's trying to do that, and it sounds more like a bug than a feature.

Also experiencing this issue with conda 4.6.14 on Ubuntu 18.04. I believe that conda activate should be used instead of . activate as @aldanor suggested.

I changed the .bashrc file from:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/opt/miniconda3/etc/profile.d/conda.sh" ]; then
        . "/opt/miniconda3/etc/profile.d/conda.sh"
    else
        export PATH="/opt/miniconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

to
export PATH=$PATH:/opt/miniconda3/bin

And everything works as expected.

The plugin tries to find a conda executable from the same or upper directory of current interpreter (https://github.com/DonJayamanne/pythonVSCode/blob/f590f9c89ae5ee31f33bc66626e9f8279ea17763/src/client/interpreter/locators/services/condaService.ts#L249)
but the conda executable is located in <conda_path>/condabin in current version.
So what the problem with just run the conda command from PATH ?

Maybe this is related: Activating a local conda environment (in ${workspaceFolder}/env) also fails, because conda tries to find a global environment called 'env'. VS Code gives this error:
Executing code failed : Error: Activating Python 3.7.3 64-bit ('env': conda) to run Jupyter failed with
Error: StdErr from ShellExec, Could not find conda environment: env
You can list all discoverable environments with `conda info --envs`.

I have conda 4.6.14 and VS Code Python Extension 2019.6.24221.
On the other hand, using a local virtual environment created using python -m venv venv works just fine.

What have helped me is to install VS Code from the Anaconda Navigator and starting the application from there. Not sure if it will help you though. (macOS)

https://github.com/microsoft/vscode-python/issues/8928 Might resolve this

may I take this up?


DR-> Change log search does not show correct data when searched by "Changed by" info

Scenario:

Navigate to the DR on TEST environment: https://test-data.bcparks.ca/admin/
Navigate to the Change log page
Try to search for all the records changed by one of the admins (eg<EMAIL_ADDRESS>Check if the search results show accurate data.

Expected:

Issue:

Incorrect search results are displayed when trying to search by a user's name/email.

https://github.com/bcgov/parks-data-register/assets/65190263/f73641d8-cb48-410e-b906-2e71dc59dcaf

This is high priority to re-test with data and then if needed resolve. Moving into sprint.

@JLWade @manuji @marklise curious if this just happens because the @ symbol is handled by Opensearch as a sort of delimiter. I spent a minute with the search: manuji returns nothing. manuji.samara returns all records edited by Manuji (because manuji.samara is a full continuous string, whereas manuji is only part of the string and therefore not indexed like it would be in a true fuzzy search<EMAIL_ADDRESS>returns all emails with the gov.bc.ca suffix.
Changing data in TEST will not fix this problem, rather we would have to look at how our Opensearch service is preparing its indexes, for example trimming the @gov.bc.ca from changelog records. Personally I think how it functions now is intended behaviour.

Will be fixed in #353

Tested on November 4, 2024 - I don't believe this was solved as part of #353. Also noticed that if I searched by my first name - I got results. If I searched by my last name, I received no results. Moving to low priority for now.

@LindsayMacfarlane You in TEST? 'Lindsay' returns hits because you renamed the item including the string 'Lindsay' in some of the names. Hence 'Lindsay' returns items while 'Macfarlane' does not, for the same reason outlined in my last comment on Jan 15. The index is set up to return matches for full text strings, not partial ones. Therefore 'Lin' will not return any results that would otherwise be returned by searching 'Lindsay'.
Editing this behaviour in the index is possible but quite involved, and probably won't be worth the squeeze. Either way, it is not a bug. The search works as designed, and queries on every field. It just so happens that we haven't enabled OpenSearch to do that partial string search - we looked into it, we can do it, but it jacks up the cost of cluster maintenance because it requires more processing power. Is it really necessary for the product as it is? Or can we just look through the changelog by searching for lindsay.macfarlane when we want park name items edited by<EMAIL_ADDRESS>Recommend closing with wontfix tag.


Remade the scripts.

Recreated the scripts using the youfucktube.py file as a list of common functions.
There are now 2 scripts, one is a CLI version and the other is a GUI version.
Some parts of the youfucktube.py script were removed because they were interrupting the start-up of the GUI script.
Not sure if this is the correct way to do it, but it seems to work alright.
The CLI version works properly.
The GUI version does as well, there is one issue where the executable displays error message for the CLI version, specifically the "Copy to clipboard" message.
YouFuckTubeGUI.zip

Thank you very much. I'll merge the PR and take a look.

Just saw what you did with the src folder, I can probably get rid of my youfucktube.py and incorporate the changes in the CLI and GUI scripts.

Hey, I just merged the import branch into main. Now all works. Thanks for your help. Great work.
If you want, I have two ideas to slightly improve:

you could add, that the gui-version automatically works when pressing ENTER, after inputting the URL
you could add, that the gui-version automatically uses the clipboard, when there is a valid youtube-url present in the clipboard.

But that's just me rambling. If you have time and are in the mood, maybe you could add that.

Hey, I just merged the import branch into main. Now all works. Thanks for your help. Great work.
If you want, I have two ideas to slightly improve:
* you could add, that the gui-version automatically works when pressing ENTER, after inputting the URL

* you could add, that the gui-version automatically uses the clipboard, when there is a valid youtube-url present in the clipboard.

But that's just me rambling. If you have time and are in the mood, maybe you could add that.

Just saw the fixes you did as well, thanks a lot. I'll see if I can add some features to it later on, also try to get the executable working as well, mostly glad it works.
It's been fun trying out python, thanks again for the help you were ridiculously quick. I've got exams coming up so it might take a while to actually add anything.

You are welcome. Good luck with your exams.


Add reversible network

This is a feauture request rather than an issue. Since the complexity of this attention is still quite high it would be nice to have the option of making the network reversible like some of your other implementations. It would enable users to choose a bigger k or batch size. Otherwise thanks for all your amazing work!

@PhilippMarquardt it is possible to use Linformer type attention here! https://github.com/lucidrains/linear-attention-transformer/ Which has reversibility built in!

@PhilippMarquardt I threw in reversibility in the most recent release, hope you find it helpful!


Settings management and bring back right sidebar in admin panel

Right sidebar of admin-lte backend theme was disabled for some reason. Bring it back with sample data if we don't have anything to show there for now.
Update: Need to implement a settings management which will utilize the sidebar perfectly.

Adminlte layout and color settings should be managed in settings module.


Add Dev Configuration Files - execution failed

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.84
OS Version: macOS Sonoma 14.1.2
Dev Containers extension version: 0.321.0

Steps to Reproduce:

press command + shift + p
write Dev Containers: Add Dev Configuration Files and press enter
select Alpine or any container template
Default and OK to everything
A window with the next message will appear:

If I switch to a previous version 0.255 the extension works perfectly.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.84.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.84.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

yes, I have the newest version of VSCODE


DataDog integration

Here is the basic setup for DataDog integration, appropriate hookups to the front end are forthcoming in the next PR.

You might also want to update the readme to explain where datadog keys should go.
Other than my comments it looks good to me.

@drewcoo theres quite a bit that needs to be added to the readme, we have a separate Jira ticket for updating it.


Unable to decode older JXL file using C API again

Hello,
I downloaded genessa8.jxl from the old issue:
https://gitlab.com/wg1/jpeg-xl/-/issues/228
and I am unable to decode it using C API again. This problem was fixed in the past but it is happening again.
djxl can convert it but with warning:
Warning: could not decode losslessly to JPEG. Retrying with --pixels_to_jpeg...
jxlinfo gives following messages:
jxlinfo genessa8.jxl
box: type: "JXL " size: 12
box: type: "ftyp" size: 20
box: type: "jbrd" size: 2894
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/jpeg/jpeg_data.cc:106: JXL_FAILURE: Unknown app marker type 7
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/fields.cc:618: JXL_RETURN_IF_ERROR code=1: visitor.Visit(fields)
/var/tmp/portage/media-libs/libjxl-9999/work/libjxl-9999/lib/jxl/jpeg/dec_jpeg_data.cc:23: JXL_RETURN_IF_ERROR code=1: Bundle::Read(&br, jpeg_data)
Decoder error
Couldn't print basic info

It looks like this jxl file has corrupt jbrd data. It was likely encoded by an encoder from before the jbrd data spec was finalized.
The jxl codestream data itself is fine, so the image can still be decoded, but it's not possible to reconstruct the original jpeg bitstream.
In the C API we'll have to decide if we want to treat such input as corrupt (because the jbrd is invalid) or as a valid image until you try to reconstruct the jpeg bitstream. @lvandeve any opinion on this?

I think there's not much we can do about this right now. Newly created files should work flawlessly.
Thanks for the input in any case!


Test suite fixes

This PR fixes a few test cases that were failing. And improves the runner to make it easier to track down these kinds of problems.

Nice! Series looks good to me.


HelpingMapper.swift: Invalid redeclaration of '<--' which differs only by the kind of optional passed as an inout argument ('Transform.Object!' vs. 'Transform.Object?')

Xcode gives redeclaration warnings.
Invalid redeclaration of '<--' which differs only by the kind of optional passed as an inout argument ('Transform.Object!' vs. 'Transform.Object?')

Hi @shroff-kandarp , is it causing any problem for now?

Ok sure, will look into it. Also, let me know if you are facing any issues with current client.

Hi @shroff-kandarp , i have updates library to support swift 4.2. Try to update it. Let me know if you face any issues :)


file.path -> here

https://github.com/yangclaraliu/COVID19_NPIs_vs_Rt/blob/f71a74575722678dcf4171a2b0daff31c17963a3/0_LoadData.R#L10
You can use here to do this for you rather than combining with file.path

a2831768fcafe611ec46c098113927926b82d732


Deprecation of ExportViewFormMixin

ExportViewFormMixin was introduced in #692
It allows for an export to take place from an HTTP call.  It seems that there is no authorization required.  In the example app:
curl http://localhost:8000/export/category/

It is not an obvious security flaw because it has to be defined in the urls.py in order to be available.
I don't know if this is working correctly because the format dropdown is returned in the response.
It is not documented and I have not seen any issues or questions related to it.
Do we still need this, or should it be deprecated?  If it is needed, then it should be documented appropriately.  Perhaps DRF would be a better bet for this use-case?

Re-opening so that we remember to remove this logic in a future release.


Security Issue

Can you disable accessing local files via file:// method?  I know you gave a warning about this. Maybe you want to completely disable this feature.
You don't want this though..

Now implemented the (disableable) file: scheme blocking in commit 9026fb231e74eff1d5ac8c9671795a604df25597; it will be included in the next release.


chore: fix syntax error in release-please manifest config

Fixes #8151

The branch is not protected (yet). Feel free to merge it.


Change Host Detection Result to "N/A" for Attached Payloads

💡 Summary
In the payload table, please change Host Protection to "N/A" (in grey) for payloads that have "Attached" in the payload description.
Motivation and context
During testing, the RPT operator walks the client through downloading 30+ payloads from a webpage and attempting to execute those payloads. Some subset of those same payloads are then sent via email as attachments to test the email firewall. As the user already attempted execution of these same payloads in the first half of the assessment, the RPT operator does not ask them to attempt execution again. As such, the payload is not tested against host-based IDS when it is sent as an attachment.
Listing these attached payloads as "N/A" for "Host Protection" would prevent confusion on the part of the recipient and also prevent them from being double counted in the summary paragraph.
Implementation notes
I manually made the change in the most recent TPT Report, so you can refer to that in the sharepoint to see what what I mean.

@JCantu248 - Do you mind taking a look at this one.


Possibility to inline styles

Is it possible to inline class rule as style property of react component?

This tool is designed for CSS Modules not React(and any specific template engines).


Pass container name properly to EE cleanUpContainer xargs command

Fixes #1530.

Moving back to draft temporarily, as additional errors are showing up.


Text Diff Checker don't compare trailing whitespace

123 vs 123                   is same

I think he trim() every line, LOL
123                  vs     123  is same
and
 123
123

vs
123
123

is same too

@kokoropie @LeDuyViet Just fixed it.
Due to caching, you may need to clear cache to update the app on your browser.

Problem solved!


New App Submission (Flexa)

App Logo (Required)

App Details (Required)
Type: Wallet or Dapp
Name: Flexa
Homepage Url: https://app.flexa.network/
Chains supported: Ethereum
App Url (Required - at least one)
Browser Url: https://app.flexa.network/
iOS Url:
Android Url:
Mac Url:
Windows Url:
Linux Url:
Mobile Linking (Optional)
Deep Link:
Universal Link:
Desktop Linking (Optional)
Deep Link:
Universal Link:
Metadata (Optional)
Short Name:
Primary Color:
Secondary Color:

Added on commit 7959fa5ad51ac81791e238b06b4731ec422b3e90


MINOR: Create the MetadataNode classes to introspect MetadataImage

Metadata image classes such as MetadataImage, ClusterImage, FeaturesImage, and so forth contain numerous sub-images. This PR adds a structured way of traversing those sub-images. This is useful for the metadata shell, and also for implementing toString functions.
In both cases, the previous solution was suboptimal. The metadata shell was previously implemented in an ad-hoc way by mutating text-based tree nodes when records were replayed. This was difficult to keep in sync with changes to the record types (for example, we forgot to do this for SCRAM). It was also pretty low-level, being done at a level below that of the image classes. For toString, it was difficult to keep the implementations consistent previously, and also support both redacted and non-redacted output.
The metadata shell directory was getting crowded since we never had submodules for it. This PR creates glob/, command/, node/, and state/ directories to keep things better organized.

Also noting that this significantly changes the directory structure that the metadata shell presents.  We have /local and /image, for example, with whatever is currently under / moving under /image.  We also have no data directory underneath a topic partition.  For example:
tree /
image:
  acls:
    byId:
  clientQuotas:
  cluster:
    1:
      BrokerRegistration(id=1, epoch=6147, incarnationId=M6koIGKwQdCU_PMCtLatew, listeners=[Endpoint(listenerName='PLAINTEXT', securityProtocol=PLAINTEXT, host='localhost', port=9092)], supportedFeatures={metadata.version: 1-11}, rack=Optional.empty, fenced=false, inControlledShutdown=false, isMigratingZkBroker=false)
  configs:
  features:
    metadataVersion:
      3.5-IV2
    zkMigrationState:
      NONE
  producerIds:
    nextProducerId:
      -1
  provenance:
    offset 6, epoch 3, time 2023-05-10T20:06:51.486Z[UTC]
  scram:
    SCRAM-SHA-256:
    SCRAM-SHA-512:
  topics:
    byId:
      8ba_iKksTFagQTBNJksHPw:
        0:
          PartitionRegistration(replicas=[1], isr=[1], removingReplicas=[], addingReplicas=[], leader=1, leaderRecoveryState=RECOVERED, leaderEpoch=0, partitionEpoch=0)
        1:
          PartitionRegistration(replicas=[1], isr=[1], removingReplicas=[], addingReplicas=[], leader=1, leaderRecoveryState=RECOVERED, leaderEpoch=0, partitionEpoch=0)
        id:
          8ba_iKksTFagQTBNJksHPw
        name:
          foo
    byName:
      foo:
        0:
          PartitionRegistration(replicas=[1], isr=[1], removingReplicas=[], addingReplicas=[], leader=1, leaderRecoveryState=RECOVERED, leaderEpoch=0, partitionEpoch=0)
        1:
          PartitionRegistration(replicas=[1], isr=[1], removingReplicas=[], addingReplicas=[], leader=1, leaderRecoveryState=RECOVERED, leaderEpoch=0, partitionEpoch=0)
        id:
          8ba_iKksTFagQTBNJksHPw
        name:
          foo
local:
  commitId:
    f42187de19772e83
  version:
    3.6.0-SNAPSHOT

Whereas with the current version (there is no tree command -- a really nice addition!)
ls /
brokers  features  local  metadataQuorum  topicIds  topics

cat /topics/foo/0/data
{
  "partitionId" : 0,
  "topicId" : "8ba_iKksTFagQTBNJksHPw",
  "replicas" : [ 1 ],
  "isr" : [ 1 ],
  "removingReplicas" : [ ],
  "addingReplicas" : [ ],
  "leader" : 1,
  "leaderEpoch" : 0,
  "partitionEpoch" : 0
}

I don't think this is problematic and does not require a KIP, but would like to confirm.

Also noting that this significantly changes the directory structure that the metadata shell presents.

Agreed. The shell contents are interface-unstable, though.
Maybe someday that will change but so far it has not. Therefore changes don't require a KIP.


[Feature Request]Enforce submission despite test case mismatch

I whould be great to have the ability to force submissions even if there are test case discrepancies.
Like in the following problem, when multiple output results are allowed, we will not be able to submit with cargo-compete.
https://atcoder.jp/contests/typical90/tasks/typical90_z

        --no-test                 Do not test before submitting


Using Mint to install Fumo Mod causes the game's sound effects equalizer to be too loud.

Mod: Fumo DRG Mod
When subscribing to this mod through mod.io, everything works fine.
When obtained and installed through Mint, the sound of the game's "sound effects" category will be very loud, but the sound effect volume in the game settings is not adjusted. The most obvious is the sound of the Autocannon gun or the rock music in the Jukebox, which will directly break the sound.
This problem still exists when manually copying the pak package to the Paks folder without installing it through Mint.

The mod itself is broken and only "works" using the official modding implementation because it fails to load the assets that modify sound volume.


Update qunit to 1.20.0

This updates qunit from 1.18.0 to 1.20.0. It's working
for me on the command line with npm test (as long as you're
using npm version < 3.x) and in the browser at tests.html.

merged in bb50c7da7c8f2c324a464a028a216ec0247896e3, thanks.


Enviro phat not conecting.

Hi,
my enviro phat is not able to be seen on my RaspberryPi. I can't do anything with it, since I don't even see it on I2C bus.
What should I do about it?

Have you followed the instructions and enabled the I2C bus in Raspi-config or the desktop version of configuration settings

Yes,
I have enabled the I2C bus in configuration. I have also installed all drivers with dependencies.

I doubt it is a problem with the Python modules. Go to the Pimoroni Forums
and ask there, or email them for support.
On Wed, 25 Apr 2018, 17:59 CoffeeList1278<EMAIL_ADDRESS>wrote:

Yes,
I have enabled the I2C bus in configuration. I have also installed all
drivers with dependencies.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pimoroni/enviro-phat/issues/32#issuecomment-384359536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALALtzst0ScfWrukOoah9Itw9j6GL8v4ks5tsKt1gaJpZM4TjnkT
.


DLL error prevents cellpose opening

I get the following error when I try to open cellpose:
GUI ERROR: DLL load failed while importing QtGui: The specified module could not be found. GUI FAILED: GUI dependencies may not be installed, to install, run      pip install cellpose[gui]
First I installed cudatoolkit, cudnn, and tensorflow. Then I installed cellpose exactly as described in the instructions on the GitHub page. Do I need to reinstall QtGui? I can't find a python command for installing QtGui.

tensorflow is not required for cellpose, we use pytorch. what is your operating system? did you install the full version of cellpose with the gui? pip install cellpose[gui] or pip install cellpose[all]?
also did you use a new environment in anaconda? that could help in case conflicting versions of pyqt were installed (conda create --name cellpose python=3.8)

I'm guessing this is in windows? I also use windows and do not have this error, here are my package versions:
pyqt5                     5.15.6                   pypi_0    pypi
pyqt5-qt5                 5.15.2                   pypi_0    pypi
pyqt5-sip                 12.9.0                   pypi_0    pypi
pyqtgraph                 0.11.0rc0                pypi_0    pypi

Thank you for your help. I ended ip going to IT help with the College of Science and Engineering at Univ. of Minnesota - Twin Cities and we figured out that Tensorflow was not required and we needed pytorch. Now we have the cellpose GUI working and using the GPU. I'll verify our pyqt versions. We made a new environment in Anaconda Navigator and installed cellpose with

python -m pip install cellpose[all]

.Thanks again for getting back to me.

correct, tensorflow is not required, that's why we recommend making a new environment with no packages and then installing cellpose


Make image URL-s relative in README

📑 Description
Make image URL-s relative in README.
TL;DR does not need a colon.
✅ Checks

[ ] My pull request adheres to the code style of this project if any
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed if any

Preview
https://github.com/szepeviktor/pypi-command-line/tree/improve-r#screenshots 👀

The URLs aren't relative because the same readme file is used in the pypi page for pypi-command-line.
While GitHub does support relative links pypi doesn't. Or am I wrong?

You are right.
https://github.com/pypa/readme_renderer/issues/163


Asm.js check return type from last stmt

Fix how we check if the last asm.js stmt is a return and throw if the type doesn't match
Related OSG 9592312

This change is

@dotnet-bot test Windows 7 ci_dev12_x64_debug

Rebased, squashed and added OS bug number to commit message for tracking


Strange things...

I used your script and strange things are happening here.

Windows Wallet on startup - why? x1

Seconds on timer - why? x2

Windows sandbox install - why? x3

ribbon view on default - why? x4

Powershell folder in documents - okey let's skip

it's only a few minutes after the reboot, so there could be more. 🙉
Script version:

OS informations:

I do not even know what are you writing about. You have execute the 3300 lines script without releiziling what it does on every line of script.
Before executing you NEED to know what you are executing and comment out every line you do not what to be sexecuted.


[7702] Setup Safe infra for devnet indexing

Have you any advance on this issue @akshay-ap  or more context about it?


the minimum value of poly_modulus_degree

Hi,
is the recommended value for poly_modulus_degree 2^10? Where is this value mentioned in SEAL document?
Any reason why this is the recommended minimum value? can it be, say like, 2^9 if possible for SEAL or for other HE implementation or for HE theory?
Best Regards

The poly_modulus_degree has to be a power of two but to be able to perform any homomorphic operations it needs to be larger than a certain amount. The values which are supported in the library are $$N=2^{10}, 2^{11}, ..., 2^{16}$$. The more homomorphic operations you need, the higher N needs to be. You can theoretically go higher than this, but values smaller than that are probably not secure.
I don't know of any fully homomorphic schemes that can have an N smaller than 2^{10}.


Merge Develop into Main

This merges develop into main for release.

Note: Tested with GEOSgcm and latest MAPL and zero-diff!


Using FiLM-Ensemble with different input

First of all, this work is fantastic.
Secondly, the paper has not mentioned any experiment using FiLM-Ensemble with different inputs (like point clouds, for example).
I'm currently working on uncertainty estimation in place recognition and I'm using explicit ensemble to do that. With FiLM, I can create an implicit ensemble (actually using PointNet as the backbone and aggregation layer like NetVLAD), but I have a problem with GPU memory overflow.
To my understanding, the problem comes from during the forwarding pass, where there is the repeat_interleave call.
Is this the efficient way to feed the model with CBN layers?
Have you thought about more memory-efficient ways to feed the model?

Hi, thank you for your interest in our work. It is straightforward to extend the algorithm to any data for instance as you described with PointNet for point clouds. Unfortunately, we haven't thought about more efficient implementation.


'FLAVR is not in the model registry'

I am trying to train / test using FLAVR but i face this issue whether i try to train or test. I have only changed the flavr config file to my own dataset.

Same with TOFlow:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 69, in build_from_cfg
    return obj_cls(**args)
  File "/content/mmediting/mmedit/models/video_interpolators/basic_interpolator.py", line 54, in __init__
    self.generator = build_backbone(generator)
  File "/content/mmediting/mmedit/models/builder.py", line 31, in build_backbone
    return build(cfg, BACKBONES)
  File "/content/mmediting/mmedit/models/builder.py", line 22, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 62, in build_from_cfg
    f'{obj_type} is not in the {registry.name} registry')
KeyError: 'TOFlowVFI is not in the model registry'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "demo/video_interpolation_demo.py", line 89, in <module>
    main()
  File "demo/video_interpolation_demo.py", line 74, in main
    model = init_model(args.config, args.checkpoint, device=device)
  File "/content/mmediting/mmedit/apis/matting_inference.py", line 31, in init_model
    model = build_model(config.model, test_cfg=config.test_cfg)
  File "/content/mmediting/mmedit/models/builder.py", line 60, in build_model
    return build(cfg, MODELS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
  File "/content/mmediting/mmedit/models/builder.py", line 22, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 72, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "BasicInterpolator: 'TOFlowVFI is not in the model registry'"

Same with TOFlow:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 69, in build_from_cfg
    return obj_cls(**args)
  File "/content/mmediting/mmedit/models/video_interpolators/basic_interpolator.py", line 54, in __init__
    self.generator = build_backbone(generator)
  File "/content/mmediting/mmedit/models/builder.py", line 31, in build_backbone
    return build(cfg, BACKBONES)
  File "/content/mmediting/mmedit/models/builder.py", line 22, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 62, in build_from_cfg
    f'{obj_type} is not in the {registry.name} registry')
KeyError: 'TOFlowVFI is not in the model registry'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "demo/video_interpolation_demo.py", line 89, in <module>
    main()
  File "demo/video_interpolation_demo.py", line 74, in main
    model = init_model(args.config, args.checkpoint, device=device)
  File "/content/mmediting/mmedit/apis/matting_inference.py", line 31, in init_model
    model = build_model(config.model, test_cfg=config.test_cfg)
  File "/content/mmediting/mmedit/models/builder.py", line 60, in build_model
    return build(cfg, MODELS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
  File "/content/mmediting/mmedit/models/builder.py", line 22, in build
    return build_from_cfg(cfg, registry, default_args)
  File "/usr/local/lib/python3.7/dist-packages/mmcv/utils/registry.py", line 72, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "BasicInterpolator: 'TOFlowVFI is not in the model registry'"

I meet the same problem. Have you solved the problem?

@Season-Lee
Nah, I believe this repo is still in it's early stages of development. There are unpleasant bugs like these and it lacks documentation. Would be really nice to have at least a proper guide to inference all existing models via python, not scripts

Hey, @Season-Lee and @bottledmind, can you provide your config files, and then we can check what goes wrong?

@LeoXing1996
I've got the previous outputs with default configs. Didn't modify or train a thing
python demo/video_interpolation_demo.py ./configs/video_interpolators/flavr/flavr_in4out1_g8b4_vimeo90k_septuplet.py https://download.openmmlab.com/mmediting/video_interpolators/flavr/flavr_in4out1_g8b4_vimeo90k_septuplet_20220509-c2468995.pth /content/lowres_video.mp4 /content/out.mp4 --fps-multiplier 2 --device 0
and
python demo/video_interpolation_demo.py ./configs/video_interpolators/tof/tof_vfi_spynet_chair_nobn_1xb1_vimeo90k.py https://download.openmmlab.com/mmediting/video_interpolators/toflow/tof_vfi_spynet_chair_nobn_1xb1_vimeo90k_20220321-2fc9e258.pth /content/lowres_video.mp4 /content/out.mp4 --fps-multiplier 2 --device 0

@Season-Lee We forget to import FLAVR in mmedit.models.__init__.py and mmedit.models.video_interpolators.__init__.py.
You can fix those two files as follow:

mmedit.models.video_interpolators.__init__.py:

  from .basic_interpolator import BasicInterpolator
  from .cain import CAIN
+ from .flavr import FLAVR

- __all__ = ['BasicInterpolator', 'CAIN']
+ __all__ = ['BasicInterpolator', 'CAIN', 'FLAVR']

mmedit.models.__init__.py

- from .video_interpolators import CAIN, BasicInterpolator
+ from .video_interpolators import CAIN, BasicInterpolator, FLAVR

 __all__ = [
     'AOTInpaintor', 'BaseModel', 'BasicRestorer', 'OneStageInpaintor', 'build',
     'build_backbone', 'build_component', 'build_loss', 'build_model',
     'BACKBONES', 'COMPONENTS', 'LOSSES', 'BaseMattor', 'DIM', 'MODELS',
     'GLInpaintor', 'PConvInpaintor', 'SRGAN', 'ESRGAN', 'GCA',
     'TwoStageInpaintor', 'IndexNet', 'DeepFillv1Inpaintor', 'Pix2Pix',
     'CycleGAN', 'SearchTransformer', 'LTE', 'FeedbackHourglass',
-   'BasicInterpolator', 'CAIN'
+   'BasicInterpolator', 'CAIN', 'FLAVR'
 ]

We fix this in PR #1186 as well.
Please feel free to contact us if you find any bugs or meet any problems.


orient camera orthographic to resliced images

Can you please help us in orienting the orthographic camera orthogonal to the resliced images. we are able to reslice the stack to the required direction but the camera is still in the old direction.
we need the camera to be orthogonal to the resliced set. the direction can change based on the requirement so we should be able to do it dynamically.
It would be a great help if you can explain us how to set the position of the camera to be orthogonal dynamically
Thanks

Hi @svabhishek29 , that may already work, with some hip cups regarding the auto fit. (#97)
What you have to do is call init (https://github.com/FNNDSC/ami/blob/dev/src/cameras/cameras.orthographic.js#L55) with the right x, y and z cosines and you should be all set.

x cosine: direction to the right of the slice
y cosine: direction to the top of the slice
z cosine: direction orthogonal to the slice

Do you have a jsfiddle by any chance?

the link for js fiddle https://jsfiddle.net/3tcLb309/6/
We have just used the lesson 3 js fiddle and added the code that does the re slice for now. We are not able to calculate the x cosine, y cosine, z cosine, as in we are not understanding how to calculate the values.
is it possible to get the stack to slice in the same direction so that we can move the index slider and get the stack to move in the same direction? instead of the way right now how it is in the example (as in for one image instead of stack)

@svabhishek29, that is a bit messy but see how we compute v1, v2 and normal:
https://jsfiddle.net/3tcLb309/13/

thanks @NicolasRannou. The information you provided was helpful


Create top menu icon navigation of available data

South Africa portal (https://wazimap.co.za/profiles/country-ZA-south-africa/) has this beautiful icon navigation located at the top. This will make the data navigation easy because users don't have to scroll through the whole page. Create/Develop something similar for NepalMap.
South Africa display

NepalMap display

working on it

Hey @ishandongol - a while ago, @arlexgole had created a modern look and feel for NepalMap. May I ask if you could look into it and implement changes.  I think having navigation on the left side, and Google's Material Design approach would be much user friendly.
We'd be very grateful for your help. Pls see below
https://github.com/Code4Nepal/nepalmap_app/issues/243#issuecomment-463049728

Sure, Will look into it.
On Sun, 1 Dec 2019, 12:33 ravinepal<EMAIL_ADDRESS>wrote:

Hey @ishandongol https://github.com/ishandongol - a while ago,
@arlexgole https://github.com/arlexgole had created a modern look and
feel for NepalMap. May I ask if you could look into it and implement
changes. I think having navigation on the left side, and Google's Material
Design approach would be much user friendly.
We'd be very grateful for your help. Pls see below
Code4Nepal/nepalmap_app#243 (comment)
https://github.com/Code4Nepal/nepalmap_app/issues/243#issuecomment-463049728
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Code4Nepal/nepalmap_federal/issues/79?email_source=notifications&email_token=AC3SLAYP73OKQZ3B7EUMTPDQWNM3TA5CNFSM4JSUXCOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFQ6Z2A#issuecomment-560065768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3SLAY3XQKGT6E7H456A3DQWNM3TANCNFSM4JSUXCOA
.

@nikeshbalami I believe this was fulfilled by #80. Can this issue be closed now?

Let's keep this issues alive so that it will be easier for @ishandongol to navigate @ravinepal comment about modernizing the look of NepalMap or we can close this one and create new issues for it: https://github.com/Code4Nepal/nepalmap_app/issues/243

Thank you @ishandongol for working on it and @cliftonmcintosh & @ravinepal for the guidance.
Solved by PR https://github.com/Code4Nepal/nepalmap_federal/pull/80, https://github.com/Code4Nepal/nepalmap_federal/pull/81 & https://github.com/Code4Nepal/nepalmap_federal/pull/97, closing this issue.


Release 9.0

Is 9.0 still scheduled to be released this month?

Assignees: /cc @microsoft/service-fabric-triage

Looks like there are still some people there doing PRs. Maybe they know what is going on?
@sukanyamsft @craftyhouse @peterpogorski

@craftyhouse can we get an update on when this release that is supposed to include .NET 6 support will be released?
I assume this is also going to mean you are supporting .NET 6 in linux clusters.

I received confirmation from MS Support stating that  .NET 6 will be supported in v9.0 (didn't go down to the level of windows vs linux)
No firm date on when v9.0 will be dropped; however, they are expecting to know by the end of the month.

Readme.md mentions a tentative release date of May 2nd that would be confirmed April 20th. That second date has passed but I don't see any confirmation in this repository, the SF Team blog or any other channel. Does anyone (preferably someone from the SF team but otherwise someone else that actually does reply) know if 9.0 release is still on for May 2nd?

Readme.md mentions a tentative release date of May 2nd that would be confirmed April 20th. That second date has passed but I don't see any confirmation in this repository, the SF Team blog or any other channel. Does anyone (preferably someone from the SF team but otherwise someone else that actually does reply) know if 9.0 release is still on for May 2nd?

https://www.youtube.com/watch?v=QMpQp4vYWn0 here is the q&a where they talk about the release

Release notes: https://github.com/microsoft/service-fabric/blob/master/release_notes/Service_Fabric_ReleaseNotes_90.md


feat(dashboard): add assetlinks.json for Android app link verification

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to add an assetlinks.json file with delegate permission for common login credentials for the Android app com.thirdweb.demo.
Detailed summary

Added delegate permission for common login credentials in assetlinks.json file
Targeted Android app with package name com.thirdweb.demo
Included SHA-256 certificate fingerprint for verification

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4039  👈
main

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

Join @joaquim-verges and the rest of your teammates on  Graphite


WIP: coordinated multiple views via coordination objects (one possible implementation)

Note:

Please view this as just one option for implementing coordinated multiple views. I am sure there are many other possible implementations that look different than this and have different trade offs. Please share other options or improvements as you find / think about them.

This pull request is one example of an implementation of the coordination object model proposed by Boukhelifa and Rodgers (Information Visualization 2003).
Below left is Figure 1 from Boukhelifa and Rodgers. Below right is that figure adapted to the Vitessce view config and implemented in this pull request (view the diagram on google drawings here).

Please see the changelog for information about what has been changed so far. Linking functionality so far includes HeatmapSubscriber pan/zoom and ScatterplotSubscriber pan/zoom. Demos that have been partially migrated to the new view config schema include dries-2019 and linnarsson-2018
Eventually, we could implement a UI to allow the user to view and update the mappings from components to "coordination scopes"

For example, in the above mockup, notice that the PCA and t-SNE scatterplots have different coordination scopes for the "Cell Color Encoding" coordination type. Perhaps the value of the Cell Color Encoding coordination object looks like { A: 'cell-set-colors', B: 'gene-expression' }, meaning that the PCA scatterplot cells would be colored by the colors of the currently-selected cell sets, while the t-SNE scatterplot cells would be colored by the gene expression values of the currently-selected gene.
Notice that "Dataset" is also a coordination type here. This is how I have started to implement it, and I think this would work nicely for the portal. For example, the current dataset dropdown menu could be implemented as a very simple component which just changes the value of the dataset coordination object. There would no longer need to be a global RESET event, since components are already listening for changes to these coordination objects.
This would also facilitate multi-dataset comparisons. For example, if you want to compare linnarsson-2018 to dries-2019, just create two different scopes for the dataset coordination object. Then, map the half of the components to scope A and the other half to scope B, where the coordination object value looks like  { A: 'linnarsson-2018', B: 'dries-2019' }. Then, let's say you want to switch the comparison, and now you want to compare linnarsson-2018 to spraggins-2020. Then the only thing you need to do is update the coordination object { A: 'linnarsson-2018', B: 'spraggins-2020' }. (Assuming the view config datasets property was an array containing the file URL mappings for all 3 datasets linnarsson-2018, dries-2019, and spraggins-2020).
The loader objects for each file of each dataset can be thought as derived from the "Dataset" coordination. Components receive a mapping from the dataset coordination type to a particular coordination scope (for example, scope A). Then, the component can "look up" the dataset value associated with their particular scope, to obtain their dataset ID (for example, linnarsson-2018). Then, the component can look up the loader instances of interest that are associated with linnarsson-2018 (for example, the ScatterplotSubscriber would find an instance of the JsonLoader for the cells data type). These loader objects are created by a new DatasetLoaderProvider component, and passed down to all ___Subscriber components via VitessceGrid.
In this process of coordinating views, I think we should also make better distinction between selection, highlight, and filter for cells, cell sets, and genes. These are my thoughts so far but of course open to other ideas:

highlight: only for single items, only on mouse hover
select: for one or more items, adds visual emphasis for the selected items in the visualizations (does not filter out non-selected items)
filter: for one or more items, removes all other items from view, and removes all other items from consideration when doing searches or aggregation computations like min, max, mean, sum, etc.

Note that cell/cell-set/gene selection/highlight/filtering states could also be held in the coordination space, which would work out nicely, in particular when viewing multiple datasets or when performing differential expression (could just use two different scopes for a "Selected Cells" coordination object)
Towards #30
Towards #189 (overview/detail problem can be mostly solved by using two different plots with all of the same scope mappings, except the overview plot maps to a different zoom scope, and keeps that zoom scope value fixed)
Towards #693 (zoom/target reset problem reduces to updating a coordination object)
Towards #574
Towards #465
Towards #716 (the coordination objects are an example of global app state)
Perhaps another way to think of the coordination scopes model is:

in vitessce currently, state values are one-dimensional, and state is either global (via PubSub) or within-component.
in the new model, state values (those that are held in coordination objects) are multi-dimensional and are always global. The "coordination scope" tells each component, for each state value, which dimension of the state value should be used.

Other advantages that come with this model of storing state in the view config are:

easy to implement a undo/redo history mechanism: just keep a history of the view config
easy to share state via URL: just share the view config
easy to bubble up state to a Jupyter notebook: just "emit" the view config with an onChange event handler

Closing this PR in favor of a next branch. I have migrated my comments here to a file called NEXT.md
https://github.com/hubmapconsortium/vitessce/tree/next
https://github.com/hubmapconsortium/vitessce/blob/next/NEXT.md


How To Change TextmeshPro font's Color?

I loaded the TextMeshPro font to solve the tofu problem, but the font color of the dialog is the same as the dialogue box color, how can I modify them?

I also have this problem, how to change the default color of the font

me too

me too


[FEATURE] Support for other plugin sample rates

Is your feature request related to a problem? Please describe.
The plugin is made to run at 48kHz. If you don't, it won't sound right.
Describe the solution you'd like
Keep the plugin sounding the same at different sample rates. A resampling block would do the trick.
Describe alternatives you've considered
Getting along with 48k.
Additional context
This doesn't seem to be a big deal to most users so far.

This Issue is for running the plugin at different sample rates. Models that were trained on data at different sample rates is out of scope.

Escalating priority.

Now that https://github.com/sdatkinson/neural-amp-modeler/pull/284 is in, we're clear to get this implemented 🎉


nixos/acme: ensure web servers using certs can access them

Motivation for this change
The ACME module did not check that web servers using certificates actually had access to them, leading to errors that could be fixed with a simple ownership change.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg test acme


[AutoPR servicefabric/data-plane] Service Fabric REST API specification version 6.2 RTO

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2855

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1669


When using import, I got warning that vueboot.js is prebuilt

import { tabset, tab  } from 'vueboot'

WARNING in ./~/vueboot/dist/vueboot.js
Critical dependencies:
2:480-487 This seems to be a pre-built javascript file.

Is there a way to get round this? Thanks.

I'm unfamiliar with this warning, but some searching seems to point towards this being a webpack warning. From what I can tell, webpack prefers you use the source and let webpack compile it, rather than using pre-built files.
The problem is, vueboot uses babel and vueify. If you want to compile it yourself, you will need to do a lot of work rebuilding the toolchain that vueboot uses. Personally I don't see how that could be worth the effort, but the webpack guys seem to disagree.
To do this, I am thinking you need to use 'vueboot/src/vueboot' as the entry point, and then look around to figure out how to make webpack compile .vue files.
If you figure out how to get it to work, please report back and I'll update the docs to include a section on webpack. But, as this is just a warning, I don't feel a strong need to make any modifications to vueboot to make it more webpack friendly. (But, I will listen to suggestions, if you have any.)

@Morgul You are correct that I am using webpack. However I don't have babel and vueify in the webpack build process.
Here is my webpack config file:
https://github.com/leapon/vue-test/blob/master/webpack.config.js
I can build from source with vuestrap and other vue components, however vueboot is not working with build from source. Looks like it is the build dependency differences. I will report back if I have time to figure this out.

Not an issue anymore. Maybe a feature request to be able to build with webpack from source.


Add bitcoind-exporter to the list of misc. exporters

Hi there,
Our bitcoind-exporter is finally ready.
Bitcoind is the official bitcoin daemon, this exporter rely on the bitcoin JsonRPC API to get chain synchronization metrics, wallet balances, address balances, etc...
Hence I'm proposing to add it to the list.
Before anything, we would be glad to get a review of the exposed metrics, here's an example:
# HELP bitcoind_best_block_index The block height or index
# TYPE bitcoind_best_block_index gauge
bitcoind_best_block_index 69019

# HELP bitcoind_best_block_timestamp_seconds The block time in seconds since epoch (Jan 1 1970 GMT)
# TYPE bitcoind_best_block_timestamp_seconds gauge
bitcoind_best_block_timestamp_seconds<PHONE_NUMBER>

# HELP bitcoind_chain_difficulty The proof-of-work difficulty as a multiple of the minimum difficulty
# TYPE bitcoind_chain_difficulty gauge
bitcoind_chain_difficulty<PHONE_NUMBER>899.72

# HELP bitcoind_wallet_version the wallet version
# TYPE bitcoind_wallet_version gauge
bitcoind_wallet_version{ticker="BTC"} 71000

# HELP bitcoind_wallet_balance_total the total balance of the wallet
# TYPE bitcoind_wallet_balance_total gauge
bitcoind_wallet_balance_total{status="unconfirmed"} 2.7345
bitcoind_wallet_balance_total{status="immature"} 0
bitcoind_wallet_balance_total{status="confirmed"} 42.73453501

# HELP bitcoind_wallet_transactions_total the total number of transactions in the wallet
# TYPE bitcoind_wallet_transactions_total gauge
bitcoind_wallet_transactions_total 77

# HELP bitcoind_wallet_key_pool_oldest_timestamp_seconds the timestamp of the oldest pre-generated key in the key pool
# TYPE bitcoind_wallet_key_pool_oldest_timestamp_seconds gauge
bitcoind_wallet_key_pool_oldest_timestamp_seconds<PHONE_NUMBER>

# HELP bitcoind_wallet_key_pool_size_total How many new keys are pre-generated.
# TYPE bitcoind_wallet_key_pool_size_total gauge
bitcoind_wallet_key_pool_size_total 1000

# HELP bitcoind_wallet_unlocked_until_timestamp_seconds the timestamp that the wallet is unlocked for transfers, or 0 if the wallet is locked
# TYPE bitcoind_wallet_unlocked_until_timestamp_seconds gauge
bitcoind_wallet_unlocked_until_timestamp_seconds 0

# HELP bitcoind_wallet_pay_tx_fee_per_kilo_bytes the transaction fee configuration, set in Unit/kB
# TYPE bitcoind_wallet_pay_tx_fee_per_kilo_bytes gauge
bitcoind_wallet_pay_tx_fee_per_kilo_bytes 0

# HELP bitcoind_address_balance_total address balance
# TYPE bitcoind_address_balance_total gauge
bitcoind_address_balance_total{address="1FxZE15d8bt381EuDckdDdp7vw8FUiLzu6"} 41.00683469
bitcoind_address_balance_total{address="1QAm6J6jLmcm7ce87ujrSdmjPNX9fgRUYZ"} 1.72770032

We also reserved the port number 9439 at https://github.com/prometheus/prometheus/wiki/Default-port-allocations
Cheers.

Thanks for the swift review.

Counters should end with _total, gauges should not.

On wallet_transactions_total for example the counter make more sense as this value is not supposed to go down.
BUT I'm only client of the service I'm monitoring so I just can't increment this value, I'm just able to set it despite the fact that it is a total.
Could the rule have exceptions or is this a strict thing? As for the others gauges I get it and I'll change them.

Don't forget the units in your metrics names,

I'm failing to see the missing units... oh wait... maybe you're talking about the balance metrics?
bitcoind_wallet_balance for example, in this case the unit might change depending on the monitored wallet, it could be BTC as well as DASH for example.
Should I put that in the metric label?

and you should really be prefixing everything with bitcond..

Done.

You also seen to be using direct instrumentation rather than const metrics, you may need to switch to a different client library to enable this.

Here I'm lost. Maybe it has do with the fact I'm only client of a service. Am I supposed to cache these metrics or something?
Cheers.

Hi @lutangar, are the updates for the above done? Could you rebase if you're happy?

The DCO and sorting were what I was waiting on, and there's just a conflict to fix now.

From what I can remember, @brian-brazil recommended a complete rewrite of the exporter in another language, but you probably should close this PR since my fu is limited in the suggested languages.
Didn't check if there were any news on the const metrics thing for node.js, but it's probably just not doable.
...or maybe I didn't get this right at all and it wasn't a blocker?!

If it's a working sane non-duplicate exporter we'll list it, even if it's not perfect. The rest are suggestions.

Alright then, here you go.

Thanks!


Create ArraySum.bench.lua

Compares pairs, ipairs, next, and a numeric for loop for summing the elements of an array.

Closing as it doesn't seem to offer any value over ArrayIteration.bench.lua


Feature: Ctrl+Click on file paths to open file

VS Code currently has a very helpful feature where it allows you to Ctrl+Click on any web links anywhere (as far as I can see), whether that is in a markdown file, a java comment, or a typescript variable value. It would be very helpful if this feature was extended to also cover file paths!
E.g. the following file (a .betterer.results file), contains file paths to files currently containing typescript errors, and it would be very helpful if I could just Ctrl+Click on a one of those paths to navigate to it.

The highlighting could be a combination of an "is this a valid file path"-regular expression and if it is, check if the file exists (either absolutely, if it's an absolute path, or relative to the file or the project root). If all good, underline and allow Ctrl+Click, the same as for web links.

The google link was added manually by me, just to check that the Follow link did indeed work within a random string like this as well.
I did try to search for similar issues, but either they do not exist, or I just wasn't able to see them because of all the issues related to Ctrl+Clicking on stuff in terminal windows. My feature request is about paths in editor windows.

We leave this up to extensions to implement per language

@mjbvz But the Ctrl+Click for hyperlinks is built-in, isn't it? Why can't you expand that already existing feature to cover file-paths too?
Extensions could be great to make the feature more sofisticated or whatever, but this shouldn't be a per language extension thing, it should be a simple core built-in feature that should Just Work™ work everywhere. You already have the feature for the built-in terminal in VS Code even. It's super useful there, and would be just as useful in the editor, whether it be file-paths in a log file, or a config file, or a setup thing, or a string referring to a file somewhere, or whatever.

Hyperlinks are well known and have a standard format. File paths do not. Consider:

Path styles (windows, unix, ...)
False positives
Relative paths

It's a bug/feature farm. Per language extensions are better (if you want, you could write an extension that enables paths for all languages too, but it'd be up to you to maintain that)


create inverse logic for the global restrictions in the exception directories.

Inverse logic created. The exception directory overrides the global restrictions that are setup.


interrupt page refresh or page exit if form is not blank

a user fills out a form, then tries to leave without submitting
we want to interrupt this and check that they are doing so intentionally
i'm not sure how to do this TBH so research is required here

i'd like to pick this ticket up! just a thought though -- could a function that maps through state to see if anything doesn't equal " " before leaving? and then can pop up an alert?

i'd like to pick this ticket up! just a thought though -- could a function that maps through state to see if anything doesn't equal " " before leaving work? and then can pop up an alert?

Go for it! Yep, pretty much!
Idk if map will work but I think your idea is going in the right direction. And just to be clear, not a native js alert but a material ui/home cooked modal
And a little more direction here:

Just get it working in one of our forms to start and then in a follow up PR we can reuse in the other places
not sure exactly how it'll work but there will essentially be some sort of listener/callback, and in that call back you should use a function that takes in the form state (object with any keys so that it can be reused for other forms) to check the form as you described


Plural names of resources

Plural names of resources is not a best practice.
Please read answers here: http://stackoverflow.com/questions/338156/table-naming-dilemma-singular-vs-plural-names

Plural names are not required by this specification, they are a recommendation. Please feel free to structure your URLs as you see fit.

But it's a harmful recommendation. Closing issue in first response killing any hopes about discussion. So it will remain "standard" for small bunch of "inventors". And for Ember.JS users.

I truly hope that we can reach consensus in your other issues, that the discussions around your questions and objections will ultimately improve this specification, and that when we are through there will be shared understanding between us.
With regards to this particular issue--we need to move past this kind of hair splitting and focus on more important matters.


Fetching second time after first execution query

When i'm running some query, normal acting would be read (fetch) 200 rows and stop, waiting command to fetch more 200 rows. I'm using DBeaver 4.2.2 and after run my query and fetch first 200 rows, Dbeaver is fetching more 200 rows, even when I do nothing after hit  +

I can't reproduce that.
Do you mean DBeaver fetches 200 + 200 rows (400) or it reads full table data?
Note: if you position cursor after 200 row (or 200+ row is visible) then DBeaver will fetch as much rows as required to show this row again.


Add Temperature Sensor

Implementation of Device completed.
Investigation what is the difference between TechnicMediumHub Temperature 1 and 2 => #31


Add line numbers to Code blocks in MDSveX

I think line numbers needs to be a thing. It looks a bit odd at the moment without them. Maybe some adjustments to line-height and other font style stuff?

Hey @kevmodrome . I think I'd like to challenge myself and pick up this issue, if it hasn't been picked up already

Go for it!

still needed

So, my idea is to use a remark plugin that would allow line numbers within the MDSveX engine (according to the MDSveX docs remark plugins are supported and offer customization for specific features). I think this solution would be more robust than CSS as it would provide functionality across a wide variety of setups.
I pinged the remark idea discussion page and got a response. The maintainer said that the Prism remark plugin supports line numbers.
Before I get too much more involved with this idea though I wanted to check in with @sw-yx (apologies if I should have tagged someone else) and see if this may be viable...

This would be much appreciated, go ahead!

i'm fine with it too! i've never done this myself so would be interested to see your impl @Isaac-Tait

I have been steadily working away at this between other big projects. I think my idea could work, but perhaps my overall understanding of Svelte is holding me back. So, I would like to discuss what I have come up with so far and see if y'all can see why my implementation is not working (my apologies in advance for the long post.).
First off if you look at node_modules -> prismjs -> plugins you will find line-numbers So, it seems that we already have the tools we need to display line numbers using PrismJS. We just need to implement them. (On a side note, once (if) we implement line-numbers it could be nice to use copy-to-clipboard for a nice easy way for devs to copy code snippets quickly and easily.)
Now here is where things get a little fuzzy for me. With my experience using Gatsby I can use a layout.js file to broadly apply certain components and styling to a wide array of pages. It would seem that this is the same for Svelte. Looking at src -> pages -> recipes there is a _layout.svelte file where I am thinking I should be able to utilize the PrismJS plugin(s) to implement line numbers across all the pages within the recipes sub-menu...
Now the issue with the PrismJS Line Numbers plugin is that it will only work for code found between  and/or

. Since our code is found in markdown, there is no  just ```. That is where I am getting stuck.
Something like this (btw I am getting the code from the line number docs found here perhaps could work:
<script>
  import { setContext } from "svelte";
  import { layout } from "@roxi/routify";
  const nodes = $layout.children;

  const categories = nodes.map(
    (node) => node.children.filter((r) => r.path.includes("/index"))[0]
  );

  setContext("categories", categories);
</script>

<svelte:head>
  <title>Svelte Recipes</title>
  <link rel="stylesheet" href="/prism.css" />
  <!-- import the css needed for line numbers -->
  <link rel="stylesheet" href="plugins/line-numbers/prism-line-numbers.css" data-noprefix />
</svelte:head>

<div class="home-wrap">
  <slot />
</div>
<!-- Perhaps here we could create a <slot /> for the code and wrap it in a <code> tag? -->
<code>
  <slot />
</code>

<!-- Another way may be to use html tags https://svelte.dev/tutorial/html-tags {@html code} ??? -->

<style>
  :global(article blockquote) {
    background: rgba(255, 62, 1, 0.2);
    border-radius: 5px 0px 0px 5px;
    color: black;
    border-left: 2px solid #ff3e01;
  }
  :pre{
    counter-reset: line;
  }
  :code{
    counter-increment: line;
  }
  :code:before{
    content: counter(line);
  }
</style>

So, that is what I have right now. Interested to hear what the community has to say. Also, I am aware that my idea may not be the best solution and I am "barking up the wrong tree" so to speak. Please feel free in providing any feedback critical or constructive. It has been a fun learning process and I appreciate any guidance given while I attempt to solve this issue 😸.

Nice idea about the click to copy thing.
When it comes to implementing the line numbers I think this is where you want to look: https://github.com/svelte-society/sveltesociety.dev/blob/staging/src/layouts/Recipe.svelte - that's the layout file for the MDSveX library that's used on the Recipe pages. You might also want to take a look at the MDSveX docs: https://mdsvex.com/docs

ya amen to that. MDSveX is where the ````` transforms to . you'll want to hook in after that. mdsvex lets you use remark plugins, which let you use prism, which let you use the line-numbers prism plugin.
yes, we'd be going 4 plugin systems deep. 😂  but i bet you can get it working with that

@kevmodrome @sw-yx Thank you for the encouragement and guidance. I will start reading and take another crack at this 👍🏼

Not sure where you can find more information on this, there was some talk on the discord and some hints in an issue on the mdsvex repo itself.

Not sure where you can find more information on this, there was some talk on the discord and some hints in an issue on the mdsvex repo itself.

This is the issue. Not sure if a more dedicated issue or discussion post is going to be made with time.

@babichjacob Thank you very much, interesting developments. I will follow closely and see how it is implemented.

You folk do not miss a beat. These changes are not imminent and will be discussed publicly before anything is decided. I don't know if it is worth waiting for that.
In all likelihood a future version of mdsvex will handle line numbers/ highlighting out of the box. So at worst, a future version of mdsvex will solve something that you have already tackled rather than break anything. It is currently very difficult to do this at build time with prism.

You folk do not miss a beat. These changes are not imminent and will be discussed publicly before anything is decided. I don't know if it is worth waiting for that.

It's hard not to be excited about the best tool in the Svelte ecosystem!

Discussion about the proposed changes here for those interested: https://github.com/pngwn/MDsveX/discussions/259


bench: run branch_creation_many at 500, seeded

We have a benchmark for creating a lot of branches, but it does random things, and the branch count is not what we is the largest maximum we aim to support. If this PR would stabilize the benchmark total duration it means that there are some structures which are very much slower than others. Then we should add a seed-outputting variant to help find and reproduce such cases.
There are flushing problems and in later PRs I'd like to add metrics for startup time, time spent uploading to real s3, but I will follow-up on them.

Drafted to avoid the e2e while waiting the new token.

Well, this PR took long enough to get going, might as well continue with the added metrics.


Branch status may be PhaseOne_Done even though error occured

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
In AbstractDMLBaseExecutor.executeAutoCommitTrue,  connectionProxy.setAutoCommit(true) is executed in finally block, that may cause branch status set successfully done event though exception occured or rollback, because setAutoCommit(true) also calls method commit, and it's possible that commit is successful.
    protected T executeAutoCommitTrue(Object[] args) throws Throwable {
        T result = null;
        AbstractConnectionProxy connectionProxy = statementProxy.getConnectionProxy();
        LockRetryController lockRetryController = new LockRetryController();
        try {
            connectionProxy.setAutoCommit(false);
            while (true) {
                try {
                    result = executeAutoCommitFalse(args);
                    connectionProxy.commit();
                    break;
                } catch (LockConflictException lockConflict) {
                    connectionProxy.getTargetConnection().rollback();
                    lockRetryController.sleep(lockConflict);
                }
            }

        } catch (Exception e) {
            // when exception occur in finally,this exception will lost, so just print it here
            LOGGER.error("exception occur", e);
            throw e;
        } finally {
            connectionProxy.setAutoCommit(true);
        }
        return result;
    }

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

@ggndnn The main problem is that the setAutoCommit method does not determine whether there is a distributed transaction on the connection of the db but not commit, and directly call commit() method.

@slievrly How about this? Do not call ConnectionProxy.setAutoCommit() but ConnectionProxy.getTargetConnection().setAutoCommit() directly here.
    protected T executeAutoCommitTrue(Object[] args) throws Throwable {
        T result = null;
        AbstractConnectionProxy connectionProxy = statementProxy.getConnectionProxy();
        LockRetryController lockRetryController = new LockRetryController();
        try {
            connectionProxy.getTargetConnection().setAutoCommit(false);
            while (true) {
                try {
                    result = executeAutoCommitFalse(args);
                    connectionProxy.commit();
                    break;
                } catch (LockConflictException lockConflict) {
                    connectionProxy.getTargetConnection().rollback();
                    lockRetryController.sleep(lockConflict);
                }
            }

        } catch (Exception e) {
            // when exception occur in finally,this exception will lost, so just print it here
            LOGGER.error("exception occur", e);
            connectionProxy.rollback();
            throw e;
        } finally {
            connectionProxy.getTargetConnection().setAutoCommit(true);
        }
        return result;
    }

@ggndnn  ConnectionProxy impl JDBC interface，so I think we should follow the jdbc specification, since it is a connection interface should be consistent with the jdbc interface, call its own commit.

@slievrly ok.


chore: remove graalvm kokoro github status

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕
If you write sample code, please follow the samples format.

Kokoro - Test: Java 17 GraalVM Native Image  is still showing up as  required check despite being removed from .github/sync-repo-settings.yaml.


xgEnsemble prediction results are different from xgboost in python

I traning and testing data with xgboost in python, then use leaves in production env.
The more infos are there:
In Python
xgb testing, The data structure that I set up with pd.DataFrame is
[0:value1 1:v2, 2:v3, ... , n:v(n+1)]
the value1 is any value int type. and v2, ... , v(n+1) is float64 type. The 0 is prediction value.
This result is testing result.
And this structure:
[feature1:v2, f2:v3, ... , f(n):v(n+1)]
This result is NOT testing result.
In Golang
and I use leaves XGEnsembleFromFile->model.PredictCSR() also the result is NOT testing result.
I have tried to find how to solve it for over 5h like add {0:0} to first features group, but for my ridiculous low English level and Math level I can't find it.
What's wrong with my testing data = =

I checked it again and found it seems my model was last version! = =
Thank you dmitryikh!  (....


Separate library and binary

Partially fix #6
Not done yet but I am still looking to reduce library API surface and dependencies.

I will merge this in now first as first step, haven't have time to look into this lately but will probably look into this when doing the next version.


Easing Functions

Does this library provide easing functions or at least for a way to add them?

Yes, it uses some easing functions: https://github.com/jsuarezruiz/Xamanimation/blob/master/Xamanimation/Helpers/EasingHelper.cs


Remove 5 warnings

Absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value.
UIColor+Chameleon.m:444:13: Code will never be executed.

@jherran Good looking out! Thanks. :sunglasses:


strange behavior of Keras backend

can anyone tell the difference between the two lines? one can be run the other cannot?why?
from keras import backend as K  #i'm using theano backend (K.variable(np.ones((3,22,22)))+K.ones((1,22,22))).eval().shape (K.ones((1,22,22))+K.ones((3,22,22))).eval().shape
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

after reboot the ide environment, this is not a problem. but i still don't know why the above happened once.


HIP-B1

6. Retain Asset Password in state
7. Recalling data not just the hashes
8. Exporting of data for specific assets

6: no longer applicable
7: complete
8: blockscanner performs this task?


[WebView] Allow the webview to take control when a URL is about to be loaded

Hello,
I think it would be great if we can take control on URL loading in the WebView.
I think about this method for the Android WebView :
WebViewClient#shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String)
Thanks.

This has came up as a blocker for customer: dream.
Ideally we would delegate the decision to the Dart code, on iOS this seems to be do-able as [WKNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:] provides a decision callback (so we can wait for the an async response from Dart).
On Android, shouldOverrideUrlLoading, expect a synchronous response, the documentation does say that the "method is called on a thread other than the UI thread", need to figure out whether it is ok to block that thread.

On Android the need to make a decision synchronously on shouldOverrideUrlLoading complicates things a bit. shouldOverrideUrlLoading is called on the platform thread, if we block it then we won't get any following platform message as they are delivered by posting tasks to the platform thread task runner.
The workaround I'm going to try is to always return true in shouldOverrideUrlLoading, and allow the Dart code to followup with a loadUrl for the same URL.
I prototyped this and verified that a following loadUrl works properly including updating the location history. My gut feeling is that there may be other issues I'm missing where but didn't bump into any yet so I'm going to move forward with this approach. If someone thinks of a problem I'm overlooking please let me know.
The backup plan which I'd really prefer to avoid would be for the Dart side to pass a blacklist of URLs to override.

I checked with the Android WebView team regarding the following documentation note:

Note: Do not call WebView.loadUrl(String) with the request's URL and then return true. This unnecessarily cancels the current load and starts a new load with the same URL. The correct way to continue loading a given URL is to simply return false, without calling WebView.loadUrl(String).

That note is referring to invoking loadUrl from within shouldOverideUrlLoading, we are not currently aware of a performance penalty for the suggested workaround. The one caveat we might have to live with is that it will trade "renderer-initated" navigations with "browser-initiated" navigations.

On Android we can currently only let navigationDelegates block navigations that are targeted to the main frame.
On Android API levels that are smaller than 24, the shouldOverrideUrlLoading version that includes the information on whether the navigation is targeted to the main frame is not available.
According to the statistics in Android Studio, if we make the plugin require API 24 we lose 62.6% of users, so we probably don't want to go there.
This leaves us with 2 options:
On API levels < 24, Treat all navigations as targeted to the main frame
This will mean that prior to API 24 web pages with iframes/frames will just be broken: the iframe will immediately load in the main frame.
Only support navigation delegates starting API 24
We can either make them a no-op prior to API 24, or invoke them and crash/warn if the delegate asked to prevent the navigation.
Would love to hear feedback of the preferred approach: specifically were you planning to block navigation from pages that use frames/iframes ?

Turns out the compatibility library supports this and is available on most L+ devices.
I'm going to always make navigation delegates work, in rare cases where the device is using a webview version older than 67, it will still work, but pages with frames won't work.
So to hit the problem you will need to:

Be on an Android devices with a webview version before 67.
Have a navigation delegate set for your Flutter webview.
Load a page with frames/iframes.

Landed with https://github.com/flutter/plugins/pull/1236 and https://github.com/flutter/plugins/pull/1323
Published with webview_flutter 0.3.4

Hi there, i would like to know if there is a way to detect on the webview a post and get request in the same URL. At the moment I was using NavigationRequest request
and then request.url.startsWith('https://something').
But I need to catch only the post in this url.
Any ideas would be great.
Cheers


Support Python 3.11

Is this all we need to do for this library to be usable in Python 3.11? Currently it fails with:
>>> import allcities
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/benquigley/local/allcities/allcities/__init__.py", line 14, in <module>
    from .core import all_cities as cities
  File "/Users/benquigley/local/allcities/allcities/core.py", line 18, in <module>
    from allcities.cityset import CitySet
  File "/Users/benquigley/local/allcities/allcities/cityset.py", line 4, in <module>
    from collections import Set
ImportError: cannot import name 'Set' from 'collections' (/Users/benquigley/.pyenv/versions/3.10.8/lib/python3.10/collections/__init__.py)

Set is no longer importable from typing as of Python 3.11. We should just be able to inherit from the builtin type, and this change fixes the error.

I haven't used this in a long time (almost 4 years!), but the change looks like it's not backwards-compatible with older versions of Python. Most stable/default Python versions I've seen even today are <3.11 so not sure I want to merge this right now unless we have a way to automatically be compatible with both. That being said, the change looks fine since it is only for typing, it shouldn't affect any of the code itself.

Hm. I guess we could always just try: from typing import Set; except ImportError: Set = set?

Not sure what I was doing 4 years ago because quick google doesn't seem to show me much of anything in terms of the Set module ever being inside collections but at this point I don't want to continue looking. I also initially thought this was just a typing thing, but it looks like I was actually extending the Set class. As far as I can tell, the set built-in also contains the difference, intersection, etc... methods and my code still works fine extending from the built-in set. I tested your change on Python 3.10 and it works fine there as well so it's good enough for me!


As a dev, I want to use an intuitive default for transactingAsset for calldata-only xcalls

Problem
Add support for setting transactingAsset: address(0) in params for a calldata-only xcall.
Ideas to solve this
Right now we revert if set to address(0).
Acceptance Criteria

[ ] Allow address(0) for transactingAsset param
[ ] Enforce that transactingAmount: 0 if transactingAsset: address(0)

Other

@just-a-node address zero means native asset, so we can't exactly add revert cause on L1 native asset is going to be this.

I meant that right now we are reverting if it's set to address(0), updated.


Folders not shared

When i start my Parallels container the folders aren't shared (or mounted)

There is no folder /Users/etc/etc

In the guest (prl-dev virtual machine) Shared Folders are mounted inside /media/psf. Check them out:
# mout | fgrep /media/psf

Hi @ronn0,
Looking at the first screenshot I can say that your shared folder settings look misconfigured. "Home folder only" should not be selected there. Luckily, it's easy to fix. Just run this on your Mac host:
prlctl set prl-dev --shf-host-defined off
prlctl set prl-dev --shf-host-add Users --path /Users

And then restart the VM:
docker-machine restart prl-dev

After that you should see the shared folder mounted to the VM:
$ docker-machine ssh prl-dev -- ls /Users
Guest
Shared
legal

Note that /Users path is hardcoded in our driver, so you can't mount other folders by default. Here we just follow the behavior of other drivers in upstream, such as vmwarefusion and virualbox.

This did the trick. Thanks for that.


For the session_auth_axum example, move the passhash into a separate non-serializable struct.

The current example for session_auth_axum has a serializable User struct which contains the user's hashed password:
https://github.com/leptos-rs/leptos/blob/fda4dba2370fdb4f5f81961bdeb7ca139d2e612d/examples/session_auth_axum/src/auth.rs#L5C1-L11C2
This change separates the password hash into a new, non-serializable struct to prevent it from being returned to the client. Existing auth logic is modified to use new versions of User::get and User::get_from_username which return (User, UserPasshash) tuples.

LGTM, thanks for your contribution!


kyori MiniMessage error, cannot use /send

When attempting to /send any player, server, group, or all, the following error is printed:
[09:52:11 INFO]: Exception occurred while running command for therbz
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to invoke command send player therbz1 SMP for [connected player] therbz (/<IP_ADDRESS>:60781)
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Unable to invoke command send player therbz1 SMP for [connected player] therbz (/<IP_ADDRESS>:60781)
        at com.velocitypowered.proxy.command.VelocityCommandManager.executeImmediately0(VelocityCommandManager.java:223) ~[velocity.jar:3.1.2-SNAPSHOT (git-05d19384-b125)]
        at com.velocitypowered.proxy.command.VelocityCommandManager.lambda$executeImmediatelyAsync$1(VelocityCommandManager.java:248) ~[velocity.jar:3.1.2-SNAPSHOT (git-05d19384-b125)]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        ... 3 more
Caused by: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.minimessage.MiniMessage net.kyori.adventure.text.minimessage.MiniMessage.get()'
        at com.oskarsmc.send.command.SendCommand.sendMessage(SendCommand.java:148) ~[?:?]
        at com.oskarsmc.send.command.SendCommand.lambda$new$0(SendCommand.java:51) ~[?:?]
        at cloud.commandframework.execution.CommandExecutionCoordinator$SimpleCoordinator.coordinateExecution(CommandExecutionCoordinator.java:121) ~[?:?]
        at cloud.commandframework.CommandManager.executeCommand(CommandManager.java:176) ~[?:?]
        at cloud.commandframework.velocity.VelocityExecutor.run(VelocityExecutor.java:64) ~[?:?]
        at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[velocity.jar:3.1.2-SNAPSHOT (git-05d19384-b125)]
        at com.velocitypowered.proxy.command.VelocityCommandManager.executeImmediately0(VelocityCommandManager.java:210) ~[velocity.jar:3.1.2-SNAPSHOT (git-05d19384-b125)]
        at com.velocitypowered.proxy.command.VelocityCommandManager.lambda$executeImmediatelyAsync$1(VelocityCommandManager.java:248) ~[velocity.jar:3.1.2-SNAPSHOT (git-05d19384-b125)]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        ... 3 more

I'm using velocity build #125, send 2.0.0, java 17.

Compiled the plugin myself and it now works, only change I made was changing the scope of minimessage from provided to compile but I haven't tested to see if that caused it to work again.


Remove pycryptodome from import blacklist

pycryptodome appears to be actively maintained, as opposed to pycrypto.
Unless there is a noted security issue with not using it, this removes
the blanket blacklist on the library. Any insecure hashes/ciphers/etc.
that the library provides will still be reported as per other libraries.

Hi @ghugo
CI is failing as the functional test is still running for pycryptodome.
https://travis-ci.org/PyCQA/bandit/jobs/470149209#L485
I think you need to remove the following:
https://github.com/PyCQA/bandit/blob/d4c571bda0979d797a04bcf51a64c0a163cd6d4e/tests/functional/test_functional.py#L790

Superseded by https://github.com/PyCQA/bandit/pull/470


DBZ-2073 Update DebeziumEngine.ChangeConsumer api in docs

https://issues.redhat.com/projects/DBZ/issues/DBZ-2073

@grantcooksey Ahh joys of copy/pasting, thanks for fixing!


[Feature] Doris支持ranger授权

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
现阶段版本，Doris用户授权采用独立的授权体系，只能通过Doris命令行脚本为每个用户分配权限，操作有些不方便，且易出错，能否将Doris授权规则集成到ranger
Use case
No response
Related issues
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will work on it


Support user defined meta annotations that apply @TestResourcesProperties

Feature description
I am in the need of creating a custom annotation that applies @TestResourcesProperties with several providers.
While copying/pasting the @TestResourcesProperties across the application/s test suite just works, would be great to be able to define a custom annotation that can apply @TestResourceProperties underneath and abstract what's going on behind the scenes.
Example:
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS)
@TestResourcesProperties(providers = [
    KeycloakPropsProvider::class,
    KafkaPropsProvoider::class,
    ThirdPartyServicePropsProvider::class,
    FooPropsProvider::class,
    BarPropsProvider::class,
])
annotation class PetclinicTestResources

@MicronautTest(transactional = false)
@PetclinicTestResources
internal class PetControllerIT {

}

Right now TestResourcesPropertiesFactory only takes into account the annotation being defined on each specific test class, hence the properties are not provided.
(Opening the GH issue to reference it on a PR).

Thanks @melix for accepting the change 👌 closing as completed


Allow updating only custom price in CheckoutLinesUpdate mutation

Make quantity optional in CheckoutLinesUpdate mutation.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-6089 Custom prices when adding items to checkout

Task linked: SALEOR-6365 Allow updating only custom price

New PR: https://github.com/saleor/saleor/pull/9430