Managed Policies no longer work after ECR changes

It appears that https://github.com/buildkite/elastic-ci-stack-for-aws/pull/167 has introduced a bug to and now managed policies no longer work.
Stack updates with a comma delimited list now produce this error:
Value of property ManagedPolicyArns must be of type List of String
I have a copy of a prior stack and the diff between them looks like this:
$ diff -uN stack.json buildkite-stack.json
--- stack.json	2016-11-18 14:37:18.000000000 +1100
+++ buildkite-stack.json	2016-11-22 09:06:49.000000000 +1100
@@ -113,17 +113,36 @@
     "IAMRole": {
       "Type": "AWS::IAM::Role",
       "Properties": {
-        "ManagedPolicyArns": {
-          "Fn::If": [
-            "UseSpecifiedIamPolicies",
-            {
-              "Ref": "ManagedPolicyArns"
-            },
-            {
-              "Ref": "AWS::NoValue"
-            }
-          ]
-        },
+        "ManagedPolicyArns": [
+          {
+            "Fn::If": [
+              "UseSpecifiedIamPolicies",
+              {
+                "Ref": "ManagedPolicyArns"
+              },
+              {
+                "Ref": "AWS::NoValue"
+              }
+            ]
+          },
+          {
+            "Fn::If": [
+              "UseECR",
+              {
+                "Fn::FindInMap": [
+                  "ECRManagedPolicy",
+                  {
+                    "Ref": "ECRAccessPolicy"
+                  },
+                  "Policy"
+                ]
+              },
+              {
+                "Ref": "AWS::NoValue"
+              }
+            ]
+          }
+        ],

This looks to be the cause:
https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/templates/buildkite-elastic.yml#L242
ManagedPolicies changes from a hash to an array.
cc:
@lox

😱
Sorry about that!

Is this fix deployed to S3 yet? - I am still getting this issue right now...

Apologies, not yet, will get this fixed shortly and update docs on how to
refer to old stacks.
On Tue., 22 Nov. 2016 at 3:22 pm, Paul Van de Vreede <
<EMAIL_ADDRESS>wrote:

Is this fix deployed to S3 yet? - I am still getting this issue right
now...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/buildkite/elastic-ci-stack-for-aws/issues/173#issuecomment-262144100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA9jjjy-Gg7uxwpXe8FAm0zLmM54zpdks5rAm37gaJpZM4K4xXl
.

Just pushed a fix out for this, can you let me know how you for @pvdvreede?

Is this up in S3? I just tried to update using the latest stack at https://s3.amazonaws.com/buildkite-aws-stack/aws-stack.json and had the same issue: IAMRole - UPDATE_FAILED - Value of property ManagedPolicyArns must be of type List of String


ci: add semantic release for automated versioning

:tada: This PR is included in version 1.0.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Access Declined Errors on Configure Page/Tab

Summary

Mass Action Scheduler has been working without issues for a long time, as of a few days ago, which I suspect had to do with the most recent SFDC Release, when I go to a Mass Action Configuration, I get 3 errors across the top of the page that is in the Configure Tab of the record. I can see the Record Detail and other tabs just fine, but the custom page in the Configure Tab returns errors. This happens to myself (I originally set up the application) and all other System Administrators.
Version of Mass Action Scheduler

2.400
Steps To Reproduce

List steps that cause the issue
Go to any Mass Action Configuration Record
Screen shots are also helpful
Screen-shot of errors:

Expected Behavior

No errors and have the Configure Page load as normal
Actual Result

See screen-shot
Source Type

[ ] Reports
[ ] List Views
[x ] SOQL Queries

Action Type

[x ] Process Builder & Flows
[ ] Workflow Rules
[ ] Email Alerts
[ ] Quick Actions
[ ] Apex

Does your configuration use Named Credentials?
No

I am getting the same thing in my org.  We are however using Named Credentials.

Go to setup > CORS
Add
https://.force.com
https://.salesforce.com
https://*.visualforce.com
https://github.com/douglascayers-org/sfdx-mass-action-scheduler/issues/160


Different times on different times of the week?

This is awesome!
However, we have a split lunch, and different year groups have lunch at different times on different days. Is it possible to update the settings file to have different lesson times on different days of the week?
Thank you for allowing the world to use this!

Hi @lonroe
You may be able to achieve this using the current version. Say there are 5 periods per day, with different timings on Tuesdays and Thursdays (for example). Then in the settings file you should define:

Periods 1-5 with the lesson timings for Mondays, Wednesdays and Fridays
Periods 6-10 with the lesson timings for Tuesdays and Thursdays

Then when creating the input files, you'll need to replace, for example, 1Tue:1 with 1Tue:6 and so on. This way, The period 6-10 timings will be used instead for those days.
You may need to run the tool separately with slightly different settings for each year group, depending on exactly how things work at your school.

That sounds a great idea!
Will the period labels become P6 etc?
If yes, is it possible to use the "renames" part of the settings.json to convert P6 to P1?
If I can just get the csv files out of my MIS this looks to be awesome!

Good point. Probably best to fork the project and edit the title declaration to:
string title = $"P{(period - 1) % 5 + 1}. ";

This will wrap period 6 back to period 1, and so on.


Initial i18n baseline + cellphone translation

Adds in the infrastructure for localization via gettext, using a language default configurable via application.cfg. Planned future updates will allow language setting to be overwritten by user's specific default locale.
Includes translation for CELLPHONE in en_US and en_AU. Additional translations can be added to the .po and .mo files in portal/locale/.

Hey Adam,
Looks great but it appears something broke in the job that tests documentation building (See TOXENV=docs in the job list for the build). (You can ignore the first failing job, I've emailed Paul about it)
You should be able to run the same part of the test suite by calling tox -e docs (after activating your virtualenv). Hopefully it's a relatively minor fix but please let me know if you need anything; the docgen test is intentionally fragile to catch warnings/syntax errors.
Also, you may want to consider adding a single test to ensure translations are working. A test in one simple case would be enough to know translation functionality is working. Again, let me know if you need help setting one up.
Thanks for taking a crack at this!

I'm not able to reproduce the doc breakage Ivan mentioned.  The changes look good - I'm going to go ahead and merge this pull request.
Thanks for getting us started here Adam.


[SA] Health bar is shifted to the right relative to armor and breath.

Health bar is shifted to the right relative to armor and breath.

1.0 US Compact
Silent's ASI Loader 1.3
SilentPatch 1.1 Build 33.1
Widescreen Fix (ThirteenAG) May 12, 2019

Armor and breath bars do not increase over time. Yes, the health bar increases as the game progresses, based on the player's actions (eating, working out, increasing stamina), so I think that's how it is, I'm assuming you're at the beginning of the game.

Widescreen Fix (ThirteenAG) May 12, 2019

Update your widescreen fix and check again. And check the same without the widescreen fix too.

Nothing changed with latest developer build of Widescreen Fix (Dec 13, 2024).
Without widescreen fix, the HUD looks like this:

1920x1080x32
Much better, but there is a difference of one pixel. The fist icon has become square.

800x600x32
The problem persists on the standard game resolution.

OK, that looks good enough to me. Just a note though - the "standard" resolution for the game is 640x480, not 800x600, and I suspect there it'll look just fine. It's likely only very slightly different and the differences surface when scaling up, like on your 800x600 screenshot.

When I deleted ASI loader and gta_sa.set, the game started at 800x600 resolution.
640x480 was the default resolution for III and VC as far as I remember.
In SA you can select 640x480, but even here the health bar is displayed shifted.
I think this problem is similar to the first save file when his empty.

When I deleted ASI loader and gta_sa.set, the game started at 800x600 resolution.

Yes but the UI elements are laid out for 640x480 and scaled up, so 640x480 should be used as a reference resolution for UI scaling in San Andreas too.


Steps required to train a StyleGan-XL for a custom dataset

What would be the steps required to train the network for a new dataset like the Visual Wake Words?

Hello, have you completed the training on your own dataset? If it is implemented, please let me know what needs to be noted. Thank you in advance!

Sorry, I did not finish the training. I ended up using another GAN architecture.

Thank you for your answer. I have another small request. Could you please let me know which open source code it is? Thank you!

I've used this framework to implement my GAN https://github.com/POSTECH-CVLab/PyTorch-StudioGAN/tree/master


Auto-add engine on target creation if only one engine type defined

When creating a target in the configuration editor UI, it is necessary to first create a target (such as cRIO), then to create an engine on that target.  This step seems redundant if there is only one engine type available for the user to choose from, and we know that the user must add an engine to further configure the target.
Can we auto-add the engine to a newly created target if only one engine type is possible?  I expect this will be the standard experience for a new (and probably most existing) framework users.

I think we may have multiple engines or even other types of services to add under a Target in the near future. The auto-add logic isn't a bad idea, but it may not get used for long. There may also be cases where it is confusing if the intended plugins aren't installed. Could creating template configurations be a good alternative for solving this problem? Users could go to File>>New and see multiple options instead of just getting a blank configuration.

@Beazurt - I haven't seen much in the way of other engines/services happen in the last year.  I'd like to get this feature into the 1.2 release, just as a developer convenience.


Fix body matcher for chunked requests (fixes #734)

Fixes #734

Codecov Report

Merging #739 (e69b10c) into master (4f70152) will decrease coverage by 0.54%.
The diff coverage is 66.66%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #739      +/-   ##
==========================================
- Coverage   90.52%   89.98%   -0.54%
==========================================
  Files          28       28
  Lines        1794     1838      +44
  Branches      322      338      +16
==========================================
+ Hits         1624     1654      +30
- Misses        135      140       +5
- Partials       35       44       +9

Impacted Files
Coverage Δ

vcr/matchers.py
84.61% <66.66%> (-10.74%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @hartwork !


Display docker command line output. This also ensures the process output...

Changes to the DockerNativeClient so that the process buffer does not get full and hang the process.waitFor() blocking call for large docker builds. It also shows the progress of the docker build during its execution.

Any plans to make a release with this issue resolved?
We are kind of blocked on issue #37 "docker build task is hanging" and I guess that the code committed to dev as described above solves this issue.
Regards,
Magnus.

I am running into this issue in Windows. Any updates into when this fix will be released?
Thank you,
Marco

We're also having this problem - on Windows systems, the build hangs.  We still have a lot of developers working on Windows laptops, and will for the foreseeable future.  Any update on when the fix will be included in a release?

+1

+1 Is there a roadmap for new releases?

No roadmap, but a next release is near. Some final issue to look over and verification to be done.

This PR has been open for 3 years.  Is this repo dead?

Can you release it..?


wrangler login got stuck

🐛 Bug Report

Environment

operating system:Ubuntu 20.04
output of rustc -V:
output of node -v: v14.15.1
output of wrangler -V: 1.13.0
contents of wrangler.toml:

name = "my-project"
type = "javascript"
account_id = ""
workers_dev = true
route = ""
zone_id = ""
Steps to reproduce
Upon installation of wrangler and an attempt to obtain token 'wrangler login' command gets stuck with a message 'waiting for API token'
'wrangler whoami' results in following message => Error: config path does not exist /home/ubuntu/.wrangler/config/default.toml. Try running wrangler loginorwrangler config``

What did you expect to see?
I expected to get authenticated
What did you see instead?
wrangler login gets stuck waiting for an API TOKEN

Thanks for reporting this! Going to link to another issue, which seems to report the same issue you're having: https://github.com/cloudflare/wrangler/issues/1703


Feature/gcp support

Support for storing files in Google Cloud Storage.

Added GCPRemoteStorage class that implements RemoteStorage
Added support in lazydata CLI for adding a remote, but not for creating credentials. I feel this is job best left done to Google's client, but I'm happy to discuss further.

Hey, thanks very much for this - looks very good!
Re: setting up credentials. Agreed, I've only added it for AWS because it was easy to do, but I appreciate that there are more steps than simply providing the keys.
Will review in more details in the evening and hoping to merge soon.

oops, forgot to update circleci, will make another commit.

Hey @rstojnic, to fix circleci tests I'll need to pass some google cloud related environment variables to the build, including a secret. Let me know how you want me to pass them to you.

Hey @rstojnic, to fix circleci tests I'll need to pass some google cloud related environment variables to the build, including a secret. Let me know how you want me to pass them to you.

I'm not sure if I'm comfortable with taking your credentials! I think there is a way of passing them securely into circleci, but I'm worried they might get leaked out accidentally at some point.
My suggestion would be to maybe somehow mark these tests as requiring extra setup so we can exclude them from the circleci run. One idea is to use the @pytest.mark.skipif decorator to detect a CircleCI run through an environment variable, but open to other suggestions!
I'll run all tests locally on my machine with my credentials when I do releases to make sure nothing is broken for a release. I'll have to do something similar for AWS anyways.

Fair enough, I created credentials specifically for this project that only have access to a single bucket, but I agree that it's a little unnerving. I'll mark them as skipif instead.


[BEAM-5817] Use an explicit enum for naming Nexmark benchmarks

The "Nexmark" queries are numbers 0 through twelve. Only 1 through 8 are actually from the original Nexmark suite. It makes sense because the data set is so convenient that we might have many interesting queries and use cases to build.
Preparing to add more, I wanted to stop just making up numbers and start giving them names.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

Could also be a string all the way through. It hardly matters, that.

@kennknowles Thanks for your work. I finish a thing on the spark runner and I start the review before the end of the week

@kennknowles I'm doing a spark runner break :) so I can take a look at your PR

OK, please have another look. I didn't rename all the Java classes (yet?) but I could.

This is perfect ! I did not think about searching the names in the original nexmark paper. Well done ! Renaming the java classes is not needed I think because they are referenced all over the place nad maintainers know them by their numeric names.

I started to work on that, but I noticed that actually the query name is not this one, but it is the NexmarkQuery.getName() which is the string passed here: https://github.com/apache/beam/blob/master/sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/queries/Query0.java#L41

Hmm I mean the table name isn't that so I am wrong.

OK I have made the table have the same name. I rebased to resolve some conflicts.


Adding the new Confluent Official Provider

This is a different provider to the confluent provider

I need to self merge this - the metadata was merged automatically and without this, it will cause the site to break


Potentially add periodic speedtest / wifi strength test?

Could be interesting to periodically do a speed test (or perhaps on-demand) on the connection as a way to debug crappy internet connections?
And could possibly add a wifi strength/quality check.
Maybe overkill though I dunno...

Interesting idea. We could use something like "speed-test" or even run our own "iperf" tests.

Alot of the work for this is already done here - https://github.com/robputt/ConnTestD, mostly a copy and paste job 😂


History: do auto discovery of device_trackers and show history for these.

Nathan, may I ask you to elaborate?
Is it about "gather all device_trackers & show them on a map"?
Some remarks:

Some integrations (like BLE) create tons of device_trackers; these entities may be not needed on a map.
A custom auto-entities card of Thomas Loven works fine with the ha-map-card; it creates a list of needed entities (could b persons, device_trackers, zones, sensors with coords - according to defined criteria) and then passes these entities (or dicts - including required per-entity options) into ha-map-card.


Incorrect validation of string.binary and string.uri

From @Stephen-Gates

@roll I'm not sure if the string binary validation is working correctly

not 100% sure on uri validation. It is correct that in the table below that row 16 is valid and row 17 isn't?

I confirm that binary validation is broken. Base64 strings end with 0, 1 or 2 '=' characters. It's incorrect to assume that they always end with "==". The bug had been introduced by https://github.com/frictionlessdata/tableschema-js/pull/121.

Fixed in https://github.com/frictionlessdata/tableschema-js/pull/161


[MM-38216] Add multiteam mentions and saved posts

Summary
Previously, channel mentions and saved posts only showed you the results for the current team. This PR makes it possible to show for several teams.
Saved posts should work fine with any server version for normal users. Sysadmins will be shown messages from channels/teams they are not members from, which may create some bugs. Those are addressed in this PR: https://github.com/mattermost/mattermost-server/pull/18380
Multiteam mentions require changes in the server, which are in this PR: https://github.com/mattermost/mattermost-server/pull/18371
The teamname when all the following conditions are met:

We are not looking into the pinned posts (they are all from the same channel, so the information is redundant)
The user has more than one team membership (if the user only belongs to one team, the team name is redundant)
The post is neither from a DM or a GM (DMs and GMs are independent from the teams)

This PR would open the path to allow multi-team search both in front and back end. We just need to clarify how do we specify the team or all teams in the search query.
Known issues:

Technically is possible to open a thread from a different team, but I worry about the unexpected implications this may bring. Therefore, I removed the reply button from any post that is not in the current team.

Ticket Link
https://mattermost.atlassian.net/browse/MM-38216
(Also related) https://mattermost.atlassian.net/browse/MM-8459
Related Pull Requests
Server: https://github.com/mattermost/mattermost-server/pull/18371
Screenshots

With and without reply button

Long name error

Release Note
Recent mentions and saved posts now show across all teams.

Adding Marina (@Rina-dsg) as the reviewer here since she did the design work.

@Rina-dsg please help provide some guidance on alignment and text size as it looks a little off:

Maybe I am missing something, but I took the opacity, size, and weight from figma. For the | I am using the | character, not sure if you prefer / use other way to create that separation. Also, the | character is along the team name, so the size, weight and opacity is the same. I can separate that if needed.

@larkox it should be the same element and text size as we use here

@hmhealey re-requesting your review since I addressed your concern and I added several tests.

Also, feel free to add whoever you find relevant as a second reviewer.

@jgilliam17 Regarding the testing of this PR, it will be slightly complicated. There are two server PRs that address different issues that should be merged before this PR is completely testable. The two PRs are:

Limit saved posts to channels you are a member of (https://github.com/mattermost/mattermost-server/pull/18380)
Allow search across teams for recent mentions (https://github.com/mattermost/mattermost-server/pull/18371)

Not sure if you are able to test with these PRs on, or do you prefer to wait for them to be merged.

@jgilliam17 Regarding test cases, here are a few that I can think of:

If you are a member of a single team, you never see the team name neither on searches, recent mentions or saved posts.
If you are a member of several teams, you will always see the team name on searches, recent mentions and saved posts.
You never see the team name on channel pinned posts.
On saved posts, you have posts from all your teams.
(Need server-18371) On recent mentions, you have posts from all your teams.
Search is still limited only to the current team.
Pinned posts should see no changes.
(Need server-18380) If you save a post in a channel, and leave that channel (or team), you will not see the post on saved posts unless you join the channel / team again.

@jgilliam17 Regarding the testing of this PR, it will be slightly complicated. There are two server PRs that address different issues that should be merged before this PR is completely testable. The two PRs are:

Limit saved posts to channels you are a member of (Only consider flagged posts that are on channels you are member of mattermost-server#18380)
Allow search across teams for recent mentions ([MM-38216] Add API endpoint and adapt search to allow multi-team search mattermost-server#18371)

Not sure if you are able to test with these PRs on, or do you prefer to wait for them to be merged.

@larkox If it's ok with you, we can add QA deferred to server PRs and note that they will be tested by the QA on the related Webapp PR after merge

Waiting the following PRs before testing:
https://github.com/mattermost/mattermost-server/pull/18380
https://github.com/mattermost/mattermost-server/pull/18371

/update-branch

Thanks @larkox, apologize about delay in getting to this PR
Looks great, seeing one issue when editing team name
If team name changes from e.g. "new" to "new1" using Jump to from saved posts list takes you to "Team not found". Note that the new name change is reflected in the UI and team sidebar.

There is also an error, that I am not sure about how to reproduce. I was using this PR test server on the related mobile PR build and found the error afterwards. I think I may have re-joined a channel as sysadmin by using Jump to from saved list

@jgilliam17 Found the error. The problem is that I was mixing the display name (to show to the user) and the team name (to use in the URL). This is relevant only for webapp, since the logic in mobile is slightly different.
Should be ready to re-review now.

/update-branch

@larkox The channel renaming issue is resolved, looks good.
I don't see the changes from the server PR 18380 here on the test server. Do I need to do anything else?
Sysadmin can see the saved posts from the channel they no longer belong to on refresh. It's possible I missed this during server PR testing.
https://user-images.githubusercontent.com/52937121/135481995-35e3ce1e-e102-452e-8118-a53bd38b56b6.mov


scaffolder: extract ui:* fields from conditional fields.

With this change the ui:* schema config is extracted also for the then and else branch of a conditional schema.
Example schema:
parameters:
  - title: Fill in some steps
    properties:
      useUser:
        title: Use existing User
        type: boolean
    if:
      properties:
        useUser:
          const: true
    then:
      properties:
        user:
          type: string
          ui:field: EntityPicker
          ui:options:
            catalogFilter:
              - kind: User
    else:
      properties:
        name:
          type: string
        email:
          type: string

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Do not close. Still waiting for review.

@Rugvip Is there any plan to review this PR?

@Andy2003 not until now :sweat_smile: somehow the GitHub automation failed to add it to our project board. Fixed that and will have a look in a bit


STYLE: Add an ITK KW Style overwrite file.

Add a ITKKWStyleOverwriteFile.txt file to override the KW Style and
pass/skip the style check.

Note that I assumed that the ITK prefix has to exist in the filename. Please correct me if I'm wrong.
Not sure why CI is failing in this case.

Done in 702d393. Sorry, thought that when finding an empty file it would just override the default ITK KW style and basically apply none of its rules.


object_store: different behavior from aws cli for default profile

Describe the bug
Object store doesn't use the default profile in ~/.aws/config

To Reproduce

compile with flag aws_profile
Have [default] section in ~/.aws/config
No AWS_PROFILE value
object store ignored the content in [default]

Expected behavior
object store uses the [default] section for s3 even if there is no AWS_PROFILE in the environment variables

Additional context
Maybe related code position:
https://github.com/apache/arrow-rs/blob/master/object_store/src/aws/mod.rs#L1040

What happens if you set AWS_PROFILE=default, is this an acceptable workaround?
I'm struggling to devise a way to achieve this without potentially breaking downstreams in unpredictable ways, we only want to use the aws-config credentials (used to provide AWS_PROFILE) if explicitly opted into by the user. As feature flags should be strictly additive, they are insufficient to gate this functionality.

It's acceptable workaround, but I also hope there is a warn message when I expect the default profile without the environment variable set but object_store decide not.

FYI https://github.com/apache/arrow-rs/issues/4163 might provide a mechanism for users to opt-in to AWS CLI compatibility, by using the CLI to generate the credentials

label_issue.py automatically added labels {'object-store'} from #4238


actionlib needs patch

/actionlib/library.py", line 170, in _message_to_yaml: if type(msg) in [int, long, float, str, bool]: needs change to if type(msg) in [int, float, str, bool]:

I wonder if we should really try to patch melodic enough to work reasonably with python 3 or if we should just rebuild wiht python 2.7?
Or maybe we should have both versions available, at least, and say that py 3.6 is more experimental.

I think python3 with melodic would be one of the big selling points for conda with Ros. We might run into issues with the python2 build, too, especially as packages aren't built by default with python2 on conda forge anymore. But we certainly will run into more of those issues. Not sure what's the best way forward :(

This particular case could be patched with: https://github.com/ros/actionlib/pull/169


⚠ Bofrost.ch has degraded performance

In ce55f63, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1347 ms

Resolved: Bofrost.ch performance has improved in 2e7b3e3.


Bug report:

Browser: Brave [Version 1.46.153 Chromium: 108.0.5359.128 (Official Build) (64-bit)]
OS: Win 10 LTSC N
UI/UX:

Trash, bubble, pin icon clickable area needs to be bigger. (often misclick)
Needs checkbox for links within a session folder. (imported from onetab and needs cleanup but only one session)
Hovering on 'Delete from session' dialog after hovering trash icon does not hide dialog

Cannot quickly delete multiple links upwards

Bug:
Cannot click on Trash, bubble, pin icon after using filter

We will improve the UI and filter feature, thanks for your suggestion.


chore(deps): cleanup

Fixes #

Codecov Report

Merging #23 (c2881ef) into main (424ff58) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           54       133   +79
  Branches        12        25   +13
=========================================
+ Hits            54       133   +79

Impacted Files
Coverage Δ

src/index.ts
100.00% <0.00%> (ø)

function/index.ts
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Feature Request: Autocomplete+ provider support for as you type suggestions

https://atom.io/packages/autocomplete-plus
Their autocomplete as you type works pretty well and it would be nice to plug in as a provider to take advantage of that. Not sure if it would mean re-inventing the way the language service is built.

Hi! This plugin should work just fine with autocomplete-plus. I.e standard tags and attributes should appear in autocompletion menu along with normal JS symbols.


Ask for edits on Personal Projects post

https://docs.google.com/document/d/10obdIdEPpFRS2n6XR6elvI6FWFAy_arMsVIbWAmrUSY/edit
Ask Serdar for edits.

I think I'm going to leave this page as-is for now.


Documentation: add copy button to code blocks

Using the button, you can copy textual content of code block to clipboard.

Codecov Report

Merging #1198 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1198      +/-   ##
============================================
+ Coverage     94.26%   94.32%   +0.06%
  Complexity      455      455
============================================
  Files             2        2
  Lines          6674     6661      -13
  Branches       1793     1792       -1
============================================
- Hits           6291     6283       -8
+ Misses          105      101       -4
+ Partials        278      277       -1

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/picocli/CommandLine.java
94.16% <0.00%> (+0.06%)
314.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Merged, and pushed the rendered HTML.
This is very nice! It is subtle but a very nice enhancement for users.
I like this a lot! Thanks for the contribution again!


Add a new package for easy interaction/changes with shell

The new package name can be shellutils/consoleutils. Minimum wanted functionalities:

CRUD operations on $PATH variable - Ref: https://github.com/projectdiscovery/pdtm/tree/main/pkg/path
Identify default shell profiles
CRUD operations for console aliases

Probably not needed at current time since only pdtm performs shell interactions, it can be reopened in the future - Closing


Use lint-staged and husky to auto-format some files on commit

Progress on #311.
It doesn't cover Java, Kotlin, and Python files, for example, but it's a start.

This only runs prettier on commit right?

Yep! Note that you'll need to run yarn for this to become enabled.


MVP-2 Landing Page

User Statement
As a Web User, I want access to a landing page where I can orient myself to the site so that I can quickly understand what the site has to offer me.
Engineering Response
We will design a simple landing page suitable for the first iteration of the web system. This landing page will provide the user with a simple header and a blank backdrop against which blog posts can be placed.
Technical Breakout

Create a header
Load the header with the domain name christianwestbrook.dev
Link the name back to the landing page
Style the header and domain name
Style the background

Acceptance Criteria

A minimalist landing page has been designed and made available to the engineering team for deployment

Created a landing page with a simple header and simple styles. The landing page will support the development of a blog feed.


Step-Generators-Auth Bad Link

The "guides" link in the "What's Next?" section of the guide to adding authentication via generator is bad.
It currently points at https://docs.feathersjs.com/guides/authentication/readme.md
Looks like that's supposed to be https://docs.feathersjs.com/guides/auth/readme.html

Closed via #557


bump versions

@Lloople Can you please merge this? :pray:  I have the same problem with php 8.1/8.2

Sorry for the delay! I missed the GitHub notifications 🙏🙏🙏


try to find type if not in typeCache v2

improved version of #747
Sorry for my mistake. I still have 21 tests which are failing. But these tests never reach code which I changed.
Could you please test again if the tests are now fine on your side?

Thank you. I will check them out.

Yes, this one worked fine, thanks!


[BUG] Ended because API returned an empty page

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Screenshots / Logs
If applicable, add screenshots and or copy log to help explain your problem.
Paste logs here

Affects (Add an X to items that apply)

[ ] DMs
[ ] DM Groups
[ ] Channel
[ ] Channel (NSFW)
[ ] Server (All Channels)
[ ] Other (explain)

System:

OS: [e.g. Windows 10, macOS 10.15.0]
Browser [e.g. chrome 69, firefox 42.0]

Script was running fine, then stopped and kicked back this error Ended because API returned an empty page.
It is now happening no matter what i do. Updated, reinstalled, refreshed, still happening.
Any help would be appreciated!

Try looking for the last message you sent, copy its ID, and then put it in the "Messages before:...".

Try looking for the last message you sent, copy its ID, and then put it in the "Messages before:...".
I did this about 40 minutes ago, it's working perfectly now.


Faucet and test consolidation

Changes user account funding flow from needing to be provided before chain genesis to a new faucet account that is included in genesis and used to fund user accounts in the test cases as needed
Refactors to spin up one pair of chains for use in all existing relayer test cases to reduce test suite overhead

RelayerTestCaseConfig struct for defining test cases: Name, RequiredRelayerCapabilities, PreRelayerStart, and Test
RelayerTestCase struct for runtime caching, since Users and tx hashes may be constructed during PreRelayerStart, but referenced later in the assertions in Test
Consolidates packet relay assertions into two methods: testPacketRelaySuccess (for testing that sent packets should and are relayed) and testPacketRelayFail (for testing that sent packets that should not be relayed due to timeout are not relayed)
Adds thread safety to ChainNode transaction methods

It's interesting the syncronization complexity this strategy has added for the benefit of hopefully less flaky, quicker tests.

Agreed. I noticed, for example, adding the timestamp timeout capability to the relayer causes all of the tests to fail, because the v2.0.0-beta4 relayer errors on the timestamp timeout and then will not process any of the other packets. But I think it's okay because you can still run the tests in isolation if necessary to dig into an issue that is caused by test pollution, and the test errors still clearly pointed to the timestamp timeout being the source of error across the board. And I think it's also good to test that the relayer can handle all of the different packet types being in the queue together.


Bump version requirement for json-schema

Fixes #439
(This is not yet a released version, so builds will naturally fail.)

This bump might be unnecessary, but, as earlier versions are known to cause #439 in PHP 7.2 and later, this change makes sure that #439 goes away for good.

I'm fine with the bump. I've restarted the build :)

The package didn't get to the Packagist for some reason.

Looks like it's on Packagist now, so in theory this should work if re-run. 🤔

Will make it pass in #443

release in 3.8.2


ReproLake

Still working on the ReproLake details for this course. Will be using a StarDog instance. the students will push (well, curl) their results to a specific database and 'named graph', and then we will eventually figure out what to do with all these graphs, to support a mega and meta analysis across the students.
@jgrethe is working on the appropriate 'curl's, and the specific volume queries we'd want

@jgrethe gave me the following 'curl' example:

For the CURL here is the command you can try:
curl --location --request POST 'https://stardog.scicrunch.io:5821/Repronim_Dev?default'
--header 'Content-Type: text/turtle'
--header 'Authorization: Basic cmVwcm9taW46WU1YZzdYbDRIWE53aFdu'
--data-binary<EMAIL_ADDRESS>Within CURL you should be able to replace the header authorization with the username and password.
curl -u username:password ...
Cheers,
Jeff

This operated without error, but I've yet to be given a way to query what I've done to actually see a result...


DropwizardResourceConfig Logs Paths that Do Not Work

During application startup applications get a log with a list of paths for configured resources:
INFO  [2024-06-26 23:08:21,960] io.dropwizard.jersey.DropwizardResourceConfig: The following paths were found for the configured resources:

    GET     /nested/path (ski.komoro.example.resources.NestedResource)
    GET     /nested/path/ping (ski.komoro.example.resources.PingResource)
    GET     /nested/path/ping2 (ski.komoro.example.resources.Ping2Resource)

However, if those resources conflict or jersey does not handle them, the resources return a 404 at run time.
Example Access Logs:
<IP_ADDRESS> - - [26/Jun/2024:23:08:22 +0000] "GET /nested/path HTTP/1.1" 404 43 "-" "Jersey/3.0.12 (Apache HttpClient 5.3.1)" 38
<IP_ADDRESS> - - [26/Jun/2024:23:08:22 +0000] "GET /nested/path/ping HTTP/1.1" 200 4 "-" "Jersey/3.0.12 (Apache HttpClient 5.3.1)" 8
<IP_ADDRESS> - - [26/Jun/2024:23:08:22 +0000] "GET /nested/path/ping2 HTTP/1.1" 200 4 "-" "Jersey/3.0.12 (Apache HttpClient 5.3.1)" 2

In larger applications, it can be hard to tell exactly which resources are at fault for the error and seeing the misconfigured endpoints in the startup logs makes things difficult.
I would prefer if the application threw an error on startup if resources are not configured properly, but given that is likely the domain of Jersey, it would be nice if the DropwizardResourceConfig class did not log resources that do not work. I do not know if that is possible, but perhaps jersey has an api that exports all registered endpoints?
I've setup a sample application based on the DW Archetype, which will reproduce the stated issue during a mvn clean install and fail an integration test which attempts to do a GET on the logged resources.
https://github.com/JKomoroski/resource-log-example
Reviewing the 3 resource classes in the project is an easy way to see how I've intentionally misconfigured the application resource classes.

Hi @JKomoroski. The 'Jersey-way' would be to use sub-resources in your application to avoid conflicting paths at different root-resources. The logged endpoints by dropwizard are declared endpoints, not handled endpoints. If Jersey doesn't want to handle an endpoint, it was still declared by the application. If the implementation changes to handle those endpoints, we shouldn't filter them in our code.
If I understand you correctly, a non-working endpoint is a Jersey Resource conflicting with the path of an other Resource. You could implement a detector for this behavior somewhat like this:
public class OverlappingPathValidator extends AbstractResourceModelVisitor {

    private static final Logger LOGGER = LoggerFactory.getLogger(OverlappingPathValidator.class);

    private final Map<String, Resource> resourceMap = new HashMap<>();

    @Override
    public void visitResource(Resource resource) {
        validateResource(resource);
        resource.getChildResources().forEach(childResource -> childResource.accept(this));
    }

    @Override
    public void visitChildResource(Resource resource) {
        validateResource(resource);
        resource.getChildResources().forEach(childResource -> childResource.accept(this));
    }

    private void validateResource(Resource resource) {
        Resource parent = resource;
        StringBuilder fullPath = new StringBuilder(resource.getPath());
        while (parent.getParent() != null) {
            parent = parent.getParent();
            fullPath.insert(0, parent.getPath());
        }
        Resource previous = resourceMap.put(fullPath.toString(), resource);
        if (previous != null && previous != resource) {
            LOGGER.error("Path {} is mapped by multiple resources", fullPath);
        }
    }

    public static class OverlappingPathValidatorRegistrar implements ApplicationEventListener {

        @Override
        public void onEvent(ApplicationEvent event) {
            if (event.getType() == ApplicationEvent.Type.INITIALIZATION_APP_FINISHED) {
                OverlappingPathValidator overlappingPathValidator = new OverlappingPathValidator();
                event.getResourceModel().getResources().forEach(resource -> resource.accept(overlappingPathValidator));
            }
        }

        @Override
        public RequestEventListener onRequest(RequestEvent requestEvent) {
            return null;
        }
    }
}

When registering this listener with environment.jersey().register(OverlappingPathValidator.OverlappingPathValidatorRegistrar.class) in your application, it logs the following line:
ERROR [2024-09-07 15:23:20,504] ski.komoro.example.util.OverlappingPathValidator: Path /nested/path is mapped by multiple resources

This should help rewriting the code to avoid overlapping paths in root-resources.

Thanks for the thoughtful and detailed response. I'll play with this code and see how it works for me. I suspect throwing an exception at startup would be a better experience for my use.
My trouble is that I'm working in a large monolithic application with deeply nested paths, a hundred resource classes and a multiple of that in actual endpoints. We use subresources and sub-resource locators already but not particularly well or constantly. The process of having a new developer add new endpoint often results in a misplaced resource similar to the example I provided. When the dev sends me the start up log, I often have to point out that I the startup log is not reliable, negating some of the value it offers.


[Bug Report] Cannot reshape ROW_MAJOR tensor

Describe the bug
Performing the following reshape on a ROW_MAJOR tensor yields an error:

Reshape: (1, 224, 224, 3) --> (1, 1, 50176, 3)
Error: RuntimeError: TT_FATAL @ /localdev/lpanos/tt-metal/tt_metal/impl/buffers/buffer.cpp:41: page_size % sizeof(uint32_t) == 0

If the tensor is TILE_LAYOUT instead we get this error, which seems to make sense:
Unable to reshape a tensor in TILE_LAYOUT to non-tile height and width! Please convert the tensor to ROW_MAJOR_LAYOUT first.
To Reproduce
Steps to reproduce the behavior:
Run the following test:
def test_reshape_broken(device):

    input = torch.randn(1, 224, 224, 3, dtype=torch.bfloat16)
    new_shape = (1, 1, 50176, 3)
    layout = ttnn.TILE_LAYOUT

    input_tensor = ttnn.from_torch(input, layout=layout, dtype=ttnn.bfloat16, device=device)

    ttnn_output = ttnn.reshape(input_tensor, new_shape)

Expected behavior
The reshape should execute.
Additional context
In order to accurately model the tensor shapes in a compiler, a reshape must be inserted on the output of Conv2d since most (if not all) frameworks' Conv2d ops output a tensor in the form (N, H, W, C), ttnn outputs (1, 1, N*H*W, C). This is blocking the first convolution in resnet50.

@tarafdarTT Hi naif, are you familiar with this one? I also stepped onto it while trying out different tensor sizes.
cc @tt-mpantic @sdjordjevicTT

@LPanosTT After some looking it seems that this constraint is well documented
ttnn.Tensor uses a minimum of 4 bytes to store a row of the tensor in ttnn.ROW_MAJOR_LAYOUT on the device. That means that the width of a tensor on the device must be a multiple of 4 / sizeof(dtype). The exact numbers are shown below:

@mtopalovicTT that makes sense to me, it’s just that the page_size gets calculated to be 6, and I’m wondering if maybe there’s something wrong with that calculation, or if this on-device reshape is just impossible

@mtopalovicTT so is the conclusion for this just that this reshape is impossible to do on device no matter the layout?

@LPanosTT sorry I'm not following
per this:

That means that the width of a tensor on the device must be a multiple of 4 / sizeof(dtype). The exact numbers are shown below:

In your case width is 3, and requirement for float16 is that width should be divisible by 2 if I understand this documentation properly.

In your case width is 3, and requirement for float16 is that width should be divisible by 2 if I understand this documentation properly.

Okay so it definitely will not work in row-major layout then. But it also won't work in tile layout. So, that would mean that this reshape cannot be done on device?

To your questions I'm not sure :D We are currently pushing a uplift of metal in mlir which carries fixes for reshape after which we can test different scenarios. IIRC fix was that if some reshape couldn't be done on device due to constraint, reshape is pushed is done on cpu and then returned to device.

this has been covered now with our generality reshape push


IPFS always goes to local instead of gateway

Still investigating, but the demo dapp on master, when installed using the current 0.5.9 npm version of origin-js, always seems to look for a local IPFS daemon.
I attempted to change the preferences in demo-dapp that are passed to the Origin() constructor, but they are not being respected.
I added the gateway as fallbacks in origin.js in demo-dapp like this:
import Origin from 'origin'

let config = {}

config.ipfsDomain = process.env.IPFS_DOMAIN ? process.env.IPFS_DOMAIN : "gateway.originprotocol.com"
config.ipfsApiPort = process.env.IPFS_API_PORT ? process.env.IPFS_API_PORT : "443"
config.ipfsGatewayPort = process.env.IPFS_GATEWAY_PORT ? process.env.IPFS_GATEWAY_PORT : "443"
config.ipfsGatewayProtocol = process.env.IPFS_GATEWAY_PROTOCOL ? process.env.IPFS_GATEWAY_PROTOCOL : "https"

const origin = new Origin(config)
window.web3 = origin.contractService.web3

export default origin

marking this as "high priority" since it means that our master readme is lying when it says that you can have dapp running with just an npm install and npm run start.

Just tried again with version 0.5.10 (checklist here) and this issue still persists.
How are defaults handled?

Hmm is this still an issue for you? Master branch demo-dapp with origin 0.5.10 (non npm-linked) works fine for me pointing to the production IPFS gateway. Do you have a .env file overriding the defaults?

Fixed in the last release! Closing.


Feature/design system share page - ticket#91

Updates the <ONSShare/> component -  uses variables: pageTitle / pageURL / title .
Updates the component on the design system page as per the ons design system share page example.

Adds and updates the share component on the components page to match the census atlas design.

Just for the record as we discussed this on Slack, let's make the component as agnostic as possible while trying to stay as close to the original as possible:

remove the invalid HTML wrapper specific to landing page
introduce a list modifier that will fake 2-column layout via CSS overrides on the list item (this should ideally be one off per page thing, but we're using ONSShare in quite a few places hence the modifier route)

I think we should have a global Icon component but let's look into that later.

I've updated the share page component, and I've added the modifier on the list item, not on the list .... but please have a look and let me know if further changes are needed .


nuxt3 can use?

next3 can use vue-svg-loader ?
How to do ?

I got it sort of working based on some other solutions people had.
in your nuxt.js.config add
import svgLoader from "vite-svg-loader"
    vite: {       plugins: [         svgLoader({           /* ... */         })       ]     },
Then in your component you just import the svg
import doodleSVG from "../public/orange-dog.svg";
and add it to your template
<doodleSVG />


integrate authjs into pwa

[x] Use authjs logged in user to get jwt from strapi.
[x] use passwordless login by using google oauth

References:

strapi nextauth
authjs

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.2 :tada:
The release is available on:

GitHub release
v1.0.0-beta.2

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub release
v1.0.0

Your semantic-release bot :package::rocket:


Support Graceful Shutdown

If the kubelet where the the sriov pod is running has gracefulShutdown configured, we'll delay in preStop for a while if and while /tmp/sriov-delay-shutdown exists, up to a maximum wait that's less than 15 minutes (which is now specified in the daemonset pod's terminationGracePeriodSeconds).
I wrote this as a possible alternative approach to the implementation in this PR, that was reverted last year.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 26 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 25.64%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/daemon/daemon.go
0
26
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/daemon/daemon.go
2
40.81%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1944

Relevant Lines:
7582

💛  - Coveralls

/test-all

/assign @bn222

/assign @SchSeba

/test-all

info on kubernetes graceful node shutdown :
https://kubernetes.io/blog/2021/04/21/graceful-node-shutdown-beta/

Hi @jerpeter1 do you still want to push this one? there are some comments from @adrianchiris and this PR needs a rebase


Various smoke test failures

$ref to original location could not be found in the new refs collection

Error: $ref to original location 'https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cognitiveservices/data-plane/Common/Parameters.json#/components/parameters/ImageUrl' is not found in the new refs collection

FATAL: Error: Not able to process media type JSON at this moment.

https://github.com/Azure/autorest.modelerfour/issues/245


add domain text file

Acton Boxborough Regional High School

36 Charter Road, Acton, MA 01720, United States of America

The top of page 9 acknowledges this website

@TheWildProgrammer First stage of verification passed, official domain is abschools.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@TheWildProgrammer Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Update reserve-compute-resources.md

update zh-trans to match master branch, the original seems to be based on release-1.16

Thanks.
/lgtm
/approve


🔧 Update template

This pull request merges the current state of the template used here into this project so that it is up to date.

:tada: This PR is included in version 2.0.7-develop.1 :tada:
The release is available on:

v2.0.7-develop.1
GitHub release
Docker container (sebbo2002/ble2mqtt:2.0.7-develop.1)
v2.0.7-develop.1

Your semantic-release bot :package::rocket:

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

v2.0.7
GitHub release
Docker container (sebbo2002/ble2mqtt:2.0.7)
v2.0.7

Your semantic-release bot :package::rocket:


Multiple values for --triplet and %VCPKG_DEFAULT_TRIPLET%

I usually install a every new library for 4 different triplets: x86-windows-static,x64-windows-static,x86-windows-crtdll,x64-windows-crtdll (crtdll is for VCPKG_CRT_LINKAGE=dynamic and VCPKG_LIBRARY_LINKAGE=static, I would provide it as a preinstalled option). And it takes time to type something like:
vcpkg install fmt:x64-windows-crtdll fmt:x64-windows-static fmt:x86-windows-crtdll fmt:x86-windows-static

I propose to add support specifying of multiple triplets in the --triplet argument:
vcpkg install fmt --triplet x64-windows-crtdll;x64-windows-static;x86-windows-crtdll;x86-windows-static

And to make it even better, please support multiple triplets in the %VCPKG_DEFAULT_TRIPLET% environment variable, like this:
set VCPKG_DEFAULT_TRIPLET=x64-windows-crtdll;x64-windows-static;x86-windows-crtdll;x86-windows-static
vcpkg install fmt

; is usually used as a delimiter for environment variables, but , could be supported also.

Did vcpkg make any progress on this issue? I hope my build tools can find packages by some specific priority, too...


How to select a predefined date when datepicker is opened ?

Describe the bug
How do i select a predefined date when the datepicker is opened ?
To Reproduce
Steps to reproduce the behavior:

Go to react-native-modern-datepicker
A selected props is set to 14-09-2022
When the date picker is shown the set date in the selected prop is not highlighted or selected same happens when set with the current prop too.

Expected behavior
Set a prop a date value to show date selected when the datepicker is shown
Screenshots
https://snack.expo.dev/@francis25/date-sample
Desktop (please complete the following information):

OS: Android 11

any updates on this ? @franferns where be to solve this ?

No could not find any solution for this

any updates on this ? @franferns where u able to solve this ?

@Ahmed-Imam I tried this one https://www.npmjs.com/package/@react-native-community/datetimepicker . May be this could be help.


Enable using Fiddler and similar tools in development scenarios

Motivation and Context
Many developers use Fiddler or related tools to inspect traffic being sent over the wire. Fiddler does this by acting as a proxy, but the current CheckCertificateRevocationList = true breaks this. Not checking for certificate revocation in DEBUG builds will enable this again

@jansenbe Thank you for your suggestion. The internal logger does show some HTTP traffic, but we may remove some of it because we want to avoid exposing PII in case of automatic log collection. CheckCertificateRevocationList is a security feature that protects against MITM attacks, and the impact on Fiddler is actually a sign that it works well. We realize that MITM can be helpful for debugging and learning during development. However, we need a way to turn off the protection that clearly warns the developer that they are reducing security. The solution proposed is too easy to miss and could lead to someone building the code in Debug mode and deploying it without checking. We are working on some PRs that affect HTTP behavior. Let's wait until they are merged and then revisit the issue. We can also discuss other possible approaches here if you have ideas and want to experiment. We're closing the PR for now, thank you!


No examples for wild card -match startswith

Every example in here shows equality searches which is not very real world.
What if you want to find all ios 12+ devices? How would you accomplish that?

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

ID: 5f7a4070-1be8-5f1f-0092-68fb6b9e2305
Version Independent ID: cd34312f-b507-affe-555e-1e0c63e7d494
Content: Dynamic automatic group membership rules reference in Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/groups-dynamic-membership.md
Service: active-directory
GitHub Login: @curtand
Microsoft Alias: curtand

HI @ganlbarone
My understanding it that these are not industry standard string values for, for example, deviceOSVersion and deviceOSType, and they're not read directly from devices, but rather depend on the Azure AD admins to apply their own strings. You would have to have a specific string consistently applied to iOS 12 devices or AND together all of the inconsistent string values that have been applied. I'll take this to my PM, but I don't think the solution you request exists. BRB.

What we did for now was use the startswith operator. We used the below. The only time this will cause a problem is if there is ever any other Apple device (like a mac book since intune now has JAMF integration) where OS may start with a 12. Right now we are still on osx (version 10), so an issue like this probably wouldn't surface for a long time from now. And even if it did you could add another -and statement for devicemodel -eq ipad or iphone and solve for that problem too.
(device.deviceManufacturer -eq "Apple") -and  (device.deviceOSVersion -startsWith "12")
In any event, I still think other examples in the documentation that utilize some of the other operators are warranted. like I said originally, just showing people examples that use equality is not fully encompassing and not entirely helpful.
thanks much.

Hi @ganlbarone
Thanks for your patience the the insight you provide. I'll bring this request to my PM. I'm not ignoring you; I'm just stretched quite thin because I'm filling in for another writer on a different team and still handling my own work tasks. Thanks!

I have taken a backlog item for this issue.
#please-close

@ganlbarone
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Changed this.bits from array to object in ctor

Coverage remained the same at 94.301% when pulling 23a7326330fc4eae6caff91106b691b028e6b86e on garychapman:patch-1 into 83e282f9c9fcd80e64a9988621c5f2d084fb0d14 on timkinnane:master.


Relay disable the datas

Hello,
Yesterday, I plugged my relay on my ESP, but, the values were not read when the relay is connected.
When there is only the ESP32, I have all the values wanted, but, when the relay is connected, I have only 2 lines (WifiRSSI and FreeMem), even if during a previous test, I have everything.
Someone else have the same issue ?

I change the output pin (12 -> 13) and now it's fine, but I don't know why


chore: Remove cheqd-noded configure command from node [DEV-1902]

I removed the following:

configure.go file  and it's usage inside  root.go
post_install method(uses configure command) inside installer.py and it's usage as well.
tests/e2e-complex/interactive-install/add-observer.sh file
tests/e2e-complex/upgrade/cosmovisor/add-observer.sh  file

@askolesov @anikitinDSR  Does this sound okay to you? Or is there anything that I am missing?

Task linked: DEV-1902 Remove cheqd-noded configure command from node & update documentation

Also, I temporarily disabled proto breaking changes check, so we can see if build works or not.


fix: backport run refresh wallet after initialisation to beta

Description
See:

#1773

Type of change
Bug fix (non-breaking change which fixes an issue)
Tests
No test
QA Notes
Already validated, mainly prevents TypeError: Cannot read property 'refreshWallet' of undefined errors.
Might also reduce the number of times we see electrum connection errors within the logs.

Closing since 118 is already out.


Use the 1.6 branch of the opentofu repo until we have documentation versioning included

The title says it all :D
Now that main branch is 1.7.x, we should use 1.6.x branch for feeding the docs until we have versioning set up.

Closing as done.


added script to provide bulk user access to PowerApps

added a new script to provide bulk user access to PowerApps from CSV format.

Thank you for the submission, I needed to make a small tweak to the generator, but should all work now and will be live shortly 👏🎉


Update active-directory-configurable-token-lifetimes.md

Edited document to reflect new defaults.

@anchitn,
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

@anchitn : Thanks for your contribution to the Azure documentation! The author, @billmath, has been notified to review your proposed change.

#sign-off


Support nested (non-standard) DFP structure?

According to Open-CMSIS specifications clause 2, CMSIS pack structure should have .pdsc file located at the base directory of the archive:
~ unzip -Z1 ~/Downloads/NXP.K32L2A31A_DFP.15.0.0.pack | grep pdsc
...
NXP.K32L2A31A_DFP.pdsc
...

However it seems Keil MDK also supports reading pack contents from a sub-directory, resulting the  pack with the following structure becomes valid for MDK:
~ unzip -Z1 Renesas.RA_DFP.4.0.0.pack | grep pdsc
...
Renesas.RA_DFP.4.0.0/Renesas.RA_DFP.pdsc
...

pyOCD, however, is using a mix of both methods by finding the .pdsc file recursively, and read the rest of the files relative to the base directory:
https://github.com/pyocd/pyOCD/blob/30427690c0f986689eed87b9102cf4a6a6950e5e/pyocd/target/pack/cmsis_pack.py#L97-L105
https://github.com/pyocd/pyOCD/blob/30427690c0f986689eed87b9102cf4a6a6950e5e/pyocd/target/pack/cmsis_pack.py#L122-L132
In the above case for Renesas RA series, the pdsc file could be located, however the flash algorithms can not be loaded due to the FLM path in XML file is relative to the .pdsc directory.
This will raise the following bogos error message indicating the device is not supported:

Error Log
pyocd gdbserver -t R7FA6M5BH --pack ../../Packs/Renesas.RA_DFP.4.0.0.pack
0000871 W Overlapping memory regions in file ../../Packs/Renesas.RA_DFP.4.0.0.pack (R7FA6M4AF3CFB_dual); deleting outer region. Further warnings will be suppressed for this file. [cmsis_pack]
0000876 C Target type r7fa6m5bh not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://pyocd.io/docs/target_support.html> for how to install additional target support. [__main__]
Traceback (most recent call last):
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/board/board.py", line 111, in __init__
    self.target = TARGET[self._target_type](session)
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/target/pack/pack_target.py", line 117, in _pack_target__init__
    super(self.__class__, self).__init__(session, self._pack_device.memory_map)
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/target/pack/cmsis_pack.py", line 682, in memory_map
    self._build_flash_regions()
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/target/pack/cmsis_pack.py", line 511, in _build_flash_regions
    packAlgo = self._load_flash_algo(algo_element.attrib['name'])
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/target/pack/cmsis_pack.py", line 645, in _load_flash_algo
    algo_data = self.pack.get_file(filename)
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/target/pack/cmsis_pack.py", line 132, in get_file
    return io.BytesIO(self._pack_file.read(filename))
  File "/usr/lib/python3.10/zipfile.py", line 1475, in read
    with self.open(name, "r", pwd) as fp:
  File "/usr/lib/python3.10/zipfile.py", line 1514, in open
    zinfo = self.getinfo(name)
  File "/usr/lib/python3.10/zipfile.py", line 1441, in getinfo
    raise KeyError(
KeyError: "There is no item named 'Flash/RA6M5_2M.FLM' in the archive"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/__main__.py", line 161, in run
    status = cmd.invoke()
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/subcommands/gdbserver_cmd.py", line 176, in invoke
    session = Session(probe_proxy,
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/core/session.py", line 216, in __init__
    self._board = probe.create_associated_board() or Board(self)
  File "/home/imi415/Documents/Sources/scm/Embedded/pyOCD/pyocd/board/board.py", line 113, in __init__
    raise exceptions.TargetSupportError(
pyocd.core.exceptions.TargetSupportError: Target type r7fa6m5bh not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://pyocd.io/docs/target_support.html> for how to install additional target support.

So, should we support this kind of packs by using relative path to the .pdsc file, which stays compatible with MDK, or change the pdsc search method to base directory only?

Found this issue is duplicated of #1446

Thanks for the details, @imi415. Given that there are already packs like the Renesas RA series that already cannot be used, we don't have much choice but to change pyocd to support the non-standard structure. So thanks for #1461!
I'm also adding this to my list of issues with the Open-CMSIS-Pack spec (for which issues need to created in the spec repo…).


Implemented code for static UI of fulfillment location modal(#28379x8)

Related Issues
#125
Closes #125
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[X] I read and followed contribution rules

Closing since PR was made from different account


Fix (or remove) broken links, minor typos in tutorials

Rule Based Uploader:
-- Hands-on: Downloading Data from ENA: downloaded directly here

R basics in Galaxy:
-- Learning more about lists: nice tutorial

NGS data logistics:
-- From “Understanding and improving high-throughput sequencing data production and analysis”, Ph.D. dissertation by Martin Kircher
-- From Ph.D. dissertation of Martin Kircher.
-- What are base qualities? - last paragraph: missing closing paren (after Wikipedia)

The first one is a 500 internal server error on their end. But we should definitely move this dataset to zenodo!

@hexylena I notified them (ENA) using their contact form.
(I don't have all the dataset info to fill out the Zenodo form though.)

@ic4f it doesn't take that much information for a zenodo entry, for what it's worth. e.g. https://zenodo.org/record/3603221

GTN Tutorial: Name
Short description like "data for this tuto"
The files
CC4.0
there's an option for associating it with a collection, just find the galaxy/gtn one
I don't think there's anything more?

@hexylena Seems simple enough, will do!

Just to check: were you claiming this issue as in you want to work on it? Or just reporting the issue for someone else to?

Not claiming the issue, just adding the dataset to zenodo to check it off.

@hexylena apparently those datasets are on zenodo (although with overwritten sequence identifiers), and those URLs are in the tutorial - right below the paragraph with the broken link. More importantly, the link is fixed ^.


update README with provider version -> 0.36.0

This is because of issue#1076 . If someone tries to actually use the version from the example, they might face the locale issue which has already been fixed with https://github.com/snowflakedb/gosnowflake/pull/571 and released in gosnowflake 1.6.9, which is bundled with the 0.36.0 version of the provider.
Test Plan
Don't think this minor doc change needs tests?
References

https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1076

can i please ask you @sfc-gh-swinkler for a review?


Question - Detail and New Schedule Popup custom

I am trying to make some custom templates for the detail popup and create new schedule popup. I am not finding this in the docs anywhere.. If its there and I missed it I apologize if not than any help would be appreciated. Thanks!
-Ivan
Version
latest
Development Environment
MacOs Sierra

Found it in issues, my bad..

Hi, was trying the same thing. Can u please give me an example on how to do this?

https://github.com/nhnent/tui.calendar/blob/master/docs/getting-started.md#customize-popups


scheduled sampling in transformer

Hi @ruotianluo . I have a question about using the scheduled sampling in the Transformer Model.
In the transformer, you are overriding the forward function of the AttModel with:
    def _forward(self, fc_feats, att_feats, seq, att_masks=None):
        att_feats, seq, att_masks, seq_mask = self._prepare_feature_forward(att_feats, att_masks, seq)

        out = self.model(att_feats, seq, att_masks, seq_mask)

        outputs = self.model.generator(out)
        return outputs

So there is actually no scheduled sampling here. How does your code use the scheduled sampling in that case of the transformer if it is not available in the forward function?

It's not using scheduled sampling. Basically scheduled sampling is ignored.

Thanks! Because according to issue #141 , scheduled sampling is included.
Appreciate your reply.


HTTP Trigger not working

Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
I have followed the README and I am not able to call function using http request
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
curl -L --data '{"Another": "Echo"}' localhost:8080/api/v1/namespaces/default/services/demo8:http-function-port/ --header "Content-Type:application/json"
This is what i got
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "the server does not allow this method on the requested resource",
"reason": "MethodNotAllowed",
"details": {
},
"code": 405
}
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T10:09:24Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T09:42:01Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Kubeless version (use kubeless version):
Cloud provider or physical cluster:

@billaram Thanks for reporting. Please try
curl -L --data '{"Another": "Echo"}' localhost:8080/api/v1/namespaces/default/services/demo8:function-port/ --header "Content-Type:application/json"

Notice the use of function-port instead of http-function-port. Port name has been changed recently. Documenetation is reflecting to current HEAD and not to last release version. We are thinking to move to proper docs website.

@billaram http://kubeless.io/docs/ will always point to the latest release documentation.

Please try new release. You should see it working.


Parameter for http.sslbackend="schannel"

What problem does this PR address?
Currently there is an issue for self-signed local TFS installations:
SSL certificate problem: unable to get local issuer certificate
https://tfs.local.foobar.com/tfs/dev2/Playground/_wiki/wikis/Playground.wiki/': SSL certificate problem: unable to get local issuer certificate
I added a parameter "SslBackend" to optionally send the -c http.sslbackend="schannel" parameter with the git requests.

Hi @davidflury, @rfennell. Thanks for the pull request but it sets the http.sslbackend to 'False' by default and we get this error "Unsupported SSL backend '"False"' in our pipelines. Would it be possible to add "schannel" as default value for http.sslbackend option? We have like 100s of pipelines, and they all started failing because the http.sslbackend was 'False' by default. I am sure this is a general scenario and people would come for a solution.

I think a better option is to set the default to empty string, so the default is now set to "" to not add the SSL backend header. (shipped as 1.40.1)
This will follow my usual approach of not introducing breaking changes for existing . It is true the new header is hidden behind the 'injectheader' switch, but  don't want to break people who have a working set of custom headers (few as they probably are)
I think the best option is you edit your pipelines to add the schannel parameter. You could do this in bulk via the API, or fork my task and have your own custom version with different defaults.


PC端可用，路由器端无法使用

路由器为斐讯K2，刷入padavan，客户端和服务器端版本皆为20170329
服务器端提示：
2017/04/27 03:39:23 broken pipe
2017/04/27 03:39:23 remote address: <IP_ADDRESS>:2374
2017/04/27 03:39:25 broken pipe
2017/04/27 03:39:25 remote address: <IP_ADDRESS>:2374
2017/04/27 03:39:36 remote address: <IP_ADDRESS>:2387
2017/04/27 03:39:36 broken pipe
2017/04/27 03:39:36 remote address: <IP_ADDRESS>:2387
2017/04/27 03:39:36 broken pipe
2017/04/27 03:39:41 broken pipe
2017/04/27 03:39:41 remote address: <IP_ADDRESS>:2387
2017/04/27 03:39:51 remote address: <IP_ADDRESS>:2398
2017/04/27 03:39:51 broken pipe
2017/04/27 03:39:51 remote address: <IP_ADDRESS>:2398
2017/04/27 03:39:55 broken pipe
2017/04/27 03:39:56 broken pipe
2017/04/27 03:39:57 remote address: <IP_ADDRESS>:2398
2017/04/27 03:40:11 broken pipe
2017/04/27 03:40:27 broken pipe
2017/04/27 03:49:27 remote address: <IP_ADDRESS>:3563
2017/04/27 03:54:57 broken pipe
2017/04/27 04:19:36 remote address: <IP_ADDRESS>:2238
2017/04/27 04:19:36 broken pipe
2017/04/27 04:19:46 remote address: <IP_ADDRESS>:2238
2017/04/27 04:20:16 broken pipe
其中remote address为路由所在外网地址，其余客户端所有配置与服务器端相同，检查了N遍未果
PC端验证可用，断开PC客户端换用路由器的客户端，服务器就有以上提示

Before firing issue, make sure you figured out the following common questions.
PLEASE DO SEARCH FIRST.

Check your -key xxx for at least 3 times, MAKE SURE both sides share the same secret.
-nocomp, -datashard, -parityshard, -key, -crypt must be the same on both side.
Did you correctly set the -target on the server side?
MAKE SURE telnet target port on your server successful(don't ask me why couldn't).
Does your firewall allows UDP communications? (including your ISP Cable-Modem)
Are you using the same version for both client & server
Are you using the latest release?
Which OS do you use?
Which end for this issue related to, client or server?

哥们，我和你一毛一样的问题，请问你解决了吗


Enabling tests in nix build

I see that cargo tests are disabed in nix build:
https://github.com/benwis/benwis_leptos/blob/928ea7e7c20a86be91ad27e75cf297a2fbef681d/flake.nix#L105
Is there a reason why?
Out of curiosity, I tried building my template with doCheck removed, and this is what I saw:
++ command cargo test --release
   Compiling leptos-fullstack v0.1.0 (/private/tmp/nix-build-leptos-fullstack-0.1.0.drv-6/source)
error: output file /private/tmp/nix-build-leptos-fullstack-0.1.0.drv-6/source/target/release/deps/libleptos_fullstack.rlib is not writeable -- check its permissions

What might be the way to go about allowing running of tests in the Nix build?

I think alot of that will depend on what kind of testing your project has. If it's regular cargo tests, then I'm pretty sure you could run cargo test --features=ssr --release or similar. You might also have wasm-bindgen tests for the frontend, which would have to be setup differently. I haven't explored that yet, so it's all commented out.
On Tue, Aug 1, 2023, at 2:25 PM, Sridhar Ratnakumar wrote:

I see that cargo tests are disabed in nix build:
https://github.com/benwis/benwis_leptos/blob/928ea7e7c20a86be91ad27e75cf297a2fbef681d/flake.nix#L105
Is there a reason why?
Out of curiosity, I tried building my template with doCheck removed, and this is what I saw:
++ command cargo test --release    Compiling leptos-fullstack v0.1.0 (/private/tmp/nix-build-leptos-fullstack-0.1.0.drv-6/source) error: output file /private/tmp/nix-build-leptos-fullstack-0.1.0.drv-6/source/target/release/deps/libleptos_fullstack.rlib is not writeable -- check its permissions
What might be the way to go about allowing running of tests in the Nix build?
—
Reply to this email directly, view it on GitHub https://github.com/benwis/benwis_leptos/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVBTCNW5JVZHN2MXKLFGXLXTFX3PANCNFSM6AAAAAA3ALDOBU.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

FYI: Here's what I did
https://github.com/srid/leptos-fullstack/commit/3e99851d5b821cba979c547adaef5dc56c11770e


Time-jumps during training

I am working on the Pendulum-v0 environment with the algorithm ppo2. I already managed to get the algorithm running with the suggested hyperparameters from the RL Baselines Zoo and achieved results. Furthermore, I am trying to use on top of the Monitor wrapper, a custom wrapper I made to change observations to images with the help of env.render("rgb_array") and the FrameStack wrapper to stack those frames. The problem is when I check the tensorboard graphs to evaluate the agent's progress, I find time jumps. Like the relative time for step 8.052k is 2 minutes and 31 seconds, and for step 8.196 this relative time increases to  3 minutes and 39 seconds. These time jumps occur approximately every 2 minutes and I think they are drastically slowing training. Between these time jumps the training speed is okay (150-200 steps per second).
The code:
import time

import gym
from gym import Wrapper, spaces
import numpy as np
from numpy import zeros, newaxis
from gym.envs.classic_control import PendulumEnv
from stable_baselines.common.atari_wrappers import FrameStack

from stable_baselines.common.env_checker import check_env
from stable_baselines.sac.policies import CnnPolicy
from stable_baselines import PPO2
from stable_baselines.common.vec_env import DummyVecEnv
from stable_baselines.bench import Monitor

from skimage import color
from skimage import io
from skimage.transform import rescale, resize, downscale_local_mean
from skimage.color import rgb2gray
from skimage.filters import threshold_otsu

import tensorflow as tf

class RGBArrayAsObservationWrapper(Wrapper):
    """
    Use env.render(rgb_array) as observation
    rather than the observation environment provides
    """

    def __init__(self, env):
        # TODO this might not work before environment has been reset
        super(RGBArrayAsObservationWrapper, self).__init__(env)
        self.reset()
        # dummy_obs = env.render('rgb_array')
        # dummy_obs = resize(dummy_obs, (60, 60),
        #                   anti_aliasing=False)
        # dummy_obs = rgb2gray(dummy_obs)
        # dummy_obs = dummy_obs[:, :, newaxis]
        # Update observation space
        # TODO assign correct low and high
        self.observation_space = spaces.Box(low=0, high=1, shape=(60, 60, 1),
                                            dtype=np.float64)

    def reset(self, **kwargs):
        obs = self.env.reset(**kwargs)
        obs = self.env.render("rgb_array")
        obs = resize(obs, (60, 60),
                     anti_aliasing=False)
        obs = rgb2gray(obs)
        # thresh = threshold_otsu(obs)
        obs = obs > 0.45
        obs = obs < 0.4
        obs = obs != 1
        obs = obs[:, :, newaxis]
        return obs

    def step(self, action):
        obs, reward, done, info = self.env.step(action)
        obs = self.env.render("rgb_array")
        obs = resize(obs, (60, 60),
                     anti_aliasing=False)
        obs = rgb2gray(obs)
        # thresh = threshold_otsu(obs)
        obs = obs > 0.45
        obs = obs < 0.4
        obs = obs != 1

        obs = obs[:, :, newaxis]
        return obs, reward, done, info

# tensorboard --logdir=PPO2_IMG_PENDULUM:C:\Users\meric\OneDrive\Masaüstü\TUM\Thesis\Pycharm\pioneer\ppo2_pendulum_img_tensorboard --host localhost
tf.debugging.set_log_device_placement(True)
# Place tensors on the GPU

log_dir = "/tmp/gym/{}".format(int(time.time()))
os.makedirs(log_dir, exist_ok=True)

config = tf.ConfigProto()
config.gpu_options.allow_growth = True
sess = tf.Session(config=config)

TEST_COUNT = 100

pendulum_env = gym.make('Pendulum-v0')
pendulum_env = Monitor(pendulum_env, log_dir, allow_early_resets=True)
pendulum_env = RGBArrayAsObservationWrapper(pendulum_env)
pendulum_env = FrameStack(pendulum_env, n_frames=2)
# check_env(pendulum_env, warn=True)

model = PPO2("CnnPolicy", n_steps=2048, nminibatches=32, lam=0.95, gamma=0.99,
             noptepochs=10, ent_coef=0.0, learning_rate=3e-4,
             cliprange=0.2, env=pendulum_env, verbose=1, tensorboard_log="./ppo2_pendulum_img_tensorboard/")
with tf.device('/GPU:0'):
    model.learn(total_timesteps=1_000_000, log_interval=10)
model.save("ppo2_pendulum_img")

What might be causing this problem and do you have any suggestions?
System Info
Describe the characteristic of your environment:

Describe how stable baselines was installed (pip, docker, source, ...): pip install stable-baselines[mpi]
GPU models and configuration: NVIDIA GTX 1050
Python version: 3.7
Tensorflow version: 1.15

I am not quite I understand what you mean. Do you mean the training seems to stop every ~2 minutes for two-to-three minutes?
Looking at the code I do not see bigger issues. However I assume the gym.render is not the fastest thing ever and you collect a reasonable amount of data (2048 steps), so I think the training steps will take some time and such behaviour is to be expected. I can not say why it is slowing down, though.

Yes you understood right. Is there a way to just get the rgb-array without actually rendering?

I do not think so, but that escapes outside stable-baselines issues. I suggest you try with smaller n_step count, e.g. n_steps=256. If the "stops" happen more frequently but are shorter, then this was the issue. And if so, this is expected behaviour as it can take some time to compute over the batch of data you have.

You were right now they are more frequent but shorter. Is there a way to avoid this?

Nope, that is simply the computation time required to train the network. I am not sure why it would slow down the further you go, though.
In any case, this does not seem to be an issue with stable-baselines, so you may close the issue.

The training does not get slowed any further, but do you have an explanation for this.

This goes to the "tuning RL parameters to get good results" territory, and it can be hard to pinpoint what the issue is exactly (we do not provide tech-support on that regard). I recommend checking docs for rl-tips and checking other issues. I'd personally first play around with ent_coef, perhaps increase it a little, but this is just a very wild guess.


use absolute paths for hot-reload requests

I encountered an issue when working on a page that was in localhost:3000/posts/cat/title.html
as I updated the files, the hot update gave me 404 errors on /localhost:3000/posts/cat/[hash]-hot-update.json
this PR fixes this issue by using absolute paths in the requests

Modify the publicPath option instead.


Added example notebook for translation with ct2 model.

Description
This PR is adding a translation example to hindi languge via ct2 model.
Issue here
This example depends on CrossFit's PR
Checklist

[ ] I am familiar with the Contributing Guide.
[ ] New or Existing tests cover these changes.
[ ] The documentation is up to date with these changes.

Hi @VibhuJawa  / @sarahyurick ,
can you please merge this MR ?


Ensure CFML track is ready for v2 launch

There are a number of things we're going to want to check before the v2 site goes live. There are notes below that flesh out all the checklist items.

[x] The track has a page on the v2 site: https://v2.exercism.io/tracks/cfml
[x] The track page has a short description under the name (not starting with TODO)
[x] The "About" section is a friendly, colloquial, compelling introduction
[x] The "About" section follows the formatting guidelines
[x] The code example gives a good taste of the language and fits within the boundaries of the background image
[ ] There are exercises marked as core
[ ] Exercises have rough estimates of difficulty
[ ] Exercises have topics associated with them
[x] The first exercise is auto_approve: true

Track landing page
The v2 site has a landing page for each track, which should make people want to join it. If the track page is missing, ping @kytrinyx to get it added.
Blurb
If the header of the page starts with TODO, then submit a pull request to https://github.com/exercism/cfml/blob/master/config.json with a blurb key.  Remember to get configlet and run configlet fmt . from the root of the track before submitting.
About section
If the "About" section feels a bit dry, then submit a pull request to https://github.com/exercism/cfml/blob/master/docs/ABOUT.md with suggested tweaks.
Formatting guidelines
In order to work well with the design of the new site, we're restricting the formatting of the ABOUT.md. It can use:

Bold
Italics
Links
Bullet lists
Number lists

Additionally:

Each sentence should be on its own line
Paragraphs should be separated by an empty line
Explicit <br/> can be used to split a paragraph into lines without spacing between them, however this is discouraged.

Code example
If the code example is too short or too wide or too long or too uninteresting, submit a pull request to https://github.com/exercism/ocaml/blob/master/docs/SNIPPET.txt with a suggested replacement.
Exercise metadata
Where the v1 site has a long, linear list of exercises, the v2 site has organized exercises into a small set of required exercises ("core").
If you update the track config, remember to get configlet and run configlet fmt . from the root of the track before submitting.
Topic and difficulty
Core exercises unlock optional additional exercises, which can be filtered by topic an difficulty, however that will only work if we add topics and difficulties to the exercises in the track config, which is in https://github.com/exercism/cfml/blob/master/config.json
Auto-approval
We've currently made any hello-world exercises auto-approved in the backend of v2. This means that you don't need mentor approval in order to move forward when you've completed that exercise.
Not all tracks have a hello-world, and some tracks might want to auto approve other (or additional) exercises.
Track mentors
There are no bullet points for this one :)
As we move towards the launch of the new version of Exercism we are going to be ramping up on actively recruiting people to help provide feedback. Our goal is to get to 100%: everyone who submits a solution and wants feedback should get feedback. Good feedback.
If you're interested in helping mentor the track, check out http://mentoring.exercism.io/

When all of the boxes are ticked off, please close the issue.
Tracking progress in https://github.com/exercism/meta/issues/104

Thanks for reviewing the list @jackhughesweb .  I have not started  work on the remaining 3 items but it sounds like something I can sit down and just work through in an a short time.  I was traveling last week but I'll take a look at this soon.


allow variable value definition in cdata section

allow a variable to be defined as:
<variable name="foo>     <value>         <![CDATA[              <nodes><node>data</node></nodes>         ]]>     </value> </variable>
currently, citrus gives this error message:
Caused by: org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 13; cvc-complex-type.2.3: Element 'value' cannot have character [children], because the type's content type is element-only.

Thanks Christoph!  That was very quick. We're looking forward to the release.


support AT_SYSINFO and AT_SYSINFO_EHDR on all architectures

Not sure why AT_SYSINFO and AT_SYSINFO_EHDR were limited to x86 and x86/x86_64 respectively.
Linux sets AT_SYSINFO on ia64 and x86 and AT_SYSINFO_EHDR on all architectures.
Removing the the architecture guard on AT_SYSINFO is harmless as the identifier (32) is not reused on other architectures, so the code will work correctly without an architecture guard.

Would this inhibit using the crate on Linux for other platforms, like arm?

@pattop @rjzak See the documentation here: https://man7.org/linux/man-pages/man3/getauxval.3.html

Would this inhibit using the crate on Linux for other platforms, like arm?

No, this fixes the crate on other platforms. It's currently broken on everything other than x86 and x86_64.

@pattop @rjzak See the documentation here: https://man7.org/linux/man-pages/man3/getauxval.3.html

That's a very good point. I raised this to fix https://github.com/enarx/vdso on arm64. But in hindsight the vdso crate really should be using the libc function.
This is broken in other ways too. You can't rely on the environ pointer as a way to access auxv as setting any environment variable in the process will change environ to point somewhere else leading to undefined behaviour in from_environ() as it walks off the end of the array.


fix typo

Mhm, was this never executed then, @renefritze?

Yeah, if you look into .ci/gitlab-ci.yml there's a step for it, but execution is disabled. I'll hijack this PR to see if your fix actually fixes the whole test too.
Sidenote: automerge does nothing here. Github has had builtin auto-merge for a while.
Sidenote 2: You actually typo'ed the typo fix commit message :stuck_out_tongue_winking_eye:

The CI job succeeds now, but really, it should still fail.

Now it fails, nice!

On 10.06.22 17:45, René Fritze wrote:

There's actually some weird stuff happening in the import check that I will need to look at in depth at some point. I'll keep this open until then, if you don't mind @ftalbrecht

Not at all, its all yours! :)


Please Update Your Security Policy. I'd like to report a security issue (Critical)

Describe the bug
Security Policy is incomplete.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/mahtab2003/MOFHY-Lite/security/policy

Expected behavior
A way for me to report security vulnerabilities directly.
Screenshots
Does not matter
Desktop (please complete the following information):
Does not matter
Smartphone (please complete the following information):
Does not matter
Additional context
None

Security Policy updated

Thank you


whatDependsOn doesn't work at all - parsing error

steps
sbt 1.5.5

whatDependsOn org artifactId

problem
sbt:RegReporting-backend> whatDependsOn rat cloudformation 0.0.1
[error] Expected whitespace character
[error] Expected 'com.regandtech'
…

expectation
Dependency tree output
notes
I've had problems with whatDependsOn before. Sometimes different quoting have been working, sometimes it worked on a first run but not again. No I can't get it to work at all on any internal dependencies. The parsing must be broken…

Old issue, but seems to be something related: https://github.com/sbt/sbt-dependency-graph/issues/95

Hm, I did get it working now by qualifying both with subproject AND scala-version-suffix:
Working:
migrationLambda / whatDependsOn rat cloudformation_2.13
Parse errors

 whatDependsOn rat cloudformation_2.13
 migrationLambda / whatDependsOn rat cloudformation


Application goes offline all the time

I'm hosting a Discord bot on replit using this module. It creates a webserver which gets pinged by uptimerobot so it doesn't go offline. However, it does go offline often, and for a long time. I'm hosting 2 other bots the same way, but they're written in python. Even the code that's used to make the webserver is the same in the python bots (keep_alive.py and keepalive() in main file) but they never go offline, or if they do, it's only once in 2 weeks for only a few minutes. So I guess the problem is with this express module? Can this be solved?

Hi @jvhdiscord sorry you are having trouble. There is nothing in Express that stops the server, so unless there is something you may have written in your code to do this (no code is shared so we cannot check) it may be an issue with your hosting provider. You may want to raise the issue with the hosting provider first or even on Stackoverflow where folks with various knowledge points can help out.
Unless you can distill down the specific issue with this module and provide a way to reproduce the issue, there isn't enough information to help you from this module's issue tracker, unfortunately.

@jvhdiscord Please reach out to repl.it and ask for assistance for this. Unless something is wrong on how you ping the server it should be all fine.

Sometimes there's a connection timeout. It just keeps on loading but the code is fixed now. everything works except the webserver, which causes the bot to go offline after a while.


#460: Ignoring backticks

#460 Added util function for removing backticks (`) from variables and constants.
Using this function on [constant-naming], [lower-camel-case], and [constant-k-prefix] rules

Hi guys. Thanks for your comments. I will update the PR asap.
j.

Closing this PR and tracking changes under #477.


There is no "Music Folder" and "Disks and folders" items in "My music"menu

Can't see "Random Mix" and "Top Tracks" and some others items too.

Material's browse modes are configured via its settings menu - accessible by three dotted button top-right.
Please look for duplicates before creating issues. Duplicates: #452 #465 #480

Sorry - my mistake. Will look better for the next time.


Duplicate Identifiers for Extended Classes

When bundling definitions for two classes (in separate files) that extend one another, the output definition file ends up with duplicate identifiers:
export declare class SomeClass { }
export class SomeClass { }

Can these two be merged automatically?

Has anyone made any progress on this? I'm encountering the same problem!


set the operator icon in base64 encoded png

Big thanks to @jhadvig

/hold
until tests are fixed

/hold cancel

/retest

/retest

/retest


Offset settings

Hi,
I have question regarding the offset param, not very clear to me.

if offset is not set, default is 0 ?
if offset is set eg to 25 it means that function will fire when top of the element is 25px from top of the screen?
if offset is set to -25 it means it will fire when element position is -25 from bottom of screen?

I'm trying to start animation as soon as top of the element is in viewport, but I find it difficult for some elements that are positioned on bottom of viewport.

So the offset works like this:
When the element top is in the bottom of the viewport and the element bottom is below the start of the viewport it will add the class.
You can use the offset to tweak the element top value.  So if you would give an offset of 100 it will do the following calculation: element top = element top + offset.
I just checked the code and it looks like the default offset is set to 100. Don't ask me why, cause I would expect it to be 0. I'll change this in the next version release.
I'm also looking at the code at the moment which makes me kinda wonder what the hell is happening at certain lines. This is, of course, not a good thing, so at the moment I'm considering to start a full rewrite of the detection part and make stuff a bit more clear.

Hi Dirk,
Thanks for your reply.
It uslually goes like that after you revisit your code :)
Thanks for clarification, I have managed to make it work.
Just one other thing I bumped in to, when the page is loaded and if element is already in the viewport he is not visible.
I manged to make him visible by triggering scroll on document load.
jQuery(document).ready( function($) {
      $(window).trigger('scroll');
});

And one more thing, looks like if set 'repeat' to true, it fires to many times.
I have tried to create infinite scroll, but goes crazy calling ajax function too many time.

Hi @dirkgroenen
I have question, is it possible to set negative value to offset..
I mean, if 'bottom of viewport' meet above of 'element top' (for instance, 100px before element top), then script will be triggered, and show that element accordingly...

I'm closing this issue due to inactivity (from my side, apologies). Please comment if this issue is still relevant so I can re-open and investigate it.