Action failed symbol not found

👓 What did you see?
When running release flow on cucumber-scala, the github release publication failed with following errors.
See https://github.com/cucumber/cucumber-jvm-scala/actions/runs/4805890826/jobs/8552939638
Run<EMAIL_ADDRESS>  with:
    github-token: ***
/usr/bin/docker run --name c0442f566cd6f8a3e44718a92d992998e0291_529124 --label 6c0442 --workdir /github/workspace --rm -e "INPUT_GITHUB-TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/cucumber-jvm-scala/cucumber-jvm-scala":"/github/workspace" 6c0442:f566cd6f8a3e44718a92d992998e0291  "***"
Next version: '8.15.0'
Release sha: a3479b3f2e1378ae060a379723ea06eb09fdc902
Error relocating /usr/bin/curl: curl_easy_nextheader: symbol not found
Error relocating /usr/bin/curl: curl_easy_header: symbol not found

It's first time I see this error, it used to work fine and maybe it's a temporary issue.
To be totally transparent, I didn't spend time investigating at all.
✅ What did you expect to see?
No error.
📦 Which tool/library version are you using?
N/A
🔬 How could we reproduce it?
N/A
📚 Any additional context?
N/A

This text was originally generated from a template, then edited by hand. You can modify the template here.

Output of the image building if that helps, I suspect something changed in base layers:
  Step 1/5 : FROM mattwynne/changelog:latest
  latest: Pulling from mattwynne/changelog
  5843afab3874: Pulling fs layer
  496deeb73014: Pulling fs layer
  cb348f60e221: Pulling fs layer
  ec136f529918: Pulling fs layer
  ec136f529918: Waiting
  5843afab3874: Verifying Checksum
  5843afab3874: Download complete
  cb348f60e221: Verifying Checksum
  cb348f60e221: Download complete
  496deeb73014: Verifying Checksum
  496deeb73014: Download complete
  5843afab3874: Pull complete
  ec136f529918: Verifying Checksum
  ec136f529918: Download complete
  496deeb73014: Pull complete
  cb348f60e221: Pull complete
  ec136f529918: Pull complete
  Digest: sha256:f8fdfb737bb6ba79533951f052c48650103ffc76f05b69dbbfb5eee96fe82dff
  Status: Downloaded newer image for mattwynne/changelog:latest
   ---> 4674be62a195
  Step 2/5 : RUN apk add curl
   ---> Running in 586526ae508b
  fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
  fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
  (1/1) Installing curl (8.0.1-r0)
  Executing busybox-1.33.1-r2.trigger
  OK: 25 MiB in 32 packages
  Removing intermediate container 586526ae508b
   ---> b3390733484d
  Step 3/5 : RUN apk add jq
   ---> Running in 017ac956a46f
  (1/2) Installing oniguruma (<IP_ADDRESS>-r0)
  (2/2) Installing jq (1.6-r1)
  Executing busybox-1.33.1-r2.trigger
  OK: 26 MiB in 34 packages
  Removing intermediate container 017ac956a46f
   ---> 805919a5c38d
  Step 4/5 : COPY entrypoint.sh /entrypoint.sh
   ---> 06f92ec5e6cb
  Step 5/5 : ENTRYPOINT ["/entrypoint.sh"]
   ---> Running in dbcd7e8a748b
  Removing intermediate container dbcd7e8a748b
   ---> e5abd88fd62a
  Successfully built e5abd88fd62a
  Successfully tagged 6c0442:423f12f98059429b86b1ac019f9477ba

We should likely not depend on a latest image in the first place (somehow related to https://github.com/cucumber/action-create-github-release/issues/5)

We have a versioned docker image pushed for the changelog image: https://github.com/cucumber/changelog/releases/tag/0.10.0
I'm not sure it will work though because:
Error relocating /usr/bin/curl: curl_easy_nextheader: symbol not found
Error relocating /usr/bin/curl: curl_easy_header: symbol not found

This suggests that we need to run apk update and apk upgrade before installing curl here:
https://github.com/cucumber/action-create-github-release/blob/8568e8cd2b194763db0c68d51a4cf3ec31d37ff2/Dockerfile#L1-L5

I'll definitly have a look on Thursday, but if you can find time before that, please do.

Won't have time to look at it until this weekend and it's absolutely not urgent from my perspective (cucumber scala). It could be though if we need to release any other project that uses it.

Release has been made Renovate should come by with an update soon.


Rendering Jupyter notebooks inside crocoddyl

In GitLab by @cmastalli on Mar 7, 2019, 15:24
In the README file, I added links to the Jupyter Notebooks. I expected that users often click there to have a look on these notebooks. The main problem with this, it's LaTeX code isn't rendered.

In GitLab by @cmastalli on Mar 15, 2019, 17:07
Gitlab 9.1 RC has landed with support for IPython notebook rendering. See this for more information https://gitlab.com/gitlab-org/gitlab-ce/issues/30900

In GitLab by @nim65s on Mar 15, 2019, 18:58
9.1 is one year old, so we should already have this feature.

In GitLab by @cmastalli on Mar 15, 2019, 19:28
@nim65s Do you think we need to add NotebookLab? Please see this https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10017

In GitLab by @cmastalli on Aug 14, 2019, 18:09
I'll close this since it's been a lot time here, and it doesn't seem we'll have tackle this any time soon

In GitLab by @cmastalli on Aug 14, 2019, 18:09
closed

In GitLab by @nim65s on Aug 15, 2019, 09:59
FTR, it already works on github:
https://github.com/loco-3d/crocoddyl/blob/master/examples/notebooks/cartpole_swing_up.ipynb
I still want to debug why it's not working on gitlab, but I don't need this issue to be open for that.
As a more powerful alternative: https://blog.jupyter.org/and-voilà-f6a2c08a4a93

In GitLab by @cmastalli on Aug 15, 2019, 10:11
Ok, let me know when this is available, I would like to check out.
I think voilà could be an interesting tool for the Crocoddyl's website.


Serialize and deserialize VersionReq

Nothing fancy - just copied heavily from the equivalent for Version.
Should solve #119

Thank you!

Thanks. When are you planning the next release?

I'm not totally sure; if you have a strong need for one soon, I could do sooner rather than later.

I was planning to use this for an enhancement to the cargo_metadata crate. It would be convenient to be able to start using this feature soon, but I'm not sure that qualifies as a string need.

I've just released a 0.8.0 😄 👍

Excellent. Thank you.


Add flavors to cigarettes, removes cringe

adds Ephedrine and Nutriment cigarettes
adds 10u TranexamicAcid to Iron cigarettes
packs cigarettes in already existing boxes, changes the label design
removes nasty and mixed variants of Dan's soaked smokes packs

Not merging these unless these are salvage only(and get rid of the nutriment one please its too silly)


fix: Add missing dns zones in relevant policy assignment

Overview/Summary

Related Issues/Work Items
Fixes #897
This PR fixes/adds/changes/removes

Adds all missing dns zones from policy set definition file

Breaking Changes
None
Testing Evidence
Replace this with any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[ ] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[ ] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues
[ ] (ALZ Bicep Core Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Updated one or more of the following tests (if required)

Unit
Linting
E2E (End-To-End)
ValidateAzCloud (Base validation in Azure Cloud)
ValidateMcCloud (Base validation in Azure China Cloud)

[ ] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Wiki Docs etc.)
[ ] If relevant, created or updated Code Tours here

/azp run validateazcloud

/azp run validateazcloud


Track API properties not documented in ReadMe

/live/track/get/clips/color
get&set
arm, color_index, current_monitoring_state, fold_state
are working, but missing in ReadMe
Seems all the above track properties and more also have undocumented listeners (only color, name, arm tested).
Are there undocumented listeners for clips implemented already, too?
I'm not able to "find" listeners in track.py, so I don't know what to look for in clip.py.

Done

/live/track/get/clips/color still missing in ReadMe (Track: Properties of multiple clips).


first version

Here is a first version of the code.
@TheoSabattie, I asked @Mart1t1 if he can help me to review python code.
@Mart1t1 Let us know if you are able to review this code. If not, I let Theo review it.
I leave @TheoSabattie the full responsibility for final merge approval.

Thank you for taking time to develop written ballot generator @Ipuch 👍 ✨ 🔥


Loosen the rate limit restriction in IPAMController

Description

Mitigates #7839.
IPAMController uses the workqueue.RateLimiter for all the actions it takes (mainly GC related), which may wait up to 1000s between each actions it take. Which causes the GC (and the whole control loop) to halt after a few (17) consecutive action failures.
Per design, the workqueue.RateLimiter takes an item as key to make sure the rate limit is applied differently for each retried item. But IPAMController only uses fixed items for ratelimiter.Wait() calls, which means the failure accumulates across all calls.
This change address the issue in two ways:

replace workqueue.DefaultControllerRateLimiter() with a customized rate limiter that cap the max retry wait time to 30s
use fine-grind item for ratelimiter.Wait() calls, so the wait time only accumulates against a single action instead all actions

The test has been done in our cluster by using the same configuration mentioned in https://github.com/projectcalico/calico/issues/7839#issuecomment-1630778815. The GC happened after leakGracePeriod expires. Although it takes roughly 50 minutes to complete, the frozen issue is resolved.

Related issues/PRs
N/A
Todos

[ ] Tests
[ ] Documentation
[x] Release note

Release Note
Prevent GC from frozen when under high GC load

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Xiaoyi Shi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@ashi009 thanks for the PR, this looks like a great improvement!
Before I can merge, you'll need to sign the CLA to make the bot happy.

@ashi009 thanks for the PR, this looks like a great improvement!
Before I can merge, you'll need to sign the CLA to make the bot happy.

Should be ready soonish. What's the release date for 3.27?

@ashi009 I believe we're targeting early November for v3.27.

Close in favor of the new PR, the author who can sign the CLA.


Add some unittests

Some unit tests on base methods added: https://github.com/devopshq/vspheretools/tree/develop/tests


Modify the application.properties What service do I need to restart to make it work

Describe the question
I have created a new workflow, and I have been waiting for the state of the thread when it is executed. I now put the configuration file in application.properties The maximum number of master and worker threads is increased. What services do I need to restart for this configuration to take effect. What will happen if you turn it too high.
Which version of DolphinScheduler:
1.2.1
Additional context
The previous configuration was:
master.exec.threads=100
worker.exec.threads=100
The modified configuration is as follows:
master.exec.threads=150
worker.exec.threads=150
Other configurations have not been modified. Will this have other effects
Requirement or improvement
I hope someone can tell me what service to restart to make the modified configuration take effect, and then tell me about the impact of the reduction meeting

Look inside the source code

master.exec.threads Configuration is called in MasterSchedulerService class.

worker.exec.threads Configuration is called in TaskExecuteProcessor class.

Both master and worker servers need to be restarted to take effect
看源码里面
1.master.exec.threads 配置在MasterSchedulerService类中调用
2.worker.exec.threads 配置在TaskExecuteProcessor类中调用
Master 和Worker server 都需要重启才能生效

That's OK. Thank you very much!


h_long_5

Original NCL script: https://www.ncl.ucar.edu/Applications/Scripts/h_long_5.ncl
Original NCL plots: https://www.ncl.ucar.edu/Applications/Images/h_long_5_lg.png
Issue #345

I am going to play around with the latitude to see if I can find the right one!

I think using isel lat 26 matches? No idea why it is that specifically but the data looks the same.

Updated figure:

I think I found a method of getting the same result without manually selecting the lat
U = ds.U.isel(time=0)
U = U.sel(lat=-16, method="nearest")

produces:

That makes sense! I will change that on my end.

When I make it a multi-line comment block, it fails the pre-commit check. Should I leave it as multiple lines of comments?

When I make it a multi-line comment block, it fails the pre-commit check. Should I leave it as multiple lines of comments?

Yup, that works, sorry about making you change it haha


Fixes the mention logger.

I may replace this with my webhook mention logger instead.

Update didyoumean for Komada 0.20.x Do that now, or are you going to make another PR for that?

SHould be good to merge


Default MaximumRetries with not proper handling of httpwebrequest.getresponse can lead to thread hang

NEST/Elasticsearch.Net version: 2.0.5
Elasticsearch version: 2.4.1
Description of the problem including expected versus actual behavior:
In our environment we experienced strange issue with our machines. They just started to burn all CPU resources and hang.
After investigation we found the place where all our threads hang
After further investigation we also found that maybe HandleException method in HttpConnection doesn't properly handles situation when we got some error in request.GetResponse() and response.GetResponseStream() in HandleException method returns null (looks like underlining tcp connection isn't disposed).
In ASP.NET application ServicePointManager.DefaultConnectionLimit is set to 10.
In your client MaxRetries property in RequestPipeline defaults to int.MaxValue when not configured by user.
What we think happens is - Elasticsearch client uses all 10 connections and don't disposes them properly, connection number 11 established by client hangs in queue waiting when ServicePointManager allows it to be used, CPU is burst to full core usage on that thread.
After we set ConnectionSettings MaximumRetries to 3 all works fine, without cpu burst and hanging.
Our problem was that we used default settings for client.
Many developers that start with your client, start from default settings, and I suggest that it will be good to set default MaximumRetries to 3, so they will not get into similar situation and spend some unnecessary amount of time to figure out what is going on. (3 because ServicePointManager.DefaultConnectionLimit in console app defaults to 3).
The above is only an assumption but I think that it's worth to check it.

Thank you @Spaniol for such a detailed bug report, investigating this now and trying to capture this in a test.

Confirmed we do not handle the case where response.GetResponseStream() returns null in our WebException handling.
As per: http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.getresponsestream.aspx

You must call either the Stream.Close or the HttpWebResponse.Close method to close the stream and release the connection for reuse. It is not necessary to call both Stream.Close and HttpWebResponse.Close, but doing so does not cause an error. Failure to close the stream will cause your application to run out of connections.

We rely on disposing the stream only but in this case we need to forcefully call dispose on response instead.
While running through this spotted another theoretical bug. There is side effect problem when ResponseBuilder has no StatusCode set on it but does have a Stream associated with it. However this should never occur since StatusCode is always set before Stream in HttpConnection. Added tests for this and made sure to make sure this won't introduce a similar problem in the future
Sidenote: If DisableDirectStreaming is set this problem does not exist because SwapStreams always disposes.

Some comments on DefaultConnectionLimit, HttpConnection forcefully sets it to to 10k for the current servicepoint. If you inspect using wireshark or similar you'll see it will never actually get to 10k, I typically see it peak at ~70 after growing slowly, and the tcp sockets are being reused.
The MaxRetries is always bound by the number of nodes in your connectionpool if not explicitly stated.

Digging through the reference source it appears not impossible for GetResponseStream() to return null but also unlikely: https://referencesource.microsoft.com/#System/net/System/Net/HttpWebResponse.cs,405
Can you share more about the type of response/exception you are seeing in these cases?

First of all, thank you, @Mpdreamz , for fast response.
Actually it's first time that i looked into sources of the client, so i know little about how it works in complex. But i cannot find a place in HttpConnection where DefaultConnectionLimit is forcefully set to 10k. About MaxRetries in Request pipeline, it's my mistake and now i see that with StickyConnectionPool that we use it defaults to this.InternalNodes.Count - 1;. We have only 1 node, so i think that for us MaxRetries is 0. Now question - how many times it will actually perform retry with zero in MaxRetries? In BadResponse method of RequestPipeline i can see if (this.Retried >= this.MaxRetries && this.MaxRetries > 0).

@Spaniol we set the connectionlimit here: https://github.com/elastic/elasticsearch-net/blob/master/src/Elasticsearch.Net/Connection/HttpConnection.cs#L78
requestServicePoint.ConnectionLimit defaults to the static ServicePointManager.DefaultConnectionLimit
With 1 node it will not retry by default, the number of nodes in the connectionpool is also the upper cap.
Our cluster failover is to fail fast not to force success, subtle but important difference :smile:
We have some docs on this subject here which are generated from source here
if anything is missing or is unclear let me know as these are a work in progress 👍


ARROW-11930: [C++][Dataset][Compute] Use an ExecPlan for dataset scans

So far this involved a lot of refactoring of Expressions to be compatible with ExecBatches. The next step is to add a ScanNode wrapping a ScannerBuilder

How do you see things evolving? Do you think the various operations achieved by a scanner today will be achieved by an execution plan? For example, will ScanBatches, CountRows, etc. create and execute an execution plan instead of maintaining the dual paths?

I'd like the ExecPlan to be usable enough to replace all filtering and projection currently in Scanner. So for example ScanBatches could assemble an ExecPlan to handle filtering and projection then receive and reorder batches; never needing to explicitly evaluate an expression.
Ultimately, I'm not positive we'll keep Scanner. It's possible we could simplify the dataset module to a factory for source/sink nodes. In that case, anything which currently builds a Scanner would instead produce an ExecPlan. We'll see

@pitrou PTAL

@pitrou I think I've addressed your comments. Could we merge this and address anything else in follow up?

+1, merging


Added sysmondrv.sys allocation to this list

sysmondrv allocation altitude of 385201 was added to this list.

@Jrajwan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add an example for providing msbuild parameters

Summary
Add an example showcasing how msbuild parameters can be set
Fixes #7569

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

@pkulikov Let me know if you have other feedback. Would love to get this in :) I actually had this issue come up today and had to point out in the docs that msbuild params were supported!

@ryzngard LGTM, however, the PR can be merged only after @mairaw, @rpetrusha, or @BillWagner review and approve it.


Infinite loop in parse_datetime when parsing str value "infinite"

Checks

[ x] I added a descriptive title to this issue
[ x] I have searched (google, github) for similar issues and couldn't find anything
[x ] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.7.3
            pydantic compiled: True
                 install path: /Users/aron/.virtualenvs/server-aiohttp/lib/python3.9/site-packages/pydantic
               python version: 3.9.1 (default, Dec 28 2020, 11:24:06)  [Clang 12.0.0 (clang-1<IP_ADDRESS>)]
                     platform: macOS-10.16-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions', 'email-validator']

import pydantic
from datetime import datetime

class Model(pydantic.BaseModel):
    dt: datetime

Model(dt='infinity')   # Hangs forever

Hey this bug was already reported and fixed https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh
Thanks

Oops. I checked and missed on that 😮
Great Thanks!


More Pictures displayed on Screen

Hello everyone :)
I am setting up my first Picture Frame, and as I was testing it, I thought it would be nice to have more than one Image displayed at a time (or 2 if they are in Portrait), like a digital photo wall. The display is quite big, so I think that such a feature would look quite Interesting.
Is there a way to do that or a way I could try to implement it?
Thanks in advance for your help and kind regards
Oliver

Hi @jgodfrey
Thanks for the fast reply, i already did that and it worked fine, my question was more about beeing able to have 5,6 or more pictures displayed at one time, like a digital Foto wall.
Do you know if something like that is also supported ?

Ah, yeah. I misunderstood the question.
No, for multi-image display, the application currently only supports the 2-image "portrait pair" mode. Displaying more images would definitely complicate a number of integral features, including text overlay and matting.

Okay, thank you anyways :)


I can't see where you're getting the numbers for Recovery, for 5 jurisdictions.

Hi,
I can't see where you're getting the numbers for Recovered, for 5 jurisdictions.
I'm using these links as base:
NS
https://novascotia.ca/coronavirus/
QC
https://www.msss.gouv.qc.ca/professionnels/maladies-infectieuses/coronavirus-2019-ncov/
AB
https://www.alberta.ca/covid-19-alberta-data.aspx
NB
https://www2.gnb.ca/content/gnb/en/departments/ocmoh/cdc/content/respiratory_diseases/coronavirus.html
NL
https://www.gov.nl.ca/covid-19/
Please advise.

John

Hi there-- all of these links are the base to where we find the numbers of recoveries. Usually they are posted on the website or they are in the daily press releases or press conferences (so may have to do some exploration on the website).
For the provinces you have linked to:
NS: https://novascotia.ca/news/release/?id=20200329001
QC: http://www.assnat.qc.ca/fr/actualites-salle-presse/conferences-points-presse/index.html
NB: https://www2.gnb.ca/content/gnb/en/news/news_release.2020.03.0164.html
NL: media briefing (https://www.gov.nl.ca/covid-19/)
AB: Chief medical officer updates (https://www.alberta.ca/coronavirus-info-for-albertans.aspx)

Man oh man, they sure aren't making it easy for you...
Thanks for the info.


remove detach mode, for now use ampersand at the end of the command

fix #246

Coverage decreased (-0.1%) to 96.352% when pulling 0149b2b7691e65ca2115abe4bbd9bcef00c4845f on bug/#246-remove-detach-mode into ff334d6056aa0b5df3e4ec13d6934869a1f682de on master.

We want to fix this next sprint, do u think its worth taking it out and putting it back straight away?

Closing as discussed


feat: add centos-like -y assumeyes flag for merge command

useful when building docker image

LGTM


Setup database migrations

https://github.com/vacuumlabs/project-icarus-importer/blob/icarus-master/scripts/generate/blockImporterTables-beta.sql
this could be moved to database migrations of project-icarus importer. The advantage would be that new columns/tables may be easier to add in the future and it would serve as a documentation of the history of the table structure.
I recommend using this library: http://docs.sequelizejs.com/manual/tutorial/migrations.html

closed by #9


fix: fixed query search + state updates

In the recent update to the blog app, we addressed a couple of key usability and functionality issues. First, we improved the state management by ensuring that the hasMore state refreshes dynamically whenever the component updates based on the data. This enhancement allows for a more responsive user experience as it accurately reflects the availability of more content. Additionally, we restructured the user interface by converting a div into a form, enabling users to search queries more efficiently. This change activates the submit button, allowing users to submit their searches using either the Enter key or a combination of Tab + Enter when focused on the input bar. These modifications enhance both the functionality and usability of the app, making it easier for users to interact with the blog content.

this PR closes #3


stop passing in environment variable to host-monitoring container

only one script uses one of these environment variables (scripts/monitoring/cron-send-create-app.py), and the cron job for it is written in a way where the needed environment variable is explicitely passed in before launching it

@kwoodson :+1: #654 in stg


Warning: SPDX license identifier not provided in source file

Should consider this an error -wall

@fulldecent Can you do the PR please?

No, my bad. I was looking at GitHub Actions. Was outdated. Closing.


[Bug]: this function new TouchActions(driver).tap(element locator) It works very slowly.

i have element and i used this function new TouchActions(driver).tap(element locator)  and work correctly and click on this element but It works very slowly.

hello dear, we cannot work on it without the requested items as per the bug template.
feel free to reopen after providing the needed data. meanwhile we will attempt some blind enhancements.
Describe the bug
A clear and concise description of what the bug is.
Link to SHAFT_Engine Console logs
Create a GIST which is a paste of your full console logs, and link it here.
Do NOT paste your full console logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include console logs!
Link to SHAFT_Engine Extent Report HTML
Create a GIST which is a paste of your full extent report .html file, and link it here.
Environment

SHAFT_Engine version that exhibits the issue (Note: We support only the latest release):
Last SHAFT_Engine version that did not exhibit the issue (if applicable):
Desktop OS: [e.g. iOS]
Desktop Browser (if applicable): [e.g. chrome, safari]
Desktop Browser Version (if applicable): [e.g. 22]
Mobile Device Name (if applicable): [e.g. iPhone6]
Mobile Device OS (if applicable): [e.g. iOS8.1]
Mobile Device Browser or Native App:
Mobile Device Browser (if applicable): [e.g. chrome, safari]
Mobile Device Browser Version (if applicable): [e.g. 22]

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots, gifs, or video recordings to help explain the issue you're facing.
Additional context
Add any other relevant context about the problem here.


[DOCU-2177] Deck support for plugin defaults

Summary

Adding sample of plugin default config; removing notes about plugin defaults not being available.
Examples are no longer treated as reference; they are only examples, as values change and docs won't be able to maintain. Instead, they're replaced with examples/instructions for finding the schema for each object and adding them to the declarative config file.

Reason
Plugin defaults will be supported in decK 1.11.
Engineering plugins PR
Other core entities PR
Testing
Haven't tested the feature (need to figure out how to do that with an unreleased version of decK), will need eng review and verification.
Doc preview: https://deploy-preview-3636--kongdocs.netlify.app/deck/1.11.x/guides/defaults/

Maybe it's worth adding a note explaining that users can also decide to statically define the defaults for a subset of entity fields? deck will merge them with the ones coming from the Admin API following the "order of precedence" included in the docs. For example, using the following file:
_info:
  defaults:
    service:
      port: 8080
services:
- name: svc1
  host: mockbin.org

This only overwrites the port field, and further syncs show no diffs.
$ deck sync
updating service svc1  {
   "connect_timeout": 60000,
   "enabled": true,
   "host": "mockbin.org",
   "id": "ce0c22e6-7df8-45ae-a579-2eb539d7a385",
   "name": "svc1",
-  "port": 80,
+  "port": 8080,
   "protocol": "http",
   "read_timeout": 60000,
   "retries": 5,
   "write_timeout": 60000
 }

Summary:
  Created: 0
  Updated: 1
  Deleted: 0

$ deck sync
Summary:
  Created: 0
  Updated: 0
  Deleted: 0

I added a couple of minor comments. Other than that, 💯  !

@falondarville this PR is ready for a copyedit now.


Backspace key does not work

On the last update, to bash.exe version 4.4.12(1)-release (x86_64-pc-msys), the Backspace key does not work correctly in the shell. My OS is Microsoft Windows 8.1 [Version 6.3.9600].

Removing file "~/.minttyrc" fixed my issue.


Importing Failure

I am importing data into the Azure database through SSMS.
I used either " bcp Course in SampleCourseData -S <zoey-database.database.windows.net>.database.windows.net -d <mySampleDatabase> -U <> -P <> -q -c -t ","" and "bcp Course in C:\Users\Eli\Downloads\SampleTableData\SampleCourseData.txt -S <zoey-database.database.windows.net> -d < mySampleDatabase> -U <> -P <> -q -c -t ," . But both gave the erro "The system cannot find the file specified." Can you help me find out why?

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

ID: 2d10956a-5e04-e36e-4525-68850678a7ef
Version Independent ID: 572cdda2-f855-01e4-dfea-989dd3b0c3d0
Content: Load data from CSV file into Azure SQL Database (bcp)
Content Source: articles/sql-database/sql-database-load-from-csv-with-bcp.md
Service: sql-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@pazhuo Thanks for the feedback. We are actively investigating and will get back to you soon.

@pazhuo This is the import command you will want to use:
bcp DimDate2 in C:\Temp\DimDate2.txt --S  -d  -U  -P  -q -c -t  ,
And you will run this from a cmd prompt as illustrated here with this screen capture:

I used SSMS to create the table using the following statement:
CREATE TABLE DimDate2     (         DateId INT NOT NULL,         CalendarQuarter TINYINT NOT NULL,         FiscalQuarter TINYINT NOT NULL     ) ;
After the data load is run, I ran the following in a cmd prompt to verify the dataload:
sqlcmd.exe -S  -d CreateSQLTables -U  -P  -I -Q "SELECT * FROM DimDate2 ORDER BY 1;"
Please let me know if you have any additional questions. Regards, Mike

You get this error message with both bcp and sqlcmd if your password contains special characters.
In this case, use double quotes around the password.
sqlcmd.exe ... -P "p<\#~a\c$ars"

@pazhuo We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[Bug] [FlinkTransform] Flink Transform can't covert BigDeciamlTypeInfo

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Flink sql can't use BigDecimalTypeInfo.
SeaTunnel Version
dev-branch
SeaTunnel Config

env {
  # You can set flink configuration here
  execution.parallelism = 1
  job.mode = "BATCH"
  execution.planner = "blink"
  #execution.checkpoint.interval = 10000
  #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
}

source {
  # This is a example source plugin **only for test and demonstrate the feature source plugin**
  FakeSource {
    result_table_name = "fake"
    schema = {
      fields {
        user_id = "bigint",
        date = "date",
        city = "string",
        age = "smallint",
        sex = "smallint",
        price = "decimal(9,2)",
        price_float = "float",
        price_double = "double",
        last_visit_date = "timestamp",
        cost = "bigint",
        max_dwell_time = "int",
        min_dwell_time = "int"
      }
    }
  }
}

transform {
  sql {
    sql = "select user_id,`date`,city,age,sex ,price,price_float,price_double,last_visit_date,cost,max_dwell_time,min_dwell_time from fake"
  }

  # If you would like to get more information about how to configure seatunnel and see full list of transform plugins,
  # please go to https://seatunnel.apache.org/docs/transform/sql
}

sink {
  Console {}

  # If you would like to get more information about how to configure seatunnel and see full list of sink plugins,
  # please go to https://seatunnel.apache.org/docs/category/sink-v2
}

Running Command
example.

Error Exception
Caused by: org.apache.flink.table.codegen.CodeGenException: Incompatible types of expression and result type. Expression[GeneratedExpression(result$10,isNull$11,,Decimal(9,2),false)] type is [Decimal(9,2)], result type is [GenericType<java.math.BigDecimal>]
	at org.apache.flink.table.codegen.CodeGenerator$$anonfun$generateResultExpression$2.apply(CodeGenerator.scala:379)
	at org.apache.flink.table.codegen.CodeGenerator$$anonfun$generateResultExpression$2.apply(CodeGenerator.scala:377)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
	at org.apache.flink.table.codegen.CodeGenerator.generateResultExpression(CodeGenerator.scala:377)
	at org.apache.flink.table.codegen.CodeGenerator.generateConverterResultExpression(CodeGenerator.scala:295)
	at org.apache.flink.table.plan.nodes.datastream.StreamScan$class.generateConversionProcessFunction(StreamScan.scala:115)
	at org.apache.flink.table.plan.nodes.datastream.StreamScan$class.convertToInternalRow(StreamScan.scala:74)
	at org.apache.flink.table.plan.nodes.datastream.DataStreamScan.convertToInternalRow(DataStreamScan.scala:46)
	at org.apache.flink.table.plan.nodes.datastream.DataStreamScan.translateToPlan(DataStreamScan.scala:90)
	at org.apache.flink.table.plan.nodes.datastream.DataStreamCalc.translateToPlan(DataStreamCalc.scala:73)

Flink or Spark Version
flink
Java or Scala Version
java 1.8
scala 2.11
Screenshots

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

link https://github.com/apache/incubator-seatunnel/issues/2872


Trouble when installing

I'm new to Yii2 and want to add podium to my project, I want to install it via zip file.
I'm stuck at first step, I download the zip file podium 0.7
So do I have to rename it and copy to somewhere? And do I have to change composer.json file?
Then do I have to update main.php of console and frontend?
I've try to change composer.json and 2 main.php file but not download zip file then go to the URL install and this happen.

If someone can help me I will very appreciated. Thanks

Have you followed the instructions?


How to deploy to GCE?

I've read the documentations, but couldn't understand how to deploy my app. Currently it asks Username/Password twice.
I Google's GCE kubernetes. I've already logged in to gcloud on my computer and got cluster credentials using $ gcloud container clusters get-credentials cluster-name.
My app consists of multiple my own services and mongodb, redis.
I'm creating separate spread repo for each service. Currently trying to deploy redis. Here is the structure:
$ tree -a
.
├── .spread
│   ├── .gitignore
│   └── git .....
├── redis.rc.yml
└── rs
    └── svc.yml

11 directories, 8 files

When I do spread deploy . it asks Username and Password. I don't understand what username/password it asks.
$ spread deploy .
Please enter Username: asd
Please enter Password: asd
Please enter Username: asd
Please enter Password: asd
Deploying 2 objects using the default context.
Did not deploy.: could not get 'default/redis-svc' (Service): the server has asked for the client to provide credentials (get services redis-svc)

Command kubectl works fine.

Seems like it doesn't detect the credentials for some reason.
he username/password is likely the username/password for the k8s API.
You can find this in GKE under GKE > Your cluster and then by clicking "Show credentials" on your master node.


Add entryValueReversed && entryValueReversedAsync to RedissonScoredSo…

With unit test passed

Thank you!

Hi, when will u release a new version with this commit?

During next week

Hi, there, when will u release a new version with this commmit?

@weiqiyiji Hi! Sorry for delay, soon :)

@mrniko ok, thank you!


Relax rake gem constraint from <=11.x to <=12.x.

Rake 12 has been released for quite some time. Given this gem doesn't depend on rake per se (it is only required to avoid installing the ffi gem on non-Windows environments), relax the constraint.
To prevent accidental breakage due to a new Rake release, we'll still pin to < 13 for now.
This also required dropping tests for Ruby 1.9, since Rake 12 (which gets installed by default now that we've relaxed the constraint) only installs on Ruby 2.x or newer. This is fine, as Ruby 1.9 reached EOL on February 23, 2015.

The AppVeyor build failure for the branch appears spurious, since the build for the PR succeeded.
Travis build passed. Going to merge.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.

Coverage decreased (-3.9%) to 90.819% when pulling af1b17f5ce5e36d9d310d849e2f09c6e602504fb on relax-rake-constraint into 37e6c0a96a0d3afb78f0cd57568b51d60802ee13 on dev.


WSL instance pauses/suspends process when Windows lock screen

Windows Version
Microsoft Windows [Version 10.0.19044.3208]
WSL Version
WSL version: <IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
rhel7
Other Software
No response
Repro Steps
try reposyncing a repo that you have subscriptions to.
reposync -r rhel-7-server-rpms -p /tmp -m
Expected Behavior
process will run in the background
Actual Behavior
at any point during the reposync pull, lock your screen. process will pause until you log back in. is this by design? I've turned all my power settings to high performance and never sleep.
Diagnostic Logs
No response

/dupe #10285


ads does not run shows cors error

this problem only shows on my pc..Others just work fine..can anyone tell me how to handle this error..and this error happens on edge,firefox and chrome as well and the ads don't play

Hello @sahusambit09 ,
Would it be possible to share any details about your implementation that could help me reproduce the issue on my end?
Thank you,
Jackson
IMA SDK DevRel


Test/feedback invited of attr_json 2.0.0.rc1

A 2.0.0.rc1 release is out.
This is intended to be a fairly painless upgrade, but it does have some backwards incompatibilities. If it's more painful than I anticipated for anyone, I'd love to know, and see if I can help make it easier. And of course I'd also love to hear about any bugs.
Is it possible to get any current users other than me to do some real world testing of 2.0.0.rc1?
The work for 2.0.0 is not currently in master branch, it's currently in dev_v2 branch. You can see release notes here:  https://github.com/jrochkind/attr_json/blob/dev_v2/CHANGELOG.md#200rc1
You should be able to use it in your app just by putting gem "attr_json", "2.0.0.rc1" in your Gemfile.
If I don't hear anything at all from anyone, I may release 2.0.0 final as early as one week from today. But if I hear from anyone, I am happy to delay to give you more time!
I'm hoping some people watching this repo see this, but I'll take the liberty of tagging some people who have recently interacted with the repo via Issues etc.
@JensDebergh , @rekapap, @bemueller , @simmerz, @g13ydson, @petergoldstein  -- do any of you still use attr_json, is anyone interested in testing attr_json 2.0.0.rc1, perhaps just by running your CI against it, etc?
Special users/intermediate dependencies
spina
The only major intermediate dependency depending on attr_json I know of is Spina
Y'all appear to include attr_json with no version restrictions in your gemspec.  That means that when I release attr_json 2.0.0 -- with some backwards incompats -- new spina installs will immediately start using it, and existing spina installs will get it next time they bundle update.
You may want to consider changing your gemspec to specify a major version like "attr_json", "~> 1.0", or (once we release it) "attr_json", "~> 2.0". But that's up to you!
In any event, I'd love to work with you to do whatever I can to minimie any trouble the 2.0.0 release causes for you. Does anyone want to test attr_json 2.0.0 with any spina installs? Or make any other suggestions?
I think @Bramjetten is spina maintainers? Taking the liberty of tagging you.
kithe
Another intermediate dependency is kithe, which i myself maintain... the only user of kithe I am aware of who is not me is @ewlarson.  Eric, do you still work on/maintain https://github.com/geobtaa/geomg?  Are you interested in testing it out with attr_json 2.0.0.rc1?
Current kithe master branch works with attr_json 2.0.0.rc1 while still being a kithe 2.x relesae. I am not sure whether to allow kithe to use attr_json 2.0.0 final while stll being a kithe 2.0.x version, or if kithe should bump a major version to allow the new attr_json. Any thoughts?

This is nice to see! Thanks for continuing to work on this! I’ll check it out and test Spina with 2.0.0. If nothing comes up I’ll add a version specification :)

Heya! I do still work with Kithe (still very useful and helpful for us). I can help test things out. Will be in touch.

Use it quite a bit over a number of projects. Will absolutely run it over our ci

@jrochkind // Okay... I've got a branch of my GEOMG project running Kithe (master) and AttrJson (v2rc1). All of my application tests are passing 🟢. Things look good here for our needs.
The only trouble I ran into was the AttrJson::Record::Dirty error, before I noticed your PR in Kithe and pinned my branch to master: https://github.com/sciencehistory/kithe/pull/160
Let me know if you need any further insight here. Sincerely appreciate your work on these tools!

SpinaCMS is all green! 🟢

I'm thinking of dropping ruby 2.7 before the release -- so only supporting ruby 3.0 and up.
I generally want to support ruby versions as long as I possibly can, and avoid dropping any in a major version if I possibly can. So whatever I launch attr_json 2.0 supporting, I'm going to be stuck with for a while.
ruby 2.7 is EOL on 31 Mar 2023.
I'm inclined to drop it for the attr_json 2.0 release, clean break.
Any feedback or comments welcome.

Oops, I realize that might mean dropping Rails 6.0 for minimum 6.1 too.... not sure Rails 6.0 supports ruby 3.0.

I'd stick to supporting 2.7 as long as it's not actually required to use 3.0 for attr_json.

Thanks for feedback!  The issue is that I don't really want to drop a ruby version without a major version bump, and I'd like to make major version bumps very rare (2.0 is the first one in 5 years?), so releasing with 2.7 support means that I'm kind of soft-committing to try to keep attr_json working with 2.7 for years, so I can't use useful things like the argument delegator ....  But I can potentially support 2.7 for years, it's not necessarily disastrous (glad to have dropped 2.6 though).
@Bramjetten you might have knowledge of a wider range of installs, using SpinaCMS. Do you have a sense of how common it is, at this moment, for people to be still using Ruby 2.7 and/or Rails 6.0.x?

I'd be inclined to support more or less the same versions of Ruby as the Rails team still have under support. And then reduce that if you need features from a higher version to make the library work.
For us, we've got a couple of 2.7 projects that are due to be upgraded soon(ish).
I'd not be averse either to having a major version bump when support ends if you want to ditch it, but even Rails 7.x supports Ruby 2.7 so it's one of those things you probably don't need to think too hard about.
Feel free to ignore the above though - I'm not the one that has to maintain it!

attr_json 2.0.0 has been released!
It supports ruby 2.7+ and Rails 6.0+


[GHSA-v57x-gxfj-484q] Security Advisory for "Log4Shell"

Updates

Affected products
Description

Thank you for the correction to the com.hazelcast:hazelcast vulnerable version range.


ENH: RunEngine as a service

If anyone thinks that "bluesky as a service" will solve a problem that they currently have, here is a workable approach.
This is alpha code, developed in three hours on a whim. I'm putting this out there as is, merely to demonstrate that the bluesky model is amenable to server/client interaction. Use at your own risk.
Model

The server runs a only-slightly-customized RunEngine, configured with a dictionary that maps JSON-friendly tokens like 'motor' to Python Device objects like motor.
The client sends "messages" as JSON objects.
The server decodes these "messages" into actual Msg's and sends them to the RunEngine. It sends the RunEngine's response back to the client (as JSON).

The server/client communication is implemented using the zmq PAIR model: a server in two-way communication with exactly one client.
Capabilities
This server implementation already supports:

adaptive plans
pause/resume/abort
reporting and automatically recovering from arbitrary exceptions in the RunEngine

It does not yet support:

pausing from a suspended state
probably other stuff I haven't thought of

This client is just a quick sketch. Any tcp client that can send JSON is workable.
Demo
The plan (from bluesky/examples/client.py)
plan = [
        # start simple :- )
        {'msg': {'command': 'null', 'obj': None, 'args': [], 'kwargs': {}}},

        # a pause message pauses the RunEngine
        {'msg': {'command': 'pause', 'obj': None, 'args': [], 'kwargs': {}}},
        # and it can be resumed
        {'change_state': 'resume'},

        # objects like motor are mapped with string idenfiers
        {'msg': {'command': 'set', 'obj': 'motor', 'args': [5], 'kwargs': {}}},

        # pause again, and this time abort
        {'msg': {'command': 'pause', 'obj': None, 'args': [], 'kwargs': {}}},
        {'change_state': 'abort'},
        # the RunEngine is idle, but the server is ready to send it new
        # messages and put it back into a running state
        {'msg': {'command': 'null', 'obj': None, 'args': [], 'kwargs': {}}},

        # this raises a TypeError, but the server recovers...
        {'msg': {'command': 'set', 'obj': 'motor', 'args': [], 'kwargs': {}}},
        # ... and this is processed
        {'msg': {'command': 'null', 'obj': None, 'args': [], 'kwargs': {}}}]

This is the stdout from the server. The lines beginning with all-caps are from the server itself; the rest is from a RunEngine.msg_hook.
$ python bluesky/examples/server.py
Server is ready to receive messages.
SENDING: {"state": "idle"}
RECEIVED: {'msg': {'obj': None, 'kwargs': {}, 'args': [], 'command': 'null'}}
null: (None), (), {}
SENDING: {'response': 'None'}
RECEIVED: {'msg': {'obj': None, 'kwargs': {}, 'args': [], 'command': 'pause'}}
pause: (None), (), {}
Pausing...
SENDING: {"state": "paused"}
RECEIVED: {'change_state': 'resume'}
null: (None), (), {}
SENDING: {'response': 'None'}
RECEIVED: {'msg': {'obj': 'motor', 'kwargs': {}, 'args': [5], 'command': 'set'}}
set: (mover: motor), (5,), {}
SENDING: {'response': 'mover: motor'}
RECEIVED: {'msg': {'obj': None, 'kwargs': {}, 'args': [], 'command': 'pause'}}
pause: (None), (), {}
Pausing...
SENDING: {"state": "paused"}
RECEIVED: {'change_state': 'abort'}
Aborting....
SENDING: {"state": "idle"}
RECEIVED: {'msg': {'obj': None, 'kwargs': {}, 'args': [], 'command': 'null'}}
null: (None), (), {}
SENDING: {'response': 'None'}
RECEIVED: {'msg': {'obj': 'motor', 'kwargs': {}, 'args': [], 'command': 'set'}}
set: (mover: motor), (), {}
EXCEPTION RAISED: set() missing 1 required positional argument: 'val'
The RunEngine will be re-started....
SENDING: {"exception": "TypeError(\"set() missing 1 required positional argument: 'val'\",)", "state": "idle"}
RECEIVED: {'msg': {'obj': None, 'kwargs': {}, 'args': [], 'command': 'null'}}
null: (None), (), {}
SENDING: {'response': 'None'}

This is the stdout from the client:
$ python bluesky/examples/client.py
RECEIVED: "{\"state\": \"idle\"}"
SENDING: {"msg": {"args": [], "command": "null", "kwargs": {}, "obj": null}}
RECEIVED: {"response": "None"}
SENDING: {"msg": {"args": [], "command": "pause", "kwargs": {}, "obj": null}}
RECEIVED: "{\"state\": \"paused\"}"
SENDING: {"change_state": "resume"}
RECEIVED: {"response": "None"}
SENDING: {"msg": {"args": [5], "command": "set", "kwargs": {}, "obj": "motor"}}
RECEIVED: {"response": "mover: motor"}
SENDING: {"msg": {"args": [], "command": "pause", "kwargs": {}, "obj": null}}
RECEIVED: "{\"state\": \"paused\"}"
SENDING: {"change_state": "abort"}
RECEIVED: "{\"state\": \"idle\"}"
SENDING: {"msg": {"args": [], "command": "null", "kwargs": {}, "obj": null}}
RECEIVED: {"response": "None"}
SENDING: {"msg": {"args": [], "command": "set", "kwargs": {}, "obj": "motor"}}
RECEIVED: "{\"exception\": \"TypeError(\\\"set() missing 1 required positional argument: 'val'\\\",)\", \"state\": \"idle\"}"
SENDING: {"msg": {"args": [], "command": "null", "kwargs": {}, "obj": null}}

[Current coverage][cc-pull] is 81.08%

Merging [#479][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.66%

@@             master       #479   diff @@
==========================================
  Files            18         20     +2
  Lines          3774       3858    +84
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3085       3128    +43
- Misses          689        730    +41
  Partials          0          0

Powered by Codecov. Last updated by [944b408...68865ff][cc-compare]
[cc-base-branch]: https://codecov.io/gh/NSLS-II/bluesky/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/NSLS-II/bluesky/compare/944b408da73e0c5461f566ee671b83ed6f1a68fa...68865ffd51a4d926a456c77700203538c101d239
[cc-pull]: https://codecov.io/gh/NSLS-II/bluesky/pull/479?src=pr

The other half of this is https://github.com/NSLS-II/bluesky/pull/395 which use zmq to do broadcast Documents, @klauer 's PV publisher which pushes uids to a PV, or something with v4 normative types to broadcast the full documents.
I think with this set of things we can completely pick apart the RE loop. the plan iteration, and the Document handling.

@dchabot Great. Speak up if you take it for a spin and have questions/requests/concerns.

Discussing this with @ronpandolfi have the following proposals:

both sides (client and server) have live ohpyd objects

this can be dicey for synthetic devices as they will not be synced through the ground-truth of the hardware system.
Pseudo devices should be fine as the real axes will be synced which will for the pseudo axes to stay synced

the server owns the device configuration and informs the clients what devices it has by pushing name + pickle to it on connection.
maybe let the client ask for extra signals / devices to be added to the server
need to make sure the server RE state is propogated back to the client (via side-band)
need to add the pause/cancel from suspend logic (via same side-band?)

These ideas are being developed in a separate repository, https://github.com/bluesky/bluesky-queueserver.


would you add or accept a PR to support promise alongside the callback interface?

https://github.com/coolgk/utils/blob/master/oauth-pkce/src/index.ts
export this,
export const getPkcePromise = length => new Promise( ( resolve, reject ) => (
  getPkce( length, ( err, res ) => err ? reject( err ) : resolve( res ) ) ) );

// and default export this to support both promise and callback?
export const getPkcePromiseOrCallback = ( length, cb ) => typeof cb === 'function'
  ? getPkce( length, cb )
  : getPkcePromise(  length );

export default getPkcePromiseOrCallback;

then, use it like this:
import { getPkcePromise } from 'https://cdn.skypack.dev/oauth-pkce';

const { verifier, challenge } = await getPkceCreate( 43 );

most teams require one to use async/await and promises, though I personally do prefer callbacks.

@coolgk thank you for the reply


SCS Release notes for v1.19.1

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://67348fbabfe6c2de802bc5b8--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6735c869a9a4cf23ead1cb5a--harness-developer.netlify.app


Prevent removing the last authentication method

https://discourse.firez.one/t/there-are-no-login-methods/183/3

There are reasons why an admin may want to disable login. Closing for now.


invalid PRETRIAN model link

Hi, thanks for sharing the codes. It seems that the pretrained vit checkpoint link is invalid, Could you share it again?

Sure. I have updated the link in the README file.


Data line generation too slow

Data lines take about 20ms each to generate. Must be reduced to under 15ms for  60 hz operation.

I believe locking down the gps timing may improve this by several ms

Have created a class to quantify the times.


CCD-255 Mid event callbacks silently failing

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CCD-255
Change description
Mid event callbacks silently failing
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

I'll re-approve as target branch is changed to master.


Update Developer Guide

Things to include

Target user profile, value proposition, and user stories: Update the target user profile and value proposition to match the project direction you have selected. Give a list of the user stories (and update/delete existing ones, if applicable), including priorities. This can include user stories considered but will not be included in the final product.
Use cases: Give use cases (textual form) for a few representative user stories that need multiple steps to complete. e.g. Adding a tag to a person (assume the user needs to find the person first)
Non-functional requirements: Note: Many of the given project constraints can be considered NFRs. You can add more. e.g. performance requirements, usability requirements, scalability requirements, etc.
Glossary: Define terms that are worth recording.

Just updated the Target user profile, value proposition and user stories (under #27) for DG.
@anchengyang Could you update the remaining sections for the developer guide?

Just updated the use cases and added 1 more NFR as well @harin0826
Maybe we can leave this issue open because along the way we will need to keep updating the developer guide. Alternatively, we could close this once someone has approved and merged my commits, followed by reopening a new one in the future when changes need to be made. What do you think?

Hi, just looked through the merged commit and it looks good!
I agree with leaving the issue open as you said, we will need to keep updating it. However, it seems that the automatic grading system that tracks our tP progress seems to require us to close the issue first, so why not we close this one first since it has met the requirements for our v1.1 and open a new issue for v1.2 and future iterations?

Oh alright shall close this issue then!


[Story] Azure Administrator can manage updates of TRE Instance

Description
As an Azure Administrator I would like to be able to update the deployed infrastructure and code within an Azure TRE instance, either manually or using CI/CD.
Acceptance Criteria:

[ ] The Azure Administrator is able to manage updates to deployed infrastructure and code within an Azure  TRE instance.

@adishachar can we be a bit more specific here, what does it mean to manage updates to deployed infrastructure? where, how and why?

Merging into #141


[2010-11-01] ComponentSet lacks any kind of onchange triggers

created by: @sminnee (sminnee)
created at: 2010-11-01
original ticket: http://open.silverstripe.org/ticket/6157

Right now there is no way to add a trigger that is called when ComponentSets have items added to them, removed, or their extradata modified.
We want some way of adding triggers for these events.  There are a few ways of doing this:

Call onRelationChanged triggers on the relevant DataObjects
Subclass ComponentSet and apply the triggers to the subclasses

The former is probably the most appropriate. onRelationChanged($relationName, $changes) could be a good general pattern; we would need to find a useful way of summarising the changes that were made to the relation.

To add: extension points to:

add
remove
setByIDLIst

I did a quick review of points where a trigger for change might be relevant. I omitted the scope of DataList, so I have listed the inherited method in the subclass scope below. Here are the methods:
RelationList

forForeignID
foreignIDFilter

HasManyList

add
remove
removeByID
removeMany
removeAll
setByIDList
filterByCallback

ManyManyList

add
remove
removeByID
removeMany
removeAll
setByIDList
filterByCallback

ManyManyThroughList

add
remove
removeByID
removeMany
removeAll
removeByID
setByIDList
filterByCallback

While I was reviewing, some questions came to mind:

Do we want to catch changes when a foreign key is set e.g ManyManyThroughQueryManipulator::setForeignKey()?
Do we want to invoke a trigger every time something like add() is called by a higher-level method such as setByIDList()? Or do we only want to trigger once in a scenario like that?

Wow, raised in 2010. Sometimes ticket triage feels more like archeology! Thanks for outlining
To answer your questions, IMO:
"Do we want to catch changes when a foreign key is set e.g ManyManyThroughQueryManipulator::setForeignKey()?"
No. I believe that setForeignKey is more about configuring the relation, so I don't believe it should trigger an onRelationChanged.
"Do we want to invoke a trigger every time something like add() is called by a higher-level method such as setByIDList()? Or do we only want to trigger once in a scenario like that?"
In general I think that there should be ways of tying a single event handler to a 'batch' of changes. From memory, I think a lot of performance issues in, say, composite-object-versioning, are made worse by the lack of such a feature.
However, for some implementations it may be desirable to implement a single-record handler and have the system call it multiple times. I'd want to think that through further, though – it may get messy.

@sminnee how integral would the relation name (component name) be in the onRelationChanged($relationName, $changes)?
I'm guessing it's quite integral because it's the only thing that provides significant context.
The RelationLists don't have access to the component name within their existing scope. Assigning it during constructor changes the ORM API, and because DataLists are "immutable" setting the component name via a mutator doesn't have a strong precedent. Also, assigning the relation name for lists created by DataObject::inferReciprocalComponent() and ManyManyThroughQueryManipulator::getParentRelationship() is less relevant, but leaves some unexpected behaviour from the change trigger if it's ever utilised in that context. And as far as I'm aware, a reverse lookup of the component name is only possible by parsing a $belongs_to config.
Basically, having the relation name on hand at the time of the change trigger is not impossible, but not trivial either.
I have enough insight that I could provide a working prototype. Let me know if that would be useful.

Here's a WIP (still needs unit tests and docs)
https://github.com/silverstripe/silverstripe-framework/compare/4...jakxnz:pulls/4.6/relationlist-triggers
I've used an "observer" pattern (not the SPL pattern), to try and keep the RelationList meta as light as possible. It also means the Injector can govern if the observer is configured, which also makes the overhead optional.
The resulting usage pattern looks something like:
mysite.yml
SilverStripe\Core\Injector\Injector:
  SilverStripe\ORM\Observer\RelationListObserver:
    class: Silverstripe\ORM\Observer\RelationListChangeObserver

MyDataObject.php
class MyDataObject extends DataObject {

    ...

    /**
     * @var array
     */
    private static $has_many = [
        'OtherDataObjects' => OtherDataObject::class,
    ];

    ...

    /**
     * @param $relationName
     * @param $changed
     */
    public function onRelationChanged($relationName, $changed) {
        // $relationName == 'OtherDataObjects'

        // $changed == [
        //   1 => [
        //     'className => 'SilverStripe\ORM\DataObject',
        //     'id' => 1,
        //     'extraFields' => [
        //        'fieldName' => 'value',
        //     ],
        //     'type' => 'added',
        //   ]
        // ]

       ...
    }

    // and/or

    /**
     * @param $changed
     */
    public function onOtherDataObjectsChanged($changed) {
         // $changed == same as above

        ...
    }

}

Also, this issue doesn't feel like effort/easy, but maybe I'm over-engineering.
Is this in the right direction?


Instruct users to checkout v0.0.4 tag for examples

What
Instruct users to checkout v0.0.4 tag for examples.
Why
We tried having a dev branch but it became a more significant overhead than I think we should maintain. @MonsieurNicolas also pointed out these repos don't have snapshots and so we're adding tags to these repos anyway. To lower our overhead we should just lean on the tags. With these changes to the docs it is not so bad an ask for users and arguably not the most complex thing contract developers will come up against.

Preview is available here:http://soroban-docs-pr107.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr107.previews.kube001.services.stellar-ops.com/


Exported HTML content width to percentage

Thanks for the great plugin. Will it be better to use percentage in exported html file instead of fixed 800px?

It now follows the strategy ChatGPT used


Fix text functions by specifying argument types

I thoroughly checked approach with sql replacement in as_postgresql method for django Func objects and discovered serious problem. This approach will not work in case of using nested functions.
Example can be found in db_functions.text.test_substr.SubstrTests.test_expressions:
Substr(Upper('name'), StrIndex('name', V('h')), 5)

Will produce following SQL:
SUBSTR(UPPER("db_functions_author"."name"), STRPOS("db_functions_author"."name", %s), %s), params: ('h', 5)

And code will replace all %s with %s::integer(see Substr class), which will lead us to typing error.
So I've decided to focus on providing types for psycopg3, rather than modifying sql. Current implementation is a bit hacky and certainly questionable, but I hope the idea behind it is generally right.
To fix Concat function in nested function case using this approach, we need somehow force psycopg3 use text type instead of unknown (with the wrapper like Int4, I guess).
P.S FAILED (failures=32, errors=68, skipped=399, expected failures=8), -35 errors!

I think providing a Text wrapper is a good idea. Can you make one, "inspiring" to the Int ones, try to use it a bit, and see if it makes writing the adapter easier?

I think providing a Text wrapper is a good idea. Can you make one, "inspiring" to the Int ones, try to use it a bit, and see if it makes writing the adapter easier?

I think providing a Text wrapper is a good idea. Can you make one, "inspiring" to the Int ones, try to use it a bit, and see if it makes writing the adapter easier?

Sure, will try to figure it out in my fork!

I think providing a Text wrapper is a good idea. Can you make one, "inspiring" to the Int ones, try to use it a bit, and see if it makes writing the adapter easier?

Sure, will try to figure it out in my fork!


fix: limit subtitle of project to roughly 50 characters

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3821

PR #3823

PR #3824

PR #3825   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


[Identity] upgrade the msal dependencies due to security issue in jsonwebtoken

Packages impacted by this PR
@azure/identity
Issues associated with this PR
There's a CVE associated with this for jsonwebtoken vulnerability- https://nvd.nist.gov/vuln/detail/CVE-2022-23529
Describe the problem that is addressed by this PR
Upgrading the msal dependencies due to security issue in Auth0's  jsonwebtoken library, which is a dependency of msal-node. The latest versions of msal libraries depend on the fix released by jsonwebtoken library version 9.0.0
Checklists

[x] Added impacted package name to the issue description
[ ] Added a changelog (if necessary)

Could you please merge latest main here? I don't expect changes in our lockfile.

Also, could you update the changelog?

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-identity

/azp run js - identity - ci


[Bug]: RAG Engine readme has an incorrect link

File Name
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/rag-grounding/README.md
What happened?
This line should have a link to the RAG Engine + VVS notebook. (btw great work on the notebook! shared with the VVS PM).
https://github.com/GoogleCloudPlatform/generative-ai/blob/86f4e0b263631bf5452178c553b8e9bea8af1f3d/rag-grounding/README.md?plain=1#L101
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed in https://github.com/GoogleCloudPlatform/generative-ai/commit/ddce39ac071f3a24eb322e69c5d4d092d5880f7c

Thanks!!


Use new ways

Hello, I want Inventor to add a feature for use on macOS. That can make easy when I'm using mac.

think you for help.


Design APIs to integrate Stripe coupon

This issue might involves:

Tables that connect users and coupons
APIs related to invited users, and the state of invitations
APIs related to coupon management

create shared coupons

Revise subscribe API for applying coupon

Points to be clarified:

if options of coupon's duration are limited, is it possible to use pre-prepared coupon provided by Matters? In that way, we might not need to implement coupon management at this moment.
Is there any use case that use is able to re-apply coupon?

Nice work, and it's under development.


Investigate how to validate Seurat v3 RDS uploads

Per the Corpora Schema:
Corpora requires submitted count matrices and associated metadata to be in one of three formats: AnnData, Loom, or a Seurat v3 RDS. Other formats are rejected. Each of these formats has a way to include metadata along with the count data, so a submission can be entirely contained within a single file.
Seurat files are handled via an R package which means that if we write our validators and any other tools in Python, we run into an issue with not being able to apply them to .rds files._
I can think of two options thus far:

Convert Seurat files to either Loom or H5AD and run the tools on the converted file. Pros is that we have a single toolkit, cons is that the conversion may or may not be successful and/lossy. Marcus mentioned that if you try to convert Seurat to Loom and haven't run FindVariableGenes, then the conversion will fail.

We duplicate the toolkits in R. We'll have to look into something like rpy2 to be able to unify the two flavors. Pros is that we will be able to natively handle Seurat objects, cons is that I haven't had great experience working with rpy2 in the past and we'll need to duplicate code to some extent in two languages.

My proposal here is to investigate option 2 and figure out how buggy rpy2 actually is by implementing a PII checker (because the primary thing that is blocked is writing the validator which occurs before file format conversion) for Seurat and then making a decision by how finicky it was to set up and execute.

Here's a helpful thread on how scientists are doing it today: https://cziscience.slack.com/archives/CCTA8DF1T/p1594830704081300

Removing from the Launch the cellxgene.cziscience.com data portal with migrated datasets M1 epic. It's not required for M1 launch, but is required to enable download stories in M2.

Per the September 22 Refinement, moving to the Product Backlog to complete the in-progress epic.

@mckinsel - I'm not certain how to stage this issue since there are pending questions in the top-level summary comment.
I'm in the process of defining smaller slices for the upload stories - Publishers want to upload a .h5ad|.loom|.rds dataset to a private collection from dropbox|google drive|local machine - so this issue could be a blocking dependency on  Publishers want to upload a .rds dataset to a private collection from dropbox. but I'm also unclear on the plans for validation - moving from the required use of the cellxgene CLI prior to upload to upload of all formats and validation in the service.

Closing until self-publication stories return to the roadmap.


luci-app-commands: show hint in status page if no entry defined yet

If no commands are defined yet, you only see an empty box, not knowing whether there happened an error not displaying anything, machine still busy, ...
This patch adds the standard message "This section contains no values yet" for better user guidance.

See comments in #4019

The markup is still not quite correct


Using RegEx leads to crash

Using RegEx leads to crash in Project Reunion and same works fine with WinUI3 Project templates
Sample:
RegEx issue.zip
Visual Studio Version: 19.10 Preview 1.0
Windows Version:

Update: The same works fine with Microsoft Windows Version 20H2

run the sample and click the button where simple regex condition code added.
once clicked the button app crashed with below error

Note: The same code works fine with WinUI3 Preview4 and not working with Project Reunion.

Dupe of #599, same stack.

Closing as dupe of #599


Can't import viewer on Arch Linux

Every time I try to from dm_control import viewer, Python throws the follow error
>>> from dm_control import viewer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/dm_control/viewer/__init__.py", line 22, in <module>
    from dm_control.viewer import application
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/dm_control/viewer/application.py", line 23, in <module>
    from dm_control import render
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/dm_control/render/__init__.py", line 62, in <module>
    Renderer = import_func()
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/dm_control/render/__init__.py", line 38, in _import_osmesa
    from dm_control.render.pyopengl.osmesa_renderer import OSMesaContext
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/dm_control/render/pyopengl/osmesa_renderer.py", line 41, in <module>
    from OpenGL import GL
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/OpenGL/GL/__init__.py", line 4, in <module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 14, in <module>
    from OpenGL.raw.GL.VERSION.GL_1_1 import *
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/OpenGL/raw/GL/VERSION/GL_1_1.py", line 7, in <module>
    from OpenGL.raw.GL import _errors
  File "PYTHON_INSTALLATION/lib/python3.7/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module>
    _error_checker = _ErrorChecker( _p, _p.GL.glGetError )
  File "PYTHON_INSTALLATION/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
    func = self.__getitem__(name)
  File "PYTHON_INSTALLATION/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libOSMesa.so.8: undefined symbol: glGetError

which seems to be caused by PyOpenGL's incompatibility with mesa-18.2.3-1 on Arch Linux. I've open an issue on PyOpenGL here: https://github.com/mcfletch/pyopengl/issues/18
but I'm wondering if anyone else has run into this issue. If so, how did you get around it?

See https://github.com/deepmind/dm_control/issues/55#issuecomment-434503122. OSMesa is a non-starter as far as the viewer is concerned, since it requires GLFW rather than OSMesa  (OSMesa is only supported for offscreen rendering on Linux).
By default the render module tries to import the GLFW backend first, then falls back on OSMesa if GLFW is not available. Some possible explanations for this are missing shared libraries or X11 not being available. What happens if you try to force the GLFW backend by setting MUJOCO_GL=glfw when launching your interpreter?

Awesome, I didn't know that render first tries to import GLFW. I installed GLFW3 and it works fine now without having to change MUJOCO_GL. Thanks so much!


Fix flags

@gmridul Please sign the CLA in order to continue.

👋 We've migrated the site's framework to Hugo. Please re-open this PR with changes to files in their post-migration location (/content/en/docs/...).


kinetis/hal_gpio.c: Fix hal_gpio_init_out

This PR fixes hal_gpio_init_out, which is not setting the initial value to the configured pin.
There has also been removed a port_pin_config_t instance, since the only port configuration needed in this case is the multiplexer.

For some reason the CI also run on the branch (seems like a branch was pushed upstream). I just went forward and merged because I had to actually fix the same issue this morning.


RUM-985 Only send Webview RUM events when Native Session exists and is tracked

What does this PR do?
The rule is that a browser RUM session should be tracked as part of the host application's session. This means that if the native session is not tracked, or if the RUM feature is not enabled, then the webview RUM events should be dropped.

Codecov Report

Merging #1626 (27c542b) into xgouchet/RUM-985/1_propagate_rum_context_as_string (6464702) will increase coverage by 0.07%.
The diff coverage is 63.64%.

@@                                  Coverage Diff                                   @@
##           xgouchet/RUM-985/1_propagate_rum_context_as_string    #1626      +/-   ##
======================================================================================
+ Coverage                                               83.67%   83.73%   +0.07%
======================================================================================
  Files                                                     452      452
  Lines                                                   15660    15664       +4
  Branches                                                 2327     2330       +3
======================================================================================
+ Hits                                                    13102    13116      +14
+ Misses                                                   1937     1930       -7
+ Partials                                                  621      618       -3

Files Changed
Coverage Δ

...iew/internal/rum/WebViewRumEventContextProvider.kt
70.00% <25.00%> (-18.89%)
:arrow_down:

...id/webview/internal/rum/WebViewRumEventConsumer.kt
80.56% <66.67%> (-1.13%)
:arrow_down:

.../android/webview/internal/rum/domain/RumContext.kt
100.00% <100.00%> (ø)

... and 14 files with indirect coverage changes


nice but shaky

The camera is vibrating or something, either it's orbiting the car when you first start, or the car is vibrating and turning around. Very strange, running 3.0.2 stable official,

ok seems to be the car itself shakes and rotates slightly if you don't move, when first starting.

Yes, this is a known issue in the vehicle body simulation. I haven't had time to look further into it, hopefully Odino and I will have some time soon to figure out what can be done about it.

this problem comes to 3.0.2 version
Ive tried this demo in 3.0.1dev version and this problem doesnt appear

Hey @vrai17 , please check in 3.0.3 RC1, we did do some fixes in Godot itself that should improve some of the final shakiness we had.
Though for me it was working well in 3.0.2 after the fixes we applied to the project itself.


JAMES-3618 Support LDAP for JPA guice based apps

Includes:

JPA App
JPA-SMTP App

I would tend to agree.
At the very least for Sieve and MailRepository related classes. RRT, users and domains can in my opinion be considered some kind of identity components.


Remove 'unknown help topic!' response as we only have one help topic

It's annoying if other bots have useful help topics that we don't know about :)

Fixed in a39a298.


Feature/waterbutler

Purpose

Add Treebeard and Waterbutler

Changes

Use Treebeard for files grid, project organizer, folder pickers
Use Waterbutler for addon CRUD & metadata operations
Incorporate style changes from @brianjgeiger and @caneruguz

Side effects

File operations offloaded to Waterbutler

@caneruguz The "Remove from folder" button on the project organizer should have a confirmation dialog.

@caneruguz When renaming a project on the project dashboard, the name in the treebeard section updates, but the name in the top controls section does not update:

@caneruguz Dragging and dropping components without moving them to a new folder produces an error:

@caneruguz In the project organizer typeahead, the suggestion text is misaligned:

The "Remove from folder" action should not have a confirmation dialog (well, unless we're changing functionality). That's essentially a non-destructive action, unlike deleting a folder. If you were doing that, you might as well add one for moving items as well.

" In the project organizer typeahead, the suggestion text is misaligned"
Is this a browser issue?  I can't replicate it locally.

@brianjgeiger Valid point. Though it's possible that a user might be alarmed when one of their projects disappears, especially when projects and folders look similar. Perhaps add some indication--maybe a tooltip--that indicates that clicking the button will not delete anything?
@caneruguz Saw the issue on Chrome 40.0.2214.91. Just tried on Firefox 34.0.5, and the suggestion text does not display at all.

@sloria I talked with @caneruguz about the display issue, he sees it.
For the projects disappearing, this is the same behavior as we've had since the start. I think if we haven't had complaints yet, it would be best not to change it at this point. We do still need to sit down and do an upgrade to some UX stuff related to the project organizer, but we're trying to keep feature parity for this release unless there's a strong reason to change.

@brianjgeiger Sounds good. I don't have strong opinions about that issue, and it's an easy change either way; definitely doesn't need to be addressed before this is merged.

:+1:

Closing this now. Let proceed with fixes and code review on #1540


errors in go standard library runtime

What version of Go are you using (go version)?

go version go1.13.5 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/xxx/.cache/go-build"
GOENV="/home/xxx/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/xxx/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/xxx/qqq/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build840764954=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Tried to build my code which is working in go version 1.13.4
What did you expect to see?
Expected my code to build successfully
What did you see instead?

# runtime
/usr/local/go/src/runtime/map.go:65:2: bucketCntBits redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:64:18
/usr/local/go/src/runtime/map.go:66:2: bucketCnt redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:65:23
/usr/local/go/src/runtime/map.go:77:2: maxKeySize redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:74:17
/usr/local/go/src/runtime/map.go:83:2: dataOffset redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:83:4
/usr/local/go/src/runtime/map.go:94:2: evacuatedX redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:91:19
/usr/local/go/src/runtime/map.go:95:2: evacuatedY redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:92:19
/usr/local/go/src/runtime/map.go:96:2: evacuatedEmpty redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:90:19
/usr/local/go/src/runtime/map.go:97:2: minTopHash redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:93:19
/usr/local/go/src/runtime/map.go:100:2: iterator redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:96:16
/usr/local/go/src/runtime/map.go:101:2: oldIterator redeclared in this block
	previous declaration at /usr/local/go/src/runtime/hashmap.go:97:16
/usr/local/go/src/runtime/map.go:101:2: too many errors

Did you unzip a new go version over a directory containing an old version, by any chance? I believe you must clear out the previous version before installing the new version (or have unique paths per version, etc)

Yeah this happens when you unzip a new version over the old one without deleting the old folder.
Please rm -rf /usr/local/go and try to reinstall Go from a clean state. Closing here, but feel free to comment if the error persists.


Add Postman 10.9.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The older version 10.9.0 is no longer available.
Should we consider using the https://dl.pstmn.io/download/latest/win64 in the installer URL instead and use the auto-updater take care of the update?

The older version 10.9.0 is no longer available. Should we consider using the https://dl.pstmn.io/download/latest/win64 in the installer URL instead and use the auto-updater take care of the update?

That's not a bad idea if the publisher removes previous versions regularly and retains only the latest one. However, I do see that many Urls for previous versions are working, so there may be value in keeping the previous versions which would not be possible if we were to start using a vanity Url as you suggested.

That's not a bad idea if the publisher removes previous versions regularly and retains only the latest one. However, I do see that many Urls for previous versions are working, so there may be value in keeping the previous versions which would not be possible if we were to start using a vanity Url as you suggested.

I agree. This is actually the first time I see them removing the previous version. Another interesting behavior from their links is that many patch releases are not directly accessible through a download link, e.g. https://dl.pstmn.io/download/version/10.8.1/win64, only the the minor releases, e.g. https://dl.pstmn.io/download/version/10.8.0/win64.
@mdanish-kh, for version 10.9.0, what would be the side-effect of deleting it from the repository?

@mdanish-kh, for version 10.9.0, what would be the side-effect of deleting it from the repository?

Not much really. If it's Url is not accessible, it should be removed from the repo. winget source will update and users would be getting the previous "latest" version. (in this case 10.8.0 until this PR is merged).
However, I don't think 10.9.0 should be removed as I can still install it through winget install postman. This could be the case similar to https://github.com/microsoft/winget-pkgs/issues/70469#issuecomment-1218684399 where this URL would return 404 from the browser, but you could still get the package through WinGet (winget install gpu-z).

I can't install version 10.9.0 through winget anymore. Running winget install Postman.Postman -v 10.9.0 gives me an error.


Reimplement state synchronization in frontend for nestable schedules

This PR prepares the frontend for implementation of the Event Synchronization application-level protocol layer by refactoring the frontend's implementation of the State Synchronization protocol layer (but without changing the State Synchronization protocol specification), specifically:

By refactoring and generalizing store/controller/saga.ts's sendAll generator function for a more generic State Synchronization protocol implementation
Otherwise, the concepts and schedule configurations for the State Synchronization implementation are the same as in #398.

This PR also refactors and reorganizes the protocol implementation code into a file/folder structure which is more consistent the structure used in the backend and firmware, fully separates transport-level protocol code from application-level protocol code, and makes the protocol implementations more generic.

@rohanpurohit For this PR, let's merge after you test this to look for any regressions, including performance or CPU usage regressions on the RPi with the refactored backend and the refactored frontend running together (the refactored backend has been merged from develop onto this branch).
For records-keeping:

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes
Were any of these contributions also part of work you did for an employer or a client? No
Does this work include, or is it based on, any third-party work which you did not create? No

I didn't suspect a performance drop, it's just that the two ways I can think of to catch implementation errors for the output schedules are:

Inspecting the sequence of sent events, to see if the order of events is incorrect. I already did this and it looked fine to me.
Checking whether events are being sent at an incorrect rate. If the rate is too high, it would probably cause a performance drop; if the rate is too low, there would probably be too much latency from the frontend to the backend. However, we can check this more directly by just printing the current time together with the event when it's sent, to see if they have the correct timing.

The other thing is that these refactors makes the software a bit more complicated, so if that extra complexity caused a performance drop then we'd need to reevaluate; but it sounds like we're fine.


RegisterAgent with hostname

Transfer the agent hostname to the server's model.agent.Name field.
Previously the autoscaler had to create the agent with the server and get a unique token to pass to the agent at boot up. This allows to get the right name for the agent while using the shared master agent token at agent boot up.
Both ways are still supported.

I have no secure way to transfer a unique token to the instances I create in my autoscaling setup on Google Cloud.
My autoscaler then has no way to identify which woodpecker agents have which agent ids.
So this would solve that problem by saving the mapping in the woodpecker server.

It only updates the hostname if it is already empty.

PS: thanks for adding tests :heart:

Do I need to do anything extra to get this merged?


Recover optimised model parameters as a dictionary?

As a minimal example, lets say we have something like this (the real situation is custom modules which contain other modules, hence the flatten). If I look at flat_model obviously this holds the optimised values of Z and U, but they aren't labelled, where as the treedef_model holds labelled the structure.
I presume I am missing something really simple here, but I want to construct a dictionary of the resultant optimised params so that I can feed them into another model.
import equinox as eqx
import jax.numpy as jnp
import jax.tree as jtu
import optax

class Test_Model(eqx.Module):

    Z: jnp.ndarray
    U: jnp.ndarray

    def __init__(self,
                 params):

        self.U = params['U']
        self.Z = params['Z']

    def __call__(self, *args, **kwargs):
        ...do stuff

params = { 'Z': jnp.zeros((10, 2)), 'U': jnp.zeros((10, 1)) }

model = Test_Model(params)
opt_init, opt_update = optax.adabelief(LR=0.01)
opt_state = opt_init(eqx.filter(model, eqx.is_array))
flat_model, treedef_model = jtu.tree_flatten(model)
flat_opt_state, treedef_opt_state = jtu.tree_flatten(opt_state)

@eqx.filter_value_and_grad
def compute_loss(model, data):
    ...some loss

@eqx.filter_jit
def make_step(flat_model, data, flat_opt_state):
    model = jtu.tree_unflatten(treedef_model, flat_model)
    opt_state = jtu.tree_unflatten(treedef_opt_state, flat_opt_state)
    loss, grads = compute_loss(model, data)
    updates, opt_state = opt_update(grads, opt_state)
    model = eqx.apply_updates(model, updates)
    flat_model = jtu.tree_leaves(model)
    flat_opt_state = jtu.tree_leaves(opt_state)
    return loss, flat_model, flat_opt_state

for step in range(100):
    loss, flat_model, flat_opt_state = make_step(flat_model, data, flat_opt_state)

# Recover the values of the model parameters from the flat model
# such that I have a dictionary in the form of original "params"
opt_params = ????
# such that opt_params = {'Z' : ..... ' , 'U' : .....}

Something like:
...  # all of your code

model = jtu.tree_unflatten(treedef_model, flat_model)
opt_params = {"Z": model.Z, "U": model.U}

?
Alternatively you might wish to save params directly inside Test_Model.__init__ (with a self.params = params), and then you can just write opt_params = model.params without needing to know which parameters to extract.

The first way, is what I am currently doing. But I wondered if there was a smarter way in which I don't have to hard code these, rather something like iterating over the PyTree of the model and build the dictionary from there?
Part of the reason is that in my real scenario, I have modules inside modules and there are params which  are automatically initialised (and then optimised). And if alter the model slightly to try a different module, I don't want to have to hard coded calls to parameters as they will change.

Why do you need to build a dictionary in the first place? A dictionary is a pytree of values. But Equinox models are also just pytrees of values! You could probably just pass around your model instance instead.
There's no way to get both a value and a "path to it" for arbitrary pytrees, since custom pytrees can define their leaves in arbitrary ways. But if all you're interested in is Equinox Modules then you can use dataclasses.fields to get a list of all of the fields of a instance. Doing that is usually a code smell, though.
If you just need the values but no "path to them" then you can use jax.tree_util.tree_leaves.

I want to use some of the optimised parameters from one model to initialise the parameters of another. However, the structure of these models is different.
My thinking was if I could pull out all the trainable parameters and their optimised values into a dictionary, I could trivially select the subset of ones I require as initialisation values for the second model.