404's for fonts on API page

Rancher Version: 1.2.0
Docker Version: 1.12.3
OS and where are the hosts located? (cloud, bare metal, etc): cloud
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) single node, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce: Access the API page at /v2-beta or /v1. Open the developers console (Chrome or Firefox) and note the following:
Results:
https://rancher.local/fonts/glyphicons-halflings-regular.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
https://rancher.local/fonts/glyphicons-halflings-regular.woff Failed to load resource: the server responded with a status of 404 (Not Found)
https://rancher.local/fonts/glyphicons-halflings-regular.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
Also in the UI: the glyps used for the actions like up, reload, clear, etc. are not rendered correctly.
Expected: No errors. BTW this works fine in our 1.1.4 instance.
As we are using Rancher with an SSL enabled reverse proxy (nginx) I also enabled access on the http port 8080 - bypassing the reverse proxy. However the results are identical.

Version - 1.2 : the errors are indeed happening in the dev tools.  The actions gylps are squares instead of icons:

similar to this issue - https://github.com/rancher/rancher/issues/5929

This is the same as #5929.


add velocity covariance

Add velocity covariance
Signed-off-by: scepter914<EMAIL_ADDRESS>

@scepter914 Is the covariance of 0.1 based on field experiments?

Is the covariance of 0.1 based on field experiments?
Yes :+1:


Prepare 1.1.0 release

Summary
This commit prepares the repo for the 1.1.0 release. It updates the version numbers to indicate it is the final 1.1.0 release, and updates the release notes to prepare them for publishing. Once this merges this commit should be used to tag the 1.1.0 release.
Details and comments
TODO:

[x] Select topics for prelude draft
[x] Finish prelude draft
[x] Go through and copy-edit and update the release notes
[x] Fix Sphinx Crossrefs

Thanks for your comments so far, I think I addressed them in the most recent commit. :-)

Thanks for the review so far, I included the requested changes. :-)

I had to do a manual rebase and force push to update the branch here because reno has a hard time tracking things across a merge commit in the PR. The only real change from the prior version is https://github.com/Qiskit/qiskit/pull/12371/commits/2e749fbe74fe92c4be87ec7c4abe9c6fe0cfb1be


on-prem-archive.sh sync-packages does not sync hab* packages

As it exists today, the on-prem-archive.sh sync-packages script does an excellent job of synchronizing all core packages that are in the core-plans repo.
However, the hab, hab-sup, hab-backline and any other hab-* packages in the core origin do not have their plans in the core-plans repo and new versions are not synced to the on-prem depot.

Yes! I agree! I have to manually update them.

Sync also needs to upload the Linux 2 packages for hab, hab-sup, hab-backline not only Linux 3.


Allow Custom Route for CMS Admin

Is your feature request related to a problem? Please describe.

When adding netlify-cms to an existing project, or using it in concert with a different admin panel it may make sense to put the CMS on a different route than /admin. For example, that route may already be taken by an existing application that adds in netlify-cms after the fact. In the current implementation I do not see a way to specify the route dynamically, without producing a custom fork of the repo.
Describe the solution you'd like

Allow a configuration option in the YAML file to specify the route the CMS Admin will be served on.
Describe alternatives you've considered

Additional context

Hi @jtwillis92 can you share your site configuration (how you're integration the CMS into your site)?
The CMS is a self contained Web App and changing the route usually means just moving it to a directory with a different name than admin

@erezrokah thanks for the quick response!
The site was originally pulled from the Gatsby netlify-cms starter and just has a folder under /static labelled admin with the config.yml file located inside.

You should be able to rename that directory and set the public path in the plugin options change the route:
https://www.gatsbyjs.org/packages/gatsby-plugin-netlify-cms/#publicpath

Awesome! I didn't know about that config option - thanks so much.

How would this work with a configuration that is 100% handled in the cms.js file?


Increased Facebook button text limit to 640 from official docs

Limit is 640 now?
Do the same for buttons in generic template please

Found it here: https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template
text must be UTF-8 and has a 640 character limit

Cool.
It seems that we don't have a limit for Generic template buttons, so I can merge this.


Escape regexp syntax characters

Fix for https://github.com/lukeed/resolve.exports/issues/38

just escape . pls. that's the 99% use case

ready


[FEATURE] Operator supports adding labels to rss pods.

What changes were proposed in this pull request?
For issue #469

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

cc @advancedxy

Codecov Report

Merging #528 (e5f7f00) into master (6367b36) will increase coverage by 4.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #528      +/-   ##
============================================
+ Coverage     60.11%   64.17%   +4.05%
+ Complexity     1769     1636     -133
============================================
  Files           205      186      -19
  Lines         11532     9093    -2439
  Branches       1033      911     -122
============================================
- Hits           6932     5835    -1097
+ Misses         4194     2942    -1252
+ Partials        406      316      -90

Impacted Files
Coverage Δ

...rg/apache/uniffle/storage/common/LocalStorage.java
48.36% <0.00%> (-1.97%)
:arrow_down:

...bernetes/operator/pkg/controller/controller/rss.go

...oy/kubernetes/operator/pkg/controller/util/util.go

...y/kubernetes/operator/pkg/webhook/inspector/rss.go

...apache/hadoop/mapreduce/v2/app/RssMRAppMaster.java

.../hadoop/mapreduce/task/reduce/RssEventFetcher.java

...n/java/org/apache/hadoop/mapreduce/RssMRUtils.java

...pache/hadoop/mapreduce/task/reduce/RssFetcher.java

...rnetes/operator/pkg/webhook/inspector/inspector.go

deploy/kubernetes/operator/pkg/webhook/manager.go

... and 11 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Could we add some uts for this pr?

Could we add some uts for this pr?

Ok, I'll do it.


Visiumlint is not working with latest typer

Error message:
File "/Users/chloe.deancos/.local/share/virtualenvs/explore-aQxZnm1f/lib/python3.9/site-packages/visiumlint/main.py", line 12, in <module>
    paths: List[Path] = typer.Argument(default=None, help="Paths of files and directories to visiumlint."),
AttributeError: module 'typer' has no attribute 'Argument'

Pinning typer to 0.9.0 work as a temporary fix

Seems like it got fixed in the latest typer, so I'll close this issue


Restricted the visibility of some functions in the DiemConfig module #9011-(109)

Motivation
If DiemConfig is public, its client (e.g., DiemVersion) is unable to establish certain invariants on the content data type (see https://github.com/diem/diem/issues/8983). This PR restrict the visibility of the DiemConfig module as follows:
Made the following functions public(friend):
set
set_with_capability_and_reconfigure
publish_new_config_and_get_capability
publish_new_config
Made the DiemConfig module a friend of:
DiemFramework::DiemVersion
DiemFramework::RegisteredCurrencies
DiemFramework::DiemTransactionPublishingOption
DiemFramework::DiemVMConfig
DiemFramework::DiemSystem
DiemFramework::DiemConsensusConfig
To restrict the visibility of the DiemConfig module due to the reason of https://github.com/diem/diem/issues/8983
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan

CI/CD tests

cargo test --package diem-framework --test generated_files -- tests

/canary

:broken_heart: Test Failed - ci-test

/canary

:sunny: Canary successful

/land


Fix: Binary WebSocketFrame

Closes #1004

Codecov Report

Merging #1005 (f0c6e7a) into main (2bb5fd5) will increase coverage by 0.85%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1005      +/-   ##
==========================================
+ Coverage   55.74%   56.59%   +0.85%
==========================================
  Files          71       71
  Lines        2235     2235
  Branches       65       65
==========================================
+ Hits         1246     1265      +19
+ Misses        989      970      -19

Impacted Files
Coverage Δ

...p/src/main/scala/zhttp/socket/WebSocketFrame.scala
35.48% <100.00%> (+22.58%)
:arrow_up:

zio-http/src/main/scala/zhttp/socket/Socket.scala
52.94% <0.00%> (+2.94%)
:arrow_up:

...o-http/src/main/scala/zhttp/socket/SocketApp.scala
37.14% <0.00%> (+11.42%)
:arrow_up:

...main/scala/zhttp/service/WebSocketAppHandler.scala
56.00% <0.00%> (+28.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Explicitly install packages in alpine so that "apk del apk-tools" does not break the JVM

Hi guys,
I very much appreciate the effort towards the native musl integration with the JVM and alpine.
In our setup, we do so custom hardening of images (i.e. rootless) and as part of it, we drop "apk-tools" to remove the ability to add any package and possibly alter a running service in a production environment.
We noticed that the musl-native images appear to have a dependency that is dropped when apk-tools is removed. Sounds a lot like there is an implicit dependency that is removed.
$ java -version
#6 0.554 Error loading shared library libz.so.1: No such file or directory (needed by /opt/java/openjdk/bin/../lib/jli/libjli.so)
#6 0.554 Error relocating /opt/java/openjdk/bin/../lib/jli/libjli.so: inflate: symbol not found
#6 0.554 Error relocating /opt/java/openjdk/bin/../lib/jli/libjli.so: inflateEnd: symbol not found
#6 0.554 Error relocating /opt/java/openjdk/bin/../lib/jli/libjli.so: inflateInit2_: symbol not found

With some tinkering & looking at apk info --depends apk-tools I found that following 2 libs seem to do the trick
/ # apk del apk-tools -s
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: No such file or directory
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: No such file or directory
(1/7) Purging ssl_client (1.33.1-r6)
(2/7) Purging apk-tools (2.12.7-r0)
(3/7) Purging libretls (3.3.3p1-r2)
(4/7) Purging ca-certificates-bundle (20191127-r5)
(5/7) Purging libssl1.1 (1.1.1l-r0)
(6/7) Purging libcrypto1.1 (1.1.1l-r0)
(7/7) Purging zlib (1.2.11-r3)
OK: 9 MiB in 17 packages
/ # apk add zlib libretls
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
OK: 9 MiB in 17 packages
/ # apk del apk-tools -s
(1/1) Purging apk-tools (2.12.7-r0)
OK: 9 MiB in 17 packages
/ #

-> with apk add libretls zlib, no dependencies are uninstalled.
And  java -version (and likely any other startup of the JVM) works again
I believe these packages should be explicitly installed as they are required for the jvm.
Any thoughts on this`?
Here 2 Dockerfiles to reproduce the issue:
FROM eclipse-temurin:11.0.13_8-jre-alpine

RUN apk info --depends apk-tools
RUN apk del apk-tools
# Breaking
RUN java -version

FROM eclipse-temurin:11.0.13_8-jre-alpine

RUN apk info --depends apk-tools
RUN apk add libretls zlib
RUN apk del apk-tools
# Fixed
RUN java -version

It looks like just "zlib" would be enough, but I added "libretls" as it results in not a single deletion of a package, just apk-tools itself.
Not sure what either of them do in context of apk-tools and why zlib seems to be necessary for the JVM

Oh I just noticed the label "help wanted" on it.
I will work on a PR then

@DRoppelt I've created a PR (https://github.com/adoptium/containers/pull/217) please can you confirm that this is the required code change?


Moving documentation to Hugo and Docsy

This pr moves the documentation from plain md files rendered in GitHub to Hugo and the Docsy theme.
The plan is to get the documentation published on Netifly and assign https://docs.nephio.org with the end result.
The source branch is rendered here
TODO:

Review the files for broken links, pictures and straightforward language issues
Collect feedback on the structure

@gvbalaji here is the draft pr for the move to Hugo.
I think we should still need to clarify some structural issues:

I think we should remove the "cover page". It does not add too match to the documentation, but users need to click and extra click to get to the documents. It is there as it is part of the Docsy template.
Now we have a "Guides" section what contains the install, user and contributor guides. Maybe we do not need to have this level.
There are lots of text in the root of the Nephio Install Guides section. I have a feeling that maybe we should move this to an own file.
I tried to order the install guides into a logical order, but I'm not sure if this is the correct order
Nephio User Guides has also lots of text, what maybe should go to a separate file

This is totally awesome! Great job. The rendered site looks excellent.
How will this work once it merges, as far as where/how we update the docs, and how they get compiled and up and running on the docs site?
/approve

I wonder if the current nephio.org/learn pages should move to this instead of the wiki?

This is totally awesome! Great job. The rendered site looks excellent.

Thanks. There are still a couple of things what we would like to fix, but I think it is a good start.

How will this work once it merges, as far as where/how we update the docs, and how they get compiled and up and running on the docs site?

We keep updating the docs in this repo, but we will need to add some hugo specific annotations to the .md files we create. They are compiled and hosted by Netifly automatically.
At the moment this site is connected to the branch in the Nokia fork of the repo and rendered automatically: https://hugo-docs--lighthearted-mermaid-d18bb0.netlify.app/
What we will need to do after the merge:

Connect the build to the main branch of this repo
Use a redirect of docs.nephio.com to the url of the site
Register Nephio at Netifly as an open source project
Build some kind of automation to check if the hugo build is successful for the pr-s.

This looks great. Thanks @CsatariGergely
/approve


Use pretty printing for minimal input

This PR changes the minimal failing output to use pretty-printed Debug output instead of the default Debug output. The current status quo is that for complicated data structures, the output is borderline unreadable. Pretty printing using {:#?} alleviates this. I believe pretty-printing is the right thing to do in virtually all cases.
I also believe that this does not constitute a breaking change.

I also added a separate commit for adding a newline before the minimal failing input line for added readability. This commit can be removed if this for some reason is not desirable.

CI is failing for unrelated reasons. See #258.

Now that there is new maintainership, would there be interest in looking at this tiny PR again? This is really a huge pain point with proptest in my opinion. The output for any mildly complex data structure is very hard to read, and needlessly so, if I might say.

Thanks for bumping this and thanks for the contribution. I'll try to give this a look this weekend and feel free to ping again here if it slips my mind

I rebased onto master to pull in the latest commits.
To further motivate this issue, I made a small example. Consider the following snippet (full code in mentioned repo), where we're working with a mildly complex Phonebook data structure:
#[derive(Debug, Clone)]
pub struct PhoneNumber {
    internal_rep: String,
}

#[derive(Debug, Clone)]
pub struct Person {
    first_name: String,
    last_name: String,
    age: usize,
}

#[derive(Debug, Clone)]
pub struct Phonebook {
    last_name_to_person_map: BTreeMap<String, Person>,
}

proptest! {
    #[test]
    fn deliberately_fail_test(_person in Just(example_phonebook())) {
        prop_assert!(false);
    }
}

With proptest 1.0.0, this outputs:
Test failed: assertion failed: false at src/main.rs:53; minimal failing input: _person = Phonebook { last_name_to_person_map: {"Claus": Person { first_name: "Santa", last_name: "Claus", age: 1751 }, "Darwin": Person { first_name: "Charles", last_name: "Darwin", age: 213 }, "Jagger": Person { first_name: "Mick", last_name: "Jagger", age: 79 }} }
	successes: 0
	local rejects: 0
	global rejects: 0

With this PR applied, it outputs:
Test failed: assertion failed: false at src/main.rs:54.
minimal failing input: _person = Phonebook {
    last_name_to_person_map: {
        "Claus": Person {
            first_name: "Santa",
            last_name: "Claus",
            age: 1751,
        },
        "Darwin": Person {
            first_name: "Charles",
            last_name: "Darwin",
            age: 213,
        },
        "Jagger": Person {
            first_name: "Mick",
            last_name: "Jagger",
            age: 79,
        },
    },
}
	successes: 0
	local rejects: 0
	global rejects: 0

I hope it's not controversial to say that the latter is a clear improvement. Feel free to suggest changes/tweaks.


Any way to access to history object?

How can I get access to history object in preact router?

Since you're passing it into the Router, why not just pass it into Context?
class App extends Component {
  // create your history somewhere
  history = createMemoryHistory();

  getChildContext() {
    return { history: this.history };
  }

  render() {
    return (
      <Router history={this.history}>
        <HomePage path="/" />
        <ErrorPage default />
      </Router>
    );
  }
}

class HomePage {
  componentDidMount() {
    this.context.history  // your history from above
  }
}

Alternatively, since history is often a singleton by nature (there's only one address bar in a browser), you could just instantiate your custom history and pass it around using ES Modules or a global.


SPO Sidebar navigation

I am updating the SPO part and will do it in several small steps. The first topic is:

to reorganize the Stake Pool section and integrate the content in the handbook into the course. The new sections could be

Introduction
Pre-requisites
Installing & Configuring Cardano Nodes
Registering a Pool
Pool Maintenance
Tools and Links

I think getting rid of the lesson titles and merging the "handbook" with the course is a great start. What we need to keep in mind is to set proper redirects for sites that no longer exist.
This can be done in docusaurus.config.js below "redirects".

Just a small point here, prolly good to avoid duplication (installing cardano node is already a section here and could be referenced)

Looking at SPO & developer security as an urgent, bare minimum update to the existing pages, I recently did a security review of the current material in the SPO & other sections: https://github.com/cardano-foundation/developer-portal/issues/42#issuecomment-1157180181 ... but I wouldn't be able to submit the changes I've started working on because they would no longer apply to this proposed page reorganisation.
Most of my work is related to key management which is also a topic here, so many of these changes might already be covered by someone else's pending work (?): https://github.com/cardano-foundation/developer-portal/issues/641#issuecomment-1147505973
@katomm @rdlrt what is the overall plan for coordinating & scheduling these changes?  I can still apply my audit results to a new set of pages (most of my security recommendations are already published here) so rather than try to push it out this weekend I would prefer to wait for a sensible page reorganisation before adding the security related material.
In the meantime since building an Air Gap environment is necessary in general for key management (by devs as well as SPOs) I'm going to work on that topic: https://github.com/cardano-foundation/developer-portal/issues/43#issuecomment-1157181551) ... this would be be pushed as its own page or set of pages in the Get Started section, so would be separate from the SPO menu structure.
Meanwhile I can wait for @sanskys @VitoMelchionna to finish this reorganisation before submitting any wide-reaching security update.  I'd also be happy to coordinate in the writing of some of the pages above & will watch here for a response about that. 😎

what is the overall plan for coordinating & scheduling these changes? I can still apply my audit results the new system of pages (most of my security recommendations are already published here) so rather than try to push it out this weekend

Afaik - atm, we haven't pushed for timings to follow as it would depend on free time from those who have shown interest to complete the re-org.
Meanwhile - personally - I believe the security (Key management as well as for Node Operation) section could be included as a seperate page (eg : Security Best Practices) under Stake Pool Course (which can be linked from other pages as part of recommendations). You can either wait for #658 to be updated/merged, or use that branch as base to add security-best-practices page.
@sanskys - Pardon my ignorance earlier with approval, I might have rushed into approval before😢 found few tiny bits to update in #658 , as part of which I've also asked to add a placeholder page (content could be To-Do) to the sidebar.js

You can either wait for https://github.com/cardano-foundation/developer-portal/pull/658 to be updated/merged, or use that branch as base to add security-best-practices page.

thanks @rdlrt - I definitely hadn't thought of that.  I'll use that branch for the new pages (Air Gap & Security Best Practices page) and stay tuned here about the rest.

FYI the last cross reference was about whether to use transaction build-raw vs. transaction build and to perhaps address how to use the ledger era option (e.g. --alonzo-era) when creating transactions.

integrated into #737


Remove boxartguide command - Replaced with sending boxart with no arguments

Might be good to do the same thing for twlsfx (convert)/twlbgm (wiki) and unlaunch (convert)/unlaunchbg (wiki)

....I meant to approve the request, oops


Add script to go mod tidy modules

Will tidy all modules under the current working directory or under the specified directory.

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to module CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

How about adding this script on package level rather than repo level? Otherwise, we will need to run go mod tidy each time before release.

Yes, but is general purpose. Do note that some of the ARM modules were updated as part of this process.


MudTable: Add filtered items cache for each render.

Description
Added MudTable.FilteredItems cache check. Cache clears before render (in .razor file) - clearing it in after render event doesn't work. Reason for this is FilteredItems being requested multiple times before render, each of which results in sorting & filtering &converting to list, which causes really noticeable performance impact especially when sorting large collections (about 70K rows).
I measured around 60+ calls to create this collection per single render, with this it is reduced to 1.
How Has This Been Tested?

Unit tests are already in-place and working

Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

I like the idea of caching the filtered items. Please add a unit test that increments a counter in the filter func and check it. This will make sure this feature won't be accidentally broken by future PRs.

Added required unit test. Couldn't quickly think of a better way, so I added a public property with filtering run count.

Thanks!

@adameste would you consider to do the same for DataGrid?
Would be great to have better performance there as well.

This PR caused a regression which has just been fixed. https://github.com/MudBlazor/MudBlazor/commit/bace647e11f01553cabf4d562159180d34a00542#r106458878


 We ran into a fatal error. Here's the dump. Goodbye!
/opt/optimism/packages/data-transport-layer/dist/src/services/l1-ingestion/service.js:94
            throw new Error(`Provided AddressManager doesn't have any code: ${Lib_AddressManager.address}`);
                  ^
Error: Provided AddressManager doesn't have any code: 0xdE1FCfB0851916CA5101820A69b13a4E276bd81F
    at L1IngestionService._init (/opt/optimism/packages/data-transport-layer/dist/src/services/l1-ingestion/service.js:94:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async L1IngestionService.init (/opt/optimism/packages/common-ts/dist/base-service/base-service.js:22:9)
    at async L1DataTransportService._init (/opt/optimism/packages/data-transport-layer/dist/src/services/main/service.js:61:13)
    at async L1DataTransportService.init (/opt/optimism/packages/common-ts/dist/base-service/base-service.js:22:9)
    at async L1DataTransportService.start (/opt/optimism/packages/common-ts/dist/base-service/base-service.js:31:9)
    at async /opt/optimism/packages/data-transport-layer/dist/src/services/run.js:78:9

Config
I use default env file , only .env file has been modified
.env
###############################################################################
#                                ↓ REQUIRED ↓                                 #
###############################################################################

# Network to run the node on ("mainnet" or "goerli")
NETWORK_NAME=mainnet

# Type of node to run ("full" or "archive"), note that "archive" is 10x bigger
NODE_TYPE=full

# Where to sync data from ("l1" or "l2"), see README for more information
SYNC_SOURCE=l1

# Reference L2 node to run healthcheck against
HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://optimism-mainnet.public.blastapi.io

# L1 node to run fault detection against
FAULT_DETECTOR__L1_RPC_PROVIDER=http://ethereum-mainnet

# Node to get chain data from (if SYNC_SOURCE is "l1" then use L1 node, etc.)
DATA_TRANSPORT_LAYER__RPC_ENDPOINT=http://ethereum-mainnet

###############################################################################
#                                ↓ OPTIONAL ↓                                 #
###############################################################################

# Feel free to customize your image tag if you want, uses "latest" by default
# See here for all avalabe images: https://hub.docker.com/u/ethereumoptimism
IMAGE_TAG__L2GETH=0.5.31
IMAGE_TAG__DTL=0.5.50
IMAGE_TAG__HEALTCHECK=
IMAGE_TAG__FAULT_DETECTOR=0.5.0
IMAGE_TAG__PROMETHEUS=
IMAGE_TAG__GRAFANA=
IMAGE_TAG__INFLUXDB=1.6

# Exposed server ports (must be unique)
# See docker-compose.yml for default values
PORT__L2GETH_HTTP=
PORT__L2GETH_WS=
PORT__DTL=
PORT__HEALTHCHECK_METRICS=
PORT__FAULT_DETECTOR_METRICS=
PORT__PROMETHEUS=
PORT__GRAFANA=
PORT__INFLUXDB=

http://ethereum-mainnet is a readable service in my kubernetes cluster , and i use almost the same way to start goerli net , there is no such problem in dtl service .
Need help , Thx

Hmmm... hard to figure out what's going on here without more info. Can you double check that http://ethereum-mainnet is actually connected to Ethereum mainnet and you aren't accidentally connected to another network instead?

well, i try to set FAULT_DETECTOR__L1_RPC_PROVIDER,DATA_TRANSPORT_LAYER__RPC_ENDPOINT as public rpc endpoint https://rpc.ankr.com/eth and clean data dir , dtl service no longer has the above problems.
but l2geth is stuck.  Database compacting, degraded performance database=/geth/geth/chaindata , is that ok?
geth log
+ echo running /scripts/l2geth-init.sh
+ GETH_DATA_DIR=/geth
+ GETH_CHAINDATA_DIR=/geth/geth/chaindata
+ GETH_KEYSTORE_DIR=/geth/keystore
running /scripts/l2geth-init.sh
+ '[' '!' -d /geth/keystore ]
+ echo '/geth/keystore missing, running account import'
/geth/keystore missing, running account import
+ echo -n pwd
+ echo -n 6587ae678cf4fc9a33000cdbf9f35226b71dcc6a4684a31203241f9bcfd55d27
+ geth account import '--datadir=/geth' '--password=/geth/password' /geth/block-signer-key
INFO [02-07|07:21:57.796] Maximum peer count                       ETH=50 LES=0 total=50
INFO [02-07|07:21:57.796] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
Address: {00000398232e2064f896018496b4b44b3d62751f}
+ echo 'get account import complete'
+ '[' '!' -d /geth/geth/chaindata ]
+ echo '/geth/geth/chaindata missing, running init'
+ geth init '--datadir=/geth' https://storage.googleapis.com/optimism/mainnet/genesis-berlin.json 0x106b0a3247ca54714381b1109e82cc6b7e32fd79ae56fbcc2e7b1541122f84ea
get account import complete
/geth/geth/chaindata missing, running init
INFO [02-07|07:22:01.185] Fetching genesis file                    url=https://storage.googleapis.com/optimism/mainnet/genesis-berlin.json
INFO [02-07|07:22:42.644] Maximum peer count                       ETH=50 LES=0 total=50
INFO [02-07|07:22:42.644] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [02-07|07:22:42.645] Allocated cache and file handles         database=/geth/geth/chaindata cache=16.00MiB handles=16
INFO [02-07|07:22:50.294] Writing custom genesis block
WARN [02-07|07:30:38.432] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:31:38.451] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:32:44.473] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:34:29.507] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:35:29.527] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:36:35.547] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:37:35.565] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:38:35.595] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:39:35.619] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:40:35.640] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:41:35.659] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:42:35.675] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:43:35.696] Database compacting, degraded performance database=/geth/geth/chaindata
WARN [02-07|07:44:35.713] Database compacting, degraded performance database=/geth/geth/chaindata

after long time database compacting , mainnet sync has now returned to normal


Moved: Vivaldi.Vivaldi version 5.0.2497.28

This pull request is automatically generated by 🥟 Dumplings
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@wingetbot run


Closes #322: Feature request: Clickable logo that points to specific url

Summary:

#322: Feature request: Clickable logo that points to specific url
Add "Return to website" link to the top right that leads to info.contacts.url if any.
Increase padding top for .api-info-wrapper when left sidebar is hiding to avoid header overlaying by top menu.

@RomanGotsiy Unfortunately I don't do Angular, so I'm not sure if lib/components/ApiInfo/api-info.html is correct.
I, also, added a "Return to website" button, I need it, maybe someone need it, too. (It won't show up if no url in contact section of spec is present. Also, we can hide it with css .go-back-link { display: none })
And I've noticed that  .api-info-wrapper h1 becomes overlaid by top menu on small devices (once left sidebar is hiding), so I've increased the top padding for that.
I haven't found contributors rules in the repo, so I'm not sure if it is OK to do so. So let me know if anything is wrong and needs to be edited.
Thanks.
UPDATE
Forgot to attach screenshot of the results:

Hey @khorolets! Thanks for PR!
Great idea to use info.contacts.url!
I have concerns abot "return to website" button. I think it shouldn't be shown by default. I'm sure some ReDoc users don't need (and don't want) this button as they just use navigation bar on the top (for example https://apis.guru/api-doc/)
Also I don't like position of this button. Let's track this feature request separatelly. You can open another PR for this.
Regarding your padding fix, could you just put it into a separate commit with fix: prefix in message (it is neaded for auto changelog generation)
Thanks!

@RomanGotsiy ok, thanks. I will update my PR in 12 hours or so.

By adding hardcoded string "return to website" we are limiting some users who want to use different language for example.

@hlorofos Totally agreed. Removed that change.
@RomanGotsiy Updated according to your request. Please, verify.

@hlorofos Great point! 👍
@khorolets awesome! Merged! Thanks so much!!!
I will release a new release at the beginning of the next week

@RomanGotsiy Thank you!


SCM: Display current line length in source control commit message input (Closes 81029)

Closes #81029
Implements a line character counter as requested in #81029.
https://streamable.com/0tjyc
A few considerations about this implementation:

I implemented a function to check if a given character is an EOL character, which compares a given character to \r and  \n. While it works on macOS, I've not yet been able to test this in other operating systems and I'd much rather use an already tested and trusted implementation, but I couldn't find it in the existing codebase.

https://github.com/microsoft/vscode/blob/d58af3cb013fd7678587e62e41c0b8b05225b11e/src/vs/base/browser/ui/inputbox/inputBox.ts#L570-L572

As you can see in the linked video, I had to make a few visual design choices (positioning, padding, fixed width, etc.). If you disagree with any of my decisions or if there is anything else that I can do to improve this implementation please let me know, as this is my first time implementing something more than a simple bug fix in vscode. Thanks 😄

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: davidreis97 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@davidreis97 Sorry for taking so long to get to this. This definitely misses a setting. Also, SCM now uses the monaco editor, so a lot of the implementation would have to be different. For those reasons I'll close the PR. Feel free to file a new one and ping me, I'll jump on it asap.


Easy change color themes

Is there a way to select between different color themes instead of
handcrafting every single parameter of the configuration file?
I mean, having some presets such as solarized, light and dark themes
such we can alternate easily when the environment has too much light or
is too dark?

You could put your colors into variables and "handcraft" your config file once.
Here is my example

Hello @danielporto 👋
There's no theming system. @Artem-Schander's way is interesting though. I'll give it five minutes.
If I update my configuration in this direction, I would go with
tmux_conf_theme_color_1='#ffffff'
tmux_conf_theme_color_2='#ff0000'
...

Because I think I won't survivce reading tmux_conf_theme_color_black='#ffffff' 😅
Thanks @Artem-Schander  for chiming in!

I've many refactorings ongoing so I won't rush this one for the moment

Touching on this issue, I would like to ask if there is any support for loading colors from Xresources. Much of my theming automation workflow is based on utilities exporting themes to Xresources colors which are then parsed in the configuration files of each program I need to theme. I believe it would be a nice feature.

I think this would be a great addition!

You could put your colors into variables and "handcraft" your config file once.
Here is my example

The best solution finded, I've added gruvbox colorscheme in no time, thanks a lot

Hello there 👋
There's now a gh-189-244-255 branch to address this need

Hello there 👋
There's now a gh-189-244-255 branch up for testing that addresses this need

Thannyou! I will give a look at it


Add support for getting/setting values in the document catalog dictionary

Right now there is no way to access the catalog (root) object for a PDF file. Proposed API:
pdfio_dict_t *pdfioFileGetCatalog(pdfio_file_t *pdf);

This should work for both reading and writing PDFs, and setting dictionary keys will result in them showing up in the written file.

[master 2388326] Add pdfioFileGetCatalog function (Issue #67)

[master 63a7a2c] Add unit tests for new pdfioFileGetCatalog API (Issue #67)
[master a81907b] Refactor get_info_string to rely on pdfioDictGetString to convert binary strings to regular ones.


Generated onRequestPermissionsResult method not called

override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray) {
    super.onRequestPermissionsResult(requestCode, permissions, grantResults)
    // NOTE: delegate the permission handling to generated function
    onRequestPermissionsResult(requestCode, grantResults)
}

@NeedsPermission(Manifest.permission.CAMERA)
override fun showCamera() {
    cameraIntent()
}

@NeedsPermission(Manifest.permission.READ_EXTERNAL_STORAGE)
override fun showGallery() {
    galleryIntent()
}

@OnPermissionDenied(Manifest.permission.CAMERA)
override fun showDeniedForCamera() {
    permissionDialog("Camera permission is necessary",{ showCameraWithPermissionCheck() })
}

@OnPermissionDenied(Manifest.permission.READ_EXTERNAL_STORAGE)
override fun showDeniedForGallery() {
    permissionDialog("Gallery permission is necessary",{ showGalleryWithPermissionCheck() })
}

Overview
"Generated onRequestPermissionsResult method not called." error.
Expected
There is a lint error , but the file was generated and i dont know why the error appear..
Actual
Lint error with :
"Generated onRequestPermissionsResult method not called." error.

Environment

Which library version are you using? 3.1.0
On which devices do you observe the issue? The error on android studio
Note any other information that might be useful

Reproducible steps

Does it happens only if you define multiple permission requests?

No, it happens for one permission either..

Got it. I don't think current lint support new kotlin feature.

Sorry for the late, we'll address in next ver.


chore: deflake reload test

flakes on safari all the time, this hopefully helps (reason: flakes with "navigation interrupted", this fix should wait on the navigation to finish)
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Mhm, after reading the docs of locator('..').click() I'm wondering if there's a really a difference to what was there before, as it says it would wait for navigations, too.. will rerun this a couple of times to see how it turns out.

Update: reran this about five times on mac (where the flakiness happens) and went through everytime.


Extracting Handlandmarks in Android??

Hello, is there any way to extract handlandmarks from the Input video stream like what we can do in python? sorry i'm still new in Android development.

This can help.
https://github.com/google/mediapipe/blob/master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/MainActivity.java

Thank you but which code do you point to for the handlandmarks extraction? and how we can do this per frame in android?

https://github.com/google/mediapipe/blob/master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/MainActivity.java#L53
processor.addPacketCallback will run for every frame

Oh Right, i got the idea and able to extract the coordinates.


vue style module does not prompt

What problem does this feature solve?

I have a prompt for writing styles in the Vue file. But if you use src Imports，

style doesn't prompt anymore
What does the proposed API look like?
How can external styles also have prompts?, If the cssmoodule of React introduces external files, it can also prompt

Ypu already opened thos iasue yesterday, and I moved it to the language-tools repo, as that's where thos would need to be solved.
https://github.com/vuejs/language-tools/issues/3505


KeyError: 'schema'

When I restart HA, after HACS installation i got the following error:
2019-07-14 10:48:59 INFO (MainThread) [custom_components.hacs] Runing startup tasks.
2019-07-14 10:48:59 INFO (MainThread) [custom_components.hacs] Trying to load existing data.
2019-07-14 10:48:59 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/hacs/hacsbase.py", line 62, in startup_tasks
    await self.migration.validate()
  File "/config/custom_components/hacs/hacsmigration.py", line 30, in validate
    elif self._old["hacs"]["schema"] == "1":
KeyError: 'schema'

I already activated
logs:
custom_components.hacs: debug
but no more information :(

Are there anything in .storage/hacs ?
Which version of HACS are you running?

Running the last version. Installed just this morning...
Yes i have a file on .storage/hacs.
SHould i remove it ?

"Latest" is not a version...
Don't remove it, use hastebin and paste the content here.

ludeeus,
I had a different installation in the past... for some time i didn't use it. When i tryed to load last week i got the "Background task running, refresh the page in a little while.". I rebooted but nothing happened... so... i decided to remove costum_components/hacs folder and all the cached files under /costum_components
I copied the folder from version 0.11.1 and reboot again. I thought everything from HACS will be under /costum_components/hacs folder.
Please check here the .storage/hacs:
https://pastebin.com/ht7sw4L4

that is a file for a really old version :)
Since you have not installed anything, remove that file, then restart HA.

removed. Error gone.
THanks for the quick and accurate support ludeeus.
Cheers.


Zotero export item format issue

I'm not sure if this question is within the scope of better Bibtex but please give it a look.
I've been using Zotero and bbt to manage a .bib file for years. My Zotero setting is Preferences-Export-Item Format-Better BibTex.
Recently I just found that Quick Copy can be helpful when writing latex and I switched the Export-Item Format setting to Better BibTex Quick-Copy: \cite{citation keys}.
Here comes the problem: although using quick copy to insert citation keys is super convenient, I cannot manage to .bib file anymore --- I have to switch back to Export-Item Format-Better BibTex to add new bib items into my .bib file and switching back to quick copy to add citation keys, which is really annoying.
Is there any workaround to use quick copy and add bib items at the same time?
Thank you in advance.

The debug id is Y3RY5WFS-apse.

You might want to use auto-export
You have BBT caching off BTW, that will affect performance.

For some reason, my bib file is forked from another place which only overlaps with my Zotero library  for about 20%. And all of my papers would share the same bib file.
Auto-export seems to work better to manage different auto-generated bib files as you mentioned in auto-export.

You can set up separate exports for separate papers for example if you have set up a collection for each.

One way I can think of is to import the bib file I'm currently using into Zotero as a separate collection, but that would result in a lot overlapped items which I'm not sure how to deal with.
Is there any other workaround to separate Better BibTex  and Better BibTex Quick-Copy: \cite{citation keys}?
Thank you!
Ps.: could you pls lemme know where to turn BBT caching on?

For some reason, my bib file is forked from another place which only overlaps with my Zotero library for about 20%. And all of my papers would share the same bib file.

That's not a scenario I can support. There's not enough information in the bib file to know what to update. It'd also be a performance and qualitynightmare, as BBT would have to parse and reconstruct the bib file frequently and perfectly.

Auto-export seems to work better to manage different auto-generated bib files as you mentioned in auto-export.

Yep. Why not split off that 20% to a separate file and have multiple files in your \bibliography call?

One way I can think of is to import the bib file I'm currently using into Zotero as a separate collection, but that would result in a lot overlapped items which I'm not sure how to deal with.

You'd get a lot of duplicates very fast. I'd not recommend doing this.

Is there any other workaround to separate Better BibTex  and Better BibTex Quick-Copy: \cite{citation keys}?

That is a Zotero question. BBT just provides the translators, Zotero calls them. Maybe that Zutilo has a shortcut key to do different exports?

Ps.: could you pls lemme know where to turn BBT caching on?

prefs - BBT - export - misc - enable caching

Thank you for your reply!
I've solved my problem by using Zutilo.
There's a function in Zutilo called Quick Copy Items which does exactly what I wanted.
For those who find this page on Google, please follow the guide of Quick Copy Items from the COMMANDS page of Zutilo.


Consider storing function selector pre-images onchain

it would be useful to have access to function selector pre-images to inspect the ABI of a World

Also consider changing the signature of registerFunctionSelector to just have a signature field - no need to separate function name and arguments

Implemented in #1575


Archive files are never created when there are lot of write in log file

When i write informations in logfile with interval of 10ms, the archive files are never created.
I've configure my nlog to archive every minute. So, 1 archive for each minute.
If i write with 100ms interval no problem.
I've test this for 20 minutes with 10ms and 100ms interval.
Below informations of my configuration :
ArchiveEvery = FileArchivePeriod.Minute;
ArchiveFileName = Path.Combine(logDirectory, ArchiveLogFilename);
ArchiveNumbering = ArchiveNumberingMode.Date;
ArchiveDateFormat = "yyyy-MM-dd hh-mm";
MaxArchiveFiles = 90;
KeepFileOpen = false;
Encoding = System.Text.Encoding.UTF8;

@jforestier Could you provide a sample project for this issue?

NLog relies on file last write time to determine whether it should archive the file: if the logEvent's timestamp is from next period (i.e. minute) and file last write time is from previous period, it decides to archive file.
Technically, it is possible that a file write begin in one period and might have completed in next period. In this case NLog, writing event from the next period, would not catch the difference between event's timestamp and last write time, and, as a consequence, would not archive file.

@ilya-g do you think that we can fix this?

We have been experiencing this issue quite a lot (log writes that overlaps into the next period), resulting in missed archiving. Currently we have implemented a workaround using a custom target.
One possible solution (however I have a hard time predicting all the consequences) could be to call File.SetCreationTimeUtc when creating the filestream in the base appender (to ensure that the creation time is reliable), and instead of LastWriteTimeUtc, use the CreationTimeUtc to determine when it is time for archival.
I am a complete newcomer in the open source world, but if you think the outlined solution is valid I would be happy to create a pull request.

That's sounds like a good idea! I think it would be great if we can fix this issue!
PR is accepted on this one.  If you need some insight info, just let us know!


Interface freezes when closing IPython console tab

Description
What steps will reproduce the problem?

Open an IPython console
Compute something in the console
Close the console's tab

What is the expected output? What do you see instead?
Expected: close the tab
Got: the interface freezes for some seconds after pressing the 'x' button. The console is eventually closed.
Please provide any additional information below
If there has been no computation, the interface freezes for less time
Version and main components

Spyder Version: 3.1.4
Python Version: 3.6.1
Qt Versions: 5.9.0, PyQt5 5.8.2 on Linux

Dependencies
jedi >=0.9.0     :  0.10.2 (OK)
matplotlib >=1.0 :  2.0.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.13.0 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
psutil >=0.3     :  5.2.1 (OK)
pycodestyle >=0.6:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.1 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.10.5 (OK)
sphinx >=0.6.6   :  1.6.2 (OK)
sympy >=0.7.3    :  1.0 (OK)

It looks like an issue with PyQt5. What happens if you use Qt 5.8 with PyQt 5.8?

Well, maybe a PyQt bug.
Having downgraded, I got
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 119, in <module>
    from PySide import __version__ as PYSIDE_VERSION  # analysis:ignore
ModuleNotFoundError: No module named 'PySide'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/spyder3", line 3, in <module>
    start.main()
  File "/usr/lib/python3.6/site-packages/spyder/app/start.py", line 103, in main
    from spyder.app import mainwindow
  File "/usr/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 49, in <module>
    requirements.check_qt()
  File "/usr/lib/python3.6/site-packages/spyder/requirements.py", line 39, in check_qt
    import qtpy
  File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 125, in <module>
    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

In any case, I believe one can expect a good 5.9 support, eventually, because

We are pleased to announce that Qt 5.9 will be a Long Term Supported (LTS) release.

Similar issue here. Closing an ipython console in Spyder takes around 8s. Does not matter if the console was pristine or had done some computations. Closing Spyder (from the X button) also takes several seconds.

Spyder Version: 3.1.4
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Linux 64-bit (Tumbleweed)
Fresh Anaconda 4.4.0 install

Really weird. Unfortunately, we're not able to reproduce this one, sorry.

@ccordoba12 Thanks!
It's very probable that this might depend on the toolkit combination.
@samotracio At least I'm no the only one. 😄
Looking forward for a better behaviour when the all the components and toolkits are based on Qt 5.9 LTS.

Thanks @ccordoba12 . I am about to boot in a newer Tumbleweed and try again. I shall let you know.
I suspect a Qt issue or a qdbus issue (what?). Yes, latest Anaconda broke my qtpaths and had to patch the startkde file to bring the X system back. See at the end of here

Nope. Same behavior under Tumbleweed 20170420 (KDE 5.94 and system-wide Qt 5.9).
@homocomputeris what is your graphics backend? When I set the graphics backend to Inline, then the sluggishness goes away. Any other choice, e.g. Qt5, Qt4, Tkinter, makes it comes back.

@samotracio I see no difference between inline and automatic.

This is a duplicate of issue #4051.


HDFS-17118 Fixed a couple checkstyle warnings in TestObserverReadProxyProvider

Description of PR
We noticed a few checkstyle warnings when backporting HDFS-17030 from trunk to branch-3.3. The yetus build was not stable at that time and we did not notice the newly added checkstyle warnings. Fix them now.
How was this patch tested?

unit test for TestObserverReadProxyProvider

xinglin@xinglin-mn1 ~/p/h/t/hadoop-hdfs-project (HDFS-17118)> mvn test -Dtest=TestObserverReadProxyProvider
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.99 s - in org.apache.hadoop.hdfs.server.namenode.ha.TestObserverReadProxyProvider
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0

mvn build for hadoop-hdfs.

xinglin@xinglin-mn1 ~/p/h/t/hadoop-hdfs-project (HDFS-17118)> mvn package -Dtar -Pdist -DskipTests -Dmaven.javadoc.failOnError=false
[INFO] Reactor Summary for Apache Hadoop HDFS Project 3.4.0-SNAPSHOT:
[INFO]
[INFO] Apache Hadoop HDFS Client .......................... SUCCESS [04:17 min]
[INFO] Apache Hadoop HDFS ................................. SUCCESS [03:33 min]
[INFO] Apache Hadoop HDFS Native Client ................... SUCCESS [  4.238 s]
[INFO] Apache Hadoop HttpFS ............................... SUCCESS [  6.406 s]
[INFO] Apache Hadoop HDFS-NFS ............................. SUCCESS [  3.799 s]
[INFO] Apache Hadoop HDFS-RBF ............................. SUCCESS [03:59 min]
[INFO] Apache Hadoop HDFS Project ......................... SUCCESS [  0.143 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12:04 min
[INFO] Finished at: 2023-07-23T23:03:01-07:00
[INFO] ------------------------------------------------------------------------

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 29s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 20s

trunk passed

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 52s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
0m 46s

trunk passed

+1 :green_heart:
mvnsite
0m 56s

trunk passed

+1 :green_heart:
javadoc
0m 50s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 13s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 58s

trunk passed

+1 :green_heart:
shadedclient
22m  0s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 43s

the patch passed

+1 :green_heart:
compile
0m 47s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 47s

the patch passed

+1 :green_heart:
compile
0m 42s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
0m 42s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 37s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2)

+1 :green_heart:
mvnsite
0m 49s

the patch passed

+1 :green_heart:
javadoc
0m 39s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 59s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 51s

the patch passed

+1 :green_heart:
shadedclient
22m  4s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
187m 57s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

282m 57s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5880

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 5607d5c71821 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9c877e48314dc97669b1ae2cf79d921f46ce59ff

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/1/testReport/

Max. process+thread count
3952 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 31s

trunk passed

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 49s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
0m 44s

trunk passed

+1 :green_heart:
mvnsite
0m 56s

trunk passed

+1 :green_heart:
javadoc
0m 52s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 17s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 56s

trunk passed

+1 :green_heart:
shadedclient
22m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 46s

the patch passed

+1 :green_heart:
compile
0m 46s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 46s

the patch passed

+1 :green_heart:
compile
0m 43s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
0m 43s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 34s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2)

+1 :green_heart:
mvnsite
0m 46s

the patch passed

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m 10s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 56s

the patch passed

+1 :green_heart:
shadedclient
21m 55s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
192m 46s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

289m 22s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5880

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 86ebbec19892 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / dc6e9bd001da66c685a34619dcd838ea36986086

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/2/testReport/

Max. process+thread count
3559 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi @goiri,
Can you take a look at this PR? Fix some checkstyle warnings introduced in HDFS-17030.
The uncheck cast error was not detected during the builds when merging into trunk. Not sure why that is the case.
I have also made these changes as part of the backport PR for branch-3.3.

Hi @goiri,
Could you take a look at this PR? thanks,

Hi @goiri,
Could you review it? thanks,

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
8m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 14s

trunk passed

+1 :green_heart:
compile
0m 57s

trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
0m 47s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 46s

trunk passed

+1 :green_heart:
mvnsite
0m 57s

trunk passed

+1 :green_heart:
javadoc
0m 51s

trunk passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
1m 14s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
2m  2s

trunk passed

+1 :green_heart:
shadedclient
22m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 48s

the patch passed

+1 :green_heart:
compile
0m 46s

the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
0m 46s

the patch passed

+1 :green_heart:
compile
0m 41s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 41s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 33s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 0 unchanged - 2 fixed = 0 total (was 2)

+1 :green_heart:
mvnsite
0m 47s

the patch passed

+1 :green_heart:
javadoc
0m 37s

the patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
1m  6s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m 54s

the patch passed

+1 :green_heart:
shadedclient
22m  6s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
188m 52s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

290m 36s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5880

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux b80c0ff63ebb 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9827fb8898c91d7321cdad047f6ae9b9b7a9f47d

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/3/testReport/

Max. process+thread count
3778 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5880/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Make Agile Space a meeting room

User Story
In order to successfully share the Agile Space on level 8 as a squad I want to ability to view and create bookings
Acceptance Criteria

[x] Kate talked to IS&D
[x] Contacted service desk
[ ] Communicated details to level 8 staff

Add an Assignee, Milestone, Release and any relevant Labels.

The space will be called L8 Agile Space and will be accessible to everyone at linz


ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration entsoe: Unable to import component: cannot import name 'EntsoePandasClient' from 'entsoe' (/usr/local/lib/python3.10/site-packages/entsoe/init.py)

I migrated my home assistant from a RPI 3 to 4 by making a backup and putting it back on fresh install. Bud now the ENTSO-e integration won’t start with the error:  ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration entsoe: Unable to import component: cannot import name 'EntsoePandasClient' from 'entsoe' (/usr/local/lib/python3.10/site-packages/entsoe/__init__.py)
I tried redownloading and re installing the integration bud I can’t find the fix.

It fixed itself after a day.


Reviewers/Approvers view is out of sync

I switched from one branch to another branch with different PRs and this section went out of sync

@sandy081 what version of GHPRI were you using at this time? Do you remember your exact steps (how did you change branches, did you checkout main, etc.)? I'm not able to repro, but this looks a bit like https://github.com/microsoft/vscode-pull-request-github/issues/3431 but that's been fixed in the last 2 releases.

I was on latest version then but I can't reproduce it now. I will keep an eye on it that if I can repro it again and report it. Closing it for now.


Hitting ctrl-z in ipynb notebook can cause corruption.

Issue Type: Bug
Hard to say. I made a number of edits in an .ipynb notebook in the vscode notebook editor. Hitting ctrl-z a few times ended up corrupting a markdown cell, making incorrect apparently random edits into the middle of the text.
I've seen this a few times, but can't reliably reproduce it.
Extension version: 2021.5.842923320
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T16:45:26.313Z)
OS version: Linux x64 5.4.99-12983-g8b7876ab9f5e

System Info

Item
Value

CPUs
06/8e (4 x 1607)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 0

Memory (System)
14.21GB (14.17GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id 9b09e0bc-2d95-4e4f-8096-e5ceebf3dfa0

Screen Reader
no

VM
100%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
undefined

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt943cf:30300583
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30290705
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30307504
vscorehov:30309549
bridgeflightcf:30302070
vscod805cf:30301675

Thanks for the bug.
This should be addressed when we switch over to VS code's new notebook API. Please track this issue for when we switch:
#1231.
You can try it yourself if you use VS code insiders.

Thanks for your feedback. This issue is addressed with new native support for editing notebooks starting with v1.59 of VS Code.


support for multiple regexp groups

Hi,
I have parameters with unique name + value for each session in the GET request, which look like _portlet_instance_cJ1vzbzA0fql_id=49006de3-de69-4f79-a882-cbff86cfb9b5
I tried to set "Find matches to this expression" to _portlet_instance_([a-zA-Z0-9]{12})_id=([\w-]{36}) and set the same regexp for replacement. However, when I check extender output, I get [INFO] Match index [0]: matched "cJ1vzbzA0fql", replaced with "cJ1vzbzA0fql" and no further change for the second group (index [1]).
I tried capturing the whole regexp (_portlet_instance_[a-zA-Z0-9]{12}_id=[\w-]{36}) which works.
Are you planning on supporting multiple regexp groups?

Hi, @Hipapheralkus!
In short, yes, I'm looking into implementing full regex support. See also #24.

@Hipapheralkus, a functional draft is available at https://github.com/elespike/burp-cph/tree/elespike-dev.
Please note, however, that the behavior has changed. There's no odd, custom handling of groups anymore; now you can use the full regex group capability.
For example:
Find matches to this expression: (aaa)(bbb)(ccc)
Replace with a static value (which now can be a regex): \1BBB\g3
Result: aaaBBBccc
Caveat: if you're using numbers in the replacement regex, you will need to be specific about groups; e.g.:
match: (111)(222)(333)
wrong replace: \1000\3, result: @0333
correct replace: \g<1>000\g<3>, result: 111000333
Lastly, that dev branch has not undergone all testing yet, so you may see some weird stuff.


Add some badges to README.md

I hope the image style of the badges are OK, will understand if they need to be changed.

Hello, I have question: is it possible to use react-primitives with electronJS?
https://stackoverflow.com/questions/59325461/can-react-primitives-be-used-in-electronjs-app

Ping @mathieudutour

don't think any of those badges are useful

I don't understand the disposition. I think all of the badges would be useful if someone looks at the npm page and has any interest in the information.

There is already the license and the link to the repo showing on the npm page, not need for all the issues links

The npm version badge would still be useful on GitHub, and I think others would appreciate it as well.
I just removed all of the other badges from this proposal. Do I have to open another PR for this to be considered?

I really don't think it's useful, but if that's something that you can't live without update the PR with just the npm badge and the default style

I just raised new PR with just the npm badge, with the default style I got from imgshields.io, since closed PR does not seem to take my updates. Thanks.


Trying to Create ASP.NET Core 3.1 Web App

Does this occur consistently?
Repro steps:

Yes.  I created the original Solution / Project in Visual Studio for Mac (8.7.1)
Closed VS for Mac and added the folder as a Workspace in Visual Studio Code
Was prompted install the C# extensions (did), stopped and restarted VSC.
Attempted to deploy the app.  Was presented with the error.
Restarted VSC, opened the workspace, tried again, same error.

Action: appService.Deploy
Error type: Error
Error Message: Task not found
Version: 0.18.0
OS: darwin
OS Release: 19.6.0
Product: Visual Studio Code
Product Version: 1.47.3
Language: en

Call Stack
A.$getTaskExecution workbench.desktop.main.js:4241:501
processTicksAndRejections task_queues.js:85:5

Can you copy the contents of the ".vscode/tasks.json" file at the root of your workspace? We should've prompted you to add tasks automatically...not sure why they're missing

Please let me know if you need anything else.
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/ChuckBotAPI/ChuckBotAPI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/ChuckBotAPI/ChuckBotAPI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/ChuckBotAPI/ChuckBotAPI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}

When I try to deploy a .NET Core project, I see a prompt like this:

After I click "Add Config", it will add a few more tasks, ending up with 5:

.vscode/tasks.json
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "dotnet",
            "type": "process",
            "args": [
                "build",
                "${workspaceFolder}/dotnet1.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "publish",
            "command": "dotnet",
            "type": "process",
            "args": [
                "publish",
                "${workspaceFolder}/dotnet1.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "watch",
            "command": "dotnet",
            "type": "process",
            "args": [
                "watch",
                "run",
                "${workspaceFolder}/dotnet1.csproj",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "clean",
            "command": "dotnet",
            "type": "process",
            "args": [
                "clean",
                "${workspaceFolder}",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "publish-release",
            "command": "dotnet",
            "type": "process",
            "args": [
                "publish",
                "${workspaceFolder}",
                "--configuration",
                "Release",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "problemMatcher": "$msCompile",
            "dependsOn": "clean"
        }
    ]
}

Can you post a screenshot of your workspace? Perhaps the folder structure isn't what we expect. Here's mine:


NullReferenceException on Android

Hey,
When scanning some barcodes it sometimes works, but after a while (no reall reproductionscenario yet) it crashes and gives a NullReferenceException.
E/DHL.GCA.Droid.Setup(18859): System.NullReferenceException: Object reference not set to an instance of an object
E/DHL.GCA.Droid.Setup(18859):   at ZXing.Mobile.CameraAccess.CameraController.ApplyCameraSettings () [0x00007] in <7c7c485bd9034360a95deed1c4c824b8>:0
E/DHL.GCA.Droid.Setup(18859):   at ZXing.Mobile.CameraAccess.CameraController.RefreshCamera () [0x00010] in <7c7c485bd9034360a95deed1c4c824b8>:0
E/DHL.GCA.Droid.Setup(18859):   at ZXing.Mobile.CameraAccess.CameraAnalyzer.RefreshCamera () [0x00001] in <7c7c485bd9034360a95deed1c4c824b8>:0
E/DHL.GCA.Droid.Setup(18859):   at ZXing.Mobile.ZXingSurfaceView+<SurfaceChanged>d__4.MoveNext () [0x00073] in <7c7c485bd9034360a95deed1c4c824b8>:0
E/DHL.GCA.Droid.Setup(18859): --- End of stack trace from previous location where exception was thrown ---
E/DHL.GCA.Droid.Setup(18859):   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3dc9ed3d31194319991e686734adcb10>:0
E/DHL.GCA.Droid.Setup(18859):   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in <3dc9ed3d31194319991e686734adcb10>:0
E/DHL.GCA.Droid.Setup(18859):   at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
E/DHL.GCA.Droid.Setup(18859):   at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
E/DHL.GCA.Droid.Setup(18859):   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
E/DHL.GCA.Droid.Setup(18859):   at (wrapper dynamic-method) System.Object:71f33231-71e9-4abc-a4e7-a73c907f8710 (intptr,intptr)

I/MonoDroid(18859): System.NullReferenceException: Object reference not set to an instance of an object
I/MonoDroid(18859):   at ZXing.Mobile.CameraAccess.CameraController.ApplyCameraSettings () [0x00007] in <7c7c485bd9034360a95deed1c4c824b8>:0
I/MonoDroid(18859):   at ZXing.Mobile.CameraAccess.CameraController.RefreshCamera () [0x00010] in <7c7c485bd9034360a95deed1c4c824b8>:0
I/MonoDroid(18859):   at ZXing.Mobile.CameraAccess.CameraAnalyzer.RefreshCamera () [0x00001] in <7c7c485bd9034360a95deed1c4c824b8>:0
I/MonoDroid(18859):   at ZXing.Mobile.ZXingSurfaceView+<SurfaceChanged>d__4.MoveNext () [0x00073] in <7c7c485bd9034360a95deed1c4c824b8>:0
I/MonoDroid(18859): --- End of stack trace from previous location where exception was thrown ---
I/MonoDroid(18859):   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3dc9ed3d31194319991e686734adcb10>:0
I/MonoDroid(18859):   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in <3dc9ed3d31194319991e686734adcb10>:0
I/MonoDroid(18859):   at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
I/MonoDroid(18859):   at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
I/MonoDroid(18859):   at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
I/MonoDroid(18859):   at (wrapper dynamic-method) System.Object:71f33231-71e9-4abc-a4e7-a73c907f8710 (intptr,intptr)

I also see I got an RuntimeException in my logcat:
E/ZXING   (18859): Setup Error: Java.Lang.RuntimeException: Fail to connect to camera service
E/ZXING   (18859):   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3dc9ed3d31194319991e686734adcb10>:0
E/ZXING   (18859):   at Java.Interop.JniEnvironment+StaticMethods.CallStaticObjectMethod (Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00082] in <a043032cf94a485190047a14918b9f60>:0
E/ZXING   (18859):   at Java.Interop.JniPeerMembers+JniStaticMethods.InvokeObjectMethod (System.String encodedMember, Java.Interop.JniArgumentValue* parameters) [0x00019] in <a043032cf94a485190047a14918b9f60>:0
E/ZXING   (18859):   at Android.Hardware.Camera.Open (System.Int32 cameraId) [0x00021] in <cb838ba5c6ed4f90bc34911f86b1bd92>:0
E/ZXING   (18859):   at ZXing.Mobile.CameraAccess.CameraController.OpenCamera () [0x000d1] in <7c7c485bd9034360a95deed1c4c824b8>:0
E/ZXING   (18859):   --- End of managed Java.Lang.RuntimeException stack trace ---
E/ZXING   (18859): java.lang.RuntimeException: Fail to connect to camera service
E/ZXING   (18859): 	at android.hardware.Camera.native_setup(Native Method)
E/ZXING   (18859): 	at android.hardware.Camera.<init>(Camera.java:419)
E/ZXING   (18859): 	at android.hardware.Camera.open(Camera.java:371)
E/ZXING   (18859): 	at md5e2ed3c6b13fcfff19371c0219cb2ee1f.ZXingSurfaceView.n_surfaceCreated(Native Method)
E/ZXING   (18859): 	at md5e2ed3c6b13fcfff19371c0219cb2ee1f.ZXingSurfaceView.surfaceCreated(ZXingSurfaceView.java:65)
E/ZXING   (18859): 	at android.view.SurfaceView.updateWindow(SurfaceView.java:602)
E/ZXING   (18859): 	at android.view.SurfaceView.access$000(SurfaceView.java:94)
E/ZXING   (18859): 	at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:183)
E/ZXING   (18859): 	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:891)
E/ZXING   (18859): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2201)
E/ZXING   (18859): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1256)
E/ZXING   (18859): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6635)
E/ZXING   (18859): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
E/ZXING   (18859): 	at android.view.Choreographer.doCallbacks(Choreographer.java:613)
E/ZXING   (18859): 	at android.view.Choreographer.doFrame(Choreographer.java:583)
E/ZXING   (18859): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
E/ZXING   (18859): 	at android.os.Handler.handleCallback(Handler.java:733)
E/ZXING   (18859): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/ZXING   (18859): 	at android.os.Looper.loop(Looper.java:146)
E/ZXING   (18859): 	at android.app.ActivityThread.main(ActivityThread.java:5593)
E/ZXING   (18859): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/ZXING   (18859): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/ZXING   (18859): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/ZXING   (18859): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/ZXING   (18859): 	at dalvik.system.NativeStart.main(Native Method)

Same as #620

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


introduce @end keyword

It is sometimes convenient to have a "junkyard" of code bits in a script, or to quickly disable execution of everything past a certain point when making changes to a script. An @end keyword that instructs the parser to stop parsing would be useful in this context.

An alternative would be to let the first "###" mean "start comment", the second "end comment", and so on. And there does not have to be an "end comment" matching a "start comment".
mechanism: GA
u: 1
###
A block
comment
###
beta:1

###
Junk yard
This part of the script
will be ignored.

Yes, that would work too!

(But it won't work if the junkyard already contains "###"-block comments.)


Potential compatibility with shadow DOM

When using custom elements, needs to create icons again when inside of shadow DOM. Shadow DOM invisible from document selectors, so can't be replaced directly. There is no new any icon.

What is the purpose of this pull request?

[ ] New Icon
[ ] Bug fix
[x] New Feature
[ ] Documentation update
[x] Other:

Description

Adds rootElement field for createIcons (default, is document).
Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

@unit-404 Cool idea!
Did you already get it working?
Maybe we can also test this with libraries like Lit.

About get working, I did it in separate code (re-wrap). I.e. re-created that function.


Increase stdout from setup/configure?

I got a new laptop and after a week of use realized I still needed to install jupyter... I figured I'd go ahead and set up the recommended analysis environment as well. Per the README, I ran ./setup/configure and things seem to be stalled at
$ ./setup/configure
************** Found an existing Conda installation in: /Users/mlevy/miniconda3/bin/conda **************
***************** Skipping Conda installation... *****************
************** Creating/Updating conda environments (this can take 5-10 min) ***********

It's been 20+ minutes, and while I would not be surprised to learn that conda is doing something behind the screens, a little more information on how to track progress over this period of time would be nice. $ conda list isn't showing any updates to (base) yet, but something is happening to my environment:
$ conda list envs
# packages in environment at /Users/mlevy/miniconda3:
#
# Name                    Version                   Build  Channel

I'll continue to let the script run in the background, hopefully it'll finish eventually...
(Possibly related to #30?)

I got impatient and ^Ced out. I don't know if the traceback is useful:
************** Creating/Updating conda environments (this can take 5-10 min) ***********
^CTraceback (most recent call last):
  File "./setup/configure", line 106, in <module>
    main()
  File "./setup/configure", line 102, in main
    prepare_env()
  File "./setup/configure", line 92, in prepare_env
    run_script(env_update_script, my_env)
  File "./setup/configure", line 33, in run_script
    out, err = process_output.communicate()
  File "/Users/mlevy/miniconda3/lib/python3.7/subprocess.py", line 939, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/Users/mlevy/miniconda3/lib/python3.7/subprocess.py", line 1681, in _communicate
    ready = selector.select(timeout)
  File "/Users/mlevy/miniconda3/lib/python3.7/selectors.py", line 415, in select
    fd_event_list = self._selector.poll(timeout)
KeyboardInterrupt

I'm trying the command one more time -- if this doesn't work, I might blow away my conda installation and see what happens if setup/configure installs it for me.

@mnlevy1981, thank you for reporting this issue.

It's been 20+ minutes, and while I would not be surprised to learn that conda is doing something behind the screens, a little more information on how to track progress over this period of time would be nice.

Since we are using subprocess, one solution is to split the bash scripts into smaller scripts.   What do yo think?

@mnlevy1981,
Can you try running
conda env update -f setup/env-conda-base.yml

conda env update -f ./setup/env-analysis.yml

on their own and see what conda is doing?

@andersy005

one solution is to split the bash scripts into smaller scripts.

That would be nice -- being able to see, for instance, if this was hanging in the conda update conda call or if it had moved on to updating base or creating analysis or whatever. If possible, could be also have timestamps when each of these processes end? Something like
(12:07:55) Updating conda to latest version
(12:09:12) Adding packages to (base) environment

(I'm sure there's a better format than above, but that's the level of information I'd find helpful).
Also, does it make sense to offer a step-by-step approach in the README if the configure script fails or if users just want a little more detail in exactly what they are doing? For that, I'm picturing something like

Can you try running
conda env update -f ./setup/env-conda-base.yml

conda env update -f ./setup/env-analysis.yml

on their own and see what conda is doing?

Like you just suggested. I'll do that now and let you know.

Verifying I was able to update base and create analysis using the provided yml files, so it's unclear to me why configure was hanging where it was

Glad to hear that individual steps work. Remember to run the post build script too:
./setup/post_build

post_build is failing:
+ jupyter labextension install @jupyter-widgets/jupyterlab-manager @pyviz/jupyterlab_pyviz nbdime-jupyterlab jupyter-leaflet
Building jupyterlab assets (build:prod:minimize)
+ jupyter labextension update --all
Extension 'nbdime-jupyterlab' already up to date
Extension '@pyviz/jupyterlab_pyviz' already up to date
Extension '@jupyter-widgets/jupyterlab-manager' already up to date
Extension 'jupyter-leaflet' already up to date
++ ls -A /Users/mlevy/.local/share/cartopy
ls: /Users/mlevy/.local/share/cartopy: No such file or directory
+ '[' '' ']'
+ python --output /Users/mlevy/.local/share/cartopy cultural-extra cultural gshhs physical
unknown option --output
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

That is interesting! Does /Users/mlevy/.local/share/ directory exist?

Nope! Not even ~/.local itself:
$ ls /Users/mlevy/.local
ls: /Users/mlevy/.local: No such file or directory

I see... We need to make sure that that directory exists and if doesn't, we should create it in the post build scripts..
When you get time, can you take a look at https://circleci.com/gh/NCAR/ncar-python-tutorial/75 and let me know what you thing in terms of the stdout info.

Making the directory doesn't seem to matter much, the error is still from the --output option (the ls results look the same)
++ ls -A /Users/mlevy/.local/share/cartopy
+ '[' '' ']'
+ python --output /Users/mlevy/.local/share/cartopy cultural-extra cultural gshhs physical
unknown option --output
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

Unless cartopy is supposed to be a python script created by one of the earlier scripts? I tried creating ~/.local/ and post_build failed as in https://github.com/NCAR/ncar-python-tutorial/issues/38#issuecomment-527584734, so I created ~/.local/share/ and it failed in the same way so I created ~/.local/share/cartopy/ and it returned the above error. Note that the only difference is the missing ls: /Users/mlevy/.local/share/cartopy: No such file or directory line (I think)

When you get time, can you take a look at https://circleci.com/gh/NCAR/ncar-python-tutorial/76 and let me know what you thing in terms of the stdout info.

It looks like you're still tweaking things, but a couple of comments based on the output
************* Step 1/5: Installing Miniconda  *****************
************* Step 2/5: Updating `base` conda environment *******************
************* Step 3/5: Creating/Updating `analysis` conda environment (this can take 5-10 min) ***********
************* Step 4/5: Running post build script for `base` environment **************
************* Step 5/5: Running post build script for `analysis` environment ***************
************* Setup completed successfully. ****************

This is certainly more informative than the previous output, though I still think it would be useful to append a time stamp to each step so that users can track how long it's actually been. I'd like
************* Step 1/5: Installing Miniconda  (HH:MM:SS) *****************

but could see an argument for
************* Step 1/5: Installing Miniconda  (MMM DD YYYY HH:MM:SS) *****************

Also, it's still just two big steps:

Install Miniconda
Set up environments for this tutorial

So I was picturing
************* Step 1/2: Installing Miniconda (HH:MM:SS) *****************
************** Step 2/2: Creating/Updating conda environments (this can take 5-10 min) (HH:MM:SS) ***********
************* Step 2a: Updating `base` conda environment (HH:MM:SS) *******************
************* Step 2b: Creating/Updating `analysis` conda environment (HH:MM:SS) ***********
************* Step 2c: Running post build script for `base` environment (HH:MM:SS) **************
************* Step 2d: Running post build script for `analysis` environment (HH:MM:SS) ***************
************* Setup completed successfully. (HH:MM:SS) ****************

(That's not a big deal if the bookkeeping is easier to just let each script be its own step.)

Looking at this a bit more

python --output /Users/mlevy/.local/share/cartopy cultural-extra cultural gshhs physical

It appears the setup/download_cartopy_assets.py script is not being passed to Python
python $CARTOPY_ASSET_SCRIPT --output ~/.local/share/cartopy cultural-extra cultural gshhs physical

I am going to investigate why $CARTOPY_ASSET_SCRIPT is null.

@mnlevy1981

I am going to investigate why $CARTOPY_ASSET_SCRIPT is null.

I know why this is happening. $CARTOPY_ASSET_SCRIPT  is set in configure script, and running the post build script on its own should fail since this variable doesn't exist outside of the subprocess called process.
Try running the original
./setup/configure

This is certainly more informative than the previous output, though I still think it would be useful to append a time stamp to each step so that users can track how long it's actually been. I'd like

👍
I just added this in #40

The latest version stdout:
****** Step 1/5: Installing Miniconda (20:10:31) ******
****** Step 2/5: Updating `base` environment (20:10:36) ******
****** Step 3/5: Creating/Updating `analysis` environment (this can take 5-10 min) (20:12:01) ******
****** Step 4/5: Running post build script for `base` environment (20:15:39) ******
****** Step 5/5: Running post build script for `analysis` environment (20:17:16) ******
****** Setup completed successfully. (20:20:52) ******
==> For changes to take effect, close and re-open your current shell. <==

@mnlevy1981, let me know if you give #40 the green light, and I merge it.

@mnlevy1981

I am going to investigate why $CARTOPY_ASSET_SCRIPT is null.

I know why this is happening. $CARTOPY_ASSET_SCRIPT  is set in configure script, and running the post build script on its own should fail since this variable doesn't exist outside of the subprocess called process.
Try running the original
./setup/configure

This worked, thanks! I'm not sure why setup/configure worked after I created the environments by hand either, but I'll take it.
(I responded to your comments about the PR itself in #40 -- off to a meeting now, but will try to finalize review before I leave for the night. Thanks for taking this on!)