adds notequals validator

we can validate that input are not equal to each other, just like compare but inversed

Duplicate for not function

Not quite, not function if I am reading correctly compares to value inside validation tag statement.
I was proposing to dynamically compare values of 2 inputs and if they are equal, fail validation.
Use case for this for example, comparing two IP inputs (src, dst), they must not be equal.
If not can accomplish this, please provide example on how to write validation rule, thanks.

Added in 4.2.19


Private field is not understood by VScode.

Given the following code,
@define
class X:
  _foo:int

The following initialization code will run without error,
x = X(foo=3)
```.

However, Vscode does not understood `foo` is valid in `X(foo=3)`. It will auto complete with `X(_foo)` instead.

Unfortunately, we have no influence on what VS Code / Pylance / Microsoft do. You might have some luck by aliasing the field name explicitly using the alias argument: https://www.attrs.org/en/stable/init.html#private-attributes-and-aliases

yes, using "alias" worked. thanks.

I am curious since instructing with an "alias" field works.
Can we do some control on the "@define" alone, so that the pylance can understand the transformation of private fields (removing the prefixing _)?

Sadly, no. This is something that has to implemented on the Pyright/Pylance side and generally speaking, they only want to implement whatever is officially defined for dataclass transforms. Which is true for alias: https://peps.python.org/pep-0681/#field-specifier-parameters


[BUG]: InstallAppleCertificate STILL fails to install certificates

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[ ] I checked how to collect logs

Task name
InstallAppleCertificate@2
Task version
2.231.1
Issue Description
Hello Azure DevOps devs,
i've begun to rebuild my CD pipeline as part of an ongoing migration of my iOS app to .NET 8. Currently my pipeline keeps failing at the InstallAppleCertificate task.
I've made sure that the certificate and provisioning profile are up-to-date and i've looked up the issue on GitHub. People have suggested to pass the flag -legacy to the task whenever the issue was reported, however the -legacy flag is not recognized by openssl. The latest Github Issue ended with a user still facing this issue, however the issue was closed solely because the -legacy flag was passed on to openssl. (https://github.com/microsoft/azure-pipelines-tasks/issues/19436). The user still couldn't install the certificate.
Another issue (https://github.com/microsoft/azure-pipelines-tasks/issues/19383) was closed because the user regenerated their certificate and yet another issue (https://github.com/microsoft/azure-pipelines-tasks/issues/18560) was closed because of... i don't know, because nobody reported it as fixed or as going stale or whatever. Someone suggested that the OpenSSL version was outdated, however i don't know how to update it or whether i can update it on hosted images. I tried out Microsoft's images macos-11, macos-12 and macos-13 too.
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
macos-13
Relevant log output
Starting: Install Certificate
==============================================================================
Task         : Install Apple certificate
Description  : Install an Apple certificate required to build on a macOS agent machine
Version      : 2.231.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/install-apple-certificate
==============================================================================
/usr/local/bin/openssl pkcs12 -in /Users/runner/work/_temp/ios_distribution.p12 -nokeys -passin pass:*** -legacy | /usr/local/bin/openssl x509 -sha1 -noout -fingerprint -subject -dates -nameopt utf8,sep_semi_plus_space
pkcs12: Unrecognized flag legacy
pkcs12: Use -help for summary.
unable to load certificate
4657255936:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
##[warning]Error parsing certificate. This might be caused by an unsupported algorithm. If you're using old certificate with a new OpenSSL version try to set -legacy flag in opensslPkcsArgs input.
##[error]Error: /usr/local/bin/openssl failed with return code: 1
Finishing: Install Certificate

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION]

Repro steps
- task: InstallAppleCertificate@2
  displayName: 'Install Certificate'
  inputs:
    certSecureFile: 'ios_distribution.p12'
    certPwd: '$(Passwort)'
    keychain: 'temp'
    deleteCert: true

Uuuh... devs... When is "soon" happening? The build is still failing more than 60 days later.

For me the issue was that I exported only they key and not the key and certificate (using keychain access)
Make sure you select both before you export

Just to be sure, how do you do it? And how do you use them in the YAML pipeline?

In keychain access, select both the key & cert then right click to export to .p12

I kind of found a workaround for this. I say "kind of" because I don't recommend anyone does this. But essentially I just downloaded and installed the certificate myself:
 - task: DownloadSecureFile@1
    name: downloadDevCert
    displayName: 'Download Apple Certificate'
    inputs:
      secureFile: 'yourcertificate.p12'

  - bash: |
      echo "Received secret: $CERT_PASSWORD"
      security import $(downloadDevCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P yourp4ww0rdw!ch!sn0l0ng3r53cur3
    env:
      CERT_PASSWORD: $(P12password)
    displayName: 'Install signing certificate'

The reason I don't recommend anyone does this is because the secrets don't work. The output just shows:
Received secret: $(P12password)

Instead of what I expect to see which is:
Received secret: ****

Which is why I've put the secret directly in the command and why I say it's no longer secure. But at least this got me over this specific bump.
I've tried this a few different ways (and followed the docs) but if someone can explain to me what I'm doing wrong, and perhaps make this a viable (and secure) workaround for others, then that would be appreciated.

It's good to see that in the tradition of this issue it's just being ignored and left to go stale!!! ;-)
Currently facing this having moved from Microsoft hosted mac build agents to self hosted

I kind of found a workaround for this. I say "kind of" because I don't recommend anyone does this. But essentially I just downloaded and installed the certificate myself:

task: DownloadSecureFile@1
name: downloadDevCert
displayName: 'Download Apple Certificate'
inputs:
secureFile: 'yourcertificate.p12'

bash: |
echo "Received secret: $CERT_PASSWORD"
security import $(downloadDevCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P yourp4ww0rdw!ch!sn0l0ng3r53cur3
env:
CERT_PASSWORD: $(P12password)
displayName: 'Install signing certificate'
The reason I don't recommend anyone does this is because the secrets don't work. The output just shows:

Received secret: $(P12password)
Instead of what I expect to see which is:
Received secret: ****
Which is why I've put the secret directly in the command and why I say it's no longer secure. But at least this got me over this specific bump.
I've tried this a few different ways (and followed the docs) but if someone can explain to me what I'm doing wrong, and perhaps make this a viable (and secure) workaround for others, then that would be appreciated.

In Azure Pipeline library variables, right next to the value field there is a lock icon

which can help you secure the value

I kind of found a workaround for this. I say "kind of" because I don't recommend anyone does this. But essentially I just downloaded and installed the certificate myself:

task: DownloadSecureFile@1
name: downloadDevCert
displayName: 'Download Apple Certificate'
inputs:
secureFile: 'yourcertificate.p12'

bash: |
echo "Received secret: $CERT_PASSWORD"
security import $(downloadDevCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P yourp4ww0rdw!ch!sn0l0ng3r53cur3
env:
CERT_PASSWORD: $(P12password)
displayName: 'Install signing certificate'
The reason I don't recommend anyone does this is because the secrets don't work. The output just shows:

Received secret: $(P12password)
Instead of what I expect to see which is:
Received secret: ****
Which is why I've put the secret directly in the command and why I say it's no longer secure. But at least this got me over this specific bump.
I've tried this a few different ways (and followed the docs) but if someone can explain to me what I'm doing wrong, and perhaps make this a viable (and secure) workaround for others, then that would be appreciated.

In Azure Pipeline library variables, right next to the value field there is a lock icon

which can help you secure the value

The issue is specifically that this doesn't work. Hence the workaround of entering the value directly into the pipeline.

I kind of found a workaround for this. I say "kind of" because I don't recommend anyone does this. But essentially I just downloaded and installed the certificate myself:

task: DownloadSecureFile@1
name: downloadDevCert
displayName: 'Download Apple Certificate'
inputs:
secureFile: 'yourcertificate.p12'
bash: |
echo "Received secret: $CERT_PASSWORD"
security import $(downloadDevCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P yourp4ww0rdw!ch!sn0l0ng3r53cur3
env:
CERT_PASSWORD: $(P12password)
displayName: 'Install signing certificate'
The reason I don't recommend anyone does this is because the secrets don't work. The output just shows:

Received secret: $(P12password)
Instead of what I expect to see which is:
Received secret: ****
Which is why I've put the secret directly in the command and why I say it's no longer secure. But at least this got me over this specific bump.
I've tried this a few different ways (and followed the docs) but if someone can explain to me what I'm doing wrong, and perhaps make this a viable (and secure) workaround for others, then that would be appreciated.

In Azure Pipeline library variables, right next to the value field there is a lock icon

which can help you secure the value

The issue is specifically that this doesn't work. Hence the workaround of entering the value directly into the pipeline.

Did you declare your variables?

I have a group of variables named 'Mobile App Variables', and I declared it at the top of my yaml file
trigger:
- development

variables:
- group: 'Mobile App Variables'
- name: flutterVersion
  value: '3.22.2'

Then I can use the variable normally like this
    - bash: |
        security import $(appleCertificate.secureFilePath) -k ~/Library/Keychains/login.keychain -P $CERT_PASSWORD
      displayName: 'Install Apple Certificate'
      env:
        CERT_PASSWORD: $(distribution.p12-password)

I kind of found a workaround for this. I say "kind of" because I don't recommend anyone does this. But essentially I just downloaded and installed the certificate myself:

task: DownloadSecureFile@1
name: downloadDevCert
displayName: 'Download Apple Certificate'
inputs:
secureFile: 'yourcertificate.p12'
bash: |
echo "Received secret: $CERT_PASSWORD"
security import $(downloadDevCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P yourp4ww0rdw!ch!sn0l0ng3r53cur3
env:
CERT_PASSWORD: $(P12password)
displayName: 'Install signing certificate'
The reason I don't recommend anyone does this is because the secrets don't work. The output just shows:

Received secret: $(P12password)
Instead of what I expect to see which is:
Received secret: ****
Which is why I've put the secret directly in the command and why I say it's no longer secure. But at least this got me over this specific bump.
I've tried this a few different ways (and followed the docs) but if someone can explain to me what I'm doing wrong, and perhaps make this a viable (and secure) workaround for others, then that would be appreciated.

In Azure Pipeline library variables, right next to the value field there is a lock icon

which can help you secure the value

The issue is specifically that this doesn't work. Hence the workaround of entering the value directly into the pipeline.

Did you declare your variables?

I have a group of variables named 'Mobile App Variables', and I declared it at the top of my yaml file
trigger:
- development

variables:
- group: 'Mobile App Variables'
- name: flutterVersion
  value: '3.22.2'

Then I can use the variable normally like this
    - bash: |
        security import $(appleCertificate.secureFilePath) -k ~/Library/Keychains/login.keychain -P $CERT_PASSWORD
      displayName: 'Install Apple Certificate'
      env:
        CERT_PASSWORD: $(distribution.p12-password)

@weeb-destroyer of course, been using other secrets throughout the pipeline. It was just this one not working. This was months ago, perhaps it's been fixed, perhaps was a glitch. Given it's been building smoothly since then I haven't gone back and checked but I suppose I should.

This suddenly started happening for us today, with an Apple certificate created 7 months ago so not really that old.
I assumed some CI agent tooling was upgraded and starting going through the various workarounds of passing -legacy flag, manually upgrading OpenSSL and manually installing the cert, but then it suddenly resolved itself again after a few hours.
I suspected maybe a particular macOS VM image version was bad, but I got both good and bad builds on the exact same versions:

Image: macos-14 Version: 20241022.254
Image: macos-14 Version: 20241106.300

Posting this for anyone else having similar, flaky issues.
Related:
https://github.com/microsoft/azure-pipelines-tasks-common-packages/issues/353
https://github.com/openssl/openssl/discussions/23089#discussioncomment-7895826

Yes it happens to me today, I cant build when I pass -legacy  on openssl argument it solved for one succeeding build but when I rebuild my app is says
pkcs12: Unrecognized flag legacy
pkcs12: Use -help for summary.
unable to load certificate
140704456046208:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE

Same for me. Today the same config and certs worked well but a few hours later it fails with:
Starting: Install an Apple certificate
Task         : Install Apple certificate
Description  : Install an Apple certificate required to build on a macOS agent machine
Version      : 2.246.5
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/install-apple-certificate
/usr/local/bin/openssl pkcs12 -in /Users/runner/work/_temp/Development.p12 -nokeys -passin pass:*** -legacy | /usr/local/bin/openssl x509 -sha1 -noout -fingerprint -subject -dates -nameopt utf8,sep_semi_plus_space
pkcs12: Unrecognized flag legacy
pkcs12: Use -help for summary.
unable to load certificate
140704478854656:error:0909006C:PEM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
##[warning]Error parsing certificate. This might be caused by an unsupported algorithm. If you're using old certificate with a new OpenSSL version try to set -legacy flag in opensslPkcsArgs input.
##[error]Error: /usr/local/bin/openssl failed with return code: 1
Finishing: Install an Apple certificate
What happened? How can we fix this?

This a work around for me but I hardcoded the cert pass for now this script can't read a variable even I add a env: parameter it always empty value.

task: DownloadSecureFile@1
name: downloadDefaultCert
displayName: 'Download Apple Certificate'
inputs:
secureFile: 'P12 FILE HERE'
task: Bash@3
displayName: Install Apple Certificate
inputs:
targetType: 'inline'
script: |
echo "Installing signing certificate..."
CERT_PASSWORD="YourHardcodedPasswordHere"  # Hardcoded password for testing
if [ -z "$CERT_PASSWORD" ]; then
echo "ERROR: CERT_PASSWORD is empty. Please check your password."
exit 1
fi
Import the certificate using the password
security import $(downloadDefaultCert.secureFilePath) -k ~/Library/Keychains/login.keychain -P "$CERT_PASSWORD" -T /usr/bin/codesign
echo "Certificate installed successfully."

Indeed downloading the cert before installing it worked for me... maybe the install cert plugin doesn't download it anymore?

Seems like Microsoft published a fix in macos-15 20241106.316.
With macos-15 20241022.244 I still see failing builds with "pkcs12: Unrecognized flag legacy" warning included.
The unfortunate thing: 20241106.316 does not seem to be published to all hosted agents as of now.

Same problem here.
In my case I'm not including the "legacy" flag, so it succeeds in macos-15 20241022.244 and fails in macos-15 20241106.316.

@arnauZurich As @mjosipovic-tgr suggested in https://github.com/actions/runner-images/issues/10703#issuecomment-2472826230, you could use 2 copies of the InstallAppleCertificate task. One with -legacy, one without. Works fine on our side.

@thisisthekap Thanks! It worked on our side too!

@arnauZurich As @mjosipovic-tgr suggested in actions/runner-images#10703 (comment), you could use 2 copies of the InstallAppleCertificate task. One with -legacy, one without. Works fine on our side.

and add condition: Failed() on the second one with -legacy ;)


Incorrect code samples on the Render a Markdown document page

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/rest/markdown/markdown?apiVersion=2022-11-28#render-a-markdown-document-in-raw-mode
What part(s) of the article would you like to see updated?
The code samples don't work.
Additional information
The article gives an example of markdown rendering:
gh api \
  --method POST \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  /markdown \
  -f text='Hello **world**'

But I'm getting an error from the server:
{
gh: Invalid request media type (expecting 'text/plain') (HTTP 415)
  "message": "Invalid request media type (expecting 'text/plain')",
  "documentation_url": "https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode"
}

I get the same error and for the example Render a Markdown document in raw mode.
I think this is also true for the cli and js examples.
The Content-Type: text/plain header must be specified:
gh api \
  --method POST \
  -H "Content-Type: text/plain" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  /markdown/raw \
  -f text='Hello **world**'

Also:
A query to /markdown/raw with payload Hello **world** returns the following response:
{"text":"Hello world"}
. Why does the response contain curly braces? Is this a server error? In the example, a similar query returns "
Hello world
"

Thanks for the issue @nikpivkin, I'll get this triaged for review!

Good

Internal: followed up here

Apologies for the delay, and thanks for this report! Although we document the required header in the endpoint description, you are correct that the autogenerated examples are missing this information. We have a feature request to support this, so I will add your report to that internal request and then close out this issue.


neural_turing_machine_copy.py does not work

I tried running neural_turing_machine_copy.py, but get an ImportError
Using Theano backend.
Traceback (most recent call last):
File "ntm.py", line 15, in
from keras.layers.ntm import NeuralTuringMachine as NTM
File "/home/tesla/anaconda2/lib/python2.7/site-packages/keras/layers/ntm.py", line 10, in
from keras.utils.theano_utils import shared_zeros, alloc_zeros_matrix, shared_scalar
ImportError: No module named theano_utils

I just removed this example. Its heavy dependence on no-longer existing features of Recurrent made it unviable. It will be reintroduced later, after it is adapted to the new Recurrent interface and to the abstract backend.


themeltspice.sh -l throws error

MacOS 12.4
Fresh install of themeltspice via brew
Bad:
% themeltspice.sh -l
/usr/local/bin/themeltspice.sh: line 482: theme_name: unbound variable

% themeltspice.sh
/usr/local/bin/themeltspice.sh: line 495: theme_name: unbound variable

% themeltspice.sh -V
/usr/local/bin/themeltspice.sh: line 495: theme_name: unbound variable

OK:
% themeltspice.sh -v
v1.5.0

% themeltspice.sh -l default
Theme 'default' exists in '/Users/{redacted}/.ltspice_themes/themes.ltt'

When changing line 428 from
declare theme_name
to
declare theme_name=""
it is better.

I'm afraid I cannot reproduce this error with the default bash in OSX 12.4 (and I only verify with the default version)
Intel
% bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.

ARM
% bash --version
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.

The default bash is quite old (yes, I know ...) and newer versions of bash have improved on error checking. Can you confirm the bash version?
Anyway,  I will consider updating as per your suggestion once I confirmed the cause of the error if it makes it more compatible with newer versions of bash.

In my case, default shell is zsh, but both my zsh and bash come from brew, and both freak out.
 % zsh --version
zsh 5.9 (x86_64-apple-darwin21.3.0)

% bash --version
GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin21.1.0)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

% bash
bash-5.1$ themeltspice.sh -l
/usr/local/bin/themeltspice.sh: line 482: theme_name: unbound variable

As I expected you are not using the standard OSX bash but a much newer version.
(This might make you run into issues with other programs/utilities that rely on the version of bash that is shipped with OSX 12.4)
Anyway, Thanks for the report and I will push out an updated version today.

Fixed in 1.5.1


Lowest update interval?

What is the lowest update interval I can set without causing issues in configuration?
Any way to set a specific device to a lower update interval?
Doors being opened and closed would be something I would want to update faster.
I moved from 15 minutes down to 5 and so far it seems to be working fine.
I am setting up some automations and noticing that for example a door being opened isn't picked up right away through home assistant.

Decided to make a service account instead of using my master account and have the interval set to 1 minute.  So far so good.


Updating reference to latest kubeprometheus github

Motive
Document review

/assign @timflannagan1

/assign @timflannagan1

/retest

/overrride ci/prow/metering-upgrade-aws

OLM switched to using v1 CRDs which is breaking our upgrade-aws tests
/override ci/prow/metering-upgrade-aws

/override ci/prow/metering-upgrade-aws


Validation not fired while submit the Form.

Hello,
I have installed latest version of form editor in umbraco site.
I want to reuse the form that's why i use Following code.
@{ var formContent = CRMHelper.GetNodeById(Convert.ToInt32(slides[i].id)); ViewBag.FormContent = formContent; } @Html.Partial("FormEditor/NoScript", Umbraco.AssignedContentItem)
Validation doesn't fired when click on submit button.
here its working Fine
here its not working
both are same form but one have master page one doesn't have master page.
I don't know what i m missing.
Any help would be appreciated.
Thanks, Ronak Panchal

Hi Ronak. I'll have a look at it this weekend, hopefully tomorrow.
Den 31. mar. 2017 2.40 PM skrev "RPanc"<EMAIL_ADDRESS>
Hello,
I have installed latest version of form editor in umbraco site.
I want to reuse the form that's why i use Following code.
@{ var formContent = CRMHelper.GetNodeById(Convert.ToInt32(slides[i].id));
ViewBag.FormContent = formContent; } @Html.Partial("FormEditor/NoScript",
Umbraco.AssignedContentItem)
Validation doesn't fired when click on submit button.
here its working Fine http://beta-client.brnd.com/c/formularer/test1/
here its not working
http://beta-client.brnd.com/standardside-med-formular/
both are same form but one have master page one doesn't have master page.
I don't know what i m missing.
Any help would be appreciated.
Thanks, Ronak Panchal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kjac/FormEditor/issues/121, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHD_CpbgAQ6Wdr3rrUSRNeqe3183HJSQks5rrPQVgaJpZM4Mvnba
.

Hey @RPanc,
It looks like your site JS overrules the native form validation - possibly an issue with Angular. If I turn off JS on the site, the native form validation is triggered.
Since you've already got Angular in play, maybe you should consider using the async rendereing?

Hello @kjac ,
I need to reuse the form in umbraco grid.
for that i just crated one grid editor named form picker.
after that i just render form as below.
`@using System.Web.Mvc.Html
@inherits Umbraco.Web.Mvc.UmbracoViewPage
@{
var slides = Model.value.spots;
int total = slides.Count;
}
@for (int i = 0; i < Convert.ToInt32(slides.Count); i++)
{
var formContent = CRMHelper.GetNodeById(Convert.ToInt32(slides[i].id));
ViewBag.FormContent = formContent;
@Html.Partial("FormEditor/NoScript", Umbraco.AssignedContentItem)
}
`
But its not working anything that i m missing in that.
Thanks,
Ronak Panchal

It looks like the form renders just fine, and I'm guessing it saves valid form submissions as well, so you're not really missing anything. You just need to figure out what's overruling the native (HTML5) form validation... or use another rendering method, for example the async one as I mentioned above.
You might also want to have a look at this tutorial for a complete example of rendering a form within the grid.

yes I solved that.
One more thing unable to upload multiple files and send that files to Email.
Thanks,
Ronak Panchal.

Hi @RPanc,
The built-in upload field doesn't support multiple files. If you need multiple file uploads, you'll either need to add multiple upload fields or alternatively create your own field type to handle it.

I'm closing this now, feel free to reopen if the issue hasn't been resolved.


[V2] Changing modules leads to a blank editor

Here is a code sandbox example of the behavior:
https://codesandbox.io/s/react-quill-bug-ddsnb?file=/src/App.js
If you try typing in the editor at all (at least in Stable Chrome) the full editor is unrendered. I'm assuming this is a bug in how dirty props are handled and the editor is never recreated?

The latest fix merged on master fixes this reproduction case! Check it out!

@zenoamaro awesome thanks for fixing! Are you able to create a beta2 release with this fix?


Add support for more complex dialogs

The idea would be to allow the following kind of dialog definition :
"M{mode}R{range}A{amplitude:+E6}"
The system would automatically query the values of the named properties (only properties should be allowed) and format the response string.
We could store a callable in the _dialogues dictionary  and choose how to treat the response depending on whether or not it is a callable.

Five years later, and I would really like this option. Has there been any progress?


Support for other cloud storage drives

In addition to OneDrive, I also use Adobe Creative Cloud, and that folder does not show up in Files UWP. I'd like to make the switch exclusively to this app, but without access to all of my files I can't; and using two different apps to do the same thing is a bit disjointed.

Can you try pinning the creative cloud folder to the sidebar?

Can you try pinning the creative cloud folder to the sidebar?

Well now I feel embarrassed for not thinking of that... Yes that did work. Thank you so much!


Support Zeebe v1.0.0

What did we change?
Updated this gem to support the Zeebe v1.0.0 gateway protocol.
Why are we doing this?
Eventually this gem will need to support the new gateway protocol. Methods in this gem were renamed, but aliases were added for the old names.
I'd suggest releasing this as v1.0 since it requires Zeebe v1.0.0 which itself is a breaking change. Then eventually remove the deprecated aliases as a future v2.0 release.
How was it tested?

[x] Specs
[x] Locally
[ ] Staging

CC @kevinmook

Thanks for the review @kevinmook!
It may make sense to add me back as a maintainer on this public repo, but for now you (or someone at ezCater) will need to merge this because I do not have permission. Thanks!

Thanks Tim, I'll look into adding you as a maintainer.
Short of that, I can merge it in and publish, but I might wait until next week to not split my focus - I haven't really looked deeply into Zeebe 1.0 beyond hearing about that workflow -> process rename. It looks like they've released 1.0.0 and their client gem has been updated, but the kafka exporter hasn't been updated yet.

Short of that, I can merge it in and publish, but I might wait until next week to not split my focus - I haven't really looked deeply into Zeebe 1.0 beyond hearing about that workflow -> process rename. It looks like they've released 1.0.0 and their client gem has been updated, but the kafka exporter hasn't been updated yet.

Yeah, I haven't seen any updates on the kafka exporter. I wasn't expecting that ezCater would be ready to update to this immediately, but trying to keep this up-to-date since it is public and might attract other users.

@tjwp we've added you as a maintainer on the repo - thank you again!!


Bridge: Bot cue bids but players don't always know what that means

From a customer:

It [bot] cue bids the opponents suit very often, making a shambles of the bidding, as nobody knows what that means.

I agree that this is confusing.  I sometimes wonder if the bot is not sufficiently taking into account the previous bidding by the opponents.


[Task] implement Google Analytics (mvp)

Add a google analytics tag to the frontend (page level metrics only)

We've added the tags to GA and can generate reports.


[ERROR] Deferred library load doesn't work inside browser tests

When dart2js is used by the package test it's not
able to serve the ...part.js file.
You can reproduce the bug running the test of this repository:
https://github.com/gmpassos/deferred_lib_issue
dart test -p chrome

Error output:
...

00:08 +0 -1: test/main_test.dart: View Test [E]
  DeferredLoadException: 'Loading http://localhost:50656/Sa1ttbh3Sd59FoFnteBXDihHx9rZDIUn/test/main_test.dart.browser_test.dart.js_1.part.js?dart2jsRetry=3 failed: Instance of 'Event'
  Context: js-failure-wrapper
  event log:
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"downloadFailure","l":"view_deferred","s":"http://localhost:50656/Sa1ttbh3Sd59FoFnteBXDihHx9rZDIUn/test/main_test.dart.browser_test.dart.js","i":13}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"download","l":"view_deferred","i":12}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"startLoad","l":"view_deferred","i":11}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"retry2","l":"view_deferred","i":10}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"download","l":"view_deferred","i":9}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"startLoad","l":"view_deferred","i":8}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"retry1","l":"view_deferred","i":7}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"download","l":"view_deferred","i":6}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"startLoad","l":"view_deferred","i":5}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"retry0","l":"view_deferred","i":4}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"download","l":"view_deferred","i":3}
  {"p":"main_test.dart.browser_test.dart.js_1.part.js","e":"startLoad","l":"view_deferred","i":2}
  {"p":"main","e":"beginPart","i":1}
  '

...

Dart Version:
dart --version

Dart SDK version: 3.1.0 (stable) (Tue Aug 15 21:33:36 2023 +0000) on "macos_x64"

The issue can be fixed at:
https://github.com/dart-lang/test/blob/master/pkgs/test/lib/src/runner/browser/platform.dart

It is possible to disable deferred loading on dart2js?
I don't think that test compilation should have deferred loading.


Dynamically render download page

Instead of hard-coded information, the download page now fetch latest release information from GitHub directly.
Will fix https://github.com/usebruno/bruno/issues/543

Looks like the website is being deployed on Vercel.
Knowing this, you can use getStaticProps to static generate the Downloads page.
It would require a new page build to update the downloads options when a new Bruno version comes out. To fix this you can use Incremental Static Regeneration and specifying the revalidate property.
Later on, when Bruno gets a CD workflow, it could trigger a page build by using a webhook on the website

@brunohpaiva good point, it's easier and simpler now 👍🏼

Thanks @j0k3r !
This saved my manual find/replace activity that I had to do for every single release :P


WIFI-413:Support for Captive Portal Phase2

This patch will support captive portal username and password
Package:openNDS
Signed-off-by: Nagendrababu<EMAIL_ADDRESS>

compile fails for me
cp -fpR ./files/lib/splash.css /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/
cp -fpR ./files/lib/Tip.png /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/images/
cp -fpR ./files/lib/opennds /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/config/
cp -fpR ./files/etc/init.d/opennds /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/init.d/
cp -fpR ./files/lib/login.sh /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/usr/lib/opennds/
cp -fpR ./files/lib/userpassword.sh /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/usr/lib/opennds/
cp -fpR ./files/lib/splash_sitewide.html /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/
cp: cannot stat './files/lib/splash_sitewide.html': No such file or directory

I also noticed, that there is lots of shell script processing going on that handles user data, (uid/pwd) how is that data sanitized. shell injection is the most common way to hack units. the shell script appear full of possible entry points for such attacks. how do the values get sanitized prior to passing them down to shell ?

compile fails for me
cp -fpR ./files/lib/splash.css /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/
cp -fpR ./files/lib/Tip.png /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/images/
cp -fpR ./files/lib/opennds /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/config/
cp -fpR ./files/etc/init.d/opennds /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/init.d/
cp -fpR ./files/lib/login.sh /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/usr/lib/opennds/
cp -fpR ./files/lib/userpassword.sh /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/usr/lib/opennds/
cp -fpR ./files/lib/splash_sitewide.html /tip/pending/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openNDS-5.1.0/.pkgdir/opennds/etc/opennds/htdocs/
cp: cannot stat './files/lib/splash_sitewide.html': No such file or directory

I supposed to delete the file, but when I did git pull --rebase the old changes came in, I'll sort it out and update the pull request.

I also noticed, that there is lots of shell script processing going on that handles user data, (uid/pwd) how is that data sanitized. shell injection is the most common way to hack units. the shell script appear full of possible entry points for such attacks. how do the values get sanitized prior to passing them down to shell ?

userpassword.sh and login.sh both shell scripts useful to generate dynamic html pages. Dynamically we can pass the variables from cloud config to these shell scripts. Before this operation query string will be constructed and encoded into specified format. When user try to access the internet user will be served with splash page and when the user fill the mandated information, then again query string will generated and passed back to OpenNDS. Before Validating the user the query string will be decoded and then authentication process will happen. I believe this mechanism will ensure the security.

merged into pending, Thanks !


Validate HCatalogIO works with Hive version 3.x dependencies

This is required to support HCatalog tables backed by Parquet.
Imported from Jira BEAM-7209. Original Jira may contain additional context.
Reported by: iemejia.

fixed
.close-issue


Discord Application

What is your username and discriminator?
Mae#0319
Why did you join Discord Linux?
To troubleshoot and learn about Linux
Where did you hear about Discord Linux?
My friend godofpears#0256
What is the passphrase that was assigned to you by the bot?
sudo -i meal-thoughtless-due-velodrome

From simonizor :
Looks good.  I've given you a temporary role so that you can enter the passphrase in the welcome channel.


Install fails with "Helm check failed"

Bug Report
Expected behavior
I expected the install command to work on minikube.
Current behavior
Installation command fails with:
Helm check failed: Error: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%!!(MISSING)D(MISSING)TILLER: dial tcp <IP_ADDRESS>:8080: connect: connection refused

It also fails with the flag --ignore-helm-check with:
Error installing nginx-ingress chart: Error: UPGRADE FAILED: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=NAME%!!(MISSING)D(MISSING)ingress%!!(MISSING)C(MISSING)OWNER%!!(MISSING)D(MISSING)TILLER%!!(MISSING)C(MISSING)STATUS%!!(MISSING)D(MISSING)DEPLOYED: dial tcp <IP_ADDRESS>:8080: connect: connection refused

I have tried to delete the machine and do it again as explained in the troubleshoot guide but the result is the same.
[UPDATE]
I have tried with docker-for-mack (edge) as well. I keep receiving the same errors.
Steps to reproduce

▶ minikube start --vm-driver=hyperkit --bootstrapper=kubeadm --kubernetes-version=v1.8.1

Starting local Kubernetes v1.8.1 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.

▶ export DISPATCH_HOST=$(minikube ip)

▶ cat << EOF > config.yaml
apiGateway:
  host: $DISPATCH_HOST
dispatch:
  host: $DISPATCH_HOST
  debug: true
  skipAuth: true
EOF

▶ helm init
$HELM_HOME has been configured at /Users/andresmartinez/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!

▶ kubectl get pods -n kube-system -w
NAME                               READY     STATUS    RESTARTS   AGE
etcd-minikube                      1/1       Running   0          18m
kube-addon-manager-minikube        1/1       Running   0          16m
kube-apiserver-minikube            1/1       Running   0          16m
kube-controller-manager-minikube   1/1       Running   0          18m
kube-dns-545bc4bfd4-hkccf          3/3       Running   0          17m
kube-proxy-jjscj                   1/1       Running   0          17m
kube-scheduler-minikube            1/1       Running   0          18m
storage-provisioner                1/1       Running   0          17m
tiller-deploy-b6fbf658-vvjnp       1/1       Running   0          14s

▶ dispatch install --file config.yaml
Helm check failed: Error: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%!!(MISSING)D(MISSING)TILLER: dial tcp <IP_ADDRESS>:8080: connect: connection refused
: exit status 1

▶ dispatch install --ignore-helm-check --file config.yaml
Creating new certificate for domain <IP_ADDRESS>
Updating certificate in namespace dispatch
Creating new certificate for domain <IP_ADDRESS>
Updating certificate in namespace kong
Installing nginx-ingress helm chart
Error installing nginx-ingress chart: Error: UPGRADE FAILED: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=NAME%!!(MISSING)D(MISSING)ingress%!!(MISSING)C(MISSING)OWNER%!!(MISSING)D(MISSING)TILLER%!!(MISSING)C(MISSING)STATUS%!!(MISSING)D(MISSING)DEPLOYED: dial tcp <IP_ADDRESS>:8080: connect: connection refused
: exit status 1

These are the versions I am using:
▶ minikube version
minikube version: v0.25.2
▶ helm version
Client: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
▶ dispatch version
v0.1.13-d41f03a

Impact

[ ] Low - Annoyance, but does not impact business or functionality
[ ] Medium - Issue can be worked around, but is causing pain
[X] High - Blocker

Possible solution

Your Environment

Dispatch CLI version (or git commit): v0.1.13-d41f03a
Dispatch Chart version (or image[s] tag):
Operating System and version: OSX
Kubernetes version (and distribution): minikube version: v0.25.2
Etc (any other useful environmental information): Helm version v2.9.0

Hi @andresmgot looks like you are hitting https://github.com/kubernetes/helm/issues/3985 which is a bug in helm 2.9.0. There is a fix scheduled for helm 2.9.1, in the meantime can you try with helm 2.8.2?

That worked, thanks!


fix: Fix Meson include directories

Quick follow up to https://github.com/apache/arrow-nanoarrow/pull/508 - the array.c includes stopped working without this
FAILED: libnanoarrow.so.p/src_nanoarrow_array.c.o
ccache cc -Ilibnanoarrow.so.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O0 -g -fPIC -MD -MQ libnanoarrow.so.p/src_nanoarrow_array.c.o -MF libnanoarrow.so.p/src_nanoarrow_array.c.o.d -o libnanoarrow.so.p/src_nanoarrow_array.c.o -c ../src/nanoarrow/array.c
../src/nanoarrow/array.c:23:10: fatal error: nanoarrow/nanoarrow.h: No such file or directory
   23 | #include "nanoarrow/nanoarrow.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~

I think the current issue has to do with the bundler - is the current bundling script supposed to replace the "nanoarrow/" prefix in the include?

Yea we could also have Meson generated the file in src/nanoarrow instead of just src, with the downside that we would then be allowing #include <nanoarrow.h> imports again instead of always forcing #include <nanoarrow/nanoarrow.h>

Ah sorry - should have been clearer in my previous comment that I mean ${CMAKE_BINARY_DIR}/src/nanoarrow
Meson is super strict about where files can be generated. I'm not sure it would let you ever create something in the source directory, but if it did you'd be fighting against Meson to make it work. CMake is obviously a lot more relaxed, but I think it still makes sense to avoid generating anything in the source directory


NFT implementation details according to PSP34 PR

Changes according to PSP34
NOTE:

Some tests and default imps are missing (marked with TODO)
total_supply is part of main interface (up for debate)

@xgreenx, renaming would be overwhelmingly difficult, considering that file renamed has changed its content as well.
I should have thought of this though, my bad.

@xgreenx, I am leaving collection_id not implemented as it is impossible because of a lack of implementations for AccountId.


bwa index file not found

I checked, and S3://cgl-protect-data/hg19_references/bwa_index.tar.gz exists.
However, ProTECT throws this error:
[E::bwa_idx_load] fail to locate the index files
Full log at http://hgwdev.cse.ucsc.edu/~jeltje/toil/bwa.error
(note that the program is still running so the log doesn't end with an error)

Yeah weird.... I just saw that.... Looking into it

Can you add a full stack trace?

It is still running. The link above is all I have so far.

no worries. I've figured it out ad i'm working on it

I assume both your bwas finished successfully if you're complaining about muse. @Jeltje  can I close this?

Sure!


Conforms OLD_RBENV_VERSION to RBENV_* convention

Keeping rbenv-controlled variables to RBENV_* "namespace" helps with
discoverability (and tools like rbenv-env) but also consistency and a
very minor degree of safety/isolation from env impact.

Makes sense. Thanks!


feat:remove progressContainer from dev=true feature flag

Date: 29 feb, 2024
Developer Name: Tejas

Issue Ticket Number
#1107
Description

In this issue, there is a sliding Progress Bar so that the super user and the assignee user can update his/her task, this task was under the dev flag which needs to be brought into production.
But while working there was some UI issue, which has also been covered in this PR, please check the video for more information.

In this feature firstly the process has been removed from DevFeature and now every person can view the progress of any task, on top of that, the Superuser and assignee user.

Now the UI is not breaking, please check in the video.

Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[x] Yes
[ ] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots
I will add a video soon. Not able to upload it now.
https://github.com/Real-Dev-Squad/website-status/assets/98630752/04a6189f-41b2-40bc-9fac-323efdb62c99
Test Coverage

Screenshot 1

Additional Notes

Can we have it aligned to left?

We can add vertical gap in here.

For small screen button can come right to the progress bar


malformed HTTP status code "client"

Hello,
Install today 1.6 and i'm getting this message malformed HTTP status code "client"
the problem is here
resp, err := s.Client.Do(req)
if err != nil {
return err
}

I confirm. The same behavior appeared today after installing 1.6

+1

That is odd. I was seeing that exact error when I compiled the code with Go 1.5.x. It's probably trying to send HTTP 1.1 requests to Apple for some reason.

I rolled back to go1.6rc2 and sent a push notification without that error. I'll try to figure out why this isn't working and open an issue with Go if appropriate.

GODEBUG=http2debug=2 has plenty to output in rc2 but only the post url in Go 1.6. It's the same output as GODEBUG=http2client=0 for rc2. Nothing really new here. For some reason HTTP/2 is happening, maybe a configuration issue in the Transport. Maybe a bug. I'm going to attempt a git bisect. Hang tight.

This is the commit: https://go.googlesource.com/go/+/79d9f48c73124eb21db99efa4b97cee044f52700
Sounds like I need to change the configuration.

Have a look at #27. It does require an API change because the HTTP/2 upgrade may fail.

It looks like HTTP/2 clients were accidently disabled in Go 1.6 but the fix will be coming in Go 1.6.1. https://github.com/golang/go/issues/14391
I think it will still be necessary to pull in x/net/http2 because we are specifying a custom cert from Apple.

Nice. Thanks.


Update the required cipher suites

Update the required cipher suites to match the faq doc(https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq#can-i-configure-cipher-suites-and-policy-order).

@3nyaww : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#reassign:winthrop28

@winthrop28 - Hi, would you review this pull request? Thanks!

@3nyaww @akshaysngupta @winthrop28 Is the proposed update still under consideration or should the pull request be closed?

@amitsriva Please can you review the technical accuracy of the updated text and sign off if approved. Thanks!

@KumudD - can this be closed or remain open? thanks.


Update sql-data-warehouse-develop-concurrency.md

Fixed concurrency slots information - max is 32 starting at DW1000 and persisting through higher DWUs

Hi @happynicolle, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@barbkess
Please review this PR and note your approval/disapproval here. Thanks.

Looks like this one was overwritten with PR 4151. So, please close it to avoid confusion.


Need more available currencies.

In one of the updates CryptoBot, more fiat currencies were added.
Please add more assets to CryptoPay.Types.Assets.
New currencies:

Belarusian ruble (BYN)
Ukrainian hryvnia (UAH)
Pound sterling (GBP)
Renminbi (CNY)
Kazakhstani tenge (KZT)
Uzbekistani som (UZS)
Georgian lari (GEL)
Turkish lira (TRY)
Armenian dram (AMD)
Thai baht (THB)
Indian rupee (INR)

Thanks.
I added last changes from CryptoBot.
See latest release


Add ltree to "data type" options

Is your feature request related to a problem? Please describe.
ltree (postgres) option is missing:

Describe the solution you'd like
Add this data type to the list
Describe alternatives you've considered
Create it via script
Additional context
N/A

thanks for suggestion

verified


[EXPERIMENT] Use action policy

https://github.com/palkan/action_policy/blob/master/lib/action_policy/test_helper.rb
https://actionpolicy.evilmartians.io/#/testing
You can't assert this, because in the controller we rescue from it 😉
assert_raises(ActionPolicy::Unauthorized) do
end

fun experiment, but I will keep pundit for now


test: add register_reset_recovery_abci [no ci]

Proposed changes
This PR adds an e2e test to showcase hard reset being used as a recovery mechanism.
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[x] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have locally run services that could be impacted and they do not present failures derived from my changes

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

failures

macos 3.82022-12-12T19:30:42.2957440Z Unreliable test timings! On an initial run, this test took 283.14ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 39.55 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None.
2022-12-12T19:30:42.2963660Z
2022-12-12T19:30:42.2965140Z You can reproduce this example by temporarily adding @reproduce_failure('6.21.6', b'AFADAQGELQVbTeMh') as a decorator on your test case
2022-12-12T19:30:42.2966110Z =========================== short test summary info ============================
2022-12-12T19:30:42.2966890Z FAILED tests/test_tools/test_rounds.py::TestBaseRoundTestClass::test_complete_run

windows 3.102022-12-12T19:30:38.1907366Z Unreliable test timings! On an initial run, this test took 470.59ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 0.60 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None
...
2022-12-12T19:30:38.2204232Z FAILED tests\test_tools\test_rounds.py::TestBaseCollectSameUntilAllRoundTest::test_test_round

this is very annoying, the autouse fixture doesn't work and both Manos and I are not sure why. I am addressing these in #1646 by setting custom deadlines on them

The E2E failures is unrelated and is addressed here.


Continue training an object detection model

I have trained an object detection model with 500 images. I need to add 50 more images for training on the generated object detection model.
Is it possible to continue training the previously generated model instead of having to retrain with 550 images?

This is currently not possible. It is a great idea though, but unfortunately we currently do not support it.  I will close this issue, but it's great for us to know feature requests like this, so we will keep this in mind.
The good news is that if you have been training on a Mac, you will delighted to find that training is significantly faster in the 5.0 beta 1 (if you also have the macOS Mojave beta).

This is currently not possible. It is a great idea though, but unfortunately we currently do not support it.  I will close this issue, but it's great for us to know feature requests like this, so we will keep this in mind.
The good news is that if you have been training on a Mac, you will delighted to find that training is significantly faster in the 5.0 beta 1 (if you also have the macOS Mojave beta).

Any news on continuous learning on object detection?


Fix multithread error 'tz already in cache'

Should fix #1646, waiting for confirmation from @vismoh2010

You can proceed in merging @ValueRaider.


proposal: net: change Dial to accept host+":"+port

#28308 suggests having vet report mistakes of the forms:
net.Dial("tcp", host+":"+port)
net.Dial("tcp", fmt.Sprintf("%s:%d", host, port))

The mistake being that if host is an IPv6 address then the address will be malformed.
The argument is supposed to be "[" + ipv6 + "]:" + port in that case,
and you should use
net.Dial("tcp", net.JoinHostPort(host, port))

instead.
SplitHostPort and JoinHostPort are important to use for URLs:
http://::1:80/ and http://::1/ are invalid, while http://[::1]:80/ and http://[::1]/ are fine.
(SplitHostPort and JoinHostPort only deal with the first of each pair.)
If you don't know whether a port is present, then the brackets resolve the ambiguity:
::1:80 is an IPv6 address, and [::1]:80 is an IPv6 address followed by a port.
But Dial with network "tcp" and "udp" does not have that "is the port present?" ambiguity: the port is required.
The port also never contains a colon.
So the final colon in the string is unambiguously the separator between host and port.
I wonder if we should make Dial with network "tcp" and "udp" accept host+":"+port.
Then all the things we're talking about flagging in #28308 would become correct instead.
The only downside is that if you mistakenly did
net.Dial("tcp", host)

(oops you forgot the port), then under certain rare circumstances that might not turn into a "invalid address error".
The vast majority of cases would behave as before:

👍 domain name like google.com → error as before
👍 ipv4 address like <IP_ADDRESS> → error as before
👍 ipv6 address like ::1 → error as before
👍 ipv6 address like 2001:db8::1 → error as before
👍 ipv6 address like 2001:db8::5a95 → error as before
👍 ipv6 address like 2001:db8::7226 → error as before
👍 ipv6 address like fe80::69aa:dcc:67ff:5a95 → error as before
✘ ipv6 address like fe80::e5e7:65b1:ff8a:7226 → dials [fe80::e5e7:65b1:ff8a]:7226

The only case that changes is when the IPv6 address ends in two or more non-wildcard chunks and the final chunk is entirely decimal digits. For the typical 16-bit chunks, that's only 15% of such addresses.
And of course if you do write this code, you're very likely to hit one of the error cases, and as soon as you do, you notice and fix the code.
On the other hand, consider
net.Dial("tcp", host+":"+port)

This works for domain names and IPv4 addresses and then breaks as soon as someone tries an IPv6 host.
We can make this work 100% of the time instead.
Overall, the cost of redefining that fairly unlikely mistake to be a different failure seems a small price to pay for fixing all the code that is using strings to put together Dial arguments and will fall over at the first IPv6 address literal.
Should we just fix all this code?

This sounds great.
One downside is that the failure mode is worse. Before you get an error, which (I hope) the code handles, and which vet can flag. After you dial an unexpected server, which could (in theory) be a security problem.

Thanks for filing this.
Because I can’t see it 100% clearly spelled out, let me ask directly: the proposal is to make not only net.Dial("tcp", "[fe80::e5e7:65b1:ff8a:7226]:80") work, but to also make net.Dial("tcp", "fe80::e5e7:65b1:ff8a:7226:80") work, correct?
The upside of fixing existing code is great, but I’m wondering if making Go programs accept address formats that are not accepted in other programs is a good idea? Addresses are frequently accepted via flags, so end users (not even programmers) come into contact with them.

@stapelberg, yes Dial would take both forms.
I'm not sure I understand the downside of fixing shell scripts that use $host:$port at the same time we fix Go programs that use host+":"+port.

I'm not sure I understand the downside of fixing shell scripts that use $host:$port at the same time we fix Go programs that use host+":"+port.

Fixing shell scripts as well is fine.
What I was trying to get at is that introducing a new accepted form of addresses means that people might start using them and later on end up confused when the address form they learnt with <some-go-program> doesn’t work in <any-non-go-program>. Sure, Go was just trying to be helpful, but in the end, users might need to invest troubleshooting time because of Go being different.
Perhaps other languages/libraries will follow suit, but likely many won’t.
I’m not saying this is a reason for not doing it, but we should be aware that we’re introducing a Go-ism here. Probably not a big deal given the rarity of IPv6 literal addresses.

I am very much in favour of the original solution, issue 28308.
Not only will the proposal in the OP increase the complexity and error-prone-ness of net.Dial itself, but it could also trigger a domino effect across the ecosystem.  For example, should a net.Resolver.Dial callback also accept the new “barely-correct” form?  Should net/http.DialContext?  That just seems like a very bad idea, especially when considering that the alternative, the original proposal, actually encourages people to write more correct code.

The overall reaction here is not positive enough to seem like we should move forward. Retracting.

No change in consensus, so declined.
— rsc for the proposal review group


sam build instruction to build examples from the powertools ' tutorial fails

Runtime:
Python (maybe in other runtimes too - not tested)
Is your feature request related to a problem? Please describe
When I tried to run the powertools examples on my Windows 10 pc, the instruction *sam build* would fail with some obscure message. As it turns out, this is a 'known issue' with sam - unrelated to powertools -, you need to run *sam build --use-container* and the build will succeed
Describe the solution you'd like
I suggest that the potential problem and related solution are documented in the Tutorial
Describe alternatives you've considered
Clearly this should be fixed by the *sam cli* team, however until this is done users have to be informed of this possible issue
If you provide guidance, is this something you'd like to contribute? Sure
Additional context

@iapostol-69 - it might be better to Python repo as an issue, as it will be easier to make a pull request to update the docs to include sam build --use-container.

@michaelbrewer Thanks for trying to step in, but the project maintainers will take it from here.

Glad you are on it @sthulb docs in general needs some clarifications like this. I just saw that this issue was left hanging.
In general using a containered build is the way to go, especially cross platform builds.


GEOSgcm + GNU does not layout regress

This is interesting. The latest GEOSgcm v11 no longer passes layout regression with GNU. It still passes start-stop, but not layout. The annoying thing is, layout regression is the harder of the two. We know start-stop is usually "look at restarts" and that was the solution to the last issue about this (see #380).
Usually layout regression failures are compiler flag changes or MPI changes, but the GNU compiler flags and MPI stack did not change with v11. The Intel ones changed, but that doesn't affect GNU!
This might require some thinking so I'll ping @tclune @bena-nasa @atrayano @aoloso

In a perfect world, we'd now have component-level layout regression tests ...
I guess the next step is to ask which components had the big changes in this version.

I guess the next step is to ask which components had the big changes in this version.

The answer of "all of them" is not hyperbole:
https://github.com/GEOS-ESM/GEOSgcm/issues/537#issue-1619299334

Tests run today (per the request of @amdasilva and @tclune) with the latest Chem and GOCART (using #529), show that GNU still has this issue. It start-stop regresses, but fails layout.

I am currently attempting to do a run with GNU where I've added -finit-local-zero -finit-derived which per the man page:

   -finit-local-zero
   -finit-derived
   -finit-integer=n
   -finit-real=<zero|inf|-inf|nan|snan>
   -finit-logical=<true|false>
   -finit-character=n
       The -finit-local-zero option instructs the compiler to initialize local "INTEGER", "REAL", and "COMPLEX" variables to zero, "LOGICAL"
       variables to false, and "CHARACTER" variables to a string of null bytes.  Finer-grained initialization options are provided by the
       -finit-integer=n, -finit-real=<zero|inf|-inf|nan|snan> (which also initializes the real and imaginary parts of local "COMPLEX" variables),
       -finit-logical=<true|false>, and -finit-character=n (where n is an ASCII character value) options.

       With -finit-derived, components of derived type variables will be initialized according to these flags.  Components whose type is not
       covered by an explicit -finit-* flag will be treated as described above with -finit-local-zero.

Okay. Can't do that everywhere it seems:
pe=00083 FAIL at line=01149    MAPL_LatLonGridFactory.F90               <inconsistent min for lat_range>

I'll try doing it just in GOCART...

Alas. Just using those flags in GOCART does not help. I still get a layout failure.


Short solution needed: "How to list docker images" (docker)

Please help us write most modern and shortest code solution for this issue:
How to list docker images (technology: docker)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to list docker images


Vision How-to Guide Samples

Samples for all Vision How-to Guides: https://cloud.google.com/vision/docs/how-to
Also moved existing sample for Face Detection Tutorial into its own file

Done.  @frankyn PTAL

PTAL

PTAL

Thanks :)


confluence symbols don't work

Hi! I search an issue, that confluence symbol (i) don't paste via Clippy

and the same problem with bullets

and example if I paste text from this cases in word via base buffer


How to pass in other formula data without modifying the code

Description of proposed feature

If you want to output different formulas, you can only modify the code, as shown below. This experience is too bad.

text = r'\int_a^b f'(x) dx = f(b)- f(a)'
class Formula(Scene):
    def construct(self):
        t = MathTex(text)
        self.add(t)

# don't remove below command for run button to work
%manim -qm -v WARNING Formula

text = r'\sin(x)'
class Formula(Scene):
    def construct(self):
        t = MathTex(text)
        self.add(t)

# don't remove below command for run button to work
%manim -qm -v WARNING Formula

How can the new feature be used?

Additional comments

Command line execution, unable to pass in other formula data

While I don't really understand when it would be useful to have a LaTeX string provided via the commandline, it can be done right now using the command line argument handling of Python. There will be an error message produced, because Manim can usually be run with several scene names on the same command line, which then means that your equation will also be interpreted as a scene name...
Changing this behavior will disable the functionality to run several scenes insides a file from the same command - and this seems to be more useful than to dynamically pass additional scene arguments to any scene.
import sys
class cmdline(Scene):
    def construct(self):
        eqn = MathTex(sys.argv[-1])
        self.add(eqn)

Yet another possibility is to get the equation through user input:
class frominput(Scene):
    def construct(self):
        ans = input("enter your equation: ")
        eqn = MathTex(ans)
        self.add(eqn)

And while the command line argument does not work in the Jupyter notebooks which you seem to be using, the input() version does

Also in Jupyter notebooks - at least when using VSCode as editor - it is very easy to just copy and duplicate the complete cell in order to get a copy for your changed, new equation.

thank you.


addtition of tap-stackoverflow-sampledata

I would like to submit tap-stackoverflow-sampledata for review as a possible addition to the Meltano Hub.  tap-stackoverflow-sampledata is a Singer tap for the Stack Overflow xml dump files avaiable at Archieve.org. This tap is inteded to be use to test Singer targets and or seed a source system with enough data to sufficiently test a source to target pipleline.
All Singer definitions are stored in /_data/taps/ or /_data/targets. The minimal requirement for adding a tap or target will match the following format:
description: General description of what the company behind the API does
entity_type: Review the JSON Schema for latest options. Currently api, file, database.
entity_url: URL of the developer documentation or website
label: Properly formatted label of the connector
name: The unique name of the connector
singer_name: The Singer specific name of the connector. Typically tap-<name> or target-<name>
type: tap or target
variants: # an array of variant types
- default: true or false
  maintenance_status: "Options: active, beta, development, inactive, unknown"
  meltano_sdk: true or false
  name: Name of the GitHub/GitLab namespace
  pip_url: git+<git_url>.git or pip instal name
  repo: repo URL
  capabilities:
    - catalog
    - discover
  settings:
    # Can be an empty array if unknown: []
    # Describe the list of supported settings, for example:
    - name: project_ids
      kind: array
      label: Project IDs
      description: Array of project IDs.
    - name: username
      label: Username
      description: Credentials used when for connecting to the source.
    - name: password
      kind: password
      label: Password
      description: Credentials used when for connecting to the source.

Checklist

[x] Add/update the file in the appropriate folder (/taps or /targets). The name of the file should match the name of the tap. If there is already one, add a descriptor to the name such as -search.
[x] Add/update the PNG logo image in /assets/logos/<taps or targets>. The image name must match the YAML file name.
[x] Tag @tayloramurphy or @pnadolny13 to flag it for review. Or post to the #hub channel on Meltano slack.

Reviewer Checklist

[ ] Validate file against JSON Schema. https://www.jsonschema.net/home is an option.
[ ] Build website locally and validate everything works.

@pnadolny13 when you get a chance, please review this PR.  Thanks

For logos, those without wordmark are preferred. This would so, for example:
I added another logo.  Please let me know if that one is better.  If it isn't do I need a logo for the tap ?

@edgarrmondragon sorry looks like a made a mess of this.  I apologize

@BuzzCutNorman no worries, contributing docs are lacking somewhat 🙂

Thanks for that comment.  Thank you🙏for correcting all that.


Rally test needs to (optionally) ssh to instances

To detect errors with Metadata services, we should have an additional Rally option to ssh to instances via a known keypair, and return fail if the ssh doesn't work.
Some clouds will not have ssh access to instances therefore this should be an item which can be skipped.

Imported from Launchpad using lp2gh.

date created: 2019-09-30T23:09:06Z

owner: xavpaice

assignee: None

the launchpad url

(by eric-chen)
This charm is no longer being actively maintained. Please consider using the new Canonical Observability Stack instead.
(https://charmhub.io/topics/canonical-observability-stack)
I will close this feature request


Update README.md

I add my name on the list

Looks good, but could you please move it to alphabetical order, then I can merge 🤓


Script does nothing

i just downloaded the script and it looks like it just does nothing at all, why is this? i also have no logs because it just says nothing, i followed that tutorial: https://www.youtube.com/watch?v=rI-XxnyWFnM
the problem must be that script because my internet works fine and it was working before, i just decided to add that script just in case the ip changes (it does change usually every 6 months at my place)
maybe i made an mistake, i listed my steps below, i hope i did everything right:
(keys are altered)
#!/bin/bash
# change to "bin/sh" when necessary
<EMAIL_ADDRESS>             # The email used to login 'https://dash.cloudflare.com'
auth_method="global"                                # Set to "global" for Global API Key or "token" for Scoped API Token
auth_key="c1fr4b1fa67d25773430fd8ffaab4ag0dd5ad"    # Your API Token or Global API Key

zone_identifier="c41602b25d8b8257298b1616aad6d8b0"  # Can be found in the "Overview" tab of your domain

record_name=""                                      # Which record you want to be synced
ttl="3600"                                          # Set the DNS TTL (seconds)
proxy="true"                                       # Set the proxy to true or false
sitename="pl.mchost.fun"                            # Title of site "Example Site"
slackchannel=""                                     # Slack Channel #example
slackuri=""                                         # URI for Slack WebHook "https://hooks.slack.com/services/xxxxx"
discorduri=""                                       # URI for Discord WebHook "https://discordapp.com/api/webhooks/xxxxx"
###########################################
## Check if we have a public IP
###########################################
hope someone can help :+1:

whoops, looks like i forgot ro set record_name=""
wait, what sitename doing then?


add proposed theming API

For https://github.com/microsoft/vscode/issues/32813

@jrieken Anything I missed? Anything special for proposed APIs?


fix(deps): Update controller-runtime to v0.10.3

:tada: This PR is included in version 2.0.18 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Kinematics Pose in Simulation isn't always right

Hello
I am currently working with the simulation only of the Open Manipulator-X. Now I detected a possible Problem with the kinematics that is problematic for my task.
If parts of the manipulator touched the ground, you wont see a movement after that, But in task space the values can change for a while after that.
For example if the gripper point touches the ground slightly, the z-value in task space should be around 0. Now you can type in a higher value in joint space to touch the ground "harder". In the simulation you don't see a reaction obviously but the z-value in task space changes to a number <0, which should not be possible because of the ground plane. If you want to move the gripper up again in very small steps, it takes a while until you see the manipulator move again because of the wrong kinematics position.

Do you have an idea how to fix that problem?
I've implemented a node, so that I can control the manipulator with two joysticks. Now i want to do a kind of fitt's task exercise so you have to touch rectangles on the ground. Then the time needed for the path between two rectangles is measured, but the manipulator looks like not reacting for a while after touching the ground because of the negative z-value in task space. Sadly this distorts my Results.
Thank you in advance
Edit: It seems that the open Manipulator has no collision detection. Is that right?

@KiraScience
You have to click on the 'Read kinematic pose' button to read the current position in the Cartesian space. Let us know if you have any other questions.
Regards,
Ryan


add license

It's a wonderful repo, but I'm so sorry that I can't find license in your repo anywhere, can you add a license please?

I'm discussing how we want to move forward with that with folks offline. Until then I say just have fun using gosip. We'll keep this thread updated as soon as possible. It's more than likely it'll be fine to do something like Apache 2.0 or MIT or some kind of notice license. Can't make promises yet.

How does Apache 2.0 sound? Does that meet your requirements?

So cool, Apache 2.0 is enough for me, thank you very much!

Done. Have fun!
If you use this code for something cool, and feel comfortable sharing details, feel free to let us know in this thread or alternatively reach out to me at<EMAIL_ADDRESS>in case there's anything more I can do to help you be successful.

Done. Have fun!
If you use this code for something cool, and feel comfortable sharing details, feel free to let us know in this thread or alternatively reach out to me at<EMAIL_ADDRESS>in case there's anything more I can do to help you be more successful.

Got it!


JY - Update README.md

created the new branch - release 1.
and update the readme

wrongly created


Polished rules

@rultor merge

@rultor merge

@kniazkov OK, I'll try to merge now. You can check the progress of the merge here

@rultor release, tag is 0.1.7

@rultor release, tag is 0.1.7

@pollyvolk OK, I will release it now. Please check the progress here


Add BUTTON_GUIDE to joystick buttons

LibSDL, by default, has these controller buttons:
SDL_CONTROLLER_BUTTON_INVALID
SDL_CONTROLLER_BUTTON_A
SDL_CONTROLLER_BUTTON_B
SDL_CONTROLLER_BUTTON_X
SDL_CONTROLLER_BUTTON_Y
SDL_CONTROLLER_BUTTON_BACK
SDL_CONTROLLER_BUTTON_GUIDE
SDL_CONTROLLER_BUTTON_START
SDL_CONTROLLER_BUTTON_LEFTSTICK
SDL_CONTROLLER_BUTTON_RIGHTSTICK
SDL_CONTROLLER_BUTTON_LEFTSHOULDER
SDL_CONTROLLER_BUTTON_RIGHTSHOULDER
SDL_CONTROLLER_BUTTON_DPAD_UP
SDL_CONTROLLER_BUTTON_DPAD_DOWN
SDL_CONTROLLER_BUTTON_DPAD_LEFT
SDL_CONTROLLER_BUTTON_DPAD_RIGHT
SDL_CONTROLLER_BUTTON_MAX

The glfw joystick implementation is missing BUTTON_GUIDE, so I think it should be added to the list

Noticed it has been implemented in the latest version


Iteration of readingTime on articles

You can now try out the ‘readingTime’ feature toggle, which when switched on will estimate how long it takes to read an article and appears only on articles/articles within a series.
You can try it out by turning on the toggle here, or visiting this link
I want to capture improvements we would like to make and thoughts to consider before we think about launching it for public use.

The gap to the right of the pipe is too small - thanks @jamieparkinson

Really helpful from feedback from the team during review:
@davidpmccormick pointed out we should probably use minutes and not 'min' as we don't tend not to abbreviate elsewhere.
@paul-butcher rightly pointed out we could be being a little ableist in how we say 'reading time: x min', perhaps something like 'average reading time: x minutes' would be better.
fyi @dannybirchall - two good suggestions I'm for putting them in place, what do you think?


Migrated python-plugin from Wiki to GitHub

Summary: Migrated python-plugin from Wiki to GitHub.  Added extra notes, tags and screenshot.  Was not able to add changelog tag though.
Links

https://github.com/jenkinsci/python-plugin/pull/9

Elliot Smith
<EMAIL_ADDRESS>

Hi @elliot-smith77 , thanks for your contribution! From what I see the pull request was submitted on May 31, after the event was over. Could you please clarify the timeframe of this contribution?
Regardless of the hackfest, your contribution is much appreciated!

Hi @oleg-nenashev , like 90% on May 29th, though was late on final check and pull request.  I thought maybe it was extended through weekend as I could still submit an issue.
No worries, thanks for the informative videos through the week : ) .

@elliot-smith77 thanks  for the clarification. I will discuss this case with other admins and circle back later

Thanks for your contribution!
@all-contributors please add @elliot-smith77  for documentation

@elliot-smith77 Just FYI, we agreed to count it. Thanks again for your contribution, and welcome to the Jenkins community! We will always appreciate your contributions, any time. https://jenkins.io/participate


Automatic chores distribution

Kids, chores and who's day it is. One of the hottest topics of heated discussion at our place?
How many times did I take dog out or emptied dishwasher....
Here comes system that will assign fairly chores, based on odd or even days.
But to make things more complex, no, we are not looking at odd or even days in months, instead we are tracking odd or even days in the year.
If you want to use tracking in month, you can do it with:
value_template: "{{ 'Odd' if now().day % 2 else 'Even' }}"
That was my first try, but they've come to conclusion that this wouldn't be fair in months that have 31 days, as same tasks will be done in 2 consecutive days.
So I'll be implementing following:
value_template: "{{ 'Odd' if now().strftime('%j')|int % 2 else 'Even' }}"
This is not fair just once a year (31.12. on 01.01) but this is OK with them.
Negotiation is now finished, Odd/Even day tracker is implemented and here I'll be linking various automation that are related to daily chores (dog walks and dishwasher for now) - to be added in near future - taking out trash for recycling etc.

There are 3 daily tasks that kids have to to:

take the dog for a walk in the afternoon
empty dishwasher after it finishes and put everything where it needs to go
empty washing machine in basket
Also, weekly, one task is mandatory - clean (thoroughly) their rooms.
Daily tasks will be auto assigned by HA with use of Odd/Even day tracking.
Weekly task will be fixed task on Saturday with simple automation.

Need to add task of taking trash for recycling/out.
This will also remove current notification automation that we get each morning, which was done very clumsy.

This is how it now looks in Telegram:


JS doc @component fixes

I have a .svelte file with this comment just above the HTML component:
<!--
@component
A customizable analog clock

@param {string} mode: 'static' if the clock displays only one time
-->

And when hovering, it provides this helpful tooltip:

But because it's in an HTML comment, the @param doesn't syntax highlight correctly, and even if I add spaces or asterisks or both it still doesn't work. Even if I make it a JS comment in the script above, then the entire @component doc doesn't display at all.

You can see that adding the asterisk highlights it in a brighter green, and in markdown it's a bullet point (correctly so), but I cannot get it to highlight @param as someone would usually see:

I would guess this is a bug, but it's also kind of a feature request to add syntax highlighting, so I didn't want to distract from actually valid bugs. Feel free to recategorize this.

I think this highlighting comes from your svelte extension so please file this issue against them


[Event Request] report 7390 "Whse. Calculate Inventory" OnInsertWhseJnlLineOnBeforeFindWhseEntry

Hello,
Is it possible to get the following event
        WhseEntry.SetCurrentKey(
          "Item No.", "Bin Code", "Location Code", "Variant Code",
          "Unit of Measure Code", "Lot No.", "Serial No.", "Entry Type");
        WhseEntry.SetRange("Item No.", BinContent."Item No.");
        WhseEntry.SetRange("Bin Code", BinContent."Bin Code");
        WhseEntry.SetRange("Location Code", BinContent."Location Code");
        WhseEntry.SetRange("Variant Code", BinContent."Variant Code");
        WhseEntry.SetRange("Unit of Measure Code", BinContent."Unit of Measure Code");
        // DINNL <<
        OnInsertWhseJnlLineOnBeforeFindWhseEntry(WhseEntry, "Bin Content");
        // DINNL >>
        if WhseEntry.Find('-') then
            repeat
                WhseEntry.SetTrackingFilterFromWhseEntry(WhseEntry);
                WhseEntry.CalcSums("Qty. (Base)");
                if (WhseEntry."Qty. (Base)" <> 0) or ZeroQty then begin
                    ItemUOM.Get(BinContent."Item No.", BinContent."Unit of Measure Code");
                    NextLineNo := NextLineNo + 10000;
                    Init;
                    "Line No." := NextLineNo;

[IntegrationEvent(false, false)]
local procedure OnInsertWhseJnlLineOnBeforeFindWhseEntry(var WhseEntry: Record "Warehouse Entry"; var BinContent: Record "Bin Content")
begin
end;

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


⚠ Bofrost.lu has degraded performance

In 19a6a6c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1979 ms

Resolved: Bofrost.lu performance has improved in cb23eb4 after 6 minutes.


Adding ip-adapter_sd15_light.bin

I think adding ip-adapter_sd15_light.bin is very important for most applications. Could you add one more elif statement for the new adapter?
https://github.com/s9roll7/animatediff-cli-prompt-travel/blob/9d0e1334f8dafbf928298e10a25643d8a66ba20f/src/animatediff/pipelines/animation.py#L1866

7d63018


List and retrieve compute_plans

Add routes to list and retrieve compute plans.
This PR depends on a chaincode update: https://github.com/SubstraFoundation/substra-chaincode/pull/22
In order to add compute plans to the tests assets fixtures, I wanted to run generate_assets.py against  skaffold instead of docker-compose. I updated the script with a -s option that will use our standard skafold dev env.
NB: the assets.py fixtures will have to be re-generated once the related chaincode PR is finalized.

@jmorel Can you put the reference to the chaincode update (issue or PR) when it comes?

@Kelvin-M done!

I'm testing it:

DRF with mod-header text/html

@Kelvin-M I updated the PR's description to explain how to test the PR and fixed DRF's browsable API.

LGTM!
It would be good to also update the substra-tests repository to get and list compute plans.
We could also improve an existing test submitting a compute plan to ensure it is working as expected.

@samlesu it's done, you can have a look at it here: https://github.com/SubstraFoundation/substra-tests/pull/20


Parse error when trying to extend script with declared class_name

Maybe related with https://github.com/GodotModding/godot-mod-loader/issues/338

When trying to extend script with it produce errors. The example above was when trying to extend the _ready() method .
In case of just adding the code even without execution it will also produce error
func test():
	print("test")

where the script that produce error is not connected to extended script
MultiplayerloadoutStage.gd was the extended script while GameWorld.availableTechSlots.duplicate() produced error
GameWorld is a singleton
MultiplayerloadoutStage.gd first lines
extends Stage
class_name MultiplayerLoadoutStage
...

Duplicate of #345


Alternate to Cmd-R to always refresh to the current active/finished job

Currently the only keybinding for refreshing the page is Cmd-R on a mac; or to click on a build number at the top of the screen.
But if a job has finished, and there are new builds running/finished, they don't show up automatically and cannot be selected. So you still need to Cmd-R first. Then click on a new build number.
Instead, could we have a keybinding to "refresh to current active or last finished build" please?
Bonus: make the keybinding redirect to it a URL endpoint e.g. jobs/foobar/latest that could be placed in a dashboard (the dashboard could go to this url ever 1 minute to ensure its showing the latest)

Moved to concourse/concourse#1136


File_info_poller send_stream() problem

Hello.
When I worked with the file_store library I faced a critical (as for me) issue in the file_info_poller module.
Currently, I don't use this part of the code but I think it is worth mentioning.
I had an error "Error streaming entry" due to reset connections by a peer (I kept it too long open) .
But I can't detect it because all I have "outside" is only the next() function.
So I can't distinguish if it is the end of the file or an error in a stream. In both cases, the loop finishes because next() returns None.
let mut rewards = file.into_stream(&mut tx).await?;
while let Some(reward) = rewards.next().await {
  ...
}

https://github.com/helium/oracles/blob/main/file_store/src/file_info_poller.rs#L175

@kurotych do you actually have an instance where streaming from a file causes an error that ends up in a None? The primary case here would be if you're trying to decode the wrong kind of proto from the file I guess.. or the filesystem has corruption which would be very rare

Currently, I don't have any instances.
The error message was "Error streaming entry in the file of type..." so it is not a proto problem.
I believe the problem was caused by closing the connection from the AWS side (I kept it open long because of heavy computation).
I'm going to return to developing an appropriate module that can use this code next week and I'll try to prepare clear steps to reproduce.

Releated: #715

Hi @bbalser. I'm not sure.
What I see is a good improvement in file_info_poller. Now you parse proto files inside file_info_poller this significantly reduces the open connection time (to AWS) so reduces the chance of occurring error described above.
But, I still see an old part of the code in main branch that caused an issue and "hides" the connection error under coupling ok() and filter_map().
That means that the chance to parse half of the file (for example) before the connection was closed (reset by aws or due to connection reason) exists.
I believe parse_file must return an error if the connection was closed/reset because it means that the file wasn't fully downloaded.
Currently, it looks like in the connection trouble case it just finishes parsing the file, prints errors to logs, and returns with Ok() losing another part of the file.
Maybe I'm wrong but I don't have the appropriate tool and time to test it.
That's why I still prefer (or have to) to use the cut version of this file, without this function.
https://github.com/openEPC/mobile-coverage-oracle/blob/staging/cas/src/file_info_poller.rs
https://github.com/helium/oracles/blob/main/file_store/src/file_info_poller.rs#L262


WIP, ENH: Automatically compute threshold for CTPS ECG detection

Reference issue
Implementation in #7815
Additional information
After a deprecation cycle, TODO part will replace the current default value 0.25.
If that's ok, I will update latest.inc

so Pk is a p-value?

Pk is a value to evaluate whether an IC is ECG-related.

I would just call it threshold and explain in the docstring to what it
corresponds in the paper.

good to go?

threshold='auto' passed for both ctps and correlation methods locally, so I updated test_ica.py to use the new threshod='auto'
BTW, the computed threshold in plot_run_ica.py is 0.41 (the original default is 0.25) because the data were resampled to 150 Hz. Though both thresholds converged to the same components, I think it would be better to determine the threshold based on data sampling rate. Thus the threshold in plot_run_ica.py for CTPS method was updated to 'auto' and not the current default 0.25.
To make sure the detected components are ECG related, the estimated source of the components are visualized.

@yh-luo you will need to update latest.inc file to get credit and document this improvement. thanks

thx @yh-luo !


Dev/consolidate oc id generation

asking for review to make sure id generation for gb_coh_psc doesn't change

closing for now as we seem to be good without any id generation abstraction ;)


Link error in step 'make package'

My system is Ubuntu18.04. I've downloaded carla and UnrealEngine_4.19, when I make this project as instructions, I meet a problem.
'make launch'  success, and there is UnrealEngine displaying.  When 'make package' , compile success, but there are link errors:
UnrealBuildTool-2018.09.13-11.01.45.txt
Performing 1 actions (4 in parallel)
[1/1] Link (lld) CarlaUE4
/usr/lib/llvm-5.0/bin/ld.lld: error: undefined symbol: ACityMapGenerator::ACityMapGenerator(FObjectInitializer const&)

referenced by CarlaMapGenerator.cpp:11

How could I solve this problem?

That's odd, those are all functions present in the Carla plugin, somehow did not compile correctly? Have you modified anything in the configuration?
And just to be sure, try doing a clean package, Unreal caches files and sometimes fails with weird things because it's caching something from a previous version.
make clean package

After make clean and make package in absolute path, the problem is solved.
(I use 'ln -s' to link slave disc to main disk and project is in slave disc, maybe result in this problem)


Update with functional CPU wrapper

When building for the FPGA there exist setup slack problems.

Merged iob-soc/devel


CD docs - Removed an old video reference related to Kubernetes manifest

Removed video referencing the v1 service with old FE experience thats no longer relevant to the new service experience.
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66a88f8003f210024b800bef--harness-developer.netlify.app


Add regex branch matching description

Fixes https://github.com/lambci/lambci/issues/25

Huh, seems you've unearthed a bug with public pull requests – need to look into that!

Ok, pull request passes now

Thanks for that! Landed in https://github.com/lambci/lambci/commit/41cc5e812997154f74e8a39711abb035dbbce089 and merged in https://github.com/lambci/lambci/commit/57c3a0a9456b4d2c01688452ae15b3e4b35bcf8c


Multiple destroy calls can lead to removal of wrong machine

Let us assume the following scenario:
We have two isolated Vagrant environments, each managed by its own Vagrantfile. One machine is called “test”, the other is called “mytest”. Then we call "vagrant destroy" on one environment. In our scenario this leads to the destruction of the virtual machine “test”.  The machine “mytest” is untouched and still running. Then we make a second call "vagrant destroy" on the same Vagrantfile. As you can see in “delete_server.rb” (line 15) this command makes a call to the OpenStack API because there is no existing virtual machine id. The problem is that the given name is interpreted as a regular expression in OpenStack and matched case-insensitive against all existing machine names. The call returns with the machine id of the virtual machine “mytest”, because “mytest” matches the regex “test”. This results in a destruction of the virtual machine “mytest”. In order to get rid of that problem, please use an exact regex like/ ^machine.name$/ which means only to return those machines with exactly match the corresponding machine name.
Please fix this issue.

would you mind providing a PR ?


Optimize array operations.

If there is queued loop-based methods next to each other (i.e. map, filter, and forEach) we could squish these together into one loop, instead of separate loops.

I think it would be best to go with #3.


Is the support to openAPI 3.0 available now ?

Looking for a middleware for openAPI 3.0 for schema validation and routing. I use this module previously for swagger 2.0 and it works perfect.

Not quite yet, but we're actively working on it in the v3 branch

We are now publishing alpha releases to npm with some support for OpenAPI 3.0.  These alphas are based on the v3 branch.  See the ReadMe and the changelog for more details.


#version 300 es comment gets removed

With WebGL 2 some GLSL features require the #version 300 es comment to be present. Unfortunately vite-plugin-glsl removes this comment just as a regular comment.

Never mind I somehow messed things up myself. Sorry

No problem at all, I'm glad you've solved it. :)