Use default AmazonS3Client provider chain (support for IAM instance profile credentials)

Any of the checked boxes below indicate that I took action:

[x] Reviewed the Contribution Guidelines.
[X] Signed the Gradle CLA.
[X] Ensured that basic checks pass: ./gradlew quickCheck

For all non-trivial changes that modify the behavior or public API:
N/A
Info
Currently, in order to connect an S3 repo, an AWS key id and secret must be hard-coded in a gradle build file, which can lead to security issues.
There is a story for adding IAM credential authentication to gradle, but the AWS library used by gradle (written by Amazon) already has built-in support, so there's no need to bake extra logic into gradle itself.
The changes in this pull request will utilize S3's default authentication provider chain if no AWS credentials are provided in a build.gradle file. This chain is as follows (from the official javadocs):

Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
Java System Properties - aws.accessKeyId and aws.secretKey
Instance Profile Credentials - delivered through the Amazon EC2 metadata service

This paradigm is followed by other s3 utilities (eg, boto), and will allow the use of IAM instance profile credentials with no additional work.
Example:
repositories {
    maven {
        url "s3://my-bucket/releases"

        // Use default provider chain by not setting key
        // credentials(AwsCredentials) {
        //     accessKey "aws_key_id"
        //     secretKey "aws_secret_key"
        // }
    }
}

Moving away from BasicAwsCredentials as the only supported authentication mechanism would be a massive help for those of us conscious of committing keys and who don't want to fork, patch and run Gradle. A massive 👍  to this.

Looking forward to seeing this merged!

Thank you very much for your pull request!
After looking at the code I see some test coverage missing for using the default credential chain. Could you add an integration test for that? Please update the documentation, too (https://github.com/gradle/gradle/blob/4fd087f3f9b2fff35fa54a561c488caad9b69a78/subprojects/docs/src/docs/userguide/depMngmt.xml#L881-L881).

@Xeroday: I started of thread on the dev list to discuss if we want to have a feature like this: https://groups.google.com/forum/#!topic/gradle-dev/3dBqWAWOdD8
Please join in.

Thank you very much for the time spent on this PR. I am sorry we will not merge this as it is - see the discussion on the mailing list. Please open a new PR if you want to continue working on this feature aligned to the design document.

For the ones interested in this feature/change, I have opened a PR at https://github.com/gradle/gradle/pull/690 which implemented the mandatory Story defined in the design docs.
Cheers,


Internet adapter in a broken state (unable to update desktop image and icon in the taskbar)

Details
I have installed FLARE-VM, which by default installs internet_detector.vm. Because the internet is on (we are installing packages), the internet_detector changes the theme to pink and the background.  But the installer set the background image at the end to be the FLARE-VM image, overwriting the one from the installer. After that, I would expect the internet_detector to overwrite it again, but it does not, keeping the bar and desktop out of sync.

This makes the tool more confusing than helpful, as we can't trust it to know when the internet is enabled.

Documenting the details from https://github.com/mandiant/VM-Packages/pull/1221#issue-2743997133 here too:
The issue with the wallpaper seem to be that internet_detector ended up in a broken state after the installer.vm performed a VM-Refresh-Desktop, which made internet_detector continue to run but unable to modify the background and also display an indicator in the taskbar. This can be fixed by having a detection for if explorer.exe is restarted and/or if the taskbar icon is removed, and if so, it attempts to restart itself or die gracefully so that the scheduled task can start it back up again properly.

Fixed in https://github.com/mandiant/VM-Packages/pull/1221


Creation of virtual folders of blobs with special characters

Package Name: azure-storage-blob
Package Version:  azure-storage-blob==12.12.0
Operating System: Windows
Python Version: 3.9.13

Describe the bug
When creating virtual folders inside a blob container, the sdk allows you to use special characters such as èàéòù while the azure portal does not allow it (see attachment). This leads to problems when creating the url of the stored file.
Expected behavior
Insert control that does not allow the use of special characters from the python library (handle the same behavior present on the azure portal).
Screenshots
Creation form azure portal:

By using python sdk:

@ivanvaccarics - Thanks for opening an issue. We'll investigate asap!

Hi @ivanvaccarics Ivan, thanks for your inquiry! I believe that you may be mixing up some of the terms being used, so hopefully this explanation below helps to clear up any confusion!
In general, for those seeking a more robust file system with the concept of directories and files, azure-storage-file-datalake would be the package that would support this behavior. This package requires a HNS (hierarchical namespace) enabled Storage account.
In contrast, for those who want a more simpler storage solution, the package of choice is azure-storage-blob, where all data is stored in blobs under a container.
Both use storage Containers as the top-level, and both enforce the naming convention shown in the error you shared (This name may only contain lowercase letters, numbers, and hyphens, and must begin with a letter or a number. Each hyphen must be preceded and followed by a non-hyphen character. The name must also be between 3 and 63 characters long.)
With this in mind, I think your original post, you were attempting to create a container with an illegal character, thus facing the error, but had mistakenly thought you were creating a directory.

(Note how this is the prompt from 'New container')
For further clarification, here is the options when interacting with a hierarchical namespace enabled storage account:
HNS Enabled Account

Non-HNS Enabled Account

(Note the option to 'Add Directory' is not present for flat accounts)
Hopefully this resolves your issue, but please let us know if you have any other questions!
Thanks!

Hi @vincenttran-msft, thanks a lot for your message. He clarified my doubt. Thanks!

Hi @ivanvaccarics Ivan, glad that we were able to help clear up any confusion! We will continue with the closure of this issue!
Thanks!


Add script to publish to maven local

Signed-off-by: Vijayan Balasubramanian<EMAIL_ADDRESS>Description
Added script for opensearch-java to publish to maven local based on
version and whether is it snapshot or not.
Issues Resolved
#585
Check List

[x] Commits are signed per the DCO using --signoff

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

There are going to be 2 jenkins files that will be using this file:

Publishing the snapshots based on main branch
Staging the maven artifacts when they are ready based on the commit_id.

Reason to put it in build.sh so that if anything changes in future, we do not need to make code changes in 2 jenkinsfile
No preference where this file should be whether in build or opensearch-java.

What do we want to do with this @VijayanB?


Interactive Window keyboard shortcut

Type: Bug
After the last update, i can no longer send lines of python codes to Interactive Window. Pressing SHIFT+ENTER on select code, used to open Interactive Window. Now I can only right click and send to interactive window.
I've search all internet for a fix, nothing works
I do have check the box: "When pressing shift+enter, send select code in a Python file to the Jupyter interactive window as opposed to the Python terminal" .. but still nothing.
I even tried addin in the Preferences settings JSON this:
"python.dataScience.sendSelectionToInteractiveWindow": true
... still nothing. How do i get back this function!

Could you please try the following:

Run the command "Developer: Toggle Keyboard Shortcuts Troubleshooting" (you can, for example, run it from the Command Palette)
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects.

If you are having trouble understanding the output, please feel free to paste here and we'll be happy to help :-)

I hope i did what you asked. I got this:
2023-05-16 19:03:22.811 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 16, key: Shift
2023-05-16 19:03:22.811 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift], code: ShiftLeft, keyCode: 4 ('Shift')
2023-05-16 19:03:22.811 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2023-05-16 19:03:22.816 [info] [KeybindingService]: / Soft dispatching keyboard event
2023-05-16 19:03:22.816 [info] [KeybindingService]: | Resolving shift+Enter
2023-05-16 19:03:22.816 [info] [KeybindingService]: \ From 16 keybinding entries, matched interactive.input.focus, when: no when condition, source: user.
2023-05-16 19:03:22.816 [info] [KeybindingService]: / Received  keydown event - modifiers: [shift], code: Enter, keyCode: 13, key: Enter
2023-05-16 19:03:22.816 [info] [KeybindingService]: | Converted keydown event - modifiers: [shift], code: Enter, keyCode: 3 ('Enter')
2023-05-16 19:03:22.816 [info] [KeybindingService]: | Resolving shift+Enter
2023-05-16 19:03:22.816 [info] [KeybindingService]: \ From 16 keybinding entries, matched interactive.input.focus, when: no when condition, source: user.
2023-05-16 19:03:22.817 [info] [KeybindingService]: + Invoking command interactive.input.focus.
2023-05-16 19:03:23.413 [info] [KeybindingService]: + Ignoring single modifier shift due to it being pressed together with other keys.

Thanks! It seems either you or some extension has overridden that keybinding.
Please, check your keybindings.json (to open it, invoke command Open Keyboard Shortcuts (JSON) from the Command Palette (ctrl+shift+p on Windows and cmd+shift+p on MacOS)) for a keybinding that includes "key": "shift+enter" and remove it
If that's not the case, please copy-paste your keybindings.json here

I have these:
[
{
"key": "shift+z",
"command": "workbench.action.terminal.runSelectedText"
},
{
"key": "ctrl+shift+a",
"command": "copilot-labs.use-brush-picker",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+e",
"command": "-copilot-labs.use-brush-picker",
"when": "editorTextFocus"
},
{
"key": "shift+enter",
"command": "interactive.input.focus"
},
{
"key": "alt+enter",
"command": "python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "shift+enter",
"command": "-python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "ctrl+shift+o",
"command": "workbench.action.openGlobalKeybindingsFile"
As i see i have 2 of them, not exactly sure which one to delete. My next question would be .. what do i do after i delete that binding and save?
Thank you for your prompt support!

I may have found a solution.
I did this 2 times, but it worked only once
So, opening Keyboard Shortcuts (CTRL+K CTRL+S), type: Run Selection
You should have 2 options: a) Jupyter: Run Selection/Line in Interactive Window with SHIFT+ENTER as key binding, and b) Python: Run Selection/Line in Python Terminal with (probably) also SHIFT+ENTER
You need to change the key binding for the Python (i did for ALT+ENTER).
The thing is i did this before and it didn't work .. but once I uninstalled the Jupyter extension (there are 4 in fact) and reinstalled, and then proceed with changing the key binding ... only then it worked

Based on your keybindings.json, you created a keybinding (the first entry)
and removed the old keybinding (the second entry - note how the command ID
has a - at the beginning). You should remove both entries to restore old
behavior. But it seems you have solved the problem
We have great docs around key bindings online if you want to have a look
On Tue, 16 May 2023 at 18:39, Diaconescu Tiberiu @.***>
wrote:

I may have found a solution.
I did this 2 times, but it worked only once
So, opening Keyboard Shortcuts (CTRL+K CTRL+S), type: Run Selection
You should have 2 options: a) Jupyter: Run Selection/Line in Interactive
Window with SHIFT+ENTER as key binding, and b) Python: Run Selection/Line
in Python Terminal with (probably) also SHIFT+ENTER
You need to change the key binding for the Python (i did for ALT+ENTER).
The thing is i did this before and it didn't work .. but once I
uninstalled the Jupyter extension (there are 4 in fact) and reinstalled,
and then proceed with changing the key binding ... only then it worked
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/182644#issuecomment-1550011465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4YR65A7QCPDX4YKZVNBRTXGOUTTANCNFSM6AAAAAAYD3J6XM
.
You are receiving this because you were assigned.Message ID:
@.***>


Unable to "python run.py"

While attempting to python run.py in a virtual environment with Python version 3.6.9 on Ubuntu 18.04 I get
ModuleNotFoundError: No module named 'guest'
The full error:
Traceback (most recent call last):   File "run.py", line 1, in <module>     from app import app   File "/home/mbulla/Bootcamp-Exercises/frameworks/app/__init__.py", line 9, in <module>     from app.models import Guest   File "/home/mbulla/Bootcamp-Exercises/frameworks/app/models/__init__.py", line 1, in <module>     from guest import Guest ModuleNotFoundError: No module named 'guest'

Nevermind, I believe everything was written with Python2 and that's why I am unable to follow this project myself.

Yes, we unfortunately haven't updated this for Python3 yet. Feel free to make a PR which updates it!

Hello guys. I'm also learning with OSU DOBC. First I installed python2 on global using ..
$sudo apt install python2
Then I installed python2 in virtualenv using..
$virtualenv --python=/usr/bin/python2 venv
It shows some warning but I think it's okay as we are learning.


Face detection and extracting features using OpenCV

Proposed title of article
Face detection and extracting features using OpenCV
Proposed article introduction
Image processing offers a variety of enhancement that improves the quality of an image. Using OpenCV by  applying mathematical morphology to the image one can detect human face features and extract different unique features such as face, nose ,eye and skin and such information can can be used in  augmented reality operations and its application.
Key takeaways

Introduction to face detection in OpenCV.
By ensuring code examples with explanation it will be easier to grasp concepts.
Understanding the mathematical morphology behind face detection techniques

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

We have several topics on face detection using OpenCV -> https://github.com/section-engineering-education/engineering-education/issues?q=OpenCV Further, the topic appears to be over saturated


[RI-357] Override tempest whitelist

Instead of blacklisting the test_minimum_basic_scenario we are providing
a good whitelist.
Issue: RI-357
Issue: RI-357

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.


TEMP / DO NOT MERGE: gather disk usage information from github runner

Gathering information for https://github.com/apache/arrow-datafusion/issues/6676 -- where is the space?
(I am pretty sure it will be all the intermediate code generated from rustc but we'll see)

https://github.com/apache/arrow-datafusion/issues/6676#issuecomment-1594883050 🎉
I think this PR has served its purpose now


EcsLayout - Use LogEventInfo.Logger instead of hardcoded DefaultLogger

Resolves #54 and Resolves #56

cla/check

Have already signed it for a different repository in your care.
Guess you will fix the cla app
Sent from my Sony Xperia
---- Stuart Cam wrote ----
cla/check
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/elastic/ecs-dotnet/pull/67#issuecomment-606445268, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXZ7HEWKGPNMZGNXT2XEB3RKGKA7ANCNFSM4LW54XMA.

@Mpdreamz Any chance of having this merged?

@codebrain Is there something I can do, so this can be merged?

@snakefoot will look at it this week to get it in. Thank you for the PR, sorry for the radio silence!

:broken_heart: Build Failed

Expand to view the summary

Build stats

Build Cause: [Pull request #67 updated]

Start Time: 2020-05-08T17:20:00.418+0000

Duration: 3 min 6 sec (185924)

Commit: db459e9446e84dac55f91c551e9198ae4756cf91

Steps errors
Expand to view the steps failures

Name: Error signal

Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission

Result: FAILURE

Duration: 0 min 0 sec

Start Time: 2020-05-08T17:23:04.723+0000

log

Log output
Expand to view the last 100 lines of log output

[2020-05-08T17:23:00.406Z] Merging remotes/origin/master commit bbc0ff2cd25219e58b2f27956495e2bb8f314277 into PR head commit db459e9446e84dac55f91c551e9198ae4756cf91
[2020-05-08T17:23:00.478Z] Merge succeeded, producing db459e9446e84dac55f91c551e9198ae4756cf91
[2020-05-08T17:23:00.479Z] Checking out Revision db459e9446e84dac55f91c551e9198ae4756cf91 (PR-67)
[2020-05-08T17:23:00.579Z] Commit message: "EcsLayout - Use LogEventInfo.Logger instead of hardcoded DefaultLogger"
[2020-05-08T17:23:00.579Z] Cleaning workspace
[2020-05-08T17:23:00.409Z]  > git config core.sparsecheckout # timeout=10
[2020-05-08T17:23:00.412Z]  > git checkout -f db459e9446e84dac55f91c551e9198ae4756cf91 # timeout=15
[2020-05-08T17:23:00.453Z]  > git remote # timeout=10
[2020-05-08T17:23:00.457Z]  > git config --get remote.origin.url # timeout=10
[2020-05-08T17:23:00.460Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-05-08T17:23:00.462Z]  > git merge bbc0ff2cd25219e58b2f27956495e2bb8f314277 # timeout=10
[2020-05-08T17:23:00.474Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-05-08T17:23:00.481Z]  > git config core.sparsecheckout # timeout=10
[2020-05-08T17:23:00.488Z]  > git checkout -f db459e9446e84dac55f91c551e9198ae4756cf91 # timeout=15
[2020-05-08T17:23:00.581Z]  > git rev-parse --verify HEAD # timeout=10
[2020-05-08T17:23:00.584Z] Resetting working tree
[2020-05-08T17:23:00.584Z]  > git reset --hard # timeout=10
[2020-05-08T17:23:00.663Z]  > git clean -fdx # timeout=10
[2020-05-08T17:23:01.268Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-05-08T17:23:01.823Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2020-05-08T17:23:02.399Z] From https://github.com/elastic/ecs-dotnet
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/1/head  -> origin/pr/1
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/10/head -> origin/pr/10
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/11/head -> origin/pr/11
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/12/head -> origin/pr/12
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/14/head -> origin/pr/14
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/15/head -> origin/pr/15
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/16/head -> origin/pr/16
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/19/head -> origin/pr/19
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/2/head  -> origin/pr/2
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/22/head -> origin/pr/22
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/23/head -> origin/pr/23
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/24/head -> origin/pr/24
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/25/head -> origin/pr/25
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/26/head -> origin/pr/26
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/27/head -> origin/pr/27
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/28/head -> origin/pr/28
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/33/head -> origin/pr/33
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/34/head -> origin/pr/34
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/35/head -> origin/pr/35
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/36/head -> origin/pr/36
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/37/head -> origin/pr/37
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/38/head -> origin/pr/38
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/39/head -> origin/pr/39
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/4/head  -> origin/pr/4
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/40/head -> origin/pr/40
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/43/head -> origin/pr/43
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/44/head -> origin/pr/44
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/45/head -> origin/pr/45
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/47/head -> origin/pr/47
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/48/head -> origin/pr/48
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/49/head -> origin/pr/49
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/5/head  -> origin/pr/5
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/50/head -> origin/pr/50
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/51/head -> origin/pr/51
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/52/head -> origin/pr/52
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/53/head -> origin/pr/53
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/57/head -> origin/pr/57
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/59/head -> origin/pr/59
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/6/head  -> origin/pr/6
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/60/head -> origin/pr/60
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/63/head -> origin/pr/63
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/65/head -> origin/pr/65
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/66/head -> origin/pr/66
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/67/head -> origin/pr/67
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/69/head -> origin/pr/69
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/7/head  -> origin/pr/7
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/70/head -> origin/pr/70
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/74/head -> origin/pr/74
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/8/head  -> origin/pr/8
[2020-05-08T17:23:02.399Z]  * [new ref]         refs/pull/9/head  -> origin/pr/9
[2020-05-08T17:23:02.399Z]  * [new tag]         1.2.0-alpha1      -> 1.2.0-alpha1
[2020-05-08T17:23:02.399Z]  * [new tag]         1.4.0             -> 1.4.0
[2020-05-08T17:23:02.399Z]  * [new tag]         1.4.0-beta1       -> 1.4.0-beta1
[2020-05-08T17:23:02.399Z]  * [new tag]         1.4.1             -> 1.4.1
[2020-05-08T17:23:02.400Z]  * [new tag]         1.4.2             -> 1.4.2
[2020-05-08T17:23:02.400Z]  * [new tag]         1.4.3             -> 1.4.3
[2020-05-08T17:23:02.400Z]  * [new tag]         1.4.4             -> 1.4.4
[2020-05-08T17:23:02.400Z]  * [new tag]         1.5.0             -> 1.5.0
[2020-05-08T17:23:02.852Z] + git rev-parse HEAD
[2020-05-08T17:23:03.197Z] + git rev-parse HEAD
[2020-05-08T17:23:03.495Z] + git rev-parse origin/pr/67
[2020-05-08T17:23:03.524Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-05-08T17:23:03.716Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-05-08T17:23:04.532Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/ecs-dotnet/pulls/67/reviews return 0 elements
[2020-05-08T17:23:04.550Z] [INFO] githubPrCheckApproved: Title: EcsLayout - Use LogEventInfo.Logger instead of hardcoded DefaultLogger - User: snakefoot - Author Association: FIRST_TIME_CONTRIBUTOR
[2020-05-08T17:23:05.678Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-05-08T17:23:05.700Z] Stage "Parallel" skipped due to earlier failure(s)
[2020-05-08T17:23:05.724Z] Stage "Linux" skipped due to earlier failure(s)
[2020-05-08T17:23:05.725Z] Stage "Windows" skipped due to earlier failure(s)
[2020-05-08T17:23:05.733Z] Failed in branch Linux
[2020-05-08T17:23:05.744Z] Stage "Windows" skipped due to earlier failure(s)
[2020-05-08T17:23:05.773Z] Stage "Windows" skipped due to earlier failure(s)
[2020-05-08T17:23:05.796Z] Failed in branch Windows
[2020-05-08T17:23:05.972Z] Running on Jenkins in /var/lib/jenkins/workspace/gent-dotnet_ecs-dotnet-mbp_PR-67
[2020-05-08T17:23:06.042Z] [INFO] getVaultSecret: Getting secrets
[2020-05-08T17:23:06.094Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-08T17:23:06.601Z] + chmod 755 generate-build-data.sh
[2020-05-08T17:23:06.601Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-67/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-67/runs/2 FAILURE 185924
[2020-05-08T17:23:07.152Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-67/runs/2/steps/?limit=10000 -o steps-info.json

Hopefully my merge build will spin on CI. Will merge it in if so and passes.
THanks again @snakefoot 👍

@Mpdreamz All builds done by you or me says:

githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Jenkins run the tests please

@v1v Thank you! Can you also do the magic on #76 and #75 ?


sereverside/encodeUrl XSS fails

I have been trying to perform XSS for serverside URL encoding challenges like https://public-firing-range.appspot.com/escape/serverside/encodeUrl/attribute_name but I cannot bypass the encoding. Can I get some help regarding this?

Anyone :) any help :). I don't know if this can be attacked or not :).

Hi,
the particular case you quote (https://public-firing-range.appspot.com/escape/serverside/encodeUrl/attribute_name) is indeed not exploitable.
The firing range is a test bed for automated scanners, so we also include unexploitable cases to check for misdetections. But currently this is not very well documented (only internally). I can see what I can do to bring the documentation to the public repository. We have a fix-it in our team mid June so this might be a good item to tackle then :-)
Cheers,
Nicolas

We have a fix-it in our team mid June so this might be a good item to tackle then :-)

:)


Analyzer for service port prefix

istio-vet's implementation: https://github.com/aspenmesh/istio-vet/blob/master/pkg/vetter/serviceportprefix/README.md
This is single-object validation, but it's a case where we need a WARN level message (since the set of valid prefixes could change during upgrade). Since we need WARN level, it makes sense to build it as an analyzer at least for now.

I guess that this one is the same as the following one on Kiali: https://www.kiali.io/documentation/validations/#_port_name_must_follow_protocol_suffix_form

Example of when this would be relevant: https://docs.google.com/document/d/1uJ2bbkj8t7V-NTXSfHHq7jGmq5KD1Jil3O6uhUZ4fCw/edit?ts=5dc4680b#heading=h.4jxi4a4dzrx6

This was implemented by https://github.com/istio/istio/pull/19375/, so closing this issue.


No detailed error message when VM creation fails

I'm using the SDK to programmatically launch VMs and often encounter failures with the vague error message "Async operation failed with provisioning state: Failed". As you can see from the attached screenshot, there's no more information in the CloudException.

If I check the "Activity log" for the resource group in which I attempted to launch the VM, I can find a more informative error code and message in the JSON blob:
    "properties": {
        "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"AllocationFailed\",\"message\":\"Allocation failed. Please try reducing the VM size or number of VMs, retry later, or try deploying to a different Availability Set or different Azure location.\"}]}}"
    },

Simplified code snippet:
client.virtualMachines().define(vmName)
 // fill in a a bunch of options
.create()

It would be great if the CloudException could contain the more detailed error report so that we don't need to cross reference the portal in case of failures.

I'm currently using version 1.0.0. If this issue has been addressed in a more recent update, I apologize. I will also try updating.

Ok, it looks like version 1.3.0 includes the error code and message in CloudException#body. I'll close this issue.

An alike problem. Azure Java SDK 1.41.0 did not offer the error details for a provisioning error. CloudException#body#details folded no inner errors and Activity Log reported certain.
[2021-06-21;12:32:15.576]  Executing CREATE operation for cloud resource... failed.
  java.util.concurrent.CompletionException: ...CannotExecuteCloudOperationException:
    Cannot create resource. Async operation failed with provisioning state: Failed: []
    ...
    Caused by: com.microsoft.azure.CloudException: Async operation failed with provisioning state: Failed
    at com.microsoft.azure.PollingState.throwCloudExceptionIfInFailedState(PollingState.java:541)
    at com.microsoft.azure.AzureClient$6.call(AzureClient.java:215)
    at com.microsoft.azure.AzureClient$6.call(AzureClient.java:212)
    at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:69)
    ...

"properties": {
  "statusMessage": "{
    \"status\":\"Failed\",
    \"error\":{
      \"code\":\"ResourceOperationFailure\",
      \"message\":\"VM... did not start in the allotted time. The VM may still start successfully. Please check the power state later..\",
      \"details\":[{
          \"code\":\"VMStartTimedOut\",
          \"message\":\"VM status blob is found but not yet populated.\"
        }]
    }
  }",

I have no idea how to reproduce the issue...


Updated Definition

@fugu13 @garemoko
I didn't see a formal definition in the spec updates. There is improved readability and descriptions of the spec in general, but would like to see a formal definition of profile as well. We had an issue open previously that was closed #142 , but I don't believe we ever decided on a formal definition.
The formal definition we were previously using was, "“A profile is a specific set of rules and documentation for implementing xAPI in a particular context. Profiles generally provide a particular vocabulary of terms, some created specifically for the profile, and some are referenced from other vocabularies.”
Based on the new profile spec, I propose the following (leaner) definition:
"A profile is both the human and machine-readable documentation of application-specific concepts, extensions, statement templates, or other data used when implementing xAPI in a particular  context."

@jhaag75 the definition of profile is given in the definitions list, here: https://github.com/DataInteroperability/xapi-profiles/blob/master/xapi-profiles-about.md#profile
The current text, which I think you'll find aligns pretty well with yours, is:

What this specification focuses on. A way to talk about Concepts, Statement Templates, and Patterns for Experience API data, and in particular to describe them so machines can do some processing automatically.

I'll go ahead and add "in a particular context" after "data".


Lion IMBA

Tooltips, Lion.lua, npc_ability_custom updated to include Lion IMBA

This is a concept that he asked for. I've built IMBA Lion with his instructions of how the skills should work and interact.
The Skywrath Mage concept was made by me entirely though, as a test for myself whether I could develop a hero from scratch.
Shush
On Dec 8, 2016 9:04 PM, Brandon Sturgeon<EMAIL_ADDRESS>wrote:<br type="attributi
@brandonsturgeon commented on this pull request.

In game/dota_addons/dota_imba/scripts/vscripts/hero/hero_lion.luahttps://github.com/fcalife/dota_imba/pull/78:

local knock_up_time = ability:GetLevelSpecialValueFor("knock_up_time", ability_level)

  local damage = ability:GetLevelSpecialValueFor("damage", ability_level)

  local stun_duration = ability:GetLevelSpecialValueFor("stun_duration", ability_level)

  local spike_speed = ability:GetLevelSpecialValueFor("spike_speed", ability_level)

  local travel_distance = ability:GetLevelSpecialValueFor("travel_distance", ability_level)

  local spikes_radius = ability:GetLevelSpecialValueFor("spikes_radius", ability_level)

  local extra_spike_AOE = ability:GetLevelSpecialValueFor("extra_spike_AOE", ability_level)

  local wait_interval = ability:GetLevelSpecialValueFor("wait_interval", ability_level)

  -- Spikes ignore target if it was already hit this cast

  if target.hit_by_earth_spikes then

          return nil

  end

  -- Mark target as hit by Earth Spikes

  target.hit_by_earth_spikes = true

Ahhh, I see :) I didn't realize these were spread across different functions.
Thanks!
I'm sure you're already all over it, but flame amphibian suggests that you post your IMBA suggestion on the current IMBA suggestion thread on Reddit before making a pull request.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/fcalife/dota_imba/pull/78, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOytGwUp7wBmFc3tZCk9JCbkIgfZO0v1ks5rGFS8gaJpZM4LGBXf.

again, some weird conflict on addon_english.txt, but I'll be adding this manually.
Thank you!


QT Responses download should include email address

All candidates who have taken apart in a QT should have the email address they applied to the exercises included in all QT downloadable reports
It will enable SETs to send out results quickly and efficiently instead of having to find their addresses

[ ] Include email addresses in the 'Download Responses' data

Closed as not doing


Inconsistent results upon clicking the cards in the about us section

Describe the bug
In the about us section upon the clicking on the Destinations card the page simply refreshes while on clicking the other two it takes the user to a page where the story video is played
Expected behavior
Upon clicking the Destinations card it should also redirect the user to the story video.
Screenshots (Mandatory)

https://github.com/apu52/Travel_Website/assets/106834322/d64bd406-ce04-46c8-9958-a13f71eac9eb
Additional Context (Mandatory )
The onclick for the destinations card element need to be fixed so that upon clicking it the user would be redirected to the story video.
Are you contributing under any open-source program ?
Yes I am contributing under GSSoC'24

Do assign me this issue under GSSoC'24 , can fix it in less time.

I can fix this issue. Kindly assign this task to me. #GSSOC24

please assign this issue to me under gssoc 2024
i can fix this issue

I have successfully solve the bug under GSSOC'24. Please assign it to me so that i can make a pull request/

There is no need to redirect on the same page that the guide and tour pages are redirecting to as we don't have pages for tour and guide maybe added in future.


Missing role field for user sign-up

In the controller, function addUser and signUp:
if (req.body) {         req.body.rolName = RoleName.Observer;     }
and It must be:
if (req.body) {         req.body.roleName = RoleName.Observer;     }

Fixed #100


screenshot

What's your question?
It does not show me the image of what the player is playing

Hello @jovalois
Do you installed the add-on on the target player?
bash <(curl -sL https://git.io/Jf900)
Best
didiatworkz

If it was installed and it does not generate an error but it still seems that it is not installed, I am attaching an image

Hello @jovalois
So let me get this straight...
You have also logged into player <IP_ADDRESS> via ssh and executed the command: bash <(curl -sL https://git.io/Jf900)
If this is installed correctly, then a script must be here:
/usr/bin/screenshot.sh
a crontab can be found here: sudo crontab -e
sleep 20 && /usr/bin/screenshot.sh >> /var/log/screenshot.log 2>1
and this command must also work: raspi2png --help
If one of them doesn't fit, then you have to install the whole thing again and send me the complete output of the installation.
Best
didiatworkz
PS: <IP_ADDRESS>:9020/screen/screenshot.png is the address to check, as soon as it is reachable, the image is retrieved

No response from author - Issue will be closed


Update documentation and error messages

Update UG, DG and findByPriority command format message

Codecov Report

Merging #148 (01f7329) into master (2a697b1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #148   +/-   ##
=========================================
  Coverage     66.95%   66.95%
  Complexity      553      553
=========================================
  Files           102      102
  Lines          1876     1876
  Branches        205      205
=========================================
  Hits           1256     1256
  Misses          544      544
  Partials         76       76

Impacted Files
Coverage Δ
Complexity Δ

.../address/logic/commands/FindByPriorityCommand.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Create multiple repositories in test organisation

User Need
As a Developer
I want Terraform to create mutiple Github repositories that adhere to same standards
so that I can easily create new Github repositories that adhere to same standards
Acceptance Criteria:

Github repos Terraform creates multiple repositories that adhere to same standards

https://github.com/ministryofjustice/data-platform/tree/main/terraform/github

Test to see what happens if you tweak a repository's configuration

Refactor solution to not use a loop and for each repo to have its own tf file

check out - https://github.com/ministryofjustice/modernisation-platform/blob/main/.github/workflows/terraform-static-analysis.yml


Can't deploy Taxonomy to Vercel

I tried to deploy Taxonomy on Vercel, I filled every environment variable, including NextAuth, Github, Stripe, Postmark and Planetscale, it works on my local machine, both development and build are OK, no console errors or warnings, but when I deploy it to Vercel, I always get the same error and I don't know how to debug it. Can you help me please?

"Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
ur @ 1038-8ac05e91eb48cd01.js:9"

Not sure if it's the same reason but I've found this from an error being thrown by unstable_getServerSession in the ContentLayer enabled area. Worked around it by redoing the getSession function, although it just means I can't have an auth'ed state in docs.
export const getSession = async (): Promise<Session | null> => {
  try {
    return await unstable_getServerSession(authOptions);
  } catch (error) {
    return null;
  }
};

@gamekaiju Is this happening on all routes?

export const getSession = async (): Promise<Session | null> => { ... }

I don't see why Promise<Session | null> is required. Other than that...
export async function getSession() {
  try {
    return await unstable_getServerSession(authOptions)
  } catch (error) {
    return null
  }
}

...confirmed as a workaround.

export const getSession = async (): Promise<Session | null> => { ... }

I don't see why Promise<Session | null> is required. Other than that...
export async function getSession() {
  try {
    return await unstable_getServerSession(authOptions)
  } catch (error) {
    return null
  }
}

...confirmed as a workaround.

Not required, I just have a hella strict linter setup 😅

Not required, I just have a hella strict linter setup sweat_smile

Than you very much Hayden. Great work!


Wouldn't this be more useful as Test class?

which every developer could add to his nightly Test Suite run or into her DevOps pipeline to auto-detect wrong API usage?

Hi @rsoesemann this is a good question that deserves a conversation.
This code is meant to detect legacy API calls on productions orgs. In an ideal world, all Salesforce integrations would also have an equivalent test instance that is part of the DevOps pipeline so you could run this scanner as a test on a sandbox and detect issues early.
However, we all know that things are so not well organized and clean for all Salesforce orgs. Some integrations don't even use sandboxes and there could also be users that are directly using clients on their local machines to call APIs on prod.
This means that we would need to run those nightly tests directly in production org in order to catch all issues.
Do you feel that it's something that it would make sense as part of a DevOps pipeline?
I don't pretend that I have the answer yet but I'm happy discuss it and if need be, also ship a test equivalent of the anonymous Apex if you feel that's useful.

Learn more about our plan for legacy API retirement and what it means for you. Get tips on how to upgrade integrations using legacy APIs, as well as guidance on how to plan for the future.
In this post, we’ll present Salesforce’s plan for legacy API retirement. We’ll provide resources such as a utility script and instructions to help you identify if you are affected. You’ll get tips on how to upgrade integrations using legacy APIs and guidance on how to plan for the future.

A test version of the scanner can be found here:
https://github.com/trailheadapps/apex-recipes/blob/main/force-app/tests/CI Recipes/DeprecatedAPIVersionScanner_Tests.cls


chore: change service account to be optional in the helm manifest

@cre8ivejp
We also need to update deployments.
https://github.com/bucketeer-io/bucketeer/blob/aeb5bf79ce31e37c8bac88f4fa5249f18b22da6e/manifests/bucketeer/charts/account-apikey-cacher/templates/deployment.yaml#L41

@masaaania, thanks!
I have pushed it.


Merged Adapter Specific Updates

Adds in logic to delegate the proper notifications of changes within each adapter that's part of a MergedUniversalAdapter.
Adds a bunch of tests to ensure notifications work as expected.
Version 2.1.0 for new feature

@agrosner All done looking - a couple stylistic / naming things but looking good.


GitHub api plus redux

This PR does a few things:

It queries the search api for all issues and PRs that mention team Panda Rocket (we can make the types of queries customizable in another PR)
It changes the redux state to be an object that contains tasks, instead of an array of tasks. I did this so we will be able to store more than just tasks in the state. In retrospect, I should have waited until we actually needed this functionality before I implemented it.

What's next?

Get updates via the API. The app should be able to query the GitHub API for new and updated issues since our last fetch. This is going to require us to store when we last did the query and also use that date in the getPandaRocketTasks method.
We need to persist this data, probably using https://github.com/cheshire137/gh-notifications-snoozer/pull/20. I think using Redux middleware might be the best way to do this?

cc @cheshire137

Seems good though I'd prefer not starting with a hard-coded team name. :+1:

@cheshire137 I changed the getTask call to be more generic, so any search params can be used. The reason I used a hard-coded team was as a temporary step, the final goal would be to have custom filters available. But putting that data in the config file works well too.


Update [Overpass] Ultra

Was gonna add Ultra, but saw that it was already added in #65. Just updating the description to reflect that it does more than just overpass.

Nice! Sorry my original description didn't really do it justice 😅 It's an awesome project!

no worries! It's hard breaking the image of being an overpass client given it's origins, and the domain name I still use


It display wrong time in notification

It display wrong time in notification when laptop is logged off.
We need to correct local time.

It display wrong time in notification if user flap down laptop with browser open.


120hz

The app don't support 120hz in my phone (nothing 2a)
Ok I figured out how to do it.

I figured out how to do it.

Did it work after you forced the highest refresh rate in Aves display settings, or did you change something at the OS level? If it's the latter, please share the fix so that it could help fellow users in the future.

It's work after i change it from Default to highest in the setting


Development and fix bugs

I think this thread can be main here.

First that I want to offer, that adding:
var bigInt = BigInteger = (function (undefined) {
in the beginning for old BigInteger users.
In this case
var big = new BigInteger('100500');
will be working.
You can add Miller-Rabin primality test, for working with bigInt
You can add NOR and fix NOT bitwise functions. See previous threads with me.
https://github.com/peterolson/BigInteger.js/issues/131
https://github.com/peterolson/BigInteger.js/issues/130

I did test all functions and your last version have good conversations to basestring and basearray.
Many bugs is fixed. Best regards.

https://codepen.io/anon/pen/VxdvjO here is JS code with NOT function fixed.
All is commented + tabulations saved.

Miller-Rabin JS implementation for BigInteger added to previous code.
You can test this and update your code.
Have a nice day.

Miller-Rabin algo fixed and updated. Test generator added.

I don't see a good reason to change the name of the function. Adding a BigInteger alias would pollute the namespace, and it's a best practice for libraries to only add one name to the global namespace. Renaming from bigInt to BigInteger would break existing code.

In principle I'm not opposed to adding the Miller-Rabin test, but isProbablePrime is already one of the lesser-used functions in this library and I feel like adding more functions similar to it will add bloat to the code that most users will not need.

See my comments in #130

In the future if you want to propose code changes to the library, I would recommend creating pull requests for them - one for each proposed change.

OK.
OK, but I leave this here, and Miller-Rabin is already working and tested.
I did write small NOT function without any changes for previous calls,
and this could not cause existing code to stop working, if (bits) is undefined.

I don't understand how to using pool request here, but I like to test your library and have propositions.


[FEA] Add bootstrap recommended configs support for Databricks-AWS/Azure qualification tool

Is your feature request related to a problem? Please describe.
We want to add support for including bootstrap recommended configs in Databricks-AWS/Azure qualification tool output.

Bootstrap not supported


Receive message "The .NET SDK version 7.0.100 is not sufficient. The required version is 8.0."

Polyglot Notebooks
v1.0.5063010
Question
On opening VS Code (macOS Sonoma 14.2.1), I saw, "The Polyglot Notebooks extension now requires .NET SDK Version 8.0". I clicked the link to upgrade the SDK. Installed w/o issue. I still have the issue. I have the error, "The .NET SDK version 7.0.100 is not sufficient. The required version is 8.0."
Looks like VS Code is still referencing SDK version 7.0.x. I can't seem to be able to update VS Code. Please advise.
Thanks!

can you run 'dotnet --list-sdks' command and show the result?

This is the output:
7.0.100 [/Users/chris.rybitski/.vscode-dotnet-sdk/.dotnet/sdk]
This is after installing .NET 8 downloaded from here: https://dotnet.microsoft.com/en-us/download/dotnet/8.0

Ok then that means .NET 8 is not installed correctly or not added to the path correctly

I was getting the same message after I first installed the extension and reloaded the window even though dotnet 8 is installed I believe
dotnet --list-sdks
6.0.126 [/usr/share/dotnet/sdk]
8.0.101 [/usr/share/dotnet/sdk]

The message isn't popping up anymore though after reloading again, now I'm just having an issue where code cells won't run (for F# at least), I think the kernel isn't starting

This seems like a strange bug. I already have .NET 8 SDK;
C:\>dotnet --list-sdks
5.0.410 [C:\Program Files\dotnet\sdk]
7.0.101 [C:\Program Files\dotnet\sdk]
8.0.101 [C:\Program Files\dotnet\sdk]

I reloaded the window after being sure .NET 8 SDK installed, just like @rynoV experienced the message went away but nothing happens right. I tried to check Output window for some logs but couldn't find anything.

Is this happening on macOs?

Nope, I'm on Windows 10.

Arch 6.7.0 for me

I reloaded the window after being sure .NET 8 SDK installed, just like @rynoV experienced the message went away but nothing happens right.

For me nothing happens if I choose the non-ipynb extension (dib? I forget), but if I choose the ipynb the notebook is created the cells just stall when I run them

Do you have access to any log? Some would be here :

and here

any process startup issue would be there.
Also if you want to enable more logging open the setting for Polyglot Notebooks

edit settings in json
 "dotnet-interactive.kernelTransportArgs": [
       "{dotnet_path}",
        "tool",
        "run",
        "dotnet-interactive",
        "--",
         "[vscode]",
         "stdio",
         "--working-dir",
        "{working_dir}",
// enable verbose logs
        "--verbose",
         "--log-path",
        "C:/temp/testlogs/"
     ]

That could help diagnose the isse

I edited the settings in json as you mentioned, opened new window and ran the command Install .NET Interactive.
Polyglot Notebook: logger
[Error] extension host: Error parsing language configuration for language mustache
Polyglot Notebook: diagnostics
Extension started for VS Code Stable.
Started process 17812: dotnet tool run dotnet-interactive -- notebook-parser
relevant part of the settings.json
To be sure no write permission error can occur changed the log path to writable home directory.
    "dotnet-interactive.kernelTransportArgs": [
        "{dotnet_path}",
        "tool",
        "run",
        "dotnet-interactive",
        "--",
        "[vscode]",
        "stdio",
        "--working-dir",
        "{working_dir}",
        // enable verbose logs
        "--verbose",
        "--log-path",
        "C:/Users/tbaskan/"
    ]

Sorry, I forgot to mention there is no new files created in log path.

I encountered the similar issue on Windows 11. When starting a new notebook in VS Code, it seems nothing happened at all. However checking the process with  Get-Process | ? {$_.name -imatch "dot"}, I found the id of dotnet process kept changing, which means dotnet processes were terminated, restarted, terminated, restarted, so on and so forth, just like an endless loop.
After some investigation, I guess the issue is the version 1.0.446104 of .NET interactive tool can not run with .NET SDK 8 so I changed the version of .NET SDK and interactive tool in the extension setting as below

Then I could create new notebook or open notebook successfully. However, I still have the issue that after rendering the execution result of the command/program, the execution process keeps running, instead of terminating.

Below is how I investigated the issue. TLDR;
According to what colombod mentioned above

Do you have access to any log? Some would be here :  and here  any process startup issue would be there. Also if you want to enable more logging open the setting for Polyglot Notebooks  edit settings in json
 "dotnet-interactive.kernelTransportArgs": [
       "{dotnet_path}",
        "tool",
        "run",
        "dotnet-interactive",
        "--",
         "[vscode]",
         "stdio",
         "--working-dir",
        "{working_dir}",
// enable verbose logs
        "--verbose",
         "--log-path",
        "C:/temp/testlogs/"
     ]

That could help diagnose the isse

I got the error log like below
Extension started for VS Code Stable.
tool-uninstall: Executing [dotnet tool uninstall Microsoft.dotnet-interactive] in 'c:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
tool-uninstall: Finished with code 0.
tool-uninstall: STDOUT:
Tool 'microsoft.dotnet-interactive' was successfully uninstalled and removed from manifest file c:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
tool-install: Executing [dotnet tool install --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json --ignore-failed-sources Microsoft.dotnet-interactive --version 1.0.446104] in 'c:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
tool-install: Finished with code 0.
tool-install: STDOUT:
You can invoke the tool from this directory using the following commands: 'dotnet tool run dotnet-interactive' or 'dotnet dotnet-interactive'.
Tool 'microsoft.dotnet-interactive' (version '1.0.446104') was successfully installed. Entry is added to the manifest file c:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
Started process 11740: dotnet tool run dotnet-interactive -- notebook-parser
process 11740 stderr: You must install or update .NET to run this application.

App: C:\Users\Administrator\.nuget\packages\microsoft.dotnet-interactive\1.0.446104\tools\net7.0\any\Microsoft.DotNet.Interactive.App.dll
Architecture: x64

process 11740 stderr: Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Users\Administrator\scoop\apps\dotnet-sdk\current\

The following frameworks were found:
  8.0.5 at [C:\Users\Administrator\scoop\apps\dotnet-sdk\current\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10

Process 'dotnet' with PID 11740 exited with code<PHONE_NUMBER> and signal null
Started process 7604: dotnet tool run dotnet-interactive -- notebook-parser
process 7604 stderr: You must install or update .NET to run this application.

App: C:\Users\Administrator\.nuget\packages\microsoft.dotnet-interactive\1.0.446104\tools\net7.0\any\Microsoft.DotNet.Interactive.App.dll
Architecture: x64

process 7604 stderr: Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Users\Administrator\scoop\apps\dotnet-sdk\current\

The following frameworks were found:
  8.0.5 at [C:\Users\Administrator\scoop\apps\dotnet-sdk\current\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10

Process 'dotnet' with PID 7604 exited with code<PHONE_NUMBER> and signal null
Started process 6288: dotnet tool run dotnet-interactive -- notebook-parser
process 6288 stderr: You must install or update .NET to run this application.

Apparently, dotnet-interactive tool cannot be started successfully and VS Code tries starting it repeatedly. I tried starting dotnet-interactive tool from powershell, and got the same error
PS C:\temp> cd "C:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config"
PS C:\Users\Administrator\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config> dotnet tool run dotnet-interactive
You must install or update .NET to run this application.

App: C:\Users\Administrator\.nuget\packages\microsoft.dotnet-interactive\1.0.446104\tools\net7.0\any\Microsoft.DotNet.Interactive.App.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Users\Administrator\scoop\apps\dotnet-sdk\current\

The following frameworks were found:
  8.0.5 at [C:\Users\Administrator\scoop\apps\dotnet-sdk\current\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10

To me it seems the dotnet-interactive tool installed by VS Code cannot work with my .NET SDK. The funny thing is VS Code even navigated me to the latest .NET SDK and in my case, version 8

I tried install dotnet-interactive directly with my .NET SDK
PS C:\Users\Administrator> dotnet tool install --global Microsoft.dotnet-interactive

PS C:\Users\Administrator\.dotnet\tools> .\dotnet-interactive.exe --version
1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074

The version is 1.0.522904. So I guess to use .NET SDK 8, I need to specify the version of dotnet-interactive tool in VS Code accordingly.


Business cases take forever to load

https://moses.energytransitionmodel.com/testing_grounds/427/business_cases/191
It takes longer than I need to write this ticket and then some... 😒

Assigning @antw

Closing for the more general issue #1031.


*: update some dead links

What problem does this PR solve?
Closes #1542.
What is changed and how it works?
This PR updates some dead links of PD README.
Check List
Tests

No code

Please link to the public website instead :-) It supports redirects if URLs change, and it is good SEO practice to have a canonical location.

@disksing @morgo PTAL.


auto_consume for avro crashes in decode (updated producer .class, old consumer schema .class)

Describe the bug
We use schema compatibility = NONE. This means we can put data as per multiple schemas on the same topic. When we read those values back we build the consumer using AUTO_CONSUME.
On receiving the message,

We extract the schema from message,
Construct avro schema from the message in (1)
schema.decode(msg)

This used to work well for us with 2.3 server and 2.3 client. With server and client upgrade to 2.5 this does not work in some cases.
From my debugging on this, there seems to be an issue as a result of which avro does not use the the reader schema correctly  in the schema object provided here ->. schema.decode(msg)  .
Expected behavior
With schema.decode() the decode method should use the exact schema that was used to build avroSchema instance.

On debugging more, the issue seems to be this:

We maintain a library (say, avro-schemas) that contains all .avsc files and their generated .class files. Lets say we are on version v1 of this library on producer as well as consumer applications. This works fine.
We add a new field (with defaults) to avro in avro-schemas, update our library to v2 and update this in the producer application.
Consumer application is still using v1 of the avro-schemas library.
The apache avro library looks for a class name with the name of schema in the class loader context. In our case, it finds the old class in v1.
Now it goes through every field in schema (updated schema), fetches that from binary data buffer and tries to set that in my old class. The fields in the old class are found by index and then updated by writing to that position which does not exist for new fields, thence the crash.

Stacktrace
[2020-02-26T10:23:34.441Z] ERROR main BeamRuleEngine:51 [/] java.lang.NullPointerException
at org.apache.pulsar.shade.org.apache.avro.reflect.ReflectData.setField(ReflectData.java:139)
at org.apache.pulsar.shade.org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:232)
at org.apache.pulsar.shade.org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:122)
at org.apache.pulsar.shade.org.apache.avro.reflect.ReflectDatumReader.readField(ReflectDatumReader.java:310)
at org.apache.pulsar.shade.org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222)
at org.apache.pulsar.shade.org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175)
at org.apache.pulsar.shade.org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153)
at org.apache.pulsar.shade.org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145)
at org.apache.pulsar.client.impl.schema.reader.AvroReader.read(AvroReader.java:56)
at org.apache.pulsar.client.api.schema.SchemaReader.read(SchemaReader.java:36)
at org.apache.pulsar.client.impl.schema.StructSchema.decode(StructSchema.java:98)

This exception isn't come from msg.getValue(),  is it convenient to have a look at your schema? I think it is come from producer.send, because you add the field can't be empty.

Fixed with this in the consumer code:
            String avroGeneratedClassName = genericAvroRecord.getAvroRecord().getSchema().getFullName();
            Class<?> avroGeneratedClass = Class.forName(avroGeneratedClassName);

            org.apache.pulsar.shade.org.apache.avro.Schema writerSchema = new Parser().parse(new String(schemaProvider.getSchemaByVersion(msg.getSchemaVersion()).get().getSchema()));

            org.apache.avro.Schema avroNativeReaderSchema = (org.apache.avro.Schema) avroGeneratedClass.getDeclaredField("SCHEMA$").get(null);
            org.apache.pulsar.shade.org.apache.avro.Schema readerSchema = new Parser().parse(avroNativeReaderSchema.toString());

            AvroReader avroReader = new AvroReader(writerSchema, readerSchema);
            return avroReader.read(msg.getData());

Thanks @codelipenghui and @congbobo184 for your help. I will work on generalising this and submit a PR at a later point in time so this code can become a part of native consumer.


ublacklist broken on firefox android

Hello
The ublacklist 7.0.0 version and up on firefox 68.11.0 for android is not working
at all and impossible to access the addon options like in version 6.15.0.
Thanks

Try Firefox for Android Nightly #117


Java-API Enhancements and Documentation

Implementation of Java-API for CRDT services
Documentation of Java-API in User Guide

LGTM, <3 the tabbed code feature


Hidden silder bug

When I used HD

That's an fps issue isn't it? Did you set the fps to something like 500? If so, it will be fixed in the next update.

Thanks! cheer up to fixing bugs 👍


formula_cellar_checks: skip unless Python libs

This avoids an unusual error message when Python is needed for building (e.g., code generation) and files are installed to lib but Python is not used at runtime.
Needed for https://github.com/Homebrew/linuxbrew-core/pull/19996
==> brew audit recode --online
Error: 1 problem in 1 formula detected
recode:
  * Packages have been installed for:

    but this formula depends on:
      Python 3.7

Because build-time dependencies are uninstalled on test-bot, this audit shouldn't be triggered as no Python libraries are actually installed to lib.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?

Thanks @Bo98!


Create HTML skeleton and initial style for Homepage

HTML skeleton and initial style has been completed and commits have been made with updates


Drop the "code " from the error string.

For error strings like:
:1:17:
1:read from gmail -from :1 hour ago: | view table
^^^^^
Options must be specified before filter expressions. code (JUTTLE-SYNTAX-ERROR-WITHOUT-EXPECTED)
the "code " is not needed, so remove it.
@dave @mnibecker

+1


feat: update to drawio-desktop 22.1.18

Automated changes by create-pull-request GitHub action

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


upload-and-stage-ert job's upload-ert-and-stemcell task fails in case of no product dependencies

If a pivnet product version has no dependencies. Example - pivnet rds -p <product_name> -r
+----+---------+------------+--------------+
| ID | VERSION | PRODUCT ID | PRODUCT NAME |
+----+---------+------------+--------------+
+----+---------+------------+--------------+

The metadata.json has dependencies key set to null "Dependencies": null,. While running upload-ert-and-stemcell task pcf-pipelines/tasks/upload-product-and-stemcell/task.sh the pipeline errors out with can not iterate over null
cat ./pivnet-product/metadata.json |
>   jq --raw-output \
>     '
>     [
>       .Dependencies[]
>       | select(.Release.Product.Name | contains("Stemcells"))
>       | .Release.Version
>     ]
>     | map(split(".") | map(tonumber))
>     | transpose | transpose
>     | max // empty
>     | map(tostring)
>     | join(".")
>     '
jq: error (at <stdin>:0): Cannot iterate over null (null)

The same will occur while downloading stemcell version pcf-pipelines/tasks/upload-product-and-stemcell/task.sh
 if [[ -z "$stemcell" ]]; then
    echo "Downloading stemcell $STEMCELL_VERSION"

    product_slug=$(
      jq --raw-output \
        '
        if any(.Dependencies[]; select(.Release.Product.Name | contains("Stemcells for PCF (Windows)"))) then
          "stemcells-windows-server"
        else
          "stemcells"
        end
        ' < pivnet-product/metadata.json
    )

jq --raw-output \
>         '
>         if any(.Dependencies[]; select(.Release.Product.Name | contains("Stemcells for PCF (Windows)"))) then
>           "stemcells-windows-server"
>         else
>           "stemcells"
>         end
>         ' < pivnet-product/metadata.json
jq: error (at <stdin>:0): Cannot iterate over null (null)

Am not sure how likely it is that the pivnet product version will have no dependencies but we should be able to handle null conditions.
Let me know and I can submit a PR to fix this.

Hi @outofmem0ry thanks for this.  Thanks again.


When I start a shipment I cannot go to a different tab and come back

When I start a shipment that takes a little while to create, there is a progress icon:

When I click on the "Check" tab and then come back, the loading icon is gone and I need to create a new shipment?
Either I should not be able to leave the tab, or the shipment creation status should be preserved in the UI.

In the normal use case the shipment will be visible in the list of shipments below. In my case it is there also if I switch back to the tab. However, the loading icon will not appear again. If this is wished I can take care of this.


pdf2json.convertPdf2Json not a function?

I've got code like so:
var pdf2json = require('form-pdf2json')

console.log(pdf2json.convertPdf2Json('formExample.pdf'))

And it gives me :
TypeError: pdf2json.convertPdf2Json is not a function
Is there something I can do to fix this?

Hi,
It seems to be an error caused by the class not being declared correctly.
I think you should change your code like this:
var Pdf2json = require('form-pdf2json');
var pdf2Json = new Pdf2Json();
console.log(pdf2json.convertPdf2Json('formExample.pdf'));

It's been a while since I've seen this code, so I need to check it a lil bit. 😅
But anytime ask me if you have any questions.

Hi tried using the code above @ClareKang:
var Pdf2json = require('form-pdf2json'); var pdf2Json = new Pdf2Json(); console.log(pdf2json.convertPdf2Json('./test.pdf'));
but i got an error:
`node:internal/fs/utils:344
throw err;
^
Error: ENOENT: no such file or directory, scandir 'files/'`
what can i do to resolve it?

Same issue here

I'll check this issue again


Upgrade | Missing Proxy Host

I recently upgrade from 2.8.x to the latest version. I utilized a docker pull then docker compose up -d. After performing this I first had to login with the default creds again. Which was strange for me. Now my proxy host are gone. However, the previous host setups I had are working just fine even though they don't appear in my proxy host list. How can I fix this so I can delete a host if need be?

It seems unfortunately then somehow the database was cleared. Not sure how this could happen during the upgrade process. Do you remember the exact version you were on and which version you are on now?
But unfortunately there is no other fix than to restore a database backup or to create new proxy hosts.

I am having the same issue. Nothing shows but everything still works..
I tried sudo docker-compose down && sudo docker-compose up -d with no luck. Help?

Do you still have the logs from your first boot after the upgrade? Maybe they contain useful information.
But as I said, unfortunately there is no undo for that, If you do not have a database backup, you'll need to recreate the hosts.

Which log would you like? I can grab the log before I restore my VM

In this case mainly the docker logs.

Its reproducible I try to update with this.
docker-compose pull
docker-compose up -d

I am not able to reproduce this using the following steps:

Create a docker-compose file using jc21/nginx-proxy-manager:2.9.9 image and a mysql db
docker-compose up
Change email, password and create a few proxy hosts
Stop the containers
Change the docker-compose from jc21/nginx-proxy-manager:2.9.9 to jc21/nginx-proxy-manager:2.9.13
docker-compose pull
docker-compose up

After booting the user is still changed and the proxy hosts are still there.

Just had the same thing when upgrading from 2.3.1 to 2.11.2.


Initialize logging system at ROOT vs limiting to dynatrace_extension.sdk.extension and api

Is your feature request related to a problem? Please describe.
The current extension logging initialization only adds handlers to the 'dynatrace_extension.sdk.extension' and 'api' loggers.  Due to this, other modules do not get these appenders, which prevents logs from being written for any logger outside of these two.  This means that any logging I do in my own modules does not show up by default.
Describe the solution you'd like
I would love to see these appenders attached to the ROOT logger.  This will ensure that all loggers would send their logs to these appenders as opposed to just the two built-in loggers.  So for example, changing...
formatter = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s (%(threadName)s): %(message)s")
error_handler = logging.StreamHandler()
error_handler.addFilter(lambda record: record.levelno >= logging.ERROR)
error_handler.setFormatter(formatter)
std_handler = logging.StreamHandler(sys.stdout)
std_handler.addFilter(lambda record: record.levelno < logging.ERROR)
std_handler.setFormatter(formatter)
extension_logger = logging.getLogger(__name__)
extension_logger.setLevel(logging.INFO)
extension_logger.addHandler(error_handler)
extension_logger.addHandler(std_handler)

api_logger = logging.getLogger("api")
api_logger.setLevel(logging.INFO)
api_logger.addHandler(error_handler)
api_logger.addHandler(std_handler)

to something like this...
formatter = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s (%(threadName)s): %(message)s")
error_handler = logging.StreamHandler()
error_handler.addFilter(lambda record: record.levelno >= logging.ERROR)
error_handler.setFormatter(formatter)
std_handler = logging.StreamHandler(sys.stdout)
std_handler.addFilter(lambda record: record.levelno < logging.ERROR)
std_handler.setFormatter(formatter)

logging.getLogger().addHandler(error_handler)
logging.getLogger().addHandler(std_handler)

extension_logger = logging.getLogger(__name__)
extension_logger.setLevel(logging.INFO)

api_logger = logging.getLogger("api")
api_logger.setLevel(logging.INFO)

Describe alternatives you've considered
At this point, my workaround/alternative is to duplicate your logging code within my own init.py.  This (at least) initializes the logger for my extension (module) and would apply to that module down...
################################################################################
# __init__.py
################################################################################

import logging
import sys

# The 'internal' name of our extension

EXTENSION_NAME = '%extension_name%'

# Initialize a logger for our extension namespace so that everything within
# the namespace will output to the log file! This is the same initialization
# code Dynatrace is using within their SDK.

_logging_formatter = logging.Formatter(
    "%(asctime)s [%(levelname)s] %(name)s (%(threadName)s): %(message)s")

_logging_handler_err = logging.StreamHandler()
_logging_handler_err.addFilter(lambda record: record.levelno >= logging.ERROR)
_logging_handler_err.setFormatter(_logging_formatter)

_logging_handler_out = logging.StreamHandler(sys.stdout)
_logging_handler_out.addFilter(lambda record: record.levelno < logging.ERROR)
_logging_handler_out.setFormatter(_logging_formatter)

_extension_logger = logging.getLogger(EXTENSION_NAME)
_extension_logger.setLevel(logging.INFO)
_extension_logger.addHandler(_logging_handler_err)
_extension_logger.addHandler(_logging_handler_out)

################################################################################
# END
################################################################################

Why not reuse the same logger?
from dynatrace_extension.sdk.extension import extension_logger as logger

logger.info("Hello world")

I'd argue against reusing the same logger for a couple of reasons...

If I wrote python anywhere other than for a Dynatrace extension, that (reusing a child logger) is not how I'd do it...
The dependency is the wrong way.  You're importing your module INTO the extension implementation for use.  Having that module then reach back to the extension using said module seems cyclical...
While I could do this to address logging for MY extension implementation, it won't give me logs for any other 3rd library I might be using if I need them.

I'm happy to update/submit the PR if this makes sense.  I just didn't want to make a foundational change like this and submit it without at least having this conversation.  :-)

Won't your idea affect all the 200+ existing extensions? Adding log lines from third party dependencies without the developer explicitly asking for it?

I agree that importing the logger from dynatrace_extension is not a good idea, your modules should not depend on dynatrace_extension
What I think you should have though is a way for your modules to receive a logging.Logger object, ie in the constructor of a class, so that you can pass the extension self.logger to your module if you so desire
This is done extensively by many third party libraries and extensions

Won't your idea affect all the 200+ existing extensions? Adding log lines from third party dependencies without the developer explicitly asking for it?

No.  This does not change the root logger's level at all...  All it does is give loggers a handler that actually writes logs somewhere when that specific logger is enabled...

Won't your idea affect all the 200+ existing extensions? Adding log lines from third party dependencies without the developer explicitly asking for it?

No.  This does not change the root logger's level at all...  All it does is give loggers a handler that actually writes logs somewhere when that specific logger is enabled...

I agree that importing the logger from dynatrace_extension is not a good idea, your modules should not depend on dynatrace_extension
What I think you should have though is a way for your modules to receive a logging.Logger object, ie in the constructor of a class, so that you can pass the extension self.logger to your module if you so desire
This is done extensively by many third party libraries and extensions

This is definitely a workaround I could use for my own custom module, but it's still not the greatest option.  It means I can only manage the logging level of the primary logger versus being able to control log levels for my extension and submodule independently.  It also means I'll still NOT get any logging data from any 3rd party module I enable debug for...

Won't your idea affect all the 200+ existing extensions? Adding log lines from third party dependencies without the developer explicitly asking for it?

No. This does not change the root logger's level at all... All it does is give loggers a handler that actually writes logs somewhere when that specific logger is enabled...

I didn't mean that this changes the root logger level.
What I am saying is that other libraries writing to the root level will now be logged to the extension log

We don't want to automatically start logging from other libraries, even if they write info level, this is a change to too many extensions at once

This proposal will not cause that.  Python's default logging level is WARN.  The only loggers you are currently setting to INFO are the extension and api loggers.

If even WARN is a concern, we could increase the root logger to CRITICAL to keep all but the most critical items from being logged.

If it helps, one of the guiding principals of python logging PEP-282 is specifically avoid having to pass around loggers.
https://peps.python.org/pep-0282/#:~:text=one does not have to pass logger object references around.
:-)


QWER and Mouse Click won't work simultaneously.

Issue in the Demo shown at Playground.js where user try to make keyboard strokes and Mouse click simultaneously, it's not working as it should. Where two Keyboard keys simultaneously working fine.

i dont have this issue with Firefox 49.0.2 64bits, under Windows 8.1

Sharing a video to reproduce. I'm having Chrome Version
54.0.2840.71m on Windows 8

ScreenCapture_1.docx
Just change the extension to .flv Github won't allow me to upload .flv or .mov file format.


JSON export not working?

Clicking on export as JSON opens a new tab but then no download is started.
I tried it on Firefox and Safari, on both I got the same behavior.
The server responds with an HTTP 500.

@dmlls looking at the logs, it seems that it was because the group name included a special character, such as an emoji? I was able to reproduce the error in this situation.

@scastiel that was the case indeed. The new file naming logic fixes it, although perhaps a timestamp could be added? This would be helpful to easily tell different backups apart.

perhaps a timestamp could be added? This would be helpful to easily tell different backups apart.

Good point, just added the date. Note that because of timezone issues, I had to use the UTC date. This means that if I’m in Montreal and download the file on Jan 23 at 11pm, the file will be named 2023-01-24. It would be possible to improve this, but it might be a bit overkill here.
Also, I brought back the group name in the generated file name, thanks to this NPM package 😉

@scastiel that's amazing! Thanks a lot :)

It would be possible to improve this, but it might be a bit overkill here.

I agree, like this looks great already.


[BUG] InvalidProgramException when [Reactive] property with Nullable type is assigned null in member declaration

Describe the bug
When a Fody-woven [Reactive] property of nullable value type (Nullable<T> for some T) is assigned null directly in the member declaration, running the constructor results in an InvalidProgramException.
Steps To Reproduce

Create a new WPF project.
Add ReactiveUI and the Fody package.
Add a Loaded event handler to the MainWindow window, and make the code mirror:

    public partial class MainWindow : Window {
        public MainWindow() {
            InitializeComponent();
        }

        private void MainWindow_OnLoaded(object sender, RoutedEventArgs e) {
            var z = new TestViewModel(); // <- "A"
        }
    }

    public class TestViewModel :  ReactiveObject {
        [Reactive]
        public int? Floopy { get; set; } = null;
    }

Run. The code will crash in location "A". (The event doesn't matter, but the exception would be caught by XAML construction and obscured if run in the window's constructor.)

Expected behavior
For there not to be an issue. Assigning null happens to be redundant, and assigning other values does not seem to cause crashes. Nullable reference types are also not affected.
"Just don't do that" is a perfectly reasonable workaround - but it took me an hour to narrow it down to this being the issue.
Environment

OS:       Windows
Version   10
Device:   PC
Reactive UI: 13.1.1

For v14 of rxui I have a rewritten fody that can handle this much better. Just need time to finish it. Hopefully in the next week or so.
Workaround for the moment is just to use the RaiseAndSetIfChanged for this one

In my case I solved it by just not assigning null to it, since that's the default value anyway, and since that's the only thing that triggers this bug (that I know of!) it's reasonable. (This appeared in a stretch of code where other properties were assigned to non-default values.) If something else triggered it, it could be fixed by moving the assignment to first thing inside the constructor too, that also works.

Our fody doesn't honour default values at the moment that's one of the planned fixes

The fody is going into maintenance-only mode at the moment while we work on a new project which will replace the functionality in general. Keeping this open to track for the new project.

This issue was making me tear my hair out the past few days

My guess is that, because the Nullable<T> is being assigned with the default value, there's no stfld opcode generated, but the weaver just grabbed the first opcode of any type where the operand is a field reference (which ldflda and stfld both have):
https://github.com/reactiveui/ReactiveUI/blob/f6aa1176ecd3159fe2890cf82d06e5ee452ef936/src/ReactiveUI.Fody/ReactiveUIPropertyWeaver.cs#L115
It seems changing that to also require the opcode to be a stfld might fix the issue.

In my case I solved it by just not assigning null to it, since that's the default value anyway, and since that's the only thing that triggers this bug (that I know of!) it's reasonable. (This appeared in a stretch of code where other properties were assigned to non-default values.) If something else triggered it, it could be fixed by moving the assignment to first thing inside the constructor too, that also works.

As of Avalonia 11.0 rc1 and Reactive 18;  This bug still exists and also appears when attempting to assign a non-null value to an annotated property.  Let me know if more details are needed.

Fody are no longer maintained. Look for alternatives hopefully coming soon but we aren't maintaining at the moment due to maintenance burden

Thank you for the heads up. That's unfortunate,  Avalonia/Reactive may want to remove the recommendations from the docs, so someone else doesn't follow that rabbit hole :)  Any plans for Av or Rx to implement annotations?

We plan to. Just need time. Be closer to the mvvm toolkit using source generators. Just infinitely easier to maintain.

As of RC1 11.0 Source gens seem to still have a problem and requires to still use FindControl, think that might be fixed before releasing 11.0?  And thank you for your time and the info.  One more new-b question, What is the relationship between AvaloniaUI and ReactiveUI? Is it an off shoot with different maintainers? I find myself flipping between the two trying to solve a problem :) Just curious.

No idea. We don't control the Avalonia source generator. Just the rxui model generation stuff

Thanks Glenn have a good evening


Update datagrid.latte

In Firefox that caused a problem with displaying border around

Hello, I think that rowspan is there because of inline filters. Did you make sure there is no problem with your code?

Hello, I forgot the inline filters. I've put the rowspan=2 in the condition to appear only when it's active. Always display rowspan=2 is an error. You can check in the Firefox at https://ublaboo.org/datagrid/group-action between the header and the first line missing the margin. In Chrome this works fine in both case.

You can you n:attr for conditioned attributes, it should be better.

Have you tested it? Does it work as expected?:)

Yes. It looks alright.

Cool, thanks!


Web Routing issue!

I've almost Successfully Migrated the whole app to the webserver. Now the issue is at 2 separate instances. One is that. Other than the Main Page, everything else URLs only work when '/index.php/'. For example example.com/HelpDesk works then example.com/HelpDesk/login it gives a 404 error, but when I use example.com/HelpDesk/index.php/login ; it works fine. The second issue is with the active tickets. Despite setting up statuses and priorities, the active tickets aren't displayed. I've instaleld this as it is so I believe I don't have to tamper with the @yield codes? If I'm wrong guide you direct me what and what exactly i need to show. Below is my htaccess code.:
` DirectoryIndex index.php

    Options -MultiViews

RedirectMatch 404 /.git
RewriteEngine On
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.)::\2$
RewriteRule ^(.) - [E=BASE:%1]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^index.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .? - [L]
RewriteRule .? %{ENV:BASE}/index.php [L]
`

Does this help?
http://stackoverflow.com/questions/24784606/laravel-routes-not-working-apache-configuration-only-allows-for-public-index-ph

I've already moved ht access to the root, got rewrite on. Idk whats up, it works fine on the local dev env.

Heres my filee structure, if it helps

Any help here?
http://stackoverflow.com/questions/30497575/install-laravel-5-app-in-subdirectory-with-htaccess

Issue is probably with the servers apache files, I can sort it out. Could I know why the active issues arent displayed despite having status and priorities

Closing due to lack of activity.
If still an issue, please reopen.


Implement Changelog Message Feature in Inbox System with Markdown Format

The task involves implementing a changelog message feature to our inbox system before launching the dimension to the public. The content format should be in Markdown to facilitate the inclusion of release notes with images.
The steps to complete the task are as follows:

Develop a system to send changelog messages to our users.

Ensure the content format is in Markdown to allow for the easy addition of images and other elements.

Include a feature for users to provide a short title and description for the preview of the changelog message.

The changelog message should display details such as the author and date published.

Collaborate with our designer to create an aesthetically pleasing and user-friendly interface for this feature.

Please ensure all these steps are followed to successfully complete this task.

Nice


[cherry-pick] validate execution status variable

Changes
Adding param validation while accessing execution status along with
any other param or extra string. Also, avoiding task results validation as
it follows very similar pattern with $(tasks.taskname.results.status) where
"status" is a result of some task.
(cherry picked from commit 2ec2b869c52d3b2c8725aa12e20f8fe7815829c3)
/kind misc
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[x] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Avoid validating task results while validating context variable to access execution status since it follows similar pattern $(tasks.taskname.results.status) where status is result of some task compared to context variable for referencing execution status $(tasks.taskname.status).

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/lgtm

/lgtm


Selection and detail not working on first item

Might be related to #88
When using the table with either selection or details enabled inside another custom element, clicking on the first row doesn't expand the detail or select the item but every other item works just fine. (I haven't tested if it happens outside too)
Selecting the first item using the checkbox provided by multiSelection works just fine though.
Here's a jsfiddle in which you can see what's happening

Thanks for the fiddle, I'll have a closer look asap!

Try this updated fiddle, https://jsfiddle.net/thb5srnx/ or branch fix-row-click

It looks like it works just fine, thanks

Found a regression.