Portus freezes when trying to get manifest after image push

We use Portus in the docker environment. Both our registry as well as Portus use TLS. We do not use any proxy in addition to that set-up. The code we use is the current (15/09/30) master from github.
Whenever we try to push an image, Portus freezes exactly at the function get_response_token, line 140 Net::HTTP.start. The start call never returns. The trace till this point (with added debugging messages) is:
Registry client called, host=dregistry.example.com:5000, use_ssl=true, username=
Registry client manifest, repoistory=userx/busybox6, tag=sha256:4c537efbcc9382e8d6486b5185279f4c902532d4af3be707cff1a1cfb1bc01d8
perform_request called, uri=https://dregistry.example.com:5000/v2/userx/busybox6/manifests/sha256:4c537efbcc9382e8d6486b5185279f4c902532d4af3be707cff1a1cfb1bc01d8
perform_request: before calling get_response_token https://dregistry.example.com:5000/v2/userx/busybox6/manifests/sha256:4c537efbcc9382e8d6486b5185279f4c902532d4af3be707cff1a1cfb1bc01d8
get_response_token: uri=dregistry.example.com,5000, use_ssl=true
get_response_token: inside http.start
get_response_token: req done: #<Net::HTTP::Get:0x007fca97f9dcd8>
perform_request: after calling get_response_token res.code= 401
perform_request: 401
perform_request: calling request_auth_token
request_auth_token called, bearer_real=https://dregistry.example.com:3000/v2/token, query={"service"=>"dregistry.example.com:5000", "account"=>"portus", "scope"=>"repository:userx/busybox6:pull"}, uri=https://dregistry.example.com:3000/v2/token?account=portus&scope=repository%3Auserx%2Fbusybox6%3Apull&service=dregistry.example.com%3A5000
request_auth_token called, credentials found
request_auth_token: before calling get_response_token
get_response_token: uri=dregistry.example.com,3000, use_ssl=true

If we change the function a little bit and add http.open_timeout, it returns with the following error:
Could not fetch the tag for target {"mediaType"=>"application/vnd.docker.distribution.manifest.v1+json", "size"=>6709, "digest"=>"sha256:4c537efbcc9382e8d6486b5185279f4c902532d4af3be707cff1a1cfb1bc01d8", "length"=>6709, "repository"=>"userx/busybox6", "url"=>"https://dregistry.example:5000/v2/userx/busybox6/manifests/sha256:4c537efbcc9382e8d6486b5185279f4c902532d4af3be707cff1a1cfb1bc01d8"}
Reason: execution expired

Even more strange, when we call the manifest function from the rails console:
myClient=Portus::RegistryClient.new("dregistry.example:5000",true)
myClient.manifest("userx/busybox6","sha256:c3102a0622d47e661b61208c19de53826fc725f9840b915ad1afd17ee5be6f70")

... everything works as excepted.
This problem was first mentioned in another issue: https://github.com/SUSE/Portus/issues/338

I have additional information. I added set_debug_output to the request. It seems, that the connection is established, however, http.start does not return. The following output is generated:
opening connection to dregistry.example.com:3000...
opened
starting SSL for dregistry.example.com:3000...
SSL established

Ok, after debugging the problem, it seems like it's quite a straight-forward problem and it's not Portus' fault really. I was using a config in which Portus was behind NGinx with SSL and my registry run on its own with SSL too. The thing is that when Portus gets a notification, it will make a GET request to the registry in order to get the tag that has been pushed (we didn't do that before 2.1, but it's required now). Anyways, in order to do that, you need a free SSL connection in place, and in this setup you don't, because it's already busy by the registry -> Portus web event. Thus, in this case Portus didn't hang in an infinite loop, rather it waited for the connection to be free. In my case I had to wait until the connection timed out, and then Portus could fetch the manifest. Even in this case, the tag would not be pushed into Portus' DB because the first connection timed out, and therefore errored.
The solution, therefore, is to either use the passenger config that we are using in the rpm that we build (and if I recall correctly, we didn't write any specific config for passenger to work here), or to come up with a configuration with NGinx or another that respects that. For example, an approach that worked for my NGinx config was the one described here. Basically in this config you'll end up using two sockets with thin, instead of one single connection.
Since this is tricky, I'll add a page on the wiki about deploying Portus.
Please, tell me if this solution works for you, and thanks for your patience :)

Thanks for the excellent work solving this problem. I can confirm - the problem is solved for us. We can now successfully push an image to the registry  and all information are gathered without Portus freezing.
The configuration for running this in docker is now quite extensive. Shall i document it somewhere or send it to you so that you can have a look what of the configuration settings seems relevant for other users?

@morodin yeah, please share the document with us. We would be glad to add more information to our wiki

@morodin good to know! I'll close this issue, but it would be great if you could share your configuration with us, so we can extend the wiki. Thanks!

I documented out configuration on https://github.com/morodin/Portus/wiki/Portus-SSL-Docker-Configuration. I really appreciate all comments or correction.

@morodin wow, this is fantastic! I'll try to complete the wiki from our side with some of the information and tips that you've provided in your wiki. I'll also reference your wiki page for completeness. Thanks!


Update LP address

Update Mainnet LP contract

Codecov Report

Merging #453 (4c03c77) into develop (1323186) will increase coverage by 9.95%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #453      +/-   ##
===========================================
+ Coverage    76.09%   86.05%   +9.95%
===========================================
  Files           81       49      -32
  Lines         3037     1936    -1101
  Branches       469      307     -162
===========================================
- Hits          2311     1666     -645
+ Misses         726      270     -456

Flag
Coverage Δ

batch-submitter
?

contracts
86.05% <ø> (ø)

core-utils
?

data-transport-layer
?

message-relayer
?

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

Impacted Files
Coverage Δ

...ices/l1-ingestion/handlers/state-batch-appended.ts

.../l1-ingestion/handlers/sequencer-batch-appended.ts

.../batch-submitter/src/transaction-chain-contract.ts

...h-submitter/src/batch-submitter/batch-submitter.ts

.../src/services/l2-ingestion/handlers/transaction.ts

...ackages/batch-submitter/src/utils/tx-submission.ts

packages/data-transport-layer/src/utils/index.ts

packages/data-transport-layer/src/utils/common.ts

packages/core-utils/src/watcher.ts

packages/data-transport-layer/src/utils/eth-tx.ts

... and 22 more

Continue to review full report at Codecov.

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


How to use Context

Hi,
I wonder what is the right way to manage contexts, as it is possible to create multiple contexts (Version 1 was implemented using a static singleton, while version 2 uses a “Context” to avoid static singletons). Should I create one context and share it across my application classes, or can each class manage its own pi4j context?
Documentation says: "Terminating/destroying the context stops and releases all resources, threads, listeners, and provisioned I/O instances held by the context" - does this mean that the created contexts are independent and destroying one does not affect the others? If so, is it possible to have reference to the same device (e.g. the same i2c device) in few contexts?
Thanks in advance for clarification.

Thanks for clarification.
Please consider expanding the description of the context to include the above explanation.

@savageautomate Again, many thanks. I have just started a project with pi4j v2 so more questions may arise in the near future ;)


heron-shell refactor

split handlers in heron-shell into separate files. Put them under handlers directory
increase timeout of HTTP request, since jmap and jstack could run longer than the default 20ms

This is a prerequisite patch for fixing jmap/jstack operations on UI in Twitter internal environment. This means that we will provide our all jmap/jstack handlers for Twitter internal environment.

Thanks. Merged!


test/suites/static/analysis: Fixes ineffassign usage due to upstream changes

Caused by https://github.com/gordonklaus/ineffassign/commit/664217a59c00a74b4491898ca757d3f711fff321
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

Testsuite passed

Testsuite passed


Importing CPs with holes

Flat-folder has issues importing crease patterns with holes in some formats. The importer should do a better job of recognizing boundary edges, and removing faces if they are entirely bounded by boundary edges.

ce922f9
Changes:

CP edges now default to "B" instead of "U". This removes the old (and probably ill-advised) support for allowing internal boundary edges to be interpreted as "U".
SVG edges still default to "U" when not assigned a recognized stroke color; but it now recognizes black edges specifically as "B" edges. The two unassigned SVG examples in the original dataset have been modified to color unassigned creases a non-black color.
External boundary is still converted to "B", regardless of imported assignment.
When assigning faces, the importer now removes any faces bounded entirely by boundary edges.


Misc refactoring

Misc cleanups for dead/suboptimal code and Coverity warnings.

Removed commits which were already merged to master.


Add reassignment variants for StoreProperty, StoreElement, StoreComputedProperty and StoreSuperProperty

Review comments addressed, I've also gone ahead and renamed the BinaryOpAndReassign operation instead of adding a TODO.


Enabled/disable jobs feature

Coverage increased (+0.3%) to 96.863% when pulling 0e19709e3df0c1f9226adb1232d11eff1d1d5a8c on feature/enable-disable-jobs into 695a3ad0c546c881525ab749797de18e8e7f139c on master.

Coverage increased (+0.3%) to 96.866% when pulling c2c47e0e821ae1c89684594f1d3e3e28bdf3dedf on feature/enable-disable-jobs into 695a3ad0c546c881525ab749797de18e8e7f139c on master.

Coverage increased (+0.2%) to 96.67% when pulling aba773a7894a8a0bb0bb675735b9e468cd86bab9 on feature/enable-disable-jobs into 695a3ad0c546c881525ab749797de18e8e7f139c on master.

Coverage increased (+0.3%) to 96.86% when pulling cba1495a74b8c35c7c00f362c3c1f6bc24d64fd9 on feature/enable-disable-jobs into 695a3ad0c546c881525ab749797de18e8e7f139c on master.

Coverage increased (+0.3%) to 96.86% when pulling 9bc9af61bfe4da48bbb1bca3f749fd10aef54e7f on feature/enable-disable-jobs into 695a3ad0c546c881525ab749797de18e8e7f139c on master.


Update ERC-3643: Move to Last Call

copy of https://github.com/ethereum/EIPs/pull/7871
Move the ERC-3643 to Last Call status after 3 month of call for reviews from the community and successful review sessions with the erc3643 association, where we passed in review with all the members of the association the whole description of the EIP and got approval from all to move forward to final status

@eth-bot rerun

@SamWilsn i added a sub section in the rationale to address your concerns as discussed on the Ethereum Magicians forum  I hope this makes everything more clear


group throws an error if you give it a label

I'm getting an error trying to put a label inside a group block. If I drop the label it works just fine.
Here is the reproduction pipeline.rb file:
Buildkite::Builder.pipeline do
  group do
    label 'Group'
    command do
      label 'Step 1'
      command 'echo "Hello, world!"'
    end
    command do
      label 'Step 2'
      command 'echo "Hello, world!"'
    end
  end
end

The error I get is:
/Users/ianchesal/src/kubernetes/.buildkite/pipelines/error/pipeline.rb:3:in `block (2 levels) in <main>': wrong number of arguments (given 1, expected 0) (ArgumentError)
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/group.rb:28:in `instance_eval'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/group.rb:28:in `initialize'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/extensions/steps.rb:21:in `new'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/extensions/steps.rb:21:in `group'
	from /Users/ianchesal/src/kubernetes/.buildkite/pipelines/error/pipeline.rb:2:in `block in <main>'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/pipeline.rb:68:in `instance_eval'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/pipeline.rb:68:in `block in to_h'
	from /usr/local/lib/ruby/3.0.0/benchmark.rb:308:in `realtime'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/logging_utils.rb:9:in `benchmark'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/pipeline.rb:67:in `to_h'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/pipeline.rb:78:in `to_yaml'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/commands/preview.rb:12:in `run'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/commands/abstract.rb:54:in `execute'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/commands/abstract.rb:25:in `execute'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/lib/buildkite/builder/commands.rb:27:in `run'
	from /usr/local/bundle/gems/buildkite-builder-3.8.0/exe/buildkite-builder:6:in `<top (required)>'
	from /usr/local/bundle/bin/buildkite-builder:25:in `load'
	from /usr/local/bundle/bin/buildkite-builder:25:in `<main>'

If I change pipelines.rb to the following it renders without issue:
Buildkite::Builder.pipeline do
  group do
    command do
      label 'Step 1'
      command 'echo "Hello, world!"'
    end
    command do
      label 'Step 2'
      command 'echo "Hello, world!"'
    end
  end
end

I should have mentioned: I'm using v3.8.0 -- looks like group.rb was restructured in a later release. I don't see any newer releases on your release page though.

@ianchesal 4.1.2 is the latest release, and it is what we use. Can you try on that version, and let me know if it works?
I'm not sure what happened to the "Releases" on the sidebar, but we should automate that to keep things in sync.

@technicalpickles looks like 4.1.2 isn't on docker-hub yet: https://hub.docker.com/r/gusto/buildkite-builder/tags
❯ docker run -it --entrypoint='' -v `pwd`:/app gusto/buildkite-builder:4.1.2 bash
Unable to find image 'gusto/buildkite-builder:4.1.2' locally
docker: Error response from daemon: manifest for gusto/buildkite-builder:4.1.2 not found: manifest unknown: manifest unknown.
See 'docker run --help'.

But trying 4.1.0 and it renders correctly. Will upgrade to that. Thanks!

Hey @ianchesal 4.1.2 has been released on docker hub. Sorry about that.


special characters in password is not quoted

[x ] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

**macOS 10.14.2 **:
Poetry 0.12.8:
Link of a Gist with the contents of your pyproject.toml file:

Issue

so basically it's like poetry is forming a url like<EMAIL_ADDRESS>but if the password has special characters, it fails. the username and password should be urlencoded.
import urllib.parse
password = 'wh@t:ever$'
quoted_password = urllib.parse.quote(password))
url =<EMAIL_ADDRESS>
workaround is set the url directly to the one with username and password.
poetry config repositories.whatever<EMAIL_ADDRESS># poetry config repositories.whatever<EMAIL_ADDRESS>

#1341 fixes this issue.


Update README.md

@Chetan8000 thanks for that!
I assumes that anyone using python knows what plt stands for but I guess it's always best to be explicit about it and leave no room for confusion :)


Port functionality from .cluster into v4 client

Codecov Report
Attention: 127 lines in your changes are missing coverage. Please review.

Comparison is base (0224f0a) 89.43% compared to head (9108161) 89.43%.
Report is 32 commits behind head on beta/v4.0.

Files
Patch %
Lines

weaviate/proto/v1/search_get_pb2.py
0.00%
63 Missing :warning:

integration/test_collection_rerank.py
33.33%
24 Missing :warning:

integration/test_batch_v4.py
91.09%
13 Missing :warning:

integration/test_collection_filter.py
84.00%
8 Missing :warning:

integration/conftest.py
86.27%
7 Missing :warning:

integration/test_collection_geo.py
78.57%
3 Missing :warning:

weaviate/collections/meta.py
86.36%
3 Missing :warning:

weaviate/collections/grpc/query.py
80.00%
2 Missing :warning:

integration/test_collection_aggregate.py
96.66%
1 Missing :warning:

integration/test_collection_batch.py
96.55%
1 Missing :warning:

... and 2 more

Additional details and impacted files
@@            Coverage Diff             @@
##           beta/v4.0     #684   +/-   ##
==========================================
  Coverage      89.43%   89.43%
==========================================
  Files            142      154   +12
  Lines          16551    16561   +10
==========================================
+ Hits           14803    14812    +9
- Misses          1748     1749    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Regular deps update

Angular 2 Beta 11, Gulp inject 4, and others

Now dropping support for node 0.x.x since gulp inject 4 needs 4.x.x and 4.3.x is recommended since known security updates

Coverage remained the same at 100.0% when pulling 7c8616c40bfb59b9801f0942058fad170f54e624 on update-dep into 34fbbc7c3d4a82d707b6e7e76f87867551c78f22 on master.


Iterate and display Marks - Feature Request

I have been using vim-signature for a while. It allows me to display all my Vim Marks , iterate through them one after the other , generate them , delete a mark. I would like a way to iterate through all my marks in Vim (whether global or local)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37800163-iterate-and-display-marks-feature-request?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

I agree, vim-signature is really nice. Such features would be useful with XVim.
The closest we could get at the moment is simply :marks. This lists all of the marks that have been set and provides line numbers so that you could jump to them (e.g., 25gg or 11G). It's not exactly a way to smoothly iterate over the marks that are available but it's better than nothing I guess.


Worker mode should have better strategies to GC workers which are consuming a lot of memory and options for configuring the number of possible workers.

tsc --watch is pretty memory heavy in general - a project with just 6 files and 5-6 dependencies in package.json ends up taking ~300 Mbs. Our company's projects are pretty massive ~ 300 files in some projects!
I have seen tsc workers taking around 22 GBs of memory on our projects and sometimes they get OOMed. I tracked down the problem to this function in ts_project_worker.js :
function isNearOomZone() {
    const stat = v8.getHeapStatistics()
    const used = (100 / stat.heap_size_limit) * stat.used_heap_size
}

This check is only for the v8's used heap memory however there's no check on the used memory of the entire system.
I changed the function to get around OOM:
function isNearOomZone() {
    const stat = v8.getHeapStatistics()
    const used = (100 / stat.heap_size_limit) * stat.used_heap_size
    const availableMem = os.freemem()
    const totalMem = os.totalmem()
    const ans =
        100 - used < NEAR_OOM_ZONE ||
        (100 * availableMem) / totalMem < NEAR_OOM_ZONE
    return ans
}

and implemented the following GC strategy as a workaround (GC the worker which has the least sourcefiles)
function sweepLeastRecentlyUsedWorkers() {
    while (workers.size > 0 && isNearOomZone()) {
        // Find the program with least number of source files and kill it.
        const m = Array.from(workers.entries()).map(([k, v]) => {
            return [k, v.program.getCurrentProgram().getSourceFiles().length]
        })
        m.sort((a, b) => a[1] - b[1])
        const [killKey, _] = m[0]
        fs.appendFileSync(
            'WorkerLog.txt',
            `Killing worker with key: ${killKey} at time ${Date.now()}`
        )
        workers.get(killKey).program.close()
        workers.delete(killKey)
    }
}

there's been a lot of discussion about memory control for workers. bazel lacks resource control and estimation when it comes to workers.
See: https://github.com/bazelbuild/bazel/issues/10662 and https://github.com/bazelbuild/bazel/issues/12165.
the principled fix is here letting bazel control system-wide resource management.  OTOH, I'd be willing to take a peek at why it takes 300Mb of ram for each target. 300Mb seems excessive. maybe I could come up with extra optimization like sharing ASTs across targets to reduce duplicate ASTs.

You can do this simply by adding args to the target;
args = [
  "--generateTrace",
  "/tmp/traces"
]

Hey there's definitely scope of optimization across sharing watchers and ast. I guess it requires a deeper dive in the ts compiler's code.
I saw tsc --watch (the cli command) consuming around 300 MBs on a project with 4-5 ts files and 6-7 deps in package.json

sharing watchers

with the virtual fs implementation present, watchers are barely a problem.

and ast

the problem mostly arises from having to store hundreds of ASTs. now that I am thinking about it, you might even be suffering from memory leaks if you have multiple ts_project targets in the same BUILD file.
I am warm to the idea of having different GC algorithms but I am not entirely sure that would work for everyone.

Due to bugs like this one, we are moving away from supporting the Persistent Worker in the next major 2.0 release of rules_ts, and likely will never fix this, sorry!


Store SCO attempts in Activity Profile

To make it easier to figure out the number of attempts on an Activity and to remove semantic meaning from the URI, update the Activity State attempts property with a new attempt IRI.
ex.
New Attempt

generate new attempt IRI (possibly like how it's already described in this doc)
get the Activity State for this Activity
add the new attempt IRI to the end of the 'attempts' array property in the profile
save the profile to the LRS
add the new attempt IRI to the context activities grouping array for all statements in this attempt

i believe all of this is in the new pull request #30


cycle login with multiple_flightpath_dockwidget

Purpose of PR?:
Fixes #2037
Does this PR introduce a breaking change?
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Does this PR results in some Documentation changes?
If yes, include the list of Documentation changes
Checklist:

[X] Bug fix. Fixes #2037
[ ] New feature (Non-API breaking changes that adds functionality)
[ ] PR Title follows the convention of  <type>: <subject>
[ ] Commit has unit tests

A further test which enables multiple operations is needed

A further test which enables multiple operations is needed

seems that would needs a wider refactoring.
We should have a class for collecting the data and all QT elements and related methods in the  MultipleFlightpathControlWidget for using the data. Currently that is mixed.
By the current design the control qt elements of the different operations can't be accessed over the parent. That means also they can't be used for tests or tutorials, because they can't be searched.
The gifcycle shows the problem.

seems that would need a wider refactoring. This could be part of a GSOC project or later a new issue.

So, by this you mean for now we don't need to worry about the test and for now just focus on having a class for collecting the data and all QT elements and related methods in the MultipleFlightpathControlWidget for using the data.

We need much more tests. The tests define the later solution. When we know the reason a test now fails we set it to xfail.
When the code gets improved it can be checked with these tests.

Visual the test results on a "slow" CPU verified.  Some ToDo's added


fix(ci): aztec node devnet healthchecks

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
Metrics with a significant change:

note_history_trial_decrypting_time_in_ms (5): 164 (-45%)
note_trial_decrypting_time_in_ms (32): 37.4 (-36%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit fffc7007 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,068
868,208
3,449,588

l1_rollup_execution_gas
842,155
3,595,316
22,204,957

l2_block_processing_time_in_ms
2,207
8,416 (-1%)
35,115 (-1%)

note_successful_decrypting_time_in_ms
311
910 (-2%)
3,353

note_trial_decrypting_time_in_ms
21.9 (-8%)
:warning: 37.4 (-36%)
200 (-1%)

l2_block_building_time_in_ms
20,163
80,105
321,604

l2_block_rollup_simulation_time_in_ms
16,633
66,215
265,808 (-1%)

l2_block_public_tx_process_time_in_ms
3,497
13,823
55,549

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
24,817 (-1%)
47,396 (-1%)

note_history_successful_decrypting_time_in_ms
2,159 (-4%)
4,200 (-3%)

note_history_trial_decrypting_time_in_ms
:warning: 164 (-45%)
226 (-3%)

node_database_size_in_bytes
3,619,459
3,918,198

pxe_database_size_in_bytes
29,748
59,307

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
199
43,109
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
2,957
667,692
873

root-rollup
84.5 (-6%)
4,072
881

private-kernel-inner
260
64,516
20,441

public-kernel-private-input
171
25,203
20,441

public-kernel-non-first-iteration
168
25,245
20,441

merge-rollup
10.9
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,323
25,938


tls: performance of allocating slot could be improved, it's O(N) for now.

Issue Template
Title: Allocating a slot currently including a linear searching for empty slot in the slots vector, in the case of frequent allocating and deallocating, this could be a performance issue.
Description:

in InstanceImpl::allocateSlot, a linear search is done before expanding the slots_'s size.

https://github.com/envoyproxy/envoy/blob/master/source/common/thread_local/thread_local_impl.cc
for (uint64_t i = 0; i < slots_.size(); i++) {
if (slots_[i] == nullptr) {
std::unique_ptr slot(new SlotImpl(*this, i));
slots_[i] = slot.get();
return slot;
}
}
We can maintain a free list to return existing free slot in O(1).

/assign stevenzzzz

Fixed


request 'listbreakpoints' was cancelled because node is unresponsive

Id: 4f3e6055-db00-b505-57ef-2fbd3cb89778Versions - 0.10.1-releaseStack /vs/workbench/parts/debug/node/rawDebugSession.ts#L68:28 (RawDebugSession.send)vs/workbench/vs/base/common/winjs.base.raw.js#L1470:0 (onError)vs/workbench/vs/base/common/winjs.base.raw.js#L1176:0 (_notify)vs/workbench/vs/base/common/winjs.base.raw.js#L1343:0 (enter)vs/workbench/vs/base/common/winjs.base.raw.js#L1316:0 (_run)/vs/workbench/parts/debug/node/v8Protocol.ts#L61:5 (V8Protocol.send)/vs/workbench/parts/debug/node/v8Protocol.ts#L127:4 (V8Protocol.dispatch)/vs/workbench/parts/debug/node/v8Protocol.ts#L96:11 (V8Protocol.handleData)/vs/workbench/parts/debug/node/v8Protocol.ts#L51:8 (V8Protocol.connect)    at Socket. (out/vs/workbench/workbench.main.js:1593:24200)    at emitOne (events.js:77:13)

@weinand this is as designed, right? Do you think there is something better we could do here?

Assigning to Andre to read the comment 😇

All timeouts are a result of debugging large data structures on versions of node.js that do not support code injection.
Resolved as a duplicate of Microsoft/vscode-node-debug#11


Implement Async I/O using LIBAIO for Read Requests

Edit by phoeinx:
This PR implements async I/O for read requests using the POSIX AIO interface.
We are especially interested in feedback for the random read method FileIOMicroReadBenchmarkFixture::aio_random_read which could definitely have been implemented differently, too.

Why do we have as many filedescriptors as the batchsize is?

After a discussion regarding his feedback between @Bouncner and me yesterday, we realized that aio from aio.h which we are currently using probably isn't what we actually want.
See this discussion.
I don't have time to look into this until this evening, if anyone is up to doing that before, please message me and I can give you more details of what we discussed.

Good resource for libaio:
https://github.com/littledan/linux-aio

Can you find a way to work around, that libaio cannot be installed on Mac? Similar to what we did with umap (see file_io_read_mmap_benchmark; search for #ifdef __linux__).


Error: One of the glob patterns doesn't match any files

About 80% of the time when I run nuxt build or generate I get the error referred below. I get that error in brand new linux boxes in the cloud, as well as on my local Mac. The weird part is that sometimes, if I wait a few minutes and then run the command again, it works fine for no apparent reason.
You can try to replicate the error by cloning the DEV branch of one of my repos:
https://github.com/fabionolasco/fabionolasco.com/tree/dev

nuxt build

nuxt:build Building... +0ms
nuxt:build App root: /fabio/fabionolasco.com +1s
nuxt:build Generating /fabio/fabionolasco.com/.nuxt files... +0ms
nuxt:build Generating files... +8ms
nuxt:build Generating routes... +7ms
nuxt:build Building files... +66ms
build [==========          ] 50%Error: One of the glob patterns doesn't match any files. Please remove or fix the following: {
"globDirectory": "/fabio/fabionolasco.com/.nuxt/dist",
"globPattern": "/*.{js,css}",
"globIgnores": [
"node_modules//*",
"../../static/workbox-sw.prod.v1.1.0.js",
"../../static/sw.js"
]
}
at module.exports.err (/fabio/fabionolasco.com/node_modules/workbox-build/build/lib/utils/get-file-details.js:20:11)
at globPatterns.reduce (/fabio/fabionolasco.com/node_modules/workbox-build/build/lib/get-file-manifest-entries.js:120:32)
at Array.reduce (native)
at getFileManifestEntries (/fabio/fabionolasco.com/node_modules/workbox-build/build/lib/get-file-manifest-entries.js:119:36)
at copyWorkboxSW.then.then (/fabio/fabionolasco.com/node_modules/workbox-build/build/lib/generate-sw.js:150:12)

Side note: The command "nuxt" by itself, to serve app as dev, works well.

Hi. This problem is with workbox module of pwa . Please temporary disable it using :
  modules: [
    [ '@nuxtjs/pwa', { workbox: false } ]
  ]

I'll investigate more about exact problem.

Hi pi0 thank you so much! That did not work for me, but I will wait for the fix. I appreciate it. Btw, the error that I get when I implement your code is:
Error: [nuxt] Module {"workbox":false} should export a function
at ModuleContainer._callee2$ (/usr/local/lib/node_modules/nuxt/lib/core/module.js:114:13)
at tryCatch (/usr/local/lib/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:65:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:303:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:117:21)
at step (/usr/local/lib/node_modules/nuxt/dist/nuxt.js:852:30)
at /usr/local/lib/node_modules/nuxt/dist/nuxt.js:863:13
at process._tickCallback (internal/process/next_tick.js:109:7)

Would you please check the version of Nuxt at node_modules/nuxt/package.json ? I think you are using an alpha version not rc.

On my project's package.json is says: latest. And in the node_modules/nuxt/package.json it says   "version": "1.0.0-rc3".

Try to use this workaround in nuxt.config:
'@nuxtjs/pwa', {
  workbox: {
    globPatterns: ['*'],
    cacheId: 'frontend_1.0.0'
  }
}]

This puts all files (including map, json) into SW though.
But it's eligible for testing purposes
I've created an issue in modules repo https://github.com/nuxt-community/modules/issues/110

This should be fixed with @nuxtjs/workbox:^1.1.5 please upgrade :)

Thank you @pi0


Text.js: Remove bad restore call.

Fixes #25.
The reference error occurs because restore is only defined further down in the function.
The restore call is not needed, since at this point no user input has been processed.
Even if you moved the definition up, it would still cause a ReferenceError due to setRawMode not existing, so it's best to just not do it.

After the fix, it throws what I assume is the desired error:
> Error! An unexpected error occurred!
  Error: stdin lacks setRawMode support
    at Promise (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\util\input\text.js:30:17)
    at Promise (<anonymous>)
    at textInput (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\util\input\text.js:27:10)
    at Object.login (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\providers\aws\login.js:104:31)
    at <anonymous> Error: stdin lacks setRawMode support
    at Promise (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\util\input\text.js:30:17)
    at Promise (<anonymous>)
    at textInput (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\util\input\text.js:27:10)
    at Object.login (C:\Users\Elliott\AppData\Roaming\npm\node_modules\now\out\providers\aws\login.js:104:31)
    at <anonymous>

👍  LGTM


Why function declarations are asynchronous. However, the callback function of the function is synchronous?

If the callback needs to call the function of asynchronous function.. Can't wait for asynchronous processing results in synchronous functions?

Does it seem more appropriate to keep all asynchronous structures?


Document that Area only works with box shapes

I am posting here the changes as requested here: https://github.com/godotengine/godot/pull/64613
Other types of collision shapes not show any warning in the editor, but not work if added.
I lost various hours to find this, changed layers collision...etc and when I change the collision shape to BOX worked.
I reported here also: https://github.com/godotengine/godot/issues/64615

I don't think the description is correct. All primitive shapes (including sphere, cylinder, capsule, …) should work.

I don't think the description is correct. All primitive shapes (including sphere, cylinder, capsule, …) should work.

Calinou is correct. I just confirmed with a test project on master I just built that area works with a sphere.

Here is my test project
AreaTest.zip

When generate a collision Trimesh from a simple cube or concave collision from a imported model from Blender, this will not work.
You can edit the text, but whitout the information the user will understand that all possible collision shapes will work.
Please edit for a better text, but the reality is the other collisions are not working.
Here are my sample projet. The collision is not detected, change the collision to BOX and will work.
TestArea.zip

It's likely that convex/concave do not work, if so, it should be mentioned in the docs that ONLY primitive shapes work.

concave shapes have issues, convex works. This issue also only occurs in 3.x, not the master branch which is what this PR was opened for.


feat:修改script把antd锁定在4.x的版本,解决本地启动example中的项目时antd not find 的问题

Before submitting a pull request, please make sure the following is done...

[ ] Ensure the pull request title and commit message follow the Commit Specific in English.
[ ] Fork the repo and create your branch from main.
[ ] If you've added code that should be tested, add tests!
[ ] If you've changed APIs, update the documentation.
[ ] Ensure the test suite passes (npm test).
[ ] Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

 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.saltovo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

你这么改了有什么用呢，@designable/react还是依赖了antd 4.0

这个 mr 不应该合并呀，合并了知乎才会导致 antd 找不到，我还原回去反而是好的

需要用antdv5 版本的话 可以看看 https://github.com/trionesdev/triones-designable 基于designable源码 重新做了构建方案 升级了antdv5 需要的话 可以自己拿去直接用 或者修改

有用，能展示了


Add integration with cloudinary to the marketplace

Hey Contentful,
The last few days I worked on an extension that integrates the Cloudinary Media library with contentful. I implemented the Cloudinary's media library widget into a dialog so that users can select images from their already existing image library in Contentful.
I'm open for feedback so let me know.

I did some fixes and CSS improvements and everything works. However, I'm not completely happy with two things.

I want to fix the image flickering when you reorder images.
I want to implement some validation, but I've no idea how to implement it properly. The main problem is that I can't say to the Cloudinary media library that it is only allowed to show videos or images. If some of you have an idea on how to solve this problem in a user-friendly way. Please let me know.

Just to be transparent: I removed the API secret because @floelhoeffel ask me to do it in a direct message at the Contentful Community Slack :).

In my last commit. I cleaned, based on the feedback, the Sortable Component up and implement cloudinary-core to fetch the real Cloudinary-URL instead of doing this hardcoded. This should prevent the module from breaking, after Cloudinary updates there URL structure.

Hey @michelbitter! Could please do one small change before we finally merge it and put to the Marketplace?
Rename the folder and extension name to cloudinary-assets as we did in https://github.com/contentful/extensions/pull/137/files for Bynder


Request Scan: Requests Page

Description
A page showing only a table of requests, inspired by the Etherscan txs page

Definition of Done

[x] Table of Requests
[x] Columns: Request ID, Payment Reference, Created Age, Modified Age, Payee Identity, Payer Identity, Expected Amount, Currency

I have added all the columns but the modified age because it would impact performance as a request can have a payment as  a state of the modification status. So it would require query payments for each request degrading performance.


correctly remove stale EgressService rules at startup

Discovered while porting to nftables; there was a bug in the FakeIPTables implementation used for unit tests (when you called List() it would mutate its own internal state rather than only mutating its return value), and the EgressService controller startup cleanup code only worked correctly in the presence of that bug. (It passed the entire rule returned from List(), including the "-A OVN-KUBE-EGRESS-SVC", as the argument to Delete(), which ended up working with FakeIPTables because it had accidentally modified its internal state to include that string as part of the rule, but with real iptables it would have ended up trying to do iptables -D OVN-KUBE-EGRESS-SVC -A OVN-KUBE-EGRESS-SVC -s <IP_ADDRESS> ....)
But this code only runs when ovnkube-node starts up on a node that already has EgressService rules, so it doesn't get tested in the e2e tests, so no one noticed.
I'm going to replace this with nftables code soon but I figured I'd submit this separately since it's a bugfix.

@danwinship can you sign the commit to make dco happy please?


No effect of --allow-unauthenticated flag

TL;DR
Even after setting --allow-unauthenticated flag my newly created service still requires authentication
Expected behavior
Service is publicly accessible to anyone on the internet with no authentication required.
Observed behavior
Authentication of service is required and it's not publicly accessible to anyone on the internet.
Action YAML
- name: Deploy to Cloud Run
        id: deploy
        uses: google-github-actions/deploy-cloudrun@v1
        with:
          service: ${{ env.SERVICE }}
          region: ${{ env.REGION }}
          image: ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.SERVICE }}/${{ env.SERVICE }}:${{ github.sha }}
          flags: '--allow-unauthenticated --min-instances=1 --max-instances=1'

Log output
No response
Additional information
No response

Seems not to be an issue.
There was no effect because my service account didn't have run.services.setIamPolicy permission that is required to configure authentication on a Cloud Run service.


The warning about tf laser frame_id , check  msg->header.frame_id

Is this a bug in following function,  when i test it in default,(my /scan frame_id is "/camera_depth_frame").
Print the Warning:
Warning: Invalid argument "/camera_depth_frame" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
at line 130 in /tmp/binarydeb/ros-indigo-tf2-0.5.13/src/buffer_core.cpp
Only I change code and using "camera_depth_frame" is fine.  "/camera_depth_frame"  and msg->header.frame_id  all print warning .
If i not change,  rosrun  tf tf_echo /map /camera_depth_frame will  not output the transform . Change it , OK.
void Node::LaserScanMessageCallback(
const sensor_msgs::LaserScan::ConstPtr& msg) {
auto sensor_data = ::cartographer::common::make_unique(
"camera_depth_frame"/* "/camera_depth_frame"*//msg->header.frame_id/, ToCartographer(*msg));
sensor_collator_.AddSensorData(
kTrajectoryId,
::cartographer::common::ToUniversal(FromRos(msg->header.stamp)),
laser_2d_subscriber_.getTopic(), std::move(sensor_data));
}

AFAIK this is a change in tf2. In earlier times, a preceding slash in tf was ok, but this was changed in tf2 along with getting rid of tf_prefix. You can find many instances of people running into this issue and more information by googling for "in tf2 frame_ids cannot start with a '/' like". This is not a issue with cartographer_ros, but the tf2 library it uses.

This is also my understanding, see http://wiki.ros.org/tf2/Migration. The proper fix is to remove the leading "/" from your frame_id. Seems we were giving a bad example in one place, so I sent out #19.


Workspace::members returns all crates in a workspace regardless of wether they are in the Cargo.toml members

Is there a way to get just the listed members?

I don't see a public API for accessing that, no.

Would a PR to add Workspace::named_members (feel free to bikeshed) be accepted?

Can you say more why you need it? Workspace members are members regardless if they are listed or not.
If it were be to added, I think it would likely best be an accessor in WorkspaceRootConfig.

Considering implicit workspace members are members, and a use case hasn't been given in the last couple of years, I'm proposing to the cargo team that we close this.

Second this. We can explore later once we're confident in shipping more stable API for cargo library.


PNG album cover size limit?

I think my ~15 mb PNG album covers are too much for the scanner, how can i fix it?
INFO|Extracting track images ...
4%|█▋                                           |152/4134
Exception in thread Thread-8 (run_periodic_scans):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "app\periodic_scan.py", line 26, in run_periodic_scans
File "app\lib\populate.py", line 87, in init
File "app\lib\populate.py", line 268, in init
File "tqdm\std.py", line 1182, in iter
File "concurrent\futures_base.py", line 621, in result_iterator
File "concurrent\futures_base.py", line 319, in _result_or_cancel
File "concurrent\futures_base.py", line 451, in result
File "concurrent\futures_base.py", line 403, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "app\lib\populate.py", line 226, in get_image
File "app\lib\taglib.py", line 60, in extract_thumb
File "PIL\Image.py", line 3277, in open
File "PIL\Image.py", line 3263, in _open_core
File "PIL\ImageFile.py", line 117, in init
File "PIL\PngImagePlugin.py", line 734, in _open
File "PIL\PngImagePlugin.py", line 203, in call
File "PIL\PngImagePlugin.py", line 569, in chunk_zTXt
File "PIL\PngImagePlugin.py", line 150, in _safe_zlib_decompress
ValueError: Decompressed Data Too Large

Hello @Zyntaxyz
I'm suprised 15mb album covers exist. If you attach one of the files with the large images in your next comment, I can patch it up for you.

Hello @Zyntaxyz
I'm suprised 15mb album covers exist. If you attach one of the files with the large images in your next comment, I can patch it up for you.

Github can't process files up to 10 mb, lol.
"Yowza that's a big file. Try again with a file size less than 10MB."
Here:
https://mega.nz/folder/Bex21LRC#U8p2fSAwJNEIII3tMxd3Ow

@Zyntaxyz
I can't reproduce the error by setting the image as the thumbnail of an audio file. Can you tell me which os you're running so that I can create a build that will help you identify a specific audio file that can reproduce the error. You will then send it to me so that I can try fixing the issue using that specific audio file.

@Zyntaxyz
I can't reproduce the error by setting the image as the thumbnail of an audio file. Can you tell me which os you're running so that I can create a build that will help you identify a specific audio file that can reproduce the error. You will then send it to me so that I can try fixing the issue using that specific audio file.

Windows 10
I just uploaded the audio file (FLAC) to same folder with the 15 mb attached cover.
I semi-automatic tagged all my music library with mp3tag (7400~ songs, lot of them with 10-15 mb cover)

@Zyntaxyz
I can't reproduce the error using the given file. Try using the following build. It will print out the files being processed. When it fails, check the most recently printed file on the cmd and send that specific file:
It should print something like this:
Reading image: /home/cwilvx/Tidal/Playlist/Classic Oldies/Frankie Valli - Sherry.m4a
Reading image: /home/cwilvx/Tidal/Playlist/Greatful Dead Radio/moe - Nebraska.m4a

I have modified the image ripper to print out the correct file, so it will be slow.
Download the build from Google Drive.
https://drive.google.com/file/d/1GXMSOw7-XICjYMyreO11F_eNZbu-bpx_/view?usp=sharing

@Zyntaxyz
I can't reproduce the error using the given file. Try using the following build. It will print out the files being processed. When it fails, check the most recently printed file on the cmd and send that specific file:
It should print something like this:
Reading image: /home/cwilvx/Tidal/Playlist/Classic Oldies/Frankie Valli - Sherry.m4a
Reading image: /home/cwilvx/Tidal/Playlist/Greatful Dead Radio/moe - Nebraska.m4a

I have modified the image ripper to print out the correct file, so it will be slow.
Download the build from Google Drive.
https://drive.google.com/file/d/1GXMSOw7-XICjYMyreO11F_eNZbu-bpx_/view?usp=sharing

Reading image: F:/FLAC Music/B/Ben Gold/Liberation - Single/101 - Liberation.flac
Exception in thread Thread-8 (run_periodic_scans):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "app\periodic_scan.py", line 26, in run_periodic_scans
File "app\lib\populate.py", line 86, in init
File "app\lib\populate.py", line 277, in init
File "app\lib\populate.py", line 225, in get_image
File "app\lib\taglib.py", line 61, in extract_thumb
File "PIL\Image.py", line 3277, in open
File "PIL\Image.py", line 3263, in _open_core
File "PIL\ImageFile.py", line 117, in init
File "PIL\PngImagePlugin.py", line 734, in _open
File "PIL\PngImagePlugin.py", line 203, in call
File "PIL\PngImagePlugin.py", line 569, in chunk_zTXt
File "PIL\PngImagePlugin.py", line 150, in _safe_zlib_decompress
ValueError: Decompressed Data Too Large
Here's the file:
https://mega.nz/folder/Bex21LRC#U8p2fSAwJNEIII3tMxd3Ow

Hello @Zyntaxyz
This issue has been fixed in the latest patch release: v1.3.1. You can download the new version in the release page.


feat(debug): Add llb export

Fix https://github.com/tensorchord/envd/issues/896
./bin/envd --debug debug llb -p ./examples/python-basic --dot > a.dot
dot -Tpng a.dot -o a.png

Signed-off-by: Ce Gao<EMAIL_ADDRESS>

/assign @kemingy @VoVAllen

Just realized the cache key is generated at runtime instead of graph build time cry Good feature but seems won't solve the cache debugging problem

The cache is calculated from the build time info, thus you can use the graph to simulate the process.
Ref https://github.com/moby/buildkit/issues/2383

LGTM. To better solve debug problem. Could we have time record on the graph?

etter solve debug problem. Could we have time record on the graph?

It is not possible to do that because the graph is static, and the build is actually not executed.


Fetching current quote for exchange CRYPTOCOM fails

Hello:
I got an API key and did some test for 80+ exchanges, most of them, the API works well.
However, for one important exchange: CryptoCOM (https://crypto.com/exchange), the most important trading pairs: BTC/USDT, ETH/USDT; BTC/ETH; or BTC/USD, ETH/USD, none of them is working.
The following is an HTTP request for BTC/USDT:
GET /v1/quotes/current?filter_symbol_id=CRYPTOCOM_SPOT_BTC_USDT HTTP/2
Host: rest.coinapi.io
user-agent: insomnia/2022.7.0
x-coinapi-key: My_API_Key
accept: /
I got json format data return
[]
It means there is no such trading pair information.
For other exchanges, the same HTTP requests work.
Please advise if there is anything wrong with my code or something wrong with COIN API for exchange Crypto.com.
Thanks,

Hello @zydjohnHotmail,
Thank you for reaching out and bringing this to our attention. We are pleased to inform you that the issue you encountered with the CryptoCOM exchange endpoints has been resolved. The endpoints pertaining to the trading pairs BTC/USDT, ETH/USDT, BTC/ETH, BTC/USD, and ETH/USD are now functioning correctly.
We apologize for any inconvenience this may have caused and appreciate your patience as we worked to rectify the situation. You should now be able to access the data for these trading pairs without any issues. If you encounter any further problems or have any other queries, please do not hesitate to contact us.
Thank you for your cooperation and understanding.


Already require'd modules are not reused

If a module has already been require'd (ie, it's cached) before SandboxedModule is invoked, then I would have expected it to reuse this cached version (unless it was explicitly overwritten by a mock) - but it seems to me that SanboxedModule is requiring each module freshly each time.
Eg, this fails when run from the test/integration directory:
var foo = require('../fixture/foo');
foo.bar = 'overwritten';

var requireFixture = SandboxedModule.require('../fixture/require');
assert.strictEqual(foo.bar, requireFixture.foo.bar);

  assert.js:102
    throw new assert.AssertionError({
          ^
  AssertionError: "overwritten" === "bar"

I had expected SandboxedModule.require to act just like a normal require unless it encountered an overwritten module.
This also makes it near impossible to test code that uses modules that rely on state. For example, in our code base we make a lot of use of the nconf library for configuration. Normally I can override any basic config settings by using nconf.overrides({someOption: 'someValue'}) before I require a module that uses nconf - but the only way around this with SandboxedModule seems to be to create a lot of nested SanboxedModule declarations, all specifying that nconf should resolve to the already-resolved nconf... Which is odd... and very difficult for a large codebase.
var nconf = require('nconf')

nconf.overrides({useTestDb: true})

var myMockModel = SandboxedModule.require('../models/myModel', {
  requires: {
    db: {theThing: {iWantTo: {mock: function() { }}}},
    // I didn't want to do this
    nconf: nconf,
    // Especially not this: but I have to to override nconf in any *other* require'd modules
    './myOtherModel': SandboxedModule.require('../models/myOtherModel', {
      requires: {
        nconf: nconf
        // etc this is worse than callback hell arghhhhhh
      }
    })
  }
})

Am I missing something with this?

Hasn't been any action on this in a couple of years, gonna close it


Brand new windows 10 install, TF doesn't run: ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

I'm submitting this as a bug, instead of a support question on SO, because I'm getting this error after a very clean install of the operating system. The error occurs when I attempt to do the most basic validation, but just importing tensorflow!

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No custom code, the error is occurring when I do import tensorflow as tf at the repl

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10 Home, version 1703, fresh install (the only other thing installed on the computer is Chrome and Anaconda distribution of Python 3.6)

TensorFlow installed from (source or binary):
Binary. Followed the instruction to the letter, except type in 'pip' instead of 'pip3', as in:
pip3 install --upgrade tensorflow-gpu (this is after installing cuda and cudablas)

TensorFlow version (use command below):
1.3 (whatever is in the repo as of about 30 minutes ago)

Python version:  Python 3.6.1 :: Anaconda custom (64-bit)

Bazel version (if compiling from source):

CUDA/cuDNN version:

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Mon_Jan__9_17:32:33_CST_2017
Cuda compilation tools, release 8.0, V8.0.60

GPU model and memory:
NVIDIA GeForce GTX 960M
Approx. Total Memory: 18313 MB

Exact command to reproduce:
import tensorflow as tf

Describe the problem
I re-imaged my windows 10 laptop, installed Chrome, installed the latest anaconda python 3.6 and attempted to install tensorflow following the official instructions on the web page (all of this within the last hour or two of filing this ticket).
Installed Cuda and Cudablas from nvidia's website, as required by TF instructions.
Installed tensorflow-gpu
Saw an exception related to some setuptools file not being found (sorry, didn't keep a record of that)
Upgraded setuptools
Did a reinstall of tensorflow, but added --force-reinstall flag, which claimed to have installed tensorflow without errors:
Successfully installed bleach-1.5.0 html5lib-0.9999999 markdown-2.6.9 numpy-1.13.1 protobuf-3.4.0 setuptools-36.5.0 six-1.11.0 tensorflow-gpu-1.3.0 tensorflow-tensorboard-0.1.6 werkzeug-0.12.2 wheel-0.30.0
Ran the import command and saw these exception trace:
Source code / logs
(C:\Users\someuser\Anaconda3) C:\Users\someuser>python
Python 3.6.1 |Anaconda custom (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\someuser\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 648, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 560, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\someuser\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Users\someuser\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 648, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 560, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\someuser\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "C:\Users\someuser\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

This is a duplicate of #13196. Please see that issue for more information.

Hi @shivaniag , thanks for your quick response.
While I'm still trying to get this issue resolved, I created a ticket on github because following exact instructions from TF's website on a brand new machine, pretty standard,  shouldn't cause exception traces. The fact that I wasn't able to run it means there is a 'bug' some where in the docs or the code.
Regarding the error, it doesn't look like this is the exact issue as #13196. There someone was apparently installing from source, which is why git shows up in their stack trace. I don't think that happens in my case (a quick ctrl+f, at least, didn't show it).
This issue is actually all over tensorflow's bug tracker under different names (now that I look more closely). For example, here is another one #8385, where the suggested solution is to install VC++ redistributable (which I also did, and which did not resolve the issue).


Test passes successfully even if we don't end the code with ';'

Challenge Waypoint: Declare String Variables has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
// Example
var firstName = "Alan";
var lastName = "Turing";

// Only change code below this line
var myFirstName ="Vishu";
var myLastName ="Kamble"

Please add an additional check for syntac errors.

This is valid javascript, so this is fine. You can get yourself into trouble by leaving off semicolons, but there's nothing syntactically incorrect about it. Thanks and happy coding!


Add some music to the launcher

Feature Summary
The SEGS launcher might be more captivating if it played a theme song (or several.)
Is your feature request related to a problem?
No
Proposed Implementation
This feature could be implemented with Qt audio (https://doc.qt.io/qt-5/audiooverview.html). This would require a music file or files to be distributed with the launcher software (should be legal music -- perhaps community made or existing using a permissive license.) Alternatively, the music may be able to be played by opening the content using a web link. The music should be looped and there should be an optional mute checkbox.
Alternatives and Additional Remarks
None
Screenshots, Diagrams or Attachments (if applicable)
N/A

Happy to add, if someone else can source some music :)

Note to self: I'll probably also utilise the QML class for this https://doc.qt.io/qt-5/qml-qtmultimedia-audio.html


AWS Nomad ASG

:gear: Issue
https://circleci.atlassian.net/browse/SERVER-1308
We don't yet have an ASG for Nomad within AWS.
:white_check_mark: Fix
Added an ASG.
:question: Tests

[ ] Passed reality check
[X] Terraform ran
[X] ASG scaled as expected

Updating the README now...


New version: o2sh.onefetch version 2.14.1

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

I'm not able to test if the DisplayVersion contains a "v" right now. Does this version have that @o2sh?

I'm not able to test if the DisplayVersion contains a "v" right now. Does this version have that @o2sh?

No, I took the "v" out of the tag name. It's just 2.14.1 and not v2.14.1 --> https://github.com/o2sh/onefetch/releases/tag/2.14.1

I'm not able to test if the DisplayVersion contains a "v" right now. Does this version have that @o2sh?

No, I took the "v" out of the tag name. It's just 2.14.1 and not v2.14.1 --> https://github.com/o2sh/onefetch/releases/tag/2.14.1

The DisplayName is the registry key shown in Control Panel

Yes, if you use the installer linked to the release -> https://github.com/o2sh/onefetch/releases/download/2.14.1/onefetch-setup.exe
you will see this in the control panel:


Update ConnectedFields cached handlers when names prop changes.

Fixes bug introduced by #2161.

@erikras, may I suggest adding @huan086 as a collaborator?
This is the 5th PR he opens this week (all of them with good quality), and it's also digging thru the issues to reply 🎉

@huan086, can you contact me, please, either via Twitter or via my email address in package.json?

Released as v6.5.0.


Fix the document generation error

@dwsupplee @chingor13 FYI
The previous PR has the documentation error, I'll merge this once the test passes.


Production Release - September 26 / 2024

This is being done so fast after the last Production PR, because the last PR didn't actually update any of the existing releases. Hopefully this remedies that problem.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.17.0-alpha.111 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-alpha.10 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[gui] Hex view data error

Issue details
When looking at the resource file, the hex view's data content is different from what I saw using the 010 Editor. When I use the algorithm in the program to decrypt, only the latter data is available

Jadx version
1.5.0
Java version
21.0.3
OS

[X] Windows
[ ] Linux
[ ] macOS

Ist it possible to provide the APK file that contains the shown libc.so?  Or at least a screenshot of 7-Zip having the APK opened and showing the libc.so entry with size, compressed size and compression method.

This is a virus, use with caution. Do not run on real machines.
pass: jadx_sample
asteri5m
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "skylot/jadx"                                                                                @.>;
发送时间: 2024年4月23日(星期二) 下午3:36
@.>;
<EMAIL_ADDRESS>主题: Re: [skylot/jadx] [gui] Hex view data error (Issue #2160)
Ist it possible to provide the APK file that contains the shown libc.so?  Or at least a screenshot of 7-Zip having the APK opened and showing the libc.so entry with size, compressed size and compression method.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@Asteri5m Sorry I don't see any file. It seems like posting attachments via e-mail to Github issues is not possible.

41514E30ADB73AC904296DFBF4C029A1.zip

The main problem is that the HexArea that display the hex data is getting the data to be displayed from a String that is then decoded as UTF-8 string to a byte[]:
https://github.com/skylot/jadx/blob/b80f32a36f4a7df1562bb426a175ffdd8aba98c6/jadx-gui/src/main/java/jadx/gui/ui/codearea/HexArea.java#L51
For binary files, the unicode decoding can modify the data which is most likely the reason you have described in this issue. Binary data should never be saved in a String...
I think for a JResource node with ZipRef it would be more feasible to directly load the raw file data from the ZIP file instead of using the loaded data from the node.
I made a quick test using the following code. @skylot Do you see any side effects when loading the hex data directly from the ZIP file?
	public void load() {
		byte[] bytes = null;
		if (binaryNode instanceof JResource) {
			JResource jResource = ((JResource) binaryNode);
			ResourceFile.ZipRef zipRef = jResource.getResFile().getZipRef();
			if (zipRef != null) {
				try (ZipFile zipFile = new ZipFile(zipRef.getZipFile())) {
					ZipEntry entry = zipFile.getEntry(zipRef.getEntryName());
					if (entry == null) {
						throw new RuntimeException("Zip entry not found: " + zipRef);
					}
					if (ZipSecurity.isValidZipEntry(entry)) {
						try (InputStream inputStream = ZipSecurity.getInputStreamForEntry(zipFile, entry)) {
							bytes = inputStream.readAllBytes();
						}
					}
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
		}
		if (bytes == null) {
			bytes = binaryNode.getCodeInfo().getCodeStr().getBytes(StandardCharsets.UTF_8);
		}
....

Binary data should never be saved in a String

I agree, this is should be avoided at all.

Do you see any side effects when loading the hex data directly from the ZIP file?

I think this is fine, but it is better to not duplicate such big chunk of code and reuse loading code from https://github.com/skylot/jadx/blob/f5accc84643c40da1148cd753a8118019a381d16/jadx-core/src/main/java/jadx/api/ResourcesLoader.java#L56
Another approach is to make loading similar to ImagePanel. It is store byte array in ResContainer with type DECODED_DATA https://github.com/skylot/jadx/blob/6e8affcbdc917965379d524f245ba96d107d5be5/jadx-gui/src/main/java/jadx/gui/ui/panel/ImagePanel.java#L39
and loading of data is done here:
https://github.com/skylot/jadx/blob/f5accc84643c40da1148cd753a8118019a381d16/jadx-core/src/main/java/jadx/api/ResourcesLoader.java#L117-L118
Anyway, both ways are fine, because all resource code loading is a mess and should be simplified and refactored :rofl:

It seems that the problem has been resolved. I hope to update this bug and release a new release as soon as possible. This feature is still very practical. Like

From my perspective the direct way using ResourcesLoader.decodeStream would be the best as the other ways seem to base on ResourceLoader.loadContent which also considers the type of the resource which is not what we want for a hex view.

You don't have to wait for a new version to be released. Once my PR is merged into the code base the Github CI system will build a new unstable version which you can then download here: unstable download (also mentioned in the main project README.md).

resource code loading is a mess and should be simplified and refactored 🤣

Looks like @AndreiKud already start refactoring in PR #2165  :eyes:


Added Music Player

Fixes
#383

Description
It's a music player, you can listen to some songs that are added to the project folder, have an option to play/pause move to the next song or previous song
Type of change

[x] New project (non-breaking change which adds functionality)

How Has This Been Tested?

Tech Stack used:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have included a README.md file
[x] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.MD files
[x] I have added a demonstration in the form of a GIF/video file
[x] I am a GSSoC'22 Participant

Screenshots

Video
https://user-images.githubusercontent.com/73753957/163690667-21854af0-6970-44c9-8fa8-13186f84b442.mp4

@gurjeetsinghvirdee portfolio folder ?????

Copy paste kiya tha readme ye htana reh gya


PR: feature/get_words

@goanpeca, please review @malliwi88's work.

@ccordoba12 this one is good to merge on my side. Any other comments?

This is a very nice addition, thanks a lot @malliwi88!


Combobox auto-complete list doesn't reset itself when losing focus

I'm using a combobox control in a pretty typical way. As expected, when I start typing in the text entry field of the dropdown, the dropdown list narrows itself to items which match my search criteria.
But if I click the focus away from the combobox, or close the modal dialog which contains the combobox, even though the text entry is emptied, the dropdown list still seems to be filtered by my most recently entered text. The only way to reset the list seems to be to enter some text and then delete it. No matter what tricks I use to try and force the list of options to reset, it still seems to be filtered by the (now removed) text I last entered.

@alhampton9
I've tried reproducing this and cannot. Can you make a reproduction?

Thanks Scott, sure thing, when I get a moment in the next couple of days
I'll put one together.
-Alec
On Fri, Dec 4, 2020 at 2:06 PM Scott Mathis<EMAIL_ADDRESS>wrote:

@alhampton9 https://github.com/alhampton9
I've tried reproducing this and cannot
https://stackblitz.com/edit/clarity-v4-light-theme-3j2x11?file=src%2Fapp%2Fapp.component.html.
Can you make a reproduction?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vmware/clarity/issues/5361#issuecomment-739020284,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABL73WTHXU4QQTNDZOFTPXLSTFFMTANCNFSM4UMXB7KA
.

Probably related to this: https://github.com/vmware/clarity/issues/5275
Which was fixed 2 releases ago, I think.
Make sure you're using the latest release for the Clarity version you use.

I reproduced it on the website, with the "My State" single-selection demo. I guess we're clearing the input on blur but not clearing the selection model.

Thanks Ivan. In my case, it does seem to have been the package version. I
was exactly 2 releases behind -_-
On Tue, Dec 8, 2020 at 3:04 AM Ivan Donchev<EMAIL_ADDRESS>wrote:

I reproduced it on the website, with the "My State" single-selection demo.
I guess we're clearing the input on blur but not clearing the selection
model.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vmware/clarity/issues/5361#issuecomment-740519896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABL73WUMFB5V4BFAKI2FCWDSTX2Z3ANCNFSM4UMXB7KA
.


Is there any API to get the path of log files

Android studio version: 4.2.2
Android gradle plugin version: 3.5.4
Logger version: 2.2.0
Emulator/phone information: Huawei Pad

We upload the log files if the user feedback an issue, so it's required to get the log files at first.
Anyone knows how to achieve that?

Did someone find the solution? Or maybe other lib which supports such behaviour?


Add missing exports for markup and menu-button

... otherwise TS 4.7 fails with error TS2307: Cannot find module 'typegram/markup' or its corresponding type declarations when importing the corresponding modules in the new "module": "node16" mode because TS respects in this mode the exports declarations.

.... this is related to, but not the same as https://github.com/microsoft/TypeScript/issues/49160

@KnorpelSenf Many thanks!!

Sorry for the delay, it is released in v3.9.2 now.


Opening multiple windows via double-click on Windows is logged-out on attempts after first

On Windows (while smoke testing v0.25.4 release), double-clicking .kcl files to open the app works, but opened apps after the first window are all unauthenticated, showing the sign-in screen. Incidentally, they also take much longer to open, which I believe is related to the slowness our auth failure path has seen.

might be related to this https://github.com/KittyCAD/modeling-app/issues/3957 also be sure when testing you have no local builds in the out directory or stuff, ive seen weird stuff w that


max depth exceeded

ERROR: Service 'nginxtest' failed to build: max depth exceeded
docker-compose Frequent reconstruction, this problem always occurs.
Need to delete all image rebuilds  then ok

Looks like this is related to nginx and not the Docker in Docker image
https://github.com/nginxinc/docker-nginx/issues/351
If you want other resources for help you could also try asking the Docker Community Forums, Docker Community Slack, or Stack Overflow.


Change question links to buttons

Changes
Context
Testing
Pre-merge checklist

[ ] Build succeeds locally and in CI
[ ] Proper documentation
[ ] Tests
[ ] Git history clean

Coverage remained the same at 27.805% when pulling 58f3e3db0c16f781fac4973ae85e8bfdd48b0be7 on qbuttons into 52fd0063ffd8964f908dd25d08b606f719720ae9 on master.


Some cleaning of language initialisation

Trying to follow best practizes of i18next.
Perhaps this
Closes dedis/d-voting#328

I had initially empty pages for

list of forms
form view

but upon revisiting the page, I had the proper content, so it may have been a problem with my local cache, I'm adding it here in case it reappears
anyway now that I have the content it indeed shows the proper content without having to select a language first


Feature request: CI / git pre-commit hook

Sometimes we forget to run the daemon. It'd be great if we can run the daemon once as pre-commit hook, or in CI.
I tried entangle -d -a but it's not really the same as what the daemon is doing: comparing file modification times etc.

Good of you to mention! I consider the current behaviour to be a bug. If the changes are in generated files, running the daemon again will overwrite the changes since the markdown version is considered to be ground truth. In a previous version I had the daemon check modification times, but somehow this got dropped.
We should have a sync command that does this correctly, tangling or stitching based on modification times.

Any chance you could work on this soonish?


How do i get headers values passed to RASA

I building a app where the rasa will be microservice, that need to communicate to  my flask app , I need to keep the token in the headers so that I can pass headers from frontend -> Rasa -> Flask.
so that ** , I need access the token passed to the headers of my rasa server**
like i need to access the token in some other file.

Thanks for the question, our Github issue board is for bugs and feature requests only, though 😕
Please ask this question in the forum✨
If you were describing a bug, please create a report and fill out the template.


test(ci): check semver

Resolves #2229
See the semver output here.

@agilarity Is this ready for merging?

@agilarity Is this ready for merging?

Yes.

Thank you!

@agilarity Can you take a look at the CI? Seems cargo-semver-checks is failing


Program crashes if user Command+Q while running cargo.

Closes because I completely re-wrote whole code, and this issue is not relevant anymore.


README installation instructions are broken

The binary path listed in the README instructions is incorrect:
https://github.com/redhat-developer/odo#installation
Feel free to disregard if a new release of odo is due soon, as the README's install URL will likely get patched as a part of that update process.

Yep, said this was caused when we renamed the project to ODO.
Release 0.0.4 will be today, it will fix this.

fixed in #386


Fix widget state parser

It's weird, from the docstring of these functions, data is optional but it is not handled properly.
        data : str or `~glue.core.data.Data`, optional
            The initial dataset to show in the viewer. Additional
            datasets can be added later using the ``add_data`` method on
            the viewer object.

Ok so the issue does not relate to the input data, but in the state of the widget. The x_att  and y_att of a widget state are  None and it's passed to this function https://github.com/glue-viz/glue-jupyter/blob/ebc2ed67bb6e6714b22d861c11f0b2f470e3e21c/glue_jupyter/bqplot/scatter/layer_artist.py#L156

Ok so the issue does not relate to the input data, but in the state of the widget. The x_att and y_att of a widget state are None and it's passed to this function https://github.com/glue-viz/glue-jupyter/blob/ebc2ed67bb6e6714b22d861c11f0b2f470e3e21c/glue_jupyter/bqplot/scatter/layer_artist.py#L156

Same error on my side with the latest modification, and there is another one about ZeroDivisionError, possibly related to empty data.

Ok so the issue does not relate to the input data, but in the state of the widget. The x_att and y_att of a widget state are None and it's passed to this function https://github.com/glue-viz/glue-jupyter/blob/ebc2ed67bb6e6714b22d861c11f0b2f470e3e21c/glue_jupyter/bqplot/scatter/layer_artist.py#L156

Same error on my side with the latest modification, and there is another one about ZeroDivisionError, possibly related to empty data.

It's normal, the latest changes do not fix the error message because it's an issue with the glue session file or glue core implementation, not glue-lab. I think it's the same for the bqplot error on ZeroDivisionError.

Thanks @trungleduc


18

First of all merge https://github.com/cqqqt/Task-Viewer-Backend/pull/49

I see failed checks. Try to understand why failed.

Я пока убрал интеграционный тест, чтобы смерджить. А потом уже разбираться.

Оно не меняется просто так!!!

@cichan02 fix merge conflict

Cheers 🥳

@h1alexbel, finally it turns in git-branches-hell. I can't solve merge conflict without hard merge. Just merge 21, which bring #18 features too.

@cichan02 fix the merge conflicts

@h1alexbel solved all merge conflicts

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@cichan02 thanks


error when opt_cmd is empty

error when opt_cmd in repo is empty which throw error message 'sh: -c: line 1: syntax error: unexpected end of file'

already fixed with #22


388 fe blog section on website

@mitkapanarin As reviewers on PRs you should add me and Antonio.
I will close this PR, since we shouldn't be working on the blog section on the website now, and because this ticket is not ready for PR.
If you were testing how PRs work, you can create a draft PR and delete it afterward.
Additionally I will onboard you this weekend and explain the flow to you.


⚠ ClamAV has degraded performance

In a2ca21d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 224 ms

Resolved: ClamAV performance has improved in 3f3ae76.


Add default labels and env labels to jvm metrics

Rewrites all the JVM metrics to include our own set of labels.
Fixes #415

Example output:
# HELP jvm_memory_pool_bytes_init Initial bytes of a given JVM memory pool.
# TYPE jvm_memory_pool_bytes_init gauge
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="Metaspace",} 0.0
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="CodeHeap 'profiled nmethods'",} 2555904.0
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="Compressed Class Space",} 0.0
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Eden Space",} 5.0331648E7
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Old Gen",} 4.86539264E8
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Survivor Space",} 0.0
jvm_memory_pool_bytes_init{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="CodeHeap 'non-profiled nmethods'",} 2555904.0
# HELP jvm_memory_pool_collection_used_bytes Used bytes after last collection of a given JVM memory pool.
# TYPE jvm_memory_pool_collection_used_bytes gauge
jvm_memory_pool_collection_used_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Eden Space",} 0.0
jvm_memory_pool_collection_used_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Old Gen",} 0.0
jvm_memory_pool_collection_used_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Survivor Space",} 1.6777216E7
# HELP jvm_memory_pool_collection_committed_bytes Committed after last collection bytes of a given JVM memory pool.
# TYPE jvm_memory_pool_collection_committed_bytes gauge
jvm_memory_pool_collection_committed_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Eden Space",} 3.01989888E8
jvm_memory_pool_collection_committed_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Old Gen",} 0.0
jvm_memory_pool_collection_committed_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Survivor Space",} 1.6777216E7
# HELP jvm_memory_pool_collection_max_bytes Max bytes after last collection of a given JVM memory pool.
# TYPE jvm_memory_pool_collection_max_bytes gauge
jvm_memory_pool_collection_max_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Eden Space",} -1.0
jvm_memory_pool_collection_max_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Old Gen",} 5.36870912E8
jvm_memory_pool_collection_max_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Survivor Space",} -1.0
# HELP jvm_memory_pool_collection_init_bytes Initial after last collection bytes of a given JVM memory pool.
# TYPE jvm_memory_pool_collection_init_bytes gauge
jvm_memory_pool_collection_init_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Eden Space",} 5.0331648E7
jvm_memory_pool_collection_init_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Old Gen",} 4.86539264E8
jvm_memory_pool_collection_init_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="G1 Survivor Space",} 0.0
# HELP jvm_memory_pool_allocated_bytes_total Total bytes allocated in a given JVM memory pool. Only updated after GC, not continuously.
# TYPE jvm_memory_pool_allocated_bytes_total counter
# HELP jvm_buffer_pool_used_bytes Used bytes of a given JVM buffer pool.
# TYPE jvm_buffer_pool_used_bytes gauge
jvm_buffer_pool_used_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="mapped",} 6.7122384E7
jvm_buffer_pool_used_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="direct",} 4.5160769E7
# HELP jvm_buffer_pool_capacity_bytes Bytes capacity of a given JVM buffer pool.
# TYPE jvm_buffer_pool_capacity_bytes gauge
jvm_buffer_pool_capacity_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="mapped",} 6.7122384E7
jvm_buffer_pool_capacity_bytes{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="direct",} 4.5160767E7
# HELP jvm_buffer_pool_used_buffers Used buffers of a given JVM buffer pool.
# TYPE jvm_buffer_pool_used_buffers gauge
jvm_buffer_pool_used_buffers{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="mapped",} 36.0
jvm_buffer_pool_used_buffers{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",pool="direct",} 70.0
# HELP jvm_gc_collection_seconds Time spent in a given JVM garbage collector in seconds.
# TYPE jvm_gc_collection_seconds summary
jvm_gc_collection_seconds_count{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",gc="G1 Young Generation",} 12.0
jvm_gc_collection_seconds_sum{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",gc="G1 Young Generation",} 0.105
jvm_gc_collection_seconds_count{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",gc="G1 Old Generation",} 0.0
jvm_gc_collection_seconds_sum{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",gc="G1 Old Generation",} 0.0
# HELP jvm_threads_current Current thread count of a JVM
# TYPE jvm_threads_current gauge
jvm_threads_current{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 46.0
# HELP jvm_threads_daemon Daemon thread count of a JVM
# TYPE jvm_threads_daemon gauge
jvm_threads_daemon{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 37.0
# HELP jvm_threads_peak Peak thread count of a JVM
# TYPE jvm_threads_peak gauge
jvm_threads_peak{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 46.0
# HELP jvm_threads_started_total Started thread count of a JVM
# TYPE jvm_threads_started_total counter
# HELP jvm_threads_deadlocked Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers
# TYPE jvm_threads_deadlocked gauge
jvm_threads_deadlocked{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 0.0
# HELP jvm_threads_deadlocked_monitor Cycles of JVM-threads that are in deadlock waiting to acquire object monitors
# TYPE jvm_threads_deadlocked_monitor gauge
jvm_threads_deadlocked_monitor{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 0.0
# HELP jvm_threads_state Current count of threads by state
# TYPE jvm_threads_state gauge
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="NEW",} 0.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="TERMINATED",} 0.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="RUNNABLE",} 12.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="BLOCKED",} 0.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="WAITING",} 13.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="TIMED_WAITING",} 21.0
jvm_threads_state{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",state="UNKNOWN",} 0.0
# HELP jvm_classes_currently_loaded The number of classes that are currently loaded in the JVM
# TYPE jvm_classes_currently_loaded gauge
jvm_classes_currently_loaded{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",} 11753.0
# HELP jvm_classes_loaded_total The total number of classes that have been loaded since the JVM has started execution
# TYPE jvm_classes_loaded_total counter
# HELP jvm_classes_unloaded_total The total number of classes that have been unloaded since the JVM has started execution
# TYPE jvm_classes_unloaded_total counter
# HELP jvm_info VM version info
# TYPE jvm_info gauge
jvm_info{host="6a86675e-f184-4916-bf95-7a4a4df47fcc",instance="<IP_ADDRESS>",cluster="cluster2",datacenter="dc2",rack="r1",pod_name="cluster2-dc2-r1-sts-0",node_name="kind-worker6",runtime="OpenJDK Runtime Environment",vendor="Red Hat, Inc.",version="11.0.21+9-LTS",} 1.0