IMGTTargetProvider producing multiple errors

Just noticed a series of errors produced by IMGTTargetProvider when running the testIMGTTargetFeatureProvider tests. Needs digging into.
Note that this has been occurring for quite some time (unsure of how long exactly, but at least several months), and it does not cause the Azure build to fail, so may not be a critical error.
2022-07-03T12:07:59.7353099Z testBuildIMGTTargetsFeatures (testIMGTTargetFeatureProvider.IMGTTargetFeatureProviderTests) ... INFO:root:Starting testIMGTTargetFeatureProvider.IMGTTargetFeatureProviderTests.testBuildIMGTTargetsFeatures at 2022 07 03 12:07:59
2022-07-03T12:07:59.7354741Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:useCache False featurePath '/home/vsts/work/1/s/rcsb/utils/tests-targets/test-output/CACHE/IMGT-features/IMGT-feature-data.json'
2022-07-03T12:07:59.7355752Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:Completed reload (useCache False) at 2022 07 03 12:07:59 (0.0001 seconds)
2022-07-03T12:07:59.7356497Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:IMGT feature count 0
2022-07-03T12:07:59.7357511Z INFO:rcsb.utils.targets.IMGTTargetProvider:useCache True imgtFeaturePath '/home/vsts/work/1/s/rcsb/utils/tests-targets/test-output/CACHE/IMGT-targets/imgt-data.json'
2022-07-03T12:07:59.7358836Z INFO:rcsb.utils.targets.IMGTTargetProvider:Fetching url http://www.imgt.org/download/3Dstructure-DB/IMGT3DFlatFiles.tgz path /home/vsts/work/1/s/rcsb/utils/tests-targets/test-output/CACHE/IMGT-targets/IMGT3DFlatFiles.tgz
2022-07-03T12:09:21.4990102Z INFO:rcsb.utils.targets.IMGTTargetProvider:Completed fetch (True) at 2022 07 03 12:09:21 (81.7630 seconds)
2022-07-03T12:09:21.4991911Z INFO:rcsb.utils.targets.IMGTTargetProvider:IMGT version '202226-0'
2022-07-03T12:09:21.4992995Z INFO:rcsb.utils.targets.IMGTTargetProvider:Collecting flat files with pattern '/home/vsts/work/1/s/rcsb/utils/tests-targets/test-output/CACHE/IMGT-targets/IMGT3DFlatFiles/*.pdb.gz'
2022-07-03T12:09:24.2968809Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '445'
2022-07-03T12:09:24.2969825Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4c10' determining alignment boundaries fails
2022-07-03T12:09:30.4258336Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:09:30.4259358Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4c0y' determining alignment boundaries fails
2022-07-03T12:09:30.4260207Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:09:30.4261068Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4c0y' determining alignment boundaries fails
2022-07-03T12:09:35.5797167Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '126'
2022-07-03T12:09:35.5798130Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'1yjd' determining alignment boundaries fails
2022-07-03T12:09:56.7599734Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '65'
2022-07-03T12:09:56.7601422Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6e4z' determining alignment boundaries fails
2022-07-03T12:10:02.0155580Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4xvs' parsing boundaries fails with 'list index out of range' for '(NAG)(NAG)(NAG)               ...'
2022-07-03T12:10:03.2118878Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:03.2120636Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njn' determining alignment boundaries fails
2022-07-03T12:10:03.2121811Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:03.2122897Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njn' determining alignment boundaries fails
2022-07-03T12:10:14.0452207Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'5n2k' parsing boundaries fails with 'list index out of range' for 'MGILPSPGMPALLSLVSLLSVLLMGCVA(P...'
2022-07-03T12:10:14.3889867Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6ana' parsing boundaries fails with 'list index out of range' for '(UNK)(UNK)(UNK)(UNK)(UNK)(UNK)...'
2022-07-03T12:10:36.6677879Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:36.6679320Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4c0u' determining alignment boundaries fails
2022-07-03T12:10:36.6680458Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:36.6681447Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'4c0u' determining alignment boundaries fails
2022-07-03T12:10:40.4780098Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '65'
2022-07-03T12:10:41.4392431Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6mv5' determining alignment boundaries fails
2022-07-03T12:10:43.4546753Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'7cz0' parsing boundaries fails with 'list index out of range' for '(CAD)                         ...'
2022-07-03T12:10:50.4625796Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6s8i' parsing boundaries fails with 'list index out of range' for '(NAG)(NAG)                    ...'
2022-07-03T12:10:50.9898024Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6o2a' parsing boundaries fails with 'list index out of range' for '(UNK)VQL(UNK)(UNK)SGGG(UNK)VQ(...'
2022-07-03T12:10:50.9899968Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6o2a' parsing boundaries fails with 'list index out of range' for '(UNK)VQL(UNK)(UNK)SGGG(UNK)VQ(...'
2022-07-03T12:10:50.9901852Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6o2a' parsing boundaries fails with 'list index out of range' for '(UNK)VQL(UNK)(UNK)SGGG(UNK)VQ(...'
2022-07-03T12:10:57.5834725Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:57.5835761Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njm' determining alignment boundaries fails
2022-07-03T12:10:57.5836598Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:57.5837467Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njm' determining alignment boundaries fails
2022-07-03T12:10:57.5838947Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:57.5839769Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njm' determining alignment boundaries fails
2022-07-03T12:10:57.5840597Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '446'
2022-07-03T12:10:57.5841406Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6njm' determining alignment boundaries fails
2022-07-03T12:10:58.2179188Z ERROR:rcsb.utils.targets.IMGTTargetProvider:No matching closing group at position: '65'
2022-07-03T12:10:58.2180240Z ERROR:rcsb.utils.targets.IMGTTargetProvider:'6e4y' determining alignment boundaries fails
2022-07-03T12:11:13.4921789Z INFO:rcsb.utils.targets.IMGTTargetProvider:ID List (7057)
2022-07-03T12:11:13.4923660Z INFO:rcsb.utils.targets.IMGTTargetProvider:Successes (7057) chains (22427)
2022-07-03T12:11:13.4924256Z INFO:rcsb.utils.targets.IMGTTargetProvider:Exceptions (0) []
2022-07-03T12:11:13.4946010Z INFO:rcsb.utils.targets.IMGTTargetProvider:Missing (0) []
2022-07-03T12:11:15.3283250Z INFO:rcsb.utils.targets.IMGTTargetProvider:Completed flatfile prep (True) at 2022 07 03 12:11:15 (195.5926 seconds)
2022-07-03T12:11:17.4010125Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:IMGT antibody chain features (22427)
2022-07-03T12:11:23.1363221Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:useCache True featurePath '/home/vsts/work/1/s/rcsb/utils/tests-targets/test-output/CACHE/IMGT-features/IMGT-feature-data.json'
2022-07-03T12:11:26.5812074Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:Completed reload (useCache True) at 2022 07 03 12:11:26 (3.4450 seconds)
2022-07-03T12:11:26.5813279Z INFO:rcsb.utils.targets.IMGTTargetFeatureProvider:IMGT feature count 22427
2022-07-03T12:11:26.7947263Z INFO:root:Maximum resident memory size 1.2009 GB
2022-07-03T12:11:26.7948818Z INFO:root:Completed testIMGTTargetFeatureProvider.IMGTTargetFeatureProviderTests.testBuildIMGTTargetsFeatures at 2022 07 03 12:11:26 (207.0594 seconds)
2022-07-03T12:11:26.7949490Z ok

FYI @brindakv

@piehld Confirmed in the log from the stash update from October 13, 2021 that this was happening at least since then.


Grasp action behaviour

Hi,
i'm tryng to use the Grasp Action to grasp a simple cube (width 20mm, weight 300gr) .
The gripper tries to grasp the cube, but as soon as it touches the object, it stops applying pressure and the cube is released .
e.g of parameters :
width : 0.018 [m]
epsilon.inner = 0.005
epsilon.outer = 0.005
speed : 0.01  [m/s]
force: 10 [N]
I tried lots of parameters.
Andrea
edit : was missing a 0 in width

Did you try to set the width to 0.02m, i.e. the size of the cube?

It sounds like there is a mismatch between the commanded width and the actual grasping width. Can you manually close the fingers around the object and check the gripper width (gripper.readOnce().width in libfranka's API)? If you use this value, grasping should be successful.
Note that what counts as a width of zero is determined by homing the gripper (franka::Gripper::homing()), so if you e.g. exchange the fingertips, you need to re-home.

Thanks for fast reply,
i did it what you suggest and now it's working , thanks!


[now-ruby] Use pre-installed ruby 2.5

This PR will improve performance of @now/ruby deployments since it will not need to install ruby each time.
I am still installing the bundler to avoid the conflicting versions since ruby 2.6 is installed in the PATH.
cc @nathancahill

Codecov Report

Merging #2991 into canary will increase coverage by 1.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           canary    #2991      +/-   ##
==========================================
+ Coverage   11.49%   13.28%   +1.78%
==========================================
  Files         268      268
  Lines       10109    10323     +214
  Branches     1303     1223      -80
==========================================
+ Hits         1162     1371     +209
- Misses       8858     8890      +32
+ Partials       89       62      -27

Impacted Files
Coverage Δ

src/util/get-files.ts
91.66% <0%> (+3.88%)
:arrow_up:

src/util/dev/router.ts
82.69% <0%> (+4.12%)
:arrow_up:

src/util/dev/builder.ts
77.41% <0%> (+4.34%)
:arrow_up:

src/util/dev/yarn-installer.ts
90.74% <0%> (+5.02%)
:arrow_up:

src/util/dev/server.ts
66.9% <0%> (+5.68%)
:arrow_up:

src/util/output/create-output.ts
43.58% <0%> (+12.33%)
:arrow_up:

Continue to review full report at Codecov.

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

@nathancahill Oddly enough, this seemed to perform better in 376ffe0cfa9f0215628cbb329fe10ee5929fbc1f than it did in cfa1d61c725e4be7ea6f67f4c88c450c808d80e4 and tests pass for both.
Now that the builder will share the same ruby installation for all builds, does GEM_HOME matter either way?


WIP: enable assetion pkg (testify)

related to issue #230 ( a pre-step) . Packaging assert pkg

I forgot to mention that you should rather run glide get --strip-vendor github.com/stretchr/testify. This should then also fix #236.

@monstermunchkin  ok thx. i 'm closing this pr because of this:
https://golang.org/doc/faq#assertions


[Feature] Exercise-update components checkbox size adjustment

Checklist

[X] Client: I added multiple screenshots/screencasts of my UI changes

Motivation and Context
Checkboxes (Options) had different size. This PR unifies the size and adjusts them properly.
Steps for Testing

Log in to Artemis
Navigate to Course Administration (course should have presentation score enabled)
Navigate to Exercises
Create/Update an exercise
Look at checkboxes

Screenshots
Before:

After:

All files importing _exercise-update.scss, e.g. text-exercise-update.scss contain the following scss:
label {
    font-size: 17px;
    font-weight: bolder;
}

which matches your scss apart from the identifier. Could this be refactored in a way?

All files importing _exercise-update.scss, e.g. text-exercise-update.scss contain the following scss:
label {
    font-size: 17px;
    font-weight: bolder;
}

which matches your scss apart from the identifier. Could this be refactored in a way?

Hey @julian-christl. Thank you for your review. I applied your suggestion 😊


Firebase functions container silently freezes on making a get request to Firestore if multiple requests were created before container starts

Environment

Operating System version: Firebase Functions for Python (v2), Cloud Run
Firebase SDK version: firebase-admin==6.4.0
Firebase Product: firestore
Python version: 3.11
Pip version: 23.0.1

Description
Context
We've noticed this issue on our production and dev environments in Firebase, and launched an investigation together with GCP support (Support Case 49715474). GCP acknowledged the strange behaviour, but they were eventually unhelpful, offering generic advice on how it can be partially mitigated, which does not work in our use case, and it doesn't solve the issue. I continued the investigation on my own, and I think I pinned down the cause.
The issue seems to be rather generic and in my opinion very serious (silent failure -> no recovery until container goes out of scope), and happens for at least 1 use case which I presume is common in Firebase Functions: reading a document in Firestore using firebase_admin library. Since it seems one of the major use cases for firebase_admin, I decided to raise an issue also here.
I'd be very grateful for any suggestions to solve or mitigate this issue, as we've completely blocked on that right now.
Here is a reference to the issue on firebase-functions-python: https://github.com/firebase/firebase-functions-python/issues/181
What happens

Python function is silently freezing on an attempt to read a document in firestore (firestore.client().document.get()) if multiple invocations were requested in a short period of time (in my tests I used as low as 5 invocations submitted as quickly as possible).
Further attempts to invoke the function do not produce any result.

This behaviour is observed in both http-triggered functions and firestore-triggered functions.
Reproduction and results
Setup
Standard Firebase Functions for Python setup, as suggested by the official documentation.
In the section below I provide minimal code to reproduce the behaviour. I provide the code for http-triggered function, as it is easier to test (for firestore-triggered need to get service key to write to db, etc; but the behavior is exactly the same).
I deploy the function to a Firebase Project (with Blaze plan).
npx firebase-tools --version
12.5.3
npx firebase-tools deploy --only functions:functions-python
Additional setup:

In Firestore, create a collection "test" with document "testDoc" (and any content, e.g. {"test" : "test"}). I did it manually through Firebase Console. However, in reality this is not necessary, as the issue is reproducible even without it.
In Cloud Run -> open Function -> Security -> Allow unauthenticated invocations

Reproduction
I use hey to generate requests.
hey -n 10 -c 10 https://http-trig-read-fs-l-<...>.a.run.app
Summary:
  Total:	20.0057 secs
  Slowest:	0.0000 secs
  Fastest:	0.0000 secs
  Average:	 NaN secs
  Requests/sec:	0.4999

Response time histogram:

Latency distribution:

Details (average, fastest, slowest):
  DNS+dialup:	 NaN secs, 0.0000 secs, 0.0000 secs
  DNS-lookup:	 NaN secs, 0.0000 secs, 0.0000 secs
  req write:	 NaN secs, 0.0000 secs, 0.0000 secs
  resp wait:	 NaN secs, 0.0000 secs, 0.0000 secs
  resp read:	 NaN secs, 0.0000 secs, 0.0000 secs

Status code distribution:

Error distribution:
  [10]	Get "https://http-trig-read-fs-l-<...>-uc.a.run.app": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

As you can see, the endpoint is unresponsive. In the Cloud Run logs we can see the issue (I am posing the end of the log, there are no further log statements in response to this run:

The container becomes completely unresponsive, and functions run until they time out (can be seen in Cloud Run metrics -- run times just above 1 minute is when 1 did this load test):

However, if after the container goes out of score, or the function is redeployed to renew the container revision, I first try to make a single request to "wake up" the container, it can then process very high loads.
hey -n 1 -c 1 https://http-trig-read-fs-l-<...>-uc.a.run.app
Summary:
  Total:	0.6506 secs
  Slowest:	0.6505 secs
  Fastest:	0.6505 secs
  Average:	0.6505 secs
  Requests/sec:	1.5372

....

Status code distribution:
  [200]	1 responses

hey -n 100 -c 100 https://http-trig-read-fs-l-<...>-uc.a.run.app
Summary:
  Total:	1.9869 secs
  Slowest:	1.9861 secs
  Fastest:	0.4788 secs
  Average:	1.2266 secs
  Requests/sec:	50.3297

...

Status code distribution:
  [200]	100 responses

Relevant Code:
firebase.json
...
"functions": [{
      "source": "functions-python",
      "codebase": "functions-python",
      "ignore": ["venv", ".git", "firebase-debug.log", "firebase-debug.*.log"],
      "runtime": "python311"
    }],
...

functions-python/requirements.txt
firebase_functions==0.2.0

functions-python/main.py
(I added print statements before every code line so that it is apparent where the function freezes)
from firebase_admin import firestore, initialize_app
from firebase_functions import https_fn, options

initialize_app()

counter = 0

# note that defining firestore client inside or outside the function doesn't make any difference, I tried both
print("firestore.client()")
db = firestore.client()

@https_fn.on_request(
    cors=options.CorsOptions(
        cors_origins=["*"],
        cors_methods=["get", "post"],
    )
)
def http_trig_read_fs_l(req: https_fn.Request) -> https_fn.Response:

    print("global counter")
    global counter

    print("db.collection('test')")
    col = db.collection("test")

    print("col.document('testDoc')")
    doc = col.document("testDoc")

    print("doc.get()")
    get = doc.get()

    print("get.to_dict()")
    data_dict = get.to_dict()

    print("counter += 1")
    counter += 1

    print("counter", counter, "data", data_dict)

    return https_fn.Response(f"counter {counter} data {data_dict}")

Same issue. Until this gets fixed, to avoid the timeout errors I had to set the minimum number of instances to 1 (which incurs an additional cost with GCP).
@https_fn.on_request(
    min_instances=1,
    cors=options.CorsOptions(
        cors_origins=["*"],
        cors_methods=["get", "post"],
    )
)

Also, the timeouts were commonly associated with with various internet bots invoking the functions, with several requests being generated during a cold start before the first request could be fulfilled. So, @antopolskiy's analysis and use of hey to generate a small load is accurate and essential to recreate the problem.

@dblake10 thanks! I want to note that having a min_instance=1 doesn't guarantee absence of cold starts -- depending on the number of requests, additional container could be spun up which will in turn fail some of the requests. This is especially evident when the environment become more complex and the functions do more stuff. In conclusion, in our production code, min_instance=1 did not solve the issue.


fix: Bump studio to 2024-03-01

This PR bumps the Studio image to the latest one. It also removes SUPABASE_REST_URL since it's not used anywhere in the studio.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 58.855%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
6191

Relevant Lines:
10519

💛  - Coveralls


Added panic_with_byte_array

This change is

change target

corelib/src/byte_array.cairo line 389 at r2 (raw file):
Previously, orizi wrote…
If and when the type @ByteArray would be created from "some string", with no runtime cost, it would be callable.

I get that it can be as good as the consuming version, but what is the advantage?
(BTW, writing "@bytearray" add such a user to the review :) Turns out there is such a user...)


Physics Hands throwing and object interaction improvements

Summary

Enables basic throwing of objects

Removes velocity limiting in grasp helpers
Implements IE method of throwing
Disables hand collisions briefly when releasing

Improves object to hand rotation of objects by increasing angular velocity limits
Improves object to hand collision checks to be bone specific

Instead of using a single sphere overlap to check whether a hand can leave no contact mode, it's now done off of each joint at 0.5cm radius.

Improves physics to data hand snapping, now taking into account whether it has an object close to it. This reduces issues where hands would snap across the screen when waving etc.
Improves hand resizing speed and knuckle positions

The changes code wise are not as large as the summary lets on, but I thought I should cover it all 😁
This shouldn't need an example scene change.
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
Closes UNITY-865

Hey @rorygames can we get some test info on here:
Of the above criteria what did you test? In the video it kind of looks like a lot of the things mentioned above but I just want to be sure.
Have you tested against Unity 2020 and 2021?
Have you tried this against different platforms?

@MattGrayUL if you're content with Rory's responses then please consider that my QA peer review.

@Greg-UL

tried diff Unity versions (20.3, 21.3), nothing different.
not tried diff platforms
object collisions do not occur when hand is dropped until the hand is no longer in 0.5cm contact with any object or joint
objects collide with hand when dropped into
yes over time still but this MR does not attempt to fix that, it improves the rotations.


go get failing on gogetdoc

Run go get -u github.com/zmb3/gogetdoc to get the error
.../github.com/zmb3/gogetdoc/vendor/golang.org/x/tools/go/packages/packages.go:695: undefined: types.SizesFor
cc @zmb3

Seeing the same thing.

I can't reproduce:
➜ mkdir foo

➜ cd foo

➜ export GOPATH=$(pwd)

➜ GO111MODULE=off go get github.com/zmb3/gogetdoc

In my case, it was for Go 1.8
Sorry for not specifying it earlier.

Ah, I'm probably OK with that.  I think go/packages only supports the last 2 versions of Go, and so by depending on that I'm in the same boat here.

Because VS Code still supports Go 1.8 :)
I am ok closing this issue. I can update the Go extension to not provide gogetdoc as an option for Go 1.8 and lower

That seems like a reasonable approach.
If it becomes prohibitive we can think about publishing binaries such that you can install gogetdoc for users without running go get.  I think this would still work but I'm not entirely sure with the new dependency on go list.


Link to GRANDPA PDF Broken

Can we link to https://github.com/w3f/consensus/blob/master/pdf/grandpa-old.pdf? Is there some better replacement?

maybe find grandpa-new? otherwise link to wikipedia ...?

I checked, there is no "new" one, and the one that doesn't say "new" doesn't have a PDF version (only available in .tex). I have reached out to Bill from W3F to ask him the right thing to do.

thanks @danforbes .. let me know what Bill suggest

cc @AlistairStewart, @laboon

So I didn't see this issue, and went ahead and "fixed" it by linking to https://w3f-research.readthedocs.io/en/latest/polkadot/GRANDPA.html ... I did it as an afterthought in https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/pull/577
Would be happy to revert if necessary.

From @AlistairStewart

...keep linking to grandpa-old, maybe even after there is a grandpa.pdf. I'm aiming to post that one online today or tomorrow, but grandpa-old will still be more complete.

@JoshOrndorff - I requested your review on the PR to fix this. Let's go with the specific link that @AlistairStewart mentioned. Thanks for being proactive about fixing the link!


Pipeline stuck in "running" state in UI when job fails

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1007
Originally created by @DouweM on 2019-09-18 11:55:27

Steps to reproduce:

Configure pipeline
Click "Run" on pipeline
Note that "Run" button shows a spinner, and "Pipeline" tab shows a "1" badge
Navigate to a different page (like Analyze)
Navigate back to Pipeline > Run and wait a moment
Note that point 3 isn't true anymore, even though the job is still running in the background (presumably)

View 10 previous comments from the original issue on GitLab


About the additional STOP cmd

https://github.com/dotchen/LAV/blob/db2af575840ef390b65441b0970e72e88c4b05c1/lav/utils/datasets/bev_dataset.py#L54
Hi, do we override the ChangeLaneRight command with this additional Stop command here?

Thanks for reporting this. I have fixed this in the repo. The stop command was an experimental feature we later found to hurt the performance. Closing the issue.


OCPQE-17705 add required config for 4.14.z

to support 4.14.z release, we need to add required config in OAR

created worksheet for 4.14 release, add doc id in config store
add slack user group 4.14-qe-leads in config store

/approve

/cc @ming1013


Andrewl/fix gpr posterior leading dim

PR type: bugfix
Related issue(s)/PRs:
Summary
Proposed changes

The GPR posterior implementation was not working for predict_f calls with inputs containing leading dimensions.
This PR addresses the problem and also amends the test so that it is covered in the future
...

What alternatives have you considered?

Minimal working example

This would work:
# refer to test_gpr_posterior.py
m = GPR_with_posterior(data=some_regression_data, kernel=k)
X_new = np.random.randn(5, 2)
m.posterior(cache_type).predict_f(X_new, full_cov=full_cov, full_output_cov=full_output_cov)

But this wouldn't
# refer to test_gpr_posterior.py
m = GPR_with_posterior(data=some_regression_data, kernel=k)
X_new = np.random.randn(10, 5, 2)
m.posterior(cache_type).predict_f(X_new, full_cov=full_cov, full_output_cov=full_output_cov)

and would result in InvalidArgumentError
The PR addresses this.
Release notes

Fully backwards compatible: yes / no
If not, why is it worth breaking backwards compatibility:

PR checklist

[ ] New features: code is well-documented

[ ] detailed docstrings (API documentation)
[ ] notebook examples (usage demonstration)

[ X] The bug case / new feature is covered by unit tests
[ X] Code has type annotations
[ X] Build checks

[X ] I ran the black+isort formatter (make format)
[X ] I locally tested that the tests pass (make check-all)

[ X] Release management

[X ] RELEASE.md updated with entry for this change
[ X] New contributors: I've added myself to CONTRIBUTORS.md

It's not clear to me why the type checker if failing. I don't think I have used leading_dims any differently to other parts of the code (still looking into it)

It's not clear to me why the type checker if failing. I don't think I have used leading_dims any differently to other parts of the code (still looking into it)

I spoke to Jesper and we weren't able to understand why the mypy errors were occurring, so I have replaced List[Union[int, type(...)] with , List[Any]. While not ideal, any other input type will likely break the function (and hence flag a misspecified input). I have also made a note in the docstring about the expected type too.


Kotlin 1.1-M04

Kotlin 1.1-M04 is required so we can use the SAM with receiver plugin to resolve #155.

[x] Report Kotlin inline regression to YT
[x] Upgrade Kotlin to 1.1-M04
[x] Check if kotlin-gradle-plugin-1.0.6 can be used with 1.1-M04 and update integration test

Regression reported as https://youtrack.jetbrains.com/issue/KT-15565

Unfortunately 1.0.6 still cannot be used.


write a function that creates a string of parameters for testing

testing needs to be redone all together in a style similar to that of Nilearn


GSP capacity update

On 2023-05-09 all the GSP capacity will update on PVlive. The national is going up from 13864 to 14285
Dear PV_Live User,

The PV_Live API
https://api.solar.sheffield.ac.uk/pvlive/
will serve data based on a PV capacity update (2023-04-04) from
20:45 - 21:45 BST Tue 9 May

To reduce the risk of Distributed Denial of Service (DDOS) attack we now rate limit requests to 10/s.

Please use the url above.
We have decommissioned the old urls:
https://api0.solar.sheffield.ac.uk/pvlive/
https://api.solar.sheffield.ac.uk/pvlive/api/v3/gsp/0  etc

The PV capacity data is available at:
https://api.solar.sheffield.ac.uk/capacity/20230404/

We should:

[ ] get new capacities - https://api.solar.sheffield.ac.uk/capacity/20230404/
[ ] update the gsp capacityes - [script] (https://github.com/openclimatefix/GSPConsumer/blob/main/scripts/v3_to_v4/update_installed_capacity.py) (Need to update)
[x] Check that that there are not FE updates to

@peterdudfield yep all good on FE, we don't do any direct calls to PVLive from the frontend AFAIK 👍

I've asked Solar sheffield for the updated capacities

@devsjc would you be interested in this task?

Might be better to do this GSPConsumers

Is Sheffield's update retrospective? That is: does Sheffield's update alter the entire history of PV capacities?
Or does it just update the national PV capacity from tonight onwards?

Deployed on Dev via terrform cloud run
It runs succesfully, however many values that have been updated by the new changes in practice have stayed the same in our DB, as the capacity column is of type integer so things like
[2023-05-09 13:43:13,801] {/app/gspconsumer/app.py:216} DEBUG - Going to update the capacity from 58 to 58.082923

have in fact made no change to the values.
Currently the national capacity hasn't changed to the new value, I don't know when the updated amounts are going to appear on Solar Sheffield's side.

we don't have any notion of capacity history in our datasets

ah, sorry, I should've said that I was thinking about our training dataset from PV_Live (which stores the PV capacity per GSP and per timestep).

I was thinking about our training dataset from PV_Live

Gotcha! I don't know how this dataset is created so I'll leave this one to Peter!

Deployed on Prod via terraform cloud run

@JackKelly did you still have a question about this?

Is Sheffield's update retrospective? That is: does Sheffield's update alter the entire history of PV capacities?

Yeah, thank you for checking! I think my question got lost above!
Is Sheffield's update of PV capacity retrospective? That is: does Sheffield's update alter the entire history of PV capacities? Or does it just update the PV capacity from today onwards?

ah i see, perhaps we can pull the data from 2023-05-01 and see the national capacity.
I suspect it is not, as the pv generation values would also need to be updated in the database.

Cool. I'll re-download fresh, historical PV Live data (for the entire history) for my experiments on predicting national PV. To make sure I'm using the most up to date estimates of capacity

Cool - that would be great
Ive got a script here but i think it does all the gsps. Might be worth moving the script to this repo


Set provider config from ENV vars instead of plain text files

[x] Generate config from env vars.
[x] Sets config correctly when multiple blocks of the same Provider are present.
Set all types of config values

[x] String
[x] Bool
[x] []string
[x] map[string]string

Here is the config.yaml I used while testing locally.
slack:
  - id: recon
    slack_channel: $SLACK_CHANNEL_1
    slack_username: $SLACK_USER_1
    slack_webhook_url: $SLACK_WEBHOOK_1
    slack_threads: $SLACK_THREADS_1
  - id: recon1
    slack_channel: $SLACK_CHANNEL_2
    slack_username: $SLACK_USER_2
    slack_webhook_url: $SLACK_WEBHOOK_2
    slack_threads: $SLACK_THREADS_2
pushover:
  - id: $PUSHOVER_ID
    pushover_api_token: $PUSH_API_TOKEN
    pushover_devices: $PUSH_DEVICES
custom:
  - id: $CUSTOM_ID
    custom_headers: $CUSTOM_HEADERS

These are the export statements I used to set the ENV variables.
export SLACK_CHANNEL_1=slackChannel1
export SLACK_USER_1=slackUser1
export SLACK_WEBHOOK_1=slackWebhook1
export SLACK_THREADS_1=true
export SLACK_CHANNEL_2=slackChannel2
export SLACK_USER_2=slackUser2
export SLACK_WEBHOOK_2=slackWebhook2
export SLACK_THREADS_2=false
export PUSHOVER_ID=pushoverID
export PUSH_API_TOKEN=123qwerty123helloworld
export PUSH_DEVICES='["device1","device2","device3"]'
export CUSTOM_ID=customID
export CUSTOM_HEADERS='{"Content-Type":"application/json","X-Api-Key": "XXXXX"}'

we can go with second approach..
// utils.go
func readProviderConfig(filepath string) (io.Reader, error) {
	// Open the file
	file, err := os.Open(filepath)
	if err != nil {
		return nil, err
	}
	defer file.Close()

	// Create a scanner to read the file line by line
	scanner := bufio.NewScanner(file)

	// Create a string builder to accumulate the modified data
	var sb strings.Builder

	// Iterate over each line and do variable substitution
	for scanner.Scan() {
		line := scanner.Text()
		newLine := substituteEnvVars(line)
		sb.WriteString(newLine)
		sb.WriteString("\n")
	}
	// Check for errors
	if err := scanner.Err(); err != nil {
		return nil, err
	}

	return strings.NewReader(sb.String()), nil
}

func substituteEnvVars(line string) string {
	for _, word := range strings.Fields(line) {
		word = strings.Trim(word, " \"")
		if strings.HasPrefix(word, "$") {
			key := strings.TrimPrefix(word, "$")
			val := os.Getenv(key)
			line = strings.ReplaceAll(line, word, val)
		}
	}
	return line
}

runner.go
	reader, err := readProviderConfig(options.ProviderConfig)
	if err != nil {
		return nil, errors.Wrap(err, "could not open provider config file")
	}
	if parseErr := yaml.NewDecoder(reader).Decode(&providerOptions); parseErr != nil {
		return nil, errors.Wrap(parseErr, "could not parse provider config file")
	}

@iamargus95 , since this is a generic implementation what do you think of creating new PR to move this function to https://github.com/projectdiscovery/utils/tree/main/file . that way we can extend this support to other projects
Thanks

@tarunKoyalwar
Kindly review this PR in utils.
I've added this functionality as a helper.

https://github.com/projectdiscovery/utils/pull/149

@iamargus95 , since upstream pr projectdiscovery/utils#149 is merged now can you update this PR to use those helper utils

@tarunKoyalwar I think the latest release (v0.0.30) does not have the newly added helper function. Waiting for it to be added.

@iamargus95 , since upstream pr projectdiscovery/utils#149 is merged now can you update this PR to use those helper utils

@tarunKoyalwar I think the latest release (v0.0.30) does not have the newly added helper function. Waiting for it to be added.

https://github.com/projectdiscovery/utils/releases/tag/v0.0.31


Null user agent exceptions

With user agent throttling there is one more place where a null user agent check should be made to prevent null reference exceptions.
In ThrottlingFilter.cs:
//apply custom rate limit for user agent
if (Policy.UserAgentRules != null)

can be changed to:
//apply custom rate limit for user agent
if (Policy.UserAgentRules != null && identity.UserAgent != null)

to prevent the null reference exceptions

v2.1.3 has been published to NuGet
Thanks


Remove redundant escape

I think something is wrong here.

not sure how to fix ATM, don't have time to look into it now though unfortunately.


Standalone Jasmine 1.1.0 only contains lib/ folder

Well... title says it all...
http://pivotal.github.com/jasmine/downloads/jasmine-standalone-1.1.0.zip
The User guide says open "SpecRunner.html". So I guess, that makes 1.1.0 not working out of the box.
As a solution you can:

download any previous release,
unpack it,
unpack 1.1.0,
copy lib from 1.1.0 into previous release (merge lib/ folder)
adjust paths in SpecRunner.html

Same problem here... It would be great to have a working "gettin started" document.
Thanks

Nope.. last activity just 4 days ago... It's probably just too many pull requests and we just go unnoticed with this packaging stuff. Anyway, hope people will google "jasmine 1.1.0 problem" or "jasmine 1.1 not working" and land here :)

Still not fixed :(


Make iOS project path configurable by parameter in run-ios cli command

In projects where you have multiple apps or a different structure (ios is not the directory containing the xcode project) it would be helpful to have the option to configure the directory containing the xcode project when doing "react-native run-ios"
As my PR does not change and does not affect UI it's hard to show a video ;-) Steps to reproduce are:

checkout facebook/react-native
run 'react-native run-ios' (it will fail)
npm link react-native (with my PR)
re-run 'react-native run-ios --ios-project-path Examples/Movies/

Now the simulator should open the Movies example app

@mkonicek @frantic @Kureev that looks good to me. We are going to probably improve that in the future anyway, but it will finally allow me to run my nested apps w/o issues.

I have no problems with having an additional parameter, but the final word would be on @mkonicek

Just nits. Thanks for doing this!

Thanks for the updates! I know these styling issues might be pretty annoying to fix. Is eslint not reporting any warnings?
https://github.com/facebook/react-native/blob/master/.eslintrc

No, it doesn't. Maybe you want to stick to rules like from airbnb? Or provide another "standard" set of rules in a separate project?

@grabbou is there anything left I have to do or update?

That looks good to me. Going to ship it (hope @mkonicek doesn't mind that).

@facebook-github-bot shipit

Regarding the linting issues, would you mind opening a thread on our Facebook group -> https://www.facebook.com/groups/react.native.community/ and cc'ing me & Martin?

sure :-)

I don't know about lint but saw the post and agree it would be impactful if someone could improve it.

Failed with a merge conflict. Can you rebase please?

Rebasing will rerun the tests.

What's missing?

@mroswald You just need to ping us sometimes. Didn't get any notification that you rebased.
@facebook-github-bot shipit

@facebook-github-bot shipit

@mkonicek thanks! I will ping you in the future, stay tuned ;-)

@mroswald I mean ping someone who has context on the code you're changing (see git blame), not me :)


I am making czech translation

I will make czech translation in few days
I am posting it here because i dont know where i should post it

See Polish for example https://github.com/farmerbb/Taskbar/tree/master/app/src/main/res/values-pl, you can make a values-cz directory with strings.xml like that and translate strings to your language. Also https://developer.android.com/studio/write/translations-editor can be useful.

ok i will do it thanks

50%  completed

75% completed

Would you still like to contribute your translation, even if it was only partially done?

Sorry, i can't my computer (where i had it saved) have broken harddisk and motherboard.

Maybe in future.


[Question] Can't find "Language code for subtitles (example: en, it, es)" option

I can't find anymore the option in the Menu that searched for subtitles in a specific language. It's called "Language code for subtitles (example: en, it, es)" and it is somewhere in the Elementum Options but I can't find it anymore. I just found this github code that translates this option but I can't find the option in the Elementum Menu. https://github.com/elgatito/plugin.video.elementum/blob/master/resources/language/French/strings.po

@Nukles
Subtitles language is about OpenSubtitles. It is located in a separate settings tab.


Staging add new info voice video detect

Rebased 57c3a1c to fix build errors

folded the 2 patches into a fixup
merged into pendng, Thanks !


Codec errors fails the whole import process

Steps:

Create a project backup
Import backup back to CVAT

Some of the video files might cause the encoder error.
Error during import leads to the whole import being unavailable, there is no information on which file caused it
2022-03-28 16:16:37,646 DEBG 'rqworker_default_1' stderr output:
WARNING:libav.libopenh264:[OpenH264] this = 0x0x5587c44d70, Warning:WelsEncoderEncodeExt()MinCr Checking,codec bitstream size is larger than Level limitation

2022-03-28 16:16:57,981 DEBG 'rqworker_default_1' stderr output:
WARNING:libav.libopenh264:[OpenH264] this = 0x0x5587c44d70, Warning:[MT] CWelsSliceEncodingTask ExecuteTask(), WriteSliceBs not successful: coding_idx 0, um_iSliceIdx 3

2022-03-28 16:16:57,983 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:[OpenH264] this = 0x0x5587c44d70, Error:WelsEncoderEncodeExt(), multi-slice (mode 1) encoding error!

2022-03-28 16:16:57,985 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:[OpenH264] this = 0x0x5587c44d70, Error:CWelsH264SVCEncoder::EncodeFrame(), kiEncoderReturn 3

2022-03-28 16:16:57,986 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:EncodeFrame failed

2022-03-28 16:16:58,032 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Handling failed execution of job eevert@/api/projects/e96cd475-091b-4c40-a38f-d204cab2401b/import

2022-03-28 16:16:58,054 DEBG 'rqworker_default_1' stderr output:
ERROR:rq.worker:Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/backup.py", line 652, in _import_project
    db_project = project_importer.import_project()
  File "/home/django/cvat/apps/engine/backup.py", line 644, in import_project
    self._import_tasks()
  File "/home/django/cvat/apps/engine/backup.py", line 634, in _import_tasks
    TaskImporter(
  File "/home/django/cvat/apps/engine/backup.py", line 527, in import_task
    self._import_task()
  File "/home/django/cvat/apps/engine/backup.py", line 510, in _import_task
    _create_thread(self._db_task.pk, data.copy(), True)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/task.py", line 617, in _create_thread
    img_sizes = compressed_chunk_writer.save_as_chunk(chunk_data, compressed_chunk_path)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 698, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 659, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/backup.py", line 652, in _import_project
    db_project = project_importer.import_project()
  File "/home/django/cvat/apps/engine/backup.py", line 644, in import_project
    self._import_tasks()
  File "/home/django/cvat/apps/engine/backup.py", line 634, in _import_tasks
    TaskImporter(
  File "/home/django/cvat/apps/engine/backup.py", line 527, in import_task
    self._import_task()
  File "/home/django/cvat/apps/engine/backup.py", line 510, in _import_task
    _create_thread(self._db_task.pk, data.copy(), True)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/task.py", line 617, in _create_thread
    img_sizes = compressed_chunk_writer.save_as_chunk(chunk_data, compressed_chunk_path)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 698, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 659, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed

Any answer on this issue ? Was it solved ? Cause I have the same problem

@maxtju , need videos to reproduce the issue. Could you please provide? How did you create the backup?

Hi @nmanovic
Thank you very much for fast answer I've found other thread of similar question.
The problem that you moved to https://github.com/cisco/openh264
Currently they are limited with maximal resolution of 3Kx2K pixels.
That's was my problem - I tried to make it with 4Kx3K. The error is not much informative, but scaling down video solves the problem.
Regards
Max

@maxtju , thanks for the information.

I'm seeing a similar issue with 2.3.0 (<2.3 worked fine)
status=Failed, message=av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] Initialize failed


Removed unnecessary "dotnet restore".

Removed unnecessary "dotnet restore". Run automatically by "dotnet add package".

Thank you!


Conditional operator is parsed wrong

Hi,
When the following file is parsed:
module top #(
  parameter  int Width = 16
) (
   output logic o
);
  localparam int ParWidth = (Width <=  26) ? 6 :
                            (Width <= 120) ? 7 : 8;

  assign o = (ParWidth == 6);

endmodule

the ParWidth  equals 7 in uhdmtopModule and 2 last vpiOperand nodes should be on deeper level in uhdmallModules.
I attach the uhdm tree:
slpp_all/surelog.uhdm: Restored design Pre-Elab:
design: (work@top)
|vpiName:work@top
|uhdmallModules:
\_module: work@top (work@top) Surelog/without.sv:1:1: , endln:11:10, parent:work@top
  |vpiDefName:work@top
  |vpiFullName:work@top
  |vpiPort:
  \_port: (o), line:4:17, parent:work@top
    |vpiName:o
    |vpiDirection:2
    |vpiLowConn:
    \_ref_obj:
      |vpiActual:
      \_logic_net: (work@top.o), line:4:17, parent:work@top
        |vpiName:o
<EMAIL_ADDRESS>        |vpiNetType:36
  |vpiContAssign:
  \_cont_assign: , line:9:10, endln:9:29, parent:work@top
    |vpiRhs:
    \_operation: , line:9:15, endln:9:28
      |vpiOpType:14
      |vpiOperand:
      \_ref_obj: (work@top.ParWidth), line:9:15, endln:9:23
        |vpiName:ParWidth
<EMAIL_ADDRESS>      |vpiOperand:
      \_constant: , line:9:27, endln:9:28
        |vpiConstType:9
        |vpiDecompile:6
        |vpiSize:64
        |UINT:6
    |vpiLhs:
    \_ref_obj: (work@top.o), line:9:10, endln:9:11
      |vpiName:o
<EMAIL_ADDRESS>  |vpiNet:
  \_logic_net: (work@top.o), line:4:17, parent:work@top
  |vpiParamAssign:
  \_param_assign: , line:2:18, endln:2:28, parent:work@top
    |vpiRhs:
    \_constant: , line:2:26, endln:2:28
      |vpiConstType:9
      |vpiDecompile:16
      |vpiSize:64
      |UINT:16
    |vpiLhs:
    \_parameter: (work@top.Width), line:2:18, endln:2:28, parent:work@top
      |vpiName:Width
<EMAIL_ADDRESS>      |UINT:16
      |vpiTypespec:
      \_int_typespec: (Width), line:2:14, endln:2:17<EMAIL_ADDRESS>        |vpiName:Width
  |vpiParamAssign:
  \_param_assign: , line:6:18, endln:7:51, parent:work@top
    |vpiRhs:
    \_operation: , line:6:29, endln:7:51
      |vpiOpType:32
      |vpiOperand:
      \_operation: , line:6:29, endln:6:43
        |vpiOpType:32
        |vpiOperand:
        \_operation: , line:6:29, endln:6:43
          |vpiOpType:21
          |vpiOperand:
          \_ref_obj: (Width), line:6:30, endln:6:35
            |vpiName:Width
          |vpiOperand:
          \_constant: , line:6:40, endln:6:42
            |vpiConstType:9
            |vpiDecompile:26
            |vpiSize:64
            |UINT:26
        |vpiOperand:
        \_constant: , line:6:46, endln:6:47
          |vpiConstType:9
          |vpiDecompile:6
          |vpiSize:64
          |UINT:6
        |vpiOperand:
        \_operation: , line:7:29, endln:7:43
          |vpiOpType:21
          |vpiOperand:
          \_ref_obj: (Width), line:7:30, endln:7:35
            |vpiName:Width
            |vpiActual:
            \_parameter: (work@top.Width), line:2:18, endln:2:28, parent:work@top
              |vpiName:Width
<EMAIL_ADDRESS>              |UINT:16
              |vpiTypespec:
              \_int_typespec: (Width), line:2:14, endln:2:17<EMAIL_ADDRESS>                |vpiName:Width
          |vpiOperand:
          \_constant: , line:7:39, endln:7:42
            |vpiConstType:9
            |vpiDecompile:120
            |vpiSize:64
            |UINT:120
      |vpiOperand:
      \_constant: , line:7:46, endln:7:47
        |vpiConstType:9
        |vpiDecompile:7
        |vpiSize:64
        |UINT:7
      |vpiOperand:
      \_constant: , line:7:50, endln:7:51
        |vpiConstType:9
        |vpiDecompile:8
        |vpiSize:64
        |UINT:8
    |vpiLhs:
    \_parameter: (work@top.ParWidth), line:6:18, endln:7:51, parent:work@top
      |vpiName:ParWidth
<EMAIL_ADDRESS>      |vpiLocalParam:1
      |vpiTypespec:
      \_int_typespec: (ParWidth), line:6:14, endln:6:17<EMAIL_ADDRESS>        |vpiName:ParWidth
  |vpiParameter:
  \_parameter: (work@top.Width), line:2:18, endln:2:28, parent:work@top
  |vpiParameter:
  \_parameter: (work@top.ParWidth), line:6:18, endln:7:51, parent:work@top
|uhdmtopModules:
\_module: work@top (work@top) Surelog/without.sv:1:1: , endln:11:10
  |vpiDefName:work@top
  |vpiName:work@top
  |vpiPort:
  \_port: (o), line:4:17, endln:4:18, parent:work@top
    |vpiName:o
    |vpiDirection:2
    |vpiLowConn:
    \_ref_obj:
      |vpiActual:
      \_logic_net: (work@top.o), line:4:17, endln:4:18, parent:work@top
        |vpiName:o
<EMAIL_ADDRESS>        |vpiNetType:36
  |vpiNet:
  \_logic_net: (work@top.o), line:4:17, endln:4:18, parent:work@top
  |vpiParamAssign:
  \_param_assign: , line:2:18, endln:2:28, parent:work@top
    |vpiRhs:
    \_constant: , line:2:26, endln:2:28
      |vpiConstType:9
      |vpiDecompile:16
      |vpiSize:64
      |UINT:16
    |vpiLhs:
    \_parameter: (work@top.Width), line:2:18, endln:2:28, parent:work@top
      |vpiName:Width
<EMAIL_ADDRESS>      |UINT:16
      |vpiTypespec:
      \_int_typespec: (Width), line:2:14, endln:2:17<EMAIL_ADDRESS>        |vpiName:Width
  |vpiParamAssign:
  \_param_assign: , line:6:18, endln:7:51, parent:work@top
    |vpiRhs:
    \_constant: , line:6:29, endln:7:51
      |vpiConstType:7
      |vpiDecompile:7
      |vpiSize:64
      |INT:7
    |vpiLhs:
    \_parameter: (work@top.ParWidth), line:6:18, endln:7:51, parent:work@top
      |vpiName:ParWidth
<EMAIL_ADDRESS>      |vpiLocalParam:1
      |vpiTypespec:
      \_int_typespec: (ParWidth), line:6:14, endln:6:17<EMAIL_ADDRESS>        |vpiName:ParWidth
  |vpiParameter:
  \_parameter: (work@top.Width), line:2:18, endln:2:28, parent:work@top
  |vpiParameter:
  \_parameter: (work@top.ParWidth), line:6:18, endln:7:51, parent:work@top

The problem isn't occurring when  (Width <= 120) ? 7 : 8 is put in brackets.

I believe that is incorrect.
In SV, the Conditional operator is right associative. Please check with a Simulator what is the expected result.

Fixed by #1464


RunStatus incomplete missing

The documentation for the status field on a Run says:

The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired.

However, there appears to be another possibility, "incomplete"

It's already added in https://github.com/openai/openai-openapi/commit/df5699f5c48fe455d9d036198e77fdb637edee29


 Both work fine.

Just verified on jitpack.io - current configuration is correct one.


Added setting for showing every ESP even when spectating

Closes #42

i'll verify this code soon. And will merge it if its working.

i'll verify this code soon. And will merge it if its working.

it should work as it works the same as my version i made yesterday his just uses less code

 if (!MenuConfig::ShowWhenSpec && !LocalEntity.UpdatePawn(LocalPawnAddress))         return;
this line need to modify to
 if (!LocalEntity.UpdatePawn(LocalPawnAddress) && !MenuConfig::ShowWhenSpec)         return;
Otherwise ESP will go wrong.


Fix testing against OpenMM RCs

Some change has caused the token for workflow dispatch (the mechanism we used to conditionally launch a workflow) to fail. However, in the meantime, GitHub has added a native approach for reusing workflows. So this is intended to switch to using that.
And we're probably going to have some things to change thanks to the OpenMM 8.0 release candidate....

And we're probably going to have some things to change thanks to the OpenMM 8.0 release candidate....

Apparently not! Tests against the RC ran as part of f8a0335, and passed!
This is ready for review and comment. I will leave it open for at least 12 hours, merging no earlier than Mon 16 Jan 04:00 GMT (Sun 15 Jan 22:00 my local). (Short window for minor changes and fact that I kind of don't want another overnight test failure in my inbox.)


Update google-auth-library-credentials to 1.30.0

About this PR
📦 Updates com.google.auth:google-auth-library-credentials from 1.8.1 to 1.30.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.auth", artifactId = "google-auth-library-credentials" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.auth", artifactId = "google-auth-library-credentials" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #407.


added javascript language module

Codecov Report

Merging #5353 into master will increase coverage by 0.18%.
The diff coverage is 84.31%.

@@             Coverage Diff              @@
##             master    #5353      +/-   ##
============================================
+ Coverage     82.29%   82.48%   +0.18%
- Complexity    11189    11324     +135
============================================
  Files          1350     1354       +4
  Lines         44131    44466     +335
  Branches       5562     5619      +57
============================================
+ Hits          36318    36676     +358
+ Misses         5193     5175      -18
+ Partials       2620     2615       -5

Impacted Files
Coverage Δ
Complexity Δ

...o/crate/operation/language/JavaScriptLanguage.java
100% <100%> (ø)
6 <6> (?)

...java/io/crate/module/JavaScriptLanguageModule.java
100% <100%> (ø)
3 <3> (?)

...java/io/crate/plugin/JavaScriptLanguagePlugin.java
37.5% <37.5%> (ø)
3 <3> (?)

...ration/language/JavaScriptUserDefinedFunction.java
83.33% <83.33%> (ø)
24 <24> (?)

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-30.44%)
4% <0%> (-4%)

...crate/executor/transport/TransportShardAction.java
75.67% <0%> (-10.82%)
8% <0%> (-1%)

...io/crate/analyze/relations/RelationNormalizer.java
91.76% <0%> (-8.24%)
27% <0%> (+25%)

...lob/src/main/java/io/crate/blob/BlobContainer.java
77.5% <0%> (-2.5%)
17% <0%> (-1%)

...c/main/java/io/crate/exceptions/SQLExceptions.java
67.67% <0%> (-2.03%)
33% <0%> (-1%)

... and 28 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 8c761ca...efad233. Read the comment docs.


使用antd-mobileV5，报错

Describe the bug
使用antd-mobileV5，报错
[error] SyntaxError: Unexpected token ':'
[log]  ❯ Object.compileFunction ../../../../node:vm:352:18
[log]  ❯ Object.<anonymous> node_modules/antd-mobile/cjs/global/index.js:3:1

Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-mdeqpn?file=vitest.config.ts&initialPath=__vitest__
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics
    Memory: 51.83 GB / 63.87 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.6.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (100.0.1185.36)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-legacy: ^1.8.0 => 1.8.0
    @vitejs/plugin-react: ^1.3.0 => 1.3.0
    vite: ^2.9.1 => 2.9.1
    vitest: ^0.9.3 => 0.9.3

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

需要将 import { Button } from 'antd-mobile';  改成  import { Button } from 'antd-mobile/es'; , test才正常通过，但是run dev没问题

Reproduction works
Please, use English when reporting issues


Revert "Temporal indexing in Wicker"

Reverts woven-planet/wicker#41

@isaak-willett - For context, i am following your suggestion of a release wheel and then merging it.. Hence reverting this


Create kvantorium-perm.txt

Domain name: kvantorium-perm.ru
https://kvantorium-perm.ru/docs/ - source of long term IT related course (you can found "IT-квантум") and go to google docs viewer (https://drive.google.com/file/d/1n7qp5q68CW2oIcgz8ToIc_S616gjU28Q/view). On the top of the A4 page you can see domain.

@vlad-kazakoff ru/kvantorium-perm.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@vlad-kazakoff Regrettably, I have to close the request without merging, because this organization is a training center, neither a college, nor a university. Please ensure that you are familiar with this repository rules located at the bottom of this page.
I would recommend using IntelliJ IDEA Community and PyCharm Community Edition at short-term courses for children. These IDEs do not require any subscription, neither paid, nor free.
Thank you for your understanding!


NoneType object has no attribute 'path'

Unable to start LSP-pyright
Traceback (most recent call last):
  File "/home/raoul/.config/sublime-text-3/Packages/LSP/plugin/core/windows.py", line 262, in start_async
    additional_variables = plugin_class.additional_variables()
  File "/home/raoul/.config/sublime-text-3/Installed Packages/LSP-pyright.sublime-package/plugin.py", line 24, in additional_variables
AttributeError: 'NoneType' object has no attribute 'path'

Works here. Tried both in ST3 and ST4.
Both LSP-pyright and lsp_utils from PC?

Error:
AttributeError: 'NoneType' object has no attribute 'path'

This is the line:
        variables["sublime_py_files_dir"] = os.path.dirname(sublime.__file__)

It doesn't quite make sense that os module has no path?

I cannot reproduce this now :) very odd

I seems to encounter this when upgrading the plugin too.


Feature/1577 contextual token upgrade

Will be solved in https://github.com/sl-design-system/components/pull/1607


[WIP] 1.22 feature blog for Node alpha swap support

Feature blog post for "Node Alpha swap support" (https://github.com/kubernetes/enhancements/issues/2400).
This is part of the Kubernetes 1.22 release Feature blogs
Tentative publish date is 9th August 2021.
cc: @ehashman
Todo

[ ]  Adjust publishing date

Closing this. Since we are tracking the blog in a new PR https://github.com/kubernetes/website/pull/29060


Analysis slow when .asv is present

Would you mind making a new issue with the set of steps? I think your case is sufficiently different than the original post and I'd like to split the two apart.

Originally posted by @jakebailey in https://github.com/microsoft/pylance-release/issues/702#issuecomment-825228790
While I couldn't originally repro, I'm now getting this issue. (Maybe I needed to restart VSCode or similar?)
To reproduce:
git clone https://github.com/pydata/xarray
cd xarray

# Create an asv environment, takes a while
asv profile unstacking.Unstacking.time_unstack_pandas_slow master

...now hit cmd-t. With trace logging, I get https://gist.github.com/max-sixty/dc5765d45f949cd25a24ee346bfe81a7. Everything is expected AFAIK until https://gist.github.com/max-sixty/dc5765d45f949cd25a24ee346bfe81a7#file-gistfile1-txt-L1191, where it starts scanning the ASV environments. Those environments are accessible by python, so I would think shouldn't be scanned.
From then on, trying to find a method (e.g. clip) from cmd-t doesn't complete in 15 seconds, unfortunately it's not that helpful. And no logs or warnings without turning on trace logging.
After removing the asv_bench/.asv path, the completions are back to millis!
Thanks!

Sorry to be looking at this so late.
Can you try creating a pyrightconfig.json file and add .asv to the excludes to see if that fixes the issue? https://github.com/microsoft/pyright/blob/main/docs/configuration.md#main-pyright-config-options
But, I don't exactly know why we would be scanning those files, if they are unreferenced from opened files.

we now auto-exclude any folder starts with ".". please re-open the issue if it still repro with latest pylance.


running motor simultaneously

Hi there,
I'am trying to run four lego motors with raspberry pi 4 and build-hat simultaneously.
Using MotorPair it worked well for 2 motors. Is there any possibility to run 2 motor pairs simultaneously?
This is probably not a bug but a feature.
Thx in advance!

Have you tried it?

Hi mutesplash,
When I  execute run_to_position for one motor pair (A, B) and then for the other one (C, D)  they run after each other. First A. B then C, D.
I would like to have a motor quadruple A, B, C, D.
Is it somehow possible and I misunderstood the documentation?
Thank you!

Have you specified to run them nonblocking?

Thank you for your quick reply!
I'll try it and give you feedback at the latest tomorrow!

Hey mutesplash,
thank You very much. It works!

see comments above

Hey mutesplash,
thank You very much. It works!


undefined values or null

.

@Lelre … not sure why you opened this issue. Can you add detailed explanation / information what the issue is about? And also which systeminformation version you are referring to, which OS you are working with...

May I close this issue? Or do you have any additional information (besides ".")

Closing it for now ...

@sebhildebrandt I'm sorry. I decided to try to resolve it by my own. It didn't work out. Could you give me some directions to solve this issue?
I have this piece of code:
const systeminfo = require("systeminformation");

async function getInfo() {
  await systeminfo.cpu(function (cpuInfo) {
    console.log(`
    CPU:
      cpuinfo.cpuBrand: ${cpuInfo.brand}
      cpuinfo.cpuVendor: ${cpuInfo.vendor}
      cpuinfo.cpuModel: ${cpuInfo.model}
      cpuinfo.cpuFamily: ${cpuInfo.family}
    SPEED:
      cpuinfo.cpuSpeed: ${cpuInfo.speed}
      cpuinfo.cpuMaxspeed: ${cpuInfo.maxspeed}
      cpuinfo.cpuCurrentspeed: ${cpuInfo.currentspeed}
    USAGE:
      cpuinfo.cpuUsages: ${cpuInfo.usages}
      cpuinfo.cpuTemperature: ${cpuInfo.max}
    `);
  });

  await systeminfo.mem(function (memInfo) {
    console.log(`
    MEMORY:
      meminfo.memUsed: ${memInfo.used}
      meminfo.memFree: ${memInfo.free}
      meminfo.memTotal: ${memInfo.total}
    USAGE:
      meminfo.memUsedPercent: ${memInfo.usedPercent}
      meminfo.memAvailable: ${memInfo.available}
    `);
  });
}

getInfo();

Here's my output:
CPU:
  cpuinfo.cpuBrand: Gen Intel® Core™ i7-1165G7
  cpuinfo.cpuVendor: GenuineIntel
  cpuinfo.cpuModel: 140
  cpuinfo.cpuFamily: 6
SPEED:
  cpuinfo.cpuSpeed: 2.8
  cpuinfo.cpuMaxspeed: undefined
  cpuinfo.cpuCurrentspeed: undefined
USAGE:
  cpuinfo.cpuUsages: undefined
  cpuinfo.cpuTemperature: undefined

MEMORY:
  meminfo.memUsed:<PHONE_NUMBER>
  meminfo.memFree:<PHONE_NUMBER>
  meminfo.memTotal:<PHONE_NUMBER>2
USAGE:
  meminfo.memUsedPercent: undefined
  meminfo.memAvailable:<PHONE_NUMBER>

For some reason I'm getting undefined value as result for some informations...
I also tried as showen in the documentation:
const si = require('systeminformation');
setInterval(function() {
  si.cpuTemperature().then(data => {
    console.log(data.max);
  })
}, 1000)

Still I get as result a null value...
null
null
null
null
null
null

@Lelre can you provide more details Information about
Environment (please complete the following information):

systeminformation package version:
OS: [e.g. macOS]
Hardware [e.g. MacBook Pro 13]

Additional context
Add any other context about the problem here.
One more thing, did you also had a look at the documentation https://systeminformation.io ... not all functions are supported on all platforms.


Create shared formatArtworkURL method

Avoids duplicate declarations of the same method.
Switches from using as a method to a filter in templates.

Thanks!


[MentorMix] ask for controlled noisy web labels dataset image files

Thanks for your interesting works!
It is too difficult to download the whole dataset from every single image url. Can you share me the image file?
thanks a lot!

And I wonder how can we generate the real-world datasets?


Application: deploying 0/0

Describe the bug
App will not deploy when mod is added
Error message
on the screen stuck on 0/0
To Reproduce
Steps to reproduce the behaviour:

Go to the executable
Click on it twice
click on deploy after a mod
click yes/deploy
See error

Expected behaviour
Expected to see it deploy then mod in game
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (please complete the following information):

Linux Flavour: Ubuntu: linux mint latest version
Window Manager: i3 / Qtile im not sure
Lamp Version: 1.0.0

Additional context
I ran the application so im not sure if there is anything else to do

You say that you are running v1.0.0, so you may want to update to a newer version if that is the case. The latest release was 1.3.2.
Can you also double check that you have set your game paths: https://github.com/CHollingworth/Lampray/blob/master/docs/managing-mods.md#step-1-set-your-game-paths, I believe that is something that may cause that error.
If that doesn't fix it, could you post the log that Lampray generates?

lamp.log
updated to 1.3.2

lamp.log
here the new logs, idk if im running it wrong or if i need to configure steam

Are you still getting the same deploy issue? The logs show that it was able to extract/deploy some mods that time, so based on what I can see the deploying 0/0 issue should be fixed.

Im getting a diffrent issue of the mods not showing up in game

I had this issue too. My problem was that I went into the game config and saw that it said "the path is usually ..." and I thought "oh yeah that looks right, nothing to do then", but you actually have to click on the red box below and then enter that path. Just thought I'd mention in case this happens to anyone else :)


[feature request] Visit user profile via click, open as new tab

I have totally no idea why this elemental important simple feature is missing, but please implement a clickable link to open users instagram as a new tab, without closing IGS window too.

bump


Ref values pre-processing

Some countries have ref values that include additional characters such as A1. But in real life traffic signs only show the number: 1.

vs

The biggest problems this is causing is in Romanian trunk roads shields (#99), but this issue is present in other countries as well:
Germany, Switzerland, Italy, Czechia.
A possibility would be to add a function that would strip of letter characters from refs in certain countries.

In #119, I implemented a refsByWayName lookup table specified as part of an individual shield definition object. It could be generalized into a function: these European shield definitions would implement the function by deleting the letter, while the Kentucky parkway shield definition could look up the value based on the ref (assuming we don’t find a more data-driven way to implement that shield definition).

I think ref pre-processing is something we should do under only extremely exceptional circumstances, if even at all.  It sounds like there is a relatively small list of countries that have tagged their highway route relations in a way that's different from the rest of the planet.  If that's the case, I'm fairly comfortable rendering them wrongly and suggesting that they might change the tagging to be more consistent with the global trend.
I noticed Italy in that list, and Italy does have the prefix values in their signs so I think in that case the ref prefix should actually be there and be rendered.

I think a transformation mechanism would be useful anyways. Thinking ahead to when we add the full complement of Texas shields, we’ll probably want to display most of the networks’ shields as something like [FM 1234] and [PA 1502], which would require prepending something to the bare ref that ordinarily shouldn’t be there in the data.

Thinking ahead to when we add the full complement of Texas shields, we’ll probably want to display most of the networks’ shields as something like [FM 1234] and [PA 1502], which would require prepending something to the bare ref that ordinarily shouldn’t be there in the data.

This could also be accomplished by making the prefix part of the shield artwork.

The letters would have to be counterbalanced with whitespace on the other side of the image, which would shift the shield away from the roadway in many cases.

The other thought I had for cases like the Texas route was to make the prefix a modifier, so it would render as text above, which could be done right in the shield definitions.

The other thought I had for cases like the Texas route was to make the prefix a modifier, so it would render as text above, which could be done right in the shield definitions.

#177 does this for Ohio township routes, and it seems like Texas routes would fall into the same boat.

I think there should be a transformation step, but only one that adds text, not one that removes it. This is a common need for route networks that, for whatever reason, only use one text size on their shields. For example, many Asian route networks are signposted with distinctive shields that put a letter immediately before the route number in the same typeface. For example, the Asian Highway network (#122) is signposted with “AH ###” in most countries.
It would be incorrect to put AH directly in the ref of each route relation, because that would prevent other data consumers from being able to synthesize a name like “Asian Highway 1”. Unlike the British “M1 motorway”, it would be incorrect to redundantly say “Asian Highway AH1”. In my opinion, it isn’t a big deal for Americana to concatenate a prefix onto a ref, but it would be quite unfortunate if other data consumers have to parse ref on relations in the same manner that legacy data consumers had to parse ref on ways.
To keep the preprocessing from being misused for more complex transformations, a shield definition could specify a ref format, similar to the road number formatter property on Wikidata.

A possibility would be to add a function that would strip of letter characters from refs in certain countries.

Yes. If you know that this is a specific road (like an Autobahn starting with "A ") then you can use a slice expression in mapbox. However, it's not supported in maplibre-native and mapbox-native yet, so this would only work on the web.
To figure out if this even an Autobahn in the first place, we'd first have to solve https://github.com/openmaptiles/openmaptiles/discussions/1369 (or fill out all the tags in OSM).

@JannikGM, see relevant discussion here https://github.com/ZeLonewolf/openstreetmap-americana/discussions/149

Here's another national freeway shield that might require preprocessing: Iranian shields contain the reference number on top right in Eastern Arabic Numerals and bottom right in Western Arabic Numerals (Example shield for Freeway 2: https://commons.wikimedia.org/wiki/File:Azadrah2-IR.png ).
OSM relations contain Western Arabic Numerals in the ref tag and sometimes the Eastern Arabic as ref:fa. (Example relation: https://www.openstreetmap.org/way/320844736 - Example way with ref:fa: https://www.openstreetmap.org/way/320844736 )

Displaying the Persian numerals is probably out of scope for the Americana project.  It looks like a the western Arabic numerals in a appropriately colored rectangle would work just fine for these routes if we were to add support for them.  For a renderer that did want to display the Persian numerals, it looks like reading for the ref:fa tag would be the way to do that.

Internationalization of non-latin script numbers is certainly an interesting idea.  If anything, it would make more sense to put the whole map in a latin script or a different script, and have that translation be done in the javascript side.  I agree with @zekefarwell that we probably don't want to show both simultaneously.  Feel free to open a new issue for script toggling, but it's something that requires code changes and a fair amount of thought.

It is possible, with a glorious hack, to parse a non-European number as long as the input and output languages are known.
/ref openstreetmap/iD#8769

The Netherlands also needs ref pre-processing for correct rendering. When written in text, no space is written between the letter and number (e.g. one would write "The A44 was congested.", and hence also the tagging as ref=A44). However, when displayed on signs, there is subtle spacing between the letter (A) and number (44) to enhance readability:

The Netherlands also needs ref pre-processing for correct rendering. When written in text, no space is written between the letter and number (e.g. one would write "The A44 was congested.", and hence also the tagging as ref=A44). However, when displayed on signs, there is subtle spacing between the letter (A) and number (44) to enhance readability:

That's a very subtle difference.  In general, the highway shields we've drawn on the map at icon size are representative but not perfect replicas of the shields shown in reality.  Of course, since most European highways shields are boring shapes like rectangles or hexagons, they usually end up being very close to reality!  I'm not sure that this tiny gap is a big enough deal that we need to build in the custom code that would insert a few pixels of space there.  I suspect that most Dutch users would recognize the white-on-red shields with or without the additional kerning space.

It is of course still recognisable without the space, but the space does improve readability of the map, just like it improves readability of road signs.

Re: Persian numerals, it is notable that Iran is surrounded by countries that don't use them. Not displaying the numerals would impede recognizability of the shield by removing part of what makes them distinct. I don't know if anyone is looking at Americana while crossing the Pakistan - Iran border yet, but since Pakistan uses "European" Arabic numerals on signs you would see a difference on the ground.
If you didn't understand either numeric system or language involved, you would still be able to recognize the symbols/glyphs if they matched. I would add for English speakers in particular though, Persian/Arabic numerals don't actually differ that much from 1234... etc. if you look at it for an extra moment you can probably tell exactly what number it is without issues.

This style currently shows labels in English for usability. We aren’t making users figure out Cyrillic text despite significant orthographic similarity to Latin. It is possible to figure out which European numeral corresponds to which Arabic numeral, but not everyone will intuit that it is a comparable numeral system in the first place.
Ideally it would be the responsibility of OpenMapTiles to offer the ref in two writing systems, just as with name:latín. (This would be sensible especially for the UAE, which includes both Latin and Arabic ref prefixes on its shields.) By ensuring we have the data in both writing systems, we’ll have the flexibility to switch between them based on a user language preference.

As of #193, we’re also showing some Chinese characters in shields that would ideally be replaced by letter suffixes such as A/B/C or N/S/E/W.

Hmm I guess I'm sort of confused about what people would find useful here. I think of route numbers as symbols and to that end I would think

Support for adding pseudo refs from way names (Kentucky parkways) was added in #119 and support for stacked refs (Italy, et al.) is documented in #366.  Supporting network identifiers that are not posted on shield definitions is not planned, and should be regarded as a tagging error.


[TensorAlgebra] [BUG] TensorAlgebra.blockedperm does not handle empty tuple correctly

using NDTensors.TensorAlgebra: TensorAlgebra
p1 = TensorAlgebra.blockedperm((),(2,1))
p2 = TensorAlgebra.blockedperm((),())
println(typeof(p1))
println(typeof(p2))

NDTensors.TensorAlgebra.BlockedPermutation{1, 2, Tuple{Tuple{Int64, Int64}}}
NDTensors.TensorAlgebra.BlockedPermutation{0, false, Tuple{}}

When both should be subtypes of NDTensors.TensorAlgebra.BlockedPermutation{2}
We previously discussed about removing this type and replacing it with a Tuple{Tuple} type. We need to decide whether to fix this or refactor the type.

Thanks for the report, should be easy to fix.

Seems like fixing this breaks some of the contract code since it is implicitly depending on this logic. I think some of the logic handling corner cases of fully contracted tensors is a bit misdesigned (related to #1428) so this will need to be fixed in conjunction with rewriting that logic.


Drag and Drop event does not get triggered on Windows 11

When adding the handler on_drop to widgets on windows, the event is not triggered. This was reported on the discord server by a user stating a sample worked on Mac but not on windows.
This was also reproduced in windows 11 running the following example code.  On dragging a file to the screen and dropping it, the event to print the name of the file to the console does not get triggered. The feature was also tested on Linux on System 76, but behaved properly. See sample code below:
use vizia::prelude::*;
fn main() {
    Application::new(move |cx| {
        VStack::new(cx, |cx| {
            HStack::new(cx, |cx| {})
                .height(Pixels(50.0))
                .row_between(Pixels(15.0));
        })
        .on_drop(|cx, dropdata| match dropdata {
            DropData::File(path) => println!("{}", path.to_str().unwrap()),
            DropData::Id(id) => println!("{:?}", id),
        });
    })
    .run().expect("Executing application");
}

A potential winit bug was initially suspected. However, drag and drop events were tested in the same windows 11 machine with winit 0.30 and those worked as expected, using the following code:
use winit::application::ApplicationHandler;
use winit::event::WindowEvent;
use winit::event_loop::{ActiveEventLoop, EventLoop};
use winit::window::{Window, WindowId};

#[derive(Default)]
struct App {
    window: Option<Window>,
}

impl ApplicationHandler for App {
    fn resumed(&mut self, event_loop: &ActiveEventLoop) {
        self.window = Some(
            event_loop
                .create_window(Window::default_attributes())
                .unwrap(),
        );
    }

    fn window_event(&mut self, event_loop: &ActiveEventLoop, _id: WindowId, event: WindowEvent) {
        match event {
            WindowEvent::DroppedFile(path) => println!("We got a file: {}", path.to_str().unwrap()),
            WindowEvent::CloseRequested => event_loop.exit(),
            _ => (),
        }
    }
}
fn main() {
    let event_loop = EventLoop::new().unwrap();
    let mut app = App::default();
    event_loop.run_app(&mut app).unwrap();
}

[EDIT]
After opening this issue, I realized Vizia currently uses winit 0.29 so I came up with an example for that version of the library which behaves as expected on Windows 11.
use winit::event::{Event, WindowEvent};
use winit::event_loop::{ControlFlow, EventLoop};
use winit::window::WindowBuilder;

fn main() {
    let event_loop = EventLoop::new().unwrap();
    let _window = WindowBuilder::new().build(&event_loop).unwrap();
    event_loop.set_control_flow(ControlFlow::Poll);
    event_loop
        .run(move |event, elwt| match event {
            Event::WindowEvent {
                event: WindowEvent::DroppedFile(path),
                ..
            } => println!("We got a file: {}", path.to_str().unwrap()),
            Event::WindowEvent {
                event: WindowEvent::CloseRequested,
                ..
            } => elwt.exit(),
            _ => (),
        })
        .unwrap();
}

@geom3trik
I reproduced the issue on windows 11

Possibly fixed by #461

I can confirm, I have just run the same example with the latest Vizia and can confirm it behaved as expected! Thank you so much, Vizia is super cool!


Consider remove aggressive inlining for small method

The code can be simplified by avoiding MethodImpl with AggressiveInlining at least for simple methods since the JIT compiler is smart enough to do that automatically at least for .NET/.NET Core (has no idea about .NET Framework and cannot check it). There's a rule for small methods which IL size is lower or equal to 32 bytes, and attributed methods I checked just reroute execution. There are additional rules on flow graphs, but again, these methods are very simple and should be automatically inlined.

Thanks for the suggestions! 😄 I tend to write this attribute and it has affected FlashCap as well. As you pointed out, I knew that JIT automatically optimizes for small method bodies. And likewise, I don't know exactly how it works in the .NET Framework CLR.
On the other hand, I am not comfortable with the application of a lot of attributes whose effects are not concrete. I would be willing to consider removing attributes in a positive way.

The following is really based on my personal imagination and thoughts and may have nothing to do with this issue.
The reason why I persistently apply this attribute is because (which has nothing to do with FlashCap) in one of my projects, IL2C, I had the intention of using this attribute as a apply to give the output C code inline as well (not yet realized, but not difficult to do so).
This means, of course, that it is hard to guess how this attribute will be evaluated by the .NET runtime. .NET runtime nowadays may refer to CoreCLR, but not so long ago (really not so long ago ! :) , mono was still in use and there were various attempts to re-implement CLR. Since I am one of those people, I would unintentionally implement the CoreCLR in such a way that it is neutral and not adapted to the convenience of CoreCLR.


add sample function declaraction

Codecov Report

Merging #2253 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2253      +/-   ##
============================================
+ Coverage     86.88%   86.88%   +<.01%
  Complexity     5125     5125
============================================
  Files           452      452
  Lines         20304    20308       +4
  Branches       2173     2174       +1
============================================
+ Hits          17641    17645       +4
  Misses         1893     1893
  Partials        770      770

Impacted Files
Coverage Δ
Complexity Δ

...gle/api/codegen/transformer/OutputTransformer.java
82.38% <ø> (ø)
20 <0> (ø)
:arrow_down:

...google/api/codegen/viewmodel/MethodSampleView.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...com/google/api/codegen/viewmodel/InitCodeView.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...e/api/codegen/transformer/InitCodeTransformer.java
95.03% <100%> (+0.05%)
82 <2> (ø)
:arrow_down:

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 a0ba01e...c0342c7. Read the comment docs.

lgtm


Add AIX to JDK14/15 pipelines

Signed-off-by: Stewart Addison<EMAIL_ADDRESS>

Also theres no configuration for aix in https://github.com/AdoptOpenJDK/openjdk-build/blob/master/pipelines/jobs/configurations/jdk15.groovy so it wouldn't run

Also there's no configuration for aix in https://github.com/AdoptOpenJDK/openjdk-build/blob/master/pipelines/jobs/configurations/jdk15.groovy so it wouldn't run

@sxa555 Do you want to add that this PR?

Thanks @adam-thorpe ... @karianna - done


fix: refine styles with dark navbar

fixes #128

Coverage remained the same at 76.61% when pulling e3c9eef41ffd9d51bb57b05fd199f7dc32541e79 on steve/fix-search-bar-style-with-dark-navbar into 5601ea84976aafd132491ef01c7355ac586d9082 on master.


IdentityServer + MVC View hosting Angular app + No Cookie desired

Brock,
Is there a way to use IdSvr3 via OWIN middleware to authenticate an ASP.NET MVC-based app (actually Angular app inside of MVC view wrappers) simply with tokens and no cookie? I have a business requirement to have multiple tab logins which tokens will solve but every sample or post about ASP.NET MVC + IdSvr3 has cookie auth included.  I need token only.  Or must I abandon the MVC view login/wrapper and go Angular alone?  After looking at the MVC samples they all have cookie auth as part of the mix is the reason for my question.
Thanks in advance for your advice.
Doug

http://stackoverflow.com/questions/40293048/asp-net-mvc-angular-app-with-only-token-auth-and-no-cookie - got answer here from Dominick. thanks


Add support for 307 redirects

Currently it will use GET requests to check for redirects, because Apache HTTP client does not support early responses, and because of difficulties with reproducing non-repeatable entities.
Off by default, can be turned on by setting checkForRedirects to true.

@Meegooo, could you, please, clarify use case for it?
ClickHouse cluster behind balancer?

@alex-krash
For instance. Combined with #368 you can setup a load balancer that will redirect requests to different servers.


Update cpp API to provide consistent definition of hub position

Complete this sentence
THIS PULL REQUEST  IS READY TO MERGE
The C++ API currently defines a hub position that never gets updated or checked against the force location.  This can lead to serious bugs if the users specify a hub position that is quite different than the calculated hub position from elastodyn (i.e. a different height). These changes synchronize the hub position across all processors after OpenFAST is initialized so the hub position is the C++ API is the initial position of velocity/force point for the hub.

The C++ API right now provides two functions
getApproxHubPos - Can be used to determine which processor to place the openfast instance for this turbine. This is available to use before openfast is instantiated for this turbine.
https://github.com/OpenFAST/openfast/blob/master/glue-codes/openfast-cpp/src/OpenFAST.cpp#L443
getHubPos - Can be used to determine the exact location of the hub at any given simulation time. This is available to use only after openfast is instantiated for this turbine.
https://github.com/OpenFAST/openfast/blob/master/glue-codes/openfast-cpp/src/OpenFAST.cpp#L452
May be we could add documentation to clarify the difference between the two? I don't see a reason to use globTurbineData[i].TurbineHubPos directly.

May be we should get rid of this approximate hub position all together. The original reason for this was to place the OpenFAST instance of the turbine on a processor containing the hub. But may be this will become irrelevant soon.

@gantech I'd be fine getting rid of it.  I'm planning to deprecate it as an input value in nalu-wind since we won't need it any more.

I will update my code to remove all references to getApproxHubPos

@gantech could you take a look and approve or comment on this?

@psakievich Are you ok with removing this pull request if you're removing all references to getApproxHubPos  in your refactor?

@gantech I will close the PR if you want to deprecate this feature/leave it the way it is. I'm not using it because of its not parallel consistent. I would probably find it useful if it were parallel consistent, but I can work around it.


Revive the "set marker icon" sample for Google Maps

Following a breaking change to the ImageStream API in the framework(https://github.com/flutter/flutter/pull/32936) the Google Maps plugin sample app needs to be updated to the new API.
As we make sure to keep plugins working agains stable we cannot apply the update before the framework change makes it to stable. But if we do not apply the change, the plugins' CI is red as it's running with master.
For now, I'm updating the sample app to the new framework API, but commenting out the "set  marker icon" sample until the framework change makes it to master.
Once the framework change makes it to stable we should uncomment that code.

@iskakaushik

@amirh I think https://github.com/flutter/flutter/pull/32936 is merged to master
I tested the uncommented code and it is working for me

for me as well

I tested it on the latest stable channel and it seems to be working fine without any issues
Heres the sample output where the marker being selected is set with green squared image asset.
https://user-images.githubusercontent.com/31410839/122230447-4bcdc880-ced7-11eb-8c6c-7184944d1b0b.mov
Heres my flutter doctor -v
mahesh@Maheshs-Air-M1 example % flutter doctor -v
[✓] Flutter (Channel stable, 2.2.2, on macOS 11.4 20F71 darwin-arm, locale en-IN)
    • Flutter version 2.2.2 at /Users/mahesh/Documents/flutter
    • Framework revision d79295af24 (5 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.57.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 10 (API 29)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 11.4 20F71 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 91.0.4472.101

• No issues found!

@amirh  @stuartmorgan Just wondering if this issue can be closed based on above verification, or wait till the PR is landed ? https://github.com/flutter/plugins/pull/2443

@amirh @stuartmorgan Just wondering if this issue can be closed based on above verification, or wait till the PR is landed ? flutter/plugins#2443

I don't understand the question. Nobody has verified that the sample code is no longer commented out—they can't possibly have, because it isn't—which is what this bug is tracking.


Cant Export Typescript to Jaeger over http

What is the name + path of the page that needs changed?
/docs/instrumentation/js/exporters/
Hey, I have trouble getting the exporting of the span to work. I followed the Getting Started (for NodeJS) and the Exporter Section for Javascript/Typescript.
After enabling the Debug Logging, i see the following Error:
@opentelemetry/instrumentation-http outgoingRequest on request error() Error: connect ECONNREFUSED ::1:4318
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1283:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:132:17) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 4318
}
{"stack":"Error: connect ECONNREFUSED ::1:4318\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1283:16)\n    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:132:17)","message":"connect ECONNREFUSED ::1:4318","errno":"-61","code":"ECONNREFUSED","syscall":"connect","address":"::1","port":"4318","name":"Error"}
@opentelemetry/instrumentation-http outgoingRequest on request close()

If I change the Exporter to the GRPC one, everything work as aspected.
/*app.ts*/
import express, { Express } from "express";

const PORT: number = parseInt(process.env.PORT || "8080");
const app: Express = express();

app.get("/", (req, res) => {
  res.send("Hello World");
});

app.listen(PORT, () => {
  console.log(`Listening for requests on http://localhost:${PORT}`);
});

/*tracing.ts*/
// Require dependencies
import * as opentelemetry from "@opentelemetry/sdk-node";
import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node";
import { diag, DiagConsoleLogger, DiagLogLevel } from '@opentelemetry/api';
import {OTLPTraceExporter} from "@opentelemetry/exporter-trace-otlp-http";

// For troubleshooting, set the log level to DiagLogLevel.DEBUG
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.DEBUG);

const sdk = new opentelemetry.NodeSDK({
  traceExporter: new OTLPTraceExporter(),
  instrumentations: [getNodeAutoInstrumentations()]
});

sdk.start()

The docker command for the Jaeger
docker run -d --name jaeger \
  -e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
  -e COLLECTOR_OTLP_ENABLED=true \
  -p 6831:6831/udp \
  -p 6832:6832/udp \
  -p 5778:5778 \
  -p 16686:16686 \
  -p 4317:4317 \
  -p 4318:4318 \
  -p 14250:14250 \
  -p 14268:14268 \
  -p 14269:14269 \
  -p 9411:9411 \
  jaegertracing/all-in-one:latest

package.json dependencies
"dependencies": {
    "@opentelemetry/api": "^1.3.0",
    "@opentelemetry/auto-instrumentations-node": "^0.35.0",
    "@opentelemetry/exporter-trace-otlp-grpc": "^0.34.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.34.0",
    "@opentelemetry/sdk-node": "^0.34.0",
    "@types/express": "^4.17.14",
    "@types/node": "^18.11.12",
    "express": "^4.18.2",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.4"
  }

I dont know how to debug this further, maybe you could help me?

can you validate that when your jaeger container is running that you can connect to port 4318, e.g.
curl -X POST -H "Content-Type: application/json" -d '{}' localhost:4318/v1/traces

should give you {"partialSuccess":{}}
Please also have a look here
  address: '::1',

It looks like the OTLP exporter tries to connect via IPv6, so validate that your backend is reachable via IPv6 loopback:
curl -X POST -H "Content-Type: application/json" -d '{}' '[::1]:4318/v1/traces'

I get a connection refused for that.

Thanks a lot! I changed the url in tracing.ts to http://<IP_ADDRESS>:4318/v1/traces to use ipv4, and now it works! Maybe we should change this in the Documentation?

Thanks a lot! I changed the url in tracing.ts to http://<IP_ADDRESS>:4318/v1/traces to use ipv4, and now it works! Maybe we should change this in the Documentation?

Probably a good fix, yes. Although I am wondering what the default should be.

This stalled, I am closing it now, if there is still a need to fix this or something we can do about it, please reopen it for further discussion


Support 'shorturl' and 'canonical' tags for yankshort

E.g. Amazon is providing a clean URL in rel="canonical" links.

I agree with @kmaglione


[Windows] Remove old android SDK versions

Description
Remove old android SDK versions from Windows 2019 and Windows 2022 images.
Related issue:

#8952

Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019, windows2022

/azp run windows2019, windows2022