Feature request: Iterations

In the online tool https://gchq.github.io it would be great if you want to decode 15 times, to automate it, instead of inserting manually 15 decodes (if this option exists, I haven't found them).
PD: great tool, regards.

Hey @adon90, which decode function are you using that requires you to repeat it 15 times?

It is a hacking challenge, a virtual machine (Hack The Box)
El lun., 17 sept. 2018 a las 9:19, GCHQ77703<EMAIL_ADDRESS>escribió:

Hey @adon90 https://github.com/adon90, which decode function are you
using that requires you to repeat it 15 times?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gchq/CyberChef/issues/364#issuecomment-421912059, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGyTK4E_osKY9DJ6VzxxPdFWbmPECNOBks5ub0zxgaJpZM4WpBXD
.

You can achieve this using the Jump and Label operations.
Example: https://gchq.github.io/CyberChef/#recipe=Label('loop')From_Base64('A-Za-z0-9%2B/%3D',true)Jump('loop',5)&input=Vm0xNFUxRXlSWGhYV0d4VlYwZDRWVmxVU205VlZsVjNWbFJHVkUxV1dqQlVWbHBQVkcxS1NHUkVWbFZXYkVwVVdWVmtVMDVyTVVWaGVqQTk


Unable to Install ROCm correctly

I want to set up my GPU for PyTorch in Ubuntu 20.04. I am completely new to the setting up stuff and have no experience with GPUs altogether, and faced a lot of problems while trying to configure based on the documentation given. I tried out the installation guide and I don't know what the problem is. I would request some help on setting up my system if it is supported for this at this point of time. This is the message I am getting which I have no idea what the error is. I tried searching for and got a lot of different solutions. I tried all without success. I think I am having a different problem altogether:
$ sudo /opt/rocm/bin/rocminfo
ROCk module is loaded
<USER> is member of video group
hsa api call failure at: /data/jenkins-workspace/compute-rocm-rel-3.3/rocminfo/rocminfo.cc:1102
Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.

If I run dmesg | grep amdgpu, the following messages pop out:
$ dmesg | grep -i amdgpu
[   20.684577] [drm] amdgpu kernel modesetting enabled.
[   20.684578] [drm] amdgpu version: 5.4.8
[   20.846429] amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xa0000000 -> 0xafffffff
[   20.846430] amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xb0000000 -> 0xb01fffff
[   20.846431] amdgpu 0000:01:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xb2200000 -> 0xb223ffff
[   20.846442] amdgpu 0000:01:00.0: enabling device (0400 -> 0403)
[   21.207900] amdgpu 0000:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[   21.207902] amdgpu 0000:01:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[   21.208345] [drm] amdgpu: 4096M of VRAM memory ready
[   21.208347] [drm] amdgpu: 15886M of GTT memory ready.
[   21.780897] amdgpu: [powerplay] hwmgr_sw_init smu backed is iceland_smu
[   21.807264] amdgpu: [powerplay] can't get the mac of 5
[   21.813001] [drm] Initialized amdgpu 3.36.0 20150101 for 0000:01:00.0 on minor 1
[   30.905299] amdgpu: [powerplay] VI should always have 2 performance levels
[   53.602021] amdgpu: [powerplay] can't get the mac of 5
[   58.649120] amdgpu: [powerplay] VI should always have 2 performance levels
[   65.353858] amdgpu: [powerplay] can't get the mac of 5
[   70.649100] amdgpu: [powerplay] VI should always have 2 performance levels
[   95.544782] amdgpu: [powerplay] can't get the mac of 5
[  101.753588] amdgpu: [powerplay] VI should always have 2 performance levels
[  106.648326] amdgpu: [powerplay] can't get the mac of 5
[  112.765460] amdgpu: [powerplay] VI should always have 2 performance levels
[  120.756067] amdgpu: [powerplay] can't get the mac of 5
[  126.846593] amdgpu: [powerplay] VI should always have 2 performance levels
[  133.137531] amdgpu: [powerplay] can't get the mac of 5
[  150.617741] amdgpu: [powerplay] VI should always have 2 performance levels
[  169.125761] amdgpu: [powerplay] can't get the mac of 5
[  175.257388] amdgpu: [powerplay] VI should always have 2 performance levels
[  251.974242] amdgpu: [powerplay] can't get the mac of 5
[  258.188603] amdgpu: [powerplay] VI should always have 2 performance levels
[  311.937210] amdgpu: [powerplay] can't get the mac of 5
[  318.191991] amdgpu: [powerplay] VI should always have 2 performance levels
[  371.906937] amdgpu: [powerplay] can't get the mac of 5
[  378.070510] amdgpu: [powerplay] VI should always have 2 performance levels
[  425.235868] amdgpu: [powerplay] can't get the mac of 5
[  437.187879] amdgpu: [powerplay] VI should always have 2 performance levels
[  491.376021] amdgpu: [powerplay] can't get the mac of 5
[  497.531085] amdgpu: [powerplay] VI should always have 2 performance levels
[  551.347446] amdgpu: [powerplay] can't get the mac of 5
[  557.603576] amdgpu: [powerplay] VI should always have 2 performance levels
[  611.314621] amdgpu: [powerplay] can't get the mac of 5
[  617.569412] amdgpu: [powerplay] VI should always have 2 performance levels
[  671.287709] amdgpu: [powerplay] can't get the mac of 5
[  677.542727] amdgpu: [powerplay] VI should always have 2 performance levels
[  731.257183] amdgpu: [powerplay] can't get the mac of 5
[  737.513229] amdgpu: [powerplay] VI should always have 2 performance levels
[  791.224024] amdgpu: [powerplay] can't get the mac of 5
[  797.474598] amdgpu: [powerplay] VI should always have 2 performance levels
[  851.195397] amdgpu: [powerplay] can't get the mac of 5
[  857.448651] amdgpu: [powerplay] VI should always have 2 performance levels
[  910.828453] amdgpu: [powerplay] can't get the mac of 5
[  917.082055] amdgpu: [powerplay] VI should always have 2 performance levels
[  970.792947] amdgpu: [powerplay] can't get the mac of 5
[  977.047408] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1030.754488] amdgpu: [powerplay] can't get the mac of 5
[ 1037.003079] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1090.697060] amdgpu: [powerplay] can't get the mac of 5
[ 1096.952295] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1150.662098] amdgpu: [powerplay] can't get the mac of 5
[ 1156.914045] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1210.894362] amdgpu: [powerplay] can't get the mac of 5
[ 1217.158649] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1270.920491] amdgpu: [powerplay] can't get the mac of 5
[ 1277.178895] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1331.286646] amdgpu: [powerplay] can't get the mac of 5
[ 1337.565865] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1391.341482] amdgpu: [powerplay] can't get the mac of 5
[ 1397.583605] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1451.312376] amdgpu: [powerplay] can't get the mac of 5
[ 1457.567534] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1511.263030] amdgpu: [powerplay] can't get the mac of 5
[ 1517.516637] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1571.242848] amdgpu: [powerplay] can't get the mac of 5
[ 1577.329802] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1631.483699] amdgpu: [powerplay] can't get the mac of 5
[ 1637.746527] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1691.518836] amdgpu: [powerplay] can't get the mac of 5
[ 1697.692964] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1751.451320] amdgpu: [powerplay] can't get the mac of 5
[ 1757.706466] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1811.353647] amdgpu: [powerplay] can't get the mac of 5
[ 1817.472449] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1871.369316] amdgpu: [powerplay] can't get the mac of 5
[ 1877.648275] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1931.464593] amdgpu: [powerplay] can't get the mac of 5
[ 1937.687503] amdgpu: [powerplay] VI should always have 2 performance levels
[ 1991.454568] amdgpu: [powerplay] can't get the mac of 5
[ 1997.702968] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2051.486059] amdgpu: [powerplay] can't get the mac of 5
[ 2057.729291] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2111.280446] amdgpu: [powerplay] can't get the mac of 5
[ 2117.534785] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2171.263886] amdgpu: [powerplay] can't get the mac of 5
[ 2177.502770] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2231.233034] amdgpu: [powerplay] can't get the mac of 5
[ 2237.385390] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2291.482254] amdgpu: [powerplay] can't get the mac of 5
[ 2297.500040] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2351.475631] amdgpu: [powerplay] can't get the mac of 5
[ 2357.702646] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2411.354909] amdgpu: [powerplay] can't get the mac of 5
[ 2417.598879] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2471.280060] amdgpu: [powerplay] can't get the mac of 5
[ 2477.531919] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2531.254168] amdgpu: [powerplay] can't get the mac of 5
[ 2537.509068] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2538.522494] amdgpu: [powerplay] can't get the mac of 5
[ 2544.785944] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2591.273045] amdgpu: [powerplay] can't get the mac of 5
[ 2597.528109] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2651.272477] amdgpu: [powerplay] can't get the mac of 5
[ 2657.227449] amdgpu: [powerplay] VI should always have 2 performance levels
[ 2711.433852] amdgpu: [powerplay] can't get the mac of 5
[ 2717.696429] amdgpu: [powerplay] VI should always have 2 performance levels

I didn't encounter anyone getting this type of message. So, I am confused as to what this means.
My system configurations are:

I tried the guide provided here at #1112 but without any luck.
Please guide me through the required steps if the system is compatible.

Hi @Rutvik-Trivedi,
Looks like the GPU might not support ROCm. Please check this https://github.com/RadeonOpenCompute/ROCm/wiki#Hardware-and-Software-Support
And also, ROCm 3.3 does not have official support of Ubuntu 20.04.


Dinosaur Game

In this game, there is a prehistoric landscape where our player is a dinosaur. The objective is simple: help the dinosaur navigate through an endless desert while avoiding obstacles and surviving for as long as possible. As you progress, the game becomes increasingly challenging. Cacti and thundering clouds will try to block your path, and you must time your jumps and crouches perfectly to avoid them.
I will be making this game using HTML, CSS and JavaScript.
I am a GSSoC23 contributor.
Kindly assign me this issue.
@Shreyaar12 @cleveranu @Dharmesh177 @artimanputra

I am already working on this. Please assign me this issue, so that I can create a PR asap.

@admindebu please assign me this issue.

I am already working on this. Please assign me this issue, so that I can create a PR asap.

assigned to @singh-anushka
Complete this within 3-4 days and
Include a screenshot or deploy link to assess your project and thereafter include your project in the main code following contributing.md guidelines


Avoid casting to LinkedHashMap for profile manager

Removes the expectation that profiles stored in session/request must be managed via a LinkedHashMap. Instead, any Map should be OK and it should be up to the caller to decide what Map type should be used.

Can you elaborate a bit on why we need that change? You directly put profiles in the request/session for further usage?

Yes, indeed. Although, not that I am doing that directly but for example, there are A LOT of tests in CAS where the session is populated with a profile first and then some OAUTH/OIDC component is invoked to verify operations.
That aside, I am not sure why the cast has to be explicitly a LinkedHashMap. I think Map should be enough.
PS Just a side note, the behavior of the profile-manager is changed between 4.0 and 4.0.1 it seems where the manager can no longer recognize a single profile (which seems it was deprecated behavior. This should be called out in the release notes as it's a difficult-to-catch change and non-obvious on the first try for a patch release.

Example:
        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();

        val profile = new CommonProfile();
        profile.setClientName(Authenticators.CAS_OAUTH_CLIENT_BASIC_AUTHN);
        profile.setId(RequestValidatorTestUtils.SUPPORTING_CLIENT_ID);
        val session = request.getSession(true);
        assertNotNull(session);
        session.setAttribute(Pac4jConstants.USER_PROFILES, <profile-should-go-into-any-kind-of-map>);

        request.setParameter(OAuth20Constants.GRANT_TYPE, OAuth20GrantTypes.AUTHORIZATION_CODE.getType());
        request.setParameter(OAuth20Constants.REDIRECT_URI, RegisteredServiceTestUtils.CONST_TEST_URL);
        request.setParameter(OAuth20Constants.CODE, SUPPORTING_SERVICE_TICKET);

        assertTrue(validator.validate(new JEEContext(request, response)));

The LinkedHashMap was meant to keep the order of the added profiles, but I don't think we really use it. Maybe we'll need to change that in the future.
About the deprecated behavior, it's indeed in the release notes, but it was changed in version 3.x in fact (multi-profile) so I should have changed it in version 4.0.0, but I forgot about it.
I understand your rationale. Merging...


sozu: 0.15.15 -> 0.15.17

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sozu is: Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures
meta.homepage for sozu is: https://www.sozu.io
meta.changelog for sozu is: https://github.com/sozu-proxy/sozu/releases/tag/0.15.17
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.15.17 with grep in /nix/store/l9nv14bi51gki80ggrkhyhkmhlf5jl03-sozu-0.15.17
found 0.15.17 in filename of file in /nix/store/l9nv14bi51gki80ggrkhyhkmhlf5jl03-sozu-0.15.17

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
sozu

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l9nv14bi51gki80ggrkhyhkmhlf5jl03-sozu-0.15.17 \
  --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 sozu https://github.com/r-ryantm/nixpkgs/archive/7b7f28a26c2c98c328e3403b9929af7e8f0db5fa.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7b7f28a26c2c98c328e3403b9929af7e8f0db5fa#sozu

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l9nv14bi51gki80ggrkhyhkmhlf5jl03-sozu-0.15.17
ls -la /nix/store/l9nv14bi51gki80ggrkhyhkmhlf5jl03-sozu-0.15.17/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:

sozu

Maintainer pings
cc @Br1ght0ne @gaelreyrol for testing.

Closing as there are no release notes for this tag.


how to Allow the tab to movable only to certain dock sections not all dock sections

Is there any way we can allow the tab to movable only to certain dock sections not all dock sections ?

Hi @pavan6014,
This repository exists to demonstrate how to use Golden Layout in Angular.  It is not generally monitored for Golden Layout questions.  Best to ask Golden Layout questions at:
https://github.com/golden-layout/golden-layout/issues


Update RestClient.java

minor addition of catch block
Pull Request Description
This pull request closes #
Acceptance Test

[ ] Building the code with mvn clean install -Dintegration.tests still works.
[ ] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[ ] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[x] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

My apologies, but I fail to see what the value of this pull request is.
You are catching a base Exception which should actually not be caught here.


[Bug]: Inability To Display text/plain Responses In API Response Viewer

Is there an existing issue for this?

[X] I have searched the existing issues

Description
I was checking out the new response view switchers and noticed text/plain responses are not displayed in the API response view. We now have a ‘RAW’ view which could be easily used to display this
Steps To Reproduce
You can test using this hello world API and you notice that no response gets shown on the API response viewer
https://hello-world.cokoghenun15.workers.dev/
Public Sample App
No response
Version
Cloud/v1.6.23-SNAPSHOT

We are displaying RAW view and the response is displayed to user


Do a bunch of renaming to Data, from Admin to TableAdmin, to

be consistent with ClusterAdmin and the future SnapshotAdmin.

LGTM with a couple of nits.


Setup Bugs.jar benchmark

I have currently started work on it but it would require some more time than I am willing to allocate currently. The metadata file and driver but one has to examine what exactly is a properly compiling project, how to make the tools work on multi-module projects

@Marti2203 is this completed?

I am not sure currently, can get back to you about it tomorrow.


Indexing of json fields

We need a way to add JSON fields to the search index. Especially the field motion -> amendment_texts needs to be searchable.

I will add a new collection property searchable_config where one can specify per field configs. In a first step type and analyzer will be supported here.
Example:
``yml
motion:
searchable:
- amendment_paragraphs
searchable_config:
amendment_paragraphs:
type: json-string-map
analyzer: html


ABI gets overwritten when using proxy contract

ABI overwritten when using proxy contract

Interacting with a proxy contract requires using the address of the proxy and the ABI of the underlying contract. The ABI in the gnosis safe UI makes this impossible as of right now if the proxy source code is verified on Etherscan.
Environment

Browser: Brave
Safe: https://rinkeby.gnosis-safe.io/app/#/safes/0xdfB0353d79CD338e294DeC709E76dC4894c51572
Wallet: MetaMask (via Brave)
App Version: 2.11.0
Environment:

dev (rinkeby)
staging (rinkeby)
production (mainnet)

Steps to reproduce
(In my case I am using the Aragon DAO KernelProxy contract address and trying the enter the ABI of the Kernel contract in order to make a method call newAppInstance.)

Go to "Contract Interaction"
Enter the address for a proxy contract like 0x2ca48c09071a79f818a2e36ba449eb821190661a
Notice that the ABI field gets auto filled because the source code is verified on etherscan https://rinkeby.etherscan.io/address/0x2ca48c09071a79f818a2e36ba449eb821190661a#code
Paste in the ABI below for the underlying contract that the proxy executes

https://giphy.com/gifs/kcHhQOh4jLSjH91cQH
5. Select any method from the dropdown
6. Enter in values
7. Notice that the ABI field overwrites the ABI code, then method you selected and the corresponding fields disappear 😲
Expected result

Expected to be able to proceed with the pasted in ABI method and fields
Obtained result

But you can't because it gets overwritten by the ABI on etherscan
Screenshots

Thanks for this input. Did you check if it would work to first enter the address of the Kernel, choose method / parameters and only at the end switch the destination address to the KernelProxy?
Also, maybe the Transaction Builder Safe App in the "Apps" tab might work better for this use-case.

thanks @lukasschor first suggestion did not work. same result ad before.
But using the Transaction Builder Safe app works perfectly! Maybe it's fair to keep this issue open but maybe low priority for you all

This one is related to the ABI field resetting regularly gnosis/safe-react#1394
It will be fixed in the next release (this week)


Create and accept my first ever pull request

I should create and setup my first ever pull request to merge it into the production (aka main branch).

Following the link after successfull pushing a new branch to origin (details here).

Got new pull request.
Merging.

Done.


Make Broker Open Frontend use Broker Open Core

I have assumed, that the open frontend would make use of the latest open core broker. Unfortunately it seems, that the close source version of the broker is used: https://github.com/International-Data-Spaces-Association/ids-metadata-broker-open-frontend/blob/3e7bc7ecbd138054dc8abed8eced1243c0cd3d07/docker/composefiles/frontend-dev/docker-compose.yml#L11
It would be great, if you could provide an example, how the open frontend could work with the latest open core broker (registry.gitlab.cc-asp.fraunhofer.de:4567/eis-ids/broker-open/core:latest)

registry.gitlab.cc-asp.fraunhofer.de:4567/eis-ids/broker-open/core:latest is also outdated, the current docker image should be registry.gitlab.cc-asp.fraunhofer.de/eis-ids/broker-open/core:latest

@sebbader This trivial issue is open for around one month. Could you tell me when this will be fixed?

@SebastianOpriel The port is updated in all the docker-compose files as of now, also the latest image should be pulled and should have a 5.0.0-SNAPSHOT version.


How do we need to change the header when contributing translation

Translators should get credit in the header

Manual solution: Editor adds their name and name of any translators by manually editing the header.

Is an automated solution overkill?


Add flask web app mysql db template

Flask WebApp MySQL DB
Repo URL: https://github.com/john0isaac/flask-webapp-mysql-db
Azd compatible PR: https://github.com/john0isaac/flask-webapp-mysql-db/pull/3

[x] Added an entry to https://github.com/Azure/awesome-azd/blob/main/website/src/data/users.tsx that includes:

[x] Template title - A short title that reflects the local application stack that someone could use to get their application on Azure (e.g. "Containerized React Web App with Java API and MongoDB")

[x] Description - 1-2 sentence description of the architecture (e.g. Azure services) or solution that is defined by the template.

[x] Architecture Diagram or Application Screenshot - The image should include all services and their connections (example). You should add the image to the website/src/data/images/.

[x] Link to Author's GitHub or other relevant website - Used for attribution

[x] Author's Name -  Name to credit on the gallery card

[x] Link to template source - Link to the template GitHub repo

[x] Tags - Specify tags to represent the template. If you don't see a relevant tag for your template? Feel free to add one!
Required tags:

[x] Tag your template as Micrsoft-authored ("msft") or Community-authored ("community")
[x] Tag the IaC provider ("bicep" or "terraform")
[x] At least 1 tag for programming language used
[x] At least 1 tag for Azure services integrated
[x] Add the "new" tag for any newly authored templates

[x] In the PR comment, if you can also add a link to the PR where you made your repo azd compatible this will allow us to provide feedback on your template and speed up the review process.

@v-xuto Could you test this template?

Sure. We will test this template today.

@hemarina, @john0isaac  We have finished this template test, and we filed three issues. Please review.

https://github.com/john0isaac/flask-webapp-mysql-db/issues/9
https://github.com/john0isaac/flask-webapp-mysql-db/issues/10
https://github.com/john0isaac/flask-webapp-mysql-db/issues/11

@v-xuto thank you so much for taking the time to test it.

@v-xuto done ✅
Please re-review and let me know if there are anymore issues.

@hemarina All three issues have been fixed, and there are currently no issues with this template.

Note that the tag that I used azuredb-mysql doesn't exist.
As this is the first template for Azure MySQL Database


ROS is ignoring drive_callback in gym_bridge.py

Hello, I have encountered some really weird behaviour from ROS when I tried to run dummy-agent example.
I am running Ubuntu 18.04.5 LTS, docker 19.03.12 .
I started docker with sudo ./docker.sh and launched dummy agent with roslaunch f1tenth_gym_ros agent_template.launch, you can see the output on pics below (to make things simpler in drive_callback in gym_bridge.py i left only one line of code: print("in drive callback").

Callback obviously did not fire, on pics below you can see the output of rostopic info /drive which was normal and the output of roswtf which indicated there really is an error. Also there is a pic of rqt_graph which does not show /drive topic.
Note that all along rostopic echo /drive output showed AckermannDriveStamped messages being published from dummy-agent.

Now here is the twist, when I changed only a message type from AckermannDriveStamped to Odometry everything seemed to work as it should. Callback started to work and there was no error in roswtf output. You can see output of those commands in pics below.

I don't understand what is going on and since I have never worked with AckermannDriveStamped I'm not sure if maybe I'm doing something wrong, although I don't know how message type can affect ROS in this way.

I am also facing a similar issue. The 'roswtf' command is saying --
ERROR The following nodes should be connected but aren't:   /rostopic_4415_1599984587224->/gym_bridge (/drive)

I have tried with multi_node as well as master node, having the same result in both cases.

Can I see some more details on how you're publishing the drive messages?

I haven't changed anything from dummy_agent_node.py except that I have put drive.drive.speed = 2.0 instead of drive.drive.speed = 0.0

In case when I'm publishing Odometry message I have the following code:
#!/usr/bin/env python
import rospy
from ackermann_msgs.msg import AckermannDriveStamped
from sensor_msgs.msg import LaserScan
from nav_msgs.msg import Odometry

class Agent(object):
    def __init__(self):
        self.drive_pub = rospy.Publisher('/drive', Odometry, queue_size=1)

        self.scan_sub = rospy.Subscriber('/scan', LaserScan, self.scan_callback, queue_size=1)

    def scan_callback(self, scan_msg):
        # print('got scan, now plan')
        drive = Odometry()
        self.drive_pub.publish(drive)

if __name__ == '__main__':
    rospy.init_node('dummy_agent')
    dummy_agent = Agent()
    rospy.spin()

We are able to replicate this bug. We are investigating what might be wrong as it did not occur during the last competition. It seems like it might be a network configuration issue, but we do not have a solution yet. For the time being you could develop your agent inside the docker container until we have a fix.

I've pushed a new commit for the repo, could you please try out the new version? Please revert back to publishing an AckermannDriveStamped message. The issue was from the genpy  library that handles the message generation in rospy and they recently had an update to the ros docker images. For more details on the issue see here: https://github.com/osrf/docker_images/issues/452 .

Yes, now it works !
Thank you for your help
I had a minor bug while building docker:
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-melodic-map-server/ros-melodic-map-server_1.16.6-1bionic.20200820.221640_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing ?

I guess it is because docker has cached that command and did not execute it again,
error persisted after I deleted catkin package, ran command docker system prune and cloned package again.
I'm not really that familiar with docker but I fixed it by adding that command ( run apt-get update --fix-missing ) in DockerFile:
RUN apt-get update --fix-missing && \
    apt-get install -y \
    python-pip
RUN apt-get update --fix-missing
RUN apt-get install -y libzmq3-dev \
                       git \
                       build-essential \
                       autoconf \
                       libtool \
                       libeigen3-dev \
                       cmake \
                       vim \
                       ros-melodic-ackermann-msgs \
                       ros-melodic-map-server \
                       ros-melodic-genpy

apt-get update --fix-missing is already in the Dockerfile. Since it was cached before when you built it, you can modify build_docker.sh to add the --no-cache argument after the build command for a fresh rebuild.

Thanks @hzheng40 for fixing the issue. Also thanks @IPavlak for clearing about the post-fix bug. It all works now!


Add license

What license is this library released in?  Could you add an official license file to you repo?

It's MIT licensed. I just added the license file to the devel branch.


Standalone build for WASM runtime for developers

We need to package up the WASM runtime to not only be able to be executed as part of the protocol/consensus, but also for developers to be able to execute it locally and without the network as a way to test/debug their smart contract code. This means building binaries for x86_64 and aarch64, as well as Linux, Darwin, etc. It will also no-doubt include adding better diagnostics for contracts and some documentation for its use.

I think the Rust targets we want to add for this are:

x86_64-unknown-linux-musl
aarch64-unknown-linux-musl
x86_64-apple-darwin
aarch64-apple-darwin
x86_64-pc-windows-msvc
aarch64-pc-windows-msvc

It'd kinda cool to also include x86_64-unknown-freebsd too unless there's a reason why it won't build (it currently builds).
For the Linux builds, we're going with MUSL libc so that we end up with a single, statically linked binary. There is currently still an open issue preventing this (#533 ).
For the Windows binaries, we may be able to use the GNU target instead of the MSVC ones if there's an issue, but let's try for MSVC first.
@mikehostetler suggested that github tags and actions might be able to handle this all for us. We should probably also formalise how we tag versions on the repo and keep it in sync with Cargo.toml so that we don't have to remember to set both.

The build issues for this are done. We still have a couple of changes we want to make (#716 if possible, and a small change to publish a contract), but it ought to be possible to do a build from the automation and show it working, and we can do a final build once we get the final changes in.

@mattgeddes I was able to get a successful build for x86_64-unknown-linux-musl, but all other architectures aren't easily supported by Github Runners.
We can look at hosting our own runners - but I'd recommend we split that out of this ticket.
I was also able to get tagging sorted for the entire repository as well. I'm going to limit the scope of this ticket to building for the one architecture we can support for now, tagging and that's it.  Welcome other input on steps to investigate or take if needed.

OK. We can't ship without other architectures. "You can use any language and tools you like.... except only on Linux" isn't as shiny :) . At this late point, it's probably going to end up in my lap to manually build all of the binaries. I've checked my lab and I think I can do:

linux + x86_64
linux + aarch64
linux + arm
darwin + x86_64
darwin + aarch64
freebsd + x86_64

Given a cheap mini-PC off Amazon, I can probably add windows + x86_64 and windows + aarch64 to that list too.
I'll likely spend a little time partially orchestrating it, rather than doing it by hand each time. I suspect we'll be rebuilding quite a bit in the early days.

 Closing.


protolock: 0.15.2 -> 0.16.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nilslice/protolock/releases.
meta.description for protolock is: "Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility. https://protolock.dev"
meta.homepage for protolock is: "https://github.com/nilslice/protolock"
meta.changelog for protolock is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/i7n2d4ssphdal24mjpprw8jjb42y414k-protolock-0.16.0/bin/protolock had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.16.0 in filename of file in /nix/store/i7n2d4ssphdal24mjpprw8jjb42y414k-protolock-0.16.0

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
protolock

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i7n2d4ssphdal24mjpprw8jjb42y414k-protolock-0.16.0 \
  --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 protolock https://github.com/r-ryantm/nixpkgs/archive/012bfb6439899fe0dc6095c2a58fcdf43cce747a.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/i7n2d4ssphdal24mjpprw8jjb42y414k-protolock-0.16.0
ls -la /nix/store/i7n2d4ssphdal24mjpprw8jjb42y414k-protolock-0.16.0/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:

protolock

Maintainer pings
cc @groodt @kalbasit for testing.

@ofborg eval


contributing count_chars.py utility

As discussed in https://github.com/tesseract-ocr/tesstrain/pull/235#discussion_r1517037975_ .
Would a pull request from myself be sufficient here, or would it be preferable to add some language about this contribution being under the Apache-2.0 license?

Thank you! It would be great if you could add a statement about the license either as commit comment or in the header of the code.

Sounds good, I've updated the language to make the licensing here more explicit.


Is MSAL supported for Digital Twins

Microsoft have 2 platforms ADAL (V1) and MSAL (V2).
In this article mentioned only ADAL. If MSAL supported by Digital Twins - please mentioned MSAL as well and https://github.com/AzureAD/microsoft-authentication-library-for-dotnet dotnet library for MSAL.
If not- please explicitly specify it.
Let me give you a content of my feedback- we are choosing between ADAL/MSAL as our corporate standard. MSAL not supported by digital twins- it's important point for us.

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

ID: 10ba3809-058c-63c9-48b3-a5c036754df1
Version Independent ID: b5b36736-42d8-feab-1527-91b527121a90
Content: Understand API authentication using Azure Digital Twins
Content Source: articles/digital-twins/security-authenticating-apis.md
Service: digital-twins
GitHub Login: @lyrana
Microsoft Alias: lyhughes

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Good Morning @SychevIgor - Thank you for your outstanding question! Yes, both libraries are presently supported. They represent two ways to authenticate with Azure Digital Twins. Both ADAL and MSAL are supported by multiple languages and implementations (client JS or backend .NET for example).
Which you prefer to use will be a matter of use scenario but, MSAL is generally encouraged. Specifics about differences and migrating between the two authentication libraries is supplied here: https://docs.microsoft.com/azure/active-directory/develop/msal-compare-msal-js-and-adal-js
I've gone ahead and updated the documentation and you should see the changes shortly.

@KingdomOfEnds thank you. I know the difference between MSAL and ADAL. It's why I asked about adding MSAL to a documentation

@SychevIgor - Yes, it's a definite improvement to the documentation to have that be brought up to date. I've also reached out to the PM and Engineering teams to verify as well and will keep you notified. Thank you!

@SychevIgor - I can confirm that both MSAL and ADAL are supported. The documentation has been updated to reflect that. Thanks!

@SychevIgor , @himanshusinha-msft - I wanted to verify that the issue had been addressed. Thanks!


Color vertex arrays for smooth coloring

Hi,
Can NanoVG create an image like following?:

Currently the OpenGL code that I want to replace is using glDrawArrays to draw 7 points, the center and six corners, each with an associated color.  It uses GL_TRIANGLE_FAN to fill it and OpenGL then interpolates the colors in the middle.
I've been playing with the gradient and global blend/composite functions and have not been able to duplicate it.
Thanks!

That one is tricky indeed. This is how the color wheel in the NanoVG demo is drawn:
https://github.com/memononen/nanovg/blob/master/example/demo.c#L646
The way I would approach drawing you image is to first draw 6 triangles with gradients that interpolate the colors at outer vertices. The draw the same 6 triangles with "fade to white" gradient, that is opaque white at center, transparent white at the outer edge.
When drawing adjacent shapes, the antialiasing will leave a dim line there.
http://stackoverflow.com/questions/17825645/adjacent-svgpolygon-edges-do-not-meet
One solution is expand the triangles by half a pixel. Another solution would be to draw 1px line between the triangles as prestep using one of the triangles gradients. Draw both the color gradient and the fade to white gradient.


Fix scriptjson fatal script error param

Fixes DecodeJSON failing to raise a script error if the document has parsing errors.

Surely this 4 line fix will not take 2 months to merge

Requesting review from @RoyalBlue1 cause she wrote the original code IIRC ^^


[BUG] rr workers not working in Laravel Octane

I tried the rr command with Laravel Octane
###rr reset
rr reset -o rpc.listen=tcp://localhost:6001

expected result
Resetting plugin: [http] ∙∙●
###rr workers
rr workers -o rpc.listen=tcp://localhost:6001

expected result
workers table
instead I got an error
show_workers: informer_plugin_workers: no such service: server; informer_plugin_workers: no such service: server
The version of RR used: rr version 2.2.1 (build time: 2021-05-13T18:00:32+0000, go1.16.4)
Discussion
https://github.com/spiral/roadrunner/discussions/684
pinged @48d90782

TODO:

Informer.List after the #611 returned all available plugins, but not plugins, which fit the Informer interface.
Create a new RPC call: Informer.Workers, which should return plugins with workers.
Update rr-binary informerList constant.

@rustatian thanks for the quick fixed. it worked in v2.3.0-beta.2
rr workers -o rpc.listen=tcp://localhost:6001


Compatibility with PostCSS 8

Thanks for your PostCSS plugin!
As you probably know, PostCSS 8 was released a few days ago. It would be great if you could make this plugin compatible with the latest version. The creators of the project have even released this migration guide.

It's been over a year since the issue was opened. Are there any updates? Do the authors plan to update the plugin?


Experiments with SRI, solving references to symbols and not to nodes

With this PR on a PR I propose to introduce the possibility to resolve references to Symbol Descriptions and not just to Node. This is a significant change to the existing API, but this is the only way that I can think of to resolve references without having to load external ASTs in the process, but just relying on the Symbol Resolution Index.
From the point of view of someone using the AST after resolution, they could encountered references that:

Have not being solved. So we know there is some issue (typically we miss some files)
Have being solved to a node within the same AST. It will work as before, as referred will contain the pointed node
Have being resolved to a symbol (which typically represents a node within another AST). At this point the user may decide to load such node from the repository, if he wishes to do so

This is a significant proposed change, so it would be very interesting to hear what @loradd, @alessiostalla, and @gabriele-tomassetti think about it. I know you have other things to work on, so we can take our time on this discussion (i.e., if you are working on something else, keep doing so and reply to this when you have time)
I shared some background information on the LionWeb Repository and the problem of solving references to external ASTs without having to load them here: https://www.notion.so/strumenta/Using-LionWeb-Repository-for-storing-StarLasu-ASTs-ff278d06da304304991cce61d58a065d?pvs=4
As part of this PR I also:

changed LionWebNodeIdProvider into NodeIdProvider and moved it to core, so that we can refer to it in the semantics module
moved SymbolDescription to core, as we need to use it in ReferenceByName
introduced some convenience methods in ScopeDescription
added a few tests in SymbolResolutionWithSRITest. They have been useful to play with the API and check how we could use it in a scenario close to the one we would get when using the Model Repository

Most commits are spurious: to remove them we could rebase feature/symbol-resolution-index on top of master
My suggestion to look at this PR is to start looking at SymbolResolutionWithSRITest

I am not sure I understand. Why do we want to use symbol descriptions in reference by names? It would not allow navigating the AST as someNode.reference.referred?.somePropertyOfTheTarget. The current implementation does not require external ASTs to be loaded, the following scenario could cover symbol resolution without an external model repository:

DeclarativeSymbolProvider instance - defines what others can see from an other AST;
DeclarativeScopeProvider instance - defines the scopes (name to identifier pairs) for each reference we want to resolve;
SymbolImporter instance - takes every AST we need (even just one if external refs are not required) and populates the index using a SymbolProvider and SymbolRepository;
SymbolResolver instance - takes the ASTs and resolves all references using a ScopeProvider and NodeRepository;
SymbolRepository instance - stores the index somehow - might be an in-memory map or anything else;
NodeRepository instance - stores the nodes somehow - might be in-memory or anything else;

Am I missing the point?

Thank you for your answer. This is a complex topic and it is very possible that we are not understanding each other and that I am missing something. I am happy to discuss about it when you have time.
In the meantime I share my understanding.

I am not sure I understand. Why do we want to use symbol descriptions in reference by names? It would not allow navigating the AST as someNode.reference.referred?.somePropertyOfTheTarget.

Right, that would be indeed a problem and a breaking change. In this case I would imagine that we could do this:

Change the getter of ReferenceByName.referred to throw an exception if the symbol is set but not the node. The exception would instruct to load the node associated to the symbol before accessing it
Add a method ReferenceByName.loadNodeAssociatedToSymbol(nodeProvider) to actually set the referred field to the real node pointed

The current implementation does not require external ASTs to be loaded,

I think it does, because we eventully get the nodes corresponding to the symbols and store those in references:
   // in SymbolResolver
    fun resolve(
        node: Node,
        property: KProperty1<Node, ReferenceByName<PossiblyNamed>>
    ) {
        @Suppress("UNCHECKED_CAST")
        val propertyValue: ReferenceByName<PossiblyNamed>? =
            node.properties
                .find { it.name == property.name }
                ?.value as? ReferenceByName<PossiblyNamed>?
        propertyValue
            ?.let { this.scopeProvider.scopeFor(node, property)?.resolve(it.name) }
            ?.let { this.nodeRepository.load(it) }
            ?.let { propertyValue.referred = it as? PossiblyNamed }
    }

The actual node would be loaded when invoking this.nodeRepository.load(it). Loading a node always means to get the entire sub-tree below it. For example, if we have a symbol pointing to a class declaration, this could would load the entire class declaration. Loading the class declaration we may find other references somewhere in that tree. If references can only hold nodes and not just symbols it means that loading those references we would end up loading more nodes (and their entire subtrees), and so on. Potentially we could end up loading from the model repository into memory a chain of ASTs.
I think that if we could load single nodes or proxies and not entire nodes we could avoid this issue, but currently I think we cannot.
My understanding is this: that nodeRepository.load(symbol) would in the implementation of interest get the data from the Model Repository and return the node. For example, let's suppose that we want to retrieve a SumExpr.
data class SumExpr(val left: Expr, val right: Expr) : Node()

To instantiate SumExpr we would need to call the constructor, which requires passing its children (left and right) and so on. We cannot create a class NodeProxy to use instead of Expr, because that would not be compatible.
So for me the call this.nodeRepository.load(it) means load the entire sub-tree, as I would not know how to implement it differently.
Does this make sense? Am I missing a crucial point?

You're right, loading the node would require loading its children as well. However, I think this is more an issue of the current ReferenceByName definition. Perhaps we could think of a way to re-design references independently of symbols. In general, I am not sure I like the idea of moving symbol descriptions into core as these should be considered specific to the semantic enrichment process.
We could rethink the current implementation of reference by names as follows:

Reference by names keep track of a name and an identifier - provided by the NodeIdProvider of the language specification;
Whenever asked, the actual referred node is loaded from the Node repository - all its reference by names will only contain the identifier, not the actual node;

The current ReferenceByName class specification is currently - more or less - this:
data class ReferenceByName<T: PossiblyNamed>(val name: String, val referred: T? = null)

we could change it as
class ReferenceTarget<T>(
    val identifier: String,
    val node: T? = null,
)

class ReferenceByName<T: PossiblyNamed>(
    val name: String,
    val target: ReferenceTarget<T>? = null,
)

When retrieved from the node repository ReferenceTarget instances will only have the identifier field set. Then, whenever invoking someNode.someReference.target.node, the node will be loaded from the node repository with all its reference by names not containing the corresponding node - but the only the identifier.
Also, with the current setup, I think replacing PossiblyNamed with Node would simplify the development and still meet our current use of reference by names. In order to handle unnamed references - if required - we could have another kind of reference without name.
class ReferenceTarget<NodeTy: Node>(val identifier: String, val node: NodeTy? = null)
class Reference<NodeTy: Node>(val target: ReferenceTarget<NodeTy>)
class ReferenceByName<NodeTy: Node>(val name: String, target: ReferenceTarget<NodeTy>): Reference<NodeTy>(target)

Do you think this makes sense?

Todo:

[ ] Update to latest changes in #301
[ ] Verify if this PR becomes obsolete

Lorenzo and I discussed it: in the ReferenceByName we should not use the Symbol Description but just the identifier (for the cases in which we do not have the node already)

With the changes in this PR I got the first functional test involving symbol resolution to work.
This PR depends on a PR in LionWeb Java (https://github.com/LionWeb-io/lionweb-java/pull/135)

Hi @loradd , with this PR I verified that I can make the functional test on symbol resolution in https://github.com/Strumenta/starlasu-lionweb-repository-client pass
Perhaps the most relevant point for you to review is the introduction of a nodeIdProvider fields in scope, ScopeDescription, and DeclarativeScopeProvider
Other points are about the nullability of references

Awesome! I think we can merge this PR once done with the comments 👍

Thank you @loradd , I applied the changes requested and as tests pass I will merge


[1.3] Thermostat Cluster XML has to be updated as per spec

Description:
For the below mentioned  attributes the actual type as per the spec is Temperature but in the in XML it is defined as int16s , So the type in the XML should be updated as the spec

[ ] LocalTemperature
[ ] OutdoorTemperature
[ ] AbsMinHeatSetpointLimit
[ ] AbsMaxHeatSetpointLimit
[ ] AbsMinCoolSetpointLimit
[ ] AbsMaxCoolSetpointLimit
[ ] OccupiedCoolingSetpoint
[ ] OccupiedHeatingSetpoint
[ ] UnoccupiedCoolingSetpoint
[ ] UnoccupiedHeatingSetpoint
[ ] MinHeatSetpointLimit
[ ] MaxHeatSetpointLimit
[ ] MinCoolSetpointLimit
[ ] MaxCoolSetpointLimit
[ ] ACCoilTemperature

As per the spec the below mentioned Attribute/Command are Non-Matter , but they are availble in the XML, Hence it should be removed from the xml.

[ ] StartOfWeek
[ ] NumberOfWeeklyTransitions
[ ] NumberOfDailyTransitions
[ ] SetWeeklySchedule
[ ] GetWeeklySchedule
[ ] ClearWeeklySchedule

Below mentioned Datatypes are missing in the XMl , So they needs to be added in the XML.

[ ] AlarmCodeBitmap
[ ] HVACSystemTypeBitmap
[ ] ProgrammingOperationModeBitmap
[ ] RelayStateBitmap
[ ] RemoteSensingBitmap
[ ] TemperatureSetpointHoldPolicy
[ ] ACCapacityFormatEnum
[ ] ACCompressorTypeEnum
[ ] ACLouverPositionEnum
[ ] ACRefrigerantTypeEnum
[ ] ACTypeEnum,
[ ] SetpointChangeSourceEnum

XML Reference: https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml
Spec Reference: https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/Thermostat.adoc
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
eb2f8f6ca95c181577415bc4b3e7cc240d5b2edd
Platform
raspi
Platform Version(s)
RPI - 4, 8GB RAM
Type
Test Improvement
Anything else?
No response

https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/6249 needs to be fixed before anything happens here.


[FEAT]Create an about page

Additional context

About has been mentioned in the footer, but there is no about page.
Kindly assign me this issue.

please assign to me Under Gssoc

Please assign me this issue under gssoc'24.


free the file handle

By press testing,I find the program crashed because of the file handlers beyond the limit.

This fix looks good.
Unfortunately, this repo no longer has any maintainers, sorry.

(there is a minor additional build fix at https://github.com/ploxiln/dablooms and I would be happy to merge this fix there)


lavalink: init at 4.0.8; nixos/lavalink: init

Description of changes
A standalone audio sending node based on Lavaplayer and Koe.
This adds the package for Lavalink and a corresponding nixos module.
I tested the program with and without plugins and several different configurations on my local computer, and a remote nixos machine.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I haven't check the nixos module.

I addressed all of the above in the recent pushes

I suggest we can build from source.

I've seen other packages with the same approach, so I'm not sure to why?

@nanoyaki According to manual, we'd better build from source. But now it's ok if you don't want to do it.


error adding user manage.py

Hi Marcin,
Im trying to configure doorman authentication, but when i try to generate admin user with manage.py i get the following error:

Thanks.
Best regards.

You’re running into a postgres user error here. Since you’re running manage.py as root, it tries to connect to postgres as root. Try sudo’ing to doorman or postgres user.
Confirmed in osquery Slack this fixes the problem.


programWithFlags : … -> Program Never produces a value of uninhabited type Never

The compiler magically provides a flags value of type Never to a program of type Program Never. Most constructors of Program Never automatically ignore this “value”, but a program constructed with programWithFlags can receive it in init and use it to break the safety of APIs expecting Never to be uninhabited.
Demo:
import Html
import Html.App

shouldNeverHappen : Never -> String
shouldNeverHappen n = "Got a value of type Never: " ++ toString n

main : Program Never
main =
  Html.App.programWithFlags
    { init = \flags -> (flags, Cmd.none)
    , update = \_ model -> (model, Cmd.none)
    , subscriptions = \_ -> Sub.none
    , view = \model -> Html.text (shouldNeverHappen model)
    }

displays Got a value of type Never: <internal structure>.
The Never type is supposed to be uninhabited and should not be used for this purpose. A program taking no flags should be marked with type Program (), not Program Never.

Or better (I think?), can we just remove the flags parameter from Program entirely, changing Program Never to Program, Program flags to flags -> Program, and programWithFlags { init = init, … } to fun flags => programWithFlags { init = init flags, … }?

Assuming it's doable, I like how that suggested API would remove the type variable from Program.
Also, I like how it'd let you wire things up differently based on flags. I'd use that feature for webworkers. (Accept a flag for running things in parallel vs not, depending on whether the current browser supports it, then use a different update accordingly.) I can work around it, of course, but it'd be nicer to do it that way. 😄

Interesting, I missed the suggestion about flags -> Program. That seems nice and we have to mess with the Program type for 0.18 anyway.
Well, either way, it is fixed in 0.18 right now, but it may make sense to switch to the function way.

I missed the suggestion about flags -> Program. That seems nice and we have to mess with the Program type for 0.18 anyway.

I totally ❤ that design. I would love to see that be a part of 0.18 if it's not too late!


[hotfix]: remove references to deprecated junit.framework.Assert from tests

Thanks for your contribution @smarthi :-) Will merge it.


local declarations on windows use \ instead of /

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15824/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15824/merge/testResults/webgpuplaywright/index.html


front end access tokens

Fixes

Replace JWT with automatically generated access tokens as a pathway for future RBAC

Description

I created a new API endpoint as an entry point to the quick search endpoint. The new endpoint automatically creates an access token which is stored in the new access_tokens table in Supabase and expires after 5 minutes and isn't visible in the browser which should prevent potential abuse of other endpoints. Let me know if this doesn't alleviate all concerns, but I believe this should be good for launch. We can expand on this in the future if we want to make users login for the quick search app and/or add role based access controls (RBAC) to enable certain levels of access.

Docs

Gitbook documentation: https://app.gitbook.com/o/-MXypK5ySzExtEzQU6se/s/-MXyolqTg_voOhFyAcr-/~/changes/444/api/endpoints/data-sources-database#undefined

nice, so this endpoint would primarily be for the front end? I think we should establish some guidance in the docs for how to decide which endpoint to use.

I wondered about that too, I don't think either this or the quick-search endpoint really make sense to use except on the front end, I think we could provide better access to developers through our other endpoints. Maybe it makes sense just to remove them from GitBook and just have them documented in Github?

@mbodeantor I think keeping them in the same place as fine, while making sure people know what they're for.

this is fine from my perspective but the other two should weigh in 👀

@kalenluciano made those changes

@kalenluciano I think you have to approve the changes you requestsed

@kalenluciano @josh-chamberlain just need one more approval after I fixed the merge conflict


add Iso[JsonObject, Map[String, Json]]

This is basically a resurrection of https://github.com/circe/circe/pull/612. I tried to add a unsafe instance of Traversal[Map[K, V], (K, V)] in https://github.com/optics-dev/Monocle/pull/867. I think the use case is still relevant. I recently want to rename json keys from "_key" to "key". I find no easy way to do this.

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   37.80%   37.80%
=======================================
  Files           3        3
  Lines          82       82
=======================================
  Hits           31       31
  Misses         51       51

Continue to review full report at Codecov.

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

Closing this because of age, but if you still want it feel free to re-open with conflicts resolved.


Old k8s dependency version?

Isn't 0.22 version supposed to have newer k8s library?
It's v1.19.3
https://github.com/vmware-tanzu/octant/blame/v0.22.0/go.mod#L58
While 1.21.3 stable is already available.
What did you expect to happen:
I suspect https://github.com/kubernetes/kubernetes/pull/97857 released in 1.21 might help to solve

W0719 15:24:46.802086   74811 exec.go:271] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 1229 clients constructed calling "aws-iam-authenticator"
W0719 15:24:46.824047   74811 exec.go:271] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 1230 clients constructed calling "aws-iam-authenticator"
W0719 15:24:46.872156   74811 exec.go:271] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 1231 clients constructed calling "aws-iam-authenticator"
W0719 15:24:47.053590   74811 exec.go:271] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 1232 clients constructed calling "aws-iam-authenticator"

Octant version (use octant version):
Version:  0.22.0
Git commit:  a723e6e682f8d73d9c2afdd033c9028c9610b025
Built:  2021-07-14T12:20:03Z

Duplicate of #1558

Is there any roadmap or plan on updating that?
I can send PR bumping these libs but not sure about versioning and which version of k8s is supported by each octant version. Documentation isn't very clear about that:

Octant follows an n±1 policy for versions of Kubernetes similar to kubectl. For example, Octant 0.16.0 uses the Kubernetes 1.19 client. So version 0.16.0 can be used with Kubernetes 1.18, 1.19, and 1.20.

Does it mean that octant supports 3 last minor versions of k8s? If yes, does it imply that it should be 3 active octant release branches?

What we discussed during today's community meeting, where we brought up this question, goes like this:

Take the client-go version of the Octant release (1.19 for Octant 0.22)
That particular Octant release will support Kubernetes versions in a n±1 model, in this case it will be:

1.18 --  1.19 --- 1.20
We agree it could be better phrased in the docs, and we will be improving in that area in the upcoming weeks and months.
Octant is aimed to be n-1 compared with Kubernetes upstream versions, but also if there's no blocking issue, an upgrade on that versioning could be evaluated.
@ipleten please let us know if more details are required.

Also adding great comment from @vrabbi on the Slack channel:
Regarding client go version upgrades:
The one worry could be regarding managed clusters. For example eks just changed the default to 1.20 and 1.21 isnt even available yet as far as i know. Because managed clusters are always lagging behind in k8s versions from the upstream versions, it could make it a bit of a pain for those users. They could still use an old version of octant but then they wouldnt get the bug fixes and new features. Also as more and more plugins exist, if the plugin apis have breaking changes it could make it difficult to utilize plugins in such use cases

tldr; PR for a bump to 1.21.3 is appreciated

https://github.com/kubernetes/client-go/issues/914

Thank you for the PR.


MM-28621 - "Incident" & "Playbook Not Found" image in backstage don't render properly

Summary

before (same for not-found incident):

after:

Ticket Link

https://mattermost.atlassian.net/browse/MM-28621

Codecov Report

Merging #289 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #289   +/-   ##
=======================================
  Coverage   49.04%   49.04%
=======================================
  Files          18       18
  Lines        2255     2255
=======================================
  Hits         1106     1106
  Misses        993      993
  Partials      156      156

Continue to review full report at Codecov.

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


Requirements, time and neo4j format

I will soon try this tool but I would like to understand in advance three things:

What are the requirements in terms of CPU, Disk and RAM, to run the whole thing?
How much time would it get to fully sync the blockchain and export in Neo4j?
In the Neo4j graph, what do nodes and edges represent? Addresses and transactions? Or it's a multi-graph with transactions as nodes and inputs/outputs as edges?

So, nothing?

Expect at least 256 gigabytes of disk space, give it a few days to process on a m1.medium instance.

Now I know. It took 7 years, but totally worth the wait  😉. Jokes aside, I remember having this need and back then requirements were of course a bit more forgiving. Not on this topics these days but it's nice to see there's still people investing their time in such tools.


Add /* suffix support to the path template

Initially filed by Martin.
Add a short-hand to a wildcard suffix for path template.

Currently we need to do /path[/{*}] to protect /path and any path under it, such as /path/subpath.
It would be nice to have a shortcut /path/* that would do the same


Document connector setup for namenode HA

Explicitly document configuration for namenode HA.  We've encountered a
lot of people having issues configuring Presto for HA clusters.

looks good

Merged, thanks!


weekdayName property not accessible?

I'm not seeing the weekdayName property when playing with a created date.
Here's how I'm creating the date (today's date):
let date = NSDate()
let userRegion = Region(calType: CalendarType.Gregorian, loc: NSLocale.currentLocale())
let localDate = date.inRegion(userRegion).localDate!

When I try to access the weekdayName:
localDate.weekdayName
I get the following error: "Value of type 'NSDate' has no member 'weekdayName'"

it's marked as public in develop branch.
scheduled for 3.0.8


Problems using csvdupe and running nosetests

I have come across this issue in many attempts to use the script. In the most recent case I cloned this repo (and dedupe) and followed the "Testing" instructions in the README files. Completing the tests for dedupe did not surface any issues, however testing csvdedupe produced this output:
[user@localhost csvdedupe]# nosetests
....E.....
======================================================================
ERROR: test_no_training (test_command_line.TestCSVDedupe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 144, in read_nonblocking
    s = os.read(self.child_fd, size)
OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 97, in expect_loop
    incoming = spawn.read_nonblocking(spawn.maxread, timeout)
  File "/usr/lib/python3.4/site-packages/pexpect/pty_spawn.py", line 455, in read_nonblocking
    return super(spawn, self).read_nonblocking(size)
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 149, in read_nonblocking
    raise EOF('End Of File (EOF). Exception style platform.')
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/src/csvdedupe/tests/test_command_line.py", line 26, in test_no_training
    child.expect("error: You need to provide an existing training_file or run this script without --skip_training")
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 315, in expect
    timeout, searchwindowsize, async)
  File "/usr/lib/python3.4/site-packages/pexpect/spawnbase.py", line 339, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 102, in expect_loop
    return self.eof(e)
  File "/usr/lib/python3.4/site-packages/pexpect/expect.py", line 49, in eof
    raise EOF(msg)
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
<pexpect.pty_spawn.spawn object at 0x7f4d16efa860>
command: /bin/csvdedupe
args: ['/bin/csvdedupe', 'examples/csv_example_messy_input.csv', '--field_names', 'Site name', 'Address', 'Zip', 'Phone', '--training_file', 'foo.json', '--skip_training']
searcher: None
buffer (last 100 chars): b''
before (last 100 chars): b'ltiprocessing/pool.py", line 599, in get\r\n    raise self._value\r\nZeroDivisionError: float division\r\n'
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 6063
child_fd: 6
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1

----------------------------------------------------------------------
Ran 10 tests in 50.870s

FAILED (errors=1)

The error reported:
ZeroDivisionError: float division

is the exact same error I received when first attempting to execute against my own csv file. A better traceback of the problem occurs when I run this command:
[user@localhost deduper]$ csvdedupe examples/csv_example_messy_input.csv --field_names "Site name" Address Zip Phone --output_file output.csv
INFO:root:imported 3337 rows
INFO:root:using fields: ['Site name', 'Address', 'Zip', 'Phone']
INFO:root:taking a sample of 1500 possible pairs
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.4/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib64/python3.4/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/lib64/python3.4/site-packages/dedupe/datamodel.py", line 83, in distances
    record_2[field])
  File "affinegap/affinegap.pyx", line 115, in affinegap.affinegap.normalizedAffineGapDistance (affinegap/affinegap.c:1788)
  File "affinegap/affinegap.pyx", line 134, in affinegap.affinegap.normalizedAffineGapDistance (affinegap/affinegap.c:1615)
ZeroDivisionError: float division
"""

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

Traceback (most recent call last):
  File "/usr/bin/csvdedupe", line 11, in <module>
    sys.exit(launch_new_instance())
  File "/usr/lib/python3.4/site-packages/csvdedupe/csvdedupe.py", line 162, in launch_new_instance
    d.main()
  File "/usr/lib/python3.4/site-packages/csvdedupe/csvdedupe.py", line 86, in main
    deduper.sample(data_d, self.sample_size)
  File "/usr/lib64/python3.4/site-packages/dedupe/api.py", line 931, in sample
    self._loadSample(data_sample)
  File "/usr/lib64/python3.4/site-packages/dedupe/api.py", line 873, in _loadSample
    self.num_cores)
  File "/usr/lib64/python3.4/site-packages/dedupe/training.py", line 52, in __init__
    2))
  File "/usr/lib64/python3.4/multiprocessing/pool.py", line 260, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib64/python3.4/multiprocessing/pool.py", line 599, in get
    raise self._value
ZeroDivisionError: float division

I have encountered the errors using python2.7 and python 3.4 on a centos7 VM, cygwin, and Python4Windows. In each instance I have managed to get numpy to install. Since the error appears to have ended in the multiprocessing libraries. perhaps I have not properly configured python? However I have tried many different combinations already. Any hints around how I can execute this test successfully?:
csvdedupe examples/csv_example_messy_input.csv --field_names "Site name" Address Zip Phone --output_file output.csv

Perhaps I have stumbled upon a real problem, given I was able to make this work, however I also supposed it could easily be the case that I do not truly understand the authors intentions. In my most recent scenario of working with sample data, I slightly modified the config file "csvdeupe/examples/config.json.example" changing:
field_definition   to   field_definitions

I then modified the file datamodel.py in the dedupe distribution like so:
[user@localhost dedupe]# diff dedupe/dedupe/datamodel.py datamodel.py

81c81
<                 if record_1[field] is not None and record_2[field] is not None :
---
>                 if (record_1[field] is not None and record_2[field] is not None) and (record_1[field] is not "" and record_2[field] is not "") :

Finally when I run the command:
csvdedupe examples/csv_example_messy_input.csv --config_file=examples/config.json.example

I successfully execute the program, and I am prompted to review like entries. From a experience point of view the scripts seem to be working without fail, but in terms of a working as expected "judgement", I do not believe I am the best judge of the authors intentions. Feel free to comment.

A final comment... this does not solve the 'nosetests' issue, because the failed case never did specify any "Has Missing" field_defintions', and in that case perhaps test failure is the expected case.

Fixed by https://github.com/datamade/csvdedupe/commit/7e793ff8db28c7957473209940f48983e0c731dc

Thanks that solved the nosetest, but did not solve the problem loading my training data. I will try to hunt down the code required to prevent this in loading my training data.

@DaveKlassen4 the patch your wrote should be:
if (record_1[field] is not None and record_2[field] is not None) and (record_1[field] != "" and record_2[field] != "") :

Note the use of != "" rather than is not
This solves the problem of missing values in my training data.


Mixin http routing

Resolves #45 and #46

whats the reason for the 3rd commit?

I just thought it made sense to pass the extra kwargs to setup method as well.


Support unsigned decimal

Currently, we cannot enforce the unsigned decimal schema.

User can configure this with the latest data_types option in sqlgen.yml


Zero division error

While i try to train my models , i get " ZeroDivisionError: float division by zero " from line "  progress = float(step) / self.t_total " .  What am in missing ?

Hi @MapleFlora ,
It seems this error is related to the one discussed on #262. I am currently working to fix it, it will be merged as soon as possible.


Can't select destination directory

Which @ngneat/elf-* package(s) are the source of the bug?
CLI
Is this a regression?
No
Description
See results from my terminal below
npx @ngneat/elf-cli repo                                                      npm8.2.0  node14.18.2
? Store name monitors
? Select features Props
? Where you like to put this repository? (Use arrow keys or type to search)
  No results...

I've also tried go install tool globally and use elf command directly — same result. Also tried in different environment npm6.14.12  node12.22.1
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response
Do you want to create a pull request?
Yes

We're using https://github.com/adelsz/inquirer-fuzzy-path, so the issue is probably there. Are you using windows?

Mac OS Monterey 12.0.1

Ok. I've found defect, it's in elf CLI. Let me rise PR

Ok. let me explain first the issue. It's in this line excludeFilter: (nodePath) => nodePath.includes('.')
In my case, literally every nodePath will contain dot (.) character as one of my top folders contain it. e.g. path/some.path/path/path. Therefore app folders are excluded for me. So, I have following suggestions:

fallback path to config, so user at least can select something as fallback default: process.cwd(),
use git to identify what folders to exclude. e.g. I wouldn't want to see folders like dist/build or similar on the list. DO you have any git wrapping node libraries added to the project already for reuse in this case?

I'd also suggest to refactor generated repo path selection dialog in some way - we have a complex project structure with lots of directories so it's quite uncomfortable to scroll through all that text output to find just one required line.
Could be an option with default relative path for repo generation like repoLibrary.

@kopach I like the second option. We don't have such a library. Do you want to create a PR?
@strigefleur, there is a search option.

Performance was adversely affected by adding the gitignore functionality. I've added an option to provide a different implementation of the fuzzysearch plugin since your convention for folders isn't commonly used.
https://ngneat.github.io/elf/docs/cli#fuzzypath

Performance was adversely affected by adding the gitignore functionality. I've added an option to provide a different implementation of the fuzzysearch plugin since your convention for folders isn't commonly used.
https://ngneat.github.io/elf/docs/cli#fuzzypath

@NetanelBasal I know that this is a closed issue but I was stumbled into the same bug. We commonly use dots in the folder names and that causes the issue above.  From what I know, usually only folders which start with dot should be ignored. But currently it checks for a dot in any position.
The reason why I'm asking is that it may become a roadblock for a newcomer, from my experience I don't like to bump into issues from the start, it leaves a bad taste.

Why is it done? I need to remember why :). I will change it to startWith if there is no reason.

We get the full path in the function, e.g., path/to/foo. Although I could split and check each segment using startsWith, I used the includes function for performance reasons.
I'm curious, what is the motivation for using dots in folders? I haven't seen this pattern very often.

@flawesomesoft what about https://ngneat.github.io/elf/docs/cli/#fuzzypath?

@flawesomesoft what about https://ngneat.github.io/elf/docs/cli/#fuzzypath?

Thanks for the quick reply @NetanelBasal
I've just tried to implement the fuzzy path.
I'm assuming the elf.config.js lies at the root of the project for which the elf-modules are installed.
elf.config.js file
module.exports = {
  cli: {
    fuzzypath: {
      rootPath: process.cwd,
      excludePath(path) {
        path.includes('node_modules')
      },
      excludeFilter(path) {
        path.startsWith('.')
      }
    }
  }
}

package.json
{
  "name": "domain",
  "version": "0.0.1",
  "peerDependencies": {
    "@angular/common": "^13.3.0",
    "@angular/core": "^13.3.0"
  },
  "dependencies": {
    "@ngneat/elf": "^2.1.0",
    "@ngneat/elf-cli": "^3.0.0",
    "@ngneat/elf-cli-ng": "^1.0.0",
    "@ngneat/elf-entities": "^4.3.1",
    "tslib": "^2.3.0"
  },
  "elf": {
    "cli": {
      "repoTemplate": "class",
      "inlineStoreInClass": true,
      "idKey": "_storeId",
      "repoLibrary": "repositories",
      "plugins": ["@ngneat/elf-cli-ng"]
    }
  }
}

So i assume path.startsWith('.') for excludeFilter will no longer exclude the paths like "Project1.Web"
Yet, I still get no results:
npx @ngneat/elf-cli repo
? Store name test
? Select features Props, Entities, Active Id, Active Ids
? Select CRUD operations Set, Create, Update, Delete
? idKey: _idKey
? Where you like to put this repository?
  No results...

Unfortunately I cannot show you the full path but i can assure there is no leading "." in it

@flawesomesoft try v3.0.1

Thank you so much @NetanelBasal
This  perfectly fixed the problem i had.
Means, it will work now as you mentioned in your prior post:

We get the full path in the function, e.g., path/to/foo. Although I could split and check each segment using startsWith, I used the includes function for performance reasons.


Narrative Reports Epic- Design Related

I'm starting this as a catch all for all communication about Narrative Reports that is design related.

Link to Narrative Reports Form #2062 issue from cord-api-v3

Quarterly / Narrative Reports Form
From Seth:
Here’s the data we’ll need to capture in the quarterly/narrative reports:

Name of Report Writer
Date Report Submitted
Estimated Dedication (Date/Happening)
Quarter Highlight
Rich Text
Impact Story
Rich Text
Select Story Prompt from List
Translation Highlight
Text or Media (audio, video, image)
Reference
English back-translation (text)
Prayer Request for This Quarter
Prayer Request from Last Quarter
Original Request
Update (text)
answered/unanswered/still needed (selection)
Photo/Image
Outcomes from Previous Quarter
Goals Not Met & Reason
Goals for Next Quarter
Translation
Non Translation
Progress Chart (goal step progress)
Explanation of Progress

Quarterly / Narrative Report Form
From Seth:
Here's the Highlight section. We can reword this to just be a prompt without the question selection:
HIGHLIGHT

As you reflect on the past quarter, select and check & ONE question below to answer.
What piece of translated Scripture inspired the translation team and why?
What was the most important project goal the translation team accomplished and why?
What was the most powerful example of how God encouraged the translation team during the
project process?
What was the biggest project challenge that the translation team faced and how did they respond?

Quarterly / Narrative Reports Form

From Seth:
Those are good thoughts.

Let's look at adding an "Additional Comments" type input to the Final Details page.
I really like the call out about Due Date, could that go in the header with Name, Location, and Sensitivity?

Need to get the google sheet link from Seth for Narrative Report Flow with permissions


Issue with loading model using GenericXmlDataContractSerializer: The deserializer has no knowledge of any type that maps to this name

Thank you so much for developing this package. It's been working smoothly on my computer, but I might need some help on generating a dll file for others to run on their computers. I tried using this nuget package https://github.com/Fody/Costura/graphs/contributors to compile sharplearning dlls into the project dll and adding all sharplearning xml files to embedded resources. But I keep getting the same error saying that "Element 'http://schemas.microsoft.com/2003/10/Serialization/:anyType' contains data from a type that maps to the name 'SharpLearning.GradientBoost.Models:RegressionGradientBoostModel'. The deserializer has no knowledge of any type that maps to this name. " I was wondering where the deserializer knowledge is stored and how do I add them to the project dll file. Any comment or suggestion is appreciated. Thank you!

Hi @xl233,
Thanks for using SharpLearning, I am glad you find it useful.
I am not familiar with the Fody/Costura tool. Can you elaborate a bit on what you are trying to achieve?
Is the problem related to loading a RegressionGradientBoostModel using the GenericXmlDataContractSerializer?
If that is the case, you might have to add the RegressionGradientBoostModel as a known type:
var knownTypes = new[]
{
    typeof(RegressionGradientBoostModel),
};
var serializer = new GenericXmlDataContractSerializer(knownTypes);

best regards
Mads

Thank you so much!!! This immediately solved my problem. Really appreciate it!

How would you like us to cite you? Thank you!

@xl233 No need to cite me as such, just make sure that the information from the license is included somehow.
Best of luck with your software!


Korean Localization has critical typo problem

[Enter feedback here]
Hello, There!
I Found critical type problem of this documents.
Please check the below,
English -
You change the primary replica or the secondary replica to asynchronous-commit availability mode.
Korean -
주 복제본 또는 보조 복제본을 **동기-커밋 가용성 모드**로 변경합니다.
which means totally opposite way.
Can we check it to localization team?

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

ID: 92080b07-0409-3acc-3514-7c2ec49f720e
Version Independent ID: a848a4fb-ea37-2caf-1e10-ab1fce32ecd7
Content: Availability modes for an availability group - SQL Server Always On
Content Source: [docs/database-engine/availability-groups/windows/availability-modes-always-on-availability-groups.md] (https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/database-engine/availability-groups/windows/availability-modes-always-on-availability-groups.md)
Product: sql
Technology: availability-groups
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@Park-minkyu -- Minkyu, thank you for catching this.  I am creating a translation update request.

@Park-minkyu -- Minkyu, I have created a new localization work item for this issue.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.

@WilliamAntonRohm
I understood what new localization work item beginning as fixing is on-process and I don't have privileges for that link. I can wait!
Can I have any notice if fixing is finished?

@Park-minkyu -- Minkyu, I will get a notification when the work item is complete, and will post that here.

@WilliamAntonRohm I found no modification at this point.

@WilliamAntonRohm
Here is the typo I mentioned which has totally opposite meaning
asynchronous (ENG) --> 비-동기 (KOR)
synchronous (ENG) --> 동기 (KOR)

@Park-minkyu -- Minkyu, thank you for your follow-up.  The translation has been revised and will be up on the live site in a few days.  Please let me know if you don't see it by then.

@WilliamAntonRohm I confirmed it and now everything is on site! Thank you!


stack traceback: [C]: in function 'getreg'

Hi, can you check this issue : https://github.com/gbprod/yanky.nvim/issues/91
It seems that it could be the same.
Otherwise, can you share your config ?


dynatrace_openpipeline_logs : data source

Hi Team,
We are looking for data source for openpipeline.
We are using module "dynatrace_openpipeline_logs" to update the openpipeline. There is an argument "id" where we need to provide the pipeline id. Is there a way to get the pipeline id using data source?
Thanks,
Vijayalakshmi

Hello @Vijayalakshmi-Yolbhavi I'm closing this ticket until further notice. Just drop us a  message and we will reopen it.


open file and press space bar

Issue Type: Bug
After latest update something weird happening
open any file in visual studio code and click on space should be edit file and add space but now, it's moving cursor to next character instead of editing file.
VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z)
OS version: Windows_NT x64 10.0.18362
Extensions (16)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.9.0

vscode-npm-script
eg2
0.3.7

prettier-vscode
esb
1.9.0

python
ms-
2019.5.18875

cpptools
ms-
0.23.1

csharp
ms-
1.20.0

powershell
ms-
2019.5.0

vsliveshare
ms-
1.0.379

team
ms-
1.149.2

debugger-for-chrome
msj
4.11.4

vscode-react-native
msj
0.9.3

vetur
oct
0.21.0

vscode-docker
Pet
0.6.2

material-icon-theme
PKi
3.8.0

vscodeintellicode
Vis
1.1.6

vim
vsc
1.8.1

@HirenSJ I cannot reproduce. Can you please try to disable all your extensions and also remove any customizations you might have done to keybindings.json ?


scales width and height according to pixel density

I think this should fix #4, right?

Gracias!!!


3964 model enrichment

Description
Updated the model config prompt to extract parameter name, description, units, and distribution from the research paper
Here are couple results from the query
Result for the request with sir.json and sir.pdf as inputs (All parameter fields except id and value were striped out from the input sir.json)
{
  "conditions": {
    "China": "Data from January to June 2020, with a peak around mid-February.",
    "South Korea": "Data from February to June 2020, with effective control measures.",
    "India": "Data from March to June 2020, with multiple surge periods.",
    "Australia": "Data from January to June 2020, with a surge in early March.",
    "USA": "Data from January to June 2020, with multiple epicenters and surge periods.",
    "Texas": "Data from March to June 2020, with potential for a second wave.",
    "Italy": "Data from February to June 2020, with a clear peak and decline."
  },
  "parameters": [
    {
      "id": "beta",
      "name": "β",
      "value": {
        "China": 0.6,
        "South Korea": 0.4,
        "India": 0.7,
        "Australia": 0.5,
        "USA": 0.8,
        "Texas": 0.75,
        "Italy": 0.65
      },
      "description": "Infection rate",
      "units": {
        "expression": "1/(person*day)",
        "expression_mathml": "<apply><divide/><cn>1</cn><apply><times/><ci>person</ci><ci>day</ci></apply></apply>"
      },
      "distribution": {
        "type": "Uniform1",
        "parameters": {
          "minimum": 2.6e-7,
          "maximum": 2.8e-7
        }
      }
    },
    {
      "id": "gamma",
      "name": "γ",
      "value": {
        "China": 0.2,
        "South Korea": 0.1,
        "India": 0.3,
        "Australia": 0.15,
        "USA": 0.25,
        "Texas": 0.22,
        "Italy": 0.18
      },
      "description": "Recovery rate",
      "units": {
        "expression": "1/day",
        "expression_mathml": "<apply><divide/><cn>1</cn><ci>day</ci></apply>"
      },
      "distribution": {
        "type": "Uniform1",
        "parameters": {
          "minimum": 1.0e-7,
          "maximum": 1.2e-7
        }
      }
    }
  ],
  "initials": [
    {
      "target": "S",
      "expression": {
        "China": "1000",
        "South Korea": "1000",
        "India": "1000",
        "Australia": "1000",
        "USA": "1000",
        "Texas": "1000",
        "Italy": "1000"
      },
      "expression_mathml": "<cn>1000</cn>"
    },
    {
      "target": "I",
      "expression": {
        "China": "2",
        "South Korea": "2",
        "India": "2",
        "Australia": "2",
        "USA": "2",
        "Texas": "2",
        "Italy": "2"
      },
      "expression_mathml": "<cn>2</cn>"
    },
    {
      "target": "R",
      "expression": {
        "China": "0",
        "South Korea": "0",
        "India": "0",
        "Australia": "0",
        "USA": "0",
        "Texas": "0",
        "Italy": "0"
      },
      "expression_mathml": "<cn>0</cn>"
    }
  ]
}

Results for model and document from https://drive.google.com/drive/folders/1O7CSNfM0uvkVMz5BEpFcPUij_7kCA0RE
{
  "conditions": {
    "free_running": "Unperturbed model with a free-running rhythm of 24.6 hr",
    "entrainment": "Periodic external stimulation",
    "phase_response": "Single pulse perturbation"
  },
  "parameters": [
    {
      "id": "k",
      "value": {
        "free_running": 1,
        "entrainment": 1,
        "phase_response": 1
      },
      "description": "Scaling constant"
    },
    {
      "id": "n",
      "value": {
        "free_running": 2.0,
        "entrainment": 2.0,
        "phase_response": 2.0
      },
      "description": "Hill coefficient"
    },
    {
      "id": "rM",
      "value": {
        "free_running": 1.0,
        "entrainment": 1.0,
        "phase_response": 1.0
      },
      "description": "mRNA production rate constant",
      "units": {
        "expression": "1/hr",
        "expression_mathml": "<apply><divide/><cn>1</cn><ci>hr</ci></apply>"
      }
    },
    {
      "id": "m",
      "value": {
        "free_running": 3.0,
        "entrainment": 3.0,
        "phase_response": 3.0
      },
      "description": "Nonlinearity in protein synthesis cascade"
    },
    {
      "id": "parameter_0000009",
      "name": "τ",
      "value": {
        "free_running": 4.0,
        "entrainment": 4.0,
        "phase_response": 4.0
      },
      "description": "Duration of protein synthesis cascade",
      "units": {
        "expression": "hr",
        "expression_mathml": "<ci>hr</ci>"
      }
    },
    {
      "id": "rP",
      "value": {
        "free_running": 1.0,
        "entrainment": 1.0,
        "phase_response": 1.0
      },
      "description": "Protein production rate constant",
      "units": {
        "expression": "1/hr",
        "expression_mathml": "<apply><divide/><cn>1</cn><ci>hr</ci></apply>"
      }
    },
    {
      "id": "qM",
      "value": {
        "free_running": 0.21,
        "entrainment": 0.21,
        "phase_response": 0.21
      },
      "description": "mRNA degradation rate constant",
      "units": {
        "expression": "1/hr",
        "expression_mathml": "<apply><divide/><cn>1</cn><ci>hr</ci></apply>"
      }
    },
    {
      "id": "qP",
      "value": {
        "free_running": 0.21,
        "entrainment": 0.21,
        "phase_response": 0.21
      },
      "description": "Protein degradation rate constant",
      "units": {
        "expression": "1/hr",
        "expression_mathml": "<apply><divide/><cn>1</cn><ci>hr</ci></apply>"
      }
    },
    {
      "id": "compartment_0000004",
      "name": "cytoplasm",
      "value": {
        "free_running": "null",
        "entrainment": "null",
        "phase_response": "null"
      },
      "description": "Cytoplasm compartment"
    }
  ]
}

Resolves https://github.com/orgs/DARPA-ASKEM/projects/3/views/2?pane=issue&itemId=67491382

We probably need to tweak the setup/tooling so the json file is included as part of the package.

We probably need to tweak the setup/tooling so the json file is included as part of the package.

I updated the setup file and now it seems the json file is present inside the installed package in my local gollm-taskrunner docker container
# ls /usr/local/lib/python3.8/dist-packages/gollm/openai/prompts
condense.py  dataset_config.py  general_instruction.py  __init__.py  model_card.py  model_meta_compare.py  petrinet_config.py  probonto.json  __pycache__  react.py


Add BinderTransport example server app

Draft for example binder server app. It is working, but still need to be cleaned up

Ready for review

Let's try to merge this first so at least the client code become part of the CI


Fix Block Time

Changes
Average block time on Ethereum is 15 seconds, not 10 seconds.
Reviewers @HaoyangLiu

https://www.etherchain.org/charts/blockTime

Seems to be 13.5 seconds currently. Unfortunately, the Ethereum Ice Age bumps the block time if the core developers fall behind schedule.


Graphql bundle targeting (App Interface pr check early exit support)

In order for git partition sync to be included within app-interface PR check process, early exit should be supported. Context on how app-interface sets previous bundle value
These changes allow for app to query previous and current data bundles, compare the bundles for relevant attribute (codeComponents.GitlabSync) changes, and exit early if no changes are found. This check is triggered if optional env var PREVIOUS_BUNDLE_SHA is set
ticket: https://issues.redhat.com/browse/APPSRE-6544

@geoberle ah right, you raised this earlier but it just clicked what the implications are.
At the moment, the approach that seems most feasible would be to update the query file to look for this specific saas file and check for a change?

@geoberle ah right, you raised this earlier but it just clicked what the implications are.
At the moment, the approach that seems most feasible to me would be to update the query file to query saas files and then look for this specific saas file and check for a change?

many options are available to you. for q-r based integration the approach is the following

see the print_cmd func in select-integrations.py - it has a way to figure out if early_exit is applicable in the context a PR
if early_exit is applicable, it adds EARLY_EXIT=true to the CMD that is generated
runners.sh uses that information to provide an env var with the the comparison bundle SHA
an integration reacts to the presence of that env var (EARLY_EXIT_COMPARE_SHA) to run an early-exit check or not

you don't have to do it like this if it does not fit your integration. but if you do, you will get some things for free from the a-i hack scripts

@geoberle quick update on where things stand. I have refactored the PR check logic to utilize a different graphql query file.
The new query file also pulls in saas files/resourceTemplates. With this data, the pr check not only looks for changes on the relevant codeComponents.gitlabSyncs but also looks for the specific saas file (uses env var to specify name of saas file to look for) and check that the targets are identical between bundles.

^ clean up after rebasing metrics PR


Only run RuboCop on 2.4.0

Don't redundantly run RuboCop on every Ruby under the sun.
This will inadvertently fix the build as well. Woohoo! (Ok, not actually inadvertently)

@tarcieri we should run yardstick on latest ruby only too

Oh you already did that


remove second pack command registration

Hi @fubhy,
I was just with Alex and corrected this issue. You still 6 days earlier :)


More Smorg3 tools

This is everything that was listed as missing after attempting to run all the testable workflows.
Installation sequence for tool-installers

[x] Test using @galaxybot test this
[x] Inspect CI output for expected changes
[ ] Deploy using @galaxybot deploy this if test install was successful
[ ] Merge this PR

@galaxybot deploy this