Improve error reporting about mismatched signature in with and default attributes

This PR changes the errors reported by rustc when signature of function specified in

#[serde(with = "...")]
#[serde(deserialize_with = "...")]
#[serde(serialize_with = "...")]
#[serde(default = "...")]

is wrong. With this PR error will point to the "...".

Strange, but order of implementations shown in failed run is different from my (my removed, PR added):
    = help: the following other types implement trait `Serializer`:
-             FlatMapSerializer<'a, M>
-             &'a mut Formatter<'b>
              _::_serde::__private::ser::content::ContentSerializer<E>
+             FlatMapSerializer<'a, M>
+             &'a mut Formatter<'b>

This can create difficulties in local testing.

Probably the order of suggested implementations is heavy dependent on rustc version. With rustc 1.82.0-nightly (fbccf5053 2024-07-27) the local output is the same as at GitHub.

@oli-obk looks like the merge of this PR broke master CI. The CI on this PR was green long time ago, and it broke with time

The failing ui test was from a non-textual conflict with https://github.com/serde-rs/serde/commit/8e1ae68569db46251a88997e5e212392d4ad83ea. Fixed in #2839. (Also #2840).
It is unfortunate that:
   = help: the following other types implement trait `Serializer`:
             &mut Formatter<'a>
             FlatMapSerializer<'a, M>
             _::_serde::__private::ser::content::ContentSerializer<E>

is the set of impls chosen to be suggested by rustc. Is there something we can do with doc(hidden) to exclude nonpublic APIs from this error message? If not, this needs to be reported as a rustc bug.

Reported https://github.com/rust-lang/rust/issues/132024.

is the set of impls chosen to be suggested by rustc. Is there something we can do with doc(hidden) to exclude nonpublic APIs from this error message? If not, this needs to be reported as a rustc bug.

We'll get diagnostics::do_not_suggest or sth. Iirc it's being worked on or works on nightly already

it looks like this change might have unintended side effects. https://github.com/rust-lang/crates.io/pull/9720 upgrades crates.io from v1.0.210 to v1.0.211 and we are now seeing various "not found in this scope" errors that were not there before.


Readme merging

As discussed in today's meeting, this PR migrates the Ansible readme to the top-level for clarity

Cheers


(#181) Clear Linter Warnings

Closes #181

Added globals to .eslintrc.json
Added un-used variable line supressors

@seyilonge-ps Just a few small things. Looking forward to getting this out the door!


Upgrade Webpack to version 5

To do this it required setting production path as in ipympl and change the webpack cli from -p to --mode=production which should be indentical.
I have manually tested that a local build of the notebook extension still works as expected.
Note that since this does an npm update the changes to package-lock.json are significant. It could be worthwile updating the package lock file independently before this pr.
closes #224

Thanks, just trying to land small things that I find I as I familarilze my self with the codebase and how the ts/js/python stuff is integrated. Was experimenting to see if updating javascript packages would change any thing


Fix InterruptedException when KafkaCollectorWorker stops

Fixes https://github.com/openzipkin/zipkin/issues/2448

Thanks @gquintana !
LGTM

ps I checked Gerald already has an ASF iCLA http://people.apache.org/unlistedclas.html
While we haven't yet moved this repo, it will soon.


refactor: add hooks

Codecov Report

Merging #3772 into dev will decrease coverage by 35.93%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##              dev    #3772       +/-   ##
===========================================
- Coverage   97.92%   61.99%   -35.94%
===========================================
  Files          18       18
  Lines        1158     1155        -3
  Branches      311      311
===========================================
- Hits         1134      716      -418
- Misses         23      339      +316
- Partials        1      100       +99

Impacted Files
Coverage Δ

lib/core/nuxt.js
65.3% <100%> (-29.75%)
:arrow_down:

lib/core/middleware/error.js
0% <0%> (-97.57%)
:arrow_down:

lib/core/middleware/nuxt.js
3.44% <0%> (-96.56%)
:arrow_down:

lib/builder/generator.js
0% <0%> (-94.24%)
:arrow_down:

lib/core/meta.js
14.63% <0%> (-82.93%)
:arrow_down:

lib/common/nuxt.config.js
50% <0%> (-50%)
:arrow_down:

lib/core/renderer.js
54.19% <0%> (-45.81%)
:arrow_down:

lib/common/utils.js
78.91% <0%> (-21.09%)
:arrow_down:

lib/builder/builder.js
77.48% <0%> (-19.38%)
:arrow_down:

... and 5 more

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 7b91042...d5feb6e. Read the comment docs.


The function of [Bug Report] MessageBox and the global close method

Element UI version
1.3.4
OS/Browsers version
window7 chrome  58.2.3029.81
Vue version
2.3.3
Reproduction Link
http://jsfiddle.net/q307yb5y/1/
Steps to reproduce
点击【点击打开并关闭 Message Box】即可重现BUG
What is Expected?
Message Box 出现，并且2秒后自动关闭
What is actually happening?
Message Box 出现，2秒后Message Box 关闭，但其【遮罩层】并没有关闭，body的overflow属性也没恢复

This is not a bug. We haven't implemented close method for MessageBox, so please don't use it.

Is there anyway to close a MessageBox programmatically? Also if the close isn't implemented what's the reason to have it?


Understanding the getting started step for polars-book contributions

Problem
As a new contributor my number one goal on this repo is to get set up. I like the idea of using a Docker image, but I'm not sure if the README provides complete instructions. I'd like to use Docker more, but my experience with it is limited to using it for a couple projects in the past.

Note the mdBook executable is downloaded and not compiled to fasten the building of the image.

In order to compile mdBook wouldn't Rust need to be installed (along with cargo) on the image?

I'll document setup things here instead of spamming issues. There are things I'll likely need to figure out along the way. One example is that for other M1 users, you'll probably need to modify the Docker commands from the README.
It seems like you need to run an emulated image using
docker build --platform linux/x86_64 --build-arg uid=$UID -t polars-guides . --no-cache
docker run --platform linux/x86_64 --entrypoint /bin/bash -it --rm -v `pwd`:/usr/src -p 8000:8000 --workdir /usr/src polars-guides


Replicate issue: toJWK fails to be imported by JOSE lib

I just wanted to raise awareness here as the issue is in a fork, and might be here as well.
https://github.com/digitalcredentials/ed25519-verification-key-2020/issues/5#issuecomment-1314141779

Checking in here if there are any thoughts of why this might happen?

Found the cause -- the toJwk and fromJsonWebKey2020 methods have an error in their logic. See PR https://github.com/digitalcredentials/ed25519-verification-key-2020/pull/7 for fix.

Looks like the fix here would be to ensure only the first 32 bytes are set as jwk.d.

We should add local interop tests with the jose lib as well.


Hitting rate limits

When using this action in GitHub Actions we're hitting the issue:
Error: Unable to fetch the requested release (latest): API rate limit exceeded for <IP_ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

I think this is trying to hit some GitHub API in the tool cache. Maybe we should be passing through the GitHub token? Or there's some other step we should be taking?
/home/runner/work/_actions/fastly/compute-actions/v5/setup/index.js:60
    let existingVersion = tc.find('fastly', release.data.name);
                                                    ^

TypeError: Cannot read properties of undefined (reading 'data')
    at downloadCLI (/home/runner/work/_actions/fastly/compute-actions/v5/setup/index.js:60:53)
    at processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/miraan/ht/actions/runs/4598602319/jobs/8123057919#step:4:10)6:5)
    at async setup (/home/runner/work/_actions/fastly/compute-actions/v5/setup/index.js:[14](https://github.com/miraan/ht/actions/runs/4598602319/jobs/8123057919#step:4:15):5)

@domdomegg for the Fastly CLI setup part of your workflow, are you passing in a github token?
Something like this:
    - name: Set up Fastly CLI
      uses: fastly/compute-actions/setup@v5
      with:
        token: ${{ secrets.GITHUB_TOKEN }}

Ah my bad. After passing in the token we haven't seem to hit the rate limit error again so putting this one down as user error.


UI action is disabled for several selected classes or packages #882

Description
Better selection management was provided for the context
Fixes #882
Type of Change
Please delete options that are not relevant.

Minor bug fix (non-breaking small changes)

How Has This Been Tested?
Manual Scenario
See the issue
Checklist (remove irrelevant options):

[x] The change followed the style guidelines of the UTBot project
[x] Self-review of the code is passed
[x] No new warnings

If multiple packages or .java-files are selected, classes from them are not included. Is this the expected behavior?

Seems weird that previously we used PsiElementHandler.getContainingClass but now we use com.intellij.psi.PsiElement.containingClass for the same purpose. If second one works correctly, shouldn't we delete containingClass from PsiElementHandler?


Fix dependencies for eio and async

We don't require the h2-{async,eio,lwt} packages anymore in the .opam files, so we can't have them in the dune files either.
This was inadvertently broken when making the dependencies more consistent. It's hard to find in OCaml-CI because it installs the dependencies of all packages first (and the examples pull in everything):
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y grpc.dev grpc-lwt.dev grpc-examples.dev grpc-eio.dev grpc-bench.dev grpc-async.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

(But it caused the Windows workflow to fail.)
OPAM in contrast checks package by package. Can we do that too?

@quernd I added additional fixes for the example code and lower bounds on eio. Once it passes CI I will merge it.
Thanks.

Thanks @tmcgilchrist! I don't know how I missed that, I could swear it was all green 🤔


How to automatically set-applies-to-ID?

Using the button 'Applicate', it puts a Applies-to ID to some ledger entries. How exactly does this function determine, and in which order, which lines to give an ID or not.
And why do the lines need to have the same Dimension/Business Unit?

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

ID: f7234e6b-ccc5-f83c-3fee-b2bc91ff77ba
Version Independent ID: c4efaa94-73c2-0b41-0fe9-47aa8c896b95
Content: How to Apply General Ledger Entries - Business Central
Content Source: business-central/LocalFunctionality/France/how-to-apply-general-ledger-entries.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Hi dennister16,
The Applies-to ID field is only filled in when you choose the Set Applies to ID action. If the field is filled in "by itself", then there may be an error in your solution, which you must contact your Microsoft partner about.
The "Reconcile Vendor Payments Manually" topic in the global help explains the Set Applies-to ID field better, so I have added a link to it from the French topic. The change will be available in approximately one week.
Regards
Soren, Business Central writer


Final

Changelog category (leave one):

New Feature
Improvement
Performance Improvement
Backward Incompatible Change
Build/Testing/Packaging Improvement
Documentation (changelog entry is not required)
Bug Fix (user-visible misbehavior in an official stable release)
Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes

[ ] Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

This is an automated comment for commit 121456c71d130f5e602a874f491aa3d4ed795c57 with description of existing statuses. It's updated for the latest CI running
The full report is available here
The overall status of the commit is 🔴 failure
Check nameDescriptionStatus
CI runningA meta-check that indicates the running CI. Normally, it's in success or pending state. The failed status indicates some problems with the PR🟡 pending
Mergeable CheckChecks if all other necessary checks are successful🔴 failure
Push to DockerhubThe check for building and pushing the CI related docker images to docker hub🟢 success
Style CheckRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report🔴 failure


stylecheck added to linting and issues resolved

Signed-off-by: Ken Sipe<EMAIL_ADDRESS>

resolved merge conflict...


Add 'input parameters' used for recommending SKUs to telemetry

Logging three input parameters (scaling factor, target percentile and enable preview features) which might affect the result of SKU recommendation.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.198%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27753

Relevant Lines:
61529

💛  - Coveralls


Added the header to the LoadBalancerOrigin struct

The header field in the LoadBalancerOrigin struct was missing. The API for the loadbalancer defines the header field.
Description
The terraform-provider-cloudflare relies on this project to be able to implement the Cloudflare API. Since the header field is missing, things like overriding the Cloudflare Loadbalancer Origin's host header are not possible via the provider.
https://github.com/cloudflare/terraform-provider-cloudflare/issues/957
Has your change been tested?
I ran go test . and all tests passed after modifying load_balancing_test.go.
ok      github.com/cloudflare/cloudflare-go     (cached)

Types of changes
What sort of change does your code introduce/modify?

[] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

cheers for this @alam0rt 👏


EMC Link Fluid Mode

Mostly just an idea off the top of my head I've had while playing in a modpack. This would likely not be too hard to implement, and could either involve the same method as current, but assume we're exporting fluids if a bucket is present, or have some way to configure the block to export fluids

Added in latest versions
1.18: 1.0.8
1.16: 1.0.28
1.15: 1.0.27
1.14: 1.0.8


Update Razor.VSCode version to 20190605.1.

These Razor changes align OmniSharp with the 3.0.0-preview6 release.

Hmm, not sure why the travis PR failed

It doesn't look related though

@NTaylorMullen Some of the integration tests are a little flaky. Requeueing


Update pg support

Remove pg versions 1.2 and 1.3, add pg versions 1.4 and 1.5

@matthewtusker i approved this before seeing you had not signed the easy cla.
Any chance you will be able to do that?

Also please take look at the Conventional Commits Validation. I think for this one, fix: would be good.

Per @matthewtusker's notice that the CLA signing process will be delayed for him, I've opened a different PR for the pg versions under test change: #1108.
Thank you for your help, Matthew!


Move main tests to GitHub actions

A job collects coverage, uploads the report as an artifact, and once all matrix entries are done a separate job will download these and use paambaati/codeclimate-action to pass it along to CodeClimate. This action takes care of formatting and summing the reports.
In addition to that, I'm also fixing the spec filters which I forgot about in the other PRs

I tested the coverage upload in my fork and it works. https://codeclimate.com/repos/665735d5079a261d16c9bdef/settings/test_reporter#recent-reports, though I don't think this link is publicly accesible:
https://github.com/Earlopain/rubocop/actions/runs/9289677410/job/25564588844
This should appear for you at https://codeclimate.com/github/rubocop-hq/rubocop, click on test coverage and scroll down to recent reports.

Before submitting the PR make sure the following are checked:

[ ] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[ ] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[ ] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] Added tests.
[ ] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

The CircleCI integration will need to be removed somewhere. Not sure how that would impact existing PRs, or if that is just something that will happen once here.


Please add my high school

Please add my high school file /lib/domains/com/bernardsboe.txt to the repository.

Please add my high school file /lib/domains/com/bernardsboe.txt


⚠ Bofrost.de has degraded performance

In 6a6e39a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1124 ms

Resolved: Bofrost.de performance has improved in 52906ea after 32 minutes.


Repo cleanup, build tweaks and fixes, update README

Cleanup of repo (.gitignore, remove .pyc, add execution bit)
Change location of configuration files
Update README
Renamed VS_KIT variable to WINDOWS_KIT
Removed EXTERNAL_PATH variable

Are we going for Arnold <IP_ADDRESS> then?


Use docker-compose instead of services in testing workflow

Pull Request Overview

Remove SQLALCHEMY_DATABASE_URI from docker local_config.py
SQLALCHEMY_DATABASE_URI is already in BaseConfig and it reads from
the environment variable SQLALCHEMY_DATABASE_URI.  In addition, if the
environment variable SQLALCHEMY_DATABASE_URI is empty or not set, it
would use sqlite in _db/.

Run codegen in run_tasks_for_coverage if docker is installed
We are going to run CI using docker-compose and at the moment docker
isn't installed in the houston container.

Use docker-compose instead of services in testing workflow
Now that we have all services in docker-compose, we can use those
services in the houston tests instead of connecting to external servers.
We also don't need to specify postgresql and redis "services" in the
workflow anymore as they are in docker-compose.

Review Notes

This PR includes commits from #107 and #108.  The commits for this PR are the last 3 commits.  This PR will need manual rebasing after #107 and #108 are merged.

Pull Request Checklist

[x] Ensure that the PR is properly formatted

Example: All lint checks are passing

[x] Ensure that the PR is properly rebased

Example: The PR is rebased on develop (commit: <insert develop commit hash>)

[x] Ensure that the PR uses a consolidated database migration

Example: One database migration is proposed (revision <insert develop revision> -> <insert new revision>)

[x] Ensure that the PR is properly tested

Example: All automated tests are passing

[x] Ensure that the PR is properly covered

Example: The percentage of the code covered by tests has not decreased

[x] Ensure that the PR is properly sanitized

Example: No sensitive data or large content was added to this PR

[x] Ensure that the PR is properly reviewed

/rebase

/rebase

/rebase


Root as Default Exclude Path

Great plugin!  Found this today and installed it, but due to an extremely large vault, it caused obsidian to slow to a halt. So much so that I could not even open settings to change the exclude folder. Had to go to main.js and change the default excludePath there. Perhaps a small quality-of-life update to just exclude the whole vault at first, or only include periodic/daily folder aliases by default ? For instance:
 excludePaths: ["Notes","Bin"],
Thank you for the work put into this! Much appreciated!

Hi @GitM3 thanks for your feedback and I am glad this plugin helps. The blocking issue is a known problem and since some other people also reported it, I will try some async loading technique to tackle the blocking problem. I think make the root path in the exclude paths might confuse some users cuz they will think this plugin is not working when opening a vault if they dont have the context, the same confusion might also happen to the existing users.


Allow calling fetch() in new worker templates

The new-worker templates contain a function called fetch(), which overrides the global fetch(). As a result you can't call fetch API without a workaround like globalThis.fetch(), or by renaming the function.
This MR renames the function.

Hi! Thanks for the PR! I'm going to close this for now, since the templates are written as intended. It should be possible to call fetch from within the exported fetch handler (if you're running into problems with that, please file an issue)


service account authorization doesn't work with domain-restricted App Engine application

b/10865628
My app with projection ID "appscale-staging" gives errors when trying to access data. I did the steps mentioned in
https://developers.google.com/datastore/docs/activate#google_cloud_datastore_from_other_platforms
And when I run a sample script I get the following error (with httplib.debuglevel set to 3):
root@appscale-image0:~# python test.py appscale-staging
connect: (accounts.google.com, 443)
send: 'POST /o/oauth2/token HTTP/1.1\r\nHost: accounts.google.com\r\nContent-Length: 643\r\ncontent-type: application/x-www-form-urlencoded\r\naccept-encoding: gzip, deflate\r\nuser-agent: Python-httplib2/0.8 (gzip)\r\n\r\n'
send: 'grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&assertion=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzNjQxODc0OTA2NDctaHZwMDNiNjE0bGttMmhqb2JscXZuZGI5bDQzNmE2dHNAZGV2ZWxvcGVyLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJzY29wZSI6Imh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGF0YXN0b3JlIGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvdXNlcmluZm8uZW1haWwiLCJhdWQiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20vby9vYXV0aDIvdG9rZW4iLCJleHAiOjEzNzkxMTEwODksImlhdCI6MTM3OTEwNzQ4OX0.P_ePlrb6rDMZiEbgG5k3pU6lxx-5VryaYMK500Ma2-aZseYg-t4Uv6y6MeIQEbv45COv18-K-WOYuTZ0tScy_NXdW7dhfMB75GYeJ_kv8FmScg6bou_3Z6nEayvwy7aUkbig5YCqYkeqtHjB9WCOrNaskfoNAg27-C1TR2wcRFM'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Date: Fri, 13 Sep 2013 21:24:47 GMT
header: Content-Type: application/json
header: Content-Encoding: gzip
header: Transfer-Encoding: chunked
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Alternate-Protocol: 443:quic
connect: (www.googleapis.com, 443)
send: 'POST /datastore/v1beta1/datasets/appscale-staging/beginTransaction HTTP/1.1\r\nHost: www.googleapis.com\r\ncontent-length: 0\r\ncontent-type: application/x-protobuf\r\naccept-encoding: gzip, deflate\r\nauthorization: Bearer ya29.AHES6ZSBVZToloupANihvFflfnNvj1wGExzr8CX-ez7JU9I\r\nuser-agent: Python-httplib2/0.8 (gzip)\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Content-Type: text/html; charset=UTF-8
header: Content-Encoding: gzip
header: Date: Fri, 13 Sep 2013 21:24:48 GMT
header: Expires: Fri, 13 Sep 2013 21:24:48 GMT
header: Cache-Control: private, max-age=0
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Content-Length: 33
header: Server: GSE
header: Alternate-Protocol: 443:quic
ERROR:root:Error while doing datastore operation
ERROR:root:RPCError: beginTransaction Unauthorized.
ERROR:root:HTTPError: 403 Forbidden

In the App Engine app I can go to the "ah-builtin-datastoreservice" version and see I'm getting 200's for BeginTransaction, so it looks like its doing something. Please advise on how to correct this. I have no problem when doing it with a newly created project.

@proppy please whitelist php-hello-world-824 because in the best case I will convince our developer team tomorrow to use app engine and datastore in the future...

/cc @eddavisson

@markus-koehler, I'm happy to help with that. Can you send an email to<EMAIL_ADDRESS>from one of the admin accounts on php-hello-world-824 and confirm that you understand the security implications: if you are using the OAuth API in your application, it will no longer enforce the domain restriction.

This is fixed in Cloud Datastore v1beta3.


Item grouping

Fixes https://github.com/kenshoo/react-multi-select/issues/62
Proposed Changes

Add item grouping feature
Send "withGrouping" to MultiSelect component
Add "group" prop to each item with it's group name

🥇


sw-worker depreciated use Workbox

Do you want to request a feature or report a bug?
Feature request
What is the current behaviour?
If the current behaviour is a bug, please provide the steps to reproduce.

What is the expected behaviour?
If this is a feature request, what is motivation or use case for changing the behaviour?
sw-precache is depreciated. Please switch to workbox for the service worker.
https://github.com/GoogleChromeLabs/sw-precache
https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
Please mention other relevant information.

Node version
npm version
Operating system
CLI version
Browser

HI @brandonkal , Thanks for the issue, the next version of preact-cli<EMAIL_ADDRESS>has already been switched to Workbox.

@prateekbh Awesome! The readme doesn't reflect that change as it still mentions sw-precache.

Oh yeah we might want to update that, thanks

Is there any more information on how it is integrated and how to configure it? We used to use preact-cli-sw-precache but it would appear that it stopped working (I'm assuming because of the change to workbox).
In particular we like to set things like skipWaiting to true... some examples of config would be great!

How do you set this up?

In next version when you setup a project you should be able to find sw.js in your codebase.
You can either directly edit this file or use the plugin we'll write to change the configs for the new sw.
Right now you can copy this file and paste it in your folder to edit it. preact-cli will the file in your source code


consider adding keyword support to inserting

Right now you can either specify the index exactly, or omit it to mean "after the current one". I think it would be nice if there was an option for keywords:
'before' // before the current column/row
'after' // after the current column/row
'start' // at the start of the columns/rows
'end' // at the end of the columns/rows

insertColumn(transform, 'before')
insertRow(transform, 'end')

The 'start' keyword is equivalent to 0, but all of the others are harder to compute in the moment, and could save lots of extra work.

It might be good to expose TablePosition utility somehow https://github.com/GitbookIO/slate-edit-table/blob/master/lib/TablePosition.js


Simplify handling of command buffer usage flags

[x] Added an entry to CHANGELOG_VULKANO.md or CHANGELOG_VK_SYS.md if knowledge of this change could be valuable to users
[x] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR.
[x] Ran cargo fmt on the changes

This PR renames the command buffer Flags enum to CommandBufferUsage, and trims down the number of constructors on AutoCommandBufferBuilder by including a CommandBufferUsage parameter. I also removed the new constructor, which was an alias for primary anyway. Finally, I updated/improved some documentation here and there.

@Rua Thank you for refactoring. Good job! Merged :)


WebScrobbler - Documentation Issue

Describe the bug
When attempting to follow the webscrobbler documentation I was receiving no-configured sources and/or syntax errors.
To Reproduce
Steps to reproduce the behavior:

Create a configuration based, single user config from here
Attempt to start the app
Receive warnings about no configured source when playing.
Reconfigure based on the multi-user documentation with slugs.
Receive schema warnings and app does not fully load.

Expected behavior
The app should launch and not have schema errors, and receive webhooks from a valid source.
Versions (please complete the following information):

multi-scrobbler: 0.6.1 on docker

Additional context
This appears to be resolved by updating the config to:

Not nesting the slug under data as shown in the multi-user example.
Including the type of webscrobbler (not noted in the docs, I saw it in the commit code

Here is my working config:
    {
      "type": "webscrobbler",
      "name": "WebScrobble",
      "slug": null,
      "clients": [],
      "data": {
        "whitelist": [],
        "blacklist": []
      }
    },

In addition to this the environment variables like WS_ENABLE don't actually do anything. If you search for them in the code the only reference to them is in the documentation so as far as I can tell they never actually used. The entire WebScrobbler section needs updating.

In addition to this the environment variables like WS_ENABLE don't actually do anything. If you search for them in the code the only reference to them is in the documentation. So as far as I can tell they never actually used. The entire WebScrobbler section needs updating.

In addition to this the environment variables like WS_ENABLE don't do anything. If you search for any of them in the code, the only references made to them is in the documentation. So as far as I can tell they never actually get used. The entire WebScrobbler section needs updating.

You are correct in that there was a discrepancy between what was shown in webscrobbler.json and in the multi-user config, but either one should have worked without issue. slug should be in data but it is an optional property and should not cause schema warnings. I was not able to reproduce your issue when using MS setup with config/webscrobbler.json
Were you using the example data found in webscrobbler.json but in sources in the all-in-one config (config.json)? This is the only area where type is required. If you were using webscrobbler.json directly in your config directory it is not necessary to include type.
MS with All-in-one config
/config
  --> config.json

# config.json
...
  "sources": [
    {
      "name": "MyWebScrobbler",
      "type": "webscrobbler", // <-- type is required
      "data": {
        "slug": null,
        "whitelist": [],
        "blacklist": []
      }
    }
  ],
...

MS with Specific file configuration
/config
  --> webscrobbler.json

# webscrobbler.json
[
  {
    "name": "MyWebScrobbler",
   // No type required because MS recognizes the file as specific for webscrobbler
    "data": {
      "slug": null,
      "whitelist": [],
      "blacklist": []
    }
  }
]

@TheFeelTrain thanks for catching the ENV discrepancy. It has been updated to match what it is found documentation and available now on the develop branch/image

Fixed in 0.6.3


@JuliaRegistrator register() v5.0.4

@JuliaRegistrator register() v5.0.4

Registration pull request created: JuliaRegistries/General/1231
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v5.0.4 -m "<description of version>" 65e61057752cbc6aa10a27e3d31eb2462a53bae8
git push origin v5.0.4


Resource delete cleanup

Can one of the admins verify this patch?

@hyi This should fix the error we are seeing with the test branch that uses Django 1.8. Can you review it so that @mjstealey can continue with testing of Django 1.8?

+1


Minimum Viable Product for generate Reports

**** Check that the Pr Creates A Ba chart and a Pie chart Regards to data tables produced by the queries
**** Check that an email is sent to technical support for the same

Get rid of the Business Exceptions Present in your workflows

Removed all of them on visualize


Print public key from a keyset in Tinkey

If you want to use asymmetric primitives, there's doesn't seem to be an easy way to get the public key from a keyset. For example, if I want to distribute the public portion of a an asymmetric key, for use in another Tink-compatible program, I would have to write a custom program to do so, it would seem....unless there's some option I'm missing.
I have something that does the trick, but it seems like something like this could be build into tinkey.
import os
import sys
import tink
from tink import hybrid
from tink import cleartext_keyset_handle
hybrid.register()

if len(sys.argv) < 2:
	print("Usage: get-pubkey keyset.json")
	os.exit(1)

tink_keyset = sys.argv[1]
with open(tink_keyset, 'r') as f:
	json_keyset = f.read()

# Get a key handle for the private key
reader = tink.JsonKeysetReader(json_keyset)
kh = cleartext_keyset_handle.read(reader)

# Get a public key handle from the private key
pub_kh = kh.public_keyset_handle()

# Write public key to stdout
writer = tink.JsonKeysetWriter(sys.stdout)
cleartext_keyset_handle.write(writer, pub_kh)

There is the create-public-keyset option in Tinkey, which allows you to create a public keyset from a private one.

 Thank you :)


[WIP] [Whitelisting] Root branch

@mudrila can we get this branch merged into develop, with whatever necessary feature-flag-gating needs to be added to keep the new ui out of the eyes of users?


Race condition when publish event

Description :
currently this app only allow user to publish 3 event, but there is race condition when creating event with published status, this vulnerability make an user can create published event more than limit.
Severity :
Medium (6.5) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Impact  :
an user can create published event more than limit.
PoC :
send 100 request to POST /api/events/create with this configuration :

concurrentConnections=10
requestsPerConnection=100

as you can see, i got 10 request with 200 status code, which mean i successfully publish 10 event

*note : on this screenshot show 11 event, this because i already create 1 event manually.

FYI @tyohan

@dudecmiiw thank you for reporting the issue. Our team is looking into it.


merge from template-arlac77-github

package.json

chore(scripts): add tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types -t esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs (scripts.prepare)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.791%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
112

Relevant Lines:
119

💛  - Coveralls


SelectedItem property in Lookup

To help us process the issue more efficiently, please provide the following information:

Specify the version of the devextreme-angular and devextreme packages you are using.
devexteme version: 17.2.5
devextreme-angular version: 17.2.5

Specify the type of the issue (check one with "x"):
[X] bug Report
[ ] feature request
[ ] support inquiry

Greetings.
In the documentation for Lookup the SelectedItem property is specified. But it's missing in the dx-lookup when I try get it from event's 'component' property.
Now the only way to access this property is to use "component.options('selectedItem')"
Can you please, add this property to Lookup.
Thank you in advance.

You are getting the correct behavior. The component option in a component event references a DevExtreme widget instance rather than the DxLookup Angular component. It's correct to use the option method to obtain a DevExtreme widget option value. If you need to access our Angular component instance, you can do this using the Angular ViewChild directive or by assigning a template reference variable to an Angular component markup element as described in the Accessing a DevExtreme Widget Instance.
<dx-lookup (onValueChanged)="onValueChanged($event)"></dx-lookup>

onValueChanged(e: any) {
  console.log(e.component.option("selectedItem"));
}

<dx-lookup #lookup (onValueChanged)="onValueChanged(lookup.selectedItem)"></dx-lookup>

onValueChanged(selectedItem: any) {
  console.log(selectedItem);
}


Simplify creation of PagedIterables from requests

This change eliminates a whole bunch of cruft from the creation of PagedIterables. Dependent on Java 8+ closures.

@martinvanzijl
What do you think of this?

@bitwiseman
I like it - it looks a lot neater!
Do you want me to do a formal review on GitHub? If so, just that one change for listMyAuthorizations() or all changes?

@martinvanzijl
Between your Authorization test and a few other tests that interact with PagedIterable, I'm pretty confident that the basic idea is sound.  I've been exercising my admin power to get stuff in, but this is a significant enough change that I wanted at least one other person to look it over.
 I feel you're familiar enough with the project to do that in a meaningful way.
Thanks!


demo and released model give different results

Hi!
Is it possible that the published model and the demo are different versions? For example for the sentence "No noted vomiting, diarrhea.", I get ABSENT in the demo and PRESENT in the published model.
Thanks in advance 🙏

I noted the same thing. Is it possible the model in hugging face is not the latest version of the model? Thanks


StackNavigator[screenb,TabNavigator] screenb reset TabNavigator ,the params get undefined

const resetAction = NavigationActions.reset({
  index: 0,

  actions: [

        NavigationActions.navigate({routeName: 'ScreenA', params: { foo: 'bar' }})

]

})
this.props.navigation.dispatch(resetAction);
It can get the value by the way of 'this.props.navigation.state.params.foo'
But ?
if screenA in tab, that is, screenB reset TabNavigator, I cann‘t get the value of the past
so ,I have a look for the solutions  #2073

MainStackNavigator
ScreenB
TabNavigator
it does not work for me ScrenB reset TabNavigator by the "The way?"
reset: (props, routeName, paramsValue) => {
console.log(The params--------->${JSON.stringify(paramsValue)});
const resetAction = NavigationActions.reset({
index: 0,
actions: [NavigationActions.init({
routeName: routeName,
params: paramsValue
})]
})
props.navigation.dispatch(resetAction);
}
it‘s wrong

How can I do ?
Your Environment

software
version

react-navigation
"^1.0.0-beta.19"

react-native
0.50.2

node

npm or yarn

Closing because you haven't followed the issue template; please open a new one that follows the template.
Without that, it's nearly impossible to understand & investigate the issue. I suggest you also try (in the new issue) to answer/explain in a way that fits these questions:

does it happen only on Android/iOS?
does it happen on both Debug and Release modes?
does it happen with Debugger On or Off? Both?
Can you provide a GIF or a repo or a snack to reproduce this issue?


Upgrade trestle

I've done the change and tested that the delete methods are loaded correctly.

Thanks for the contributions @McRipper, I appreciate your effort!

Great work! I suggest to do a release soon, because this is required to upgrade Trestle-apps to fix the kaminari security issue CVE-2020-11082.

@all-contributors please add @basharabdullah for bug
@all-contributors please add @McRipper for code

@all-contributors please add @McRipper for code

@all-contributors please add @basharabdullah for bug


update chlog after 2.0.6 and 2.0.7

What does this PR do?
regular update

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

just curious that we have still some items in the fixed, does it mean we have not picked these changes for past releases or we track them as fixed even they have not been ever released (living only in master) :thinking: @carmocca @awaelchli

A mix of reasons I suppose: Some fixes were coupled to features where it was cumbersome to cherry-pick them out. Others were labelled for 1.9.x and weren't picked. I haven't looked at the list in detail.

Others were labelled for 1.9.x and weren't picked. I haven't looked at the list in detail.

It could be, but in general, I was opening almost all PR with entries in the ### Fixed section before picking and skipping only these with milestone 2.1... said we have not done any LTS / legacy 1.9.5 for a while...


Trying to parse data created by js

hey, I need to get urls of images created by java script on page. but document returns in html only "&quot", is there a way to get it by JSoup?

jsoup does not execute Javascript. It is a HTML parser.


improve Kredis::Types::List

Several List improvements.

allow to pass range to List#elements.
add List#size and List#first.
fix List#last to return typed.

any chance someone can review it?


Multicompiler & new logging

Fixes #268
Summed up

Razzle now uses webpack's multicompile feature, giving us the additional free bonus of seeing server compilation errors from our browser automatically too.
With the power of ink we now display the validity of both targets at all times, which makes for much quicker glancing.
Virtual console, managed by ink-console. We need this because we need to be able to re-render the status indicators.
Console only gets cleared before compiling, not after finishing compiling (like before, where you'd possible lose valuable information)

Decisions made

A new webpack plugin was written to output server files to the build folder
This had to be done because webpack dev server outputs files to it's own virtual filesystem, which makes sense, but this makes it impossible to launch our server, therefore we still needed a way to write files to disk, of which this seemed to be the best choice.
razzle-dev-utils/webpackHotDevClient.js was slightly modified to only accept hot updates if the client hash changes (first 20 chars of the total hash)
razzle-dev-utils/hijackConsole.js was added to the server entry points.
In order for the virtual console to work, ink-console overrides all console.* calls with it's own.
However, StartServerPlugin uses the cluster node module, which runs the compiled server as a separate process, meaning our custom console calls never get called.
This was solved by injecting hijackConsole to the entries which communicates console calls back to the master process (aka razzle) through process.send.

Addendum
Besides server compilation errors, it'd be really cool if we could get runtime server errors to show up in the browser as well.
I think this PR paves the way for that too!
Screenshots
Warning state

Error state

Loading state

Epic. Will try this out either tonight or tomorrow

I'm looking forward in seeing this in Razzle, is there something i can do in order to help?

Same here! Still waiting for @jaredpalmer to review.
I'm seeing it has merge conflicts by now as well too, but I'll probably resolve those together with jared's feedback.

Wow, can't wait for this. Now that the two compilers and combined - can one use https://github.com/FormidableLabs/electron-webpack-dashboard as well?

@paramaggarwal Yea, I think so. You're more than welcome to check out my branch and test it out.

@jariz Been procrastinating far too long on this. Cloning and review meow

Wonder if this has to do with my bash prompt but ora doesn't seem to be working exactly as expected. See screenshot below.

Hm, weird.

Hi, could someone please summarise current situation here. Thanks.


Update annotations.xml

Removing yahoo news (syndicates lots of articles from unreliable sources) and Fox News (rated no consensus as a perennial source since ~2020)

Maybe send a pull request to remove fox.com too?


Computer keeps on attacking the opposite king

Computer keeps on attacking the opposite king, even with bad moves.
In the sequence 1. Nc3 b5 2. Nxb5 c6 it plays Nd6? If the game continues, the program still seems to over excessively target the black king. For example in the sequence 1. Nc3 b5 2. Nxb5 c6 3. Nd6 ed6 4. d4 Be7 5. e4 Nf6 6. Bc4 O-O, it plays Bxf7+?

Fixed with Update 2022-07-03.
The problem was that the computer thought it would mate the opponent since the Mate_Found variable was tru because the Human_Move_Found was always set to false. Added code Human_Move_Found = true; in Analyze_Move_1_HumanMove when a legal move is found. In that way the computer will understand that there is no mate possibility if there is a legal move found.


Allow caching between multiple invocations of MessageMarshaller.builder().register()

Hi @chokoswitch :wave:,
I was doing some startup optimization work on our server, and it got me thinking whether it would be possible to make it an option to enable caching of creating TypeSpecificMarshallers?
To be precise, whether a static field similar to private final Map<Descriptor, TypeSpecificMarshaller<?>> preBuiltParsers;  could be added? Something like:

private static final Map<Descriptor, TypeSpecificMarshaller<?>> preBuiltParsersLibrary = new ConcurrentHashMap<>();

// usage something like, not 100% how the code structure should look
preBuiltParsersLibrary.computeIfAbsent(descriptor, descr -> buildMarshaller(prototype, includingDefaultValueFields
fieldsToAlwaysOutput, preservingProtoFieldNames, ignoringUnknownFields, printingEnumsAsInts, sortingMapKeys);
}

In our case we have multiple places where we create a MessageMarshaller, and we often register the same classes, or classes which have common fields, and I notice at startup we are generating TypeSpecificMarshallers for the same Descriptors multiple times. So a shared library would speed things up as ByteBuddy always takes some time.
Thanks!

Hi @C0mbatwombat - sorry for the late response. Just to check, around how many MessageMarshaller instances do you have? And would you be able to give a try to a custom build you make with the static map to see how impactful it is on your startup time? I'd like to understand how significant the improvement could be.
The biggest issue is I think it's important for the generated marshallers to be GC'd when the MessageMarshaller is, they are scoped to it at least in terms of the API usage. I think this would still be possible with some reference-counting or weakmap approach though would be a bit nervous. I think it can be worth trying though if you see potential for a good speedup

Hey @chokoswitch , no worries of course, thanks for the thoughtful reply. I understand the issues you see. I will try to do a test at some point (might take a while because I need to find some time).
Another solution could be that a caller can provide a map that is then set in the preBuiltParsers variable?
Something like
Map<Descriptor, TypeSpecificMarshaller<?>> sharedMarshallers = new ConcurrentHashMap<>();
MessageMarshaller.builder(sharedMarshallers).register(<type>)..

If I make the sharedMarshallers a static field it could be reused across multiple builders. I'm not sure if it is a good idea in terms of how the API looks. And it does give the user a footgun which might not be the best idea.
Thanks!

Thanks @C0mbatwombat - yeah additional API could be a way that is explicitly opt-in to the behavior, but as you say it's a bit of a tricky method, just in a general sense methods that accept a Map almost always copy from it rather than reuse it. So it would need careful naming / documentation.
A more automatic approach, if possible, would be better and I realized actually it shouldn't be too complex - I was thinking of needing to keep track of MessageMarshaller, but really just a weak map should work fine. Will play with the idea.

@C0mbatwombat I implemented an automatic cache in #39. Could you give the snapshot a go? If you're able to do a bit of stress testing, that would be great as the change ended up a bit more complicated than I thought, especially the cache key being Descriptor+marshalling options, not just Descriptor. But if you're able to measure startup speed before and after, that would be really helpful!

Hi @chokoswitch , sorry for the slow reply! I have tried it locally, and it works, but I can't really pin down whether I see a lot of speedup. Then again I have a hard time profiling it on my server. When I initially reported the issue I took some stacktraces and saw the ByteBuddy compiler often during startup, but again I have a hard time pinning it down. I do see the cache being hit but the startup takes around the same time as earlier. Sorry for the vague feedback.
Generally I think the change is nice and results in speedup, so it would be nice to keep it in!

Thanks for verifying @C0mbatwombat I've gone ahead and released a new version with the change.


Optimising the generated HTML output

[x] This is a feature request or enhancement.
[x] I am using the latest version of the theme.
[x] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.

Environment information

Minimal Mistakes version: 4.10.1
Jekyll version: 3.7.3
GitHub Pages hosted: yes
Operating system: macOS 10.13.3

Michael, I really want to compliment you on a truly amazing job you've done with this theme. I've worked with a number of CMS' in the past, which includes WordPress, Joomla, Drupal, Jekyll and more recently Grav. Grav has become my preferred choice but after installing your theme and working with it I am gobsmacked by how powerful Jekyll is.
Your theme has really brought out and showcased the power of Jekyll but more importantly, I have never worked with a theme that is so simple, yet so powerful in execution. I really am blown away by both Jekyll and by you and what you've done. You have inspired me and I've spent the last 48 hours or so, almost non-stop, working with your theme and setting up my site. It's fantastic.
I have noticed however that due to the modularity and flexibility of the theme the outputted HTML is a bit messy. This is understandable as it is fragmented and trying to output neat HTML is nigh impossible given how configurable the theme is.
I have a proposition which I want to run by you first before implementing and submitting a PR as I don't want to waste either of our time. As I've been going through the site I have been optimising the generated HTML and so far so good.
To give you an example, here is the Archive source code of the MM demo site:

The following is my Archive source code on my site that I've been cleaning up.

As you can see, mine is nowhere near perfect but it is improving on the outputted HTML generated by Jekyll. In addition, I'm only a short way in with the head elements and there is a lot of work to (a) get this right and then (b) get the body and other areas (footer, nav, etc.) to a point where the output is neater than current.
My proposition is for me to make a best-effort attempt at cleaning up the output so that there are less white-space and line breaks and try to get the output as clean as humanly possible. I am going to do this irrespective but my question to you is would you like me to fork, fix and PR this type of change or should I just focus on this for myself? In other words, is there value in you receiving a PR with this type of change or not?
Let me know.
Cheers,
Justin
PS: Thank you for your work. It is inspiring.

Thanks.
I think where it makes sense then sure submit a PR with cleaned up whitespace and indention. For the most the source should be pretty clean.
Though likely what you're seeing is the product of Liquid. Things like {% for %}, conditionals, etc. don't collapse and that accounts for all the whitespace and screwed up indentation in the outputted HTML. Liquid 4 has a way to collapse the whitespace now so I'd be interested in PR's that help with that.
That said I'm not super concerned about the whitespace. Anyone who cares about page performance should be minifying their HTML anyways to strip out all whitespace and get the file size down. As long as the source is readable that's mainly what I'd like to see upheld.

Yes. Liquid makes the output dirty. The source is clean.
I had no idea Liquid 4 could do this. I'm happy to explore this route and see if I can add value on that front. I'll play around and see what I can do and if I feel I can add value with a PR I'll go ahead and do that; based on being able to control the whitespace output.
You don't have to leave this issue open. I was trying to get some insight into your thinking and roadmap so I now know what will add value.

Sounds good.


SKGLView rendered over MasterDetailPage [Android]

Hi!!!
When i try to use the SKGLView with the MasterDetailPage the canvas is drawn over the Master page.
Currently i am using the MasterBehavior="Popover" behavior for the Master page.
The problem is present only on Android and it vanish if you start the application with the property IsPresented="True" in this case all works like a charm
Attached you can find the test project. In the test i am using Prism but the same problem is present also without it.
TestSKGL.zip

This is an issue with Android as an OS, and I need to make use of the new TextureView: https://github.com/mono/SkiaSharp/issues/263


Gradle Wrapper Jar checksum mismatch on Debian-based distributions

Expected Behavior
Checksum matches officially published checksum. It might differ due to changes introduced by Debian packagers. If so, it should be mentioned in Gradle Wrapper documentation (under Checksum verification section).
Current Behavior
Checksum does not match. It might differ due to changes introduced by Debian packagers. There is no way for users of Debian-based distributions to verify checksum.
Context

Generating Gradle wrapper, want to verify checksum of jar.

Steps to Reproduce

In Debian-based distribution run gradle wrapper
Check sha256sum of generated jar.

Your Environment
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"

$ gradle --version
------------------------------------------------------------
Gradle 4.4.1
------------------------------------------------------------

Build time:   2012-12-21 00:00:00 UTC
Revision:     none

Groovy:       2.4.16
Ant:          Apache Ant(TM) version 1.10.6 compiled on July 11 2019
JVM:          11.0.5-ea (Ubuntu 11.0.5-ea+10-post-Ubuntu-0ubuntu1)
OS:           Linux 5.3.0-24-generic amd64

$ gradle wrapper
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
$ sha256sum gradle/wrapper/gradle-wrapper.jar
803c75f3307787290478a5ccfa9054c5c0c7b4250c1b96ceb77ad41fbe919e4e  gradle/wrapper/

Sorry, we don't support the Debian Gradle package.
Please install Gradle with one of the ways that install distributions we build.


Eventually / Consistently?

I'm coming from ginkgo/gomega.  I still use those at work, but I just can't bring myself to use it at home.  I don't trust libraries that hide so much of how go test works behind weird black magic, nor anything with as many aliases as gomega has (I came from python, so I like there to be exactly one obvious way to do any given thing).
That said, I do miss some of that functionality from time to time.  Right now, the one I'm missing the most is consistently/eventually - e.g. expect(func() int { return time.Now().Unix() % 10 }).To.Eventually.Return(7) and expect(func() int { return 3 }).To.Consistently.Return(3), maybe include Receive and Have.Len for channels (although Consistently's Receive should only work for checking that a channel does not receive - checking that a channel consistently receives just doesn't make sense).  What would you think of supporting that, @a8m?
I can write it (the functionality isn't really too hard), but I didn't want to go that route if it's more complicated than expect is aiming for.

This is starting to seem silly - it would complicate an otherwise very simple library.


fix(stats): add backup case for gas_price=null

Fixes #976

made a release from this branch since we don't want to include latest changes into release; must merge before 2.0.0 (but later)


No signature of method: org.gradle.api.internal.tasks.RealizableTaskCollection.configureEach

> Failed to apply plugin [id 'com.jfrog.artifactory']
   > No signature of method: org.gradle.api.internal.tasks.RealizableTaskCollection.configureEach() is applicable for argument types: (org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase$_addModuleInfoTask_closure1) values: [org.jfrog.gradle.plugin.artifactory.ArtifactoryPluginBase$_addModuleInfoTask_closure1@3a86c166]

This error randomly appeared after the latest version of the build-info-extractor-gradle release. 4.15.1 does not have this issue.
https://github.com/jfrog/build-info/compare/build-info-gradle-extractor-4.15.1...build-info-gradle-extractor-4.15.2
I'm unable to figure out why it happens, so i've included the build.gradle, maybe you can figure it out.
buildscript {
    repositories {
        jcenter()
        maven {
            name 'forge'
            url 'http://files.minecraftforge.net/maven'
        }
    }
    dependencies {
        classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.15.2"
    }
}

apply plugin: 'com.jfrog.artifactory'

This code already triggers the exception. I think its related to the gradle version, which is 4.4. Updating to 6.3 through gradlew wrapper --gradle-version 6.3 did not help.
FAILURE: Build failed with an exception.

* What went wrong:
java.lang.ExceptionInInitializerError (no error message)
> org.gradle.api.internal.file.DefaultSourceDirectorySet.<init>(java.lang.String, org.gradle.api.internal.file.FileResolver, org.gradle.api.internal.file.collections.DirectoryFileTreeFactory)

Just seconding the post. The project I'm trying to build is https://github.com/jfrog/project-examples/tree/master/gradle-examples/gradle-cache-example

You can downgrade to 4.15.1 to fix the build

You can downgrade to 4.15.1 to fix the build

same problem and spend around 2hrs to fix this

@atul9911,
Did you upgrade your gradle version to fix this issue? If so, which gradle version did you use before?
As far as I understand the issue is related to the usage of old gradle APIs.
Thanks

All -
I believe that upgrading the Gradle version used resolves this issue. The minimum supported Gradle as of today is 4.10.


☂ Support for Background Isolates

This umbrella issue describes the current support of Background Isolates (announced as of Flutter 3.7) with FlutterFire.
The current implementation of Background Isolates only supports Flutter->Host and not the other way around. It means plugins that need to communicate back to Flutter will not work yet with Background Isolates.
Current support:
🚧 cloud_firestore (works but some errors when hot reloading, no support for subscribing to documents)
✅ cloud_functions
❓ firebase_analytics
❓ firebase_app_check
❓ firebase_app_installations
🚧  firebase_auth (some functions not available - verifyPhone)
✅ firebase_core
❓ firebase_crashlytics
🚧  firebase_database (works but some errors when hot reloading, no support for subscribing to documents)
❌ firebase_dynamic_links
❓ firebase_in_app_messaging
❓ firebase_messaging
❓ firebase_ml_custom
❓ firebase_ml_model_downloader
❓ firebase_ml_vision
✅ firebase_performance
❓ firebase_remote_config
❌ firebase_storage
Legend:
❓ = Not yet tested
✅ = Works
🚧 = Works partially
❌  = Doesn't work

How to know if it doesn;t work, is there any error occured?

@ariefwijaya Yes, if it doesn't work, you'll get an error.

Oh, sorry but I tried and firebase_storage worked in isolate. I use it to download file using  await firebaseStorage.refFromURL(url).writeToFile(existFile); @Lyokone

@ariefwijaya Did you try with RootIsolateToken?

@Lyokone
I'm using WorkManager to work in isolate

@ariefwijaya As pointed in the issue, this thread is for tracking support of Flutter own Background Isolates

Currently, we rely on both ways communication. As long as Flutter will not provide communication from the host to Flutter, it will probably stay in this state.

Currently, we rely on both ways communication. As long as Flutter will not provide communication from the host to Flutter, it will probably stay in this state.

I understand the underlying issue but this doesn't seem to be documented anywhere in the Flutter packages.


The problem of batch size

Thanks for sharing your code. When I run your code with one GPU, I set the batch size to 1. However, I find the performance decreases. Could you give me some advice? Thank you very much.

@AmingWu Hi, I haven't tried to train the model with total batch_size = 1. But did you set the learning rate following this rule:

Important: The default learning rate in config files is for 8 GPUs and 2 img/gpu (batch size = 8*2 = 16). According to the Linear Scaling Rule, you need to set the learning rate proportional to the batch size if you use different GPUs or images per GPU, e.g., lr=0.01 for 4 GPUs * 2 img/gpu and lr=0.08 for 16 GPUs * 4 img/gpu. (Cited from mmdetection.)

If lr is still 0.02, this could be a problem. And what performance did you get?

OK，I have use a Single GPU to train the model.  python tools/train.py configs/bags/gs_faster_rcnn_r50_fpn_1x_lvis_with0_bg8.py. This is the result.

The result is lower than your reported result.


Add ClearColor Resource to Pipelined Renderer

Objective

Allow the user to set the clear color when using the pipelined renderer

Solution

Add a ClearColor resource that can be added to the world to configure the clear color

Remaining Issues
Currently the ClearColor resource is cloned from the app world to the render world every frame. There are two ways I can think of around this:

Figure out why app_world.is_resource_changed::<ClearColor>() always returns true in the extract step and fix it so that we are only updating the resource when it changes
Require the users to add the ClearColor resource to the render sub-app instead of the parent app. This is currently sub-optimal until we have labled sub-apps, and probably a helper funciton on App such as app.with_sub_app(RenderApp, |app| { ... }). Even if we had that, I think it would be more than we want the user to have to think about. They shouldn't have to know about the render sub-app I don't think.

I think the first option is the best, but I could really use some help figuring out the nuance of why is_resource_changed is always returning true in that context.

bors r+


Make a browser version of the library

Fixed with 1a43239069989ec224563e3661974e56c19b640e and 89750e5b61090c9e1f54473381acc6ee9d9af9c4
result: https://github.com/moul/node-onlinelabs/tree/master/browser


Logo?

I was thinking a png icon along the lines of:

BTW, I'm not really that great at drawing, so any other icons would be great!

My take on a logo.

That looks neat, though I think it would prefer it if the black bars on the length had more equal lengths.

I like it. Especially since Matz decided to stay with plain pipes. Also, it has a cool Asian-ish-ness.

Maybe you could merge 川 and m;

FYI anyone that doesn't know 川 means stream or river. I like the idea,
perhaps there is a font though that is more regular in size for the 3 bars.
On Fri Jan 16 2015 at 4:27:14 AM Shunsuke Aida<EMAIL_ADDRESS>wrote:

Maybe you could merge 川 and m;
—
Reply to this email directly or view it on GitHub
https://github.com/matz/streem/issues/57#issuecomment-70203355.

When I get a chance I'll fix the height of the bars and some of the spacing problems I have with it. It was a quick mock-up while I was at work.

@nicolasmccurdy +1 for your logo

Revised the logo a bit, changed the pipe heights and fixed some spacing/sizing issues

Would having equal pipe lengths look weird for being confusing to someone who reads Japanese? We could also try using a different typeface for the Japanese character.

Also +1 on what @shunsukeaida suggests. Would be intresting to see what the 川 character looked like as an m replacement.
Like: stree川

Some variations (I don't think I like 川 as the m)

With a smaller 川 it's slightly better

I think replacing the m with 川 is way too confusing, it's not obvious that it's supposed to be m. We could try adding lines connecting them on top, but I think that defaults the purpose of it. I prefer the logo on the left.

I agree. The logo with the three bars on the left is better.

@halogenandtoast I'm starting to really like the idea of having a 川 logo, and I want to try it out with my design. What font did you use?

I just realized that the logo font looks like Hiragino Kaku Gothic Pro W6.

How about something like this?

Maybe it depends on each cultural roots, but for me, 川 is more than just three bars. It can easily read as Kawa-Streem, so we should carefully separate it from the rest of chars (that is "Streem"). In short, we shouldn't make it recognizable as a Kanji char at the first glance.

Puts it into behind of "Streem"

Use a different font, color, opacity than "Streem"

Merge 川 with m

was my original suggestion, and I either didn't think replacing m by 川 would work. Rather, a 川 with the arches between bars.

I'm terrible at photoshoping, so sorry for no actual sample offering.

I agree with @shunsukeaida but also can't offer any samples.
I think the typography of the word itself on @nicolasmccurdy 's is better. This one:

I like the idea of incorporating 川, I think it looks confusing replacing the m, and agree that it makes it read like kawa streem.
I think a slightly altered version of 川　(the ones here look more like serif fonts) that fits the feel of the font of @nicolasmccurdy 's contribution and merges into the m. I'd like to see it with the same color, but also with contrasting color/opacity etc to see if it stands out and reads in a nice dual clever way, rather than a slightly contrived bolted-on bit of Japanese-ness.

I am sorry but I am not going to use the character 川 in the logo.  Maybe it appears cool for non Asian people, but it hurts my eyes.

Alright. Should we just use a | (pipe) for the icon, or do we have any other ideas? We could always not have an icon and just use "Streem", possibly with "a stream based concurrent scripting language" as the subheading.

@matz Also, do you think the issue with 川 could be remedied with a different Japanese font?

@nicolasmccurdy I wouldn't agree if 川 is in predefined font. If it's designed in like carigraphy, it might be acceptable. For the time being, I prefer just "Streem" maybe with "|" (pipe).

How about these?

yeah, that works. I like the second one best.

I agree, I think the second one looks more balanced and fits the theme of the language better.

Here's what I've created, heavily based on @nicolasmccurdy's logo. I've made the pipes the same height as the text though, I think it looks nicer despite it not being how it would actually look. Anyone who wants the svg, just ask

Update, I forgot to middle-align the left pipe properly

Here is a version with no empty space around the image, i.e. like the ones by @nicolasmccurdy

@tech4david :+1:

@nicolasmccurdy glad you like it (even though I kinda just stole yours :D sorry)
@matz any suggestions?

Most programming languages are very easy to recognize due to their colors, so streem should use colors that set it apart.
I chose an elegant grotesque font and used nice color blend.

@dragostis I like where you're going with this.  Best submissions thus far.

This one is nice but IMO the other variations (last two particularly) are too dull - need more colours. Also:

@matz
For the time being, I prefer just "Streem" maybe with "|" (pipe).

Maybe make another version without the >? Nice work though

The alternatives are for different use cases. Here's another version.

@dragostis love it

Hi @matz , I really like Ruby and Streem, and asked my girlfriend to design a logo fews months ago. Now, here it is.

@karmaQ Super :clap: :clap: :clap: :yellow_heart: :green_heart: :heart: :star: :star2:

great work @karmaQ and @dragostis :clap:

@karmaQ Liked!

Wow, it's so professional!

Wow. Tell your girlfriend she did a really great job, @karmaQ!

@jonathanmarvens , I told her :

she was so happy and rewarding, thank you.

Everyone, thanks!
Here is a new one and another is being creative. Which do you like.

this looks similar to http://elixir-lang.org/ logo. this is not  a negative feedback .... appreciated your work a lot........ :heart: :+1:

@ferdinandrosario Yes, similar to elixir's logo, although I don't  think she was know elixir. Another is  coming soon, please wait ~

:clap:

@karmaQ  i like this one

This one is actually my favorite  (despite being a prototype), since a logo of streem should be something dynamic, and others look more like a static drop.

@karmaQ This is a really cool and creative design! I love it! The idea behind it is really sweet.
One thing that I was considering when I did my sketch was to try and use a palette that wasn't used before when choosing the design philosophy behind a programming language. Since GitHub uses colors to differentiate programming languages (ruby - red, Python - blue, Scala - turquoise, JavaScript - yellow), I think Streem can benefit greatly from a differentiating palette which would help consolidate it in the user's minds. Since I really like the current idea, I would suggest trying a few sketches with a different palette and maybe with a typeface added for the logo. (Brandon Grotesque can work here too, but I'm sure there's a better alternative.)

May be we can start from https://en.wikipedia.org/wiki/Yin_and_yang? Some of the functions of this language are similar to those expressed by Yin and Yang

Great design from Yiling. I like the 'S'-like one most 👍


importing JSON files

I’m familiar with modifying rollup.config.js and registering a plugin to support importing .json files. If I use svelvet, will my .svelte files be able to import .json files like this?
import someData from ‘./some.json’;

This I think is actually possible if you add a babel.config.js to your project and use a plugin like  babel-plugin-inline-json-import.
Make sure you copy this babel.config.js as your starting point.
Note that svelvet was designed to not run your code through any bundler process... so we don't have css/json/image loaders built in. But since we do run all code through babel, this case happens to be possible 👍

@jakedeichert I'm not getting this to work. I have a basic example at https://github.com/mvolkmann/svelvet-demo/tree/master. I think my babel.config.js is correct. The file src/App.svelte imports a JSON file. When I run npm run dev I get this error:
Failed to transform with babel: dist/App.js
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string.  On this line, fileLocation is undefined for me.
This plugin looks pretty simple.. i may find time to debug it tomorrow unless you beat me to it :)
You can probably copy/paste their source file and then add that to your babel config to debug it locally. Pretty sure that is possible at least

I can fix the plugin by adding one line, but I don't understand it. Here is my updated requireModule function from that plugin. Note the line with "RMV" in the comment:
function requireModule(moduleName, state) {
  var fileLocation = state.file.opts.filename;
  var filepath = null;

  if (!fileLocation) fileLocation = 'src/whatever'; // RMV added

  if (fileLocation === 'unknown') {
    filepath = moduleName;
  } else {
    filepath = _path2.default.join(_path2.default.resolve(fileLocation), '..', moduleName);
  }

  if (filepath.slice(-5) === '!json') {
    filepath = filepath.slice(0, filepath.length - 5);
  }

  return requireFresh(filepath);
}

Surprisingly no, “whatever” is not a real directory. That gets ignored for some reason. But if I leave that off then it doesn’t work. Very odd.

So i think your fix kind of works because the code:
filepath = Path.join(Path.resolve(fileLocation), '..', moduleName)

Takes your fileLocation (src/whatever) and goes up one directory with .. which results in just src/ remaining. Then it finds the json file relative to that it seems... but it may break if you do a relative import lower down in your directory tree.

I have a fix for this coming.. need to adjust svelvet.

Think I fixed this! That plugin was depending on babel knowing the filename.. but svelvet never provided that to babel in the first place.
Just released v0.3.6 which now tells babel the path to the file being processed. Tested locally and that babel json import plugin should now work 👍

@jakedeichert Excellent! Thanks for fixing this!


IsInt vs IsNumeric

Both the IsInt methods and IsNumeric methods seem to be doing the same thing. This might be okay for JS, but in C#, at best, it's just a little redundant, but at worst it's misleading. Should the IsInt implementation(s) be changed, or should IsInt just be removed?

I could see it, perhaps IsInt() should just return Int32.TryParse()? I'd be open to reviewing a PR covering this issue.

That makes sense to me, but I wanted to get guideance from you before I started work on anything. Any concerns about this being a breaking change for the API?

My feeling is that a breaking change is acceptable here as there is another method that will remain behind. Go ahead and try it out.


Uncaught TypeError: _.where is not a function

Hello there,
I imported Underscore in the following way.
Import _ from 'underscore'
But when calling the .where method I get a Uncaught TypeError: _.where is not a function error.
Example code:
Var people = [
     {Name: "Tom", age: 21},
     {Name: "Tom", age: 22},
     {Name: "Tom", age: 22}
];
Var found = _.where (people, {age: 22})

Version: "underscore": "^1.8.3"

Please use StackOverflow or the gitter channel for debugging help.


Create quickstart-load-balancer-standard-public-terraform.md

Created a quick start tutorial for deploying Azure Public Load Balancer using Terraform.

#sign-off


[BUG] SearchAsync method fails with 403 when SearchClient is created by passing index and tokenCredentials (new DefaultAzureCredential()) param

Library name and version
Azure.Search.Documents 11.5.1
Describe the bug
The SearchAsync method fails with 403 when SearchClient is created by passing index and tokenCredentials param. But it works fine when AzureKeyCredential is used.
I am owner of the subscription and have also selected both in the API access control. Cors is also enabled for the index.

Expected behavior
The SDK should work with new DefaultAzureCredential()
var searchClient = new SearchClient(
    endpoint: new Uri(azureAISearchOptions.Endpoint),
    indexName: azureAISearchOptions.IndexName,
    tokenCredential: new DefaultAzureCredential());

Actual behavior
The SDK works fine with  AzureKeyCredential
var searchClient = new SearchClient(
    endpoint: new Uri(azureAISearchOptions.Endpoint),
    indexName: azureAISearchOptions.IndexName,
    credential: new AzureKeyCredential(SearchKey));

Reproduction Steps
Below program reproduces the issue:
namespace Poc
{
    using Azure;
    using Azure.Identity;
    using Azure.Search.Documents;
    using Azure.Search.Documents.Models;

    public class Program
    {
        private const string AzureAISearchEndpoint = "https://<resource>.search.windows.net";
        private const string SearchKey = "<key>";
        private const string SearchIndexName = "vector-wiki-so-transcript";
        private const string SemanticConfigurationName = "vector-wiki-so-transcript-semantic-configuration";

        public static async Task Main(string[] args)
        {
            var credentials = new DefaultAzureCredential();

            var searchClient = new SearchClient(
                endpoint: new Uri(AzureAISearchEndpoint),
                indexName: SearchIndexName,
                tokenCredential: credentials);
//                credential: new AzureKeyCredential(SearchKey));

            var query = "Sample query";

            var searchOptions = new SearchOptions
            {
                Filter = null,
                Size = 5,
                Select = { "title", "chunk", },
                IncludeTotalCount = true
            };

            searchOptions.QueryType = SearchQueryType.Semantic;
            searchOptions.SemanticSearch = new SemanticSearchOptions
            {
                SemanticConfigurationName = SemanticConfigurationName,
                QueryCaption = new QueryCaption(QueryCaptionType.Extractive),
                QueryAnswer = new QueryAnswer(QueryAnswerType.Extractive)
            };

            var searchResults = await searchClient.SearchAsync<SearchDocument>(
                searchText: query,
                options: searchOptions);
        }
    }
}

Environment
Public Cloud

Spent hours before filing bug but found solution withing 20 mins. Apparently, owner role is not enough, needed
search-index-data-reader role specifically.


Nice! Could this be run as an onboot script?

Per here: https://github.com/boostchicken/udm-utilities/tree/master/on-boot-script
Would it be possible to just change this to an onboot script and store the files on the device so that it doesn't have to run as a docker image? My understanding is that this persists until firmeware update and the on boot script stuff runs automatically on every restart.
Would be an awesome and simple way to make this work...

I don't know much about the UDM, but if it has or can install all the dependencies (python, dnsmasq) I guess it would be possible, sure.


Clarify the Java on Azure support

Could you please clarify the Java on Azure support at https://docs.microsoft.com/en-us/azure/developer/java/fundamentals/java-support-on-azure#customer-support, adding a FAQ or clear statements like :

A customer deployed to an on-prem VM, a Spring Boot App which uses Spring Cloud for Azure, will he get  "Java on Azure" support from MS ? ==> Yes

A customer deployed a Spring Boot App to AKS which read secrets from Azure Key Vault using spring Cloud for Azure, will he get  "Java on Azure" support from MS ? ==> Yes

A customer deployed to Azure Spring Apps a Spring Boot App and found a bug in Spring Security, will he get  "Spring Runtime" support ? Yes from VMWare choosing Enterprise Tier.

See also https://aka.ms/EnterpriseTierFAQ

A customer deployed to an on-prem VM, a Spring Boot App which uses Azure Application Insights, will he get  "Application Insights" support from MS ? ==> Yes

customer deployed a Java Quarkus App to Azure Container Apps, will he get  "Java on Azure" support from MS ?

No if there is there is no integration with Azure REST APIs
Customers requiring support on the Quarkus runtime itself can get support from RedHat through Red Hat Middleware Subscriptions Bundles "Red Hat Runtimes" which includes Cloud Native Runtimes : Red Hat build of Quarkus, and Red Hat support for Spring Boot, Red Hat build of Thorntail, Red Hat build of Eclipse Vert.x, Red Hat build of Node.js

Azure Service Bus / Java XA transactions support : see https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-java-how-to-use-jms-api-amqp#unsupported-features-and-restrictions

Spring Boot Reference Documentation : Spring Boot supports distributed JTA transactions across multiple XA resources by using an Atomikos embedded transaction manager. JTA transactions are also supported when deploying to a suitable Java EE Application Server. When a JTA environment is detected, Spring’s JtaTransactionManager is used to manage transactions. Auto-configured JMS, DataSource, and JPA beans are upgraded to support XA transactions. You can use standard Spring idioms, such as @Transactional, to participate in a distributed transaction. If you are within a JTA environment and still want to use local transactions, you can set the spring.jta.enabled property to false to disable the JTA auto-configuration.

https://docs.spring.io/spring-boot/docs/2.7.3/reference/html/application-properties.html#application-properties.transaction.spring.jta.enabled : true by default

About Camel and XA support :

Transactions are supported by Spring Transactions and also with a JTA Transaction Manager.
Traditionally a JTA Transaction Manager are included in JEE application servers. However, when running microservice applications with Spring Boot, or Quarkus, then a 3rd-party JTA transaction manager can be embedded and used.
In Camel transactions are supported by JMS messaging components:

ActiveMQ

JMS

Simple JMS

Simple JMS 2.x

And all the SQL database components, such as:

JDBC
JPA
SQL
MyBatis

ACR Fails to build my Dockerfile containing a Spring Boot App, see this bug ==> Java Dev. would hit it in 80% of cases

GH Actions & Build how-to :

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Microsoft
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
https://docs.github.com/en/actions/publishing-packages/publishing-java-packages-with-maven#publishing-packages-to-github-packages
https://github.com/marketplace/actions/generate-settings-xml-for-maven-builds
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository

ACR image build with Build Pack (Preview) : https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-pack-build

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

ID: 7b4b9c70-5ce2-1cd3-e6be-5e70717f4afe
Version Independent ID: a794996e-8005-c4d9-03d0-fecb203ad701
Content: Java JDKs support for Azure development
Content Source: articles/java/fundamentals/java-support-on-azure.md
Service: azure-java
GitHub Login: @KarlErickson
Microsoft Alias: karler

@KarlErickson could you provide an update now it is end of Q1, that would help customers + the MS field ?

@selvasingh @brunoborges can one of you comment here? Thanks.

@jdubois

I believe those are valid points and answers, maybe they are limited to using the Microsoft Build of OpenJDK? @brunoborges will know.
For Quarkus, if he builds a native image, I have no idea if we can support this at all (for the moment).

can we get an update on this issue please ?

@brunoborges @jdubois ping

Closing. Please contact @selvasingh directly if you still have concerns here.


Airgap - helm-operation pod in downstream cluster does not use the private registry

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

run the latest rancher:master-01c13f69cb277e037f6d58323cb0859300e8af5d-head, single install in airgap environment
provision a custom cluster
go to the custom clueter -> dashboard -> apps -> install monitoring

Result:

there is a helm-operation pod created in the cattle-system namespace in the system project in the custom cluster, but it does not pull images from the private registry so fails to start

Fairly sure this is just an images.txt issue. The helm deployer code has registry prefix:

https://github.com/rancher/rancher/blob/master/pkg/catalogv2/helmop/operation.go#L627
https://github.com/rancher/rancher/blob/master/pkg/settings/setting.go#L97-L99

But the images.txt of last alpha is 0.1.1, which would explain why it worked originally but fails now. The tag got updated to 0.1.2 on last master-head build. So if we cut new alpha it should work.

This bug still exists in rancher: v2.5.0-alpha3

Found issue, this should actually work in local cluster, can we start airgap testing there @jiaqiluo / @sangeethah ? Issue should only be with downstream.

the bug still exists in dowsteam cluster in rancher:v2.5.0-alpha4 docker instll setup

@jiaqiluo can you try restarting the agent downstream and see if that fixes it ?

@caleblloyd  after restarting the pod in the deployment cattle-cluster-agent, and re-install the monitoring v2, the app is deployed successfully.

@jiaqiluo Was this tested on the local cluster or downstream user cluster?

@deniseschannon  downstream user cluster

@jiaqiluo Can you try this again with monitoring to see if it's the same error as in this issue? https://github.com/rancher/rancher/issues/29026
If it's the same issue, I'd like to consolidate to 1 issue that is generic to all downstream user clusters.

Another thing to try debugging here is updating the setting multiple times, or try updating a different setting to see if that syncs. Each change would send another update for that setting. Not a solution but if that doesn't fix it then points to larger problem. Would be good to get logs here too, to see if any errors exist.
If we don't see this in any other airgap testing I think bumping to 2.5.x is reasonable. Might have been a one time fluke.

Have we seen this since the alpha builds ? Seems like it never showed up on any RC or the live release. cc @jiaqiluo @sangeethah  If we didn't and community doesn't either, we will close out.

The bugfix is validated in Rancher v2.5.1 docker-install airgap setup
After installing the monitoring v2 in the downstream cluster, there are helm operation pods being created in the downstream cluster using images from the private registry and eventually, the app is installed successfully.

This issue is closed.


Utf-8 characters are corrupted

In the message "Ãok YakÄ±nda BuradayÄ±z..." must be seen as "Çok Yakında Buradayız"

All cyrillic symbols are messed up as well ("Тестовая фраза на русском" shows as "Ð¢ÐµÑÑÐ¾Ð²Ð°Ñ ÑÑÐ°Ð·Ð° Ð½Ð° ÑÑÑÑÐºÐ¾Ð¼").
It would be great if this add-on support UTF-8.


Please parse and display @params and @returns of methods separate from description text

It would be really nice if the pdoc would parse and display thinks like the @params and @returns separately (and appropriately) from the rest of the description content.
So for instance, if my descriptor looked like:
@staticmethod
def version_str(version):
    """
    Retrieves the current version string of the software loaded on the DUT.
    @param version - A dictionary containing version information
    @return: Return a string form of the version.
    """

It would show separate Parameters and Returns sections in the output like:
def version_str(version)
Retrieves the current version string of the software loaded on the DUT.
Parameters
    version    A dictionary containing version information
Returns
    Return a string form of the version.

Dupe of #59.


File size goes to 70mb when exporting gltf with 50 shape keys, and fbx is only 6mb

I'm exporting Daz Character from Blender to gltf+bin files. Character is with 50 common facial and viseme morphs, without cloth, hair or animation.
File size of gltf is 2mb, but bin file goes to about 70mb.
If I export fbx from Daz or Blender with morphs, fbx file size is about 6mb.
That's a big difference between 6mb and 70mb.
And if I export gltf+bin file without shape keys, bin file is less than 6mb.
This could make gltf out of game when exporting model from blender to game engines.
Is there a solution for this?

Infromation:
Blender version: 3.0
Daz to Blender bridge for 3.0:
https://github.com/butaixianran/DazToBlender

Thanks for your reply, it helps.
Now, I unchecked shape key normal when exporting, bin file is down to 31mb.
Then, we have to wait Sparse Accessors for gltf.

Would it be possible to share the .blend and/or .glb files for this example?
If your game engine supports the EXT_meshopt_compression glTF extension I'd suggest trying to run gltfpack on the model:
gltfpack -i in.glb -o out.glb -cc

I updated a blender file also a glb file for testing:
blender file: 108mb
https://mega.nz/file/9n5W3R7I#isbVWh_xI_vnU5JpIppL9f99tOfSkFT8nW5NcrXDgA0
glb file: 75mb
https://mega.nz/file/Rjw2nTKA#boURdDt2AE6DFFFpl3vi8JDks__FuG5JdgMJoU7oknk
There is a Daz Genesis 8 free default character in it, with facial shape keys.

Thanks! glTFast for Unity is the package I'd suggest, and does support EXT_meshopt_compression. I'll look into ways to reduce the file with sparse shape keys as a post-export optimization when I have the chance, or the gltfpack author might be open to implementing that as well.

Closing, as there is no bug here. Only space for enhancement, in case one day we manage sparse encoding.
This is not a priority for now

As an update here — glTF Transform v3 will support writing sparse (mostly zero) data more compactly, and could be a good option for compressing files with shape keys, like this one.
Example, using a pre-release of v3:
npm install --global @gltf-transform/cli@next

gltf-transform sparse input.glb output.glb

I didn't find the original FBX to compare, but this seems to bring the size down to where you'd expect. The .bin file containing the mesh data is now only 4.4 MB.

Hi @donmccurdy do you know how can I use gltf-transform with threejs

@mostafamdy let's discuss this in https://github.com/donmccurdy/glTF-Transform/issues/882.

Am I correct in assuming this is a duplicate of:

#1346

I'll put my comment there instead.


Rails generator support…

…would be great! This isn't an extremely high-priority feature, but generators are one of the things that really make Rails development a joy.

Gaelan,
Thanks for the request! I've thought about Rails generators, but haven't gotten there yet. Is there a particular scenario you have in mind? i.e., when you type X, what should Fortitude generate into what files?
Also, just as a heads-up: I am hiking the Pacific Crest Trail this summer and so likely won't be able to tackle this for a while — but it is definitely something I want to get in there for a 1.0 release. So thanks for posting the report!
Cheers,
Andrew

On Apr 26, 2015, at 10:15 PM, Gaelan<EMAIL_ADDRESS>wrote:
…would be great! This isn't an extremely high-priority feature, but generators are one of the things that really make Rails development a joy.
—
Reply to this email directly or view it on GitHub.

@Gaelan — I'm back from hiking the PCT, and am resuming active Fortitude development.
I'd love to add Rails generator support, although it's still not entirely clear to me exactly how it should behave. Any thoughts?

Closing this, as it’s old and it’s not totally clear what’s desired.

Bah, I keep forgetting to get to this. I'm thinking of something similar to (Rails's default ERB generators)[https://github.com/rails/rails/tree/master/railties/lib/rails/generators/erb]--when a controller or scaffold is generated, automatically generate basic Fortitude views as placeholders.


Add file upload function with concurrent batch upload.

I've got a little bit frustrated with the sequential file upload and am suggesting this.
The way you'd call this is by just calling asyncio.run(upload_to_signed_url_list_async(...)), unless you are already in an async function then you can just do await upload_to_signed_url_list_async(...). Very similar to what we do in JS.
I am also very tempted to write a querier.basic_put_async function, but would like to hear thoughts on this.
The batch size is somewhat arbitrary here, not sure if there are preferences.
I thought about replacing the current usages with this, but wasn't sure if there is any issues with suddenly speeding up file uploads 20x.

I have created an alternative in #55


Use correct version of submariner images in kind

When deploying addon in kind, it ignores the submariner repositrory and version. This causes a discrepancy where operator is using older version [0.11.0] while all agents are on latest version configured. Also, for route agent and lighthouse images, overrides don't work correctly. This is because component name is incorrect.
This fix requires following changes:

Wait for all submariner manifestworks to be created and available.
Set skipOperatorGroup annotation on submarinerconfigs
Patch submariner-operator deployments to use repo and version as configured.
Use correct component names for all lighthouse and routeagent image overrides.

Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

/cc @skitt @sridhargaddam

/lgtm

/lgtm


Added check to events-to-s3 for label canary

Description
Added check to events-to-s3 for label canary
Issues Resolved
Part of https://github.com/opensearch-project/opensearch-metrics/issues/105
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please rebase and update your version to 0.2.2.


Crashed while 'saving record'

I'm having a problem while running wisdomtree. Maybe it's a bug?
Environment: bash on ubuntu on windows, fresh install. Just followed the instructions listed in readme.
Details:
Traceback (most recent call last):
  File "./study.py", line 95, in <module>
    save_record(section, lesson['chapterId'], lesson['id'])
  File "./study.py", line 86, in save_record
    logger.info(dic['name'] + r.json()['studyPercenter'])
  File "/usr/lib/python3/dist-packages/requests/models.py", line 741, in json
    return json.loads(self.text, **kwargs)
  File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
    raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)

Thanks in advance.

Currently I don't have any courses to test. You can send me your userinfo.py (no phone or password needed).

The API has changed a lot. I will try to update this script in the following days.


Update CHANGELOG.md

[v2] Added SSL support to RabbitMQ scaler
Signed-off-by: Anson Au<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[ ] Commits are signed with Developer Certificate of Origin (DCO)
[ ] Tests have been added
[ ] A PR is opened to update the documentation on https://github.com/kedacore/keda-docs
[ ] Changelog has been updated

Fixes #

@ansonauhk could you please fix DCO?


Update mistral documentation

Update documentation and examples for Mistral workflows.

Nice!
On Feb 25, 2015, at 5:04 PM, W Chan<EMAIL_ADDRESS>wrote:

Merged #1126.
—
Reply to this email directly or view it on GitHub.