[Enhancement] remove sensitive info from create repo audit

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/starrocks/issues/13324
Problem Summary(Required) ：

This PR removes sensitive key words from audit log of create repo stmt. The new output would be like
2022-11-15 20:45:32,777 [query]<EMAIL_ADDRESS>REPOSITORY `hdfs_repo` WITH BROKER `hdfs_broker` ON LOCATION "hdfs://hadoop-name-node:54310/path/to/repo/" PROPERTIES ( "username" = "user", "password" = "***" )|

in which the sensitive key words would be replaced by ***.
Now, the sensitive key words include the following:
password
kerberos_keytab_content
bos_secret_accesskey
fs.s3a.access.key
fs.s3a.secret.key
fs.oss.accessKeyId
fs.oss.accessKeySecret
fs.cosn.userinfo.secretId
fs.cosn.userinfo.secretKey
property.sasl.password

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)
[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 8 / 9 (88.89%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/ast/CreateRepositoryStmt.java
0
1
00.00%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
8
8
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 8 / 9 (88.89%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/ast/CreateRepositoryStmt.java
0
1
00.00%
[73]

:large_blue_circle:
com/starrocks/sql/analyzer/AstToStringBuilder.java
8
8
100.00%
[]

run starrocks_admit_test

starrocks_admit_test

starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


[Doc] Add Pull Request Process section to contributing.md

After #16 is merged, it would be great to address the TODO to add the Pull Request Process. Since this is after the Development section that should describe the process for forking the repo, cloning it locally - we this section should probably include information about how to create a pull request and what to expect. For example: use the pull request template, # of reviewers required (maybe some reasoning behind that).
Tasks

add documentation in the TODO under the Pull Request Process header

I will take this one.


New version: NonlinearEigenproblems v0.3.0

Registering package: NonlinearEigenproblems
Repository: https://github.com/nep-pack/NonlinearEigenproblems.jl
Created by: @jarlebring
Version: v0.3.0
Commit: 64ce534c868498c3a643dec1b2ef643f9f390972
Reviewed by: @jarlebring
Reference: https://github.com/nep-pack/NonlinearEigenproblems.jl/issues/195#issuecomment-531697353

Please add (at least)
[compat]
julia = "1"

to your project file and retrigger the bot.

Done. :+1:


Fixed panic in pbr example

Objective

Fixes #16959
The pbr.rs example in the 3d section panicked because of the changes in #16638, that was not supposed to happen

Solution

For now it's sufficient to introduce a never_param_warn call when adding the fallible system into the app

Testing

Tested on my machine via cargo r --example pbr, it built and ran successfully

Thanks, this fixes the panic for me.


⚠ Bofrost.at has degraded performance

In bc999b6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1100 ms

Resolved: Bofrost.at performance has improved in 8462f9e after 7 minutes.


Add category index to colors function

Currently the colors function has available seriesIndex, dataPointIndex, and value (from https://apexcharts.com/docs/options/colors/ and some console logging) - could you add categoryIndex as well?
This would help color stacked bar charts different colors depending on what you are showing...

Still a valid request 😊

Still a valid request

Still a valid request

Still a valid request

(sigh) still valid...

still valid

Hi,
This feature can be really useful

still needed please

still needed

🙏

That's a great solution thanks @junedchhipa


Cincinnati, OH

DUE TO HIGH VOLUME EMPTY ISSUES WILL BE IMMEDIATELY CLOSED. PLEASE PROVIDE ALL INFORMATION. THANK YOU!!!! :^)
******* A subject message for the email
******* A list of emails (at least one) for the government officials you’d like to receive the message
******* A detailed message concerning the budgeting decisions that are at stake in your community
See our current links for examples at https://defund12.org.
Thank you!!

Please add Cincinnati, OH

Unfortunately this request does not meet our base criteria so we will have to close it. Please submit a new request with the following information and we will process it:

A subject message for the email
A list of emails (at least one) for the government officials you’d like to receive the message
A detailed message concerning the budgeting decisions that are at stake in your community

See our current links for examples at https://defund12.org.
Thank you!


goobi update + DB re-import to hopefully increase performance (on-premis)

winnipeg has been updated with the latest version


chore: prep release 0.8.3

Is there some information about when 0.8.3 will be released?

Hi, we are having some internal technical issues related to the release pipeline. We are working on it. Thank you.

Hi @DeividasBakanas, we released 0.8.3 now https://www.npmjs.com/package/@azure/static-web-apps-cli. Cheers :)


[CO-336] Implement redemption endpoints

Description
This PR implements a legacy variant of the redemption internal endpoints.
Linked issue
https://iohk.myjetbrains.com/youtrack/issue/CO-336
Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

YT comments about the endpoint shape and location. This code could be located with other account handlers / endpoints imo.

@akegalj ah, fantastic, thanks! That's the info I needed to do the tests :smile:

@KtorZ alright, I've newtyped the other mnemonic. Feel free to merge overnight if you think it's ready.

@KtorZ I am going to merge this once CI finishes. If you want me to change anything else, I can address that in a future PR :smile:

:+1:
Only remark: we could remove all those commented out lines in favor of a small note with a commit hash ^.^


title-tpl not working with the angular translate filter

Hello I'm using the angular translate package and I'm trying to set the title for my select like so:
title-tpl="<span>{{ 'general.SelectPartner' | translate }}</span>"
And it doesn't work the span gets generated but the key is not translated, please reply I convinced my colleagues to use your plugin all over our site due to it's wealth of features and lack of bugs, but internationalisation is a key feature for us and reading some of the comments here on github I'd thought it was possible with title-tpl.

But I tried and it works
http://plnkr.co/edit/xsCc8rpvDItUG0SPoMyp?p=preview

@lordfriend
True, then I'm a little stumped maybe I'm not using the most up to-date version of the plugin (I installed it with bower) ?

This feature has not been changed for a long time. I don't think the version matters.

@lordfriend  When for example I try to use the translate service in my options it works but no matter what I do it doesn't want to work for title-tpl.
Do you have any ideea on what might cause this behaviour ?

Sorry, I have no idea..

I've updated every bower dependency in the project and it happened to solve this issue, clearly I had some bad weird/dependencies locally and they caused the problem.


When is 0.9.3 version of influxdb going to be released?

Hi,
Would like to when would be next release for 0.9.3.
Thanks and Regards

@chaithrar 0.9.3 should be released this friday.

@chaithrar This is neither a feature request nor a bug. Please ask questions like this on the mailing list rather than opening a GitHub Issue.


Lolita::RestController extend problem

automaticly add neccessary methods or set env mapping

Issue remain, because that is neccessary functionality for now


Adding support for splat entries in parameter indices.

Parameters can now either be backed by a file or a splat pattern. Splat parameters are read-only as no storage is reserved for them. This PR adds the handling of different entry types and allows parameter index users to declare them but does not yet add support for producing these via in-tree tools.
Progress on #14987.

thanks for taking a look!
This is the first part of the work for splats which allows a programmatically constructed parameter index to have parameters declared as splats. The follow-on will have our own format that has support for splats in it. We can also support splats in other formats via a few ways, but the easiest is probably to use the metadata support in the formats to have our parsers make the switch. safetensors and gguf for example can have arbitrary string metadata on each entry so we could produce a gguf file with parameters that have the entry "iree.parameter.splat" or something. It'll be easier just to use our format, though, so I haven't bothered.
I have thought about a little trick to getting metadata in numpy npy files so that we could use npy files as parameters but haven't implemented it yet; something like:
import numpy
from numpy.lib import format
array = numpy.array([[0, 1], [2, 3]], dtype=numpy.int32)
with open("file.npy", "wb") as f:
  # this is what numpy.save does, just with the ability for us to add stuff to the metadata dict
  d = format.header_data_from_array_1_0(array)
  d["name"] = "my_parameter_name"
  format.write_array_header_2_0(f, d)
  array.tofile(f)

which lets us write arbitrary stuff to the files we can parse at runtime when building the parameter index:

We could then also throw in d["splat"] = True and such to have our extra features at the cost of a helper function to save things somewhere.
Hmm that's really not bad, maybe I'll implement the numpy parser (we have numpy support but it's not possible to share it yet and I'll just copy the reader code).


C API for Face Recognition

This PR will provide a C API for Recognition following the specification defined in D2.1.
Status:

[x] ONNX inference in C for face recognition
[x] Database building and feature matching for face recognition
[x] Documentation for C API, Installation and compilation instructions

The API is located under the projects directory to avoid polluting root src with C code. However, it can be easily moved to the most appropriate location if needed.
Significant speedup can be obtained using the C API (CPU inference):

Mode
FPS

Python API (PyTorch backend)
5 FPS

Python API (ONNX backend)
13 FPS

C API (ONNX backend)
29 FPS

On Ubuntu 20.04 I'm currently getting this error:
Downloading resources for C API...
mv: cannot move 'opendrdata.csd.auth.gr/perception/face_recognition/test_data/images' to 'data/database/images': Directory not empty

Makefile has been updated to avoid this issue (usually happens when a download is interrupted).

Thanks for the useful comments and suggestions! I think I resolved all of them.

But I would not put the C API in the projects folder but rather create a dedicated folder in the src for sources and in include (https://github.com/tasostefas/opendr_internal/tree/master/include) for headers and the tests should be part of the tests folder run by the CI.
However, it is fine to keep the projects/c_api/samples folder as is.

I have moved source code of the C API into src/c_api, the header files into include and tests into tests/sources/c_api. I kept projects/c_api/samples folder as is. I also updated the tests into order to run automatically using GitHub actions using check.

We should also reduce the logs printed by the Makefile when installing the dependencies and cloning.

I reduced the verbosity of installation, cloning and compilation of third-party utilities.

By the way, everytime I type make libopendr the dependencies are reinstalled and the repositories and resources are downloade. This should be avoided and actions should only be executed when required and when something changed.

Makefile has been updated to avoid recompiling a target when it already exists. Also, installation has been moved into install_compilation_dependencies, while separate makefiles are used for the main dynamic library, tests and projects.

I will also add style checks for C/C++ that are currently missing.

I checked using cppcheck and I updated the code in order to pass the tests. However, I think it would be better to first merge #113 and then this one to make sure that tests pass on CI.

This PR is ready for re-review. However, cppcheck reports "cppcheck: error: could not find or open any of the paths given.". @stefaniapedrazzi should we ignore this?

Yes, it is ok!

I just fixed the cppcheck test and updated the C folder path.
Now that it is testing the correct directories there are some errors to fix.

I'm having issues compiling onnxruntime on my local machine.
But do we really need to compile it from sources, or would be possible to download the compiled package from the onnxruntime repository?

I end up compiling ONNX, since I wasn't able to find any pre-compiled libraries for ONNX (for C/C++). They provide pre-compiled python packages, but I am not sure that they include all the functionality that we need to interface ONNX from other languages. Are there such libraries available on their repo? If there are such packages ready, I will update the PR and I fully agree that we should use them, since compilation takes some time and it is quite fragile process.
Regarding the errors, are using Ubuntu 20.04? I opted for v.1.6.0 ONNX since this was the latest version that was compiling with the already available build tools on 20.04 (the most recent ones required further changes). This version will most probably not work on earlier versions of Ubuntu.

Here it seems that there are precompiled packages.
But I might be wrong and I didn't checked in detail if all the required packages for the C API are included.
https://github.com/microsoft/onnxruntime/releases/tag/v1.6.0
GPU package: https://github.com/microsoft/onnxruntime/releases/download/v1.6.0/onnxruntime-linux-x64-gpu-1.6.0.tgz

Regarding the errors, are using Ubuntu 20.04? I opted for v.1.6.0 ONNX since this was the latest version that was compiling with the already available build tools on 20.04 (the most recent ones required further changes). This version will most probably not work on earlier versions of Ubuntu.

Yes, I'm using Ubuntu 20.04.
I will try on a different Ubuntu 20.04 machine just to check.
However given that it works fine on the CI machine it seems fine.

Here it seems that there are precompiled packages.
But I might be wrong and I didn't checked in detail if all the required packages for the C API are included.
https://github.com/microsoft/onnxruntime/releases/tag/v1.6.0
GPU package: https://github.com/microsoft/onnxruntime/releases/download/v1.6.0/onnxruntime-linux-x64-gpu-1.6.0.tgz

I am not sure how I managed to miss these... :flushed:  :smile:  I will check, but they seem just fine. I will update the PR to use these.

I have updated the script to install the pre-compiled versions. Now it is much much faster and it seems to work correctly!


Check scheduler queue return value.

Scope & Purpose
(Can you describe what functional change your PR is trying to effect?)

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)

Enterprise PR: https://github.com/arangodb/enterprise/pull/286
Testing & Verification
Jenkins: http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/5685/

The code now contains several similar up-to-300-times attempt loops which are highly redundant and make it difficult to centrally change the timeout if required.
I suggest we do the following instead:
We write one generic loop, which has the 300 as some default parameter. Current callers shouldn't set it, so we have the same number of attempts everywhere and can change it easily if required.
That loop should try to queue or queueDelay, and return the result on success.
If function is unsuccessful with enqueuing, it should centralize write a generic log message (probably augumented with a char const* from the call site providing more details about the type of item that couldn't be enqueued) and return failure.
It is then up to the call site to handle the failure. The call site can either

abort the program (FATAL_ERROR_EXIT)
throw an exception
return whatever error code
and also perform some cleanup if required.

This should result in much more generic and compact code. We can even put such helper methods into the Scheduler, which is known by all call sites anyway.
WDYT?

@jsteemann Yes, that would have been the intelligent thing to do. I did not get enough sleep/caffeine yesterday, it seems. I'll DRY it out.

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/5741/


Return error on pid-file release failure

@sevlyar Could you please take a look

@sevlyar ping :)


revisions

change step 7 to Azure Databricks URL
step 7 provide and example
https:/adb-5149555543910535.15/api/2.0/preview/scim

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

ID: 8f6960e6-1a0c-267f-4ec4-2ff7574b1f09
Version Independent ID: b08f7ae9-2b9a-c629-74e8-71a403543b97
Content: Configure SCIM provisioning for Microsoft Azure Active Directory - Azure Databricks - Workspace
Content Source: databricks/administration-guide/users-groups/scim/aad.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@hindocha85 We are checking this and we will get back to you.

A Databricks tech writer will check the UI to see if indeed the field is labeled Azure Databricks URL rather than Tenant URL. This is logged as internal Databricks DOC Jira ticket 2717.

Thanks for the report. The next time the documentation is deployed, step 7 will be updated to:
"Enter the SCIM API endpoint URL. Append /api/2.0/preview/scim to your workspace URL."

Thanks. Do I get a contributor mention?
On Fri, Jun 25, 2021 at 16:10 Matt Linville @.***>
wrote:

Thanks for the report. The next time the documentation is deployed, step 7
will be updated to:
"Enter the SCIM API endpoint URL. Append /api/2.0/preview/scim to your
workspace URL."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/67264#issuecomment-868835264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYXPEQKCLV272NS6XULNQTTUTWFTANCNFSM4UQ2LVFA
.

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close

#please-close


Please add me as a member of the redhat-cop organization

I would like to become a general contributor to the Red Hat Communities of Practice GitHub Organization

Review request:
cc: @redhat-cop/container-cop-core

/assign @pabrahamsson


Support exp init command

It would be nice to support https://dvc.org/doc/command-reference/exp/init as part of the extension commands.
The command is useful for bootstrapping projects and only requires git init and dvc init which, as far as I have tested, are also the minimum requirements for the extension to load correctly.
Perhaps it could be added as an optional step of the Setup the Workspace workflow

We do have this button available when the CLI is accessible but there is no DVC project in the workspace:

Which was inspired by the Source Control welcome view:

The button currently runs dvc init. Would moving this to dvc exp init be enough? Should we show both options? WDYT?

I think this a bigger story and can be one the main priorities for Q3. How do we improve the onboarding experience? It can be a wizard (quick pick or a separate webview even), can be some auto capturing of command people run to generate dvc.yaml, improving remotes handling / data codification part, etc.

Relates to #1531

Closing this in favor of the future changes to the dvclive and onboarding experience.


[hi] Add Hindi glossary entry for "master"

Add Hindi glossary entry for "master"
Description
#Fixes Localizes content/en/docs/reference/glossary/master.md to Hindi content/hi/docs/reference/glossary/master.md

@niranjandarshann @utkarsh-singh1 Can you review once, have made necessary changes as per your suggestions,  Thanks!!

@divya-mohan0209 Can you review once and let me know if any more changes needed!! Thanks


Allow extending the bocage with a custom node type

Downstream libraries, most importantly Panini, should be able to declare their own node types. It is yet unclear whether this will help reduce memory use.
Looking to the other side of the tradeoff, this addition would increase parameterization in places where code already is heavily parameterized.

The code is no longer heavily parameterized after my changes.


✨ Fix #16: Adds command line argument -p to print the local emoji cache path.

Fix #16

Sorry for the inconvenience, you're right. It was due to a confusion on my local. I assumed I force pushed the changes but I did not see the effects on the PR changes.

Review please :)


Patched 🐛 Improper Neutralization of Special Elements used in a Command in Shell-quote

Description:
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
CVE-2021-42740
9.8 / 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
on shell-quote in /react-native/yarn.lock.

@imhunterand thanks for the PR, we really appreciate it. Can you sign off on your commits so DCO would pass.

Hi! @danielakhterov I have completed this.
Signed-off-by: Andri Hu Developer<EMAIL_ADDRESS>

Heh, the signoff must be part of the commit :P git commit -S -s --amend && git push --force-with-lease should do the trick

Going to merge even though DCO wasn't passed because signoff was technically done, and pushing this PR for later is imo unreasonable for such a small change.

Hi! Thank you for your respond, could you mark my reports as Resolved in hackerone please?
now the refferences : https://hackerone.com/reports/1683883
Best regards,
@imhunterand


Trellis Plot: Enhancements

[x] Add a column filter to the properties for column selection. X and Y axes accept categorical columns only, however, in the context panel we currently see all column types.
[x] Hide the "Viewer Type" property from the context panel (users can switch it via the dropdown in the chart itself)
[ ] Check that the filtered-out data is rendered in Trellis after filters reset (in some cases, it appers to be missing)
[x] Add the ability to resize a legend for Trellis
[ ] Adjust labels apprearance on the Y axis. Labels aren’t fitting, even if we change the label orientation
[x] When inner viewer type is bar chart, show labels inside the bars to save some space

There are a few additional tasks:

[ ] Adjust labels apprearance on the Y axis. Use ellipsis for long names (labels are currently overflowing)
[ ] Add ShowBorders property (when enabled, makes the inner viewer borders visible)
[ ] Inner viewer axes: categories should be shown just once on the left (do not show on every inner plot)

[ ] extract global scales for all viewers
[ ]  add the ability to visualize just one category

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14586

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16122


Confusing type spec in @BatchMapping

The type of the source collection is List:
    @BatchMapping
    public Mono<Map<Book, Author>> author(List<Book> books) {
        // ...
    }

The reality (and the Tip in https://docs.spring.io/spring-graphql/docs/current/reference/html/#controllers.batch-mapping) suggests that books are actually preprocessed by a distinct operator. It would be more descriptive if the collection type expressed this as well, e.g. use Set.

The underlying org.dataloader.BatchLoader contract that we implement takes a List as an argument, so that's what we are adapting from. For an @BatchMapping method, depending on the target method argument type, we do support other collections via CollectionFactory#createCollection, but it does mean re-creating the collection, and so passing the List as is is the path of least resistence.
I don't know if there is a good reason for BatchLoader to use List. You could ask on https://github.com/graphql-java/java-dataloader.
I'm closing for now, but let us know if you find out anything more. We could make a documentation update if needed.


sync-gentoo-glsa: add amend mode, detect metadata/glsa

Add amend mode that updates the commit message to use the new used hash sum of the commit. (by @krnowak )
Detect metadata/glsa to sync only the metadata/glsa directory. It is needed for a montly Github Actions for syncing GLSA metadata.

I have used the amend mode on my own plently of times, so I think it's good to go in. Adding support for syncing metadata/glsa sounds good.


MonitoredTrainingSession to have accessible summary writer.

Tensorflow version: 1.2.1
I am using MonitoredTrainingSession extensively to train models, and for the most part does exactly what I want it to do. However, I would like to be able to extract (or pass in) a FileWriter object so I can report other summaries from inside my evaluation routines. This is because only one FileWriter can write to the events log:
At the moment, this is the best workaround I can do:
sess = tf.train.MonitoredTrainingSession(
       ...
    )

# HACK: this is so we use the same summary writer obj for both summaries, only way to do it.
summary_writer = sess._hooks[1]._summary_writer

Then I can use the summary_writer to manually report summaries in the evaluation part of my code:
mean_test_loss = ...
summary = tf.Summary(value=[
    tf.Summary.Value(tag='mean_test_loss', simple_value=mean_test_loss)
])
summary_writer.add_summary(summary, current_step)

It would be nice to have a non-hacky way to get the summary_writer from the session so only one FileWriter writes to the events file.
One thought I had is to have a FileWriter object as part of the Scaffold that is used to build the session. That way anyone can get hold of the scaffold and use the one summary_writer designated to write to the events log.
I would be happy to help implementing this if other people are interested.

You can use SummaryWriterCache. (from tensorflow.python.training.summary_io import SummaryWriterCache).
This is what the the basic session hooks use.

It sounds fine for me, and the workaround is make sense. What is the progress of the implementation? If you want, I can send a PR to implement the feature. It's good if you would like do me a favor.

@vierja  Could you give example? I have a problem adding summary operation with MonitoredTrainingSession.

@spk921 Here's how I did it:
sess = tf.train.MonitoredTrainingSession(master=self.server.target, is_chief=(self.wid == 0),
                                         checkpoint_dir=SUMMARY_DIR,
                                         save_summaries_steps=None, save_summaries_secs=None, hooks=hooks)

writer = SummaryWriterCache.get(SUMMARY_DIR)

where SUMMARY_DIR is the path to your summary directory

@Anjum48 Could you add link to the origin code?

@spk921 Here's a link to a working version of DeepMind's DPPO algorithm using the above code https://github.com/Anjum48/rl-examples/blob/master/dppo/dppo.py#L283

Closing this issue since there is a working solution


RMSE is negative

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog):  latest main
Visual Studio Version

Issue is done. Closing


More icons in icon font?

I noticed that the icon font only contains two icons. The arrow down and checkmark icon. Is it planned to have more than this two icons in the future?
For the widget I'm currently working on, I would like to have the clear icon. As I can see, the font was created with Fontello. I assume the arrow down and checkmark icon are from Font Awesome, am I right?
Fontello provides an im- and export of a config file. This could be helpfull for contributors to add the icons, they would like to have, to the font, without the need to configure everything again.
How were the values '\u{E800}' for the arrow down icon, and '\u{F00C}' for the checkbox icon determined?

The built-in icon font is meant to provide icons for the built-in widgets.
If you want to use additional icons, you can always use your own custom font with the Font enum.

I'm currently experimenting with a Tabs widget. While it is indeed using custom icon fonts for showing icons on the tabs, there is one icon, for closing a tab, that I would like to have build-in, when the widget could become a build-in widget (This depends on your choice :) ). That's why I was asking.
I will talk more about this in the upcomming days.

@Kaiden42
I'm assuming that you got this one figured out by now :). Do you think you could close this?


[No JIRA] Replacing hardcoded node values with variables

The number of nodes and the machine type used was hardcoded to the cluster.tf file the eks dir.
This PR replaces those values with variables so the user may tune the cluster specs to their needs from the tfvars file. defaults have been set which match our existing hardcoded values.

You based this off of your documentation branch it seems. Can you remove the documentation changes from the PR? It would make for a cleaner history. Thank you :)

You based this off of your documentation branch it seems. Can you remove the documentation changes from the PR? It would make for a cleaner history. Thank you :)

good call out. imma fix


Service "Azure Disk Storage" missing for Block storage

[Enter feedback here]
The equivalent service for "AWS EBS", I believe, should be "Azure Disk Storage", however the page says "Azure Blob Storage" (which is an object store). In case if I am wrong, kindly help me understand what point am I missing  ?
Regards,
Pratik Mehta

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

ID: 30d02f16-9621-d204-4132-8ce8db79b0af
Version Independent ID: 65b4385b-79f0-d842-d4a1-5d013615f9b1
Content: AWS to Azure services comparison - Azure Architecture Center
Content Source: docs/aws-professional/services.md
Service: architecture-center
Sub-service: cloud-fundamentals
GitHub Login: @martinekuan
Microsoft Alias: yuanzhiqu

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

Thank you for your feedback.  We have created internal ticket 196622 to track and investigate this issue.

#please-close


Public Cloud: Change table format

GitHub repo: https://github.com/canonical/ubuntu-cloud-docs
The tables on this page consists of two columns each ('Kind', URN'). Convert them into 3 columns each with titles: 'Architecture', 'Hyper-V Generation' and 'URN'.

Happy to try this as my first issue here, I can get this done within a day from assignment

Hello @krzysiekwie! Thanks, please go ahead and try it. I've assigned it to you.

Hi @k-dimple I added the basic edit in https://github.com/canonical/ubuntu-cloud-docs/pull/206
(don't think I can use fixes #51 directly on ubuntu-cloud-docs).
Also I'm not sure if the first two columns should get cenetered. Github and my local rst preview does not render centering. I tried the three formats from:
https://github.com/krzysiekwie/ubuntu-cloud-docs/blob/change-formatting/doc-cheat-sheet-myst.md
in
https://github.com/krzysiekwie/ubuntu-cloud-docs/blob/change-formatting/azure/azure-how-to/instances/find-ubuntu-images.rst
Let me know what you think.

Hi @krzysiekwie, adding the edit directly in the repo is perfectly fine. I have put in a comment there.
Regarding the centring, I don't think we need to centre the first two columns. It looks better left-aligned.
Using ":align: center" works for the whole table. Currently, I don't think there's an option to centre only certain columns using list-tables.


Small typos

Hey, I just spotted some small typos while reading your tutorial. Cheers

Thanks @Brilator!


Compare Ray cloud scaling vs Enzyme approach

Ray has some naive approach for scaling in the cloud. Need to compare with Enzyme approach/functionality.

Technical solutions
Ray   autoscaler (by default)
Enzyme

Incoming traffic
To any   node using the ssh protocol on port 22.   (see   _configure_security_group)
Only to the head   node by any protocol.   (see aws_security_group)

Outgoing   traffic
Not regulated.   Everything is   allowed.
Only from the head   node according to any protocol.    (see aws_security_group)

Interaction   with cloud providers
Used next SDKs: boto3, googleapiclient …
Used next tools:       terraform, packer

Subnet   creation
Only   by hand.   (see   _configure_subnet)
Automatically.   (see aws_subnet)

Public IP
Subnet   dependent. If the option to automatically assign public IP addresses (when   creating a subnet) is enabled, then public IPs are assigned to every node.   Otherwise, only private ones are   assigned.   (see   _configure_subnet)
The public   address is assigned only to the head node.

Cluster size
Dynamic.   (see   target_utilization_fraction)
Static

Configuration file   format
toml/yml
json

SPOT instances
Used   for worker nodes
Not used

Socks Proxy
Not   supported
Supported only by   Packer

Credentials
Defined   via environment variables
Defined via   credential file

Cluster creation
The   head node is created from the local desktop.   Worker nodes are   created from head node.
Head and worker   nodes are created from the local desktop

Auto cluster   remove
Supported
Not supported

The table was added into internal wiki page. (modin channel)


Leave the picker by using ESC or clicking outside

Like Facebook, or Twitter

Like Facebook, or Twitter

Closed by 573e76fbafe0d1891e6034bb81ec8333685fa39f


Replace uses of getBaseType with getNamedType

getBaseType in @graphback/core does the same thing as getNamedType
We should use getNamedType from the official reference implementation library and remove getBaseType.

Can I work on this?

Can I work on this?

Absolutely!

I have made a preliminary PR. Do I need to make any other changes?


Inf. Zonai Device Duration seems makes rocks durable as well.

For some reason after applying the inf. Zonai Device Druation cheat I can't seem to break stones with tools. I tested to make sure it was this mod causing it and after removing this one the rocks were breakable again. Can blow up rocks with bombs still.

Emulator?

yuzu

Emulator?

I'm using Yuzu and have the 1.1.1 patch installed.
Additionally the "spiderman" cheat doesn't seem to be working.

I'm having this same issue, I thought I was doing something wrong lmao

For some reason after applying the inf. Zonai Device Druation cheat I can't seem to break stones with tools. I tested to make sure it was this mod causing it and after removing this one the rocks were breakable again. Can blow up rocks with bombs still.

I've just been using bombs till this is fixed lol

Test and let me know

https://github.com/bad1dea/NXCheats/assets/10354814/9f83ff41-a569-4dd8-b2f6-d13c9e352c44
These rocks?

It was all rocks as well as ore nodes/crates/boxes, any other "breakable" item. Except I think zonite ore for some reason.


Add additional generic types to DataFrame methods

Adding generic types to a few more methods beyond what was added in #293
Focusing mostly on adding identity types to methods which I believe don’t change the original type of the dataframe. I added “identity” type signatures to the following methods:

extend, fillNull, filter, interpolate, limit, max, mean, median, min, quantile, rechunk, shiftAndFill, shrinkToFit, slice, sort, std, sum, tail, unique, var, vstack, where, upsample

These previously returned DataFrame<any>, even when called on a well-typed DataFrame, but now return DataFrame<T> (the original type)

I also added better types for a few slightly more complex ones:

map

improved return type based on the function passed, but unimproved parameter type

nullCount
toRecords
toSeries

for now, returning a broad union type, rather than identifying the specific column by index

withColumn

cc @scarf005

will work on test failures

Have now addressed the previous test failures


chore: bdd-nh-1578703361 to 0.0.1

chore: Promote bdd-nh-1578703361 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


@pluralsight/ps-design-system-errors: default import error (solved)

Bug
Component throws error if imported as default
Expected behavior
Copy and paste PSDS snippet and work after installation
Actual behavior
Import fails, here's the issue in the code sandbox that's link on PSDS page:

Steps to repro

Import default, use component

Fix:
(Incorrect) Default import: import ForbiddenErrorPage from '@pluralsight/ps-design-system-errors'
(Correct) Destructure import: import { ForbiddenErrorPage } from '@pluralsight/ps-design-system-errors'
I figured I would open this if you wanted to fix the snippet. 🙇

@dhuddell , thanks for the tip.  This is great.  Yes, we will fix soon.  PR in progress.  Thank you.

Confirmed shipped and fixed https://design-system.pluralsight.com/components/errors/#403-forbidden


feature: Support for slide notes

Seems like slide notes are not supported and there has been no corresponding issue.

Just found python-pptx and was pretty happy to find it solved the first part of what I needed: a way to get the text from the slides in a presentation. I need the slide notes too though so just dropping a note here to reinforce this is needed.

Can we access PPT Slide Notes from Python Script?

I've been accessing the notes slides in an application I have. I just haven't had time to come up with a method of doing this which would work well as a contribution.
Check out this gist: https://gist.github.com/3205bf5aab78623c5ee5.git
You'll need to be using a recent version of python-pptx (0.5.6 or later). Basically, I'm wrapping a slide object from the presentation. Then I can access the notes using that wrapped slide object.
I'd like to get this integrated if possible. But there are a lot of missing features and probably wouldn't work as expected. Let me know your mileage though. Maybe we can get this to a working state.

Hey. Thanks for your response.
What I am trying to do is to retrieve some specific fields from the Notes of ppt slide using python.
I have gone through the link you specified but I am just wondering how to use those functions for my task. Could you give me some input regarding this.

Once you have the notes_slide object, you can iterate through the shapes like any other object
slide = self.presentation.slides[1]
notes_slide = SlideWrapper(slide).notes_page()

for shape in notes_slide.shapes.__iter__():
    if shape.has_text_frame:
        for p in shape.text_frame.paragraphs:
            for run in p.runs:
                yield extract_fields_from_run(run)

One thing I've noticed about the notes slides is that the runs aren't necessarily contiguous pieces of text. Even if the formatting doesn't change, you may have a specific piece of text broken over several runs. So
Field 1, Field 2, Field 3, Field 4
Maybe be broken up into 2 or 3 runs without you knowing. For my particular task I ended up writing a parser that had to keep a state so I knew when I was done reading data. Then I iterated through all the paragraphs and runs until I had what I needed.
Does that help any?

Hi.. I am facing Compilation Errors for the below two lines like unsolved reference
from pptx.parts.slide import  _SlidePlaceholders, _SlideShapeTree
from pptx.shapes.shape import BaseShape
I am using python-pptx-0.5.7
Why is this happening?

I remember this error now. I'm using 0.5.6 at the moment(working). There was something with the 'sldImg' XML type that I just couldn't get working under 0.5.7. The 0.5.7 import code is:
from pptx.util import lazyproperty
from pptx.parts.slide import BaseSlide, Slide, _SlidePlaceholders
from pptx.shapes.shapetree import SlideShapeTree as _SlideShapeTree
from pptx.opc.constants import RELATIONSHIP_TYPE as RT
from pptx.enum.shapes import PP_PLACEHOLDER_TYPE
from pptx.oxml.xmlchemy import BaseOxmlElement, OneAndOnlyOne, ZeroOrOne
from pptx.oxml import parse_xml
from pptx.oxml.ns import nsdecls
from pptx.opc.constants import CONTENT_TYPE as CT
from pptx.oxml import register_element_cls
from pptx import content_type_to_part_class_map
from pptx.opc.package import PartFactory

The test program is:
from pptx import Presentation
pres = Presentation('test.pptx')
slide = pres.slides[1]
notes_slide = SlideWrapper(slide).notes_page()
for r in notes_slide.get_slide_runs():
    print(r.text)

I keep getting the following error:
  File "/home/rday/Development/TestEnv/lib/python3.4/site-packages/pptx/enum/base.py", line 189, in from_xml
    return cls._xml_to_member[xml_val]
KeyError: 'sldImg'

You most likely have a tag in your notes slide similar to:
<p:nvPr><p:ph type="sldImg"/></p:nvPr>
which is breaking that parsing. I hadn't progressed past this error during development. I used 0.5.6 and had to keep moving forward to get a feature released.
The solution (I think) lies in pptx.enum.shapes.PP_PLACEHOLDER_TYPE. There needs to be a new XmlMappedEnumMember 'sldImg'. I tried briefly to monkey patch that module, but had no success. Now I'm quite interested again.
@scanny any thoughts here? I figured I'd ask before I start diving down this rabbit hole once more.

Just to follow up on the thought:
If you add
        XmlMappedEnumMember(
            'SLIDE_NUMBER', 18, 'sldImg', 'Slide Image'
        ),

to the members attribute (it's a tuple) of the PP_PLACEHOLDER_TYPE class in the pptx.enum.shapes module, then you can successfully read the notes slides using 0.5.7.

Hello. Thank you very much.
I have added the above line in the members attribute of PP_PLACEHOLDER_TYPE class, and its compiling fine.
But I am unable to print notes from my ppt.
for r in notes_slide.get_slide_runs():
print(r.text)
Does the above one works to print notes from ppt?

I've updated the Gist as well but neglected to mention that. Sorry! Please replace your get_slide_runs() method with the following:
    def get_slide_runs(self):
        for shape in self.shapes:
            if shape.has_text_frame and shape.is_placeholder:
                for p in shape.text_frame.paragraphs:
                    for run in p.runs:
                        yield run

I've removed the type check, and simply look to see if the shape has a text_frame. I bet thats why no notes were printing.

Yes.. This is working well.
I am able to print the Notes.
Thank you very much..

:+1: let me know if you hit any bugs. We can try to move this into production.

Sure..
Suppose if there is no notes present in the slide of ppt, then I am facing the following error.
raise KeyError(tmpl % reltype)
KeyError: "no relationship of type 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide' in collection"

Hello!   Big fan of this module; completely changes the dynamics of prezo materials construction and ongoing maintenance!
Would like to add a +1 for notes especially the ability to add them to a prezo with no notes (i.e. avoiding the garden variety KeyError problems)

I added support for note writing to a fork at https://github.com/inl1ne/python-pptx. It's heavily based on rday's gist, but I did need to rewrite the creation code--I suspect that rday's intent was to read notes, not write them. There's also some trickiness to adding a new writeable class derived from Slide that I might be able to fix with a bit of refactoring.
I'm planning to submit this as a pull request once I get some time to write tests and such. In the meantime, I'll leave the fork up in case anyone else finds it helpful.

I just want to say that I find this issue critical and will likely not be using this library until this gets fixed. I need the ability to change notes in the presentation.

I'm experiencing the same as @rajashekar91 – seems like that when slide has no notes written, but somehow a notesSlide##.xml file for that slide was created in the .pptx, the script is fine with the blank note. But when there is no notesSlide##.xml file for the slide, this error occurs:
KeyError: "no relationship of type 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide' in collection"

This is a legitimate exception. Not all slides will have a notes slide associated with them. You should catch the exception and do the right thing for your use case when the notes slide doesn't exist. In this case it might be useful to add to the @rday script a function that encapsulates this exception handling and returns None when no notes slide is present. The SlideWrapper.notes_slide() method there assumes that None is returned from Part.part_related_by() where it actually raises an exception for the "no such part" condition.

I will update my gist when I get back this weekend. I may be able to help with the tests for @inl1ne's code as well. I think the tests are why he hasn't issued a PR yet.

I've updated my gist based on @inl1ne's branch. I'll make a real effort to
help write these tests. We'll get notes soon enough :)
On Fri, Sep 11, 2015 at 6:32 PM, Steve Canny<EMAIL_ADDRESS>wrote:

This is a legitimate exception. Not all slides will have a notes slide
associated with them. You should catch the exception and do the right thing
for your use case when the notes slide doesn't exist. In this case it might
be useful to add to the @rday https://github.com/rday script a function
that encapsulates this exception handling and returns None when no notes
slide is present. The SlideWrapper.notes_slide() method there assumes that
None is returned from Part.part_related_by() where it actually raises an
exception for the "no such part" condition.
—
Reply to this email directly or view it on GitHub
https://github.com/scanny/python-pptx/issues/122#issuecomment-139677389.

Any update which will have this feature?

I haven't seen any work on this lately, so no, no update.

is it possible to add support, it is nice feature to have. @rday has provided some wrapper class.
I will try to use @rday wrapper class see if it works but I vote for this feature.

I tried using @rday  wrapper class and its give me an error. can anybody please help
I think notes_slide object is missing but i tried to
slide = prs['PPA'].slides.add_slide(prs['PPA'].slide_layouts[3])
note_slides = notes_slide.SlideWrapper(slide).notes_page()
for r in note_slides.get_slide_runs():
print(r.text)
Traceback (most recent call last): File "generator.py", line 1380, in  note_slides = notes_slide.SlideWrapper(slide_).notes_page() File "notes_slide.py", line 94, in getattr return self._slide.getattribute(attr) AttributeError: 'Slide' object has no attribute 'notes_page'

Hi @vjain419, thanks for the tweet, I didn't see any emails from Github on this issue.
This gist is only tested on 0.5.6, which could be a possible source of problems.
More importantly, the wrapper doesn't work when adding slides. The notes slide must already exist in the PPTX you are working with.
It looks like the notes slide in this example is being created dynamically, so it will probably break.
This was a stumbling block for me, and time got in the way, so it remains unfinished.

@rday Thanks for your response.
is it possible to spend some time and quick fix or workaround :+1:  i would really appriciate as I used python-pptx for all scription which i was developing since last 3 months and I need notes page support to add some information which i cant cover in mage slide.

This was added in the new release, v0.6.2.

Hey,
I'm having some data in a table shape and along with that I have added a shape rectangle.
Now, I want to apply conditions on data in table and then want to write corresponding to that data in rectangle. Like this, there will be conditions on multiple data and some write up in rectangle respectively.
Is it possible to apply conditions on text within shape?


Review es2020 default target

https://github.com/vitejs/vite-plugin-react-swc/pull/212#issuecomment-2137267070

This devTarget corresponds to jsc.target, right?
I wonder what the possible values are, the SWC docs are very sparse on it. Likely it's not fully compatible to vite/esbuild target.


blog post about the K8SAudit EKS logs plugin

Signed-off-by: Thomas Labarussias<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface
/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:
/area blog

/area documentation

/area videos

What this PR does / why we need it:
blog post about the K8SAudit EKS logs plugin
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

LGTM label has been added.  Git tree hash: cd52282bed4641cfaa9f4fe0fcba7c2e89e9f974

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Support for other stores

Hey do you plan to provide support for other data stores? A free one that could be self hosted would be nice.

The Pinecone implementation extends AbstractDatastore. We're open to PRs that follow the same pattern for different providers.

Closing this as a duplicate of #12


Too many open files

When I run BookBrowser in a folder with 6,955 books, once the indexer reaches 561 books, I start seeing this error:
2018/04/12 07:54:13 [561/6955] Error indexing /HumbleBundle E-books/SF and Fantasy/thelivesoftao.epub: open /HumbleBundle E-books/SF and Fantasy/thelivesoftao.epub: too many open files

This continues until processing reaches 1885 books and the process crashes.
I haven't investigated fully, but it seems like book files aren't being closed soon enough.

It's not the book files themselves that are being held open too long, but the generated image thumbnails. Thumbnail filehandles need to be closed sooner than the end of all indexing operations.
I'll try to create a PR to fix this.

OK. That sounds about right. Thanks for reporting this issue!
For now, you can increase the ulimit for open files.


fix(agent): use regex on container listing

The previous version checked whether the container name contains the prefix or not. It lead to see containers which is contained the prefix but not necessary started with it.

Codecov Report

Merging #152 (04a72b0) into develop (f1ea26a) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           develop    #152   +/-   ##
=======================================
  Coverage     7.76%   7.76%
=======================================
  Files           40      40
  Lines         3439    3439
=======================================
  Hits           267     267
  Misses        3168    3168
  Partials         4       4

Impacted Files
Coverage Δ

agent/pkg/dagent/utils/docker.go
12.52% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Imgbot changed the colors of my PNG image

Here's the pull request. The background color goes from #212733 to #1B2230.
I assume this is a bug since Imgbot is supposed to be lossless.

What are you using to compare the images because this is what ImageMagick is telling me (patched the executable locally to print the PNG bKGD chunk):
I:\issues\imgbot>identify siteImage.png
    Reading PNG bKGD chunk, raw ping_background=(8481,10023,13107)
    bkgd_scale=257.  ping_background=(8481,10023,13107)
siteImage.png PNG 1200x628 1200x628+0+0 8-bit sRGB 19424B 0.000u 0:00.003

I:\issues\imgbot>identify siteImage.imgbot.png
    Reading PNG bKGD chunk, raw ping_background=(8481,10023,13107)
    bkgd_scale=257.  ping_background=(8481,10023,13107)
siteImage.imgbot.png PNG 1200x628 1200x628+0+0 8-bit sRGB 243c 7597B 0.000u 0:00.006

I:\issues\imgbot>compare -metric rmse siteImage.png siteImage.imgbot.png null:
0 (0)

They appear to be identical.

What are you using to compare the images because this is what ImageMagick is telling me (patched the executable locally to print the PNG bKGD chunk):
I:\issues\imgbot>identify siteImage.png
    Reading PNG bKGD chunk, raw ping_background=(8481,10023,13107)
    bkgd_scale=257.  ping_background=(8481,10023,13107)
siteImage.png PNG 1200x628 1200x628+0+0 8-bit sRGB 19424B 0.000u 0:00.003

I:\issues\imgbot>identify siteImage.imgbot.png
    Reading PNG bKGD chunk, raw ping_background=(8481,10023,13107)
    bkgd_scale=257.  ping_background=(8481,10023,13107)
siteImage.imgbot.png PNG 1200x628 1200x628+0+0 8-bit sRGB 243c 7597B 0.000u 0:00.006

I:\issues\imgbot>compare -metric rmse siteImage.png siteImage.imgbot.png null:
0 (0)

They appear to be identical.

Hi @dlemstra. I see the color difference when I open the images in a web browser (Firefox or Chrome). Here's the color difference I see (not just in GitHub's diff view):

You can use a color picker to confirm the color difference.
Strangely I don't see the color difference when I download and view the images with the built-in Photos app. My OS is Windows 10 Home Version 10.0.18363 Build 18363.

Hi @dlemstra. I see the color difference when I open the images in a web browser (Firefox or Chrome). Here's the color difference I see (not just in GitHub's diff view):

You can use a color picker to confirm the color difference.
Strangely I don't see the color difference when I download and view the images with the built-in Photos app. My OS is Windows 10 Home Version 10.0.18363 Build 18363.

This is the same issue as my own, #815. Perhaps we should consolidate these? It's seeming more and more likely that it's a browser related thing somehow.

This is the same issue as my own, #815. Perhaps we should consolidate these? It's seeming more and more likely that it's a browser related thing somehow.

Closing in favor of #815

Closing in favor of #815


Clarify how the  tag interacts with the Java API.

#1157 Improve the documentation around  and @Cachenamespace to clarify that Java interfaces do not automatically pick up mapper cache regions.

Thank you, @jasonab !


General handling of attempt distributions, or no?

@Jsevillamol I am going to do an overhaul of this library this weekend. My goal is to convert to PyMC v4 and have a docs page up and running with some examples.
My biggest question is, what do you think about changing our handling of the attempt distribution to allow for a general choice by the user? Currently, we limit to just a handful of distributions, but in principle I don't see why we can't construct the Max/Min distributions as a function of an input attempt distribution.
I would also like to figure out a way to expose the PyMC model so that the user can specify the prior directly, without needing to be constrained by our interface of passing in a dictionary of parameters of some pre-defined prior that we have chosen.
Any thoughts?

I think custom distributions would be cool!
Ideally what I would like is for the user to have two options of operation, where they can either pass their own distribution or one of the presets.
So the initialization parameter attempt_distribution can either accept a string pointing to a preset or a distribution object that will be used to build a loglikelihood and a random sampler function.


enh: extract second order sensitivity information from results of bfgs-like optimization

Suggested by @rmcgibbo http://mail.scipy.org/pipermail/scipy-dev/2015-February/020375.html.  I share the same use-case -- approximating confidence intervals of maximum likelihood parameter estimates when the objective function is a negative log likelihood.

My comments from the thread apply:

In principle, this is an OK feature to add even though has some maintenance concerns as the hessian is not an explicitly documented return value.
You could also record the gradient evaluations and construct the bfgs approximation yourself. This might miss on whatever regularization l-bfgs-b does (I don't know what it does) however.

I think is closable now, Optimize.hess_inv is set by LBFGSB.


[Updating Swagger with missing properties]Adding missing advanced filters

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[x] SDK of Java
[x] SDK of Js
[x] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[x] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run

@fengzhou-msft could you help check .net sdk gen failure?

Can you please prioritize this. This is a bit urgent.
Thanks,
Rohit
From: Zhenglai Zhang @.>
Reply-To: Azure/azure-rest-api-specs @.>
Date: Wednesday, December 8, 2021 at 1:11 AM
To: Azure/azure-rest-api-specs @.>
Cc: Rohit Kumar @.>, Mention @.***>
Subject: Re: [Azure/azure-rest-api-specs] [Updating Swagger with missing properties]Adding missing advanced filters (PR #16997)
@fengzhou-msfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffengzhou-msft&data=04|01|Kumar.Rohit%40microsoft.com|39c43a4c6b8d4b779fa208d9ba2aadff|72f988bf86f141af91ab2d7cd011db47|1|0|637745514738715603|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Rg0GqJgvKX2AlbQ1B0fDTbXkO5AoIjPxmw9%2B6BdklQs%3D&reserved=0 could you help check .net sdk gen failure?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F16997%23issuecomment-988629400&data=04|01|Kumar.Rohit%40microsoft.com|39c43a4c6b8d4b779fa208d9ba2aadff|72f988bf86f141af91ab2d7cd011db47|1|0|637745514738715603|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=fQxpn989pPqfI9JZUuXLLc%2F9%2BE2aYHqxoaPanyNTPFc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVOVNLVZEQ75VA6SVBZPLJLUP4OK7ANCNFSM5JSHIP3Q&data=04|01|Kumar.Rohit%40microsoft.com|39c43a4c6b8d4b779fa208d9ba2aadff|72f988bf86f141af91ab2d7cd011db47|1|0|637745514738715603|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=zrNedSbBbgCFEFWb4Uy3SzNTzn8nOxs9W4ug8%2FdMQlA%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Kumar.Rohit%40microsoft.com|39c43a4c6b8d4b779fa208d9ba2aadff|72f988bf86f141af91ab2d7cd011db47|1|0|637745514738715603|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=NU9EwxemhmdLGEsqtwZ4RXT24WPdAQAbdRqfCYzMd4I%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|Kumar.Rohit%40microsoft.com|39c43a4c6b8d4b779fa208d9ba2aadff|72f988bf86f141af91ab2d7cd011db47|1|0|637745514738715603|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=NJhcG35mBTpqCFqBiMKzaJm1RQzoWdVipfwd1u%2B47T0%3D&reserved=0.

/azp run

/azp run


Error Messages

For different types of foreseeable errors, I'd like to create error messages. Check for Seurat object, etc.

Added lack of input and data object type errors.


bios-boot-tutorial.py gets failed with error "Error 3120003: Locked wallet"

From the tutorial of eosio bios boot sequence (https://github.com/EOSIO/eos/wiki/Tutorial-Bios-Boot-Sequence), I've tried running the script "bios-boot-tutorial.py". However, it gets failed with the following error:
test.py: cleos --wallet-url http://localhost:6666 --url http://localhost:8000 wallet import 5K463ynhZoCDDa4RDcr63cUwWLTnKqmdcoTKTHBjqoKfv4u5V7p
1877369ms thread-0   http_plugin.cpp:369           handle_exception     ] FC Exception encountered while processing wallet.import_key: 3120003 wallet_locked_exception: Locked wallet
Wallet is locked: default
{"w":"default"}
thread-0  wallet_manager.cpp:172 import_key
Error 3120003: Locked wallet
Ensure that your wallet is unlocked before using it!
Error Details:
Wallet is locked: default
test.py: exiting because of error

You need to unlock your wallet.
There should be * next to "default" if the wallet is unlocked.

@matthewdarwin
Thanks for your response.
But I think the Python script should have unlocked the created wallet automatically, right?

You are correct, the code says it removes the existing wallet, and then create one.  So it should be created as unlocked.
def startWallet():
run('rm -rf ' + walletDir)
run('mkdir -p ' + walletDir)
background('keosd --http-server-address <IP_ADDRESS>:6666 --wallet-dir ' + walletDir)
time.sleep(.4)
run(cleos + 'wallet create')

@matthewdarwin
I've tried disabling the start of "keosd" because I think it's not needed at all as the command "cleos wallet create" will auto start the "keosd". The result is that its works like charm
So, disable the line to make it work:
background('keosd --http-server-address <IP_ADDRESS>:6666 --wallet-dir ' + walletDir)


c++_linux_tsan_native flakes

https://sponge.corp.google.com/target?id=36e71ffe-458e-4425-8d9a-1aac76483419&target=github/grpc/c%2B%2B_linux_tsan_native&searchFor=&show=ALL&sortBy=STATUS
Failure
_due_to_rst_stream = 0
D1012 01:34:16.328667753   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_close_from_api = 0
D1012 01:34:16.328679488   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_stream_flow_control = 0
D1012 01:34:16.328691410   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_transport_flow_control = 64
D1012 01:34:16.328703291   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_send_settings = 0
D1012 01:34:16.328715623   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_bdp_estimator_ping = 0
D1012 01:34:16.328727034   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_flow_control_unstalled_by_setting = 0
D1012 01:34:16.328737774   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_flow_control_unstalled_by_update = 0
D1012 01:34:16.328754850   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_application_ping = 0
D1012 01:34:16.328766360   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_keepalive_ping = 0
D1012 01:34:16.328777710   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_transport_flow_control_unstalled = 0
D1012 01:34:16.328789615   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_ping_response = 3
D1012 01:34:16.328800915   18908 report.cc:106]              SERVER[0].http2_initiate_write_due_to_force_rst_stream = 0
D1012 01:34:16.328812291   18908 report.cc:106]              SERVER[0].http2_spurious_writes_begun = 0
D1012 01:34:16.328824046   18908 report.cc:106]              SERVER[0].hpack_recv_indexed = 0
D1012 01:34:16.328835160   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_incidx = 0
D1012 01:34:16.328845951   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_incidx_v = 9
D1012 01:34:16.328856163   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_notidx = 0
D1012 01:34:16.328868105   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_notidx_v = 0
D1012 01:34:16.328879343   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_nvridx = 0
D1012 01:34:16.328890998   18908 report.cc:106]              SERVER[0].hpack_recv_lithdr_nvridx_v = 0
D1012 01:34:16.328902610   18908 report.cc:106]              SERVER[0].hpack_recv_uncompressed = 18
D1012 01:34:16.328913695   18908 report.cc:106]              SERVER[0].hpack_recv_huffman = 0
D1012 01:34:16.328925324   18908 report.cc:106]              SERVER[0].hpack_recv_binary = 0
D1012 01:34:16.328936186   18908 report.cc:106]              SERVER[0].hpack_recv_binary_base64 = 0
D1012 01:34:16.328947250   18908 report.cc:106]              SERVER[0].hpack_send_indexed = 0
D1012 01:34:16.328957706   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_incidx = 0
D1012 01:34:16.328969520   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_incidx_v = 4
D1012 01:34:16.328980843   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_notidx = 0
D1012 01:34:16.328992343   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_notidx_v = 0
D1012 01:34:16.329003703   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_nvridx = 0
D1012 01:34:16.329014661   18908 report.cc:106]              SERVER[0].hpack_send_lithdr_nvridx_v = 0
D1012 01:34:16.329026555   18908 report.cc:106]              SERVER[0].hpack_send_uncompressed = 8
D1012 01:34:16.329037403   18908 report.cc:106]              SERVER[0].hpack_send_huffman = 0
D1012 01:34:16.329047451   18908 report.cc:106]              SERVER[0].hpack_send_binary = 0
D1012 01:34:16.329057176   18908 report.cc:106]              SERVER[0].hpack_send_binary_base64 = 0
D1012 01:34:16.329068054   18908 report.cc:106]              SERVER[0].combiner_locks_initiated = 660
D1012 01:34:16.329079098   18908 report.cc:106]              SERVER[0].combiner_locks_scheduled_items = 1307
D1012 01:34:16.329090676   18908 report.cc:106]              SERVER[0].combiner_locks_scheduled_final_items = 330
D1012 01:34:16.329102235   18908 report.cc:106]              SERVER[0].combiner_locks_offloaded = 1
D1012 01:34:16.329122190   18908 report.cc:106]              SERVER[0].executor_scheduled_short_items = 68
D1012 01:34:16.329135020   18908 report.cc:106]              SERVER[0].executor_scheduled_long_items = 0
D1012 01:34:16.329145695   18908 report.cc:106]              SERVER[0].executor_scheduled_to_self = 0
D1012 01:34:16.329155766   18908 report.cc:106]              SERVER[0].executor_wakeup_initiated = 68
D1012 01:34:16.329166590   18908 report.cc:106]              SERVER[0].executor_queue_drained = 68
D1012 01:34:16.329178114   18908 report.cc:106]              SERVER[0].executor_push_retries = 0
D1012 01:34:16.329189494   18908 report.cc:106]              SERVER[0].server_requested_calls = 12
D1012 01:34:16.329206774   18908 report.cc:106]              SERVER[0].server_slowpath_requests_queued = 0
D1012 01:34:16.329237284   18908 report.cc:110]              SERVER[0].call_initial_size = 6132.0/6613.5/6656.3 (50/95/99%-ile)
D1012 01:34:16.329258891   18908 report.cc:110]              SERVER[0].poll_events_returned = 0.0/0.0/0.0 (50/95/99%-ile)
D1012 01:34:16.329278683   18908 report.cc:110]              SERVER[0].tcp_write_size = 288.7/1093.8/1124.3 (50/95/99%-ile)
D1012 01:34:16.329297181   18908 report.cc:110]              SERVER[0].tcp_write_iov_size = 1.5/2.0/5.0 (50/95/99%-ile)
D1012 01:34:16.329316907   18908 report.cc:110]              SERVER[0].tcp_read_size = 137.3/153.4/154.8 (50/95/99%-ile)
D1012 01:34:16.329337855   18908 report.cc:110]              SERVER[0].tcp_read_offer = 14676.7/16746.1/16930.0 (50/95/99%-ile)
D1012 01:34:16.329355674   18908 report.cc:110]              SERVER[0].tcp_read_offer_iov_size = 2.4/2.9/3.0 (50/95/99%-ile)
D1012 01:34:16.329374304   18908 report.cc:110]              SERVER[0].http2_send_message_size = 5189.5/12980.3/13212.1 (50/95/99%-ile)
D1012 01:34:16.329391580   18908 report.cc:110]              SERVER[0].http2_send_initial_metadata_per_write = 0.0/0.0/0.0 (50/95/99%-ile)
D1012 01:34:16.329408789   18908 report.cc:110]              SERVER[0].http2_send_message_per_write = 0.0/0.0/0.0 (50/95/99%-ile)
D1012 01:34:16.329425799   18908 report.cc:110]              SERVER[0].http2_send_trailing_metadata_per_write = 0.0/0.0/0.0 (50/95/99%-ile)
D1012 01:34:16.329443323   18908 report.cc:110]              SERVER[0].http2_send_flowctl_per_write = 0.0/0.0/0.0 (50/95/99%-ile)
D1012 01:34:16.329458920   18908 report.cc:110]              SERVER[0].server_cqs_checked = 0.5/0.9/1.0 (50/95/99%-ile)
I1012 01:34:16.329483197   18908 report.cc:119]              QPS: -nan (-nan/server core)
I1012 01:34:16.329507249   18908 report.cc:124]              Latencies (50/90/95/99/99.9%-ile): 0.0/0.0/0.0/0.0/0.0 us
I1012 01:34:16.329527414   18908 report.cc:134]              Server system time: 15.17%
I1012 01:34:16.329554622   18908 report.cc:136]              Server user time:   83.44%
I1012 01:34:16.329574713   18908 report.cc:138]              Client system time: -nan%
I1012 01:34:16.329585862   18908 report.cc:140]              Client user time:   -nan%
I1012 01:34:16.329603602   18908 report.cc:145]              Server CPU usage: 46.82%
I1012 01:34:16.329621289   18908 report.cc:150]              Client Polls per Request: -nan
I1012 01:34:16.329636220   18908 report.cc:152]              Server Polls per Request: -nan
I1012 01:34:16.329653335   18908 report.cc:157]              Server Queries/CPU-sec: 0.00
I1012 01:34:16.329666824   18908 report.cc:159]              Client Queries/CPU-sec: -nan
I1012 01:34:16.334019140   18873 json_run_localhost.cc:67]   driver: subprocess exited with status 1
D1012 01:34:18.620211841   18887 ev_posix.cc:125]            Using polling engine: poll-cv
D1012 01:34:18.620339431   18887 dns_resolver.cc:306]        Using native dns resolver
I1012 01:34:19.627121745   18873 json_run_localhost.cc:70]   worker: subprocess terminated with signal 6
E1012 01:34:19.627175237   18873 json_run_localhost.cc:123]  assertion failed: driver_join_status == 0

No activity on this since last year. Closing it.


cannot import name 'Adadelta' from 'keras.optimizers (Keras-Bidaf)

ImportError                               Traceback (most recent call last)
 in
----> 1 from bidaf.models import BidirectionalAttentionFlow
2 #bidaf_model = BidirectionalAttentionFlow(400)
3 #keras_model = bidaf_model.model
~\AppData\Roaming\Python\Python38\site-packages\bidaf\models_init_.py in
----> 1 from .bidaf import BidirectionalAttentionFlow
~\AppData\Roaming\Python\Python38\site-packages\bidaf\models\bidaf.py in
1 from keras.layers import Input, TimeDistributed, LSTM, Bidirectional
2 from keras.models import Model, load_model
----> 3 from keras.optimizers import Adadelta
4 from keras.callbacks import CSVLogger, ModelCheckpoint
5 from ..layers import Highway, Similarity, C2QAttention, Q2CAttention, MergedContext, SpanBegin, SpanEnd, CombineOutputs
ImportError: cannot import name 'Adadelta' from 'keras.optimizers' (C:\Users\vishd\AppData\Roaming\Python\Python38\site-packages\keras\optimizers.py)

I have been trying to recreate the Keras-bidaf model in my python notebook and running this code in python from bidaf.models import BidirectionalAttentionFlow which keeps giving me the above error and saying Adadelta can't be imported from Keras. I have tried so many options to solve it but no luck.
I am stuck here. Any suggestions and ideas are highly appreciated.

@ReetuData ,
Can you please try to execute as mentioned in the gist.It helps. Thanks!

@ReetuData ,
Can you please try to execute as mentioned in the gist.It helps. Thanks!

@ReetuData ,
Can you please try to execute as mentioned in the gist. It helps. Thanks!

@tilakrayal,
Hi, Thanks for the quick reply. I have tried the code mentioned in the gist. But still getting the same issue.
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras.optimizers import Adadelta
ImportError: cannot import name 'Adadelta' from 'keras.optimizers' (C:\Users\vishd\AppData\Roaming\Python\Python38\site-packages\keras\optimizers.py)
Any other idea how can we solve it?

@ReetuData ,
In order to reproduce the issue reported here, could you please provide the complete code and the dataset  and tensorflow version you are using. Thanks!

Also please take a look at this link for Adadelta.It helps.Thanks!

@tilakrayal
Thanks for your answer again. I have tried another solution as well. No luck again. I am sending you the google collab notebook where I have run the code. I have tried both python and google collab to run this code
https://colab.research.google.com/drive/10r52gvoSdwzWH9tIFosPwjQ37poY6oLy#scrollTo=f5b95a09
I am just trying to recreate the code provided by the below model of Parikh.
https://github.com/ParikhKadam/bidaf-keras
I want to train this model for hindi/tamil datasets of the question-answering model.
Please take a look if you can find some solution.

@ReetuData ,
Please post this issue on keras-team/keras repo.
To know more refer to:
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999

@ReetuData ,
Please post this issue on keras-team/keras repo.
To know more refer to:
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999

@ReetuData ,
Please free feel to close this issue as it has been tracked in Keras repo.Thanks


Feat/hover effect cards on the section we are creative .

fixed #501
added the hovering effect on the cards of we are creative section .
https://github.com/mdazfar2/HelpOps-Hub/assets/159682348/c2b84a63-5338-4e68-a7c5-1ffe8dc25532

@mdazfar2 please review this pr and if want any changes let me know .

@ANKeshri Sorry I was a little busy, if you had ping me up on Discord server I would have known.

@ANKeshri when we are moving the cursor on the card the cursor is change into text cursor please change into as usual normal cursor

@ANKeshri when we are moving the cursor on the card the cursor is change into text cursor please change into as usual normal cursor

solving it

@mdazfar2 done

@ANKeshri Great, I will review it by morning.


Get rid of DataStore abstraction

I think we should remove the DataStore abstraction and use Redis directly, for the following reasons:

Right now we don't need it, except for testing. And even when testing on Travis, we can add a Redis server with just 2 lines in the config file.
The DataStore is an unnecessary abstraction that prevents us from fully taking advantage of Redis.
The DataStore does away with datatypes and stores everything as strings. With Redis we could use real numeric types.
Redis supports lists and atomic operations like "get and delete". This can be used to implement the session tokens.
Redis supports key expiration. So we can expire session tokens after a minute without having to write the logic ourselves.
Other datastores? YAGNI!

Do you agree, @coredump-ch/spaceapi?

Wow, this got pretty big and messy: 125 lines added, 244 lines removed.
The second commit does various things:
- Remove the datastore module and all datastore implementations
- Replace the datastore instance in the `SpaceapiServer` with a
  Redis `ConnectionInfo` object.
- This object is passed around to the handlers instead of the datastore
  Arc Mutex.
- Previously the datastore access was inconsistent: Sometimes the
  sensor specs fetched their own values, but sometimes we updated the
  values in the datastore directly, without going through the sensor
  spec. In the current codebase, the sensor specs are responsable for
  accessing Redis to fetch or update sensor values.

(No, it was not easily possible to split these things up into multiple commits!)
Right now everything compiles without a warning (which is a very good sign), but I'll first have to test this. Unfortunately we don't have any tests anymore, so I'll probably write some instead of simply recompiling the coredump status with this version of the spaceapi-server.
I'll also improve the documentation in a separate step (probably even in a separate PR).
@rnestler if you already want to take a quick look at it, you may. I believe this change made the codebase as a whole easier to read.

Rebased against #8. @rnestler, do you have time to take a look?

Ohm, since I merged #8 you should maybe rebase it again...

Yep, done :)

Can we merge this?

:+1:

Wohoo!


mobile: More xDS cleanup

A follow-up of https://github.com/envoyproxy/envoy/pull/35017
Risk Level: low (unused)
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: mobile

/retest

/retest

/assign @abeyad @alyssawilk


Unable to find a version of 'Xamarin.Facebook.Login.Android' that is compatible with 'Xamarin.Facebook.Android 5.0.3 constraint: Xamarin.Facebook.Login.Android (>= 5.0.3)

Getting this error while updating Xamarin.Facebook.Android 5.0.3
Unable to find a version of 'Xamarin.Facebook.Login.Android' that is compatible with 'Xamarin.Facebook.Android 5.0.3 constraint: Xamarin.Facebook.Login.Android (>= 5.0.3)'.
Thanks.

@softsan We had a problem internally when we were publishing the NuGets. We are fixing this ASAP. Sorry for the inconveniences.

How long does it takes to update the NuGet? Also i don't see yet an update for facebook iOS sdk.
Thanks.

@softsan Sorry for the waiting time. The NuGet has been pushed to NuGet. Some of them need to be indexed yet. The updates include Android and iOS bits. Hope this helps you. Best! And sorry again for the inconveniences.


Filter extension

Hello,
I followed the discussion about one of the open issues:** "Exclude files #27"** and thought it would be nice to help out. Here is a pull request.
Action: Extended the filter param to also take either a callback or an array ( strings) of names of files to be excluded. Added few lines of test in the test.js file.

@dougwilson @felixge is this change going to be merged.

Hi @lvegerano, 1 day over a weekend is not enough time for me to look at the pull request. Please be patient.

@dougwilson my apologies I did not payed attention to the day :+1:

Having the filter function would be pretty convenient for us, any chance to get this reviewed?

This commit Further refactor and test following PR review feedback has all changes addressing the points raised in the PR feedback.
@dougwilson Kindly review and let me know if I missed something or if there exist some opportunities for improvement.
Cheers!

Hi @leewaygroups thank you so much for putting this PR together and working on it. I'm very sorry it fell off my radar. There were still a couple things, most notable documentation & undoing all those trailing newline removals, but I didn't want to let this go in more circles, so I hope it's OK, but I just amended your PR with the changes and merged 🎉 I did remove the array feature, though, as that can be added back in another PR, but, really, it seems redundant when you can specify a full function.


keyword extraction using position-biased text ranking

Guy Altman
Madina Izimbetova
Dan Ferber
Description
Created a feature under nlp.py that uses the position biased text ranking algorithm to extract keywords with the highest probability of having inbound references in the document.  The number of keyword phrases is returned based on descending order of eigenvalue centrality. The function is set to return the top 5 highest keyword phrases. There is the flexibility to return more or less keyword phrases based on preferences. When the keyword extraction function is called into ocr.py it returns a dictionary where the values are pairs of keyword phrases and their eigenvalue centrality score.
Ex:
Keywords: [('DEFENCE WHITEHALL LONDON', 0.16926207243497499), ('Page', 0.14633401874768007), ('MINISTRY', 0.09075843946849015), ('Northern Ireland', 0.08344503557823804), ('Parachute', 0.0773451895826095)]
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have removed unnecessary comments/console logs from my code
[X] I have made corresponding changes to the documentation if necessary (optional)
[X] My changes generate no new warnings
[X] I have checked my code and corrected any misspellings
[X] No duplicate code left within changed files
[X] Size of pull request kept to a minimum
[X] Pull request description clearly describes changes made & motivations for said changes

this is a really good PR. I'd honestly suggest making this a full PR instead of a draft, extremely valuable for both MVP and stretch goals.

 As a user, I want to be able to see the most prevalent keyword phrases in a document.


copy the tintColor to the view tintColor

This PR aims to add support for custom tintColors on the UIBarButtonItems.

Thanks for the contribution! Definitely something that I overlooked on initial implementation of custom UIBarButtonItems.
All of the other properties taken from the UIBarButtonItem (title, image, etc) are read in the UIBarButtonItemView class's init method. Additionally, KVO is used to update the view when the UIBarButtonItem's properties change.
Could you place the tintColor code in there instead?

Ah, yes, that's a better idea. I added it!


Refactor Similar Code in REST and WS Clients

Proposed changes

Hold Until First Release of TTS WS
Refactor similar code to pull out similar code into abstract base class:

each REST client
for WS Clients (Live Transcription and Speak)

Context

Possible Implementation

Other information

this was already done for REST, WS is up next

This is implemented in the latest release.


Support for pip 6

I see some recent commits around this, but I wanted to ask if there are plans to support pip 6. At present, I receive an error trying to install:
$ pip install nagios-plugin-elasticsearch
Collecting nagios-plugin-elasticsearch
  Downloading nagios-plugin-elasticsearch-1.0.2.tar.gz
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-g4R6_1/nagios-plugin-elasticsearch/setup.py", line 19, in <module>
        parse_requirements("requirements.txt")],
      File "/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py", line 19, in parse_requirements
        "parse_requirements() missing 1 required keyword argument: "
    TypeError: parse_requirements() missing 1 required keyword argument: 'session'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-build-g4R6_1/nagios-plugin-elasticsearch/setup.py", line 19, in <module>

        parse_requirements("requirements.txt")],

      File "/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py", line 19, in parse_requirements

        "parse_requirements() missing 1 required keyword argument: "

    TypeError: parse_requirements() missing 1 required keyword argument: 'session'

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g4R6_1/nagios-plugin-elasticsearch

running into this as well

Yep, I'll get to this when I can.

Fix contributed by @zonzamas, merged in #27 and released to pypi. Let me know if there are any issues.


Format & add missing

fix  #12908

Codecov Report

Merging #12924 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #12924   +/-   ##
=======================================
  Coverage   43.09%   43.09%
=======================================
  Files         658      658
  Lines       72454    72454
=======================================
+ Hits        31221    31222    +1
+ Misses      36178    36177    -1
  Partials     5055     5055

Impacted Files
Coverage Δ

modules/queue/workerpool.go
58.77% <0.00%> (-1.23%)
:arrow_down:

services/pull/pull.go
40.78% <0.00%> (-0.50%)
:arrow_down:

models/gpg_key.go
53.90% <0.00%> (+0.57%)
:arrow_up:

services/pull/check.go
48.46% <0.00%> (+0.76%)
:arrow_up:

modules/log/event.go
58.49% <0.00%> (+0.94%)
:arrow_up:

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 f215e01...0bf832d. Read the comment docs.

would be better to add just </div> and other changes leave for other refactor PR

@CirnoT @lafriks @a1012112796 now it only contain fix and the line indentation for that specific block

🚀


The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

Receiving this warning for KeychainAccess when building
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

This is more of a CocoaPods issue on new Xcode 12 as far as I understand. Cocoapods will have official support of Xcode 12 with version 1.10. Until then you can set pods' minimum target version to 9 or above manually at build settings.
Or add following to the end of your Podfile and hit pod install. It will set all pods target versions automatically to 12.0.
post_install do |installer|   installer.generated_projects.each do |project|     project.build_configurations.each do |config|         if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0           config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'         end     end     project.targets.each do |target|       target.build_configurations.each do |config|         if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0           config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'         end       end     end   end end

We are having this warning also using the SwiftPM way...

Same, I'm using SPM

Check out this repo and make it local package, finally change from .iOS(.v8) to .iOS(.9) in Package.swift file
platforms: [
+        .macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
-        .macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
],

When fixing is released, then delete local package.

Ref: https://github.com/kishikawakatsumi/KeychainAccess/pull/490


ServiceClient does not support TransactionScope?

Hi,
I wanted to execute the creation method and other  business logic in a transaction, but my test results showed that the data of Dataverse was not rolled back. Is this operation not supported?
This is a function app of Azure Service Bus trigger， code example:
public static class TestQueueManualAck
{
[FunctionName("TestQueueManualAck")]
public static void Run([ServiceBusTrigger("%TargetQueueName%", Connection = "ServiceBusConnection", IsSessionsEnabled = true)]Message message, MessageReceiver messageReceiver,  ILogger log)
{
var messageBody = System.Text.Encoding.UTF8.GetString(message.Body);
 log.LogInformation($"C# ServiceBus queue trigger function processed message: {messageBody}");
var dataverseConnection = Environment.GetEnvironmentVariable("DataverseConnection");
using var scope = new TransactionScope(TransactionScopeOption.RequiresNew, TransactionScopeAsyncFlowOption.Enabled);
try
{
IOrganizationService _organizationservie = new ServiceClient(dataverseConnection);
Entity entity1 = new Entity("new_xm_productpack");
entity1["new_name"] = "testImportfromExcel123";
entity1["new_country_id"] = new EntityReference("new_country", new Guid("7a0e46fd-bb03-eb11-a813-000d3aa3ee47"));
_organizationservie.Create(entity1);
throw new Exception("Manual exception");
messageReceiver.CompleteAsync(message.SystemProperties.LockToken);
scope.Complete();
}
catch (Exception ex)
{
scope.Dispose();
throw new Exception($"Function App execution failed,Exception :{ex.Message}-----trace is {ex.StackTrace}");
}
}
}

The Dataverse SDK does not support client to server transaction scopes.  Once a command is executed, that command either completes or fails within its own scope.
If you have several Dataverse SDK Operations that you want to execute and run as a transaction from a Client you CAN do that using the ExecuteTransactionRequest message.  See: ExecuteTransactionRequest.   This method will execute all operations in the request as a unit, if any one message fails, all of them are rolled back.
However, when operating in the context of a plugin hosted on Dataverse, this is slightly different.  In that situation, depending on the plugin staged used, the execution of the plugin happens within a transaction and any fault/exception generated causes the entire transaction to be cancelled, effectively causing all operations inside the plugin to be rolled back.

There are no plans to offer this capability for the public API at this time given the potential negative impacts it has on the users of the system.
There may be an opportunity to explore supporting this in the future as our API infrastructure evolves. but no promises right now.


Creating your own component

Bro, I am having trouble creating my own components (ex: I want to add a project component to the site. ) So, can you explain that in your post in medium or in your GitHub.

Got it, by following your post on Medium.


Update IAM service definitions

This is an auto-generated PR with IAM service updates.

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

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Harbor connect to Postgresql in Flux

What can we help you?
We are using Harbor operator v1.3.
For Postgres we using Zalando operator v1.8.2.
We are creating the Postgres cluster up-front using Gitops with Flux. As part of creating the postgres cluster a secret is created for the user we have defined in our Zalando Postgres cluster manifest file.
In the Harbor operator manifest definition we can refer to the Postgres secret containing the password to connect to Postgres. However Harbor expects the secret key to be named differently than what Postgres operator auto generates.
Is there a way to achieve this by using the auto generated secret by Zalando Operator or how would we go about doing this in a Gitops way?

Same issue as : https://github.com/goharbor/harbor-operator/issues/946

Same issue as : #946

@siegenthalerroger I have a workaround currently using a Kyverno policy that mutates the Zalando postgres secret to add the key that Harbor expects.

@Jaxwood would it be possible for you to share the Kyverno policy?

@Jaxwood would it be possible for you to share the Kyverno policy?

Sure, this is the one we've been using
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: mutate-postgres-secret
spec:
  generateExistingOnPolicyUpdate: true
  rules:
    - name: mutate-secret
      match:
        any:
          - resources:
              names:
                - harbor-admin.harbor-postgres-cluster.credentials.postgresql.acid.zalan.do
              namespaces:
                - kube-addons
              kinds:
                - Secret
      mutate:
        patchesJson6902: |-
          - op: add
            path: "/data/postgresql-password"
            value: "{{request.object.data.password}}"

Seems linked to #946


SLING-6422, Allow for specifying oak restrictions with repoinit

Interpret parsed restriction clauses from repoinit

With the upcoming migration to git this repository will be deleted. If the pull request contains data that should be re-submitted I suggest that you save the changes locally and resubmit them after the migration, which will likely happen on Monday the 9th of October.


How are clouds processed?

This isn't an issue but I am just wondering how the model was trained when clouds or other no data pixels were present?  Is there a specific value we should assign to them to align with the pre-training?

Closing as I found here for burn scars at least, no data is -1.https://huggingface.co/datasets/ibm-nasa-geospatial/hls_burn_scars


Do you plan to put this on PyPI?

This library is awesome! Do you plan to put this on PyPI?

Thank you! I could do that, maybe bit later when experimenting more with the speech and realtime AI and understand better the SDK API content. Currently you can use Python wheel e.g. referring https://github.com/jhakulin/realtime-ai/releases/download/v0.1.0/realtime_ai-0.1.0-py3-none-any.whl in your requirements.txt