EventHub: Reverting the breaking changes of property and definition name changes

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
Reverting the changes done in PR https://github.com/Azure/azure-rest-api-specs/pull/958, as we will be taking these changes next RP version.
PR information

[X] The title of the PR is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[X] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[] If applicable, the PR references the bug/issue that it fixes.
[X] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[X] I have read the contribution guidelines.
[X] My spec meets the review criteria:

[X] The spec conforms to the Swagger 2.0 specification.
[X] The spec follows the guidelines described in the Swagger checklist document.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Reverting the changes done in PR #958, as we will be taking these changes next RP version.

I see that @anudeepsharma & @anuchandy were involved in the approval process of the PR #958. It'd be great if you could please review this PR and make sure they are covering all the things that were pushed into the previous PR? Thanks!

@vishrutshah, reverted the commits and added the examples. please review  and let know your comments. Thanks !!

Closing this PR as as @v-Ajnava will create new PR with "ONE" commit for the changes in swagger  + "ONE" commit with adding other "x-ms-examples". Thanks @v-Ajnava for your co-operation. Appreciate it. Thanks


AzureRM or AZ Module ?

Good morning and sorry for my English.
I see that I have to install Install-Module AzureRM -RequiredVersion 2.4.0.
Do not you think that the Az module is more efficient ?
https://azure.microsoft.com/fr-fr/blog/azure-powershell-cross-platform-az-module-replacing-azurerm/
Regards
Thierry

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

ID: be299a6e-e10b-ae65-a59d-e5730e33a54d
Version Independent ID: 5e7e99e2-4d26-c869-fdd8-1012acc29604
Content: Post deployment configurations for the Azure Stack Development Kit (ASDK)
Content Source: articles/azure-stack/asdk/asdk-post-deploy.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@ThierryBT , Thank you for posting here. Going forward it is recommended to use Azure AZ module.
Here is the Documentation: https://docs.microsoft.com/en-us/powershell/azure/new-azureps-module-az?view=azps-1.6.0


TransformerVisualization.ipynb: Unreadable Notebook, NotJSONError

When I tried to open "TransformerVisualization.ipynb" using jupyter notebook, I got the following error message (operating system: CentOS, browser: Firefox):
Unreadable Notebook: /myhost/myuser/py2.7_tf1.3.0/lib/python2.7/site-packages/tensor2tensor/visualization/TransformerVisualization.ipynb NotJSONError("Notebook does not appear to be JSON: u'\n\n\n\n\n\n\n<html lan...",)
I was able to reproduce the error when I copied the notebook to another Computer (OS: Ubuntu, , browser: Firefox):
Unreadable Notebook: /home/myuser/Desktop/TransformerVisualization.ipynb NotJSONError("Notebook does not appear to be JSON: '\n\n\n\n\n\n\n<html lang...",)
In both cases, I ran jupyter notebook in a virtualenv using python2.7. The virtual environments have been set up without the --system-site-packages flag.
The error has been described before in a different context related to jupyter: https://github.com/jupyter/help/issues/171
I would greatly appreciate your help.

Figured it out. The github link appears to be broken (wget https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/visualization/TransformerVisualization.ipynb just downloads some html file).
Instead, when I click on "raw" and then copy/paste the content, the notebook can be opened.

Glad you figured it out.
wget https://raw.githubusercontent.com/tensorflow/tensor2tensor/master/tensor2tensor/visualization/TransformerVisualization.ipynb


Extend BaseEntity

the idea is that findOne, findMany etc. might only be applicable to Nodes - but is that true when edges can have arbitrary feature vectors? In any case, edges will have additional methods taking "from", "to", "direction"(??)

[ ] BaseNode
[ ] BaseEdge

DONE -> We now have Entity -> BaseDoc (Node/Edge) -> Nodes / Edges

also, edges have a byNodes methods which takes _from & _to


Maintain the sphinx design

Before patch,

[x] add fading around the cards on dark theme
[x] make the cards are of same size irrespective of text size

before : https://docs.pyansys.com/index.html
After :

Just to make sure, this pull-request allows to display some fading light around the cards, right?

Just to make sure, this pull-request allows to display some fading light around the cards, right?

yes and also the cards are in same size, irrespective of the text inside.

Very nice improvement @Revathyvenugopal162 .


Make infoview always enabled.

Closes #101.

Awesome thanks!
Maybe we should add the test for the bug? I.e. where autoopen = false, making sure opening the infoview works without errors?

Thanks -- I'm actually still working on a more general refactor of the tests (and also regarding that TODO will put that in its own spec). Will update soon!

(actually, will make a separate PR/issue for this)


[RFC]: improve README examples of stats/base/dists/betaprime namespace

Description
This RFC proposes to improve the README examples of the stats/base/dists/betaprime namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the stats/base/dists/betaprime namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the stats/base/dists/betaprime namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@Planeshifter please assign this issue to me


Codeunit 1290 "SOAP Web Service Request Mgt.". Why not usable in SaaS?

We wonder why this codeunit to manage SOAP requests and responses cannot be used in SaaS because it has its main global procedures with [Scope('OnPrem')]:

SendRequestToWebService()
GetResponseContent()
ProcessFaultResponse()

Is there another codeunit alternative for SaaS?
PD.- To avoid answers that do not provide solutions indicating that SOAP is obsolete, the external system with which we have to communicate requires SOAP and on the other hand we have the Universal Code Initiative from Microsoft that forces us to setup target = Cloud in our extension.

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


media-library-uploadCare :I uploaded the svg image, but uploadcare rejected me. I have set imagesOnly: false but it's not working.

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: [e.g. 2.0.4]
Git provider: [e.g. GitHub, BitBucket]
OS: [e.g. Windows 7]
Browser version [e.g. chrome 22, safari 11]

Node.JS version:

CMS configuration

Additional context

Uploadcare doesn't currently treat svg files as images (no image processing available for them), so you'll need to set imagesOnly to false to get it working.

@erquhart  I have set it, But is not working?

What exactly is happening? Any chance your repo is public and can be shared?


How can i execute raw sql query ? Can we create table using sqlc ?

How can i execute raw sql query ? Can we create table using sqlc ?
I want to create a table dynamically through api .
Is there any way i can execute raw sql query with this series setup ?

Hi,
I think you can run any raw SQL query. You can try it with SQLC to see if it's working or not.
Even if it's not working, you can still create your own .go file and write your own Golang code that executes the raw SQL query. (SQLC just helps us write the codes automatically. we can always write the codes on our own if we want).


completions are wrong for commands with more than one word

https://github.com/python-poetry/poetry/issues/6486 was one of many duplicates complaining about the bad syntax in cleo-generated completions.  However it also pointed out that the fix which is now in place is not correct.
per https://github.com/python-poetry/poetry/issues/6486#issuecomment-1243732869

... "cache clear") would work, but that would be wrong for poetry, requiring users to run poetry "cache clear" or equivalent ...

... the way this needs to be structured is to check each word individually, then any more words beyond that one, in a tree structure of completions rather than a flat list of possible completions: ...

I expect this is harder to do, but it seems to be true that that's what's wanted

This is actually planned and I have the completions refactor in the way, however, it is planned for Cleo 1.1, since right now I want to push Cleo to 1.0, as it blocks some Poetry 1.2 users from using it as it depends on Cleo alpha version. I keep #84 as an issue for tracking the subcommands' completions, so I will close this one.


Sanic warning when running via docs instructions

Discussed in https://github.com/reactive-python/reactpy/discussions/1150

Originally posted by JamesHutchison October  6, 2023
The docs currently recommend running via Sanic directly.
https://reactpy.dev/docs/guides/getting-started/running-reactpy.html#running-with-sanic
However, if you do, you get this warning:
No scope. Sanic may not be running with an ASGI server
It seems like if users should be using the built-in Sanic server then this warning should be remove, as it is emitted by ReactPy here:
https://github.com/reactive-python/reactpy/blob/main/src/py/reactpy/reactpy/backend/sanic.py#L167
If users should be using ASGI to serve Sanic, then instructions on how to do that should be provided.

Closing in favor of #1110


Remove displays for morphometrics in notebook

Fixes issue #63
You can check the notebook here: https://github.com/neuropoly/axondeepseg/blob/dev_issue63/notebooks/morphometrics_extraction.ipynb

I updated a function in the code, and then re-run the notebook (that was calling that function) to update the display.

right, but what I meant is that the title of this PR is misleading ("Remove displays for morphometrics in notebook"), because the change was done on a function called by the notebook, not on the notebook itself, hence if the user decides to use the function outside of the notebook the changes from this PR will also affect behaviour.


MS office DOCX/PPTX to PDF

Hello,
I am think of writing a converter for microsoft office to PDF, i want to begin with doc file.
Idea is convert docx file to an intermediate state and from intermediate to Pdf.
What i am looking for:

convert docx to some defined AST using python-docx ?

Thanks

You can use Libreoffice. Just:
/usr/bin/soffice --headless --convert-to pdf:writer_pdf_Export --outdir _OUTPUT__DIR PDF_FILE_.pdf

for doc\docx\odt.
or
/usr/bin/soffice --headless --convert-to pdf:impress_pdf_Export --outdir _OUTPUT__DIR PDF_FILE_.pdf

for doc\docx\odt.


Create ewcmail.txt

Apply JetBrains

@xsiwiw827 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


cannot install scikit-bio on fresh pyenv environment

I am using pyenv, python version Python 3.7.0. Creating a new environment and installing numpy first yields:
Command "/Users/user/.ve/skbio/bin/python3.7 -m pip install --ignore-installed --no-user --prefix /private/var/folders/4y/79v_6xrd6yj4v8ddkrf2zbc40000gn/T/pip-build-env-f5fdlm8s --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython "numpy==1.9.3; python_version=='3.5'" "numpy==1.12.1; python_version=='3.6'" "numpy==1.13.1; python_version>='3.7'"" failed with error code 1 in None

There are some issue with python=3.7 that haven't been addressed yet.  In the meantime, I'd recommend using python=3.5.  This can be done via conda installation i.e.
conda create -n skbio python=3.5 scikit-bio -c conda-forge

more discussion this can be found here: https://github.com/biocore/scikit-bio/issues/1595

We are having a sprint on this soon and will be discussing this.  Stay tuned!

Is there any news on this? If nothing else, can we at least get a note on the README that explains that the software doesn't support 3.7?

Good news! The 0.5.5 release supports python 3.7 --- https://github.com/biocore/scikit-bio/blame/master/CHANGELOG.md#L44.

@Benjamin-Lee - are you experiencing an issue running scikit-bio in a py3.7 environment?

Yes but I think I fixed it (not entirely sure why my fix worked though). I was installing from a requirements.txt and getting a numpy not installed error but when I manually pip installed numpy and then scikit-bio it worked. No idea what the issue is but it's working now.
Thanks for the prompt response!

We are having this same issue - it appears to be related to the import of numpy in scikit-bio's setup.py, see: https://github.com/biocore/scikit-bio/blob/master/setup.py#L20
This means that any (custom) package depending on scikit-bio must pre-install numpy (outside of the python setup.py test command); not doing this results in python setup.py test (for the custom package) failing for lack of numpy when it tries to install scikit-bio.
Import of third-party packages in setup.py, especially complicated packages like numpy, is not something I'd describe as a best practice. Does this have to be in setup.py for scikit-bio?

@jdiggans-twist, as far as I can tell the import is only there to find the path to the NumPy header files. Seems like this might be a way around it:
https://stackoverflow.com/a/54153319/379593

Thanks @ElDeveloper - I figured a way around it; per https://github.com/numpy/numpy/issues/13430 this is caused by an issue between Cython and recent versions of numpy. Backing off the numpy version (to 1.13.x in my case, as it was the last known good version) solved this.

I am having the same problem and cannot install scikit-bio on Mac (Python 3.7). I have tried a number of suggestions but failed to install it.  Any suggestion?

What's the error you are seeing? If you aren't already installing using conda is likely the easiest way, I just tried this out in a fresh environment and it worked well.

Dear Yoshiki,
Thank you for your kind help. Let me share the code I have tried with you.
(Python 3.7.0 Jupyter Notebook and Mac).
Best regards
Oktay
Failed to build scikit-bio hdmedians
Installing collected packages: hdmedians, scikit-bio
Running setup.py install for hdmedians ... error    ERROR: Command
errored out with exit status 1:
command: /Users/OKTAYMAC/anaconda3/bin/python -u -c 'import sys,
setuptools, tokenize; sys.argv[0] =
'"'"'/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-install-kvn3afw_/hdmedians/setup.py'"'"';
file='"'"'/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-install-kvn3afw_/hdmedians/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))'
install --record
/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-record-cyxm6il/install-record.txt
--single-version-externally-managed --compile --install-headers
/Users/OKTAYMAC/anaconda3/include/python3.7m/hdmedians
cwd: /private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-install-kvn3afw/hdmedians/
Complete output (20 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.7
creating build/lib.macosx-10.7-x86_64-3.7/hdmedians
copying hdmedians/init.py -> build/lib.macosx-10.7-x86_64-3.7/hdmedians
copying hdmedians/medoid.py -> build/lib.macosx-10.7-x86_64-3.7/hdmedians
running build_ext
skipping 'hdmedians/geomedian.c' Cython extension (up-to-date)
building 'hdmedians.geomedian' extension
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/hdmedians
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-g -fwrapv -O3 -Wall -Wstrict-prototypes
-I/Users/OKTAYMAC/anaconda3/include -arch x86_64
-I/Users/OKTAYMAC/anaconda3/include -arch x86_64
-I/Users/OKTAYMAC/anaconda3/lib/python3.7/site-packages/numpy/core/include
-I/Users/OKTAYMAC/anaconda3/include/python3.7m -c
hdmedians/geomedian.c -o
build/temp.macosx-10.7-x86_64-3.7/hdmedians/geomedian.o
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Reason: image not found
gcc: error: unable to locate xcodebuild, please make sure the path
to the Xcode folder is set correctly!
gcc: error: You can set the path to the Xcode folder using
/usr/bin/xcode-select -switch
error: command 'gcc' failed with exit status 71
----------------------------------------ERROR: Command errored out
with exit status 1: /Users/OKTAYMAC/anaconda3/bin/python -u -c 'import
sys, setuptools, tokenize; sys.argv[0] =
'"'"'/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-install-kvn3afw_/hdmedians/setup.py'"'"';
file='"'"'/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-install-kvn3afw_/hdmedians/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))'
install --record
/private/var/folders/y4/5tjrtmh13z3dglyhnc_hxt400000gn/T/pip-record-_cyxm6il/install-record.txt
--single-version-externally-managed --compile --install-headers
/Users/OKTAYMAC/anaconda3/include/python3.7m/hdmedians Check the logs
for full command output.
Note: you may need to restart the kernel to use updated packages.
In [ ]:
def make_seq():
length =random.choice(range(45,50))

return ''.join([random.cho

On Mon, Apr 13, 2020 at 6:40 PM Yoshiki Vázquez Baeza <
<EMAIL_ADDRESS>wrote:

What's the error you are seeing? If you aren't already installing using
conda is likely the easiest way, I just tried this out in a fresh
environment and it worked well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/biocore/scikit-bio/issues/1600#issuecomment-612953350,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADATEEPGF6MASWTWS5L6CWDRMMW5TANCNFSM4FSZA5LQ
.

Looks like you are using conda. I suggest you use: conda install -c conda-forge  scikit-bio. Solving building issues using a native python installation can be complicatrd.

Dear Yoshiki,
Thank you for your kind help:) It worked:)
On Mon, Apr 13, 2020 at 7:13 PM Yoshiki Vázquez Baeza <
<EMAIL_ADDRESS>wrote:

Looks like you are using conda. I suggest you use: conda install -c
conda-forge scikit-bio. Solving building issues using a native python
installation can be complicatrd.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/biocore/scikit-bio/issues/1600#issuecomment-612967737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADATEEKHHXURUWCDSR24XY3RMM23DANCNFSM4FSZA5LQ
.


Is there a way to make a navbar dropdown on mobile seems like materialize page side-nav?

@victordeassis Can you provide more details on what you are trying to achieve?
If I've understood you correctly, you are trying to open the side-bar when a dropdown is clicked.
Then I would suggest you to create a fake dropdown button and attach a side-nav show event to it. Also, on the side-bar items you would do the same. However this time you would update the dropdown value and close the side-nav.

Hi @mccraveiro thank you for the help, I wanna make a navbar just like the materialize homepage when my page is on a smartphone, just like the image, can you help me please?

@raisiqueira Have you seen http://materializecss.com/side-nav.html?


Can not build using bower [v3]

I'm using bower to get and track the latest dev version. Because the builds in the bin directory are not always up to date I want to build it myself. Right now the gulp/tasks folder of is missing, the utils folder does exist. Is this intentional?

Yes, the idea behind the bower/npm packages is that they are distributables. Bundles in bin if you want to use those directly, and source in src if you want to use browserify.
Really all you should get in that package is bin, src, and package.json. Anything else is something we should filter out. Thanks for reminded me to update that!

Is it possible to have another bower file filter in the dev branch so if install that one, you can actually build it?

Including tests scripts, build scripts and other repo data in a registry package is an antipattern. I really don't want to do that.
Instead can't you just clone the repo if it is for development? Does bower have something like "npm link" for these cases?

npm can also install from git, or better yet ... a tarball. github itself provides every commit, tag, and branch as tarball which is a fast install via npm.

@englercj thanks, totally agree with your "antipattern" comment there.

@englercj while I'm commenting, I strongly suggest just using the "files": [] field in package.json rather than .npmignore (which IMO is an antipattern :wink:)

Things to include:

bin
src
README.md
LICENSE
package.json

A couple of those may be included by default, can't remember which ATM.

while I'm commenting, I strongly suggest just using the "files": [] field in package.json

Yeah for some reason in my head I had updated it, but this ticket reminded me that I didn't :P


[e2e]: maven workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7840263372
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Feb  9 06:04:47 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7853053507
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Feb 10 06:04:29 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7860076801
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Feb 11 06:05:10 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7867890382
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Feb 12 06:09:24 UTC 2024
Tests are passing now. Closing this issue.


panic: sync: negative WaitGroup counter

From https://travis-ci.org/limetext/lime-backend/jobs/67430883:
panic: sync: negative WaitGroup counter
goroutine 13 [running]:
sync.(*WaitGroup).Add(0xc20800a660, 0xffffffffffffffff)
	/usr/local/go/src/sync/waitgroup.go:67 +0x96
sync.(*WaitGroup).Done(0xc20800a660)
	/usr/local/go/src/sync/waitgroup.go:85 +0x31
github.com/limetext/lime-backend/lib/watch.(*dummy).FileChanged(0xc20800a640, 0x659650, 0x11)
	/home/travis/gopath/src/github.com/limetext/lime-backend/lib/watch/watch_test.go:63 +0xaf
github.com/limetext/lime-backend/lib/watch.(*Watcher).apply(0xc2080a22d0, 0x659650, 0x11, 0x2)
	github.com/limetext/lime-backend/lib/watch/_test/_obj_test/watch.go:323 +0x234
github.com/limetext/lime-backend/lib/watch.func·001()
	github.com/limetext/lime-backend/lib/watch/_test/_obj_test/watch.go:262 +0xb9
github.com/limetext/lime-backend/lib/watch.(*Watcher).Observe(0xc2080a22d0)
	github.com/limetext/lime-backend/lib/watch/_test/_obj_test/watch.go:299 +0x1a2
created by github.com/limetext/lime-backend/lib/watch.TestObserve
	/home/travis/gopath/src/github.com/limetext/lime-backend/lib/watch/watch_test.go:308 +0x1b2
goroutine 1 [chan receive]:
testing.RunTests(0x6930d0, 0x744d00, 0x11, 0x11, 0x747001)
	/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0xc20803c0f0, 0x74d9c0)
	/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
	github.com/limetext/lime-backend/lib/watch/_test/_testmain.go:132 +0x291
goroutine 12 [runnable]:
gopkg.in/fsnotify%2ev1.(*Watcher).readEvents(0xc2080a2280)
	/home/travis/gopath/src/gopkg.in/fsnotify.v1/inotify.go:253 +0xa16
created by gopkg.in/fsnotify%2ev1.NewWatcher
	/home/travis/gopath/src/gopkg.in/fsnotify.v1/inotify.go:58 +0x32b
goroutine 11 [runnable]:
sync.(*Mutex).Lock(0xc20800a678)
	/usr/local/go/src/sync/mutex.go:41
github.com/limetext/lime-backend/lib/watch.(*dummy).Text(0xc20800a640, 0x0, 0x0)
	/home/travis/gopath/src/github.com/limetext/lime-backend/lib/watch/watch_test.go:87 +0x46
github.com/limetext/lime-backend/lib/watch.TestObserve(0xc208068360)
	/home/travis/gopath/src/github.com/limetext/lime-backend/lib/watch/watch_test.go:315 +0x35a
testing.tRunner(0xc208068360, 0x744e20)
	/usr/local/go/src/testing/testing.go:447 +0xbf
created by testing.RunTests
	/usr/local/go/src/testing/testing.go:555 +0xa8b

Getting the same bug on Linux. Looks like FileChanged is fired twice:
015/07/13 12:58:58 CEST] [FNST] (github.com/limetext/lime-backend/lib/log.(*Logger).Finest:49) Watch(testdata/test.txt)
[2015/07/13 12:58:58 CEST] [DEBG] (github.com/limetext/lime-backend/lib/log.(*Logger).Debug:57) Got FileChanged on testdata/test.txt
[2015/07/13 12:58:58 CEST] [DEBG] (github.com/limetext/lime-backend/lib/log.(*Logger).Debug:57) Got FileChanged on testdata/test.txt
[2015/07/13 12:58:58 CEST] [EROR] (github.com/limetext/lime-backend/lib/log.(*Logger).Logf:105) Watcher error: %!s(<nil>)

When testing similar code with fsnotify directly, I'm getting two WRITE events as well. That's what's breaking the WaitGroup based logic for the tests.
The  watcher errors occur after the watcher is closed. They are caused by the w.wchr.Errors channel being closed and the err := <-w.wchr.Errors read always succeeding with a nil value (same for ev := <-w.wchr.Events BTW). Changing the assignments to foo, ok := <- bar in Observer should help with that.

Also why not exiting the Observe for loop if any of the wchr channels are closed?
Tentative fix for both issues:
https://github.com/db47h/lime-backend/commit/b07e2f93665eaee2aa55c8bfc701566849f6ae46

@db47h, LGTM, could you submit a PR please?

Done. Wasn't too sure if exiting Observe() was a good idea, but if the channels are closed, I don't really see another option. Also documented Observe(), never hurts ;)


Limit of indicators is now 15000

The current documentation mentions:
There is a limit of 5,000 active indicators per tenant.
however this was recently changed to 15'000

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

ID: 19096ba2-ed3a-36bb-1b23-37da87d73892
Version Independent ID: fd1ceb0f-9f76-45a8-7ed2-86857fab6ca4
Content: Submit or Update Indicator API - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/post-ti-indicator.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@alexverboon The article has been modified and is not reflecting this change:


precomputed annotation spec supports non-float values but front-end does not

the precomputed skeleton spec allows for non floating point vertex attributes including "int8", "uint8", "int16", "uint16", "int32", "uint32" but neuroglancer will error on any source that has anything but floats for vertex attributes. (due to this check ).
I think if possible it should support displaying skeletons with this extra types, ideally make it possible to alter rendering based on them, but at a minimum just skip over them so the data can be stored there but display is not affected.
A more general point, it seems like the rendering system for skeletons should show properties with names in the UI like it does for annotation properties, rather than relying upon the shader writer to know vCustomX maps to the Xth vertex property with no context as to what the property is or is called.

In case it helps, I think you can reference the vertex property by the name assigned to it rather than vCustomX. For example, I named mine "lsp" and can reference it in the shader by that. But I agree that having it in the UI like the others would be help.
Another question I have about precomputed skeleton rendering is how do I change the alpha? For example, this seems to work fine:
void main() {
  float norm = 10000.0f;
  float alphaNorm = 10000.0f;
  emitRGB(vec3(1.0f-lsp/norm, lsp/norm, 0.0f));
}

but this does not:
void main() {
  float norm = 10000.0f;
  float alphaNorm = 10000.0f;
  emitRGBA(vec4(1.0f-lsp/norm, lsp/norm, 0.0f, lsp/alphaNorm));
}

The alpha doesn't seem to work properly and the colors are affected by the underlying color assigned to the ID. Also when using alpha, even if lines is selected, the points show up instead sometimes.
Is there a way to get alpha to work with skeletons?


tags not found

Hi,
I'm getting 404 when routing to my tags. I scanned through the repo, looks fine to me. Any idea?
Error screenshot:

blog
repo

Read the documentation carefully:

Note: these are simply hash (fragment) links into the full taxonomy index pages. For them to resolve properly, the category and tag index pages need to exist at /categories/index.html (copy to _pages/category-archive.md) and /tags/index.html (copy to _pages/tag-archive.md).

@iBug Ah, I must have missed this out. Ok now it works like a charm. Thanks for the pointer!


Don't reload query when opening a cell

We should not refresh the query when opening a cell. We already have the results so we should just display them and not re-run the query or any dependent queries.

@russorat one concern with the behavior this issue implies-
Let's say we query the dashboard at time t for the past five minutes. and wait one minute before clicking 'configure cell'.
The time dropdown in VEO will say "past five minutes" but will actually be displaying data between t-5 and t.
Is this what you would expect? or should we refetch data if data is 'too stale'

The x-axis will still display the correct time range. the user will know better than we will what "stale" is.


Show a failed activity log when changing access tier for one ADLS Gen2 folder with subfolder

Storage Explorer Version: 1.16.0-dev
Build: 20201022.3
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a new blob container -> Create a new folder -> Open the folder -> Upload one folder with blobs to it.
Right click the new folder -> Click 'Change Access Tier...' -> Apply.
Check the activity log.

Expect Experience:
Show a successful activity log.
Actual Experience:
Show a failed activity log.

@v-limu I'm not able to repro this issue. Can you share:

Did you access the container via: sign-in, attach with azure AD, attach with SAS URI, or attach with connection string?
What access tier did you try to set the folder to?
Are you able to reproduce this again?
Can you take a video please?
If you do repro, instead of taking a screenshot of the error dialog, please copy and paste the error message?

Hi @MRayermannMSFT. This issue still reproduces in the build 20201023.5. Details show as below:
Rero steps:

Select one ADLS Gen2 blob container -> Create a new folder -> Open the folder -> Create a folder with blobs.
Right click the new folder -> Click ‘Change Access Tier…’ -> Select ‘Hot’ tier -> Apply.

Actual:
Show a failed activity log.

More info:

This issue reproduces for ADLS Gen2 blob container that is accessed via sign-in, attach with azure AD, attach with name & key.
This issue also reproduces when changing access tier to ‘Cool’ and ‘Archive’.
The error details show below:
ErrorDetails.txt

Thank you for the additional help! I can reproduce this now. 👍

Fix merged into main.


Add DartEditor.app latest dev channel

Based on darteditor.rb, except that it uses the dev channel (which offers bleeding edge releases).

Thanks for the contribution. However this should be submitted to our versions repo https://github.com/caskroom/homebrew-versions

Well I figured since spark and spark-dev are in the main repo, I gave this a try here. Will resubmit to versions.

@chalin Fair point, didn't realise we also had spark-dev in the main repo. I'll shift it over to versions shortly.


Willing to include cmctl?

Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[x] No

Context
Great project :). I was wondering whether you are willing to accept a PR to include support for cmctl, cert-manager's CLI tool?
If requesting a CLI for "arkade get"
cmctl latest stable release (v1.11.0) has around 5,000 downloads:

cmctl-darwin-amd64.tar.gz (15.61 MiB) - downloaded 183 times. Last updated on 2023-01-11
cmctl-darwin-arm64.tar.gz (14.75 MiB) - downloaded 127 times. Last updated on 2023-01-11
cmctl-linux-amd64.tar.gz (14.85 MiB) - downloaded 4,527 times. Last updated on 2023-01-11
cmctl-linux-arm.tar.gz (13.88 MiB) - downloaded 20 times. Last updated on 2023-01-11
cmctl-linux-arm64.tar.gz (13.29 MiB) - downloaded 137 times. Last updated on 2023-01-11
cmctl-linux-ppc64le.tar.gz (12.92 MiB) - downloaded 24 times. Last updated on 2023-01-11
cmctl-linux-s390x.tar.gz (14.59 MiB) - downloaded 16 times. Last updated on 2023-01-11
cmctl-windows-amd64.tar.gz (14.99 MiB) - downloaded 139 times. Last updated on 2023-01-11
cmctl-windows-amd64.zip (14.99 MiB) - downloaded 72 times. Last updated on 2023-01-11

Hi @hvt sure, we would welcome it.
Unfortunately, you changed the questions in the issue template and that means I have to ask you a question you deleted, but are you going to contribute this yourself?
Alex

One question we have is "Are you willing to work on this?" 🙂

I am :).

This has now been added. Thanks for the suggestion.
Feel free to update any cert-manager docs with arkade get cmctl etc.


DependencyHandler#add kapt not work.

Expected Behavior

I want to wrote a Plugin to auto load a dependency which will be process by kapt.
Current Behavior

The dependency is loaded but not in kaptClasspath, so my dependency doesn't work.
Context

The code is follwing:
project.afterEvaluate {
    project.dependencies.add("kapt", "group:artifactId:version")
}

After I use dependencies command, I got this as following:
kaptClasspath_kaptDebugKotlin
No dependencies

...

kaptDebug
\--- group:artifactId:version

But if I add kapt in build.gradle it works, And the dependencies result is as following:
kaptClasspath_kaptDebugKotlin
\--- group:artifactId:version

...

kaptDebug
\--- group:artifactId:version

Because the dependency is not included in kaptClasspath, so I think it dosen't work.
Your Environment

Gradle version: 6.7.1
Java version: 1.8
So how to fix it?

Thank you for your interest in Gradle!
This is an issue with the Kotlin Gradle Plugin which is developed by JetBrains and cannot be addressed in the core of the Gradle Build Tool.
Please open such Kotlin-related issues on the Kotlin Issue Tracker at https://youtrack.jetbrains.com/issues?q=project: Kotlin

It might be that the KAPT configuration setup also uses an after evaluate to create the exact dependencies. And thus your afterEvaluate might end up happening too late.


ERROR: Unable to extract uploader id

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=wFFdOv7YrBM&ab_channel=Badminutiae']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.10 (CPython) - macOS-13.4-arm64-arm-64bit

[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {'https': 'http://<IP_ADDRESS>:12639', 'http': 'http://<IP_ADDRESS>:12639', 'no': 'localhost,<IP_ADDRESS>,.oa.com,.qq.com,.tencent.com'}
[youtube] wFFdOv7YrBM: Downloading webpage

ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/Users/keen/miniconda3/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/Users/keen/miniconda3/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/Users/keen/miniconda3/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/Users/keen/miniconda3/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/Users/keen/miniconda3/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

unable to download video file while using:
youtube-dl --verbose "https://www.youtube.com/watch?v=wFFdOv7YrBM&ab_channel=Badminutiae"

Same issue. Slightly different output for me (newer Python, ffmpeg...)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLrnPJCHvNZuCVTz6lvhR81nnaf1a-b67U']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.12 (CPython) - macOS-13.4.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] PLrnPJCHvNZuCVTz6lvhR81nnaf1a-b67U: Downloading webpage
[download] Downloading playlist: Build a 2D Platformer Game in Unity | Unity Beginner Tutorial
[youtube:tab] playlist Build a 2D Platformer Game in Unity | Unity Beginner Tutorial: Downloading 13 videos
[download] Downloading video 1 of 13
[youtube] Ii-scMenaOQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

using
youtube-dl --verbose 'https://www.youtube.com/playlist?list=PLrnPJCHvNZuCVTz6lvhR81nnaf1a-b67U'

#30839 !

[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Why are these items in the checklist, do you suppose?


[BUG] CIS scan failures on RKE2 hardened clusters

Rancher Server Setup

Rancher version: v2.7-head(35388ea)
Installation option (Docker install/Helm Chart): Docker

Information about the Cluster

Kubernetes version: v1.24.4+rke2r1
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Custom RKE2 hardened cluster(1-cp, 1-etcd, 1-w)

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

If custom, define the set of permissions:

Describe the bug

CIS scans using profiles rke2-cis-1.23-profile-hardened and rke2-cis-1.23-profile-permissive fails on RKE2 hardened clusters.

To Reproduce

Provision a RKE2 hardened cluster. Followed this guide to hardened the cluster.
Install CIS benchmark chart 3.0.0-rc2 with below chart versions:

image:
  cisoperator:
    repository: rancher/cis-operator
    tag: v1.0.10-rc2
  securityScan:
    repository: rancher/security-scan
    tag: v0.2.9-rc3
  sonobuoy:
    repository: rancher/mirrored-sonobuoy-sonobuoy
    tag: v0.56.7

Ran scans using rke2-cis-1.23-profile-hardened and rke2-cis-1.23-profile-permissive profile.

Result

Getting failures in both permissive and hardened scans:

Expected Result

Scan should pass for both hardened and permissive profile

Additional context

https://github.com/rancher/security-scan/pull/94

/backport v2.6.9

If we plan to not have the CIS 1.23 rke2 benchmarks supported for k8s versions <1.25, then the minKubernetesVersion should be set on these benchmarks in the rancher-cis-benchmark chart @galal-hussein

The PR is merged and waiting for rancher-cis-benchmark chart update.

CIS Benchmark chart fails to install on RKE2 hardened cluster.
cis-operator pod shows the following error.
CreateContainerConfigError (container has runAsNonRoot and image will run as root (pod: "cis-operator-7469cdb657-chb8m_cis-operator-system(25057e27-f231-4dc1-91ba-9f04cbb7002c)", container: cis-operator))

@vivek-infracloud I was able to reproduce the issue, I think there should be a specific psp in the chart so that any pod in the cis-operator will not be restricted by the default restricted policy, I wonder why this never occurred before though, the cis operator pod should always be failing since the restrticted default psp prevents any root container to start except for the pods in the kube-system namespace

@galal-hussein Thanks for updating the chart. I was able to install the CIS benchmark chart v3.0.0-rc7.
However, after running the permissive and hardened scans on k8s cluster v1.24.4+rke2r1 I'm still seeing the errors mentioned in the issue.

One test is still failing.

With updated CIS Benchmark chart v3.0.0-rc9 the hardened and permissive scans passed for the RKE2 hardened cluster. Hence closing the issue. Screenshot attached for the reference.


Copy selected HTML code into generated component template file

Based on PR for #5. Please review #15 first.

Could you move the code that handles everything regarding angular into its own file?
The extension.ts starts to get big.
A good idea would be to separate it in such a way that testing is simple. For example:
We expect the new file to return all the file changes which need to be made in addition to the generated files. So, currently it would return the replacement string for the selected HTML and the html that needs to be inserted into the template.
The result should be a bunch of pure functions, so that its easily testable ;)

Yes the file is too big now. Your idea sounds good, testing is also an open point right now. We should keep it in mind 👍

Todo:

[ ] splitting extension.ts file into multiple files based on review comment, see above.


[PROPOSAL] code style

Discussing with @cheyang  and @yangyuliufeng  offline
This is a collaborative project
We'd better stick to the same set of standards,
Having the same style of code helps a lot in its readability and maintainability
I propose that we follow the advice given by the GO official CodeReviewComments
/cc @littletiger123 @xieydd @XIAO-HOU @TrafalgarZZZ

This is very necessary, let us see how to code more standardized. @allenhaozi


Adding a new "single" type of data (in addition to current "array")

If in a SXL we want to gather somes informations (defined in it as a whole for a CodeId/name) instead of using separated return names (or commands),
we can use the "array" type.
For its many advantages:

more compact return exchange,
possible optional information,
YAML definition (instead of "free" string with specific encoding described as a 'comment'),
no bad linked data synchronisation risk (with individual return name status subscribtion),
...

But... the type "array" is normally planned to contains a list of differents elements (list of JSON objects with "[....]" format).
In this case (informations of an object that goes together), only "one" object is referenced ("cId"), and only and always one JSON object element will be put in the array.
It would be more suitable to use a new "single" data type added to RSMP for this SXL exchange case.
The string will just contains a JSON object.
Example for 's' :
[{"PropA":"1","PropB":"1457","PropC":"2.3"}]
that becomes :
{"PropA":"1","PropB":"1457","PropC":"2.3"}
This would allow strict control for JSON schema: no more risk to have abnormal multiples elements in a array, if not an array !
For the roadside simulator, when enquiring values, we can differentiate the case "single" / "array" type, and if a "single" directly open the item second window (without the previous items list manager first window, only useful for an array of items).

thanks! i think this is similar to https://github.com/rsmp-nordic/rsmp_core/issues/84

No, the request for a new "single" type, is just a specific case of the "array", when always only one element in, present.
Absolutely no impact on RSMP 'core'.
It as always difficult to give an example to illustrate,
but if we have for example a signal CodeID "S123" / name "thesize", and we want to get width/height data values (together) with it:
currently with the array type format, we will obtain :
"[{"w":"12.3","h":"4.5"}]"
as there is always only "one" size, it would have been preferably to obtain for this specific case data (limited to one item) :
"{"w":"12.3","h":"4.5"}"
For the roadside simulator, this would make it possible to enter directly and only the 2 width/height values, without managing any list of elements, which have no meaning here...
Hope it helps to understand better the need for this little addition...
Thanks.

Hi,
Usually you would not pack several items into into a single SXL attribute, because

you loose the ability to request and subscribe to just the part you need
you need to send everything each time just one item changes

But for the example of sending a dimension that consists of width and height, it could make sense to pack these together. The best format would be to use a json map (hash) like you suggest:
{"w":"12.3", "h":"4.5"}

RSMP core spec does not currently describe maps as a type (like we do with arrays), but I think it would make sense to allow any json data, also nested types. In general, we're moving towards using native json types everywhere. I would also prefer numbers to be send a json types, rather than strings, so for your example:
{"w":12.3, "h":4.5}

Data placed inside strings is much harder to validate with json schema (often unfeasible).

An quick solution using the current arrays would be to send it as:
["12.3","4.5"]

Defining first item as width, second as height.

Thanks for your reply,
and good if with the little "size" example you seen the interest to introduce this new type in RSMP.
About the format for numbers in this new type, it was just using the same format than actually in "array".
Example with current "S0033" of TLC :
[{"r": "uhnv","t": "2021-11-09T15:04:12.348Z","s": "completed","e": "5","d": "10"},
{"r": "oh0i","t": "2021-11-09T15:06:38.796Z","s": "activated"}]

So in the future, as it would be logic to have the same format for numbers in theses 2 types, it would also become :
[{"r": "uhnv","t": "2021-11-09T15:04:12.348Z","s": "completed","e": 5,"d": 10},
{"r": "oh0i","t": "2021-11-09T15:06:38.796Z","s": "activated"}]

Planned like that ?
For now not a lot of signals using the recent type 'array", so perhaps changing it fastly would be better...

In general yes, we want to move towards native json types for numbers, booleans, arrays and maps (also known as json objects), null. And of course we would still have strings.  Note that json does not include a native type for dates.

Related to #84

No, as already explained previously, the request for a new "single" type, is just a specific case of the "array", when always only one element in, present.
Absolutely no impact on RSMP 'core'.
In fact, this issue is now detailed in #135 : "Allow JSON Objects (maps)"


brew bump-cask-pr changes requested by homebrew-cask maintainers

[x] Should work for SHA-only changes https://github.com/Homebrew/homebrew-cask/issues/93013
brew bump-cask-pr securityspy --sha256 'de66546630615deb1bae58b54a3fc5f6bb29ec674c770c721b3245a29fad00cf' --write

[ ] Should not consider closed PRs when looking for duplicates https://github.com/Homebrew/homebrew-cask/issues/93014

[x] Should not add a checksum when a cask is versioned and has :no_check https://github.com/Homebrew/homebrew-cask/issues/94942
brew bump-cask-pr sensei --version '1.3.2,74' --write

[x] Should ignore downgrades https://github.com/Homebrew/homebrew-cask/issues/94944
brew bump-cask-pr sensei --version '1.3.2,74' --write

I was using brew bump-cask-pr --version 10.0.7 tor-browser on d73fc480a and get the following error:
...
==> Downloading https://dist.torproject.org/torbrowser/10.0.7/TorBrowser-10.0.7-osx64_zh-TW.dmg
######################################################################## 100.0%
Warning: Cannot verify integrity of '03364e9173a786dc05fb1c643e4ec1934f71a21d3b7ea71ad855b8658fbc0481--TorBrowser-10.0.7-osx64_zh-TW.dmg'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "7392c972dde595326575a93a748c934fafa2f33bd8ed94681f179602bcd7c0b8"
==> replace /version\s+["']10\.0\.6["']/m with "version \"10.0.7\""
==> replace "2287d8a89bf31238202ec4eca6e93dcfb3a9a702628c57247743897d90cf85d2" with "606a6e874f83ef2782c843108bdcb239a2d928852b74c
...
==> replace "80bca47bb96be730c4e32d4e653f76207cba9f1ef45aecb4ce875d49503c7383" with "7392c972dde595326575a93a748c934fafa2f33bd8ed9
==> replace /sha256\s+["']77bf71c7e1e547de0bab1994c792dffa2fde4d1cea064270e05dd4e9fd6264e0["']/m with "sha256 \"aad168a4fa11ee9975
Error: inreplace failed
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/tor-browser.rb:
  expected replacement of /sha256\s+["']77bf71c7e1e547de0bab1994c792dffa2fde4d1cea064270e05dd4e9fd6264e0["']/m with "sha256 \"aad168a4fa11ee9975474ce6b04d2a4514195b82fd71d96e20db4da9395d83a7\""


Change default ConsumerConfig or ProducerConfig

Hi,
Is there possible way to set custom ConsumerConfig or ProducerConfig (eg. HEARTBEAT_INTERVAL_MS_CONFIG)?
Thanks

Hi @akrystian,
Yes it is possible since v1.2.1+ (which will be available on Maven next couple of hours).
Cheers,

Hi,
Very fast reaction. :+1:
We'll try it out.
Thanks,


Add connected network info to prompt

Show network information in the prompt.
Open question, what should we display about the network?:

The network name.
The network url (covers the --url case, I believe).

I think we should show the network name if we have it in the networks object, and the full URL otherwise. I also think that we shouldn't show anything if you are connected to http://localhost:8545, since that's the default.


Weekdays seem to be off by one

http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html
From the Documentation:
0 15 10 ? * 6L 2002-2005 | Fire at 10:15am on every last friday of every month during the years 2002,             2003, 2004 and 2005
-- | --

perhaps this is caused by Monday as start of week instead of Sunday.
I have to check if I can fix it or if it has to be fixed in the library that I'm using for generation of the description.

the latest release should fix the issue.
see: https://github.com/random-dwi/cron-descriptor/commit/cce379be6327c7affb4d2daa36ae0f7312465a35


alertTargetIds replaced by targetResource

In this commit on May 31st 2023 the field alertTargetIds was renamed to targetResource in the table listing the essential fields. In none of the sample payloads this change is reflected, nor does it seem like any of the common alerts we receive have targetResource instead of alertTargetIds as a field.
Is this change an error or should the samples be updated?
If this change is on purpose, when should we start expecting this change to show up in any of the alerts we receive?

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

ID: 8f6143f2-251a-fe29-495c-0b18a54e6423
Version Independent ID: d16ded7c-886c-e39e-93ec-68824e9f0c7b
Content: Common alert schema for Azure Monitor alerts - Azure Monitor
Content Source: articles/azure-monitor/alerts/alerts-common-schema.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @AbbyMSFT
Microsoft Alias: abbyweisberg

@sschutten
Thanks for your feedback! We will investigate and update as appropriate.

@sschutten, thank you for the question.
@AbbyMSFT, could you please review this and share your thoughts. Thank you

#re-assign: @nolavime

I fixed it in the docs it should be alertTargetIDs

#close

#please-close


Alpine linux support...

Hi,
I really like your image, but in an effort to make it smaller, I started playing around the idea of using Alpine Linux and Oracle Java instead of the java:8 base image which tends to be larger and uses the OpenJDK instead.
It would be nice to support Artemis in such setup, I tried to implement it but I'm getting some problems with the volume setup, would you like to help me out to get this to work?
It would be a nice alternative to your image.
Thanks

Hi @raulgd ,
Thank you! I'm glad you like it.
Yes I have been considering creating Alpine based images for a while. I'll work on it as soon as I can.

I'd suggest you check this out:
https://hub.docker.com/r/anapsix/alpine-java/
This guy has already alpine with the Oracle JDK setup in different ways, I use his images a lot on my projects and are very complete and compact.
I already implemented my own Artemis with this image and works nice, but I think you have more experience and would like to see how you would implement it.

You can also use
FROM openjdk:8-jre-alpine

I use it for https://github.com/rmohr/docker-activemq, it works fine.

Thanks @rmohr I'll give it a try

Please try tag 1.5.3-alpine. And let me know. If it works well I'll back port to all versions.


Add helpers for mutating request options to add telemetry spans

@richardpark-msft suggested in a recent PR that we consider consolidating some of the repeated code we have for updating tracingOptions / spanOptions across packages.
This is a good idea, so we should think about where this helper should live (perhaps in core-tracing?)

Is this still something we need? I looked at the original PR and noticed it refers to the spreading and merging of spanOptions for parenting. We no longer use spanOptions at all - can I close this @xirzec ?

Yeah, this was more interesting when we didn't have an immutable context API that did all the hard work for us. I think we can safely close :)


Error when applying retro_template to product

When running either aizynthcli or the GUI, I sometimes get the following error:
Traceback (most recent call last):
File "xx/bin/aizynthcli", line 33, in
sys.exit(load_entry_point('aizynthfinder', 'console_scripts', 'aizynthcli')())
File "xx/aizynthfinder/aizynthfinder/interfaces/aizynthcli.py", line 119, in main
_process_multi_smiles(args.smiles, finder, args.output)
File "xx/aizynthfinder/aizynthfinder/interfaces/aizynthcli.py", line 86, in _process_multi_smiles
search_time = finder.tree_search()
File "xx/aizynthfinder/aizynthfinder/aizynthfinder.py", line 176, in tree_search
leaf = self.tree.select_leaf()
File "xx/aizynthfinder/aizynthfinder/mcts/mcts.py", line 100, in select_leaf
promising_child = current.promising_child()
File "xx/aizynthfinder/aizynthfinder/mcts/node.py", line 232, in promising_child
return self.promising_child()
File "xx/aizynthfinder/aizynthfinder/mcts/node.py", line 230, in promising_child
child = self._select_child(index)
File "xx/aizynthfinder/aizynthfinder/mcts/node.py", line 311, in _select_child
states = self._make_child_states(reaction)
File "xx/aizynthfinder/aizynthfinder/mcts/node.py", line 287, in _make_child_states
reactants_list = reaction.apply()
File "xx/aizynthfinder/aizynthfinder/chem.py", line 279, in apply
reactants = rdc.rdchiralRun(reaction, rct)
File "xx/lib/python3.6/site-packages/rdchiral/main.py", line 242, in rdchiralRun
merged_map_to_id[bj], b.GetBondType())
RuntimeError: Pre-condition Violation
attempt to add self-bond
Violation occurred on line 300 in file Code/GraphMol/RWMol.cpp
Failed Expression: atomIdx1 != atomIdx2
RDKIT: 2020.03.3
BOOST: 1_67
For some reason I don't understand, RDChiral is failing when trying to apply the retro_template to the product. My workaround is to catch this in mcts/node.py:
def _make_child_states(self, reaction):
    mols = [mol for mol in self.state.mols if mol is not reaction.mol]
    try:
        reactants_list = reaction.apply()
    except:
        reactants_list = None

I am training on Reaxys data and evaluating on the ChEMBL sample of 100 compounds. With this modification it solves 65 compounds.

Thanks for the feedback.
Could you try the new branch bugfix-issue-5? It is a variant on your solution.
If you use the --log-to-file switch to the aizynthcli tool it will print out the failed reaction to the debug log.
Do you mind sharing the failing template and product? If nothing else, I believe the developers of RDChiral would be interested if it is a truly a bug in their code.

This is the last line of the log:
2020-09-08 11:52:42,685 - aizynthfinder - DEBUG - Reactants_list empty (), for mol O=C(ON1C(=O)CCC1=O)c1ccc2c(c1)OCO2 and transformation [C:4]-[O;H0;D2;+0:5]-C;H0;D3;+0:1-[c:3]>>Cl-C;H0;D3;+0:1-[c:3].[C:4]-[OH;D1;+0:5]

The SMARTS you quote above is invalid. You need to have brackets around the spec. for the first nitrogen.
Otherwise, one get this exception:
ValueError: ChemicalReactionParserException: Problems constructing reactant from SMARTS: [C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]
If I instead use "[C:1]-[N;H0;D3;+0:2]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]" I get the following exception
KeyError: 3
The exception is most likely due to the atom mapping. There is C3 to the right in the equation that is un-mapped, i.e. you are creating a carbon out of nothing.
That is, I do not get the RuntimeError exception you reported at the top of this issue. This is the problem with using the bare except-clause that you introduced. You potentially hide a lot information.

I take your point about my error handling.
I was printing reaction.smarts after reaction.apply() had thrown the error. If I print out the SMARTS beforehand, I get this:
[C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]
And in the logfile:
2020-09-08 13:43:12,290 - aizynthfinder - DEBUG - Runtime error in RDChiral with template [C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4] on O=C(ON1C(=O)CCC1=O)c1ccc2c(c1)OCO2
My SMARTS templates were generated by RDChiral from SMILES reactions.

I take your point about my error handling.
The above-quoted SMARTS was printed after reaction.apply() threw the error. If I print it out beforehand I get this:
[C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]
And in the logfile:
2020-09-08 13:43:12,290 - aizynthfinder - DEBUG - Runtime error in RDChiral with template [C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4] on O=C(ON1C(=O)CCC1=O)c1ccc2c(c1)OCO2
The SMARTS were generated by RDChiral from SMILES reactions.

I take your point about my error handling.
The SMARTS string is getting mangled when I paste it. It should be:

[C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]

And in the logfile:

2020-09-08 13:43:12,290 - aizynthfinder - DEBUG - Runtime error in RDChiral with template [C:1]-N;H0;D3;+0:2-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4] on O=C(ON1C(=O)CCC1=O)c1ccc2c(c1)OCO2

The SMARTS were generated by RDChiral from SMILES reactions.

I take your point about my error handling.
The SMARTS string is getting mangled when I paste it. It should be:
[C:1]-[N;H0;D3;+0:2](-[C:3])-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]>>[C:1]-[NH;D2;+0:2]-[C:3].[O;D1;H0:4]=[C:5]-[O;H0;D2;+0:6]-[O;H0;D2;+0:6]-[C:5]=[O;D1;H0:4]

Thanks for fixing the formatting.
This seems now like a pure RDChiral problem to me, the aizynthfinder tree search simply ignores the template gracefully, which I am satisfied with.
I think the SMARTS looks a little bit funny, but I'm no expert in cheminformatics.
Since you created the SMARTS with RDChiral, I suggest that you report the issue with the RDChiral repository.


Add FP16 Support

Currently, m-lora uses FP32. However, for devices with abundant video memory, you can load FP16 without using quantization to reduce the accuracy loss and overhead caused by quantization; for devices with insufficient video memory, you can further save time in the training process by using FP16 and quantization.

do we have a config to open fp16 vs fp32?


protected applications

good morning
I am using the plugin and it works perfect, but I have a detail and is that in android 6.0 or higher the application needs a protected applications permission to prevent the process from killing in the background.
What can I do to install the application and be protected?
thank you very much

It seems to just work on my Android 6+ without being killed without me adding any code to set protected mode. I suspect that protected mode is built in.

Not sure if i know, what is this about?


Tensor shape mismatches the associate numpy array shape

The following code demonstrates a simple TF graph with transpose, pad and another transpose that gives the output data with shape that mismatches tensor shape.
import numpy as np
import tensorflow.compat.v1 as tf

if __name__ == '__main__':
    tf.disable_eager_execution()
    tf.reset_default_graph()

    input_ = tf.placeholder(shape=(5, 3, 2, 4), dtype=tf.float32)

    permutation1 = tf.constant(value=(0, 2, 3, 1))
    transpose1 = tf.transpose(a=input_, perm=permutation1)

    pad_shape = tf.constant(value=((0, 0), (0, 0), (0, 0), (0, 0)))
    # pad_shape = tf.constant(value=((0, 0), (10, 0), (0, 0), (0, 0)))  # THIS VERSION WORKS!!!

    pad = tf.pad(tensor=transpose1, paddings=pad_shape)

    identity1 = tf.identity(input=pad)

    permutation2 = tf.constant(value=(0, 3, 1, 2))
    out_tensor = tf.transpose(a=identity1, perm=permutation2)

    tf.identity(out_tensor)

    input_data = np.random.randint(low=-127, high=127, size=np.prod(input_.shape)).reshape(input_.shape).astype(
        np.float32)

    with tf.Session() as session:
         tf_out_arrays = session.run(fetches=[out_tensor], feed_dict={input_: input_data})

    output_data = tf_out_arrays[0]

    assert input_.shape == input_data.shape, 'Input data shape'
    assert output_data.shape == out_tensor.shape, f'Output data shape mismatch {output_data.shape} != {out_tensor.shape}'

Gives the assertion error:
AssertionError: Output data shape mismatch (5, 4, 3, 2) != (5, 3, 2, 4)

The transposition was not applied by the TF and tensor shape now mismatches the data shape.
Interestingly if the padding values are not zeros, that is if the line
  pad_shape = tf.constant(value=((0, 0), (0, 0), (0, 0), (0, 0)))

is changed to
pad_shape = tf.constant(value=((0, 0), (10, 0), (0, 0), (0, 0)))

the code works.
The TF version is:
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
2021-12-16 11:45:20.516535: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-12-16 11:45:20.516563: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
v2.4.0-49-g85c8b2a817f 2.4.1

but I have also tested it against 2.4.4, 2.5.2, 2.6.2  and 2.7.0 - the mismatch reproduces.
The code was tested in Ubuntu 20.04 and ArchLinux.
No GPU was used.

@Saduf2019 ,
I was able to reproduce the issue in tf v2.7, v2.5 and nightly.Please find the gist of it here.

@Evgeny-IT
We see that you have not filled the issue template and used 1.x, the error reported is because the two shapes are not same.
As this is not bug or feat request hence please create this issue in discussion forum and move this to closed status.

@Saduf2019

We see that you have not filled the issue template

No, I filled them all. What fields of issue template do you think are missing?

used 1.x,

No, I used 2.x, see the reply of @tilakrayal - he was able to reproduce the issue for 2.x package.

As this is not bug

No, the error is here and is reproduced. Why this is a not bug? The expected behavior is not met.

@Evgeny-IT
As you can see you have used disable eager that means you are using tf 1.x, as explained this is not a bug we cannot fix coding issues in this repo, kindly open this in discussion forum.

@Saduf2019

explained this is not a bug

Can you please give a more detailed explanation why this is not a bug? I see statements that this is not a bug and not explanation why. tf 1.x bugs are not considered bugs?

@Evgeny-IT
There is no support for tf 1.x anymore hence we cannot look into its issues. you are using disable and expecting it to work on 2.x this is incorrect coding.

@Evgeny-IT Session.run is deprecated. We see that you're using Session which does not work with  eager execution
(TF V2). To migrate code that uses sessions to TF2, rewrite the code without it. Please see the migration guide on replacing Session.run calls.
TF v1.x is currently  not actively supported so please try to upgrade to TF v2.4 or later versions.
For any further queries regarding TF v1.x specific issues please post it in TF forum where there is a larger community to get you the right help.
Thanks!


[ci:component:github.com/gardener/oidc-webhook-authenticator:v0.9.0->v0.10.0]

Release Notes:
OWA is now built using `golang:1.18.2`.

It is now possible to configure `maxTokenExpirationSeconds` for `openidconnect` resources. Setting this value will require that the tokens have the `iat` and `exp` claims. Tokens issued with validity greater than the set `maxTokenExpirationSeconds` will not be verified.

It is now possible the helm chart value `image.tag` to be sha256 digest.

/test pull-extension-shoot-oidc-service-e2e-kind

/test pull-extension-shoot-oidc-service-e2e-kind


Introduce a plugin type to manage Group state

The default Group plugin currently only has in-memory state for the Groups being watched.  Introduce a new plugin type that the Group plugin is configured with, which delegates state management.

What's the SPI for this?   Is this something that needs to be applied more broadly to other plugin types as well?   I was thinking an 'environment' plugin along these lines -- one that encapsulates state, plugin discovery and leader / non-leader into one common plugin that is run as a singleton per installation.

What's the SPI for this?

That's what i intended to sort out in the issue discussion :-)

Is this something that needs to be applied more broadly to other plugin types as well?

You mean state for other plugins?  I was planning to start small and focus on flexible primitives, but focus on wiring it only to the group plugin as that's the immediate need.

I was thinking an 'environment' plugin along these lines -- one that encapsulates state, plugin discovery and leader / non-leader into one common plugin that is run as a singleton per installation.

Those seem like distinct behaviors so my inclination was to introduce them as separate plugins.

Ok - I think it's reasonable to keep it simple and just focus on helping Group manage state.
Since the group plugin doesn't have a strict schema, I am thinking along the lines of simple POST/PUT/GET/DELETE by path (namespace) with the payload as a blob with a content-type (just to make it general).  This is pretty generic and can be easily backed by a variety of existing tooling - from local disk (the default) to kv stores or full-on document databases (eg. couchdb).
(Path, value) are nice since we can define namespaces for the plugins when there are many groups with different implementations.
However I think it'd be nice for the group to store its state in one atomic document / blob.  So while the state store supports (path, value), a given plugin instance in practice always CRUD with a fix key/path.  So maybe something (the "state" plugin) should assign the key and the plugin only needs to hand over a blob to persist or do a get to read.
On the Go side, I'd imagine something that does upsert / delete?   Deletion can be a funny thing and should warrant discussion.
Or do you have something more narrowly defined?

Or do you have something more narrowly defined?

I have nothing defined.  I tend to file issues before shaping the design, so what you see is what you get.

I am going to introduce a PR that has only a simple Golang API to save / load a blob of some sort.  This follows from the comment earlier  https://github.com/docker/infrakit/issues/244#issuecomment-254981859
So the API is even simpler than a key-value store in that it's not meant to be a general key/value store.  Rather, some entity will use this to persist a blob and the key / how to retrieve are implicit in the implementations.  For example - if we are storing something in a swarm as an annotation then it's up to the implementation to use a defined label rather than exposing the ability to set arbitrary labels.

Removing milestone v0.1.0 from this as there's more work to complete this work in a pluggable way (i.e. the manager Group implementation in #283  includes some state which could partially satisfy this issue).

Implemented in #282.  Available since v0.2.0.


Set the user agent in requests

In Terraform, we set the user agent here, which tags GCP requests as coming from Terraform. I haven't dug too deep, but my guess is that the Pulumi requests are probably still sending the Terraform string. Would be great if that could be looked into, and if that is the case, changed to a Pulumi one. Thanks!

haven't dug too deep, but my guess is that the Pulumi requests are probably still sending the Terraform string.

Yes - this is the case today - and it's something we'd love to fix. Ideally we would augment the user agent, since we want to both credit the fact that it's still the Terraform Google Provider being used, but also annotate that it's the pulumi CLI/engine driving the deployments.

Would be great if that could be looked into, and if that is the case, changed to a Pulumi one.

We've looked into this in the past, and haven't been able to come with a super clean approach.  With the current provider structure, we would need to maintain a permanent fork with this internal code changed.  We would love to not have to do that.  If these strings (or the key inputs to them) were package level vars that could be overriden with -ldflags "-X ...", we could easily configure.  Or if there were other ways to configure this user agent either at build/link time or at runtime.

Thanks for the quick response, @lukehoban!
Right now, the provider version is overridable via ldflags:

https://github.com/terraform-providers/terraform-provider-google/blob/master/google/config.go#L127
https://github.com/terraform-providers/terraform-provider-google/blob/master/version/version.go#L5
https://github.com/terraform-providers/terraform-provider-google/blob/master/GNUmakefile#L16

The TPG version is derivable from the pulumi version, right? If so, using the pulumi version there would make the full string something like Terraform/0.12.0 (+https://www.terraform.io) terraform-provider-google/pulumi-0.8.6, which is maybe more verbose than you'd like but would be something. We could also talk about a PR to TPG that made more portions of the user agent overridable in this way.

I just checked the current behavior, and it looks like we're setting the user agent like this now:
google-api-go-client/0.5 Pulumi/3.0 (GPN:Pulumi; https://www.pulumi.com) pulumi-gcp/v6.45.0,gzip(gfe)

This change was made in our fork here: https://github.com/pulumi/terraform-provider-google-beta/commit/419924e41547aff41e2f006e75f3da1d6e05982f


GH-1: Initial implementation (resolves #1).

See #1 for details.

This is not ready for review yet, just making it visible to give interested parties a chance to look at it.

I am still working on:

Tests for the port connector(s).
At least limited tests for the UI components.
More demos.
Markdown documentation for all core grades.

This is coming along, but as the conversation is getting longer, a quick summary.  In addition to whatever else Antranig and Colin would like to see addressed, I still need to complete:

The demos (I want to add a "MIDI pipes" demo).
The docs (I need to document the UI grades).

I also want to cut a dev release and try using it in another project.

Here's the error, which occurs while the portConnector's connection is being constructed.
TypeError: Cannot read properties of undefined (reading 'initModelTransactionId')
    at fluid.enlistModelComponent (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:122208)
    at fluid.establishModelRelay (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:146922)
    at fluid.expander.invokeFunc [as typeFunc] (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:116302)
    at fluid.expandImmediateImpl (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:113546)
    at fluid.expandImmediate (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:113301)
    at fluid.memberFromRecord (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:26913)
    at Array.strategy (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:28140)
    at fluid.model.traverseWithStrategy (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:117256)
    at fluid.model.accessImpl (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:139:15457)
    at fluid.model.accessWithStrategy (http://localhost:7357/node_modules/infusion/dist/infusion-all.js:148:118497)

Thanks, this is a framework bug which I've written up as https://issues.fluidproject.org/browse/FLUID-6741

@amb26, The tests are working again with an attempt at moving to 'create is ready' for key components.  This is ready for further review.

@amb26, I believe I've addressed all the comments in the latest review.  I left the non-working model relay in the multi port connector commented out for your review, other than that this is good to go as far as I can tell.

In addition to whatever concerns you have, we need to figure out why the modelRelay for editorString doesn't work intiially.

Cheers @duhrer this looks good to go! :1st_place_medal:

In testing this work downstream, I discovered a timing issue with sending messages before a component had fully initialised.  It's a problem that only shows up when running Infusion 4.5.0 in that package.  I updated this package to use 4.5.0, and the tests still pass.  My guess is it was a timing issue with one of my "lazy that-ist" functions that just passes that and then drills down into options from there.
I updated the relevant invoker to pass the required information using fully specified IoC references.  It works under Infusion 4.0.0 as well as 4.5.0, but I'd rather leave the required Infusion version for youme set to 4.5.0, as I want to guard against similar errors.

I'll defer to @amb26 about the fix for the timing issues. From my perspective, everything is looking super good on this now, and I'm excited to start using it.

I looked through the rest of the code base, there are a few lingering "lazy that-ist" patterns, all in the tests and all are working without issues.  There are none left in the core code.

LGTM. I think we can merge this and if there are any remaining design issues related to the that-ist pattern, we can address those under a separate ticket.


BUG: added version to init.py

This way folks can get the version number, like:
In [1]: import civismlext
In [2]: print(civismlext.__version__)
0.1.7

Closes #35

The Travis failure is unrelated. I'll make a patch.

PR open at #37 . Once that merges in here, I'll approve this PR.


⚠ Bofrost.fr has degraded performance

In 969ed3c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 802 ms

Resolved: Bofrost.fr performance has improved in 770b208 after 6 minutes.


NuGet package

Looking into tinkering around with this project a bit, any plans on release a nuget package? Also noticed the project doesn't have any CI testing with Azure DevOps or GitHub Actions.
Should I just use this as a submodule for now?

Hi and thanks for looking into TrippyGL!
I do have plans to release the project as a NuGet package, but I'm waiting to get some more things done before doing so (also, I've never released a NuGet package yet)
I don't have much experience with GitHub Actions nor Azure, if you'd like to help set some things up it'd be very much welcomed and greatly appreciated!

Since at this point every major feature has been implemented and everything appears to be working properly, NuGet packages are finally available!
Since TrippyGL is modularized, it's published as 5 different packages:
https://www.nuget.org/packages/TrippyGL/
https://www.nuget.org/packages/TrippyGL.ImageSharp/
https://www.nuget.org/packages/TrippyGL.Fonts/
https://www.nuget.org/packages/TrippyGL.Fonts.Extensions/
https://www.nuget.org/packages/TrippyGL.Fonts.Building/


UX GED update + BIMDataRadio refactoring

:tada: This PR is included in version 1.1.0-rc.10 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Version 5 uses #![feature(let_chains)] and will not compile on stable Rust

Releases 5.0.0 and 5.1.0 contain #![feature(let_chains)] and won't compile on stable Rust. Is this intentional, or a development branch experiment that leaked out? I don't see any use of let_chains, so it seems like it isn't necessary, and I don't see any mention in the README or crate documentation that the package is intentionally nightly-only.

Vouch for this +1

The unstable feature wasn't introduced intentionally. Thanks for fixing this!


[BrokenLinksH2] Fix path in link

Fixes #
Docs for Toolkit PR #
What changes to the docs does this PR provide?

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Correctly picked the right branch to base the change off (dev for new features, main for typos/improvements)
[ ] For new pages, used the provided template
[ ] For new features, added an entry in the Table of Contents
[ ] Ran against a spell and grammar checker
[ ] Contains NO breaking changes

Other information

Docs Build status updates of commit 8afaee8:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropGammaTransferBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSaturationBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSepiaBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendMode.xml
:white_check_mark:Succeeded
View

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropGammaTransferBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSaturationBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSepiaBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.Imaging.BitmapImage'.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 67e59d5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropGammaTransferBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSaturationBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSepiaBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendBrush.xml
:warning:Warning
View
Details

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendMode.xml
:white_check_mark:Succeeded
View

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropGammaTransferBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSaturationBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/BackdropSepiaBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.DependencyProperty'.

dotnet/xml/CommunityToolkit.WinUI.UI.Media/ImageBlendBrush.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.Imaging.BitmapImage'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Microsoft.UI.Xaml.Media.Stretch'.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update manual testing

Codecov Report

Merging #293 (3723e67) into master (3c86e02) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #293   +/-   ##
=========================================
  Coverage     75.02%   75.02%
  Complexity      696      696
=========================================
  Files           110      110
  Lines          2102     2102
  Branches        250      250
=========================================
  Hits           1577     1577
  Misses          435      435
  Partials         90       90

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 3c86e02...3723e67. Read the comment docs.


Char-RNN sample

When you try to generate a new sample based on a model it fails.
But if you change line 146
x = np.array([[ds.lut.get_idx(c)]], dtype='int32')
to
x = np.array([[ds.chars.index(c)]], dtype='int32')
And line 158
x = np.array([[ds.lut.get_idx(c)]], dtype='int32')
to
c = ds.chars[pick(prob[0])]
It is the same as you wanted in yout initial version?

Thanks for reporting!


APIM is deployed in internal mode as part of challenge 01

error. Didn't read this criteria is only for scenario 2


Brew doesn't register Brew installed gcc-6 as supporting C++11

[✓] Ran brew update and retried your prior step?
[✕] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[-] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Firstly, I'm aware that I'm running OS X Lion, so if this doesn't get priority, I understand. Having said that, this looks like it would be an issue across the board for later OS X installs trying to build with Brew installed gcc as well.
I've tried installing the v8 formula, and it goes a bit like this:
$ brew install v8
Warning: You are using OS X 10.7.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Error: v8 cannot be built with any available compilers.
To install this formula, you may need to:
  brew install gcc

Fair enough, I'll do that:
$ brew install gcc
Warning: You are using OS X 10.7.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl
==> Installing gcc dependency: gmp

...

==> Caveats
GCC has been built with multilib support. Notably, OpenMP may not work:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
If you need OpenMP support you may want to
  brew reinstall gcc --without-multilib
==> Summary
🍺  /usr/local/Cellar/gcc/6.1.0: 1,434 files, 282M, built in 95 minutes 39 seconds

and then:
$ brew install v8
Warning: You are using OS X 10.7.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
==> Downloading https://github.com/v8/v8-git-mirror/archive/5.1.281.47.tar.gz
==> Downloading from https://codeload.github.com/v8/v8/tar.gz/5.1.281.47
######################################################################## 100.0%
Error: The selected compiler doesn't support C++11: gcc-6

With the following changes to my Brew install:
$ git -C /usr/local diff
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index 87eebb7..0bdfd38 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -287,7 +287,7 @@ module Stdenv
     if compiler == :clang
       append "CXX", "-std=c++11"
       append "CXX", "-stdlib=libc++"
-    elsif compiler =~ /gcc-(4\.(8|9)|5)/
+    elsif compiler =~ /gcc-(4\.(8|9)|5|6)/
       append "CXX", "-std=c++11"
     else
       raise "The selected compiler doesn't support C++11: #{compiler}"
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 7f335ac..a04b9d4 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -307,7 +307,7 @@ module Superenv
     when "clang"
       append "HOMEBREW_CCCFG", "x", ""
       append "HOMEBREW_CCCFG", "g", ""
-    when /gcc-(4\.(8|9)|5)/
+    when /gcc-(4\.(8|9)|5|6)/
       append "HOMEBREW_CCCFG", "x", ""
     else
       raise "The selected compiler doesn't support C++11: #{homebrew_cc}"

And right now installing v8 is progressing (currently downloading deps).

This is an actual bug and an oversight on our part in #163. Thanks for catching and reporting it!

With the following changes to my Brew install:

Since you already have a good solution, would you mind submitting it as a pull request, referencing this issue and PR #163 for context? I'd be happy to give you commit credit for finding and fixing this. Thanks!


AttributeError: 'StandardScaler' object has no attribute 'mean_'

File "preprocess.py", line 15, in
preprocessor.build_from_path()
File "/user/twx1046597/FastSpeech2-master/preprocessor/preprocessor.py", line 108, in build_from_path
pitch_mean = pitch_scaler.mean_[0]
AttributeError: 'StandardScaler' object has no attribute 'mean_'
how to do ?

I have the same problem...
!pip3 list
...
scikit-image                  0.16.2
scikit-learn                  0.23.2
...

File "preprocess.py", line 15, in
preprocessor.build_from_path()
File "/user/twx1046597/FastSpeech2-master/preprocessor/preprocessor.py", line 108, in build_from_path
pitch_mean = pitch_scaler.mean_[0]
AttributeError: 'StandardScaler' object has no attribute 'mean_'
how to do ?

I had the same error yesterday, there are 2 things you can try:
check sklearn, scikit-learn version
check TextGrid file's path. Print tg_path in line 77 of preprocessor.py and make sure its correct.

@EuphoriaCelestial thanks a lot! closed #61