Use updated ship card design

Use the new ship card designs that showcases the Startram status
Production

Furthermore, each of these showcase a state (left to right):

StarTram Off, Ship Offline
StarTram On, Ship Online
StarTram Off, Ship Online

Design

https://www.figma.com/file/Gwf2q6521ybcvHrff1lA0I/Groundseg?type=design&node-id=606%3A3007&mode=dev

will get this sorted today

for storage, the rectangles doesn't convey enough information. The pier's size is limited by the disk size (which is shown in System).
It would make more sense to have it display an absolute value.

here's how it looks now. I made minor changes to the lower third

Would it make more sense to have the RAM be graphically displayed then?

Also, relatedly, I increase the size of the cards, it feels a bit too cramped right now. I would also check to make sure the icons are the same size as well (16 x 16)
https://www.figma.com/file/Gwf2q6521ybcvHrff1lA0I/Groundseg?type=design&node-id=595%3A1630&mode=dev

Yeah, it would make more sense to graphically display RAM over storage. What do you think about my change?
Icons are lifted directly off figma. They're the correct size.
Used the new cards. It's live now on the remote server.


replace all occurrences of the same CID reference

This fixes the incorrect behaviour of only replacing the first instance of a CID reference by using a regular expression with a global flag.
Example: referencing the same inline-attachment in multiple places within the same email (often used for responsive HTML emails)

Ehh... Isn't this the same issue as with #23?
@ian-kent can you please take a look at this?

@jerbob92 you're correct, I didn't notice that.
Either PR will work, would love to get one of them merged!

@jerbob92 I'll have a look asap, should have some time this weekend!

thanks @kieran and @jerbob92
I'll go with this one, I kinda like regexes :smile:

Thanks!

@ian-kent I don't think your 1.0.0 release was built using HEAD from this repo - the old UI code is still shipping with that release (checked binary and source).

@ian-kent any chance of a re-release of this? doesn't seem to be in the latest package


updating readme, ci/cd

pre-commit.ci is enabled now, also added this package as a trusted publisher on pypi via my pypi account (chavlin), so shouldn't need to add a secret to the repo.

also removed nox config


MPNetwork doesn't obey showNetworkActivityIndicator

Integration Method: Manual
Xcode Version: 7.3.1
Library Version: 3.0.0
Platform: iOS
Device: All
Language: Swift
Description:
the showNetworkActivityIndicator property on Mixpanel.h doesn't actually do anything
Expected Behavior:
The showNetworkActivityIndicator property should correctly enable/disable Mixpanel's control over the application network activity indicator

+1

Confirmed, this is an issue. We'll get a fix out with next release!

Has been resolved in v3.0.1!


Run espr in browser, STEP Playground

Rendered README

Split into another GitLab project.

https://termoshtt.gitlab.io/step-playground/
https://gitlab.com/termoshtt/step-playground


Cusrsor to lazy

Just checked the workflows it's all passed. I have changed cursor method to lazy in ElasticEngine.php

According to the laravel documentation Eager Load relationships doesn't work with cursors. Suggested using lazy.

Cool. Do you have a link to the Laravel docs where you read that?

If you merge back or rebase from master the actions should work again.

Here is the documentation. Actually I don't understand why workflow is failing. I fetched the latest updates.
https://laravel.com/docs/8.x/eloquent#cursors

The workflows are now 🟢


make actions types pub(crate)

Probably don't want to just have all actions pub. Opening a PR to iterate/discuss what we want to make pub(crate). Looks like consumers of the actions themselves are (non-exhaustive):

Snapshot directly embeds Protocol and Metadata and has getters for each
inspect_table has the ability to print each action via visiting the action
probably many more

Need to see how much of this interface delta-rs is consuming - will report back but for now let's hold off


Added flags to disable recognizing choices by number or ordinal.

Fixes #1558
Description
Parity with C#.

Pull Request Test Coverage Report for Build 109400

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 80.768%

Totals

Change from base Build 109384:
0.001%

Covered Lines:
7936

Relevant Lines:
9432

💛  - Coveralls


Please add a screen shot

Sorry, I should have included this in https://github.com/hgaiser/gruvbox-zsh/issues/1 but can you please add a screen shot to the readme?

Yeah I wanted to do that yesterday but I didn't have the time for it. I'll
do that today probably.
On Tue, 4 Jan 2022, 15:38 Joe Block, @.***> wrote:

Sorry, I should have included this in #1
https://github.com/hgaiser/gruvbox-zsh/issues/1 but can you please add
a screen shot to the readme?
—
Reply to this email directly, view it on GitHub
https://github.com/hgaiser/gruvbox-zsh/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO22TKZXCKLBGJNY6GEWTUUMA7FANCNFSM5LHTCVBA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks! I'll add it to the list after you close this.

Fixed with https://github.com/hgaiser/gruvbox-zsh/commit/d3c610f6db289aa1257ab8997831224837aeead6


failed to compile the kcl package: edge already exists

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
kcl mod init a
cd a
kcl mod add k8s
cd ../
kcl mod init b
cd b
kcl mod add ../a
cd ../
kcl mod init c
cd c
kcl mod add ../b
kcl run

2. What did you expect to see? (Required)
No errors
3. What did you see instead (Required)
An error:
failed to compile the kcl package
edge already exists

Full log:
kcl mod init a
cd a
kcl mod add k8s
cd ../
kcl mod init b
cd b
kcl mod add ../a
cd ../
kcl mod init c
cd c
kcl mod add ../b
kcl run
creating new :/home/coder/projects/tmp/a/kcl.mod
creating new :/home/coder/projects/tmp/a/kcl.mod.lock
creating new :/home/coder/projects/tmp/a/main.k
package 'a' init finished
adding dependency 'k8s'
the lastest version '1.29' will be added
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
add dependency 'k8s' successfully
creating new :/home/coder/projects/tmp/b/kcl.mod
creating new :/home/coder/projects/tmp/b/kcl.mod.lock
creating new :/home/coder/projects/tmp/b/main.k
package 'b' init finished
adding dependency 'a'
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
add dependency 'a:0.0.1' successfully
creating new :/home/coder/projects/tmp/c/kcl.mod
creating new :/home/coder/projects/tmp/c/kcl.mod.lock
creating new :/home/coder/projects/tmp/c/main.k
package 'c' init finished
adding dependency 'b'
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
add dependency 'b:0.0.1' successfully
downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'
failed to compile the kcl package
edge already exists

4. What is your KCL components version? (Required)
kcl --version
kcl version 0.8.9

5. Example use case
In my use case I was building a "shared" module (a) and that shared module would then be used in my application (b) this application would be then used in stage (c) test, acceptance and prod

How I interpret the error:
The k8s mod is a requirement of a and thus also for b. But when c tries to install it, kcl is unable to determine that it can re-use the module that a is referring to.

You're answering fast! Kudo's
I was able to test it with 0.9.0-beta.1 and indeed the problem is gone.


PooledSession, and just enough of SessionPool to support it

The project file changes are just to allow us to use FakeClock/FakeScheduler.

(Will look into the build failures in an hour or so.)

Yay, green at least - PTAL :)

Added the TODO to ExecuteHelper and repushed. Will merge on green.


Question about frame_difference metric calculation

Hi, thanks for the great work!
I have a question about the following line:
https://github.com/showlab/videollm-online/blob/755e2652a651ae2e43bb2f9d28281a2540a3bbac/models/modeling_live.py#L123
This line caps the frame_difference to a certain value. (The comment says 'avoiding the bias' but I don't quite understand it. I would really appreciate more detailed explanation.)
Specifically, when the model fails to reply(=output eos) before current turn ends:

next_turn_num_frames: it test whether the model can reply until the next turn, not the next-next turn or more future turns. The model may be able to reply in more future turns, so I don't get why you set the maximum to the next turn.

number of frames in current turn - 1: I also don't understand this. In extreme case, if the current turn has 1 frame, it just sets frame_diff to 0.

For example, let's assume the following frames and responses:
[a] [a] [b] "b appeared" [c] "c appeared" [c] [c] [d] "d appeared"
where [k] is the frame with content k, and the response is in the "".
Turn 1: [a] [a] [b] "b appeared" (num frames = 3)
Turn 2: [c] "c appeared" (num frames = 1)
Turn 3: [c] [c] [d] "d appeared" (num frames = 3)

Let's say we're currently in Turn 2. Then, even if the model fails to reply in the first (and the only) frame [c], the frame_diff becomes 0 becuase number of frames in current turn - 1 = 0. I think we have to consider whether model can reply in the frames in Turn 3.

Hi, 'avoiding the bias' is to avoid the model uses a simple behavior, e.g. always predict after the ground-truth timestamp. The motivation is to ensure the chance equally: (1) predicting in advance, (2) predicting afterwards.
The case you provided is correct. The problem does exist. Many thanks for the careful checking! Maybe we can make the evaluation temporal boundary still be the last response between the next response, no min() operation here.
BTW, do you have any other advice to improve that? I can update the results on a new arxiv version.

Thank you for the reply!
I think 'avoiding the bias' may make sense in the training time, where we can train the model produce early/late response equally. But the metrics are calculated in evaluation time, where the model is already trained to output response in a specific way, and we are forecully capping the maximum frame_diff. This seemed a bit unnatural. As you said, using to_append_num_frames = next_turn_num_frames without the min() operation seems better. (although this still caps the limit the frame_diff to next_turn_num_frames... it may be helpful to report something like "frame_diff compared to turn_length")
Another thought: I can't think of a scenario where early response is useful. For example, as shown in Figure 4 of the paper, the user would query something like "Remind me when yellow card appears", then, early response is totally useless since yellow card didn't appear yet. Only the reponse after yellow card  appearance is useful. So I thought maybe only the just-in-time or late responses should be considered for frame_diff calculation. But I'm not sure about this. If there's a scenario where early response can also be useful, please remind me of that.

Hi, many thanks for the discussion! I think limiting by next_turn_num_frames is reasonable, since the next turn may have new context that needs the model to output. Therefore, it is not suitable for us to calculate the frame_diff using the frames from the next turn.
However, I agree with you that we can evaluate the model performance without using min(). I will update the results here first and add a table in the supplement to suggest that. Currently, I think the metrics are still fair for comparing ablations since all variants use the same methodology.
An early response can also be useful. For example, when a dangerous situation is about to occur, it would be better for the model to report in advance rather than with a delay.

Thank you so much for the discussion! I really appreciate your help.
Still, for the early response scenario, i think the model should report at the moment "when a dangerous situation is about to occur (when some dangerous signals are captured)", not earlier than that. Earlier response means that the model is reporting even when there is no signal of danger. So I thought only the "just-in-time" and "late" responses are meaningful, not the "early" response.
I will think more about the scenarios. Thank you again for the discussion!


Set builder to an existing builder

The previous builder was removed from the system so change it to
one that exists.

recheck


Addon installation documentation for GKE Istio with out helm

Describe the feature request

There is no straight forward documentation for istio installed by GKE, there is no helm setup or any manually configured process in GKE.
By default it uses stackdriver for metrics and traces.
No documentation for setting up Kiali or Grafana with above setup.

Affected product area (please put an X in all that apply)
[x] Configuration Infrastructure
[x] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[x] Developer Infrastructure

I believe there are docs at https://cloud.google.com/istio/docs/istio-on-gke/overview. Is there something more you are looking for?

specifically there is no configuration for kiali and grafana. there is no option in GKE console or gcloud command or any other option.
if we do any changes with helm repo, somehow changes made by helm reverting back what configured by GKE.
I would like to have some options where we can use kiali, servicegraph in GKE enabled Istio without messing with stackdriver or any default configurations.

We don't control the Istio on GKE docs. If https://cloud.google.com/istio/docs/istio-on-gke/overview isn't sufficient then I suggest filing a bug against the GKE docs.

if we do any changes with helm repo, somehow changes made by helm reverting back what configured by GKE.

This is expected, Istio on GKE will revert any changes you make


Allow kubectl proxy to proxy everything

The current kubectl can't proxy anything that's not under the /api path. This removes that restriction while still allowing old tooling work the same.
This is required for kubectl to be a drop-in replacement for the RO port; prometheus example is updated to show this.

Fixes #5921

lgtm. Aside from /metrics are there other pages that were previously inaccessible?

I didn't try it but I'm pretty sure the UI would also have been effected, also any pprof stuff under /debug...

cc/ @bprashanth

@stephenR this change may affect your findings about proxy security.
On Thu, Jun 4, 2015 at 4:22 PM, Quinton Hoole<EMAIL_ADDRESS>wrote:

Merged #9233 https://github.com/GoogleCloudPlatform/kubernetes/pull/9233
.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/9233#event-323055850
.


FAQ does not mention Luca QR codes

According to several sources CWA is supposed to be able to read Luca QR codes by now.
(Obviously, that's still not the case, yet the feature is of great interest not only to me)
None of these sources seems to be the CWA web site -- suspicioulsly, the FAQ does not even mention Luca, let alone contains information about the status.
Please, add (und update) information about that to the FAQ, even if it is just "WIP" or "not going to happen".

I'd like to create a FAQ entry for this, since I think it could be hard to get a quick approval if mentioning luca, I'd just write that the CWA event-registration feature is currently only compatible with QR-Codes that were created within the CWA or via https://www.coronawarn.app/de/eventregistration/.
I'll open a PR for this in the next days, if there's nothing that speaks against it from your side (@dsarkar & @MikeMcC399)

@Ein-Tim

I'd just write that the CWA event-registration feature is currently only compatible with QR-Codes that were created within the CWA or via https://www.coronawarn.app/de/eventregistration/.

I don't know if that statement is true. It would be good to get an official response to https://github.com/corona-warn-app/cwa-website/issues/1189. Is the list of allowlisted Event Registration apps empty or not? If it is not empty, what apps are allowlisted?

@MikeMcC399
Yes, I agree. Looking at the code (https://github.com/corona-warn-app/cwa-server/blob/deeaeb4bb3c95b1388349fa2e2499f6989811103/services/distribution/src/main/resources/main-config/v2/presence-tracing-parameters.yaml#L112), to me, it seems like only CWA-own QR-Codes are allowlisted.

@Ein-Tim
I suggest adding to the list of questions in:
https://www.coronawarn.app/en/faq/#check_in_qr_code
Can Event QR codes from third-party apps be used?

Not at this time.

or, if applicable

Yes. The following apps provide compatible QR codes: xx, yy, zz.

There is another new issue report in https://github.com/corona-warn-app/cwa-documentation/issues/658, so it would definitely be good to have an approved and published FAQ answer regarding the status of support of Luca QR event registration QR codes by CWA.

I opened #1482 to get this information in the FAQ, recently there are many users on Twitter asking the same question, so it definitely makes sense to add this in the near future. Fell free to comment in #1482.

@2019-05-10 The change from #1482 is now live, here's a screenshot:

Do you consider this as implemented and would you close this issue?

I strongly recommend to put the term "Luca" in somewhere.
That's by far the most used/best known of those apps, and I assume most people rather search for that term than parsing the ToC to locate that information.
If I didn't know what to look for I may have overlooked that section ...
How to ensure that section is updated if anything changes?

@2019-05-10

I strongly recommend to put the term "Luca" in somewhere.
That's by far the most used/best known of those apps, and I assume most people rather search for that term than parsing the ToC to locate that information.
If I didn't know what to look for I may have overlooked that section ...

I understand your concern and I'll open a PR for this, but it could be that this takes some time because I'm quite sure that for this there needs to be an internal review. Thanks for your feedback.

How to ensure that section is updated if anything changes?

As you can see in the PR section of this repository, the website, especially the FAQ section, is updated nearly daily, with new information, fixes ans more.
As soon as there are any new on the topic (communicated through https://github.com/corona-warn-app/cwa-server/pull/1362, https://github.com/corona-warn-app/cwa-documentation/issues/590 or https://github.com/corona-warn-app/cwa-wishlist/issues/530), we will update this entry.

PR #1500 opened, which proposes to add a mention of the "luca" app to the FAQ.

As promised @2019-05-10, here's the latests information reg. "luca" and CWA:
https://github.com/corona-warn-app/cwa-server/pull/1362#issuecomment-882052293 says:

The feature has a good progress. We hope we can finish the feature soon.

@2019-05-10
Next update: Seems like the CWA will be able to scan luca QR codes from version 2.13 on.
See https://github.com/corona-warn-app/cwa-server/pull/1594

FYI PR https://github.com/corona-warn-app/cwa-website/pull/2041

https://www.coronawarn.app/de/faq/#check_in_luca

Let‘s close this issue @2019-05-10, or?


Add Keycloak support

I was wondering whether there are any plans on adding Keycloak support? My colleagues and I are planning an experiment in which participants need to use different tools (including Open mHealth, Ohmage and some custom feedback/dashboard webapps). It would be nice if participants could use the same credentials on all tools. Keycloak might be the way to go for such functionality. I read that Keycloak has a Spring Security Adapter which makes me believe that it is quite feasible to integrate it with Open mHealth.

We looked into Keycloak and Auth0 a couple of months ago, thinking we could properly decouple the authorization server from the resource server and let people use whatever auth server they want (or already use). We found that to support different auth servers, we'd need to write custom code in the resource server and pull in different libraries. The OAuth RFC doesn't specify an API for token validation, and as a result, Spring Security OAuth, Auth0, Keycloak, and likely every other service expose different endpoints.
So we shelved it until we get any demand for it. Yours is the first. We're currently working on supporting expressive queries in the data point API, and we'll add this to the backlog.


Appears stuck if no applications installed in a distrobox

Minor UI bug:
Although the "View Applications" button works great in a box with applications installed, I have boxes where it hangs on the loading screen the first time, and has to be clicked and closed multiple times before displaying that no applications are installed.
I just read through the code, found the function which that button should be attached to, and tried manually running the shell command which searches for installed packages
grep -L \"NoDisplay=true\" /usr/share/applications/*.desktop

Surprisingly, this showed precisely one application installed in one of the boxes where the bug occurred. I dug through the next few lines of code in the distrobox handler:
for line in desktop_files.split('\n') {
        if line.is_empty() || line.contains("No such file") {
            continue;
        }

Note: I do not know Rust. I suspect that there is an edge case in this check where a list with a single item instead of an empty string and no newline character is not handled. However, I don't recognize the app which the grep above listed, so it may be rightly filtered out, and the loading screen hang could be caused by something else.

Thank you for the bug report.
What is your host distro, and do you know what distro you were using for the Box?

Bazzite-gnome-nvidia:testing (read: Fedora Silverblue 39). I had two Fedora 39 boxes where one displayed 3 apps correctly and the other had no added apps and this issue. I can do more testing probably within a few days at most; let me know what information would help!

Managed to recreate this once, and never again, but luckily I got a peek at the error message, so a fix should be available in 1.0.10, which is making its way to Flathub now.

Gotcha, interesting, sounds good! I'll keep an eye on it and try to report back :)

I'll close this one, but if you still get the issue feel free to re-open (or raise another).


fix: add dns record for ssh_proxy (both diego and eirini)

Description
Concourse pipeline doesn't create a DNS record for the ssh-proxy service so all requests to ssh.$DOMAIN find the router instead. This should fix the failed ssh tests on Eirini CATs.
Motivation and Context
We need green Eirini CATs
How Has This Been Tested?
Pipeline already deployed here: https://concourse.suse.dev/teams/main/pipelines/kubecf/jobs/cf-acceptance-tests-eirini-master/builds/51
Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My code has security implications.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I approve for merging (not clicking the button so it doesn't trigger new CI runs).


Fix github release action

Context:
PyPI github action from master branch is deprecated and hence fails to upload a new release [ref].
Description of the Change:
Uses the release/v1 version of the publish action as recommended by the documentation.
Benefits:
Hopefully automatic releases to pypi.
Possible Drawbacks:
Well, if it doesn't work then releases to pypi have to (still) be done manually.
Related GitHub Issues:
None

this action should use mrmustard's setup.py file to install the requirements: same as an user installing using pip from pypi

@sduquemesa can you close this or advise on what to do?

sorry - wrong button!

This is quite old and stale by now. If I'm not wrong the tooling team should have fixed that already; if not they can also do it in a way that is more consistent to the current MrMustard packaging and release workflow using poetry.

This is quite old and stale by now. If I'm not wrong the tooling team should have fixed that already; if not they can also do it in a way that is more consistent to the current MrMustard packaging and release workflow using poetry.


Add URI Handling and invite code

Still needs the following things before merge:

[ ] Make autofocus on invite
[ ] Generating invites when joined via invite

https://github.com/R2Northstar/NorthstarMasterServer/pull/45

I would like @pg9182 or someone with Windows API experience to review this before merging

Merge conflicts :trollface:


Update edit.yml

I'm updating this to be consistent with the new guidance for images - https://www.gov.uk/guidance/content-design/images

I agree, I'd suggest leaving in the original text and adding to it if
there's space.
Polly Green
Senior content designer
GOV.UK
Government Digital Service
On Wed, 9 Sep 2020 at 11:12, Kevin Dew<EMAIL_ADDRESS>wrote:

@kevindew commented on this pull request.
In config/locales/en/images/edit.yml
https://github.com/alphagov/content-publisher/pull/2155#discussion_r485498572
:

@@ -10,7 +10,7 @@ en:
credit: Image credit
lead_image: Select as lead image
guidance:

   alt_text_govspeak: A simple and specific description of what the image shows. This helps screen-readers and search engines.

   alt_text_govspeak: If your image conveys information,  describe the information in the main body text and leave the alt text field blank. Do not describe decorative images.

It might be useful to explain when someone should use alt text? With this
guidance update it doesn't sound like I should ever use the field.
How does the guidance interact with caption?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/alphagov/content-publisher/pull/2155#pullrequestreview-484861324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGGBCLRQP7PGCUBLBM3YP5TSE5IJJANCNFSM4RBYRNHA
.


Improve the robustness of the Stub Application in the core component tests

Currently the logic to "Fail" a message in the core-component-tests is very crude (if the message is not a ByteMessage the message is dead-lettered), this makes testing of Resend behavior very difficult.
Introduce a simple way of priming the Message Listener in the Stub Application to DL messages based on attributes of a JMS Message

PR #49 raised and merged to master


Not able to click on Browe library section

For me, clicking in the library panel just dismisses it - which means I can't even add an item to the canvas once it's in the library.
Reproduction Steps:

Go to Excalidraw library: https://libraries.excalidraw.com/?theme=light&sort=default
Pick several libraries and click add to Excalidraw for each of them. You want a lot of icons so that the library panel needs to scroll.
Go back to excalidraw and open the library panel.
Attempt to scroll in the library just causes the panel to dismiss.
Attempt to click on a library item just causes the panel to dismiss.

I'm commenting here b/c I assume this is the same issue.

yes i am having the exact same issue. +1

https://github.com/excalidraw/excalidraw/pull/5636
seems to have been caused by this PR

This should be fixed now. Thanks for reporting this.

Confirmed working for me.
Thanks!

Working for me, thanks


rootless: add kubelet flags automatically

Fix https://github.com/rancher/k3s/issues/784
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

@erikwilson @ibuildthecloud PTAL?

Thanks @AkihiroSuda, I have been wanting to test this. Can you give more info about the OS you are using to test? Does Ubuntu work well?
I am concerned that setting agentConfig.Rootless = true will be problematic

Yes, I tested this on Ubuntu 19.10

I am concerned that setting agentConfig.Rootless = true will be problematic

I introduced new flag  agentConfig.RootlessAlreadyUnshared = true  so that variables can be propagated to the agent without unsharing UserNS twice.

Testing out I am also seeing an error for job.batch/helm-install-traefik like:
Events:
  Type     Reason     Age               From               Message
  ----     ------     ----              ----               -------
  Normal   Scheduled  <unknown>         default-scheduler  Successfully assigned kube-system/helm-install-traefik-xrcz6 to k3s
  Normal   Pulling    43s               kubelet, k3s       Pulling image "rancher/klipper-helm:v0.1.5"
  Warning  Failed     40s               kubelet, k3s       Failed to pull image "rancher/klipper-helm:v0.1.5": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/rancher/klipper-helm:v0.1.5": unpack: failed to extract layer sha256:d635f458a6f8a4f3dd57a597591ab8977588a5a477e0a68027d18612a248906f: failed to convert whiteout file "etc/ca-certificates/.wh..wh..opq": operation not permitted: unknown
  Warning  Failed     40s               kubelet, k3s       Error: ErrImagePull
  Normal   Pulled     5s (x4 over 39s)  kubelet, k3s       Container image "rancher/klipper-helm:v0.1.5" already present on machine
  Warning  Failed     5s (x4 over 39s)  kubelet, k3s       Error: failed to create containerd container: error unpacking image: failed to extract layer sha256:d635f458a6f8a4f3dd57a597591ab8977588a5a477e0a68027d18612a248906f: failed to convert whiteout file "etc/ca-certificates/.wh..wh..opq": operation not permitted: unknown

Traefik error is unrelated and fixed in https://github.com/containerd/containerd/pull/3763 (ref: https://github.com/rancher/k3s/issues/924)

Looks good, thank you for the link!


Native Editor - Startup jupyter server automatically in the background

Possibly make this an option

Determine our method for when we will auto start a server. PM help here. Server run from this workspace before?
Starting the server can just use our existing code
When any settings that change our server cache key hit, chuck the server and start a new one.

I think we had talked about this before (the when to do this). I believe the agreed upon idea was:

When opening a notebook (since they obviously are opening notebooks)
When previously opened the interactive window (maybe based on since a certain time)
If jupyter is installed in the current environment.

Yup, figured that it was still worth calling out that we should verify with PM these conditions. Didn't seem like that was a fully settled discussion from my memory.

See #9203 for details
Probably after #8623 (to avoid re-work due to changes from #8623)

So the basics are validated, tried with new workspaces with just a notebook and just the interactive window to make sure that initially it didn't autostart and that it did auto start after running.
@rchiodo I did notice that for the interactive windows it's firing every time that focus is going to the window, not just when it opens, should pretty much be a no-op so I don't really see an issue there, but was that intentional?

Not sure what you mean by this?

it's firing

What's firing?

onDidOpenOrCloseInteractive is happening every time focus goes out of the interactive window. So click over from the interactive window to a .py file and createServerIfNecessary runs. Seem ok, since it just updates the memento time. But given the OpenOrClose title I'm assuming this might not have been intentional.

Ah okay. That seems harmless for now. The custom editor API should fix that.

Sounds good. Then Validated.


fix: Don't bail on parse errors in macro input for builtin expansion

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8158

bors r+

bors retry


refactor gridproxy tests

main things to consider while refactoring:

tests need to be somewhat less random, as at some times tests pass, and some other times they don't
use a mock db instead of a real db in tests. this would remove the db running on a container dependency from tests, and should make the tests more robust.
document how tests work since it's currently a bit vague.

was investigating using go-sqlmock, but concluded that this would  add to tests complexity, as it would validate executed sql statements. and since we're using an orm, it should not be our job to test the validity of generated sql statements.
so, i believe it's better to stick with the current approach for testing. maybe just refactor to make it more simple to update, and easier to figure where failures happen

[ ] use "github.com/google/go-cmp/cmp" to log differences between local and remote clients
[ ] remove validateResults and replace with reflect.DeepEquals
[ ] reorganize local client.
[ ] test each field of each filter separately.
[ ] refactor random filter generators
[ ] refactor satisfy fuctions (nodeSatisfies, farmSatisfies, ...) to return an error if a filter field is not handled
[ ] fix bugs in postgres

this issue is related to refactoring gridproxy end-to-end tests. more unit tests need to be added for individual components, but will open other issues for them separately.

Verified,
Tests were refactor and database updated.
Docs were added https://github.com/threefoldtech/tfgrid-sdk-go/blob/development/grid-proxy/docs/test.md.
Workflow is working and passing https://github.com/threefoldtech/tfgrid-sdk-go/actions/workflows/gridproxy-integrationtests.yml.


[Suggestion] Use local proxy while trying to download a PAC file

https://github.com/shadowsocksrr/electron-ssr/issues/53

Now we can download pac.ext from CDN provided by https://www.jsdelivr.com/ with absolute no problem.


BarChart with one Date item?

This is pretty much the same issue as in #106 , however instead of using ChartAxisValueString as in the NotNumericExample.swift, I'm actually using ChartAxisValueDate.
Since ChartAxisValueDate does not have an order parameter to pass in, how can I show one bar if there's only one Date item when creating a ChartAxisModel?

I'll take a look into supporting one value axis soon (maybe this or the next weekend), in the meantime just add some invisible padding values... similar to how it's done with order. E.g. -day, +day

@i-schuetz I'm not sure what you mean?
Can you provide an example please?...Thanks!

Just add two fake surrounding axis values, and set their visibility to hidden. So you have a total of 3 axis values instead of 1. The offset to the center value is actually not important, it just has to be the same so your value appears at the center of the axis.

@i-schuetz thanks for the explanation, are you referring to something like this?
let xValues = [
            createDateAxisValue("01.10.2015", readFormatter: readFormatter, displayFormatter: displayFormatter),
            createDateAxisValue("03.10.2015", readFormatter: readFormatter, displayFormatter: displayFormatter),
            createDateAxisValue("05.10.2015", readFormatter: readFormatter, displayFormatter: displayFormatter)
        ]

let xModel = ChartAxisModel(axisValues: xValues, axisTitleLabel: ChartAxisLabel(text: "Axis title", settings: labelSettings))

where 01.10.2015 and 05.10.2015 are "fake" surrounding x-axis values of the real 03.10.2015 axis value, and then just set the two's visibility to hidden?
or are you referring to something else?...sorry for the noobish clarification, first time learning this code after reading the README
thanks for the awesome library!

Yeah something like that! It's not pretty but it should work until there's a better solution. I think if you work with timestamps just working with milliseconds deltas (e.g. -/+ 1 ms) should be enough, maybe it simplifies things. Thanks!

@i-schuetz thanks, playing around with the CustomUnitsExample, I was able to show just one axis value:

Now I just need to do this hack to my code.
I hope you can support one axis graph soon. Thanks I really appreciate it!

It's not convenient but I'm not sure I would call it a hack either... technically it's correct as the bottom line an axis line and each point on an axis stands for an actual axis value - if you had an axis with only one value it would be a point, not a line. Of course a (so to say) one dimensional chart is a valid use case and shouldn't require more than one axis line, but that's not what I had in mind when I developed this. Either way will look into if I have time ;)

I understand your point of view....if it was a line chart as in the case of the above example because yes, "one value...would be a point, not a line."
But what about bar charts?...which I'm currently using.
Since it's a vertical bar, there's no prerequisite to have 2 points, but just one point since the bar extends up from that particular point on the axis.
Forgive my ignorance as I'm not even on the same level of experience as you are so I wouldn't be able to help you with this, but is it that difficult/time consuming to implement this feature?
If it is, my apologies as I was only trying to help you improve your useful library.
Either way, I will continue to use this library. Thanks!


Revamped storage management

Hentoid's save folder is user readable
the user can move things around, rename things, and try to copy it
that's the bigger issue
=> design the app defensively around it
=> Have an export feature that will organize books into named folders and package it all into a zip

This issue was moved to avluis/Hentoid#191


Fix ChipLog* calls in darwin-framework-tool itself to work right.

REVIEW NOTE: A whitespace-ignoring diff is a lot easier to review.
darwin-framework-tool ends up linking in two copies of CHIPLogging, so the redirect we were setting up was only capturing ChipLog* calls that happened inside Matter.framework.  The calls from
darwin-framework-tool itself were getting dropped after being logged via os_log, and not showing up on stdout.
Also includes a drive-by fix to stop building address-resolve-tool every time we build darwin-framework-tool.
Fixes https://github.com/project-chip/connectedhomeip/issues/24194

Fast-tracking platform-specific fix with platform owner review.


Syntax error in unit test

In unit test method  TEST_APP_DEEP_DATA( ) of class Z2UI5_CL_HTTP_HANDLER, the field symbol  must be defined as
   FIELD-SYMBOLS <row> TYPE REF TO data.

on lower releases, or a syntax error occurs.

guess https://github.com/oblomov-dev/abap2UI5/blob/main/src/z2ui5_cl_http_handler.clas.testclasses.abap#L783

ah interesting, fixed now:


Documentation update for AWS.RDS.DS.High.1042

terrascan version: 1.13.0
Operating System: macOS

Description
Keep getting lint failed because of AWS.RDS.DS.High.1042, for me from the docs it is not clear how this issue should be fixed. Can we get a more detailed explanation please?
What I Did

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#ca_cert_identifier this attribute should be rds-ca-2019.
https://github.com/accurics/terrascan/blob/master/pkg/policies/opa/rego/aws/aws_db_instance/rdsCAExpired.rego#L5

I believe this needs to be updated to account for the new certificate authorities available in RDS.
It should support the following:
rds-ca-2019
rds-ca-rsa2048-g1
rds-ca-rsa4096-g1
rds-ca-ecc384-g1

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html


Build failing

[ 66%] Completed 'pahomqtt'
[ 66%] Built target pahomqtt
Scanning dependencies of target monitor
[ 75%] Building CXX object CMakeFiles/monitor.dir/application/src/main.cpp.o
In file included from /home/psakamoori/MyFolder/UIUC/Fall2021/IOT/iot_lab3_part2/shopper-gaze-monitor-cpp/application/src/main.cpp:34:0:
/home/psakamoori/MyFolder/UIUC/Fall2021/IOT/iot_lab3_part2/shopper-gaze-monitor-cpp/application/include/inference.hpp:27:10: fatal error: ie_icnn_net_reader.h: No such file or directory
#include <ie_icnn_net_reader.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/monitor.dir/build.make:62: recipe for target 'CMakeFiles/monitor.dir/application/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/monitor.dir/application/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/monitor.dir/all' failed
make[1]: *** [CMakeFiles/monitor.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Setup:
Ubuntu 18.04
OV version: 2021.4.582

Realized this only works on 2020 R3


Documenting gread / GReadS

I think it would make things clearer to document gread as being in continuation-passing style. I literally only just realised this now, because it was similar to some other code I wrote today. And now I finally understand that type GReadS t [*] is something that consumes the continuation, which is vital to understanding how to implement an instance of GRead. (Previously I was just copy-pasting the existing instances and fiddling around until the type errors went away.)
[*] Actually this refers to the previous implementation of GReadResult, today's implementation avoids CPS and is a bit clearer, however the docstring still refers to the old CPS implementation which could still confuse users.
gread is still in CPS though and should be documented as such. Also, an alternative offering which may be more convenient for some users would be:
{-# LANGUAGE QuantifiedConstraints #-}

newtype SomeCxt c = SomeCxt { unCxt :: forall v. c v => v }

greadC
  :: (GRead t, forall a. c (t a))
  => Proxy t
  -> String
  -> SomeCxt c
greadC = ...

This relies on there existing an appropriate instance that applies to all a, which may not always exist, but if it does then it could be more convenient to use than passing in a continuation.

I added appropriate labels to this issue.


Helm upgrade, config tracking

This helm improvement introduces helm feature to track configurations and secrets, to avoid manual intervention in case of changing configuration of the deployments.
How to enable feature:
trackConfig=enabled (default disabled)
system will track, if there is any change in config/secret and if there is, it will respin pods (django, celery).
e.g.
helm upgrade defectdojo  --set trackConfig=enabled --set-string extraConfigs.DD_FEATURE_AUTHORIZATION_V2=true .

Sounds look a good idea


Append space to the prompts without it

Inspired by https://github.com/garglk/garglk/blob/bde657b41e67f56e9f2bf58f48eef56ac002030f/garglk/wintext.cpp#L1094.

I understand the idea here, but I think it's better to be faithful to the game output. (The game could use "> " as a prompt, instead of ">", but the established Inform convention is not to.)

I'll look at the idea of using CSS to put some padding around the input box. Obviously this gets into the territory of some other pending PRs such as https://github.com/erkyrath/glkote/pull/71 . (I may try to handle those with CSS as well.)


Transcode error: Video file does not contain duration

[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[x] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Purpose of your issue?

[x ] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (
Intel)] on win32

from instagram_private_api import Client, ClientCompatPatch,MediaRatios
from instagram_private_api_extensions import media

user_name = 'xxx'
password = 'xxx'

api = Client(user_name, password)
vid_data, vid_size, vid_duration, vid_thumbnail = media.prepare_video(
    'd:\\vid.mp4', aspect_ratios=MediaRatios.standard)

api.post_video(vid_data, vid_size, vid_duration, vid_thumbnail)

Error/Debug Log:
Traceback (most recent call last):
  File "C:/Users/admin/PycharmProjects/untitled/3.py", line 17, in <module>
    api.post_video(vid_data, vid_size, vid_duration, vid_thumbnail)
  File "build\bdist.win32\egg\instagram_private_api\endpoints\upload.py", line 64
3, in post_video
  File "build\bdist.win32\egg\instagram_private_api\endpoints\upload.py", line 22
4, in configure_video
  File "build\bdist.win32\egg\instagram_private_api\endpoints\upload.py", line 46
9, in post_photo
  File "build\bdist.win32\egg\instagram_private_api\endpoints\upload.py", line 19
7, in configure
  File "build\bdist.win32\egg\instagram_private_api\client.py", line 483, in _cal
l_api
instagram_private_api.errors.ClientError: Bad Request: Transcode error: Video fil
e does not contain duration

I want ipload mp4 file to my ig account. I try use different mp4-files - same error.

@Radzhab
Your issue report does not conform to the issue template that has been specified for this repo:
https://raw.githubusercontent.com/ping/instagram_private_api/master/.github/ISSUE_TEMPLATE.md
Please edit your issue to comply with the template requirement.
This issue will be closed after 24 hours if no followup action is taken.

[This comment is auto-generated. ref=notemplate]

update...

Enable debug logging and post the log
Can you provide a sample video?

how enable it?
http://rgho.st/private/875RDWb75/623c88de9eafcf48fa6a8479a7587d75

The examples all show how to enable debug logging. Please review properly.
I was able to post the sample video you provided. In fact, IG deleted the post because of the copyrighted music.

I use different videos. Same result. I think its because instagram_private_api_extensions cannot send video length to request
This is my /media/configure/ params.
 be3f113c4c2a4ca6bea4aac40d06a20b3a5783ca125616a3a0a7a2a21cd1a6c6.{"extra":{"source_width":612,"source_height":448},"_uuid":"e885ec00-6286-11e7-a3a1-00da86df26e2","source_type":"4","media_folder":"Instagram","_csrftoken":"FK0qVQQYjSWbKdpJxBtpBklVSIkLWBJo","caption":"","edits":{"crop_center":[0.0,-0.0],"crop_zoom":1.0,"crop_original_size":[612.0,448.0]},"_uid":"253194874","upload_id":"1499371784680","device":{"android_release":"6.0.1","model":"SM-G930F","android_version":23,"manufacturer":"samsung"}}
can you provide post_video python code example? without instagram_private_api_extensions

You can easily print out any of the variables including vid_duration returned by the extensions lib to debug.
Your params says nothing. It also does not seem to be generated by this library. Post the full debug log as previously instructed.

can you provide post_video python code example? without instagram_private_api_extensions

No

Closing this since you're not willing to provide a full debug log.


[v2] Introspection error when getting schema from GraphQL SPQR service

When I try to get schema from endpoint by Default GraphQL Endpoint -> Get GraphQL Schema from Endpoint (introspection) from service which uses GraphQL SPQR I get error:
GraphQL Introspection Error
A valid schema could not be built using the introspection result. The endpoint may not follow the GraphQL Specification. The error was:
"errors=[The field type 'Long' is not present when resolving type 'Project' [@-1:-1]]".

Stack trace:
SchemaProblem{errors=[The field type 'Long' is not present when resolving type 'Project' [@-1:-1]]}
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:270)
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:246)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.buildIntrospectionSchema(GraphQLIntrospectionHelper.java:300)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.printIntrospectionJsonAsGraphQL(GraphQLIntrospectionHelper.java:264)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper$2.lambda$run$0(GraphQLIntrospectionHelper.java:148)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

In services which doesn't use GraphQL SPQR getting schema by plugin works.
Based on this, you can think it's the GraphQL SPQR's fault. But schema can be got by other tools, for example by get-graphql-schema or graphql-cli (based on this answer).
Example with GraphQL SPQR  (error only in plugin case)
(uses GraphQL Java Spring)

Download https://github.com/leangen/graphql-spqr-samples
Create .graphqlconfig for plugin (http://localhost:8000/graphql - pay attention to port!)
Run Spring Boot StarterDemoApplication (from project spring-boot-starter-sample).
Try Get GraphQL Schema from Endpoint (introspection) in plugin and get error.
Try get-graphql-schema http://localhost:8000/graphql and get schema.

Example without GraphQL SPQR (without error in both case)
(uses GraphQL Spring Boot Starter)

Download https://github.com/graphql-java/tutorials
Create .graphqlconfig for plugin (http://localhost:8080/graphql)
Run Spring Boot BookDetailsApplication (from project book-details).
Try Get GraphQL Schema from Endpoint (introspection) in plugin and get schema.
Try get-graphql-schema http://localhost:8080/graphql and get schema.

Example with GraphQL SPQR, but without Spring Boot (error only in plugin case)
(to eliminate fault in GraphQL Spring Boot Starter; it is pure GraphQL SPQR and GraphQL Java - so I think Spring Boot starter doesn't matter)

Download  https://github.com/mkczyk/hackernews-graphql-java (based on last step of this tutorial)
.graphqlconfig for plugin is created (http://localhost:8000/graphql)
Run mvn jetty:run (from project hackernews-graphql-java).
Try Get GraphQL Schema from Endpoint (introspection) in plugin and get error.
Try get-graphql-schema http://localhost:8000/graphql and get schema.

But in the last one example I get different error than first example:
GraphQL Introspection Error
A valid schema could not be built using the introspection result. The endpoint may not follow the GraphQL Specification. The error was:
"errors=[The field input type 'BigDecimal' is not present when resolving type 'QUERY_ROOT' [@-1:-1], The field input type 'BigDecimal' is not present when resolving type 'QUERY_ROOT' [@-1:-1]]".

Stack trace:
SchemaProblem{errors=[The field input type 'BigDecimal' is not present when resolving type 'QUERY_ROOT' [@-1:-1], The field input type 'BigDecimal' is not present when resolving type 'QUERY_ROOT' [@-1:-1]]}
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:270)
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:246)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.buildIntrospectionSchema(GraphQLIntrospectionHelper.java:300)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.printIntrospectionJsonAsGraphQL(GraphQLIntrospectionHelper.java:264)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper$2.lambda$run$0(GraphQLIntrospectionHelper.java:148)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

It's look like problem with getting custom scalars defined in GraphQL SPQR.
v.2.0.0-beta-1
IntelliJ IDEA 2018.3.5 Ultimate Edition

Thanks for testing the plugin.
I've fixed this for the upcoming beta-2 release. The introspection schema type registry based on graphql-java was filtering out scalars such as Long, BigDecimal etc. since graphql-java has these built-in.

I have a very similar issue, this is my config:
{
  "name": "Statham API GraphQL Schema",
  "schemaPath": "schema.graphql",
  "extensions": {
    "endpoints": {
      "Default GraphQL Endpoint": {
        "url": "http://localhost:8000/gql/",
        "headers": {
          "user-agent": "JS GraphQL"
        },
        "introspect": true
      }
    }
  }
}

And the plugin complains fails with this error:

graphql.AssertException: Internal error: should never happen: cannot build value of ServiceStatus from StringValue{value='pending'}

Full stack
graphql.AssertException: Internal error: should never happen: cannot build value of ServiceStatus from StringValue{value='pending'}
	at graphql.Assert.assertShouldNeverHappen(Assert.java:26)
	at graphql.schema.idl.SchemaGeneratorHelper.buildValue(SchemaGeneratorHelper.java:94)
	at graphql.schema.idl.SchemaGenerator.buildInputField(SchemaGenerator.java:800)
	at graphql.schema.idl.SchemaGenerator.lambda$buildInputObjectType$24(SchemaGenerator.java:772)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at graphql.schema.idl.SchemaGenerator.buildInputObjectType(SchemaGenerator.java:771)
	at graphql.schema.idl.SchemaGenerator.buildInputType(SchemaGenerator.java:448)
	at graphql.schema.idl.SchemaGenerator.buildInputField(SchemaGenerator.java:796)
	at graphql.schema.idl.SchemaGenerator.lambda$buildInputObjectType$24(SchemaGenerator.java:772)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at graphql.schema.idl.SchemaGenerator.buildInputObjectType(SchemaGenerator.java:771)
	at graphql.schema.idl.SchemaGenerator.buildInputType(SchemaGenerator.java:448)
	at graphql.schema.idl.SchemaGenerator.buildArgument(SchemaGenerator.java:820)
	at graphql.schema.idl.SchemaGenerator.lambda$buildField$23(SchemaGenerator.java:702)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at graphql.schema.idl.SchemaGenerator.buildField(SchemaGenerator.java:701)
	at graphql.schema.idl.SchemaGenerator.lambda$buildObjectType$6(SchemaGenerator.java:478)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at graphql.schema.idl.SchemaGenerator.buildObjectType(SchemaGenerator.java:477)
	at graphql.schema.idl.SchemaGenerator.buildOutputType(SchemaGenerator.java:411)
	at graphql.schema.idl.SchemaGenerator.buildOperation(SchemaGenerator.java:343)
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchemaImpl(SchemaGenerator.java:323)
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:274)
	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:246)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.buildIntrospectionSchema(GraphQLIntrospectionHelper.java:312)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper.printIntrospectionJsonAsGraphQL(GraphQLIntrospectionHelper.java:276)
	at com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionHelper$2.lambda$run$0(GraphQLIntrospectionHelper.java:160)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:742)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:691)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

This is what ServiceStatus looks like (I'm using graphene-python):
class ServiceStatus(graphene.Enum):
    CANCELLED = 'cancelled'
    PENDING = 'pending'
    FINISHED = 'finished'
    ASSIGNED = 'assigned'

The GraphiQL AppImg works just fine.

Hi @arielnmz
This is indeed an issue with spec compliance in graphene-python. Thanks for linking the issues.
Best regards,
Jim.


Explicit explanation of the breaking change in 7.0

After the discussion in #1123 and seeing how this has bitten people (even if it can be expected because it's a major version and people should pin versions, etc) I think it would be nice to be explicit about such a change and list it in the "Upgrade" section.

@davidism could you give it a quick check? It's just a change to docs, not code. Just to highlight the issue with v7.0.
Thanks!!

Thanks for writing this. I rewrote it to mention the different options for upgrading from https://github.com/pallets/click/issues/1123#issuecomment-589989721 and rebased it to the 7.x branch.


Fix esp-idf >= v5.3beta

fix #433

@AlixANNERAUD since you PR'ed the addition i want you just to notify that upstream esp-idf includes new API's if you are interested in the new fields

@AlixANNERAUD since you PR'ed the addition i want you just to notify that upstream esp-idf includes new API's if you are interested in the new fields

Okay, I'm in exam period but I'm trying to do it this week

@AlixANNERAUD since you PR'ed the addition i want you just to notify that upstream esp-idf includes new API's if you are interested in the new fields

Okay, I'm in the exam period but I'll try to do it this week

Yeah no worries there is no direct action needed, just a headsup for you :D Exams have priority, even if you want to rather work on some code ;)

@AlixANNERAUD since you PR'ed the addition i want you just to notify that upstream esp-idf includes new API's if you are interested in the new fields

I just checked, and the differences between esp-idf v5.2 and v5.3 (especially esp_vfs_fat.h, sdmmc_host.h and sdspi_host.h), have little impact on the SD card / VFS aspects (just the refactoring of DMA for sdmmc_host_t and refactoring of mount configuration for VFS), which doesn't seem to affect the user API, although the implementation seems a bit unclear. In addition, i don't think it's necessary to implement x_get_dma_info either.

@AlixANNERAUD since you PR'ed the addition i want you just to notify that upstream esp-idf includes new API's if you are interested in the new fields

I just checked, and the differences between esp-idf v5.2 and v5.3 (especially esp_vfs_fat.h, sdmmc_host.h and sdspi_host.h), have little impact on the SD card / VFS aspects (just the refactoring of DMA for sdmmc_host_t and refactoring of mount configuration for VFS), which doesn't seem to affect the user API, although the implementation for DMA seems a bit unclear. In addition, i don't think it's necessary to implement x_get_dma_info either (but I can do it if you want to).

Thanks for the feedback. Its fine i think, if someone needs it he can extend the implementation as needed.


Variables list remains visible when a different class selected

If you have selected a class and are on the variables pane and select another package, the variables of the original class are still visible.
If you select a another project, it also still shows those same variables.

Added to milestone 3.0.11 for review


Regarding the generated "ckpt" and "generated" files

Hello, excuse me. After carefully reading your code, I have some doubts. May I ask how to visualize and convert the generated "ckpt" and "generated" files into commonly used formats for point clouds, such as txt.
Looking forward to your answer very much, thank you!

load ckpt with torch.load
convert the data to numpy format
convert numpy to ply or txt, like this https://stackoverflow.com/questions/62948421/how-to-create-point-cloud-file-ply-from-vertices-stored-as-numpy-array.

go to the "generated" folder, there should be files like "pc_epochxxx.pt". You can load them with torch.load like
PC = torch.load("pc_epochxxx.pt").numpy() and then convert them to ply files. the "ckpt" folder saves the weights of WarpingGAN and it cannot be converted to point clouds.

@yztang4 Firstly, thank you very much for your previous answer, but the link you provided is: https://github.com/yztang4/WarpingGAN/issues/url It no longer exists. Can you provide a new link?

Try again.

Yes, I have opened this link and will continue to try according to your solution. Thank you again for your generous answer and wish you a happy life! @ @yztang4

Because they are pre-trained models, the network will continue to train the model instead of training the model from epoch 0.

Okay, thank you again for your answer! @yztang4


Ersuo/adding send status telemetry

Related to #4500.

Changelog Entry

Added function to emit status change telemetry event for activities, by @Erli-ms, in PR #4631

Description

Added an ActivityStatusTelemetryComposer inside of ActivitySendStatusComposer. Whenever the activity status changes, the ActivityStatusTelemetryComposer collects the map of concerned activities and triggers trackEvent to emit the event. Consumers of the events can react accordingly. This feature is requested by D365 OmniChannel team.
Design
Added a new provider to look at send status of every activity. Whenever send status of any activities changed, it will call onTelemetry event to fire its changes.
Specific Changes

packages/api/src/providers/ActivitySendStatusTelemetry/ActivitySendStatusTelemetryComposer.tsx

creating a new composer triggered whenever the control got re-rendered.
collect the activities which status changed
invoke trackEvent to emit the event to the telemetry logger
{ status, prevStatus, ClientActivityID, type, hasAttachment, key} is emitted to the telemetry logger

packages/api/src/hooks/Composer.tsx

added the ActivitySendStatusTelemetryComposer as a children component to ActivitySendStatusComposer

tests/html/activityStatusTelemetry.sendingToSendFailed.html

added test to verify expected event been emitted with the activity status changed from 'sending' to 'send failed'

tests/html/activityStatusTelemetry.sendingToSendFailedToSent.html

added test to verify expected event been emitted with the activity status changed from 'sending' to 'send failed' and from 'send failed' to 'sent'

tests/html/activityStatusTelemetry.sendingToSent.html

added test to verify expected event been emitted with the activity status changed from 'sending' to 'sent'

tests/html/activityStatusTelemetry.sendFiles.attachmentUrl.sendingToSent.html

added test to verify expected event been emitted with when attachment activity status changed from 'sending' to 'sent'

tests/html/activityStatusTelemetry.ignoreStatusChange.incomingActivity.html

added test to verify incoming activity does not emit any status change event

-

[x] I have added tests and executed them locally
[x] I have updated CHANGELOG.md
[x] I have updated documentation

Review Checklist

This section is for contributors to review your work.

[x] ~Accessibility reviewed (tab order, content readability, alt text, color contrast)~
[x] ~Browser and platform compatibilities reviewed~
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] Documents reviewed (docs, samples, live demo)
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] ~Security reviewed (no data URIs, check for nonce leak)~
[x] Tests reviewed (coverage, legitimacy)

I ran tests locally/manually. Everything looks good.


overflow evaluating the requirement ClassMember: Archive

Describe the bug
Hey folks!
I am following the guide to set up a new SWC plugin.
I did:
$ swc plugin new --target-type wasm32-wasi foo
$ cd foo
$ rustup target add wasm32-wasi

My code looks like this (what I believe the example is going for):
use swc_core::{
    ast::*,
    visit::{VisitMut, VisitMutWith,as_folder},
    common::Spanned,
    testing_transform::test
};
pub struct TransformVisitor;

impl VisitMut for TransformVisitor {
    fn visit_mut_bin_expr(&mut self, e: &mut BinExpr) {
        e.visit_mut_children_with(self);

        if e.op == op!("===") {
            e.left = Box::new(Ident::new("kdy1".into(), e.left.span()).into());
        }
    }
}

test!(
    Default::default(),
    |_| as_folder(TransformVisitor),
    boo,
    r#"foo === bar;"#,
    r#"kdy1 === bar;"#
);

I've put it in a Github repo here.
What's going wrong?
When I run cargo build-wasi --release, as mentioned to do in Publishing Plugins, it stalls for a long (> 10m) with this output:

   Compiling swc_atoms v0.4.15
   Compiling swc_common v0.27.16
   Compiling swc_ecma_ast v0.90.20
   Compiling swc_error_reporters v0.11.7
   Compiling testing v0.29.7
    Building [======================>  ] 239/250: swc_ecma_ast

Then eventually, results in this error:
error[E0275]: overflow evaluating the requirement `class::Class: Archive`
   --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/class.rs:18:1
    |
18  | #[ast_node]
    | ^^^^^^^^^^^
    |
note: required because of the requirements on the impl of `Archive` for `ClassExpr`
   --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/expr.rs:518:1
    |
518 | #[ast_node("ClassExpression")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
521 | pub struct ClassExpr {
    |            ^^^^^^^^^
    = note: 1 redundant requirement hidden
    = note: required because of the requirements on the impl of `Archive` for `expr::Expr`
    = note: required because of the requirements on the impl of `ArchiveUnsized` for `expr::Expr`
    = note: 2 redundant requirements hidden
    = note: required because of the requirements on the impl of `Archive` for `std::option::Option<Box<expr::Expr>>`
    = help: see issue #48214
    = note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `class::Class: Archive`
   --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/class.rs:18:1
    |
18  | #[ast_node]
    | ^^^^^^^^^^^
    |
note: required because of the requirements on the impl of `Archive` for `ClassExpr`
   --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/expr.rs:518:1
    |
518 | #[ast_node("ClassExpression")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
521 | pub struct ClassExpr {
    |            ^^^^^^^^^
    = note: 1 redundant requirement hidden
    = note: required because of the requirements on the impl of `Archive` for `expr::Expr`
    = note: required because of the requirements on the impl of `ArchiveUnsized` for `expr::Expr`
    = note: 2 redundant requirements hidden
    = note: required because of the requirements on the impl of `Archive` for `std::option::Option<Box<expr::Expr>>`
    = help: see issue #48214
    = note: this error originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `ClassMember: Archive`
  --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/class.rs:62:1
   |
62 | #[ast_node]
   | ^^^^^^^^^^^
   |
   = note: required because of the requirements on the impl of `Archive` for `Vec<ClassMember>`
   = note: 7 redundant requirements hidden
   = note: required because of the requirements on the impl of `Archive` for `StaticBlock`
   = help: see issue #48214
   = note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0275]: overflow evaluating the requirement `ClassMember: Archive`
  --> /Users/alexwoods/.cargo/registry/src/github.com-1ecc6299db9ec823/swc_ecma_ast-0.90.20/src/class.rs:62:1
   |
62 | #[ast_node]
   | ^^^^^^^^^^^
   |
   = note: required because of the requirements on the impl of `Archive` for `Vec<ClassMember>`
   = note: 7 redundant requirements hidden
   = note: required because of the requirements on the impl of `Archive` for `StaticBlock`
   = help: see issue #48214
   = note: this error originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)

This is happening for cargo test as well.
I have the following version of Cargo:
cargo 1.63.0 (fd9c4297c 2022-07-01)

Input code
None, unless you count the `foo === bar` in the tests.

Config
None

Playground link
No response
Expected behavior
That it builds, I believe.
Actual behavior
No response
Version
SWC 0.91.4
Additional context
This may be user error. I'm pretty new to Rust, so keep that in mind!

Can you try cargo update, to let swc_ecma_ast uses latest version?

Absolutely, one second

Appears to be stuck again. v0.90.20 is the latest version, right?
Thanks for the quick reply btw!

no, https://crates.io/crates/swc_ecma_ast 0.91.8 is the latest. what's the version of swc_core? is it latest?

(from my Cargo.toml)
[dependencies]
serde = "1"
swc_core = { version = "0.18.*", features = ["plugin_transform"] }

Yes, that's quite outdated. Please try latest https://crates.io/crates/swc_core , 0.23.28.
It is rapidly changing, which sometimes have breaking changes. Sorry for the inconviniences.


Facing issue in Conversion

HI!
First of all this is one thing I needed so thankyou so much. I have been searching for something like this but haven't found anything yet. I should mention that I tried using it on some other site having the same .js images as in Google Drive.
The process goes smoothly with ignorable errors and the file is downloaded. (I changed the URL).
I have tried to convert but it shows the following error
"magick: UnableToOpenBlob '../Output/Disco/Pages/*.png': Invalid argument @ error/blob.c/OpenBlob/3539.
2020/11/03 14:32:15 cmd.Run() failed with exit status 1"
Can you please point me in the direction on what you think cause of the error could be?

Hey!
Ran the code again... Saw these errors during the run. Can this be a cause of the problem?

I am having the exact same problem when running GeneratePDF.cmd from the Windows folder, it goes like this:
`1 ".PDF_DataFile" found!
Processing Cool_File_Name.PDF_DataFile
Generating Cool_File_Name.pdf                    magick: UnableToOpenBlob '../Output/Cool_File_Name/Pages/*.png': Invalid argument @ error/blob.c/OpenBlob/3539.
2021/01/20 10:37:54 cmd.Run() failed with exit status 1`

I am having the exact same problem when running GeneratePDF.cmd from the Windows folder, it goes like this:
`1 ".PDF_DataFile" found!
Processing Cool_File_Name.PDF_DataFile
Generating Cool_File_Name.pdf                    magick: UnableToOpenBlob '../Output/Cool_File_Name/Pages/*.png': Invalid argument @ error/blob.c/OpenBlob/3539.
2021/01/20 10:37:54 cmd.Run() failed with exit status 1`


Add ports to output

Hi @gabrielsoltz what is the point of adding ports here? The check is to show if no filters are used. What am I missing?
Additionally, better not to add : and () in the output, it may break some json outputs/integrations.
Thanks!
Sent with GitHawk

Hi @toniblyx, i think the check name is kind of confusing, what the check is doing is finding by security group, ports with no filter, this is ports (one or more) with <IP_ADDRESS>/0 as source. So, because this could be one or more, my idea was to add which ports are the ones that are open/without filter, so it's easier to understand the problem, and in our case, we are doing post analyze like top ports being use open/without filter, to undercover or find potential services out of our scope.

json has not limitation in terms of : and (, but i can replace ithem for a space or dash, what do u think ?

As i see you are using : in most of the outputs for specifying region.

hey @gabrielsoltz I'll close this PR without merging since the output might be too verbose when many ports are not filtered, better to allow the user check them when something is found. In any case, another custom check can be written if needed. Thanks anyway!


{Feature Request] Allow editing groups

Right now, you are unable to edit already-made groups, you have to delete and remake a group if you want to add another program to it.
EDIT: nvm, I saw this on the to-do list already

Duplicate of #9

Sorting and editing of groups has been included in the latest release (v0.1.4)!


More segment tests

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/5665
Problem Summary:
I create SegmentOperationTest.Issue5570Case2 in https://github.com/pingcap/tiflash/pull/5612 but do not add checks since https://github.com/pingcap/tiflash/pull/5660 is not merged
What is changed and how it works?

Add more check for the remaining data size on disk of storage_pool.log
Add some comments about SegmentTestBasic
Remove unused var hash_salt from DMContext

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @lidezhu @hehechen

/merge

/merge

/merge

/merge


[Isthmus][CLI][GraalVM] Failed to build Isthmus native image locally using GraalVM <IP_ADDRESS>

Issue
Currently Isthmus is using GraalVM <IP_ADDRESS> https://github.com/substrait-io/substrait-java/blob/main/isthmus/build.gradle.kts#L104
It is necessary to run ./gradlew nativeImage in order to build Isthmus native image, and the process will finish with the following message:
./gradlew nativeImage

> Task :isthmus:extractGraalTooling
Downloading: Release index file from oca.opensource.oracle.com
Error: Error reading component list: https://oca.opensource.oracle.com/gds/meta-data.json

> Task :isthmus:extractGraalTooling FAILED

Build substrait FAILURE reason:
    Execution failed for task ':isthmus:extractGraalTooling':
        org.gradle.process.internal.ExecException: Process 'command '/Users/dsusanibar/.gradle/caches/com.palantir.graal/<IP_ADDRESS>/17/graalvm-ce-java17-<IP_ADDRESS>/Contents/Home/bin/gu'' finished with non-zero exit value 3

Reason of the error
Isthmus is using Palantir Gradle Graal to download and locally cache a GraalVM installation and make available select parts of the GraalVM compiler for use in Gradle builds.
GraalVM <IP_ADDRESS> is available to download, but not to install a new image, as you can see at:
$ pwd
/Users/dsusanibar/.gradle/caches/com.palantir.graal/<IP_ADDRESS>/17/graalvm-ce-java17-<IP_ADDRESS>/Contents/Home/bin

$ ./gu --version
GraalVM Updater <IP_ADDRESS>

$ ./gu available
Downloading: Release index file from oca.opensource.oracle.com
Error: Error reading component list: https://oca.opensource.oracle.com/gds/meta-data.json

$ ./gu install native-image
Downloading: Release index file from oca.opensource.oracle.com
Error: Error reading component list: https://oca.opensource.oracle.com/gds/meta-data.json

Workaround

Option 1: After moving from GraalVM <IP_ADDRESS> to GraalVM 22.1.0, everything is working as expected.

$ pwd
/Users/dsusanibar/.gradle/caches/com.palantir.graal/22.1.0/17/graalvm-ce-java17-22.1.0/Contents/Home/bin
$ ./gu --version
GraalVM Updater 22.1.0
$ bin ./gu available
Downloading: Component catalog from www.graalvm.org
ComponentId              Version             Component name                Stability                     Origin
---------------------------------------------------------------------------------------------------------------------------------
espresso                 22.1.0              Java on Truffle               Experimental                  github.com
espresso-llvm            22.1.0              Java on Truffle LLVM Java librExperimental                  github.com
llvm-toolchain           22.1.0              LLVM.org toolchain            Supported                     github.com
native-image             22.1.0              Native Image                  Early adopter                 github.com
nodejs                   22.1.0              Graal.nodejs                  Supported                     github.com
python                   22.1.0              Graal.Python                  Experimental                  github.com
R                        22.1.0              FastR                         Experimental                  github.com
ruby                     22.1.0              TruffleRuby                   Experimental                  github.com
wasm                     22.1.0              GraalWasm                     Experimental                  github.com
$ ./gu install native-image
Downloading: Component catalog from www.graalvm.org
Processing Component: Native Image
Component Native Image (org.graalvm.native-image) is already installed.

Option 2: Upgrade to the last version of GraalVM 22.3.3. There are some issues that need to be solved.

Error: Classes that should be initialized at run time got initialized during image building:
 org.apache.calcite.util.BuiltInMethod was unintentionally initialized at build time. To see why org.apache.calcite.util.BuiltInMethod got initialized use --trace-class-initialization=org.apache.calcite.util.BuiltInMethod

Consider: You won't experience any problems if your local environment just caches the GraalVM image at the moment when the native image was able to download and install (e.g. current Github CI Jobs).

@vbarua could we upgrade the GraalVM or is there an alternative for this?

Upgrading seems like a reasonable way to address this. I'd be happy to review a PR for an upgrade to the latest version that works with no changes. We can file an issue to move us to the latest version and deal with the changes required for that.

@vbarua we got one PR merged related to a related update. What more work would we need to close this?

Isthmus native image builds now run successfully using GraalVM 22.1.0.
Opened a separate issue to upgrade to the latest version, though I don't think it's critical to do so: https://github.com/substrait-io/substrait-java/issues/218


API for extensions to reuse the Replace Preview

In Visual Studio, the Visual C++ team is able to show a preview of the symbols that will be renamed during a rename operation.  Like this:

This allows us to include suggestions of additional matches for the rename operation that we may not be 100% confident about.
VS Code also has the capability to show a preview of changes for find/replace that would be cool if the C++ extension team could reuse for our implementation of "rename."  It would allow us to show a preview of the pending changes inside the file so that developers could more easily view the context in which the additional rename suggestions reside.

@bobbrow Not sure if I understood your requirement.
We already have preview for Global Search / Replace. Are you asking for some change here? Or
Are you asking for a rename preview? Or
Are you asking for find/replace preview?

We are building an experience around "rename" that allows the user to intercept the operation and include or reject matches that we have less confidence about:

Since this is a kind of "preview", we thought it would be awesome if we could open up a "rename preview" editor when items are selected in the tree view - similar to what you have for find/replace. So we're asking for the preview editor to be extensible or callable in some way such that we can use it.

find/replace uses the normal diff editor which I think is accessible through API.
@alexandrudima Is this correct? If so please let user know how a diff editor can be accessed.

It is possible to invoke the vscode.diff command and pass two URIs that use a custom scheme like e.g. file:///real/file/before/rename.cpp and my-custom-scheme://file/after/rename.cpp. Then you can contribute a FS provider or content provider for my-custom-scheme and provide the shape of the file after the edit.
On top perhaps you can contribute a custom tree view to show all the files that the rename would change.
However @jrieken @egamma I don't know if this is something we want to encourage every extension to build an UI for or if we should build a centralized "rename with preview" feature...

However @jrieken @egamma I don't know if this is something we want to encourage every extension to build an UI for or if we should build a centralized "rename with preview" feature...

Yeah, it should be better to have just one rename experience, not one per language. @bobbrow What are you missing from the current rename flow and API. Are there issues/PRs that we don't have on our radar?

@jrieken, to be clear, we're not currently missing anything *essential* from the current rename flow and API. We are building a custom experience for Rename just like we do for Find All References due to the challenges C++ presents for these features, so we are unsure as to whether it makes sense for you to build a feature just for us. We can try out @alexandrudima's suggestion.
Most other language servers don't seem to need a preview because they have higher certainty of their results.  Though I suppose it might make sense to have this feature for other languages if they wanted to include less certain results in the operation such as string and comment renames like we are offering.

[...] experience for Rename just like we do for Find All References due to the challenges C++ presents for these features,

Well, I'd say that actually means that you are missing something from the rename/find references experiences... Let me try to explain why I think it's a bad idea to implement custom features that already exist (to some extend) in VS Code

If in VS Code we will add "preview-before-rename" than your time was wasted
Users will have to learn that rename in C++ is ever so slightly different
The extension API isn't designed to allow to implement custom UX flows which means that you are having a harder time than necessary
VS Code is open source, if you miss a feature you can add it to the real thing instead of doing a one-off solution that only help a subset of people

Closing this as dev-question but I also want to restate that we aren't happy when extensions invent competing features.


Implement POST /api/comments/add Route

Pull Request: Implement POST /api/comments/add Route
Description:
This pull request implements a new route POST /api/comments/add allowing authenticated users to leave a comment on a specific event. This feature is crucial to promote engagement and community interaction on the HappiHub platform.
Changes:

Addition of the Comment Route:

Created commentRoutes.js to handle comment-related routes.
Added the POST /api/comments/add route in commentRoutes.js.

Comment Controller:

Created commentController.js.
Implemented the addComment function to handle the logic for adding a comment.

ID Validation:

Added isValidUserId function to userValidation.js.
Added isValidEventId function to eventValidation.js.
Utilized validation functions to check user_id and event_id before adding a comment.

Updated Event Model:

Added a sub-document schema for comments in eventModel.js.

Authentication Middleware:

Utilized auth middleware to ensure the user is authenticated before allowing a comment to be added.

Tests:

ID Validation:

Checked that user_id and event_id are valid before adding a comment.

Add Comment:

Manually tested with Postman to verify that comments can be added to events with valid IDs and an authenticated user.

Manual Test Instructions:

Register a User:

URL: POST /api/users/register
Request Body:{
  "name": "Test User",
  "email"<EMAIL_ADDRESS>  "password": "password123"
}

Login to Get a Token:

URL: POST /api/users/login
Request Body:{
  "email"<EMAIL_ADDRESS>  "password": "password123"
}

Keep the received JWT token.

Create an Event:

URL: POST /api/events
Request Body:{
  "title": "Test Event",
  "date": "2024-08-15T18:00:00Z",
  "location": "Test Location"
}

Keep the received event_id.

Add a Comment:

URL: POST /api/comments/add
Headers: x-auth-token: Bearer YOUR_TOKEN_HERE
Request Body:{
  "text": "This is a test comment.",
  "event_id": "60b8d2956b2e2c001b8f4a8b",  // Replace with the valid event_id
  "user_id": "USER_ID_HERE"  // Replace with the valid user_id
}

Documentation Update:

No documentation updates were made in this pull request. A separate issue will be created to update the API documentation regarding this new route.

Associated Issues:

Closes #111

Please review this pull request and provide your feedback. Thank you!

ok !


Fix broken javadoc

Build with mvn -Prelease verify to reproduce this issue.

Looks like you already fixed this issue. Don't see any problems, running the coomand.

Yes, was fixed in https://github.com/gwtproject/gwt-safehtml/pull/10


Provides.json invalid json

Backslash used inside the json string type, is invalid.
therefore
line 3 and 8 are invalid and the error is thrown in multiple IDEs and JSLinters.
Consider changing
"providers": [     "Intervention\Image\ImageServiceProvider"   ]
to
"providers": [     "Intervention\\Image\\ImageServiceProvider"   ]
As well as
"facade": "Intervention\Image\Facades\Image"
to
"facade": "Intervention\\Image\\Facades\\Image"

I have attempted to correct it and made pull request #574.

Merged, thank you.


Change the logo in navigation

Hello, I'm trying to change the picture located in the "about" inside the navigation button. However, it is synchronized and always shows the same icon as I configured in "logo". Is there a way to use a different image for that?

If you go into the _includes/nav.html file, you'll be able to find the code for the navigation "about" submenu. The class for the img is called "author-photo" and it's on line 9 if you haven't edited anything else from that file yet.
The part that syncs it to the logo is "{{ site.logo }}".
You can add a new subcategory like about_img or whatever else you like in the _config.yml file and then add the image path there (similar to the logo one) and then just change it to {{ site.about_img }} :)


NoClassDefFoundError jayway/jsonpath/Predicate

just started getting this error this morning using the most recent version
java.lang.NoClassDefFoundError: Failed resolution of:
[Lcom/jayway/jsonpath/Predicate;
at com.algolia.instantsearch.utils.JSONUtils.getObjectFromJSONPath(JSONUtils.java:40)
at com.algolia.instantsearch.utils.JSONUtils.getStringFromJSONPath(JSONUtils.java:22)
at com.algolia.instantsearch.ui.views.Hits$HitsAdapter.onBindViewHolder(Hits.java:473)
at com.algolia.instantsearch.ui.views.Hits$HitsAdapter.onBindViewHolder(Hits.java:409)

Hey @martipello, seems like you're using Java, I opened an issue for you in the correct repository, feel free to comment there: https://github.com/algolia/instantsearch-android/issues/76


Discovering all fieldnames of template

Hi together,
I have been using cookie cutter on few projects already and made my own template. I have read through the docu, but unfortunately not have found the following:
how can I discover, which filenames are present in a given template without looking into the respective .json file. The reason I ask this, is because I found it a bit cumbersome to build a template and keep manually track on which fieldnames I have put all over the template. Please forgive me, if I missed out on something. I would appreciate a pointer in t he right direction.
Thanks, M.

Hi @magonser, Cookiecutter itself doesn't provide this capability. However, it shouldn't be hard to write a Python script that walks through your templates directory structure and look for anything that begins with {{ cookiecutter..
If you get this working, and it's a great idea, you should package it as a separate library on GitHub/PyPI. :smile:


SBS "Unsupported URL"

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.12.31
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1278558787526', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.12.31
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.1-essentials_build-www.gyan.dev, ffprobe 4.3.1-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[generic] inside-windsor-castle?play=1278558787526: Requesting header
WARNING: Falling back on generic information extractor.
[generic] inside-windsor-castle?play=1278558787526: Downloading webpage
[generic] inside-windsor-castle?play=1278558787526: Extracting information
ERROR: Unsupported URL: https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1278558787526
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\generic.py", line 3448, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1278558787526

Description
SBS, previously supported, appears to be no longer.
Links I'm attempting without success:

https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1278558787526
https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1283505731842
https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1289278531557
https://www.sbs.com.au/ondemand/program/inside-windsor-castle?play=1293198403790

The Supported URLs are here:
https://github.com/ytdl-org/youtube-dl/blob/75972e200d033429bf9d34793ad3ffc813042347/youtube_dl/extractor/sbs.py#L13
I guess that's the point which needs to be fixed

The Supported URLs are here:
https://github.com/ytdl-org/youtube-dl/blob/75972e200d033429bf9d34793ad3ffc813042347/youtube_dl/extractor/sbs.py#L13
I guess that's the point which needs to be fixed


test: MM-59419 unit test for app/actions/remote/general.ts

Summary
Added unit tests for app/actions/remote/general.ts and changed the first async function to export type.
Ticket Link
https://github.com/mattermost/mattermost/issues/27664
Checklist

[x] Added or updated unit tests (required for all new features)
[x] Includes text changes and localization file updates

Device Information
This PR was tested on: Android Studio, Android 15
Screenshots

Release Note

NONE

Hello @luna49,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.


Stale/Incorrect data for Nevsky Run

After re-installing Kingdom Come Deliverance, ludusavi is now detecting save data for Nevsky_Run
https://www.pcgamingwiki.com/wiki/Nevsky_Run
Not sure how the paths were ever added. Looking at the PCGamingWiki article history, I don't see any additions of the save paths
Nevsky Run:
  files:
    "<home>/Saved Games/kingdomcome/kingdomcome/saves/playline0":
      when:
        - os: windows
          store: steam
    "<home>/Saved Games/kingdomcome/saves/playline0":
      when:
        - os: windows
          store: steam
  installDir:
    Secret_Girl: {}
  launch:
    "<base>/Secret_Girl/SteamG/Binaries/Win64/SteamG-Win64-Shipping.exe":
      - when:
          - bit: 64
            os: windows
            store: steam
  steam:
    id: 946210

Hi! Thanks for the report.
When PCGamingWiki doesn't have any save info, the manifest now includes Steam Cloud paths as a fallback. In this case, the article for Nevsky Run has Steam ID 946210, which is now a game called Secret Girl, although its Steam community page still uses the name Nevsky Run.
For whatever reason, its Steam Cloud metadata does reference the Kingdom Come paths. I've added a flag to ignore Steam Cloud for this game.


bpf: fix selftests build error 'elfdep' failed

Building out of tools/lib/bpf/ works just fine, looks like an issue in the selftest Makefile:
[root@linux-2 bpf]# make
make -C ../../../lib/bpf OUTPUT=/home/darkstar/net-next/tools/testing/selftests/bpf/
make[1]: Entering directory '/home/darkstar/net-next/tools/lib/bpf'

Auto-detecting system features:
...                        libelf: [ OFF ]
...                           bpf: [ OFF ]

No libelf found
Makefile:215: recipe for target 'elfdep' failed
make[1]: *** [elfdep] Error 255
make[1]: Leaving directory '/home/darkstar/net-next/tools/lib/bpf'
Makefile:35: recipe for target '/home/darkstar/net-next/tools/testing/selftests/bpf/libbpf.a' failed
make: *** [/home/darkstar/net-next/tools/testing/selftests/bpf/libbpf.a] Error 2

stale


Run the app engine dev server via the app tools lib

@elharo @briandealwis
This PR is afftected by this bug: https://github.com/GoogleCloudPlatform/app-tools-lib-for-java/issues/124

Still trying to fix error with stopping server caused by some server state still being set to "starting" and not "started".

TODO: add test (#287)

LGTM


PT-161759909 Rename aetx:gas/2 to aetx:gas_limit/2

PT-161759909

Pure refactoring - I prefer to defer this. I am taking the liberty of labelling as WIP.


find two serious bugs

1、Bartering can produce all kinds of enchanted books instead of only soul speed
2、Sniffer cause the game to crash when they transform sand or gravel into suspicious blocks

I can confirm about the piglin bartering. Getting all random enchanted books.

loot_table.json
This should be the vanilla piglin bartering json file (1.21.2). Maybe this can be used to update the piglin_bartering.json.

Yeah, thanks. I did use that and already have it updated. Waiting for Carpet to  release to 1.12.3 and then I will update sometime soon.

Bartering bug has been addressed, post an actual error for the sniffer problem if you want it fixed.


Any plan to port RetinaNet to tensornets?

The title says it all :)

I just realized that it is available in Keras so closing this!