Ordered families of equivalences

Hi devs,
A long time ago I did some work based on the "old version" of this library to formalize (complete) ordered families of equivalences. Particularly because one can construct a "later" modality in this category that can be used to build fixedpoints:
μ : (A : Cofe s₁ s₂ e) → (F : Ofes [ ► (ofe A) , ofe A ]) → Carrier A → Ofes [ ⊤ , ofe A ]

There are some other constructions and properties in the formalization such as step-indexed functions and the fact that the later modality vanishes on those.
The code quality is probably not very high. It was a way for me to familiarize myself with some category theory; a tool I had not used before. Nonetheless, I figured it would be a waste to not document at least that it exists. Perhaps it can serve as inspiration to anyone who has an interest in this category sometime in the future.
The development can be found here

Thanks for pointing out this development.  Porting this would be nice, but a non-trivial amount of work.  Especially as Ofes themselves really belong in stdlib, and then the categorical work here. It also seems like a fun project.

Ah, yes, I had not considered that Ofes might belong in the stdlib.
Indeed it does require some work, so I merely opened this ticket to let you know of its existence in case somewhere down the line it may become useful. It was a fun project back then; unfortunately I do not have time now to polish it up for a PR.


Add AppVeyor CI for Cygwin builds

Cygwin comes comes preinstalled in AppVeyor environments
Example AppVeyor config file for using Cygwin

Deciding not to support Cygwin for now.


Veracode vulnerability reported on bcprov-jdk15on: 1.62

Hi,
We are using the Veracode for libarary vulnerability and veracode reported below vulnerability.
Hash Collision: Bouncy Castle is vulnerable to hash collision attacks. The library keystore files uses a HMAC hash that is only 16 bits long, allowing a malicious user to retrieve the password used for keystore integrity verification checks. This vulnerability only affects users of the BKS-V1 keystore format, which was re-introduced since 1.49.
Thanks

The vulnerability only applies to the specific keystore file format, it is not a vulnerability in the library per se, you even have to specifically create one to be exposed to it, and support was only provided to allow people to read old files.
Please ask the vendor to correct the report. It is at best misleading.

This is an updated response as MITRE have now fixed the wording of the CVE to reflect what it is actually about, which is BKS, not BKS-V1 (BKS-V1 did not exist as a keystore type prior to 1.49) Please see https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5382 for further details
We are hoping the new wording will clear this up for the tool vendors.


Add coach indicator tokens

Description

Added coach indicator tokens, including both color and non-color

Motivation and context

Coach indicator (previously on contributions) is being formalized as a Spectrum 2 component. These net-new tokens define the design data needed for implementation.

Related issue

SDS-13422
Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [x] Minor (add a new token, changing a value, deprecating a token; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type, renaming a token by deprecating the old one; fix or feature that would cause existing functionality to change)
Checklist:

 [x] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [x] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/component.Component.coach-indicator
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-ring-rounding-increment
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-ring-rounding-increment
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-ring-thickness
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-ring-thickness
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-gap
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-gap
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component.coach-indicator-opacity

SPECTRUM SYNC SUMMARY
NEW TOKENS: (12) contextual-help-body-font-size/desktop, contextual-help-title-font-size/desktop, contextual-help-body-font-size/mobile, contextual-help-title-font-size/mobile, coach-indicator-color, coach-indicator-collapsed-ring-rounding-increment, coach-indicator-expanded-ring-rounding-increment, coach-indicator-collapsed-ring-thickness, coach-indicator-expanded-ring-thickness, coach-indicator-collapsed-gap, coach-indicator-expanded-gap, coach-indicator-opacity
MODIFIED TOKENS: (2) contextual-help-body-size, contextual-help-title-size
DEPRECATED TOKENS: (6) contextual-help-title-size/desktop, contextual-help-title-size/mobile, contextual-help-body-size/desktop, contextual-help-body-size/mobile, contextual-help-body-size, contextual-help-title-size
CHANGED VALUES: (2) contextual-help-body-size/desktop, contextual-help-title-size/desktop

TEST COMPLETE

@GarthDB @karstens @mrcjhicks  – When you do your review, could you make sure to help check the "type" for the new tokens? I updated them based on other similar tokens, but some are new here.
For example, this update includes increment tokens – I'm assuming this is a number (similar to multiplier tokens), but would like to make sure this is correct.
Thanks!

@lynnhao Just FYI: I resolved the merge conflicts in this PR, related the recent changes in the :main branch. ✅

TESTING spectrum2
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-colors/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/

WARNING - STUDIO INCLUDES DEPRECATED TOKEN: overlay-opacity/dark [31d5b502-6266-4309-8f8a-3892e6e158da]
WARNING - STUDIO INCLUDES DEPRECATED TOKEN: overlay-opacity/light [26b9803c-577f-4a29-badd-dfc459e8b73e]

STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/component.Component.coach-indicator
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-ring-rounding-increment
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-ring-rounding-increment
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-ring-thickness
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-ring-thickness
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-collapsed-gap
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.coach-indicator-expanded-gap
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component.coach-indicator-opacity

SPECTRUM SYNC SUMMARY
NEW TOKENS: (8) coach-indicator-color, coach-indicator-collapsed-ring-rounding-increment, coach-indicator-expanded-ring-rounding-increment, coach-indicator-collapsed-ring-thickness, coach-indicator-expanded-ring-thickness, coach-indicator-collapsed-gap, coach-indicator-expanded-gap, coach-indicator-opacity

TEST COMPLETE

Thank you @karstens for the detailed review. I've updated the token types of the "increment" tokens to borderRadius as discussed on Slack. These should be ready now.

@lynnhao I left comments on the tokens that need a "type" change. We haven't really decided, which tokens we want to categorise as "spacing" and which as "sizing", but the token should not be a "number", if it has a pixel "px" in the value.

@karstens We could put together tests to run to check for this if that helps in the future.


Feature request: add option to ignore case on Dictionary and Lists comparison keywords

When comparing Lists or Dictionaries would be great if we could ignore case on item, value or both.
Something similar was done in the past with other kws: https://github.com/robotframework/robotframework/issues/2439
This would apply to these kws:
Dictionaries Should Be Equal
Dictionary Should Contain Item
Dictionary Should Contain Key
Dictionary Should Contain Sub Dictionary
Dictionary Should Contain Value
Dictionary Should Not Contain Key
Dictionary Should Not Contain Value
And List kws:
List Should Contain Sub List
List Should Contain Value
List Should Not Contain Duplicates
List Should Not Contain Value
Lists Should Be Equal

Sounds good to me. Are you @AllanMedeiros, or someone else, interested to create a PR? Should be pretty straightforward. The only design decision I see is deciding should with dicts this be applied both to keys and values.

Options key, value and both sound good to me. Probably should also support True and I guess it should be same as both.

Ignore case onlly used for the string type, but in fact, there may be other types of elements in list and dict collection. I.e., list, dict, number, dict inside list, list inside list, etc.

If the ignore case functionality would be enabled, we obviously should ignore it with non-string values. It should probably be used with nested lists/dicts, though, but that that makes the implementation a bit more complicated.

I updated the changes in #4690 . Please let me know if there are any more remarks, and whether I should change this from a draft pull request to a regular one

Hi, this is my first time contributing to open source. I've been working on implementing the 'ignore_case' feature, which allows for case-insensitive comparisons of keys, values, or both. Given this new feature, should we keep or remove the 'ignore_keys' feature? Does 'ignore_case' cover our needs, or is there a specific use case for 'ignore_keys' that I'm not aware of? Your guidance is greatly appreciated!

Hello,
I wanted to let you know that I've taken action on the feature request mentioned in issue #4343 . I've created a pull request that addresses this request by adding the option to ignore case in Dictionary and List comparison keywords.
This is my first contribution to the project, and I'm excited to be a part of the community.
You can view the details and changes in the pull request here:  #4897
Your feedback and thoughts on this would be greatly appreciated. I believe this enhancement could benefit the community by making Dictionary and List comparisons more versatile.
Thank you for your valuable suggestion, and I look forward to your feedback.

Based on a quick look the PR #4690 by @MobyNL looks to be in so good shape after the latest changes that I'll add this issue into RF 7.0 scope. I won't have time to re-review the PR properly right now, but setting the milestone makes sure it won't be forgotten. If you @MobyNL have time, you can update the "New in 6.2" notes to correct version.
Because the aforementioned PR is in such a good shape, I closed the newer PR #4897 by @Abhilash-du. I'm sorry for letting the older PR and this issue be open so long that there was confusion about the status. I hope you find something else you can contribute to related to Robot Framework or tool in its ecosystem.

I'll take a look at it this weekend :+1:

This was implemented in PR #4690 by @MobyNL. In practice various keywords got new ignore_case argument. Big thanks for contribution!
I was doing small cleanup to the new code when I noticed that the library already has some keywords that accept case_insensitive and whitespace_insenstive arguments. I had forgotten about that, but Git history showed they were added already in RF 2.8.8 (#1724), Having both ignore_case and case_insensitive in the same library is very confusing so we need to do something to it. It would be easy to change the newly added ignore_case to case_insensitive, but we also use ignore_case widely in BuiltIn and having consistency between standard libraries is important as well.
The keywords in Collections already have case_insensitive are:

should_contain_match
should_not_contain_match
get_matches
get_match_count

Because there are only for keywords, we could pretty easily also add ignore_case to them and deprecate case_insensitive. That is more work, but I believe consistency is worth it. For full consistency we should also look at the String library that has two keywords accepting case_insensitive as well. We may not have time to update that library now, but we should at least submit an issue about doing it later.
I need to think a bit more about this, but I believe using ignore_case consistently is the way to go. I'll reopen this issue until the current inconsistency is resolved somehow.

While doing small cleanup to Collections related to this enhancement and otherwise, I noticed that case-insensitive comparisons with dictionaries had some problems. After a bit of investigation it turned out that it is actually pretty complicated problem, especially when we wanted to allow normalizing either only keys and values in addition to normalizing the whole dictionary. Some examples about complexity below:

If a dictionary has multiple keys that are normalized to the same value like {'a': 1, 'A': 2}, normalizing removes values. We noticed this already when working with PR #4690 and decided to make this an error. There was, however, a problem that this was only an error with Dictionaries Should Be Equal, but also other dictionary comparison keywords are affected.
If normalizing only keys or values, the expected values need to be normalized according to the same normalization configuration as the dictionary. This requires having special methods for normalizing keys and values.
With nested dictionaries, key/value normalization should be taken into account also with child dicts. For example,  if only values are normalized with {'A': 'X', 'nested': {'B': 'Y'}}, both X and Y should be normalized but A and B should not. B is part of the value of the item nested, but it is also a key so it shouldn't be normalized.

Getting all the above right wasn't exactly trivial, but after the changes in the above commit everything not ought to work as expected. As part the changes I needed to enhance the Normalizer helper class that was added earlier quite a bit. I enhanced it also to handle sorting with lists and ignoring keys with dicts and now also they work recursively (#4952).
I have now also handled the inconsistency with ignore_case and case_insensitive so that old keywords using the latter now also support the former (#4954). Now it is possible to use ignore_case consistently with all standard libraries.
This enhancement is very useful, it showed the inconsistency we had with configuring case-insensitivity, and the new Normalizer class made it easy to enhance Collections also otherwise. All this required lot of work, though, which was a bit unfortunate because we have somewhat tight schedule with RF 7.0. Anyway,  now everything hopefully is ready and we can enjoy the new enhancements. I hope people interested in this can test the functionality when RF 7.0 alpha 2 is out.

This is really awesome! Can't wait to be able to test it, but to be honest I didn't realize it would require that lot of work. This happens all the time on IT world, it doesn't? A feature that seems to be simple to be implemented at first sight and then becomes complex during the development phase.
Thank you @pekkaklarck !

Yeah, it's pretty common that something that initially looks simple turns out to be surprisingly complicated. Case-insensitivity with dictionaries was a very good example.
You can test the functionality with RF 7.0 alpha 2 that was released few days ago:
https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-7.0a2.rst


Adding dtypes to the exclude parameter in the remote partition

What do these changes do?

This will give the correct result when df.describe is called
Fixes an index mismatch error between the remote and local

Related issue number
Resolves #320

[x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x] passes black --check modin/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-Performance-PRB/139/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/201/
Test PASSed.


no have confing file

I can't find the confing file to edit, neither lethallib nor r2modman can see it.

I can't find the confing file to edit, neither lethallib nor r2modman can see it.
It is not under TheFluff but is under GoldenKitten. So the file would be called GoldenKitten.FairAi

there is no file with this name, and even if there is such a configuration file, it is not seen either by mods for changing the configuration of mods, or by r2modman itself, which have the ability to read and change the configuration of mods

there is no file with this name, and even if there is such a configuration file, it is not seen either by mods for changing the configuration of mods, or by r2modman itself, which have the ability to read and change the configuration of mods

I use Thunderstore and it works fine in generating the config file so i mean i will check r2modman


[User experience] Logs from electron and/or web should be stored locally for troubleshooting

As a person who troubleshoots a lot of stuff with Bruno for my team, I'm having a difficult time pinpointing issues as logs from electron and/or web are not persistently saved anywhere.
It's worse for electron since I can't even look them up as the application is running (as far as I can tell).

console logs in scripts are proxied back to dev console from electron.

It's worse for electron since I can't even look them up as the application is running (as far as I can tell).

Can you elaborate on this. There are two persona's (bruno developers and bruno users) - trying to understand which persona you are referring to and how electron logs can be useful for them.

In this case it's about Bruno Users communicating with Bruno Developers.
I am referring to logs generated by bruno whenever there are issues, like format of the env or request file is invalid. If you run bruno using dev tools, you can get those electron logs by setting ELECTRON_ENABLE_LOGGING.
It's much more difficult and painful to do that if you are running it as a regular mac app for example (like all sane Bruno Users do), to the point that the best approximation of an issue I can get is "something stopped working when I did X, see this git diff" and then trying to replicate it by hand, to eventually convert it into an issue. That's a huge pain for larger collections, where we have hundreds of requests and dozens of env variables.
Specific example:
One thing that I've been hunting for two days already is that sometimes environments stop showing up despite no changes being done to them, but if I clear ~/Library/Application Support/bruno/secrets.json, it shows up again. This happens during usage and has to be some unhandled promise rejection on electron side. If I had logs, I could narrow it down a lot more.


iOS does not compile with Cordova 6.0.0, appears to have a path resolution error on 5.4.1

When attempting to build iOS with Cordova 6.0.0 with this plugin installed an error is thrown stating that "Cordova/NSData+Base64.h" is not found originating from safe.h.
When using Cordova 5.4.1 in the iOS simulator, the plugin always throws an error of "null" since fileExists always resolves to null in the main crypto method in safe.m.

The error I get when attempting to compile on iOS:
"ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/omefire/Projects/tt/platforms/ios/cordova/build-debug.xcconfig,-project,HelloCordova.xcodeproj,ARCHS=i386,-target,HelloCordova,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/omefire/Projects/tt/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/omefire/Projects/tt/platforms/ios/build/sharedpch
You may not have the required environment or OS to build this project
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/omefire/Projects/tt/platforms/ios/cordova/build-debug.xcconfig,-project,HelloCordova.xcodeproj,ARCHS=i386,-target,HelloCordova,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/omefire/Projects/tt/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/omefire/Projects/tt/platforms/ios/build/sharedpch"


Install Elmer in Dockerfile

This PR installs Elmer in the supplied Dockerfile, as it is supported in gplugins as of https://github.com/gdsfactory/gplugins/pull/42
Closes #1999

Thank you Niko!


⚠ Spryr has degraded performance

In dfaf323, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 8465 ms

Resolved: Spryr performance has improved in ee75ca1 after 26 minutes.


Dockerfile.dev fails

Bug Report
Description
Bug Summary:
Building the Dockerfile.dev container image fails with the message,
...
ERROR: Cannot install -r requirements.txt (line 22) because these package versions have conflicting dependencies.

The conflict is caused by:
    sentence-transformers 2.2.2 depends on torch>=1.6.0
...

I assume this is due to a missing dependency in the backend/requirements.txt file, but I can't be certain yet.
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
podman build -f ./Dockerfile.dev -t foobar

Expected Behavior:
[Describe what you expected to happen.]
Build successfully
Actual Behavior:
[Describe what actually happened.]
It did not build.
Environment

Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]

Ubuntu 22.04 lts

Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

n/a
Reproduction Details
Confirmation:

[X] I have read and followed all the instructions provided in the README.md.
[ X I have reviewed the troubleshooting.md document.
[X] I have included the browser console logs.
[X] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Hi, Thanks for creating this issue. Could you tell us more about Dockerfile.dev file? I'm guessing it might be a podman syntax which I'm not very familiar with. I can confirm that the build using docker works fine in all my macos, windows, ubuntu machines. We only support containerising using docker officially, so you might want to open an issue on their repo if possible!

I closed the issue. It turns out that I just needed to install torch inside the container.


Publish release docs to spring-cloud-static project

Following spring cloud core convention

Updated docs build, see also https://github.com/spring-cloud/spring-cloud-static/pull/3


suggestion for home page

on the home page
you have find menu button , not sure if that make sense , ,
you may want to add default text in that field  , something like Enter your postcode ? and Find menu is to be just FIND or Search ??
https://bigfoodie.co.uk/home
https://bigfoodie.co.uk/area/stoke-on-trent
look on their home page and a listed takeaway page for some ideas

Thanks for the suggestion :). Please post your suggestions on the forums.


pkg(ticdc): replace json lib with go-json in etcd worker

What problem does this PR solve?

Issue Number: ref #7877
What is changed and how it works?
Test in release-6.5
Before this PR:
orchestrator.(*EtcdWorker).applyPatchGroups cost 7.96% CPU.
json.Unmarshal cost 6.37% CPU.

After this PR:
orchestrator.(*EtcdWorker).applyPatchGroups cost 2.58% CPU.
json.Unmarshal cost 2.58% CPU.

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/run-all-tests

/merge

/run-verify

/run-engine-integration-test


Create initial batch of pediatric surveys

Currently these exist on staging, now we are gearing up for pediatric surveys going live with 10.1.0.

@mrueschman, is this done?

Surveys on staging are now in live environment.


Revert "Ensure that flex children adopt their parent's cross-axis min di...

...mension."
This reverts commit b8316413b310643ea6555a015b3903f4fde1104e.
This was causing issues for existing components built with React
Native.. we need to investigate more in the future.
cc @freakboy3742

Are you able to elaborate on the "issues"? Can you provide a test case (or reproduction instructions)?


Sensors States are reversed

Thanks for the integration, been using for a few days now, but seems to have come across the issue that the sensor states are in reverse.
I.e. Front Door is currently closed, but is showing open. This is the same for all sensors.

This integration just returns the sensor state as strings from what ADC returns. You can view what we return in the sensor_status attribute of your alarm panel entity. I suspect your problem with reversed states is probably from the mapping you are using in value_template: . See here: https://github.com/uvjustin/alarmdotcomajax#additional-features

Map them all as per instruction with their state as they are. I.e. if front door closed, map as closed, and back door open as open.
However they don't through correctly, Often showing reversed, so open, when physically closed. Can flick between these states over hours when the door hasn't physically been opened/closed

Map them all as per instruction with their state as they are. I.e. if front door closed, map as closed, and back door open as open.
However they don't through correctly, Often showing reversed, so open, when physically closed. Can flick between these states over hours when the door hasn't physically been opened/closed


swagger-codegen3: 3.0.33 -> 3.0.34

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/swagger-codegen/versions.
meta.description for swagger-codegen3 is: "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec"
meta.homepage for swagger-codegen3 is: "https://github.com/swagger-api/swagger-codegen/tree/3.0.0"
meta.changelog for swagger-codegen3 is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.0.34 with grep in /nix/store/8jlqvh6snssv76nddbsb8ldaql6xdgpw-swagger-codegen-3.0.34
found 3.0.34 in filename of file in /nix/store/8jlqvh6snssv76nddbsb8ldaql6xdgpw-swagger-codegen-3.0.34

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
swagger-codegen3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8jlqvh6snssv76nddbsb8ldaql6xdgpw-swagger-codegen-3.0.34 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A swagger-codegen3 https://github.com/r-ryantm/nixpkgs/archive/5a451c0fe27332c99f2cbe8e2bb38b4e60098c27.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8jlqvh6snssv76nddbsb8ldaql6xdgpw-swagger-codegen-3.0.34
ls -la /nix/store/8jlqvh6snssv76nddbsb8ldaql6xdgpw-swagger-codegen-3.0.34/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

swagger-codegen3

Maintainer pings
cc @1000101 for testing.

Result of nixpkgs-review pr 184683 run on x86_64-linux 1

1 package built:

swagger-codegen3


[Housekeeping] Provide realm auto deletion functionality

Problem

realm can be deleted either from housekeeping restapi (only when no devices are connected)
using astartectl

When evaluating the astarte with different realms it becomes difficult to maintain all the realms and cleaning the unused realms. Hence requesting to extend housekeeping ream creation api to include TTL flag/paramter to auto delete the realm when set during realm creation

Realm deletion implies data loss, so an automatic deletion based on TTL could open a number of problems (e.g. what about online devices whose realm has been auto-deleted?). We should carefully consider if we want to provide such a feature.


Add build watch script

This just adds a build:watch script that rebuilds the project every time a file changes. This is mostly because currently I have to run yarn build every time I change the PoC code to test something

Forget about this. It's better to do yarn build --watch for now on.


Incorrect failures with multiple leading comments

Flagging the first leading comment as the comment for a method is incorrect.
The result is violations can be incorrectly flagged.
See the following two examples. In both cases, it is due to the usage of array index 0 in https://github.com/nrsedat/eslint-plugin-require-jsdoc/blob/v1.0.4/lib/rules/require-jsdoc.js#L58
It should instead be the last value in the array.
In this example, the block comment 'global somevar' is the first leading comment.
/* global somevar */

/**
 * Comment
 * @returns {void}
 */
function f1() {
  return;
}

In this example, the line comment 'this is the first leading comment for f2' after the return is the first leading comment.
/**
 * Comment
 * @returns {void}
 */
function f1() {
  return;
  // This is the fist leading comment for f2
}

/**
 * This is the second leading comment for f2
 * @returns {void}
 */
function f2() {
}

Replace the line 58
var commentData = context.getComments(node).leading;
var comment = commentData[commentData.length - 1] && commentData[commentData.length - 1].value || '';


[S3] The status field of the lifecycle rules is required

Describe the bug
The documentation says that the status field of the lifecycle rules is optional but in fact it is required. It needs to be set to Enabled or Disabled.
Documentation: https://aws-controllers-k8s.github.io/community/reference/s3/v1alpha1/bucket/

Error message:
- message: |
      Error syncing property 'Lifecycle': InvalidParameter: 1 validation error(s) found.
      - missing required field, PutBucketLifecycleConfigurationInput.LifecycleConfiguration.Rules[2].Status.
    status: "True"
    type: ACK.Recoverable

Steps to reproduce
Deploy an S3 with a lifecycle configuration and omit the status field, e.g.:
apiVersion: s3.services.k8s.aws/v1alpha1
kind: Bucket
metadata:
  name: test
spec:
  name: test
  publicAccessBlock:
    blockPublicACLs: true
    blockPublicPolicy: true
    ignorePublicACLs: true
    restrictPublicBuckets: true
  versioning:
    status: Enabled
  encryption:
    rules:
      - bucketKeyEnabled: false
        applyServerSideEncryptionByDefault:
          sseAlgorithm: AES256
  lifecycle:
    rules:
      - id: "Non-Current Version Transition to STANDARD_IA"
        status: "Enabled"
        filter:
          prefix: "/topics"
        noncurrentVersionTransitions:
          - noncurrentDays: 30
            storageClass: "STANDARD_IA"
      - id: "Current Version Transition to STANDARD_IA"
        filter:
          prefix: "/topics"
        status: "Enabled"
        transitions:
          - days: 30
            storageClass: "STANDARD_IA"
      - id: "This one is broken"
        filter:
          prefix: "/topics"
        transitions:
          - days: 30
            storageClass: "STANDARD_IA"

Expected outcome
Either the documentation should say that its required or the operator should fill the field with a default value so that truly optional.
Environment

Kubernetes version: 1.23.10
Using EKS (yes/no), if so version? Yes 1.23.10
AWS service targeted (S3, RDS, etc.) S3

@RedbackThomson feel like taking a stab at this? I think now that codegen supports nested field configuration options, I think this should be fixable by adding an is_required to the FieldConfig of Lifecycle.Rules.Status?

@jaypipes I see that Enabled is already a required field within LifecycleRule. I wonder why it's not marked as required by default within the type. If I manually mark this field as required, I would have to mark every other field within all of these other custom configuration fields as well?

@jaypipes I see that Enabled is already a required field within LifecycleRule. I wonder why it's not marked as required by default within the type. If I manually mark this field as required, I would have to mark every other field within all of these other custom configuration fields as well?

It is indeed.
This must be a bug in the API inference part of the code-generator. I can take a look into it tomorrow.

I think this is very similar to what @embano1 is experiencing in https://github.com/aws-controllers-k8s/community/issues/1645

/remove-lifecycle stale

Potential fix for this: https://github.com/aws-controllers-k8s/code-generator/pull/393


User Assigned Identities with App Service and Azure SQL does that work?

I am trying to get App Service to connect with Azure Sql database. I can git is nicely work with System Assigned Identities with the same code, but I prefer to use User Assigned Identities (UAI), but I cannot get it work.
Steps which I do:

Created a UAI via the portal, name of the UAI "uai-dev-appname-001"
At the Identity tab of the Azure App Service I selected 'User Assigned Identity' and selected the UAI made in the previous step.
Ran the following SQL CMD

CREATE USER [uai-dev-appname-001] FROM EXTERNAL PROVIDER
ALTER ROLE db_datareader ADD MEMBER [uai-dev-appname-001]
ALTER ROLE db_datawriter ADD MEMBER [uai-dev-appname-001]

Set Connectionstring to:

Data Source=sqlsrv-name-dev-001.database.windows.net; Initial Catalog=sqldb-name-dev-001;

Using the following code in mine ASP.NET Core:

SqlConnection connection = new SqlConnection
{
   ConnectionString = configuration.GetConnectionString("nameDatabase")
};
AzureServiceTokenProvider provider = new AzureServiceTokenProvider();
var token = provider.GetAccessTokenAsync("https://database.windows.net/").Result;
connection.AccessToken = token;

Deploy to Azure App Service, result in the error 500.30
Looking in the Application Event Log:

Unhandled exception. System.AggregateException: One or more errors occurred. (Parameters: Connection String: [No connection string specified], Resource: https://database.windows.net, Authority: . Exception Message: Tried the following 3 methods to get an access token, but none of them worked.
Parameters: Connection String: [No connection string specified], Resource: https://database.windows.net, Authority: . Exception Message: Tried to get token using Managed Service Identity. Access token could not be acquired. Received a non-retryable error. MSI ResponseCode: BadRequest, Response: {"StatusCode":400,"Message":"No MSI found for specified ClientId/ResourceId.","CorrelationId":"a68bf757-518a-42e1-85a9-342320d39b5a"}
Parameters: Connection String: [No connection string specified], Resource: https://database.windows.net, Authority: . Exception Message: Tried to get token using Visual Studio. Access token could not be acquired. Visual Studio Token provider file not found at "D:\local\LocalAppData.IdentityService\AzureServiceAuth\tokenprovider.json"
Parameters: Connection String: [No connection string specified], Resource: https://database.windows.net, Authority: . Exception Message: Tried to get token using Azure CLI. Access token could not be acquired. 'az' is not recognized as an internal or external command,
operable program or batch file.

The most interesting part in IMO is:

Response: {"StatusCode":400,"Message":"No MSI found for specified ClientId/ResourceId.","CorrelationId":"a68bf757-518a-42e1-85a9-342320d39b5a"}

Can you please tell me:

If it should work with UAI
If so what do I do wrong/forget?
If you have a working example, please share with me

Kind regards,
Sven Ansem

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

ID: 31b0d33c-f88e-d50c-2926-7933940f3b92
Version Independent ID: 4aaef906-f501-6947-5d23-1b704470f09d
Content: Tutorial: Access data with managed identity - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-connect-msi.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@sven73a Thanks for the feedback! We are currently investigating and will update you shortly.

@sven73a Thanks again for asking question! After performing initial investigations on the issue with the information you have shared feels this require deeper investigations, so request you to send an email to AzCommunity[at]Microsoft[dot]com referencing this issue.

Although the issue is closed. I found a solution, thanks to an answer on Stackoverflow:
https://stackoverflow.com/questions/60315578/user-assigned-identities-with-app-service-and-azure-sql-does-that-work
Solution is:

set AzureServicesAuthConnectionString in the Appsettings of the AppService to RunAs=App;AppId={ClientId of user-assigned identity}. E.g. RunAs=App;AppId=587f16c8-81ed-41c7-b19a-9ded0dbe2ca2

Hello Sven,
(5) code , did you place this in EF context (MyDatabaseContext.cs) file?
regards

No, not in the code, but on the Configuration => Application Settings of the Azure App Service.

Hello @sven73a ,  i was not referring to the appsetting.  but the code to acquire the token . When i am using the code (ASP.NET Core) as mentioned on the docs page, it is throwing an invalid cast exception
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-connect-msi#modify-aspnet-core

//Called from the dependendy inection
//AsyncUtilities.RunSync copied from https://gist.github.com/ChristopherHaws/b1c54b95838f1513bfb74fa1c8e408f3#file-asyncutilities-cs

public static IServiceCollection AddPersistence(this IServiceCollection services, IConfiguration configuration)
{

	IServiceProvider serviceProvider =
			ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(services);
	var provider = serviceProvider.GetRequiredService<IDbAuthTokenService>();

	services.AddDbContext<IBmrVertogasDbContext, BmrVertogasDbContext>(options =>
	{
			//It is import that the next 2 lines are inside the AddDbContext, otherwise the token will not be refreshed if it is expired.
			var token = AsyncUtilities.RunSync(() => provider.GetToken());
			connection.AccessToken = token;
			options.UseSqlServer(connection);
	});

	return services;
}

// In a seperate class file
namespace xxxxx
{
	public class AzureSqlAuthTokenService : IDbAuthTokenService
	{
			public async Task<string> GetToken()
			{
					var provider = new AzureServiceTokenProvider();
					var token = await provider.GetAccessTokenAsync("https://database.windows.net/");
					return token;
			}
	}

	public interface IDbAuthTokenService
	{
			Task<string> GetToken();
	}
}

// In de Startup.cs
public void ConfigureServices(IServiceCollection services)
{
	//Other....
	services.AddTransient<IDbAuthTokenService, AzureSqlAuthTokenService>();
	//Other....

	services.AddPersistence(Configuration);
	//Other....
}

//Called from the dependendy inection
//AsyncUtilities.RunSync copied from https://gist.github.com/ChristopherHaws/b1c54b95838f1513bfb74fa1c8e408f3#file-asyncutilities-cs

public static IServiceCollection AddPersistence(this IServiceCollection services, IConfiguration configuration)
{

	IServiceProvider serviceProvider =
			ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(services);
	var provider = serviceProvider.GetRequiredService<IDbAuthTokenService>();

	services.AddDbContext<IXXXDbContext, XXXDbContext>(options =>
	{
			//It is import that the next 2 lines are inside the AddDbContext, otherwise the token will not be refreshed if it is expired.
			var token = AsyncUtilities.RunSync(() => provider.GetToken());
			connection.AccessToken = token;
			options.UseSqlServer(connection);
	});

	return services;
}

// In a seperate class file
namespace xxxxx
{
	public class AzureSqlAuthTokenService : IDbAuthTokenService
	{
			public async Task<string> GetToken()
			{
					var provider = new AzureServiceTokenProvider();
					var token = await provider.GetAccessTokenAsync("https://database.windows.net/");
					return token;
			}
	}

	public interface IDbAuthTokenService
	{
			Task<string> GetToken();
	}
}

// In de Startup.cs
public void ConfigureServices(IServiceCollection services)
{
	//Other....
	services.AddTransient<IDbAuthTokenService, AzureSqlAuthTokenService>();
	//Other....

	services.AddPersistence(Configuration);
	//Other....
}


unable to install via luarocks with lua 5.4

Will not install for Lua 5.4:
$ luarocks --local install lume

Error: No results matching query were found for Lua 5.4.
To check if it is available for other Lua versions, use --check-lua-versions.

It looks like it just needs to be published to luarocks for 5.4; for what it's worth, I just tried cloning the repo and running the tests in 5.4 and they all passed without issue.


Development

In this milestone, i

Used database transactions.
Modified and deleted data in SQL.
Prepared complex queries to answer analytical questions

Helo @SajjadAhmad14 ,
I don't get it when you say I haven't followed the correct Gitflow
I have development branch, query-and-updates branch which I merged to development and I finally opened a pull request to the main branch from development.
How do you mean?

Hi,
so you need to open PR from the feature branch to the development branch and the development branch should be the default branch.


Fix benchmark script type issue

Fix #57

I was trying to submit a PR to fix this issue. Saw same error from my side.

Thanks for the fix @JoeZijunZhou !


Trim poly-G

Hi,
Poly-G might appear at any position when using NextSeq/NovaSeq, but fastp seems to only trim poly-G at the read tail. Would it be possible to perform poly-G trimming at any position?
Thank you.

The poly-G in the middle of reads are usually with low quality.
You can use --cut_right to trim them

The poly-G in the middle of reads are usually with low quality.
You can use --cut_right to trim them

Thanks. AfterQC can trim the poly-G with a sliding window. Is that correct?

Yes, but actually most polyG are in the tails, as far as I know.


Object has no attribute

Hey there, I am fairly new to Python and trying to connect to a site through a proxy and get certificate information. (I did not know where else to post this so I really apologize if this is not the right place)
Whenever I run any of the request methods to get certs I get an object has not attribute error or an error that pertains to urllib3.
To Reproduce
Steps to reproduce the behavior:
I am following the examples in the documentation on https://cert-human.readthedocs.io/en/latest/api/api.html
Expected behavior
I am trying to follow all the examples to print the cert resultssni
Screenshots

Desktop (please complete the following information):

OS: [Win 10]
Python 3.7.4 Shell

The reason I have proxies=proxies is I am behind a proxy at work and must submit a username and password to allow the proxy to access a site. This was the reason I wanted to use requests.get since they have a proxy parameter built in that I can pass. I already have defined that proxy above. I was really excited when I found your build and I assume I am just using it incorrectly.
Again I did not know what other capacity to reach you directly as I am so new, so I apologize.

tldr: Use requests 2.22.0 for now
I have the same problem
import cert_human
import requests

with cert_human.urllib3_patch():
    response = requests.get('https://www.google.com')
    store = cert_human.CertStore.from_response(response=response)

Throws a missing attribute on raw.peer
Traceback (most recent call last):
  File "get_certs.py", line 21, in <module>
    store = cert_human.CertStore.from_response(response=response)
  File "C:\..\.venv\lib\site-packages\cert_human\__init__.py", line 454, in from_response
    raise CertHumanError(error)
cert_human.CertHumanError: Response missing attribute 'raw.peer_cert', not issued using enable_urllib3_patch

This error is only shown when using requests 2.25, but not requests 2.22 (I have not tested other versions)

This did break since requests==2.24.0 (thus last working version is requests==2.23.0) since pyOpenSSL dependency was removed, see changelog: https://github.com/psf/requests/blob/master/HISTORY.md#2240-2020-06-17
Currently cert_human requires pyOpenSSL in order to work and so if requests don't use pyOpenSSL then cart_human can't work.
But there is workaround how to enable old behaviour where requests use pyOpenSSL for SSL/TLS instead of built in ssl library, see https://github.com/psf/requests/pull/5443#issuecomment-645740394
In result this can be fixed with following line (call before calling requests):
urllib3.contrib.pyopenssl.inject_into_urllib3()
With this workaround cert_human works even with current requests version (2.26.0).

pyOpenSSL support has been deprecated now and will be removed in urllib3 v2.1.0
https://github.com/urllib3/urllib3/issues/2680
https://urllib3.readthedocs.io/en/2.0.0a2/reference/contrib/pyopenssl.html


[BUG] RAPIDS devel image has broken PATH for building RAPIDS libs (cannot find nvcc)

If a user tries to run a typical build of a RAPIDS library (cugraph in my case) using a devel image, their build errors with this message:
    ccache: error: Could not find compiler "nvcc" in PATH

I believe this may be just a matter of adding /usr/local/cuda/bin to the PATH for the "rapids" user, but I haven't confirmed.

@rlratzel, this should be fixed in our latest images since we removed the rapids user and switched back to using the root user.


path parameters function doesn't seem to capture missing path parameters in operations

This doc:
openapi: 3.0.3
info:
  title: Test
  version: 0.0.1
  description: A test API
servers:
  - url: https://example.com
security:
  - basicAuth: []
tags:
  - name: tag1
paths:
  /update/{something}:
    post:
      operationId: postSomething
      summary: Post something
      tags:
        - tag1
      responses:
        '200':
          description: Post OK
    get:
      operationId: getSomething
      summary: Get something
      tags:
        - tag1
      responses:
        '200':
          description: Get OK
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

returns this result from vacuum:
vacuum lint ../openapi-specs/path-param-test.yaml -d

INFO  Linting against 42 rules: https://quobix.com/vacuum/rulesets/recommended

Linting passed, A perfect score! well done!

looking at the code I can see there is a check to detect the fact there is no path param defined for {something} but it doesn't seem to be catching that it isn't defined

Hmm.. i'll look into this asap.

This should be fixed in v0.0.44

can confirm it is fixed


Fix Security issue #54/#57

Problem:
bump packages required for security https://github.com/harvester/security/issues/54 and https://github.com/harvester/security/issues/57
Solution:

Related Issue:
Test plan:

https://github.com/Mergifyio backport v0.5.x


Error! App '730' state is 0x202 after update job.

please help
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'readysurtin' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
roaming config store loaded successfully - 1826 bytes.
migrating temporary roaming config store
src/clientdll/internalcallbacks.cpp (115) : Re-entering DispatchCallback, this is dangerous.
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x11) preallocating, progress: 1.83 (667536162 /<PHONE_NUMBER>4)
Error! App '730' state is 0x202 after update job.
Updating Workshop items for App '730'.
Update state (0x0) : Timed out waiting for update to start, bailing.
Work thread 'CContentUpdateContext::m_pCPUTh' is marked exited, but we could not immediately join prior to deleting -- proceeding without join
CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 11 items discarded.
src/clientdll/contentupdatecontext.cpp (752) : m_uIOCurrentCacheSize == 0
src/clientdll/contentupdatecontext.cpp (752) : m_uIOCurrentCacheSize == 0
CWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 3 items discarded.
cp: cannot create regular file '/home/steam/cs2-dedicated/game/csgo/cfg/server.cfg': No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
entry.sh: line 35: cd: /home/steam/cs2-dedicated/game/bin/linuxsteamrt64: No such file or directory
entry.sh: line 49: ./cs2: No such file or directory

Just a guess, but I wonder if this is a permissions type problem with:
cp: cannot create regular file '/home/steam/cs2-dedicated/game/csgo/cfg/server.cfg': No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
sed: can't read /home/steam/cs2-dedicated/game/csgo/cfg/server.cfg: No such file or directory
entry.sh: line 35: cd: /home/steam/cs2-dedicated/game/bin/linuxsteamrt64: No such file or directory
entry.sh: line 49: ./cs2: No such file or directory

You could double check that by exec'ing on the container and seeing if you can create files in  /home/steam/cs2-dedicated/game/csgo/cfg/

As @magnushirst says, check the permissions.
If you are using a persistent volume then make sure that it is writable.

As @magnushirst says, check the permissions.
If you are using a persistent volume make sure that it is writeable.

It depends on what user id your container executes under.
Setting permissions on the directory you are mounting as 0777 should work for testing.

Also, if you are running the container under a system where you need to define how much disk space is available (like Fargate) then there needs to be at least 40GB.

I did great, but I don't understand how to log in to the console

@morkvk logging in to the console -- that's something to do with how to use Portainer's features
Check out this documentation

I tried using the command but I can't interact with the console
docker container attach cs2-dedicated

@morkvk I'm glad you got your container started :)
For Portainer specific questions you are better off directing them to Portainer support or the community like https://www.reddit.com/r/portainer/

Closing this issue as the problems are now around Portainer features/usage.


[📚] [Firebase-auth] : Please provide a complete Streambuilder based example

Hello,
Looking at the auth docs they stop short of providing a complete Flutter Material app based example, with a Scaffold and a Streambuilder.
Can this please be provided?
https://firebase.flutter.dev/docs/auth/usage

cc @rrousselGit - might be a good UI related one for you :)

@giorgio79 What would you expect such an example to contain?

Thanks Remi , I got this sorted meanwhile googling around.
Reading this https://firebase.flutter.dev/docs/auth/usage/   I noticed the piecemeal code snippets, and would have been nice to have a full login / logout Google social auth example :)

Are you maybe looking for the auth example application? https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth/example
It has a "full" login flow.

Wow thanks Remi. Looks fab.
Perhaps a link from https://firebase.flutter.dev/docs/auth/usage/ could be nice.
How do people find that sample? I haven't back when I posted here. 🙂


ESP32

I believe the the hardware driver on the esp32 (in Arduino IDE) is called differently, not sure about an equivalent function... I think it'll be easier to just directly talk to the module but I got this error on compilation:
SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end'
....
\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()':
C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end'
Wire.end(); // stop i2c bus to send wake up request via digital pins
   ^

Using library SparkFun_MLX90614_Arduino_Library-master at version 1.0.2 in folder: C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_MLX90614_Arduino_Library-master
Using library Wire at version 1.0.1 in folder: C:\Users\Lauren\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\libraries\Wire
Using library SparkFun_AS726X at version 1.0.3 in folder: C:\Users\Lauren\Documents\Arduino\libraries\SparkFun_AS726X
Using library HX711_ADC at version 1.1.5 in folder: C:\Users\Lauren\Documents\Arduino\libraries\HX711_ADC
Using library EasyTransfer in folder: C:\Users\Lauren\Documents\Arduino\libraries\EasyTransfer (legacy)
exit status 1
Error compiling for board ESP32 Dev Module.
I would add, I'm not even calling the function from my code.

I changed line Line 284 - Wire.end(); // stop i2c bus to send wake up request via digital pins
to Wire.endTransmission(true);
That sorted out the issue.

I am seeing a similar problem on an ESP8266 board, perhaps this is similar to this issue
Arduino: 1.8.12 (Windows 10), Board: "SparkFun ESP8266 Thing, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 512KB (FS:32KB OTA:~230KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\user\Documents\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()':
C:\Users\user\Documents\libraries\SparkFun_MLX90614_Arduino_Library-master\src\SparkFunMLX90614.cpp:284:7: error: 'class TwoWire' has no member named 'end'
Wire.end(); // stop i2c bus to send wake up request via digital pins
   ^

exit status 1
Error compiling for board SparkFun ESP8266 Thing.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

the change on line Wire.endTransmission(true); worked! thanks


Implement immutable page revision events per RFC 29, Task 1

See RFC 29 for complete details. This issue is to implement Task 1 of that RFC.

$500 bounty from Twilio: https://www.bountysource.com/issues/60101801-implement-immutable-page-revision-events-per-rfc-29

I would like to work on this in September if nobody has had a go at it by then.
However some aspect of the RFC are still vague and I would like to discuss them.
1. Immutability (of revisions and revision events):
Are we talking immutability in principle (i.e. the model is mutable but we don't mutate it) or enforced immutability (i.e. it isn't possible to mutate the model via the ORM)?
The promise of immutability will be broken sooner or later if it's only in principle but enforcing it might be problematic for future migrations or fixups.
2. Event Identifier (string)
The RFC mention it should be expandable by the user and the attached notes mention registering new events. The notes also mention expanding Page state beyond draft/live, but once you allow states to be added, the next request will be about replacing or removing some of the default states. Does that mean that the built-in event types could be replaced?
What should happen to event types (either custom or built-in) which were once registered and used but aren't available anymore?
3. Event Data (JSON)
It makes sense for the PageRevision to have a content_json since:

each page type is different so we can't have a defined list of fields
while the data will be vastly different from a page type to another, the data is only ever accessed in the context of a unique page type (i.e. you don't compare the revision of the homepage with the revision of the contact form page)
we always ever access the data as a whole and use it to load it onto a object
the data is somehow non-essential to the revision itself
we don't want/need to search through that data

But I'm not sure it is the right pick for a revision event since:

we might want/need to search through that data
for a given event type, we will need to access a particular key on the data; in other words, some fields are required for specific event type but it isn't something which can be enforced easily with JSON data.

Have other approach been though of? I can think of the following:

Multiple table inheritance similarly to the Page model.

Each event type could define its own fields.

Extensible abstract models similarly to the AbstractImage, AbstractRendition and AbstractDocument.

All the fields would be on the same model, but it would be possible to enforce some validation logic through forms.

Swappable models, although it's not an official feature so it's probably not a good idea.

4. Deprecation period?
I don't think page revisions have ever been part of the public API, but should be worry of breaking changes?
5. What's next?
I understand that given the amount of work required, it had to be broken down in several steps but I'm afraid we would be solving step 1 with the hope that's it's going to work further down the line.
Design should be involved asap, not necessarily for the visual design (at least not at first) but for the user experience side of things. The different ideas thrown in the notes and the proposed wagtail/rfcs#24 raise many questions. While many of them might only involve UI (e.g. how to add comment to a revision of a specific field, how to tag revisions manually), other might require vastly different approaches (e.g. custom approval workflow).

Immutability (of revisions and revision events):

Are we talking immutability in principle (i.e. the model is mutable but we don't mutate it) or enforced immutability (i.e. it isn't possible to mutate the model via the ORM)?

At least in principle. I've only been hacking on Django for a couple years and have never needed to enforce immutability, so I can't speak to how feasible it would be.

Event Identifier (string)
...
Does that mean that the built-in event types could be replaced?

No, I would not envision that. The expandability is purely additive. The events/states managed within the Wagtail core would not be something that could be changed.

What should happen to event types (either custom or built-in) which were once registered and used but aren't available anymore?

So, while not (theoretically) possible for built-in, this certainly could happen for custom event types. I would expect that they would remain in the database, but just not exposed via the ORM. That would seem to be the safest approach in case an event type was inadvertently removed, it could be re-added without the data being destroyed? (Again, not sure how this is implemented in Django.)

Event Data (JSON)

I don't think this is applicable to this RFC. You make valid points, but we are not proposing any changes to PageRevision. The RFC is only dealing with another model, RevisionEvents, and would not have any of the page content stored within them.

Deprecation period?

Again, we're not changing page revisions.

What's next?

Here is a doc with a brain dump of the notes that led to this specific step 1.
https://hackmd.io/s/ByDdmUZWm#

Thank you for your answers @dprothero.
Just to keep everybody in the loop, life got in the way in September and I hadn't got time to work on this in the end. We had a chat with @chosak and he might have some time to pick it up.
Also, I would like to paste @kaedroho comment on the RFC which many of us might have missed:

I'm thinking it would be better if this event model was linked to the page as well as optionally being linked to a revision. This would allow events that aren't specific to a revision to be captured as well such as unpublishing, copying or moving the page.
I think we would like to add an admin log for admins to see all actions editors have performed on the site, including deletions. It would be great if this event model could be used for this use case as well.

It looks to me like this is no longer required (see RFC 29). Closing.


Translated the specification to Japanese.

Hi guys,
AMCSS is great. It is what I want instead of BEM.
I translated AMCSS specification to Japanese.
Feel free to use this translation in your website or anything else if you want.
Thanks,

Is this issue continuing ?


[#723] fix issue in case returnRawJson and empty source

resolve #723
added test

Merged in master through 501fd3d0d774073c95761147095654b0d22d2431.
Thanks for the PR (especially since it contains a test).
Cheers,


Add CDNJS version badge in readme

This will add the badge to show its version on CDNJS and also link to its page on CDNJS!

Awesome, thanks!

My pleasure


How to remove _id, _index, _type, num_matches, num_hits and @timestamp from elastialert rules

Hi All,
Below is the content which im getting in my gmail inbox. I want to remove _id, _index, _type, num_matches, num_hits and @timestamp all this only i want message to be include in my email triggering everytime.
Below is getting into gmail inbox
@timestamp: 2021-05-24T11:16:06Z
_id: 2S0WnnkBz7SOxaiw1TZk
_index: logstash-2021.05.24
_type: _doc
message: <30>May 24 11:16:06 fx-prod-1 prod_fx-control-plane.1.knel5yam 2021-05-24 11:16:06.926  INFO 1 --- [nio-8080-exec-9] com.fxlabs.fxt.rest.run.RunController    : Find Latest by job id [8a8089ba777311370177734530902ec8] org [8a8081066e02d6a2016e04eacd2005c7] principal [8a808155647d283a01647d7c5e0d07ba]
num_hits: 8
num_matches: 1
and
Here is the rules.yaml file which i used to trigger email for issue
Alert when the rate of events exceeds a threshold
(Optional)
Elasticsearch host
es_host: elasticsearch.example.com
es_host: elasticsearch.test.com
(Optional)
Elasticsearch port
#es_port: 14900
es_port: 9200
(OptionaL) Connect with SSL to Elasticsearch
#use_ssl: True
(Optional) basic-auth username and password for Elasticsearch
#es_username: someusername
#es_password: somepassword
es_username: testelastic
es_password: somepassword
(Required)
Rule name, must be unique
name: Exception Alert
(Required)
Type of alert.
the frequency rule type alerts when num_events events occur with timeframe time
#type: blacklist
type: any
include: ["message"]
(Required)
Index to search, wildcard supported
#index: logstash*
(Required, frequency specific)
Alert when this many documents matching the query occur within a timeframe
#num_events: 1
(Required, frequency specific)
num_events must occur within this amount of time to trigger an alert
timeframe:
hours: 1
minutes: 1
seconds: 1
#compare_key: "message"
#blacklist:
#- "error"
realert:
minutes: 5
This is send out all matches in one email
aggregation:
minutes: 1
seconds: 0
#filter:
#- term:
message: "[error]"
#filter:
- match:
message: "job"
filter:

query:
query_string:

query: "message: exception AND  message: control"
    query: "message: job"

#filter:
#- query:
query_string:
query: "message: error"
alert:

"slack"
"email"

#- slack
slack_webhook_url: "https://hooks.slack.com/services/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"
#slack_username_override: "ElastAlert"
slack_username_override: "Mohd Rashid"
#- email
email<EMAIL_ADDRESS>smtp_host: "smtp.gmail.com"
smtp_port: "587"
from_addr<EMAIL_ADDRESS>How to do it, Please do let me ASAP

Read it and try it for yourself
https://elastalert2.readthedocs.io/en/latest/ruletypes.html#alert-content


#7: Adding keys to all themeable elements

Adding keys to the themeable elements should fix the bug with Radium, per the react-themable docs.

@TigerC10 Thanks for that!
I assume you tested this and confirmed that it solves the Radium issue?

@moroshko - Well, I didn't (if there were unit tests, I probably would have spent some time making one).  But I just ran it and was able to confirm that the issue is resolved now.

Oh, I didn't mean to write tests. Just wanted to confirm that you actually run it with Radium and see the issue disappeared.

Yep, ran it with the changes - issue is fixed by adding key props.

@TigerC10 Sorry, I merged your PR and then decided to revert it back because I noticed that react-themeable returns a key. This means that every time you add the theme after specifying a key, the key will be ignored:
<div key="..."            // this key is ignored
     {...theme(...)}>
  ...
</div>

The only place in your PR where the theme is specified before the key is the input element.
I just published version 3.2.3 which is hopefully solves your issue.
Could you please try it and report back?

Oh, I see.  Let me check that.

Okay, yes - looks like it's working great. 😄  I like this better too.

@TigerC10 Great, thanks for your help with this one!


Fix search filter for large snippets

1. Why is this change necessary?
Because when you add a snippet with a key or value longer than 4096 characters, a error 500 happens.
Whenever you search in snippets, the filter function in TermFilter.php loops through each and every snippet key and value, and checks if the search term is included (case-insensitive) either in the key, or in the value. If so, it returns it.
It used the function fn_match, which throws an error when you have more than 4096 in the $filename.
2. What does this change do, exactly?
It changes the fn_match method to preg_match, and converts the previous filter to a RegEx in order to function properly and in a case-insensitive way.
3. Describe each step to reproduce the issue or behaviour.
See original issue
4. Please link to the relevant issues (if any).
#2886
5. Checklist

[X] I have rebased my changes to remove merge conflicts
[X] I have written tests and verified that they fail without my change
Not required, imo.
[X] I have created a changelog file with all necessary information about my changes
[X] I have written or adjusted the documentation according to my changes
Not necessary, imo.
[X] This change has comments for package types, values, functions, and non-obvious lines of code
Not necessary, imo.
[X] I have read the contribution requirements and fulfil them.

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

Hey @AltayAkkus,
thanks for your contribution! :tada: :blue_heart:
But in order to proceed with your PR please sign the Contributor License Agreement.
And please take a look at the comments Shyim left.

My Gitpod Setup is broken, I am doing the development there, so I'm gonna have to work on this tomorrow (today).

Ah yes :) finally. I wanted to approach this differently first by debugging and changing fn_match :D but I like this a lot

Ah yes :) finally. I wanted to approach this differently first by debugging and changing fn_match :D but I like this a lot

I didn't really understand why you would use a filename filtering function just to search for a string in a string ;D

I encountered the same problem. After debug variables during search my question is why after selecting snippets for Language Pack pl-PL searched term are also searched in this language:

Is this intended or should be filtered by the selected language pack?

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-25730
Please use this issue to track the state of your pull request.

Hi @AltayAkkus
Sorry for the late response,
The changes looks great to me, thanks for your contribution!
However I have some remark regarding the changelog and there's conflict in your PR so please fix it then we can process the PR.

thanks for your contribution @AltayAkkus 👍🎉💙
and we are very sorry, that it took so long! :see_no_evil:


Output accessor's map() tensor blocks for ever

Output of 'strings libarm_compute.so | grep arm_compute_version':
arm_compute_version=v20.02 Build options: {'embed_kernels': '1', 'gles_compute': '1', 'arch': 'arm64-v8a', 'opencl': '1', 'neon': '1', 'benchmark_tests': '1', 'validation_tests': '1', 'asserts': '1', 'debug': '1', 'os': 'android', 'Werror': '1'} Git hash=f2e0c77d1691ff3c5c8fb5c4a5c9b595319ace40
arm_compute_version.embed
Platform:
Android
Operating System:
Linux/Android

GPU and Driver Version
GPU: Mali T860
Driver version: r18p0-01rel0-x-7@0
Problem description:
My graph works perfectly initially.  However after about 1 to 1.5 hour of continuously running, my graph.run() blocks forever. Upon further debugging, I see that below function (in GraphManager::execute_graph(Graph &graph)) doesn't return
        // Call output accessors
        if(!detail::call_all_output_node_accessors(it->second))
        {
            return;
        }

Looking at it further, I see that the below map tensor ( in Tensor::call_accessor() )  gets blocked for ever
    // Map tensor
    _handle->map(true);

We are running two graphs simultaneously, one on CL and the other on NEON. The tensor block always happens on the CL instance's output accessor.
This issue always happens with my output accessor and it is 100% re-producible. Seems like some race condition that happens after running the graph for about 1 to 1.5 hours.
Could someone please suggest how to debug this further? Am I doing something wrong with my output accessor?
Is there any special synchronization to be taken when running two graphs in parallel?
This issue is also re-producible with ACL 19.02.
Thank you,
San

Update: The issue is also seen when running only the CL graph. Looks like this isn't a synchronization issue in running two graphs simultaneously.

This seems to be a problem with the thread priority. The thread that invokes graph.run() was with real time priority. We are investigating this further and nothing seems wrong with ACL. I'll close this issue for now.

Hi, The solution mentioned above was a temporary workaround I believe. I see the same issue happening again now. This isn't related to the thread priority as I mentioned above.
I'm currently using v20.02.
To me this seems like a platform issue. I'm using RK3399 board with Android 8.1. My mali driver version is r18p0-01rel0-x-7@0.
Could someone point what could be going wrong? How to debug this further?

I see an errata here, mentioning the exact problem.
@GeorgeARM, @morgolock Could you please let me know plan to fix this issue? Is it planned anytime soon? This is a blocker for our product release.
Or do we have any workaround ?
Thank you.

Hi @santo4ul
ACL scheduler is not thread safe and this creates problems when you try to scheduler work from more than one thread. The graph API in ACL is experimental and uses the the scheduler in ACL.
We're currently working on a long term fix for this but I won't be able to tell you any dates.
A potential workaround for your problem would be to run the two graph inferences in different processes? That should work because each process would have its own scheduler.
Hope this helps.

Thanks for your inputs @morgolock
The workaround should work, however, this needs a good amount of re-design in our application.
We'll wait for a long term fix and meanwhile we'll see what best can be done.
Thanks again!

Hi @morgolock, is this feature added in the upcoming release (v20.08)?
Thanks,
San

Hi @santo4ul
Unfortunately this is not going to be ready for 20.08. Fixing this issue requires major changes in ACL, we are currently undergoing the process of reviewing the new design for the API which will solve this problem.
In the meantime please use the workaround suggested.
I'll reopen this and label it as feature request.

Hi @morgolock, May I request for an update? 20.11 release doesn't seem to have anything related to this.
Thank you.

Hi @santo4ul
We're still working on it. We're in the process of migrating ACL to a new interface which would allow to specify a context with its own scheduler per workload/function, we have ported some functions to the new interface but in order to fix this problem properly we must port all the functions to the new interface.

Thanks @morgolock. Does this mean code change in user-space APIs as well? Should the user-space be sending the context down to ACL or is it somehow being handled intelligently internally?
Looking forward..


Display USD value as X.XX (2 digits after dot) and coins as X.XXXXXX (6 digits after dot)

For USD value let's make only 2 signs after "."
Example: 2.25 USD

Red border - incorrect view
Green border - correct view

For coins let's make 6 signs after ".".
Example: 0.123456 BTC

https://zpl.io/bL9LB3G
Red border - incorrect view
Green border - correct view

Checked


Add 'math' topic to relevant exercises in track config

The new site lets people filter optional exercises by topic, and this
makes it easy for people to skip past them.
This is important since the math-y exercises are not key to learning
the language, and a lot of people find them intimidating and demotivating.
This updates any 'mathematics' topics to be 'math' since it's shorter
and won't get cropped in the UI.
It also removes the math topics for any exercises that are not in the
canonical math-y list.
exercism/exercism.io#4110

@ozan these feel pretty uncontroversial to me. I'm going to go ahead and merge them.


iOS issue with push notifications

Hi all, had to upgrade a bunch of cordova project stuff and started a fresh build/project (all new folder).
After getting everything working I was testing push notifications.  when the app was open the push notification was coming through directly into the app and the data payload was being processed - but it was not getting the default sound.   In addition, the push notification was not showing up in the status bar when the app was closed or in the background.
After a few behavior tests I started to see FCM issues during the build/launch to phone console of xCode - issues that did not happen the first few times I was testing.  Now I am getting "Failed to subscribe to topic Error Domain=com.google.fcm".  Previously I was seeing the topic name being displayed as it was being subscribed.  Now, after starting with these errors, push notifications aren't working at all - not even with the app open anymore was originally working (above).
Whats happening or what can I look at here?
Xcode : 10.1
iOS Phone: 12.3.1
Cordova CLI: 8.0.0
cordova-ios: 5.0.0
cordova-plugin-firebase: 4.1.0

There's been some changes about how you need to post to Firebase for iOS - http://www.themoyles.co.uk/2019/11/cordova-firebase-background-push-notifications-not-working-in-ios13-and-xcode-11/ for details. See if thatmakes a difference


The dropdown location is incorrect when clicking the 'Recent locations' button

Storage Explorer Version: 1.31.0-dev
Build Number: 20230727.4
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.4.1 (Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Right click it -> Click 'Open in React'.
Create a new folder -> Click 'Recent locations'.
Check the dropdown location is correct.

Expected Experience
The dropdown location is correct.

Actual Experience
The dropdown location is incorrect.

Additional Context
For one newly created blob container, the 'Recent locations' button is enabled.

Verified this issue on the build 20230728.3. Fixed.
For one newly created blob container, the 'Recent locations' button now is disabled.


Cannot provide any options to ng lint command without specified project

Versions
Angular CLI: 6.0.7
Node: 8.11.2
OS: linux x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.6.7
@angular-devkit/build-angular      0.6.7
@angular-devkit/build-ng-packagr   0.6.7
@angular-devkit/build-optimizer    0.6.7
@angular-devkit/core               0.6.7
@angular-devkit/schematics         0.6.7
@angular/cli                       6.0.7
@ngtools/json-schema               1.1.0
@ngtools/webpack                   6.0.7
@schematics/angular                0.6.7
@schematics/update                 0.6.7
ng-packagr                         3.0.1
rxjs                               6.2.0
typescript                         2.7.2
webpack                            4.8.3

Repro steps

ng new foo
cd foo
ng generate lib bar
ng lint --type-check

Observed behavior
Architect commands with multiple targets cannot specify overrides.'lint' would be run on the following projects: foo,foo-e2e,bar
Error: Architect commands with multiple targets cannot specify overrides.'lint' would be run on the following projects: foo,foo-e2e,bar
    at LintCommand.validate (/tmp/foo/node_modules/@angular/cli/models/architect-command.js:75:23)
    at /tmp/foo/node_modules/@angular/cli/models/command-runner.js:274:39
    at Generator.next (<anonymous>)
    at /tmp/foo/node_modules/@angular/cli/models/command-runner.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/tmp/foo/node_modules/@angular/cli/models/command-runner.js:3:12)
    at validateAndRunCommand (/tmp/foo/node_modules/@angular/cli/models/command-runner.js:273:12)
    at Object.<anonymous> (/tmp/foo/node_modules/@angular/cli/models/command-runner.js:100:26)
    at Generator.next (<anonymous>)
    at fulfilled (/tmp/foo/node_modules/@angular/cli/models/command-runner.js:4:58)

Desired behavior
I guess options like --type-check should work with no specified project int the ng lint command and should apply to all projects.
FYI, the ng lint command without specified options and project works with following output :
All files pass linting.

All files pass linting.

All files pass linting.

/cc @davinkevin

The current error is by design. Perhaps we should consider changing this behaviour.
But I should highlight that you can set "typeCheck": true in the individual lint configs.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Remove Conflicts from Merge

Proposed Changes

Change 1
Change 2
More?

Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Check if route, query, or mutation authorization looks correct.

Add tests for authorization, if required.

[ ] Update docs, where applicable.
[ ] Add development seeds for new tables.

Changes merged locally


Check duplicate identity

react-native-agora : 3.7.1
How can I check for duplicate identity when joining another device?
Actually:

Join room in the another device fail.

Expected:

Return the error in the previous identity.
The newest identity join room successful

@Khoa69 pls check the document first


peerDependancy error with nodejs4

Hi,
I am hitting an issue building bower, one of the dependencies is failing due to npm not correctly parsing the rc1 version of grunt. Please see attached debug log.
I'm not sure how to hack around this in OE, any ideas?
npm-debug.txt

It appears to be an upstream bower, npm issue.  I got a patch that should get you going just add it to your bower recipe though the normal openembedded patch method.  I did a simple test and it works, but I don't have the time to do full tests to make sure it works perfectly in all scenarios.
Otherwise you can use npm 6.x which does not have this issue.
grunt-fix.txt

@mdavis777 Do you feel that this patch should be applied in our layer or is this soon going away in future bower releases?

A quick look at the bower repository shows it is already fixed there.  No clue when the next bower release is planned, but it will be fixed there.
I don't see any harm with adding it to our layer and taking it out once we get a new bower.  I just need to test it with 0.x and 6.x npm and make sure I didn't break something by chance.

Sounds good 👍 Feel free to commit in master. I'll merge to release branches as usual.

Everything tested out good.  Pushing to master and closing issue.


Set Advertisement Frequency

Is it possible to add the ability to adjust the advertisement frequency.  I think on Linux it defaults to 1Hz and in a BLE rich environment the advert package might not get detected for a few cycles.
When doing iBeacons this leads on iOS devices for them listing them as proximity unknown and not picking up the iBeacon in a timely fashion.
This is possible if using the hcitool, although not really intuitive.  See this question
Thanks,
Tim

The advertising interval can now be set on Linux via the BLENO_ADVERTISING_INTERVAL enviroment variable.
More info. here:
https://github.com/sandeepmistry/bleno#set-advertising-interval


Not getting any event on the click of no thanks button

I tried looking into the documentation and also in code but could not find an event that is produced when no thanks is clicked. Originally the cancel event should trigger but it is triggered on the click of cancel button that appears on the tray.
Please guide as to how to get the event on no thanks.

@SudoPlz please can you please explain how to achieve this behaviour ?

Hey @irfan102 apologies for the late response.
Not sure, I don't remember trying that out, but I feel that checkNeedsUpdate would throw on cancel (I'm not sure though).
The reason I believe that is because we do have an addOnFailureListener listener here:
https://github.com/SudoPlz/sp-react-native-in-app-updates/blob/master/android/src/main/java/com/sudoplz/rninappupdates/SpReactNativeInAppUpdatesModule.java#L95-L97
I have to investigate further though, apologies for not being very helpful but we have to dive into the official in-app-updates android documentation to figure out how this is done.
A PR would be most welcome if you feel like experimenting.
Thank you.

@SudoPlz sure, ill let you know how i figured it out.

@irfan102 does this library works for you?
Please let me know how u make it work. I can't even see update popup


Modified way of injecting env variables to appsettings.json

Based on Greg's PR #12.
I reduced the size of appsettings.docker.json so it contains only parameters that get overwritten. It led to settings the running environment in container to docker, so settings from the appsettings.docker.json get automatically merged with appsettings.json

@gregolsky, I applied the following changes:

Fixed publishing of "appsettings.docker.json" file and removed creation of that file from "run.sh".
Set some other public values in "appsettings.json" for testing purposes


Disable write access for non-admin users to ~/shared

Fixes https://2i2c.freshdesk.com/a/tickets/112

I've deployed this already as the hub has users on it already. Works well.
Need more docs for our shared directory setup.

This is a nice quick fix, but we should eventually remove this section and leave the base stuff to take over, IMHO: https://github.com/2i2c-org/infrastructure/blob/master/helm-charts/basehub/values.yaml#L182-L186. And maybe that is the part of the pieces we need to document 😉.

@damianavila yeah my hope is that this can go under https://github.com/2i2c-org/infrastructure/tree/master/docs/howto/features


Assertion with reqwest hangs in tokio::test environment

Hello, this is the minimal example I could make:
fn main() {
}

#[cfg(test)]
mod tests {
    #[tokio::test]
    async fn test() {
        use asserhttp::*;

        let mut response = reqwest::get("https://github.com").await.unwrap();
        response.expect_body_text(|t| assert!(!t.is_empty()));
    }
}

and this in my Cargo.toml:
[dependencies]
tokio = { version = "1.5", features = ["macros", "rt"] }
asserhttp = { version = "0.5", features = ["reqwest"] }
reqwest = "0.11"

When running cargo test, the test just hangs indefinitely. If the same code is ran in main (with tokio::main) it works fine.
The issue is with this line, the call to futures_lite::future::block_on. The issue seems to be that tokio::test uses a single-threaded executor, whereas tokio::main is usually multi-threaded.

Hi, unfortunately I haven't been able to reproduce. My setup (where I did not use asserhttp):
reqwest = { version = "0.11", features = ["json", "blocking"], default-features = false }
tokio = { version = "1.15", features = ["macros", "rt"] }

#[tokio::test]
async fn test() {
    reqwest::get("https://github.com").await.unwrap();
}

// Fails with:
// called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https",
// cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")),
// port: None, path: "/", query: None, fragment: None }, source: hyper::Error(Connect, "invalid URL,
// scheme is not http") }

Anyway, I don't know the probable cause but I think here that I should timeout instead of letting this thread block forever


Plantations loss

Overview
Updates widget to use forestType instead of indicator.

Also updated the Dynamic Sentence for GLAD ranking widget. The maths is consistent between both units now!


How to implement GuidedTimePickerAction for GuidedStepSupportFragment?

Why at the same time there is no GuidedTimePickerAction, but GuidedDatePickerAction exists? How could I implement TimePicker for the GuidedStepSupportFragment?

I implemented simple GuidedTimePickerAction, but it would be nice to find something similar in the official SDK.


Resource Name Exceeds 32-Character Limit in aws_codestarconnections_connection

Terraform Version & Prov:
AFT Version:
1.13.2
Terraform Version & Provider Versions
terraform version
Terraform v1.4.0

Bug Description
In Release 1.13.2, the resource aws_codestarconnections_connection fails to be created due to the name exceeding the 32-character limit.
To Reproduce
Apply the following example configuration using the affected version:
module "aft" {
  source = "github.com/aws-ia/terraform-aws-control_tower_account_factory?ref=1.13.2"
  # Required Vars
  ct_management_account_id    = "111122223333"
  log_archive_account_id      = "444455556666"
  audit_account_id            = "123456789012"
  aft_management_account_id   = "777788889999"
  ct_home_region              = "us-east-1"
  tf_backend_secondary_region = "us-west-2"
  # VCS Vars
  vcs_provider                                  = "gitlabselfmanaged"
  gitlab_selfmanaged_url                        = "https://gitlab.example.com"
  account_request_repo_name                     = "ExampleProject/example-repo-1"
  global_customizations_repo_name               = "ExampleProject/example-repo-2"
  account_customizations_repo_name              = "ExampleProject/example-repo-3"
  account_provisioning_customizations_repo_name = "ExampleProject/example-repo-4"
}

Expected behavior
The resource should be created successfully when the name attribute adheres to the 32-character limit.
Related Logs
Error: creating CodeStar Connections Connection (ct-aft-gitlab-selfmanaged-connection): operation error CodeStar connections: CreateConnection, https response error StatusCode: 400, RequestID: ****, api error ValidationException: 1 validation error detected: Value 'ct-aft-gitlab-selfmanaged-connection' at 'connectionName' failed to satisfy constraint: Member must have length less than or equal to 32

Additional context
The name attribute should be updated to a value that is 32 characters or fewer. For example:
resource "aws_codestarconnections_connection" "gitlabselfmanaged" {
  count    = local.vcs.is_gitlab_selfmanaged ? 1 : 0
  name     = "ct-aft-gitlab-selfmanaged"
  host_arn = aws_codestarconnections_host.gitlabselfmanaged[0].arn
}

+1
Same issue here. As stated above, the name must be < 32 characters. Reducing the length of the name will allow us to use gitlab self-managed with AFT. Any update as to when this can be addressed? Forced to fork it for now, as a workaround.

Permalink to the line in question: https://github.com/aws-ia/terraform-aws-control_tower_account_factory/blob/cd751f4f455e7220cf8e20d07ef4397f7187750f/modules/aft-code-repositories/codestar.tf#L46

Hello,
Any update on this? This is basically making it impossible to use the official module with self managed GitLab. We have to fork the repo and modify the connection name to be shorter than the 32 limit.


LOJ 1021 - Painful Bases,  Shouldn't the tutorial Solution get TLE?

For Test case T=100,
Each case has Base B=16, K=20, String<PHONE_NUMBER>ABCDEF,
The tutorial code should have 100 x 20 x 16 x 215 which is over 109.
I checked the code with codeforces custom set. It took 4867 ms time.
Or am I missing something in the statement???

Yup, you are right. Dunno how I missed that back then. :man_facepalming: It takes 18.50s on my machine with the following input. Pre-calculating the values should fit in time. Let me know if you wanna update the tutorial.
@faiyaz26 @jan876 I think the dataset for 1021 is weak.
My solution was around the fact that for each (base, mod) you can run a single dp, since the characters are distinct, your mask is just what characters you are using. This solution works for worst case scenarios really well.


[ja] update outdated docs/tutorials/_index.md

This is a Feature Request

What would you like to be added

Update Japanese translation of https://kubernetes.io/ja/docs/tutorials/
Why is this needed
It seems be outdated a bit
Comments

/language ja
/assign

/triage accepted


some wrong about those files,some one help?

Simple files:http://zenhax.com/download/file.php?id=848
[info] DisUnity v0.3.4
[info] De\0001_ICG_body.unity3d
[info] De\0001_ICG_body.unity3d\CAB-0001_ICG_body.Android
[info] Standalone asset file detected, using structure from database
[info] Loading struct database
[warning] FieldTypeMap: Unprecise match for ClassID 28 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 142 (required: 4.6.4p1
1, available: 4.3.1f1)
[info] Writing Texture2D 0001_ICG_body.ktx
[info] De\0001_ICG_face.unity3d
[info] De\0001_ICG_face.unity3d\CAB-0001_ICG_face.Android
[info] Standalone asset file detected, using structure from database
[warning] FieldTypeMap: Unprecise match for ClassID 28 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 142 (required: 4.6.4p1
1, available: 4.3.1f1)
[info] Writing Texture2D 0001_ICG_face.ktx
[info] De\0001_ICG_mdl.unity3d
[info] De\0001_ICG_mdl.unity3d\CAB-0001_ICG_mdl.Android
[info] Standalone asset file detected, using structure from database
[warning] FieldTypeMap: Unprecise match for ClassID 1 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 4 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 21 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 28 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 43 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 49 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 74 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 90 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 91 (required: 4.6.4p1
1, available: 4.5.2f1)
[warning] FieldTypeMap: Unprecise match for ClassID 95 (required: 4.6.4p1
1, available: 4.5.1f3)
[warning] FieldTypeMap: Unprecise match for ClassID 137 (required: 4.6.4p1
1, available: 4.5.2f1)
[warning] FieldTypeMap: Unprecise match for ClassID 142 (required: 4.6.4p1
1, available: 4.3.1f1)
[info] Writing Texture2D Toon_Ramp_mip_0.tga
[info] Writing Texture2D Toon_Ramp_mip_1.tga
[info] Writing Texture2D Toon_Ramp_mip_2.tga
[info] Writing Texture2D Toon_Ramp_mip_3.tga
[info] Writing Texture2D Toon_Ramp_mip_4.tga
[info] Writing Texture2D Toon_Ramp_mip_5.tga
[info] Writing Texture2D Toon_Ramp_mip_6.tga
[info] Writing TextAsset 0001_ICG_mdl.txt
[info] Writing Mesh mdl.obj

Reason is written in it.
Required:4.6.4p1,avaliable:4.3.1f1
I think we just need to wait for update...

sorry,I just want know  , is the Newest source code supports unity4.6+?

No...I am waiting too.

我可以帮你


handle json encoding of UUID strings

uuids being returned by apis result in an error as the default json encoder does not understand uuid.UUID.

@amanwriter please take a look.
lets merge it to master once we ensure that it works.

Good to merge. +1


fix method name & remove class that doesn't belong

see https://github.com/PythonCharmers/python-future/issues/190#issue-121263537

Code relating to old_div had no place here. Thanks for the report!


 The original EnderIO implementation had a 10 tick cooldown, and I wanted a way to restore that

Yeah, if you update it to master, I'd merge it. I tried to merge this into master but I failed. So if you redo it on master, it'd be nice.


vscode extensions crashes on typescript tooltip over jquery methods

VSCode Version: 1.49.0
OS Version: Windows 10/Linux Mint 20
<EMAIL_ADDRESS>
Steps to Reproduce:

Open a typescript file with jquery methods, such as: $(document).ready(function () { });
You will notice that the ready function is strikethrough.
Place the mouse over the method: ready.

After this event the keyboard shortcuts stop working and well as many other operations.

Which extension is crashing? Can you share a screenshot of the problem?

I'm trying to make a proper diagnose but the extension host keeps crashing all the time even outside typescript files.
I have been using vscode for years without any problems, and the only update we did recently was on vscode, and the problem occurs in different machines.

The host extension crash also occurs in other situations such as opening a file with it's git differences side-by-side.

I found out the problem, it's a conflict of live-sass 3.0.0 and the latest version of vscode.
Unfortunately, this is a fundamental extension and I can't work with it disabled.
I will report the bug on the extension issue page and close this issue.


New-AzureADMSGroupLifecyclePolicy : Code: Unauthorized Message: Request does not contain scope or roles claim.

What are the minimum required permissions to invoke this cmdlet?
I'm running this cmdlet
New-AzureADMSGroupLifecyclePolicy -GroupLifetimeInDays 365 -ManagedGroupTypes All -AlternateNotificationEmails<EMAIL_ADDRESS>-Verbose
under a service principal who has the 'owner' role on the current subscription. I'm getting the message:
New-AzureADMSGroupLifecyclePolicy : Error occurred while executing NewGroupLifecyclePolicy
Code: Unauthorized
Message: Request does not contain scope or roles claim.
Currently loaded modules:
Get-Module | FT Name,Version -a
Name                            Version

Az.Accounts                     1.5.2
AZSBTools                       1.160.100
AzureADPreview                  <IP_ADDRESS>
ImportExcel                     5.4.5
ISE                             <IP_ADDRESS>
Microsoft.PowerShell.Management <IP_ADDRESS>
Microsoft.PowerShell.Security   <IP_ADDRESS>
Microsoft.PowerShell.Utility    <IP_ADDRESS>
Microsoft.WSMan.Management      <IP_ADDRESS>
MicrosoftTeams                  1.0.1
PackageManagement               <IP_ADDRESS>
pki                             <IP_ADDRESS>
PowerShellGet                   <IP_ADDRESS>

Hi @Sambsamb
Thank you for your issue submission. Unfortunately, this appears to be a problem with the cmdlt and a support issue. Issues in this repo are for documentation issues. You can try one of the following links for additional help.
Microsoft Support: https://support.microsoft.com/
Azure AD forums: https://social.technet.microsoft.com/Forums/en-US/home?forum=windowsazureaditpro
Stackoverflow: https://stackoverflow.com/