python312Packages.google-cloud-container: 2.45.0 -> 2.49.0

Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-container-v2.49.0/packages/google-cloud-container/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 329154 run on x86_64-linux 1

6 packages built:

gcp-scanner
gcp-scanner.dist
python311Packages.google-cloud-container
python311Packages.google-cloud-container.dist
python312Packages.google-cloud-container
python312Packages.google-cloud-container.dist


:hammer: fixed readme typo

[x] I have followed (at least) the PR section of the contributing guide.

It's not a typo. "to lay out" (verb) should be written with a space.

Thanks, @michaldudak my mistake.


Fix learning center in multi-cluster deployments

We don't have an ingress class contour on EKS/AWS, thus configuring LC with that has it fail.
We can omit this configuration completely, as we do in the single-cluster world.

@hoegaarden, I have merged this fix as this is not a blocker.
Need a better understanding of what this fix is for LC. can we access LC in the browser now?


[MINOR][BUILD] Decode output of commands during merge script as UTF-8 consistently

What changes were proposed in this pull request?
In the PR merge script, decode the raw output of subprocess commands like git using UTF-8 encoding, consistently.
Why are the changes needed?
The merge script occasionally fails if run with Python 2 and the output of a command like git contains non-ASCII characters. I think this most usually happens when a user name, for example, contains Chinese characters.
This is because the output is decoded according to sys.getdefaultencoding(), which is ASCII in Python 2. It's UTF-8 in Python 3, by default.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
The change caused a merge that failed before to succeed.

Test build #111647 has started for PR 25991 at commit f3fcd7f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16643/
Test PASSed.

Test build #111647 has finished for PR 25991 at commit f3fcd7f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111647/
Test PASSed.

cc @WeichenXu123

Merged to master.


update open api doc

Codecov Report

Merging #1241 (43ee700) into master (123c3be) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1241   +/-   ##
=========================================
  Coverage     99.53%   99.53%
  Complexity     3248     3248
=========================================
  Files           499      499
  Lines          9793     9793
  Branches        491      491
=========================================
  Hits           9747     9747
  Misses            5        5
  Partials         41       41

Flag
Coverage Δ
Complexity Δ

unittests
99.53% <ø> (ø)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...va/com/quorum/tessera/api/PrivacyGroupRequest.java
100.00% <ø> (ø)
11.00 <0.00> (ø)

...a/com/quorum/tessera/q2t/PrivacyGroupResource.java
100.00% <ø> (ø)
9.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 123c3be...43ee700. Read the comment docs.


Block Context MenuItem for specific prompt?

Hi Brian,
Big fan of your gpt3 plugin! Use it a lot. Tnx!
I noticed in your bubble sort algorithms video that you had a BlockContextMenuItem "Explain Code". I'm assuming it adds a specific prompt with the block content.
Would be great if the plugin would allow for a few custom menuItems with specific prompts for things like summarizing, rewriting, explaining a concept, completing a text, pro/cons, etc.
Is that anything you consider adding?
Arthur

I'm hoping to get this out soon with #9 and #18. Want to include some defaults like the code one as well as let users define their own. I'm testing it now.

tnx, cool stuff!

Added this in #70 in the popup. If you'd like to see this in the block context menu as well please feel free to re-open!


Add new similarity function: containment_max

Based on  our communication via e-mail, I am adding a new similarity function "containment_max". This similarity function is similar to "containment", with the difference that the similarity value between two sets is normalised by the max. length of the two sets (instead of normalising it by the length of set1 as in "containment" function).

Thanks! Sorry for the delay. This seems to be better called "containment min", because it would be the minimum of two containment scores |x \cap y| / |x| and |x \cap y| / |y|. "containment max" would be dividing by min(|x|, |y|).

Hi Eric,
Thanks for your message!
Indeed you are right.
Best,
Arda

On 21 Mar 2019, at 20:33, Eric Zhu<EMAIL_ADDRESS>wrote:
Thanks! Sorry for the delay. This seems to be better called "containment min", because it would be the minimum of two containment scores |x \cap y| / |x| and |x \cap y| / |y|. "containment max" would be dividing by min(|x|, |y|).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/ekzhu/SetSimilaritySearch/pull/2#issuecomment-475372254, or mute the thread https://github.com/notifications/unsubscribe-auth/AG50czk0-T4IJ8hM9PmtBr5ConP6Wcgeks5vY95ugaJpZM4bFM3r.


creating a responsive html registration form

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[ ] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #3081

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hello @harshitab13 , I have gone through your PR and I have noticed some grammatical errors.
You have also used both first and second person, they are all mixed up. Could you please go through the article once more? Try to use third person like "we" instead of "I".
Check on spelling mistakes too.
Thanks.

@M0nicah I have done the changes.

Hi @harshitab13 , please add a hero image for your article. It should be 600x400 pixels. You may get them from Unsplash.
It can be an image of a login, sign up form or anything related to HTML and CSS. These are the final changes before we move to the next step.
Thanks.

@M0nicah  added hero image

creating a responsive html registration form #3442.pdf
👋 Good afternoon - and welcome to the EngEd program.
I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % way was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
We will be closing this PR - while the content is re-worked.
Make the changes on your forked repo and create a new PR with a duplicate label when the articles is polished and ready to publish.


question: how would you go about saving a control vector for later use

Perhaps a naive question, but rather than training a control vector with each run. How might I go about saving it for inference later?

You can export it for use with llama.cpp with export_gguf, but I haven't written a method to read that gguf file back in for HuggingFace use yet.
In the meantime, you should be able to use np.save to save the dataclass as a dictionary, and then reconstitute it that way:
import dataclasses
import numpy as np
...
v = ControlVector.train(...)
np.save("vector.npy", dataclasses.asdict(v))

# later...
v = ControlVector(**np.load("vector.npy", allow_pickle=True).tolist())

Hope this helps!

Hi @vgel,
Thanks for the helpful insight on saving a control vector for later use. I noticed that you mentioned the ability to export a control vector with export_gguf for use with llama.cpp. Could you provide an example or guide on how to perform this export?
I found a tutorial on How to convert HuggingFace model to GGUF format. However, I found it difficult to apply this method described here in a Jupyter Notebook (for example, the tutorial ipynb you provided).
Thanks!

@l1mc

Hi @vgel,
Thanks for the helpful insight on saving a control vector for later use. I noticed that you mentioned the ability to export a control vector with export_gguf for use with llama.cpp. Could you provide an example or guide on how to perform this export?
I found a tutorial on How to convert HuggingFace model to GGUF format. However, I found it difficult to apply this method described here in a Jupyter Notebook (for example, the tutorial ipynb you provided).
Thanks!

Sorry, didn't see this earlier! Once you have a vector trained with (e.g.) vector = ControlVector.train(...), you can simply export it with:
vector.export_gguf("vector.gguf")

If you're running a version with #34 applied, you can also then import the vector back to Python with
vector = ControlVector.import_gguf("vector.gguf")

or you can use it with llama.cpp using the ./main runner:
$ ./main ... --control-vector vector.gguf --control-vector-layer-range 14 26 ...

Hope this helps!

Closing this as addressed by #34


pip please?

Please put on pip package manager!

You just need one file to run the script. Does it really need to put it on pip?

I didn't even considered the availability in pip. Just downloaded and imported plugin in WB.
Nice job letrunghieu. It was exactly what I was looking for. Thanks a lot.

:+1:


Add a definition for TextMatch

What:
Update typings by adding a TextMatch type.

Why:
TypeScript consumers cannot use RegExp or functions in the query helpers, due to the argument being typed as string-only.

How:
Add a TextMatch type and replaced the string argument type for the various query helpers with it.

Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged
[x] Added myself to contributors table

Oops. Could you rebase and resolve merge conflicts? Just did the one in .all-contributorsrc then run npx kcd-scripts contributors generate to fix the README one 👍

Hope I did it right... I was trying to actually rebase it rather than push another commit on but I came a little unstuck. Thanks for this library!

Sorry, tried again but it seems when I rebased the upstream changes it always thinks there is a conflict.


Windows builds fail with runner image 20221127.1

Description
Our azure pipelines are occasionally picking up the 20221127.1 image, instead of the 20221120.1 image that is documented in this repo. It seems to be every 4-6 runs we get the new image.
The issue we are having is that we are calling the vcvars64.bat script from visual studio to populate compiler information for a CMake build. Something has changed and now this fails, and CMake is unable to run, as it has no compiler information.
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
20221127.1
Is it regression?
20221120.1
Expected behavior
vcvars64.bat should populate the right environment variables for Cmake to run.
Actual behavior
Cmake is unable to find compiler information in the proper environment variables
Repro steps
We are unable to get the 20221127.1 image consistently to do dedicated testing.
If we did we would reproduce with

run vcvars64.bat
Run a cmake configure

Possible duplicate of: #6627


Synthesis failed for nodejs-scheduler

Hello! Autosynth couldn't regenerate nodejs-scheduler. :broken_heart:
Here's the output from running synth.py:
2020-05-14 06:37:05,499 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-scheduler
2020-05-14 06:37:05,502 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/nodejs-scheduler.git /home/kbuilder/.cache/synthtool/nodejs-scheduler:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/nodejs-scheduler': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 600, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 472, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 519, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/nodejs-scheduler.git', PosixPath('/home/kbuilder/.cache/synthtool/nodejs-scheduler')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-scheduler. :sob:
Here's the output from running synth.py:
2020-05-14 16:12:47,687 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-scheduler
2020-05-14 16:12:47,690 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/nodejs-scheduler.git /home/kbuilder/.cache/synthtool/nodejs-scheduler:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/nodejs-scheduler': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 600, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 472, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 519, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/nodejs-scheduler.git', PosixPath('/home/kbuilder/.cache/synthtool/nodejs-scheduler')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-scheduler. :sob:
Here's the output from running synth.py:
2020-05-14 19:38:58,394 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-scheduler
2020-05-14 19:38:58,398 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/nodejs-scheduler.git /home/kbuilder/.cache/synthtool/nodejs-scheduler:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/nodejs-scheduler': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 520, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/nodejs-scheduler.git', PosixPath('/home/kbuilder/.cache/synthtool/nodejs-scheduler')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-scheduler. :sob:
Here's the output from running synth.py:
2020-05-15 05:48:23,578 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-scheduler
2020-05-15 05:48:23,582 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/nodejs-scheduler.git /home/kbuilder/.cache/synthtool/nodejs-scheduler:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/nodejs-scheduler': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 520, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/nodejs-scheduler.git', PosixPath('/home/kbuilder/.cache/synthtool/nodejs-scheduler')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Holistic Embedding update function

A recurring issue faced by many users involves the inability to re-index embeddings within Cody. This issue aims to clarify the complexities surrounding this issue and provide a temporary workaround.
Challenge in Re-Indexing Embeddings:
Currently, there are three primary methods used:

SYMf

Blazingly Fast Graph (BFG)

Remote Embeddings: might be removed potentially

Each of these methods contributes to the complexity of updating embeddings, leading to the current limitation where embeddings remain as they were at the initiation of Cody in the repo. Ideally it would be great to create like a single button that runs update index on all of the different indexing sources to bring them in sync with the current codebase.
Temporary Workaround:
To mitigate this issue temporarily, users can employ the following workaround:
Open multiple files or folders in your UI.
This approach allows users to circumvent the limitation of non-updatable embeddings to some extent.
Note: This is a temporary solution, and we are actively working on a more robust fix.

Cool! Thanks for the amazing work!


CardStack actions Without Animations

When I use the CardStack actions (like the example shows), the cards change without animations.
The .gif from the README shows an animation when the card is swiped from an action button.
What is missing to achieve that behaviour?
<TouchableOpacity onPress={ () => { this.swiper.swipeLeft() }}>
    <Text>Left</Text>
</TouchableOpacity>

UPDATE
goBack* functions works as expected. The problem is in the four swipe* actions:
swipeBottom
swipeTop
swipeLeft
swipeRight

I'll check the differences in order to find a solution

Hi, @lhandel.
I manage to solve this.
I don't remember the solution, but I think what fixed it was adding the duration as a param:
this.swiper.swipeLeft(1000).
I'll close this.
Thanks


Seconds on the onscreen/system tray clock

Description of the new feature / enhancement
Since we cant add it with a registry key modification, could you give us the ability to add seconds to the system tray clock
Scenario when this would be used?
How would it not be used, I need this every day at work it was very convenient in Windows 10 after I had to manually add it - kinda sad apple got this one right years ago as a normal settings option and MS basically refuses.
Supporting information
No response

/dup #1081


Fixes #18

fixed crash when all data are zero

This is fixed here --> https://github.com/fulldecent/FSLineChart


Add base styling and favicon

Porting the base Bootstrap CSS to TailwindCSS styling on the DSC's current webpage and repo. This includes font-family and color palette. We will still need to figure out how to create a parallax, the styling for the parallax feature is ported over and commented out until we figure out a solution. Resolves issue https://github.com/kindsys/digital-services-coalition/issues/13

In general, you're going to want to use em or rem instead of px in a lot of the places where you're specifying padding and margins.  That way if the user zooms in/out, the padding and margins will adjust with it.  You'll want to use px if you don't want those values to scale with the text.  I generally avoid using px in most scenarios if I can.  If your base font size is 16px (most modern browsers use this as the default), then just divide by it and use rem.  If you want the padding to be relative to the parent element, use em.


remove Emagroup

I left the company and it stopped using Elixir.

Bummer!  Thanks for updating though @goofansu


Exclude flagged photos from vision export

Currently it seems like we exclude flagged observations but not flagged photos, which leaves a bunch of known copyright violation placeholder images in the export.

@alexshepard, do you remember any particularly problematic taxa or photos where this was happening?

Just going to close this since we're changing how we do vision data exports.


Feature Request: Externalize start-up configuration for DSC in order to automatically connect to broker/other dsc/clearing house ect..

As an dev ops engineer, I would like to have have an externalized configuration which can be overwritten during start up of the dsc docker container.
Within this externalized configuration it should be a able to pre-register:

onboarding of source resources
connecting to another dsc to exchange identifies/connector descriptions in order to exchange data after startup
connecting to an broker after startup
connecting to an clearing house after startup

The most important feature would be the first two points.
It would be very nice to be able to execute every OpenAPI interface after startup of the DSC just by providing environment variables during startup of the container.
This features are very important to be enabled for mass automatically deployment of DSC into cloud infrastructure without any manual post-configuration or create an own docker container/mechanism to interface with the OpenAPI.
Feel free to contact me anytime regarding this via my business address. (steffen.brunner01ÄTsapDÖTcom)

Question: Is the Policy Description part of the "onboarding of source resources"?

Same Question: Data Offers can be configured via source resources or is this separate

Talking about "onboarding of source resources", please provide an option to create a resource with a predefined UUID in DSC version 5. This was possible with version 4 of the DSC. Using setup scripts I was able to provision an initial resource configuration including resource UUIDs for a data provider DSC version 4.
With the new API v5, a resource (created with POST /api/offers) is given an arbitrary UUID by the connector. But this is a problem if (for whatever reason) the database is lost. In this case there is no option to recreate the resource with the same uuid. And since the UUID of a resource is communicated to the outside as a permanent link all clients have to refetch the resource and recreate the contracts.

Talking about "onboarding of source resources", please provide an option to create a resource with a predefined UUID in DSC version 5. This was possible with version 4 of the DSC. Using setup scripts I was able to provision an initial resource configuration including resource UUIDs for a data provider DSC version 4.
With the new API v5, a resource (created with POST /api/offers) is given an arbitrary UUID by the connector. But this is a problem if (for whatever reason) the database is lost. In this case there is no option to recreate the resource with the same uuid. And since the UUID of a resource is communicated to the outside as a permanent link all clients have to refetch the resource and recreate the contracts.

The assignment of predefined UUIDs to resources that are registered during bootstrapping is not supported. The Connector has sovereignty over the assignment of UUIDs and if this was changed, the user would have the obligation to ensure that all UUIDs are truly unique. To prevent the loss of the database, backups can be used.


removing test protocol doc

Fixes #1517

@blackdwarf good to merge? is that all we need for issue #1517?

We need to start merging pending PRs, so I'll go ahead and merge this. We can always revert or do more work if I missed anything.


Some errors in tf.raw_ops.SparseTensorDenseMatMul when there are negative or too large values in a_shape.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.15
Custom code
No
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When there are negative values in a_shape, tf.raw_ops.SparseTensorDenseMatMul triggers INVALID_ARGUMENT error. When there are too large values in a_shape, tf.raw_ops.SparseTensorDenseMatMul triggers overflow error.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1_dmg1zT1TuYnmPgtlUWSDq8Gg4eeyq0b?usp=sharing

Relevant log output
Non-OK-status: InitDims(dim_sizes) status: INVALID_ARGUMENT: Expected shape dimensions to be non-negative, got -1

or

Non-OK-status: InitDims(dim_sizes) status: INVALID_ARGUMENT: Encountered overflow when multiplying<PHONE_NUMBER>854775804 with 3, result: -1

Hi @xl1043237213 ,
I have replicated the reported behaviour with tf-nightly and attached screenshot below.


Fixed #23895 -- Prevented pickling of ResolverMatch.

Fixes issue #23895, where attempting to pickle a ResolverMatch for a class-based view causes an exception.

So, it's been a heck of a long time since I actively thought about this, and the frequency with which I need to pickle anything means I'm always muddy on the details (as @felixxm said, reduce/getstate/setstate are always tricky ;)).
I can't actually recall what's in .tried that directly precludes it from being pickled, and unfortunately the tests aren't illuminating me. Whilst I don't doubt that it's also problematic, can someone give me an example? It may be possible for whatever is in there to become pickleable of it's own accord and not have to special-case it here, perhaps?
Conceptually, at a basic level I think it ought to be possible to replace .func with an instance of the class when serialising, and re-inflate it to a callable when deserialized. I may be missing the nuances though, so forgive me if you already established it wasn't workable.
ie: a CBV which correctly inherits from View intrinsically has as_view() and as a result has .view_class and .view_initkwargs both of which are generally speaking individually pickleable (ignoring the possibility that the user actively puts a non-pickleable item into the initkwargs, which is sort of on them)
So it may be possible to avoid introducing self.is_class_based and have something like, in the getstate/reduce portion:
...
if hasattr(state.func, 'view_class') and hasattr(state.func, 'view_initkwargs'):
    state.func= state.func.view_class(**state.func.view_initkwargs)
else:
    ...

and then in the deserializing portion:
....
if hasattr(state.func, 'as_view'):
    state.func = state.func.as_view()
...

I'll admit that I've not tried it, and there may be other reasons that doesn't work :) It 'solves' the issue using resolve() would present where it could theoretically now point to a different callable, by freezing the reference in time, but there's a couple of other things that would need further investigation in either scenario I guess:

does the proposed solution, or the possible alternative outlined above, behave well with any method/class decorating? Gut feeling is yes, but I'm up for being proven wrong...
what happens if the resolver match callable was decorated, (eg the urlpattern definition was: login_required(myview) or login_required(MyCustomView.as_view())) ... can those be serialized, or if they can't, the wrappers be unwrapped enough to actually facilitate reconstruction in setstate?
If any of those kinds of usages present a problem for CBVs or FBVs (or both), I'd be inclined to to make all ResolverMatch throw an exception on serialization through __reduce_ex__ or whatever, so the downstream user explicitly knows they have to handle it rather than it bite them on only some callables. If serialization generally works for those for both, barring initkwargs themselves not being serializable because of the user, I think that'd be fine.

Was that coherent? Do shout if not :)

Interesting. I think URLPattern could be separately serialisable in a similar way -- I'm presuming serialising the callback is the intrinsic problem, as it is here WRT CBVs & FBVs.

URLPattern is pickleable, but .tried can contain also URLResolver (see https://github.com/django/django/pull/14664#discussion_r675332227) which is not pickleable because it contains a module.

URLPattern is pickleable, but .tried can contain also URLResolver which is not pickleable because it contains a module.

Ah, well that's rather intractable. Alas that it can be the case instead of being unrolled!
I suppose one could reconstruct the CBV as I suggested above (syntax notwithstanding, I can plainly see it's wrong now I look at it again), and use resolve() to get a list of tried items (if not the list) on the basis that then you'd have The Correct Callable and it's ostensibly rare that you'd want to examine the tried list so it might not matter that it could be wrong. But then we'd still have to consider whether or not it's really the correct callable if you don't go through resolve as it might not have serialized wrappers/decorators (at first glance, anyway) ... and going through resolve could also not be the The Correct Callable.
If it's not generally possible to construct the correct state for pickling, and we don't want to use resolve() for the reasons you mentioned upthread (and/or because it also involves going through the threadlocal perhaps undesirably) then maybe it's best just to prevent any calls to it.
It's got to be pretty infrequently attempted (given how long the ticket has been open and the lack of marked duplicates) so maybe just an anti-footgun in the form of an informative exception for anyone who tries it is enough? The other option could well be that Jonathan (or someone else in the future) can get something that's 80/20% workable and it still not be satisfactory, which would be less than ideal too from both a time investment (for them) and maintenance (for you) perspective.

Hi @felixxm and @kezabelle, thanks for your comments!
To summarise and confirm my understanding is correct:

Using resolve to rebuild the ResolverMatch is not enough, as the currently active URL conf may have changed since the object was pickled.
1.1 We cannot check whether URLResolver.urlconf_name has changed to work out whether resolve would return the correct callable for the same reason, as the same module could have different URLs configured.
With regards to func, we might be able to replace it with a class instance when pickling and re-inflate it when unpickling.
With regards to tried:
3.1. It cannot be pickled as it contains module objects.
3.2. We would need to handle attempts to pickle it for function-based views too.
We would need to ensure the solution works nicely with decorated views too, possibly by unwrapping and reconstructing them if needed.
The alternative to all of the above is to raise an exception with an explanatory message when ResolverMatch.__setstate__ is called.

I was wondering if we might want to go ahead with 1-4, but mention in the URLs documentation somewhere that it is only guaranteed to be possible to unpickle ResolverMatch if the URL conf hasn't changed since it was pickled? (It would be nice if we could pickle something like a URL conf version number along with it and raise an Exception or at least log a warning if one is unpickled with a different version, but I'm not sure any information like that is available?)
It would mean that for this PR, we can use resolve in the implementation as it currently is, which is likely cleaner than pickling a class instance for func (though probably slower), and gets around the problem with pickling modules in tried.
For the user, __setstate__ and __getstate__ will still be available. In cases where the URL confs are changing, it is likely they will need to add extra functionality in their applications to handle this.
If we did this, I would just need to add tests for checking it works correctly with decorated views, and update the documentation.
Let me know if I'm misunderstanding something. I'm happy to go with whichever solution you decide is best. :)

I don't think that we need/should support pickling ResolverMatch so I'd raise an exception or even leave it as it is.
@tomchristie's comment about pickling HttpResponse is IMO more important and we should focus on fixing it:
>>> import pickle
>>> response = self.client.get('/cbv_view/')
>>> pickle.dumps(response)
...
AttributeError: Can't pickle ....

raise an exception or even leave it as it is.

I'd prefer the exception, because 7 years ago it was a confusing annoyance ;)
Something like:
def __reduce_ex__(self, protocol):
    raise PicklingError(f"Can't pickle {type(self)}")

would probably do, non? It was the inconsistency between CBVs and FBVs that tripped me, rather than the general pickleability of the thing. IIRC I just ended up doing a del on the attr once I figured out what was going on.
Agree that Tom's use-case is something that should be fixed if possible, which would almost certainly need to use getstate/setstate shenanigans and be more selective about what gets persisted, even at the loss of some fidelity WRT to attributes getting frozen & restored. Some of the same sticking points may well exist (eg: the resolver_match, the urlconf getting set by a middleware, etc) of course and may need to be ignored for the purpose of getting just a fresh HttpResponse with correct content, status code and headers to be reconstructed

I'd prefer the exception, because 7 years ago it was a confusing annoyance ;)
Something like:
def __reduce_ex__(self, protocol):
    raise PicklingError(f"Can't pickle {type(self)}")

Agreed, let's raise an exception and then we can focus this ticket (and the 2nd PR) on fixing pickleability for HttpResponse.
@jonathandavis4 Do you have time to keep working on this?

@felixxm Sure, I can take a look at raising the exception in this PR tonight, then I can start a new PR for picking HttpResponses over the weekend maybe.

@felixxm @kezabelle I have now made the change to raise an exception when pickling a ResolverMatch, updated the release notes and squashed the commits. Please let me know if anything needs changing. Thanks.

Agreed, let's raise an exception and then we can focus this ticket (and the 2nd PR) on fixing pickleability for HttpResponse.

Pickleability for HttpResponse deserves a separate ticket.

@felixxm Those changes have been made now, and I have created a new ticket for pickling HTTPResponses. :)

@jonathandavis4 Thanks :+1: Welcome aboard :boat:

@felixxm @jonathandavis4 I have created a pull request on fixing pickleability for HttpResponse. Please let me know if this is the right solution.
https://github.com/django/django/pull/14728


Fix for gopls errors

Fixes #45
According to the LSP specification, none of the fields in itemDefaults are booleans. We can either set completionList to the nil value by default, or set all the fields in itemDefaults to nil.

I'm not sure if these changes are the best solution, but for me it resolves the errors that gopls was reporting.
I'm open to any criticism.

Also getting this error in ocamllsp

The LSP spec say it is array of string. See completionClientCapabilities

It should probably be
        completionList = if_nil(override.completionList, {
          itemDefaults = {
            'commitCharacters',
            'editRange',
            'insertTextFormat',
            'data'
          }

Thanks for pointing that out. I'll update the PR when I get to my computer.
On Tue, Nov 15, 2022, 8:28 PM Jason Cheatham @.***>
wrote:

It should probably be
    completionList = if_nil(override.completionList, {
      itemDefaults = {
        'commitCharacters',
        'editRange',
        'insertTextFormat',
        'data'
      }

—
Reply to this email directly, view it on GitHub
https://github.com/hrsh7th/cmp-nvim-lsp/pull/46#issuecomment-1316203552,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4CU5XNJEWOXKO2ROSJKD3WIRBFLANCNFSM6AAAAAASBOTJMM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@hrsh7th Should 'insertTextMode' have been included in that commit? The spec says that itemDefaults "lists the supported property names of the CompletionList.itemDefaults object". The original code had insertTextMode = false, which I assumed meant that property wasn't supported.


Hello ML.NET World doesn't specify NuGet requirements

The Hello ML.NET World example doesn't mention that when using .Net Core the NuGet Microsoft.ML should be installed.
This would sound pretty basic, but having an example that works is very important.

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

ID: edace175-268c-7428-dad5-95cd974422c3
Version Independent ID: 707aed84-b636-088a-bf57-1cc5e4f69631
Content: What is ML.NET and how does it work? - ML.NET
Content Source: docs/machine-learning/how-does-mldotnet-work.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

Hi @EdmundoMartinez
Thanks for the feedback. This article is not intended for users to follow along like a how-to guide or tutorial. For a Hello World experience, you can see this sample (https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/intro) or the rest of the tutorials. We'll take a look at the article to see how we can improve it to avoid confusion.

Thanks for this issue @EdmundoMartinez
Since this article is an overview / introduction to the framework and there are several tutorials for the various scenarios, there are no planned changes at the moment.


Dynamic version detection for EGL

Fixes https://github.com/timothee-haudebourg/khronos-egl/issues/11 (is there an according issue in this repo?)
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:

Out of curiosity, why does gfx require EGL >= 1.4? All necessary functions (despite the ones used dynamically from 1.5) seem to exist on 1.2 as well.

Out of curiosity, why does gfx require EGL >= 1.4? All necessary functions (despite the ones used dynamically from 1.5) seem to exist on 1.2 as well.

@niklaskorz thank you for making this test and the PR!
There is no particular reason we require EGL 1.4, the switch to EGL was done very recently, and I haven't done anything with it before, so it all could benefit from improvement :)

@niklaskorz thank you for making this test and the PR!
There is no particular reason we require EGL 1.4, the switch to EGL was done very recently, and I haven't done anything with it before, so it all could benefit from improvement :)

Any reason this is a draft?

I'm still getting errors of EGL 1.5 symbols not being found in load_minimal, so I guess we'll have to wait for a reply from @timothee-haudebourg before undrafting

Any reason this is a draft?

I'm still getting errors of EGL 1.5 symbols not being found in load_minimal, so I guess we'll have to wait for a reply from @timothee-haudebourg before undrafting

@niklaskorz If I understand it right, OpenGL ES 3.0 context creation required EGL_KHR_create_context that been introduced only in EGL 1.4.

@niklaskorz If I understand it right, OpenGL ES 3.0 context creation required EGL_KHR_create_context that been introduced only in EGL 1.4.

@niklaskorz If I understand it right, OpenGL ES 3.0 context creation required EGL_KHR_create_context that been introduced only in EGL 1.4.

Is this actually the case? Reading the spec (as well as multiple cases that can be found on the web) tells that:

EGL_CONTEXT_MAJOR_VERSION_KHR
this token is an alias for EGL_CONTEXT_CLIENT_VERSION

So one can specify  EGL_CONTEXT_CLIENT_VERSION to 3 (on EGL pre 1.4) for the same outcome, without requiring EGL_KHR_create_context.

@niklaskorz If I understand it right, OpenGL ES 3.0 context creation required EGL_KHR_create_context that been introduced only in EGL 1.4.

Is this actually the case? Reading the spec (as well as multiple cases that can be found on the web) tells that:

EGL_CONTEXT_MAJOR_VERSION_KHR
this token is an alias for EGL_CONTEXT_CLIENT_VERSION

So one can specify  EGL_CONTEXT_CLIENT_VERSION to 3 (on EGL pre 1.4) for the same outcome, without requiring EGL_KHR_create_context.

It's finally working on FireTV / Android <10! Now the only thing blocking this PR is https://github.com/timothee-haudebourg/khronos-egl/pull/12
https://user-images.githubusercontent.com/590517/104809623-e3c36b00-57ee-11eb-9f02-34a78d116f6e.mp4

It's finally working on FireTV / Android <10! Now the only thing blocking this PR is https://github.com/timothee-haudebourg/khronos-egl/pull/12
https://user-images.githubusercontent.com/590517/104809623-e3c36b00-57ee-11eb-9f02-34a78d116f6e.mp4

Please rebase and squash

Hm, I might have squashed too much, the PR diff looks weird now.

Please rebase and squash

Hm, I might have squashed too much, the PR diff looks weird now.


Some pdbbind structures cause unexpected termination when running "asap-ml build-dataset"

Command that I ran:
asap-ml build-dataset schnet     --exp-file unknown_error.json   \
  --structures '*_complex.pdb'  \
  --ds-cache ~/dataset_cache_local.pkl    \
  --xtal-regex '(?<=\/)[A-Za-z0-9]{4}(?=_complex)'  \
  --cpd-regex '(?<=\/)[A-Za-z0-9]{4}(?=_complex)'   \
  --ds-config-cache ~/dataset_config_cache_local.json

unknown_error.json
error_complexes.zip
unzip to get the three complex.pdb files.
Description:
When building the dataset for pdbbind structures, whenever the dataset has any of these 3 complexes below, it will give this error:
Fatal: Cannot read molecule
Upon checking, the ligand and protein is parsed successfully for each of these complexes. In asapdiscovery-ml/schema_v2/config.py: Complex.from_pdb was able to load the protein and ligand as input data. But somehow later this error occurred.
This issue only happened to 3/4606 of the pdbbind complex.pdb structures: 5vh0, 6eiz, 6a87. Excluding them from the schema and structure list solved the problem. But it would be interesting to look into the reason why they are causing the error.

PS: It was a big hassle to locate exactly these 3 problematic structures out of ~5000 structures. The ligand and protein would appear to be read successfully, and the error would happen at a very late stage. Originally thought it was a systematic error with "build-dataset" script, but when I tried using 200 structures it completed without error. So at the end I increased from 300, 400, 500 …, to 5000 structures manually to figure out the 3 structures that were actually causing this issue.

Thanks for this @robby-wang !
@kaminow we can wrap the reading in a try: except: to drop failed reads, but we should try and figure out what is happening also


Write a notebook on a drug/molecule use case

Experts in the field of drug design/molecule prediction with GNNs could be interested in writing a notebook on leveraging mlx-graphs in this field.
We can implement required datasets/features if needed.

As a guide, an example for QM predictions is here. It would be great to have one on drug/molecule design

I add an example for ESOL here, https://github.com/thegodone/mlx-graphs/commit/0c86b353b82c89aff4e449156538ff6c7f6d389a
can you explain me why the dataset is not reconized ? Do I need to use exactly the same process as in datasets/tu_dataset.py ? Or can we do it without that for custom data is would be more logical I think to have a independant process

Hi, I have some experience with chemical property prediction and GNNs and am interested in this. Never contributed to an open source project before, should I contact you @francescofarina and run some ideas by you?
Thanks!

Hi, I have some experience with chemical property prediction and GNNs and am interested in this. Never contributed to an open source project before, should I contact you @francescofarina and run some ideas by you?
Thanks!

Hey @cgeils25 - sure, that would be great! Feel free to join our discord and ping me there ;)


Add JSON tags to unmarshal int64s as strings

This is a proposal for handling fields where we want to control whether nil values should be marshaled as null or omitted. It's just a draft/prototype, but I welcome any suggestions for improvements or other solutions. The main method shows a simple usage example.
This feature is enabled by including a vendor extension on a field in the OpenAPI spec, which can be done with proto annotations. Alternatively, I could just do this for every optional field, but it's a little more bulky to use.
Thanks for taking a look!

Do we need a new type for this particular case? What if we marked fields with an extension property that:

Forces the field to be a pointer.
Does not include the omitempty attribute in the JSON tag.

For this particular use case (spend_limit + usage_limits), I think this is all we really want/need. The old spend_limit field was required, so it had to be included in every Terraform config file or ccloud API call. By dropping omitempty, we're basically preserving that behavior - we'll continue always passing a spend_limit value, even if it's null.
What would we be giving up if we went down that path?

This feature is enabled by including a vendor extension on a field in the OpenAPI spec, which can be done with proto annotations.

I looked into doing that, but then backed away. My feeling was that we shouldn't pollute the OpenAPI spec with something that's hyper-specific to Golang. So that's why in the other PR I chose to pre-process the OpenAPI json with jq.

Thanks @andy-kimball. I appreciate the comments.
Most of the problem here boils down to making sure the user has control over whether null fields are included. Your suggestions would clean this up quite a bit, but would cause us to always marshal these fields, and that's not always the desired behavior. We want to allow users to update other fields without accidentally erasing existing usage limits. In that case, we'd want to omit the field from the request entirely. That's why I kept "omitempty" in the json tag.
Regarding the vendor extensions, I don't think it's that much of a problem. We're only going to use this tag on the rare field where null and zero are both valid but semantically different, which is really just these two fields right now. Golang isn't the only language where we'll see this problem, either. Using jq or any other post-processing just makes it harder for our devs to find and add these extensions.


Arcane bore suggestion!

Ok, arcane bore is a realy useful item! But this arcane bore in thaumcraft 6 is pretty useless!
In thaumcraft 2 we had this beautiful arcane bore wich we could set up in a frame machine from redpower and automate it! Thaumcraft 4 made a bit harded to automate it but you still can do it( i tried but every time i moved the frame machine the arcane bore turned into arcane bellows, probably an id bug), but now in thaumcraft 6 the arcane bore is an entity and cant move together with the frame machine!
Please bring back the good old beauty that was the arcane bore, im sure im not the only one that thinks like that :/
Oh, and bring back the seals system from thaumcraft 2, those teleporters were realy sweet, chunk loaders were very useful too!

Tc6 was abandoned by the developer but... Ouch.
That must have been some work remaking bores after having them turned into less useful bellows.

Dude. Stop.
The mod is now in the hands of KingLemming (plus team) who will be porting the mod to MC1.14. They'll also be handling bug fixes and such going forward.
Just unhelpfully commenting that the mod is "abandoned" is not useful in the slightest.

My concern is that some issues will get buried so making them in this exact period is not guaranteed to have any results.
There is not much going on with TC6 right now. (not to the public, at least.)
I want to warn people about this so they may report the bug in a time development has caught up - but yes, it's not the best approach, and might not be a good idea. But, some people are genuinely uninformed of this fact, and because of this I will continue to warn them about tc6's state right now.

azanor never abandon thaumcraft dude stop warning people, azanor said he will return to TC6.1 in the future when thing in life and not so busy anymore he will come back work on it again and also KingLemming mention that he will fix most of the bug while porting to 1.14.4 forge has fluids again so STOP warning everybody


add Strip

add Strip   and add "\n","\t" to Empty

Codecov Report

Merging #55 (150a048) into main (21f0dc6) will decrease coverage by 1.63%.
The diff coverage is 76.31%.

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
- Coverage   90.96%   89.33%   -1.64%
==========================================
  Files          14       14
  Lines         310      347      +37
==========================================
+ Hits          282      310      +28
- Misses         20       26       +6
- Partials        8       11       +3

Impacted Files
Coverage Δ

gox/stringsx/stringsx.go
87.75% <76.31%> (-7.33%)
:arrow_down:

Continue to review full report at Codecov.

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


Hugo aborts with panic [BUG] when creating new content _index.md and then index.md

edit: added generated files

Hugo crashed when I accidently executed a rather strange sequence of new content commands:
I consider that as an edge case - but message itself states it as bug
I accidently [^1] tried to create *index.md files in the following order (one without underscore)

_index.md
index.md

Hugo crashed with: panic: [BUG] no Page found for "C:\_my\test\content\index.md"
Steps to reproduce: on Windows 10

PS C:_my> hugo version
hugo v0.123.7-312735366b20d64bd61bff8627f593749f86c964+extended windows/amd64 BuildDate=2024-03-01T16:16:06Z VendorInfo=gohugoio

PS C:_my> hugo new site test
Congratulations! Your new Hugo site was created in C:\_my\test.
 ...
See documentation at https://gohugo.io/.

PS C:_my> pushd test
PS C:_my\test> hugo new content _index.md
Content "C:\\_my\\test\\content\\_index.md" created

PS C:_my\test> hugo new content index.md
panic: [BUG] no Page found for "C:\\_my\\test\\content\\index.md"

goroutine 1 [running]:
github.com/gohugoio/hugo/create.(*contentBuilder).applyArcheType(0xc000a30840, {0xc000a58150, 0x1c}, {0x4a0bde0, 0xc0003097c0})
       /root/project/hugo/create/content.go:275 +0x354
github.com/gohugoio/hugo/create.(*contentBuilder).buildFile(0xc000a30840)
       /root/project/hugo/create/content.go:244 +0x1ad
github.com/gohugoio/hugo/create.NewContent.func1()
       /root/project/hugo/create/content.go:105 +0x28c
github.com/gohugoio/hugo/create.NewContent(0xc0007d8c80, {0x0, 0x0}, {0xc00000a100, 0x8}, 0x0)
       /root/project/hugo/create/content.go:108 +0x5c6
github.com/gohugoio/hugo/commands.newNewCommand.func1({0x0?, 0x0?}, 0x0?, 0xc000612dc0, {0xc00049bd50, 0x0?, 0x0?})
       /root/project/hugo/commands/new.go:60 +0x15f
github.com/gohugoio/hugo/commands.(*simpleCommand).Run(0x0?, {0x4a010d8?, 0x5d46a00?}, 0x0?, {0xc00049bd50?, 0xc0008d7a28?, 0x0?})
       /root/project/hugo/commands/commandeer.go:596 +0x3c
github.com/bep/simplecobra.(*Commandeer).compile.func1(0xc0009acb00?, {0xc00049bd50?, 0x4?, 0x320c1bf?})
       /root/project/gomodcache/github.com/bep/simplecobra@v0.4.0/simplecobra.go:113 +0x4c
github.com/spf13/cobra.(*Command).execute(0xc0006dc608, {0xc00049bd10, 0x1, 0x1})
       /root/project/gomodcache/github.com/spf13/cobra@v1.8.0/command.go:983 +0xaca
github.com/spf13/cobra.(*Command).ExecuteC(0xc0009b4908)
       /root/project/gomodcache/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff
github.com/spf13/cobra.(*Command).ExecuteContextC(...)
       /root/project/gomodcache/github.com/spf13/cobra@v1.8.0/command.go:1048
github.com/bep/simplecobra.(*Exec).Execute(0xc0004b6820, {0x4a010d8?, 0x5d46a00?}, {0xc0000ac090?, 0x101?, 0xc000099e88?})
       /root/project/gomodcache/github.com/bep/simplecobra@v0.4.0/simplecobra.go:155 +0xd4
github.com/gohugoio/hugo/commands.Execute({0xc0000ac090, 0x3, 0x3})
       /root/project/hugo/commands/commandeer.go:66 +0x2f9
main.main()
       /root/project/hugo/main.go:25 +0x56

content of _index.md - taken from archetypes/default.md
+++
title = ''
date = 2024-03-01T22:14:48+01:00
draft = true
+++

content of _index.md
---
title: "Content Placeholder"
_build:
  render: never
  list: never
  publishResources: false
---

[^1]: hurray for Copy'n'Paste and shell history ;-)

Summary...
hugo new site foo
cd foo
hugo new _index.md
hugo new index.md

This was not a problem with v0.122.0. Fails with v0.123.0 and later.

I have something that might be related to this issue on hugo v0.125.4+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs.
In my issue - when there is index.md - hugo doesn't generate content for any subfolders.
E.g.  if there is content/myFolder/post.md it will not generate in public

@ca5ua1 If you have a directory with descendant pages it is a branch bundle, and you must use an _index.md file instead of an index.md file. See documentation.

@jmooring ah, I see. That's confusing. Thanks for pointing that out


Added Scikit Learn

Related Issue
Closes #898

Description

An open-source machine learning library for Python that provides simple and efficient tools for data mining and data analysis.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


Bugfix 0.8 release with documentation fix

#3048 fixes a regression where our documentation for 0.8 has all methods missing from the api docs.  We should make a bug fix release, and then push a new version of docs to readthedocs.

Note that LaTeX in doc string is still broken, but I think that is OK.  Working on fixing that now (it's also a beast).

cirq 0.8.1 was released.


Remove unicode characters and add newline at end of file

Fixes #10

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   73.68%   73.68%
=======================================
  Files           1        1
  Lines          38       38
=======================================
  Hits           28       28
  Misses         10       10

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 65587e6...9795e64. Read the comment docs.

@pydanny Any feedback on this? Looks like it may cause issues with various package builds based on an open issue.

I have been facing the same issue and was stumped for a long time.
Would be good to fix this.

Merging this in right now.


Adding a "visible" property to the widget class

I sometimes have overlapping widgets, and I would love to have a property that shows/hides a certain widget, so that i have more space for the widget that I'm currently working in.
I've read that I could wrap my widget in a an Opacity widget, but I feel that solution is too hot-fixy.

@Mikkelet  Opacity will take up the space, so you can use Container(). Now these types of questions are better suited to ask on Stackoverflow, not on Github. Thanks :)

You can use show ? MyWidget() : Container() to conditionally show widgets when show is false.
I'm going to close. Feel free to add a comment to have it reopened if you disagree or still think there is something to do for the Flutter team..


Store fixed node positions in files

When the nodes are positioned (fixed), their locations and the fact that they are fixed should be stored somewhere. This could be in the graph files themselves, but in that case the coordinates would be wiped out each time the graph files get generated. Better to store the fixedness and coordinates in separate files.
Once stored, they should be read by the client as the initial setting.

Related https://github.com/d3/d3-force/issues/35


tcell unexpectedly removes ISIG

Took me a while to figured out, but tcell removes ISIG in termioInit()
While this is neat since you can ctrl+C instead of having a signal, would have been nice to have the option to not do that.
In my case, i'm using a program where data is piped into, and changing the terminal changes the whole pipeline, not just the tcell one. I was able to undo it by simply setting ISIG back after scr.Init() and i noticed no side effects so far (despite having to trap SIGINT):
func undoTcellSig() error {
    tio, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETS)
    if err != nil {
        return err
    }
    raw := &unix.Termios{
        Cflag: tio.Cflag,
        Oflag: tio.Oflag,
        Iflag: tio.Iflag,
        Lflag: tio.Lflag,
        Cc:    tio.Cc,
    }
    raw.Lflag |= unix.ISIG
    return unix.IoctlSetTermios(int(os.Stdout.Fd()), unix.TCSETS, raw)
}

HTH

Lol.  Have a look at the tty branch where we explicitly use /dev/tty instead of stdin.   That should resolve this for you.

I believe the main problems with this behavior should be sorted in master now.  Please confirm.

I'm closing this for now.


created reset_mio for c3

Program to reset MIO register.
Mishina-san already checked this works.

Kobayashi-san,
Can you change the indent style to use 2 spaces instead of tab?


Ingress for all chain nodes

Overview
Currently we are using kubectl port-forward to get access to the RPC ports and expose the chains. We relay on this for both local as well as remote cluster on a k8s digital ocean.
Proposal
Inorder to unify the experince of everyone down the line, we dont expect people to use kubectl at all. The proposal here is to use ingress to expose the RPC ports for various chains. We can use the following ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: node-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx-example
  rules:
  - host: "rpc.osmosis-1.starship.one"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: osmosis-1-genesis
            port:
              number: 26657
  - host: "rest.osmosis-1.starship.one"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: osmosis-1-genesis
            port:
              number: 1317

There are a coupld of considerations to be made here:

Do we want to expose all the validator nodes independently with ingress, rpc.<node>.<chain>.shuttle.one?
New service per validator node?
TLS need to end on ingress for remote

For local setup, need to map the hosts to the IPs and for remote need to create cloudflare rules with tls ending secrets.

For local setup: https://mjpitz.com/blog/2020/10/21/local-ingress-domains-kind/
It might make more sense to divide the ingress problem into local and on cloud.

For local we can have something like: https://mjpitz.com/blog/2020/10/21/local-ingress-domains-kind/ to perform all the routing
For Cloud: We might want to use cloud provider based option

Port-forwarding can also be standardized with shell scripts to make the process smooth for users.

In https://github.com/osmosis-labs/mesh-security-infra/pull/8, got the ingress working with following setting:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$1
    nginx.ingress.kubernetes.io/use-regex: "true"
    cert-manager.io/issuer: "cert-issuer"
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - explorer.thestarship.io
      secretName: explorer.nginx-ingress-tls
    - hosts:
        - registry.thestarship.io
      secretName: registry.nginx-ingress-tls
    - hosts:
        - rest.mesh-1-genesis.thestarship.io
      secretName: rest.mesh-1-genesis.nginx-ingress-tls
    - hosts:
        - rpc.mesh-1-genesis.thestarship.io
      secretName: rpc.mesh-1-genesis.nginx-ingress-tls
  rules:
    - host: "explorer.thestarship.io"
      http:
        paths:
          - pathType: Prefix
            path: "/"
            backend:
              service:
                name: explorer
                port:
                  name: http
    - host: "registry.thestarship.io"
      http:
        paths:
          - pathType: ImplementationSpecific
            path: "/(.*)"
            backend:
              service:
                name: registry
                port:
                  name: http
    - host: "rest.mesh-1-genesis.thestarship.io"
      http:
        paths:
          - pathType: ImplementationSpecific
            path: "/(.*)"
            backend:
              service:
                name: mesh-1-genesis
                port:
                  name: rest
          - pathType: ImplementationSpecific
            path: "/faucet/(.*)"
            backend:
              service:
                name: mesh-1-genesis
                port:
                  name: faucet
          - pathType: ImplementationSpecific
            path: "/exposer/(.*)"
            backend:
              service:
                name: mesh-1-genesis
                port:
                  name: exposer
    - host: "rpc.mesh-1-genesis.thestarship.io"
      http:
        paths:
          - pathType: ImplementationSpecific
            path: "/(.*)"
            backend:
              service:
                name: mesh-1-genesis
                port:
                  name: rpc

Open Questions
Couple of open questions now?
1. Make part of starship config? or leave it to developers?
Should ingress be made part of the starship config file, or left to the overlays with generated yaml files.
Can look in config like:
ingress:
  enabled: true
  ingressClassName: nginx
  domain: "thestarship.io" ## specifies the domain that is configured
  ## maybe
  cert-manager:
    issuer: "cert-issuer"
  ## TODO: better name
  genesis-only: true ## if false, will create rules for all the validator nodes, exposing each one individually

From this following domains need to be predefined: explorer.<domain>, registry.<domain>, <chain-name>.<domain>...
Ingress.yaml file will keep getting longer, it would be really benificial to be able to generate ingress yaml file.
Why this should not be done?

Too many pre-requists, devs can shoot themselves in foot.
Might be dependent on underlying cloud cluster and implementations? (might have to test in multiple places).

Max capacity
How will ingress effect max number of validator nodes that we can setup down the line?
How many ingress rules are allowed
What is the additional overhead?
Should we make ingress-controller and cert-manager part of deployment
Maybe not since this can be cluster wide, we can not assume people just have the whole cluster for Starship only.
This is what makes ingress and certs even more tricky, we wont be able to enforce something from Starship.

Cert-manager also configured with: https://cert-manager.io/docs/tutorials/acme/nginx-ingress/

Fk. Ingress seems to be frozen. Newer paradigm of Gateway API seems to be hot thing.
https://kubernetes.io/docs/concepts/services-networking/gateway/
We should move away from ingress as well then, before we start.


exhange to exchange binding

The PR enables this usage of this discussion
cfg.ReceiveEndpoint(
    "queue", endCfg =>
    {
        endCfg.Bind("exchange1", bind1Cfg =>
        {
            bind1Cfg.Bind("exchange2", bind2Cfg =>
            {
                bind2Cfg.Bind("exchange3", bind3Cfg =>
                {

                });
            });
        });
    }
);

The topology will be the following

There is one issue though, I had to implement Bind function for QueueBindingConfigurator as well. Please check the changes on the file. There should be a better way but I could not figure it out. Need your guidance and feedback

Thanks. I took your PR and heavily modified it to fit more seamlessly into the topology configuration.


Add Seaford head School, East Sussex, UK

Add Seaford head School, East Sussex, UK

Add Seaford head School, East Sussex, UK

@mymue1 First stage of verification passed, official domain is seafordhead.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@mymue1 Pull request merged. Thank you.


vcpkg export --zip ---> import into another vcpkg root

Hi,
This is probably more a vcpkg documentation issue (or me being blind...).
I have been experimenting vcpkg export --zip feature and while the export side of the feature is frictionless, I find the "import" side of things more challenging (i.e. outside the --nuget realm).
If I simply extract the created package into my other vcpkg root (on a disconnected network which is my scenario), it will compile but features like vcpkg list or remove are not available.
Typically, I cannot easily tell which version/triplet I have installed.
Removing a library imported this way is also challenging.
I have found a workaround by manually tweaking the installed/vcpkg/status file but I cannot convince myself this was the intended way of importing an exported zip package.
Thank you for any help :-)
Jean

Hi @jeanga,
You're exactly right -- we don't currently have an intended way to re-import the exported package! The export command is specifically designed to make an immutable, read-only copy.
It does seem natural to be able to "re-import" and we are looking at that, however it's not a short-term goal.
If you'd like to go into more detail about your situation, maybe I can suggest an alternative.

I also have same request  for my project in following scenario.

There is an OSS project that use AppVeyor as public CI test platform. (ex. github.com/miurahr/gdal)

Try to utilize vcpkg as dependencies libraries for building the project with MSVC

There are so many dependencies that cause vcpkg build taking a duration over 1 hour.

Free tier of AppVeyor test build limit a duration in 1 hour, so every build are failed.

If vcpkg support import feature, it help accelerate CI test against most recent dependent libraries.

Export a snapshot installation and packages.

Import a export zip file.

purge outdated packages and install alll and additional dependencies.

start build an OSS project and test.

I'd like to propose the feature because,  when the OSS project contributors want to add a new driver and its dependency is on vcpkg, they will add a vcpkg command to install new dependency for a test.
It does not happen in current  read-only copy of vcpkg.

This feature would be really helpful.
My requirement would be that an exported package (7z) should be able to reimport again. At least, a "vcpkg list" should correctly reflect the imported packages again.
In my opinion, should be a simple extraction and an update of the status file. Am i missing something?

@martin-s to import correctry, we may need to restore not only binaries into /packages and  /installed folders but  also CONTROL and  BUILD_INFO files  , that is not in 7z, at least.
We can play PoC evaluation with extracting  and  manipulating 7z or zip file into  our repository by hand.

@martin-s it may not be possible re-import from current exported archives. Details are commented  in https://github.com/Microsoft/vcpkg/pull/2947#pullrequestreview-101049179
It may be possible for us to propose a new export format for re-importing, and developing patch and Pull-Request may be welcome.

I would just focus on the installed-folder in order to keep it simple. Hence, we have to take care of the status files in the vcpkg-folder etc. and keep them in sync with an existing vcpkg-folder.
Disadvantage would be that packaged-folder is skipped, but that is acceptable for me. If we can import the installed-folder and list all imported packages (vcpkg list), this would be ok.

@miurahr Do you have the modifications on a branch? Can we pick it up somewhere?

@miurahr Do you have the modifications on a branch? Can we pick it up somewhere?

https://github.com/Microsoft/vcpkg/pull/2947/files

Please find an attached patch files.
0001-Refactoring-import-command.patch.txt
0002-import-command-wip.patch.txt

@jeanga how exactly did you do it?
"I have found a workaround by manually tweaking the installed/vcpkg/status file but I cannot convince myself this was the intended way of importing an exported zip package."
Which status file, I cannot find it. Could you help me? I do have the exact same problem.
I would really appreciate your help :)

The file is in "$(VCPKG_ROOT)\installed\vcpkg".
HTH

This issue hasn’t been updated in a year; if it is still an issue, please reopen.

is there any update in this regard?

is there any update in this regard?

I think that this has been addressed with the new binary caching feature of vcpkg.

I think that this has been addressed with the new binary caching feature of vcpkg.


Fix deprecated function readfp

Since Python 3.2 function readfp is replaced with read_file: python documentation
Readfp was fully removed in Python 3.12 so this fix is needed for GPy.

Hi @me2d09
thank you for your work!


Feature request source map generation

I think this gradle plugin is already awesome and easy to use.
But it would be great if it could also take over source map generation for css and javascript.
https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
The configuration could then look like this.
minification {
    jsSrcDir = "$buildDir/minify/src/js"
    jsDstDir = "$buildDir/minify/dst/js"
    cssSrcDir = "$buildDir/minify/src/css"
    cssDstDir = "$buildDir/minify/dst/css"

    jsSourceMaps = true
    cssSourceMaps = true
}

Google closure has this feature included. You could just make it usable through this plugin.
https://github.com/google/closure-compiler/wiki/Source-Maps

Thanks,
I would love to include more features and make th plugin more usable.
However I have no experience with source maps at all.
I recently included google closure for JS minification but could not get css minification to work.
So generating source maps for JS should not be difficult.
But I'm not sure about the CSS source maps.
Can you help ?

Yes I can try. What googel closure documentation do you use to get js working?

I based it off of gradle-js-plugin.
He seems to be doing something with source maps aswell.
He uses an older version of closure though.
The new one had many breaking changes.

Did you considered using google closure to minify css?
Because the YUI Compressor is no longer maintained https://stackoverflow.com/questions/24177065/can-we-generate-sourcemaps-using-yui-compressor

I have triedd it but could not get it to work.
closure-stylesheets can only be accessed via the command line.
I don't know if the closure-compiler can also minify css

I guess it is possible to call the closure main function from gradle plugins.
https://github.com/google/closure-stylesheets/blob/970d51e6fb45591e50c057b118e66a364957da42/src/com/google/common/css/compiler/commandline/ClosureCommandLineCompiler.java#L431
It should be possible to just pass all command line arguments in there. And use it like in command line without launching a new jvm.

Yes that should be possible I tried to call "execute" which is private.
We should try that.

I got closure-stylesheets to somewhat work:

It does not work with my project because of the error "Detected multiple identical, non-alternate declarations in the same ruleset.".
So closure does not minify these files.
The problem is that calling the main method does not print the errors.
Do you have an idea how to achieve this?
And do you know how to create the source maps?
As I said I have no experience with them and don't even know what the output should look like.
You should know that better.

I think this is what you want:
https://github.com/616slayer616/gradle-minify-plugin/commit/6bdbec6c4dd9dc50407797cd320f1e55aba4727d.
Need to do it for CSS as well but it would be nice if you could give me some feedback about this.

Sorry for not responding yesterday.
Thanks. That's it.
But you might consider implementing the createJsSourceMaps as a input propery

I think I got it:
https://github.com/616slayer616/gradle-minify-plugin/commit/821e4839445b94f4d2856bc9cc3bf9f053ac3a62
I am also enabling renaming files to .min.js and .min.css
https://github.com/616slayer616/gradle-minify-plugin/commit/6fcf43844fd5ca5efd2089ccfb31fc8578b3851c
What do you think about that?

Exactly what I mend. 👍
I and yes renaming to .min. is great but i would call the option originalFileNames. And I would default it to false because it is kind of a convention in web.

Do you have a Discord or Skype account?
And you are German right?
Is it possible to have a call with you? I have a idea that is to hard to explain in text.

I don't have discord and haven't logged until Skype for ages.
But yes I'm German and I'm sure we can figure something out for a call.
My first thought is teamspeak.
But I'm moving this weekend so I don't know if I can find the time.
Maybe Monday?
Frohe Ostern

Thanks and gleichfalls.
Monday sounds great. 👍
Do you have a Teamspeak server?

TS Server: padler.org Password: kingserver
I will delete this comment later

I have implemented something for the CSS source maps

I have found a issue with js source maps. In map files source files are referenced as a absolute path.
like this
´"sources":["T:/dev/.../build/minify/src/js/lib/chart.js"]´
but it should be only
´"sources":["chart.js"]´
I guess google closure configuration can fix this.

I could fix this but the problem is files in sub directories would lose the sub directory .
That happens in the css source maps though so it would at least be consistent

I think you misunderstand what I mend. We should speak about this tomorrow.


Maintain Before and After Retry Polices Separately in HttpPolicyProviders

Fixes #8163
Re-writes HttpPolicyProviders to maintain the BeforeRetryPolicyProviders and AfterRetryPolicyProviders as separate entities instead of combining them into a single Map.

I saw the above fix is a part of 1.3.0-beta.2
Can you please update when this version will be released?


azbb broken?

Trying this out, azbb -s <subscription_id> -g onprem-vnet-rg -l <location> -p shared-services-stack.json --deploy trows:
error: error executing az
message:
status: null
arguments: vm list-skus --resource-type virtualMachines --zone false --subscription <id>
However, running az with "arguments:" param works fine.

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

ID: 87139748-938e-638e-de1f-94f8becfe1da
Version Independent ID: b96371e6-defb-3e70-792a-2c0cfdc25b7d
Content: Implement a hub-spoke network topology - Azure Reference Architectures
Content Source: docs/reference-architectures/hybrid-networking/shared-services.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @MikeWasson
Microsoft Alias: pnp

Has this been fixed?

@juanand , @prak2419 , the nuget package version of AzBB needs to be updated.  The Source code has been fixed by https://github.com/mspnp/template-building-blocks/pull/423.  Please build locally and run while we update the nuget package.


[python] Add overload for endpoint

Close #34
Not familiar with handlebar context, let me know if there are any useful variables could be used .

PR checklist

[x] Read the contribution guidelines.
[x] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
[x] Run the following to build the project and update samples:./mvnw clean package
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh

Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/python*.
For Windows users, please run the script in Git BASH.

Hey there. Sorry, I moved the repo to https://github.com/OpenAPITools/openapi-json-schema-generator/pull/36?notification_referrer_id=NT_kwDOAB0s3LI0NTE1OTI5MTM4OjE5MTIwMjg#discussion_r985181496
because I wanted to get docker releasing set up and I don't have the privileges to do it in this location.
Can you re-create your PR in https://github.com/openapi-json-schema-tools/openapi-json-schema-generator?
This is the last repo movie, I promise. Thank you for your earlier PR and this one too.

FYI. The dockerhub username and password were setup at 4:14pm HKT (Oct 2nd, Sunday)

(At 11:59pm HKT Oct 1st (Saturday), I replied to @spacether in a private chat saying that I will try to setup the docker username, password (token) tomorrow (Sunday) in the openapi-json-schema-genreator repo so the task is done ~19 hours later).

My original request for this was at September 30th at 12:15 pm PT. And there were other additional reasons for making the separate org and repo.

Just so everyone on the same page September 30th at 12:15 pm PT is Oct 1st at 3:15 am HKT (Saturday) and I won't be able to guarantee any SLA on requests, especially over the weekend.


Skip + commit changed still triggers a build

I have a pr that was build, even though it should not.
Using the Label not exists trigger configured to skip PRs with missing label jenkins.
That was correctly skipped as the log shows. But then I have trigger to build PR when commit changed and that triggered a build. But it should not, because the PR was skipped.
Running GitHub Pull Request trigger check for Mar 10, 2016 12:58:22 PM on 3scale/system
GitHub rate limit before check: GHRateLimit{remaining=4205, limit=5000, resetDate=Thu Mar 10 13:01:51 CET 2016}
Labels not exist: [jenkins] not found
Skipping PR #6469
GitHubPRCommitEvent: new commit found, sha 984050ce9facfd8ea772bd1acd9649ee713284f8
Prepare to trigger build for PR #6469, because Commit changed
Finished GitHub Pull Request trigger check for 3scale/system at Mar 10, 2016 12:58:26 PM. Duration: 3540ms

Any ideas?

Check that Skipping PR #6469 even really returns true for skippable in it's cause.

Looks like Skipping PR really returns true/false. https://github.com/jenkinsci/github-integration-plugin/blob/f45e15c495855adcaa6a0e976749be57b7fa99b5/github-pullrequest-plugin/src/main/java/org/jenkinsci/plugins/github/pullrequest/trigger/check/SkippedCauseFilter.java#L18-L26
Looks like it it used there https://github.com/jenkinsci/github-integration-plugin/blob/6c1a9124050684ed529a80e333b0693c07656582/github-pullrequest-plugin/src/main/java/org/jenkinsci/plugins/github/pullrequest/trigger/check/PullRequestToCauseConverter.java#L46-L51
But I really have no idea what this should do.  But it looks like the triggers are executed in several passes so the skip does not apply.

Try add logger for org.jenkinsci.plugins.github.pullrequest.
Logic was the next:

waterfall all events
event returns null? try next
event returns cause? if it skippable, then don't process other events.

Could you wrote the test with two causes and mocked data?

I have 0 experience with Java development, so I'm not really comfortable doing that.
But I just added the logger and will try to reproduce and report what I find.

Here is the log:
Mar 10, 2016 3:19:52 PM FINE org.jenkinsci.plugins.github.pullrequest.webhook.GHPullRequestSubscriber onEvent
Queued check for system-pipeline (PR #6473) after heavy hook
Mar 10, 2016 3:19:52 PM FINE org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper debug
Running GitHub Pull Request trigger check for Mar 10, 2016 3:19:52 PM on 3scale/system
Mar 10, 2016 3:19:52 PM FINE org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper debug
GitHub rate limit before check: GHRateLimit{remaining=4668, limit=5000, resetDate=Thu Mar 10 16:01:51 CET 2016}
Mar 10, 2016 3:19:53 PM INFO org.jenkinsci.plugins.github.pullrequest.trigger.check.NotUpdatedPRFilter isUpdated
Pull request #6473 was updated at: Thu Mar 10 15:17:29 CET 2016 by mikz
Mar 10, 2016 3:19:54 PM FINE org.jenkinsci.plugins.github.pullrequest.events.impl.GitHubPRLabelNotExistsEvent check
Labels not exist:[jenkins] not found
Mar 10, 2016 3:19:54 PM FINE org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper debug
Skipping PR #6473
Mar 10, 2016 3:19:54 PM FINE org.jenkinsci.plugins.github.pullrequest.events.impl.GitHubPRCommitEvent check
New commit. Sha: ef92b341f493957607924ad7e45a9e45d3348664 => 1db0d04be4c3e6ea7cc96710c128e81f2f7d406c
Mar 10, 2016 3:19:55 PM FINE org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper debug
Prepare to trigger build for PR #6473, because Commit changed
Mar 10, 2016 3:19:55 PM FINEST org.jenkinsci.plugins.github.pullrequest.GitHubPRTrigger readyToBuildCauses
Causes count for 3scale/system: 1
Mar 10, 2016 3:19:56 PM INFO org.jenkinsci.plugins.github.pullrequest.GitHubPRTrigger readyToBuildCauses
GitHub rate limit after check 3scale/system: GHRateLimit{remaining=4652, limit=5000, resetDate=Thu Mar 10 16:01:51 CET 2016}, consumed: 16, checked PRs: 1
Mar 10, 2016 3:19:56 PM INFO org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper info
Finished GitHub Pull Request trigger check for 3scale/system at Mar 10, 2016 3:19:56 PM. Duration: 3788ms
Mar 10, 2016 3:19:56 PM INFO org.jenkinsci.plugins.github.pullrequest.trigger.JobRunnerForCause apply
Jenkins queued the run (Commit changed)

with relevant pool log:
Running GitHub Pull Request trigger check for Mar 10, 2016 3:19:52 PM on 3scale/system
GitHub rate limit before check: GHRateLimit{remaining=4668, limit=5000, resetDate=Thu Mar 10 16:01:51 CET 2016}
Labels not exist: [jenkins] not found
Skipping PR #6473
GitHubPRCommitEvent: new commit found, sha 1db0d04be4c3e6ea7cc96710c128e81f2f7d406c
Prepare to trigger build for PR #6473, because Commit changed
Finished GitHub Pull Request trigger check for 3scale/system at Mar 10, 2016 3:19:56 PM. Duration: 3788ms

@onecloud-sean found the reason :) It was regression after migration to streams.

Thank you so much for fixing it! Compiled the latest HEAD and looks like it works as is supposed to.

Will do release as soon as pass my integration tests :)

Released, should appear in update center tomorrow.


[BUG] Repository not found with current directory

What is the bug?
Error: Repository not found

Caused by:
    Non-GitHub remotes not yet supported

Where is the bug?
To reproduce:
#!/usr/bin/env bash

cd $(mktemp -d)
git clone https://github.com/spenserblack/repofetch
cd repofetch
cargo run -- -r .

Expected behavior
Successful run.
What version?
Compiled from master + #180
What else is bugging you?
-

Thanks for finding this! The issue is with this regex: https://github.com/spenserblack/repofetch/blob/d87c577bc1987f0a7bb7434dfeb5a5ac444d9584/src/main.rs#L19
It expects .git to be at the end of the remote URL, but as your reproduction shows, the .git suffix should be optional.


validate pd address

We need to make sure that different PD instances must not have the same client-urls/peer-urls/advertise-client-urls/advertise-peer-urls.

I think PDs can have the same client-urls/peer-urls, but advertise urls must not.


Removed a broken link

Removed the duplicate link text 'Smart Detection - Performance Anomalies' and the broken link associated with it.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@kasunkv : Thanks for your contribution to the Azure documentation! The author, @rboucher, has been notified to review your proposed change.

@kasunkv Thanks very much for your contribution.Sorry it took a bit for us to get back to you.  We were working on content for Ignite.  Yes, this link is dead and I also can't seem to location the replacement so I'll accept your change.

#sign-off

@rboucher I understand :) must be busy times for you guys. Thanks for accepting the change


AttributeError: 'NoneType' object has no attribute 'startswith'

Hi.
I keep getting this error;
today at 10:10:51 Container started
today at 10:10:45 AttributeError: 'NoneType' object has no attribute 'startswith'
today at 10:11:00 Traceback (most recent call last):
today at 10:11:00   File "/app/searcharr.py", line 1114, in <module>
today at 10:11:00     tgr = Searcharr(settings.tgram_token)
today at 10:11:00   File "/app/searcharr.py", line 85, in __init__
today at 10:11:00     radarr.Radarr(settings.radarr_url, settings.radarr_api_key, args.verbose)
today at 10:11:00   File "/app/radarr.py", line 25, in __init__
today at 10:11:00     if not self.radarr_version.startswith("0."):
today at 10:11:00 AttributeError: 'NoneType' object has no attribute 'startswith'
today at 10:11:01 Container stopped

This is my settings.py

"""
Searcharr
Sonarr & Radarr Telegram Bot
By Todd Roberts
https://github.com/toddrob99/searcharr
"""

# Searcharr Bot
searcharr_password = ""  # Used to authenticate as a regular user to add series/movies
searcharr_admin_password = ""  # Used to authenticate as admin to manage users

# Telegram
tgram_token = "1851256822:AAGXnJQxxxxxxxxxxxxxxxxxxxxxxUHIvif1dDc"

# Sonarr
sonarr_enabled = True
sonarr_url = "http://192.168.xx.xxx:8989"  # http://<IP_ADDRESS>:8989
sonarr_api_key = "a4cee1b5e4ac4343b0d8b8b7190xxx"
sonarr_quality_profile_id = "HD 720p"  # can be name or id value
sonarr_add_monitored = True
sonarr_search_on_add = True
sonarr_tag_with_username = True

# Radarr
radarr_enabled = True
radarr_url = "http://192.168.xx.xxx:7878"  # http://<IP_ADDRESS>:7878
radarr_api_key = "5015ce27b9274e1b932734366d5xxxx"
radarr_quality_profile_id = "HD-720p"  # can be name or id value
radarr_add_monitored = True
radarr_search_on_add = True
radarr_tag_with_username = True

ANd my docker-config.yml
      searcharr:
        container_name: searcharr
        hostname: searcharr
        image: toddrob/searcharr:latest
        restart: unless-stopped
        #network_mode: host
        volumes:
          - ${USERDIR}/searcharr/data:/app/data
          - ${USERDIR}/searcharr/logs:/app/logs
          - ${USERDIR}/searcharr/settings.py:/app/settings.py
        environment:
          - TZ=${TZ}
        ports:              # if running network_mode: host, remove ports (or vice versa)
          - "${SEARCHARR_PORT}:8440"

@b0red: Searcharr is attempting to check the version of your Radarr instance, and it's not finding the version in the response to the following API calls. Please try the following URLs in your browser with your full Radarr IP and API key. See if you get an error, and if there's a version listed in the response.
http://192.168.xx.xxx:7878/api/v3/system/status?apikey=5015ce27b9274e1b932734366d5xxxx
http://192.168.xx.xxx:7878/api/system/status?apikey=5015ce27b9274e1b932734366d5xxxx

Reopen if additional assistance is needed

@b0red: Searcharr is attempting to check the version of your Radarr instance, and it's not finding the version in the response to the following API calls. Please try the following URLs in your browser with your full Radarr IP and API key. See if you get an error, and if there's a version listed in the response.
http://192.168.xx.xxx:7878/api/v3/system/status?apikey=5015ce27b9274e1b932734366d5xxxx
the first link gives me this;

{
  "error": "Unauthorized"
}

http://192.168.xx.xxx:7878/api/system/status?apikey=5015ce27b9274e1b932734366d5xxxx
this url

{
  "version": "<IP_ADDRESS>80",
  "buildTime": "2021-06-03T11:51:33Z",
  "isDebug": false,
  "isProduction": true,
  "isAdmin": false,
  "isUserInteractive": true,
  "startupPath": "/app/radarr/bin",
  "appData": "/config",
  "osName": "ubuntu",
  "osVersion": "20.04",
  "isNetCore": true,
  "isMono": false,
  "isLinux": true,
  "isOsx": false,
  "isWindows": false,
  "branch": "master",
  "authentication": "none",
  "sqliteVersion": "3.31.1",
  "migrationVersion": 195,
  "urlBase": "",
  "runtimeVersion": "5.0.5",
  "runtimeName": "netCore"
}

so something is working it seems.

Are you sure you used the exact same API key for both URLs? the only difference between the URLs is /v3 in the middle. I am running the same version as you, and when I try, I get a response from both API versions (with and without /v3). If the response to /api/v3/system/status?apikey=<your_api_key> doesn't work, then Searcharr is not going to work for Radarr.


add augurpy

Description of changes
Add augurpy library into new tools folder.

@antschum merged now so that I can work on some tangential stuff. You forgot to add the dataloader functions to the init.py, but no worries. Generally, they work.
If you run into any of those h5py errors again you need to check the h5ad object. It must be corrupt. The code is not the issue.


[BC Idea]: New Key to table 130450 "Test Method Line"

BC Idea Link
None
Description
This issue has been written in the old repo, https://github.com/microsoft/ALAppExtensions/issues/23772. This is to port that issue into this repo so the PR can be done here instead.
I would like to create a new key that sorts on Test Suite and the Test Codeunit .
I did a PR before I realized that it wouldn't work to link to an issue in the other repo

Approving as per comment from @nikolakukrika in https://github.com/microsoft/ALAppExtensions/issues/23772.


EL-1415: Conditional reveals announced by screen readers

Jira ticket
What changed and why

Add visually hidden description on radio input, for screen reader users

Guidance to review

The accessibility report and detail on this finding can be viewed here.

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing
Branch is generally up to date with main Github - definitely no conflicts
No unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
PR description says what changed and why, with a link to the JIRA story.
Diff has been checked for unexpected changes being included.
Commit messages say why the change was made.

This is being superseded, by the work on EL-1439


activate CD to Maven Central

Fixed with https://github.com/chains-project/maven-lockfile/actions/workflows/jreleaser.yml 1 click to create a new release. Simply click on run workflow(right side) and select the semantic release you want. You can choose between major,minor and patch. Running this workflow will deploy and release to maven central so be sure you click the correct release kind.
This script:

Creates a tag and commit to main
Creates a github release
Creates a formatted changelog
Publishes to staging repo for maven-central
Closes the maven-central staging repo automatic and releases the release to maven-central

Fixed with https://github.com/chains-project/maven-lockfile/actions/workflows/jreleaser.yml 1 click to create a new release. Simply click on run workflow(right side) and select the semantic release you want. You can choose between major,minor and patch. Running this workflow will deploy and release to maven central so be sure you click the correct release kind.
This script:

Creates a tag and commit to main
Creates a github release
Creates a formatted changelog
Publishes to staging repo for maven-central
Closes the maven-central staging repo automatic and releases the release to maven-central