AWS - Unable to tag S3 bucket and DynamboDB Table

Environment
~ $ terragrunt --version
terragrunt version v0.23.2
~ $ terraform --version
Terraform v0.12.24
~ $

Problem
I am trying to create S3 bucket and a DynamoDB table with tag. S3 Bucket and DyanamoDB table gets created but It looks like s3_bucket_tags and dynamodb_table_tags are ignored.
Code
remote_state {
  backend = "s3"

  config = {
    encrypt        = true
    bucket         = "terraform-state"
    key            = "${path_relative_to_include()}/terraform.tfstate"
    region         = "ap-southeast-2"
    dynamodb_table = "terraform-locks"

    s3_bucket_tags = {
      mytag       = "myvalue"
    }

    dynamodb_table_tags = {
      mytag       = "myvalue"
    }
  }

  generate = {
    path      = "backend.tf"
    if_exists = "overwrite_terragrunt"
  }
}

Could you share the log output from the first run? That is, the one that creates the bucket and table?

Hey @brikis98 ,
I am not sure the cause of the same but the same code has started working now, maybe there was a slight glitch with AWS.
Anyways, I am closing this issue now.


[Feature] Update to use fivetran_utils.extract_url_parameter instead of dbt_utils.get_url_parameter

Copied from fivetran/dbt_facebook_ads #37.
Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
An issue with dbt_utils.get_url_parameter was discovered in https://github.com/fivetran/dbt_linkedin_source/issues/55 for Databricks SQL. Macro fivetran_utils.extract_url_parameter was added to solve this issue for Databricks targets (see https://github.com/fivetran/dbt_fivetran_utils/pull/130 more info).
For this package, references to dbt_utils.get_url_parameter need to be updated to fivetran_utils.extract_url_parameter.

The latest release of this package has been updated to use the custom twitter_ads_source.extract_url_parameter() macro. This addresses the immediate issue raised in this feature request. However, in the next breaking change of this package we will want to remove the custom macro and swap the package to leverage the fivetran_utils.extract_url_parameter() macro.
This was not implemented originally as it could possibly have caused breaking changes, we wanted to address the issue in a timely manner while ensuring we did not break any transformation pipelines.


remove port-forward check

I just checked out the docs for Transmission and apparently they use an external site to check port connectivity. Seems like that's the only reliable way to do it.


[SQL Migration] New Migration Experience

This PR:
Adds New Changes in migration Experience for SKU recommendation page and Assessment results page. For the new mocks please refer here, https://www.figma.com/file/UaD2zc58Y2iGKxnqDFQY3Q/End-to-End-Design-GA---SQL-Migration-ADS?type=design&node-id=1707-95074&mode=design&t=WNeaKDnNeGOyDZK6-0
Screenshots:

On click of start data collection:

On click of import data collection:

On click of Next and instance row:

On click of database row:

On click of issue row:

please add screens for the new UI

please add screen shots for the new UI

done

I could not see the handling of Azure SAL MI recommendation and DB selection with DB count limit. Rest other looks good.

I could not see the handling of Azure SQL MI recommendation and DB selection with DB count limit. Rest other looks good.

This is handled. I hope you refer the below. Please look into assessmentsDetailsBody.ts
private async updateValuesOnSelectionAsync(migrationStateModel: MigrationStateModel) {
		const selectedDbsCount = this.selectedDbs()?.length;
		if (migrationStateModel._targetType === MigrationTargetType.SQLMI && selectedDbsCount > AZURE_SQL_MI_DB_COUNT_THRESHOLD) {
			this.wizard.nextButton.enabled = false;
			this.wizard.message = {
				level: azdata.window.MessageLevel.Error,
				text: constants.AZURE_SQL_MI_DB_COUNT_THRESHOLD_EXCEEDS_ERROR(AZURE_SQL_MI_DB_COUNT_THRESHOLD)
			};
		}


phpunit timeouts

Describe the bug
On the following setup:
 Set up job2s
Download action repository 'shivammathur/setup-php@master'
Current runner version: '2.160.2'
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v1'
Download action repository 'shivammathur/setup-php@master'

Everything was running as expected.
However on:
Current runner version: '2.163.1'
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v1'
Download action repository 'shivammathur/setup-php@master'

phpunit is timing out:
  [Symfony\Component\Process\Exception\ProcessTimedOutException]
  The process "vendor/bin/phpunit -vvv --coverage-html coverage" exceeded the timeout of 300 seconds.

To Reproduce
The actions file: https://github.com/nWidart/laravel-modules/blob/master/.github/workflows/php.yml
Expected behavior
The tests to pass, without timeouts. Locally they run.
Additional context
A failing build: https://github.com/nWidart/laravel-modules/commit/2e12c6149028b4e6bf4dd185330b129ea7fa6228/checks?check_suite_id=396488927
A successful build: https://github.com/nWidart/laravel-modules/commit/4151f9f42887524783385dce0f5bf8735b6b73a3/checks?check_suite_id=324493157
I'm not sure what could cause this. I've seen I could increase the timeout config but that wouldn't really solve the root cause.
Thank you,

Yes composer has a timeout limit of 300s.
You can disable it using any method given here
For example
- name: Run test suite
  run: |
    export COMPOSER_PROCESS_TIMEOUT=0
    composer run-script test-coverage

Thanks I did that, but tests still take ~15minutes to run vs 4 before, and 3 in travis.

The Xdebug version in your GitHub Action run is 2.8.1. It should be 2.9.0.
It seems that old ubuntu runner image is being loaded for your repository which had the old version.
Please add this step before the test step as a temporarily workaround.
- name: Upgrade Xdebug
  run: sudo DEBIAN_FRONTEND=noninteractive apt install php-xdebug

Tests would finish in around a minute then. Here is a test run

Oh ok weird. Added the step but it didn't install the latest version saying
php-xdebug is already the newest version (2.8.1+2.5.5-1+ubuntu18.04.1+deb.sury.org+1).

new build

When looking at the travis logs, it runs Xdebug 2.7.2, that run finishes in 2min52.

@nWidart
Submitted a PR with the fix nWidart/laravel-modules#901

Thank you very much! 2m 53s for that build!
Thanks again. 👌


CdsDropdown triggers an error related to the popup API

Describe the bug
When using cds-dropdown elements Chrome triggers the following error:

Found a 'popup' attribute. If you are testing the popup API, you must enable Experimental Web Platform Features. If not, note that custom attributes must start with 'data-': https://html.spec.whatwg.org/multipage/dom.html#custom-data-attribute. This usage will likely cause site breakage when the popup API ships: https://chromestatus.com/feature/5463833265045504.

The errors are not so bad when there are only one or two dropdowns. However when this is used with CdsGrid and the detail view, each row with a preview button triggers an error.
How to reproduce

Go to the docs

dropdown docs in storybook here
Grid demo: row detail expand
Grid demo row detail

open dev tools console
Observe the errors

Expected behavior
Chrome/edge will not throw errors when using the cds-dropdown element.
Versions
Clarity project:

[x] Clarity Core
[ ] Clarity Angular/UI

Clarity version:

[ ] v5.x
[x] v6.x

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, edge]
Version [Chrome 104]

Additional notes
This feature is slated to ship in Chrome v110.

Thanks @hippee-lee , I noticed this a week or so ago too, but didn't have a chance to investigate.

Ok digging into this some more. Open UI has proposed adding a new popup attribute: https://open-ui.org/components/popup.research.explainer#html-content-attribute which is what chromium is implementing. The attribute would go on the element that is actually the popup (instead of the anchor in our case), and it would only have specific values. So I think we're going to have to rename this attribute, which would be a breaking change. However, the dropdown component is still in beta, so I think it's okay - or we can keep both and log a deprecation warning if you use popup...
According to the documentation, it sounds like you can put it on any element that is the anchor element and it will apply aria attributes for you. This would make me learn towards calling it cds-popup. In practice, you can only put it on elements that have the reactive controller, so any clarity component that extends CdsButton elements. In that case something less specific, like popup-element could work. But if we're going to change popup to popup-element, then perhaps we should also change trigger to trigger-element for consistency...
https://github.com/vmware-clarity/core/blob/main/projects/core/src/internal/controllers/aria-popup-trigger.controller.ts
https://github.com/vmware-clarity/core/blob/main/projects/core/src/internal/controllers/aria-popup.controller.ts


bug: socket.UnixConnPair() may return error upon successfully creating pairs

Cause
In e8cc8e6bdeced3115617d990f33b551714c1db66 we patched the unsafe defer as suggested by deepsource and therefore we are returning with the error returned by .Close() in a few functions.
Example
(net.Listener).Close() returns a non-crashing error without impacting the program safeness/liveness.
https://github.com/gaukas/water/actions/runs/6473922694/attempts/1
Suggested Fix

No fix will be applied on water/socket library (otherwise it will be essentially unsafe again).
In water when calling socket.UnixConnPair(), caller should proceed if returned error pair is not nil even when the error is non-nil.

Confirmed irrelevance, closing.


Using Component SlideCurrentNo in Layout Causing Error

Describe the bug
After upgrading to 0.35.4, using component slideCurrentNo in customized layouts causes error. Here is the error message:

However, this problem does not occur when using slidev 0.34.3.
To Reproduce
Steps to reproduce the behavior:

Create a new project, and insert <SlideCurrentNo />  to any slide.
yarn dev

Desktop (please complete the following information):

OS: Linux
Browser: Chromium
Slidev version: 0.35.4
Package manager: yarn

Thanks for time and effort.

Same for me. Any solution?

Upgrading to the latest version 0.35.5 solves this problem.


boto3 1.24.2

Changelog: https://github.com/boto/boto3/blob/1.24.2/CHANGELOG.rst
License: https://github.com/boto/boto3/blob/1.24.2/LICENSE
Upstream setup file: https://github.com/boto/boto3/blob/1.24.2/setup.py
Actions:

Remove noarch python
Skip py<37
Fix python in run
Update pinning for s3transfer

conda.exceptions.ResolvePackageNotFound:

  - s3transfer[version='>=0.6.0,<0.7.0']
  - botocore[version='>=1.27.2,<1.28.0']

Waiting for:

botocore 1.27.2 https://github.com/AnacondaRecipes/botocore-feedstock/pull/50
s3transfer 0.6.0 https://github.com/AnacondaRecipes/s3transfer-feedstock/pull/5

Added botocore 1.27.2 and s3transfer 0.6.0


startColumn must be greater than or equal to 1 message should report offset for error

This run generated a not particularly helpful message:
https://github.com/check-spelling/gnu-gnulib/actions/runs/5151289440/jobs/9276309000#step:2:15096

Uploading results
  Processing sarif files: ["/tmp/tmp.Ba0HZNhBK7.sarif.json"]
Error details: instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn must be greater than or equal to 1
  {
    "path": [
      "runs",
      0,
      "results",
      0,
      "locations",
      0,
      "physicalLocation",
      "region",
      "startColumn"
    ],
    "property": "instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn",
    "message": "must be greater than or equal to 1",
    "schema": {
      "description": "The column number of the first character in the region.",
      "type": "integer",
      "minimum": 1
    },
    "instance": 0,
    "name": "minimum",
    "argument": 1,
    "stack": "instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn must be greater than or equal to 1"
  }
Error details: instance.runs[0].results[0].locations[0].physicalLocation.region.endColumn must be greater than or equal to 1
  {
    "path": [
      "runs",
      0,
      "results",
      0,
      "locations",
      0,
      "physicalLocation",
      "region",
      "endColumn"
    ],
    "property": "instance.runs[0].results[0].locations[0].physicalLocation.region.endColumn",
    "message": "must be greater than or equal to 1",
    "schema": {
      "description": "The column number of the character following the end of the region.",
      "type": "integer",
      "minimum": 1
    },
    "instance": 0,
    "name": "minimum",
    "argument": 1,
    "stack": "instance.runs[0].results[0].locations[0].physicalLocation.region.endColumn must be greater than or equal to 1"
  }
Error: Unable to upload "/tmp/tmp.Ba0HZNhBK7.sarif.json" as it is not valid SARIF:
- instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn must be greater than or equal to 1
- instance.runs[0].results[0].locations[0].physicalLocation.region.endColumn must be greater than or equal to 1
Error: Unable to upload "/tmp/tmp.Ba0HZNhBK7.sarif.json" as it is not valid SARIF:
- instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn must be greater than or equal to 1
- instance.runs[0].results[0].locations[0].physicalLocation.region.endColumn must be greater than or equal to 1
    at validateSarifFileSchema (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:201:15)
    at uploadFiles (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:251:9)
    at Object.uploadFromActions (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:137:18)
    at async run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:48:30)
    at async runWrapper (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:70:9)

The json is available here: https://github.com/check-spelling/gnu-gnulib/suites/13318061458/artifacts/727508547
Ideally when reporting issues, at a minimum, a line / character offset should be reported, and unless there's a risk of binary output breaking things, a substring showing the offending content in context would be appreciated. (I'm sure I can find the item(s), but I shouldn't have to search through an 850k file to find the problem.
Fwiw, here's the relevant snippet, and it'd be really much nicer if I didn't have to try to search for it (especially because I can't actually search for startColumn:0, I have to remember to search for startColumn":0 -- and if I'm less familiar w/ the json -- which anyone other than me would be -- then I wouldn't know if I need to consider optional whitespace..).
[{"ruleIndex":0,"ruleId":"bad-regex","message":{"text":"Bad regex. \\(bad-regex\\)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/actions/spelling/patterns.txt","uriBaseId":"%SRCROOT%"},"region":{"startLine":89,"startColumn":0,"endColumn":0}}}]}]

In don't think we can easily fix this as java script json validation libraries run on parsed json objects which don't have metadata,.
You can use jq and the path (e.g. instance.runs[0].results[0].locations[0].physicalLocation.region.startColumn) to get the problematic element (although you probabaly want to shrink the path for context).
There are also online tools for sarif validation that can show you the eact location of the error.

Perhaps run one of those online tools for validating in the event that an error is thrown? That'd save everybody else the trouble of finding one that works and in case its rules are different than GitHub's rules would make it easier to harmonize the different interpretations of the standards.
Thanks


Can I get metrics like CPU usage ,network traffic,the state of container:running or stopped?

I am runing a docker service which has nearly 2K containers for simulation purpose and I would like to monitor if the container stops and restarts inside the service or send an alert if container has stopped..

It is not clear what you are asking. Yes, the exporter exposes all the metrics you listed in your question.
However, the exporter is not really optimized for situations involving 2000 containers. The Docker APIs it uses are quite low-performance and exhibit lots of latency and high "loading times". I estimate your experience with 2000 container scenarios would not be satisfactory.
In theory, there are some adjustments that can be made to make the exporter more suitable for this scenario but at the moment they are not on the roadmap (though if sufficiently important to you, perhaps sponsoring feature development on this could be considered).


fix AMD APP SDK download link

This is to fix issue #814 (the AMD APP SDK download link changed)

Thanks very much !


Optionally support treating $ref like JSON Schema

We use JSON Schema for contract testing, and want to reuse those JSON Schema models for OpenAPI documentation. Seeing as OpenAPI has imperfect (subset & superset) support for JSON Schema, we have to convert one to the other at runtime.
For now it is using an optional switch, which is a little annoying to do every time, but when #14 is done that'll just go in the config file.
Example

Coverage increased (+0.1%) to 65.106% when pulling 2b31416b94f81aeedcd2e58ac31c7d4500382935 on feature/json-schema into e2f56895d3bfab468d771b0a4fea4bdde6cdbfa8 on master.

I've trimmed this PR down a little for easier reviewing. The errors stuff has been moved out to #47.


VisionOS simulators?

Any plans to support VisionOS's simulator and perhaps physical device?

Yeah, I would like to add visionOS support, but I haven't yet tried to build and run any projects with visionOS using the xcodebuild CLI tool (the extension uses it to build the project). From my understanding, visionOS has similarities with iOS, so if my assumption is correct and xcodebuild CLI supports it, then adding visionOS support shouldn't be a problem

Let me know! I was looking for it right now, and saw the // TODO for xrOS; happy to test for the visionOS simulator! Something alone the lines:
xcodebuild build -scheme MyScheme -destination platform=visionOS Simulator,name=Apple Vision Pro

Hi! I've added basic visionOS simulator support in version 0.1.39.
For the physical visionOS device support, I need to add watchOS first, and then later apply the same changes to for visionOS


duplicity: 0.7.17 -> 0.7.18

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/duplicity/versions.
meta.description for duplicity is: '"Encrypted bandwidth-efficient backup using the rsync algorithm"'.

Checks done (click to expand)

built on NixOS
/nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/duplicity passed the binary check.
/nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/rdiffdir passed the binary check.
Warning: no invocation of /nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/.duplicity-wrapped had a zero exit code or showed the expected version
/nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/..rdiffdir-wrapped-wrapped passed the binary check.
/nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/.rdiffdir-wrapped passed the binary check.
Warning: no invocation of /nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/...duplicity-wrapped-wrapped-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18/bin/..duplicity-wrapped-wrapped had a zero exit code or showed the expected version
4 of 7 passed binary check by having a zero exit code.
4 of 7 passed binary check by having the new version present in output.
found 0.7.18 with grep in /nix/store/ym0q1zrpin72kj52hj8ijvspx1kx029n-duplicity-0.7.18
directory tree listing: https://gist.github.com/57df561df60bc0cb3440c951edf12b36
du listing: https://gist.github.com/bbecc938ef180096b220ad45e497e051

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout d01c4fe3fc2f353334e3af283a150f6f066131db && nix-shell --pure -I nixpkgs=. -p duplicity

cc @peti for testing.

Success on x86_64-linux (full log)
Attempted: duplicity
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18
shrinking /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/lib/python2.7/site-packages/duplicity/_librsync.so
gzipping man pages under /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/lib  /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/bin
patching script interpreter paths in /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18
checking for references to /build in /nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18...
wrapping `/nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/bin/.rdiffdir-wrapped'...
wrapping `/nix/store/47cc89cia4wcwa20w60016y421b2mghc-duplicity-0.7.18/bin/..duplicity-wrapped-wrapped'...

Success on x86_64-darwin (full log)
Attempted: duplicity
Partial log (click to expand)
wrapping `/nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/bin/rdiffdir'...
glibPreFixupPhase
post-installation fixup
gzipping man pages under /nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/share/man/
strip is /nix/store/vvbmqsh5ikrxkiwj71dwfbzcwf4bfav8-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/lib  /nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/bin
patching script interpreter paths in /nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18
wrapping `/nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/bin/..duplicity-wrapped-wrapped'...
wrapping `/nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18/bin/.rdiffdir-wrapped'...
/nix/store/d62mdb1s366cp8shss7w1528vf4idifv-duplicity-0.7.18

Success on aarch64-linux (full log)
Attempted: duplicity
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18
shrinking /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/lib/python2.7/site-packages/duplicity/_librsync.so
gzipping man pages under /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/lib  /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/bin
patching script interpreter paths in /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18
checking for references to /build in /nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18...
wrapping `/nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/bin/.rdiffdir-wrapped'...
wrapping `/nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18/bin/..duplicity-wrapped-wrapped'...
/nix/store/y7i3c5x19spxycpn1nwdmcwkcdwkcijd-duplicity-0.7.18


Improve Dataset's string representation

Currently, Dataset.__repr__ outputs a dataset's column names and the number of rows. We could improve it by printing its features and the first few rows.
We should also implement _repr_html_ to have a rich HTML representation in notebooks/Streamlit.

I want to take a shot at this if possible

Yes, feel free to work on this.
You can check the PyArrow Table __repr__  and Polars DataFrame __repr__/_repr_html_ implementations for some pointers/ideas.

@mariosasko  to properly make the rerp_html,  the IPython package is required for the HTML rendering but it does not exist , i want to ask about the proper way to add it to the dependencies

Hi @mariosasko, is anyone working on this? I can take a shot at this.

@mariosasko are there any similar issues that I could work on? I see this has been already solved.


Remove already applied patches

Hi @avri-schneider thanks for the contribution. These files need to be applied any time go generate ./... is run on a new computer so they should be kept. We dont actually commit the changes to the submodule.

@BruceMacD but go generate ./... pulls the latest code from the submodule. The submodule already has the patches applied, so trying to apply them again will cause the described error.

We dont actually commit the changes to the submodule

https://github.com/ggerganov/llama.cpp/commit/c1ac54b77aaba10d029084d152be786102010eb2

@jmorganca could you please take another look at this - I beleive that @BruceMacD is mistaken. You may want to try running docker build on a fresh clone of your repo and see it fails, then do the same on my fork.


Updates from Arpad.

Description

Checklist

[ ] This pull request was tested on both of:

[ ] PowerShell 5.1 (Windows)
[ ] PowerShell 6.x
[ ] PowerShell 7.x (Latest PowerShell)

[ ] Scripts do not contain static passwords or other secret tokens.
[ ] All Azure resource identifiers which must be universally unique are guaranteed to be so.

Testing information

Platform and PowerShell version: [pscustomobject]$PSVersionTable | Select-Object OS, BuildVersion, PSVersion
Az version: (Get-InstalledModule -Name Az).Version

#sign-off

#sign-off

@mikefrobbins Can you please approve and merge these changes?

@mikefrobbins Can you please approve and merge these changes?


ignore application config in local copy

I think better to add these ignores in project level as well. Someone else may not be able to add them in their global ignore because they may not want to ignore in their other projects.

:+1:


FR: UWP4Win

hi, a port over to UWP for Win would be great as UWP-Apps can use Backgroundaudio which works in connected standby (would be great for notebooks)

Currently this is a limitation of the framework electron which thisbis
built on.
On Apr 23, 2016 2:27 PM, "MaxRink"<EMAIL_ADDRESS>wrote:

hi, a port over to UWP for Win would be great as UWP-Apps can use
Backgroundaudio which works in connected standby (would be great for
notebooks)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/982

http://electron.atom.io/docs/tutorial/windows-store-guide/

tambien me interesaria ver una version para windows 10 store :3


Adding MTR

@ileppe @mathieuboudreau there is a user who would like to do MTR analysis using qMRLab.
This should be quite straightforward. Does anyone have data and code to share with me?

https://github.com/neuropoly/spinalcordtoolbox/blob/master/scripts/sct_compute_mtr.py#L84

@jcohenadad thank you so much!

@agahkarakuzu as for data – I see that you're cc'd on an email from Nikola to me on 06/08/2017, where he asked for my permission to use both MTsat and MTR images that were acquired on my brain for a jupyter notebook/binder to be used for grant applications and etc.
If any of you still have that data, I give you consent to them. I know @ileppe was the one who originally acquired it for our g-ratio paper, if @nstikov doesn't still have it.

@mathieuboudreau thank you for the consent, I will use that one. I am done with new GUI functions, which will facilitate creating models with lots of interdependent options such as qsm_sb. I am branching out from master to create `mt_ratio' model (hope this name is OK).

@agahkarakuzu Cools thanks for taking care of this!
Yes that name is fine.

Simply "mtr" would also be fine

Just wanted to make it compatible with 'mt_sat', but not much similar, 'mt_rat' is awkward

@agahkarakuzu Haha definitely not mt_rat lol
I wouldn't worry about compatibility with other names moreso than with the nomenclature for the field in general. MTR is used more often, but MT ratio is also common. mt_sat is written that way because the authors of that paper simply to decided to call their parameter MTsat instead of MTS or something like that, no other special reason as far as I can see.

I also have a Matlab user interested in MT :rat: so this is very timely! Thanks for adding this

@ravenep not at all! I will do a quick fix for optional input handling. Apparently, it fails if a mask is not provided.

I thought so too. It was either @ileppe or @tanguyduval who designed the optional input functionality, so they might have an insight.

Now that I've checked some of the implementations that takes optional inputs. Each one has case specific tweaks to ensure optional input independent functionality. I am branching out mt_ratio_hotfix  to solve this issue.


Fix non-existent directory errors in mnist example

Auto create data, model, and log directories if they do not exist.
Fixes #143

Looks good. @xyhuang, what was the use case that triggered this fix? I thought the PR long time that introduced this and this lines fixed the non-existing directory issue.
Is this for K8S runner?

@sergey-serebryakov yeah i think k8s runner is not able to create the directories inside a k8s volume

@xyhuang So, we just removed the examples folder. I'll move this PR to https://github.com/mlperf/mlcube_examples/mnist that needs to be re-designed a bit - it does not contain the source and is supposed to pull docker image from docker hub.

ok i will close this for now.


cmd/compile: shouldn't use duffcopy on plan9/amd64

Since commit commit a6fb2aede7 (merge of dev.ssa branch), programs built by the Go compiler don't work anymore on plan9/amd64.
go_bootstrap 477229: suicide: sys: floating point in note handler pc=0x2c717c

See http://build.golang.org/log/43797a52b5ed323d15f7736d8cc66ee154493a99
go_bootstrap is crashing in runtime·duffcopy, because it uses MOVUPS, while floating point instructions are not allowed in the Plan 9 note handler.

I proposed that we disable duffzero and duffcopy only for the runtime
package on plan 9. User packages are unaffected.

I've just seen the discussion on golang-dev. Your proposed solution seems good to me.

I propose CL 20171 to disable the use of duffcopy and duffzero entirely on Plan 9, for now.

Should we introduce ssa.Config. NoDuffDevice field and use that instead of
isPlan9 package level variable?

Can this be closed @0intro?


composer: initial implementation

Related issues: #100  #120

The smoke test is not passing yet, so there is slightly more work to be done, but opening this up for review in case anyone wanted to take a look.


Project commits not in npm?

Npm links this project to lpad, but it seems that the last couple commits are not published to npm? Is this intentional (new dependency on split-lines)?

Think @sindresorhus forgot about this. It should be a major release though as we ES2015ified the code and dropped support for older Node versions.

No, it's intentional. I only do releases when there's an actual benefit for users. The changes after the last release makes no difference for the user. It's just refactoring with no performance improvement.


Made start.stub more Laravel-like.

Flag comments always have three lines, with every line being three characters shorter than the one before it.

Thank you!


[BEAM-7223] Add ValidatesRunner for Flink for python 3.5 - 3.6 - 3.7

This is is part of a series of PRs with goal to make Apache Beam PY3 compatible. The proposal with the outlined approach has been documented here: https://s.apache.org/beam-python-3.
This PR adds ValidatesRunner tests for Flink, as well as mirroring the file structure in test-suites/dataflow

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

R: @tvalentyn

Run Python PreCommit

Run Python PreCommit

retest this please

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit

Run Python_PVR_Flink PreCommit

@tvalentyn Python_PVR_Flink is stuck on a task on Jenkins. How can I stop this task / debug this?

Run Python_PVR_Flink PreCommit

@tvalentyn PTAL. Some notes:

I tested this locally, and when I ran my tests using ./gradlew :sdks:python:flinkValidatesRunner --no-parallel the test passed fine. I think the flinkValidatesRunner test overloaded Jenkins memory, which is why the tests gave weird logs. I implemented a code block to force the tests to run sequentially, so now the tests pass.
I stuck to Mark's proposed Gradle structure, and I used angoenka's suggestion to collaps the code, but to make that work I had to change portableWordCount to also fit into that.
the tests take a long time to finish. Maybe we should not run these tests on 3.5-3.6?

Run Python PostCommit


Partial Tab Completion - Current Directory

Hello, Feature Enhancement with ehh 20 lines of code or less.
Tab completion for the currently directory.
Upon issuing the cd command execute a ls -a command a populate a var currentDirListing = [] array with entire folder contents. Capture tab key and cycle through the files.
Rinse and repeat.
If I finish my college test prior to hearing back. I'll submit a PR

Sorry I've had a busy week! It's on my to-do list unless you want to submit a PR


07/10/2018 04:07 : Create Pull Request for branch prTesting_2018071004 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ricochet: 1.1.2 -> 1.1.4

Motivation for this change
Try the latest version
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@np can you check the Travis result? It looks like pythonOlder hasn't been imported in the derivation context.


Warn: Failed to get best common ancestor commit despite not configuring "UseMostCommonAncestor"

Describe the bug
I am seeing the following warning: Failed to get best common ancestor commit between source branch: <FEATURE-BRANCH> and target branch: master, defaulting to target branch commit. Error: reference not found
I can see this was introduced last week in #763, which states:

To use this option you can:

Specify it as an env var: JF_USE_MOST_COMMON_ANCESTOR_AS_TARGET
Specify it in Frogbot config: useMostCommonAncestorAsTarget (at Git section)

I am not seeing JF_USE_MOST_COMMON_ANCESTOR_AS_TARGET nor using useMostCommonAncestorAsTarget.
Current behavior
In my Frogbot workflow I am seeing:
2024-11-06T23:25:54.9660118Z 23:25:54 [Info] <REPO> repository downloaded successfully. Starting with repository extraction...
2024-11-06T23:25:54.9664650Z 23:25:54 [Info] Extracted repository successfully
2024-11-06T23:25:55.0776344Z 23:25:55 [Debug] Repository download completed
2024-11-06T23:25:55.0777605Z 23:25:55 [Debug] Using most common ancestor commit as target branch commit
2024-11-06T23:25:55.2589102Z 23:25:55 [Debug] Setting timeout for go-git to 120 seconds ...
2024-11-06T23:25:55.2593431Z 23:25:55 [Warn] Failed to get best common ancestor commit between source branch: another_update and target branch: master, defaulting to target branch commit. Error: reference not found
2024-11-06T23:25:55.2595479Z 23:25:55 [Info] Scanning target branch...
2024-11-06T23:25:55.2596430Z 23:25:55 [Debug] Sending HTTP GET request to: https://<COMPANY>.jfrog.io/xray/api/v1/system/version

I do not have a frogbot-config.yml for this repo and the Frogbot step looks like:
- uses: jfrog/frogbot@v2
  with:
    oidc-provider-name: github-dev
    oidc-audience: jfrog-github-dev
  env:
    JF_DEPS_REPO: pypi-virtual
    JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    JF_MIN_SEVERITY: Low
    JF_URL: "https://<COMPANY>.jfrog.io"
    JFROG_CLI_LOG_LEVEL: DEBUG

Reproduction steps
No response
Expected behavior
The original checkout logic to behave.
JFrog Frogbot version
Frogbot version: 2.23.2
Package manager info
Python 3.11 (requirements.txt)
Git provider
GitHub
JFrog Frogbot configuration yaml file
N/A
Operating system type and version
Ubuntu 22
JFrog Xray version
No response

@ismaelhamed one option is to use v2.23.1 in the meantime.
Has anyone at JFrog taken a look at this?

Hello @thomasheslinbmll and @ismaelhamed,
Thank you for using Frogbot and for bringing this issue to our attention. We truly appreciate your feedback.
Our team is actively working on a solution, and we will keep you updated as soon as a fix is available.
Thank you for your patience!

Hi @thomasheslinbmll and @ismaelhamed,
I wanted to let you know that the bug you reported has been resolved in the latest version (v2.23.8) of Frogbot. Please let us know if you encounter any further issues😊
Thank you!


version 0.7.0 does not support java8. how should I solve it？

i can't compile project because：
[ERROR] class file has the wrong version 55.0, should be 52.0
[ERROR] Please delete the file or make sure it is in the correct classpath subdirectory.

Yes unfortunately there are not soo many solutions. For 0.8.0 we will provide backward compatibility if possible. You can compile the project with JDK 8 and then use your artefacts in the mean time..

Thanks for your response.  Our prod enveriment is jre 8, It's hard to switch to JDK 11. Could you offer me a snapshot version with java 8? I am in an emergency.

@salaboy Thanks for your response. Our prod enveriment is jre 8, It's hard to switch to JDK 11. Could you offer me a snapshot version with java 8? I am in an emergency.

@Jungle666 you can create your own snapshots right? what would be the difference between our providing us those snapshots and you creating them by building the projects?>

@salaboy I was trying to build snapshots，but failed. I dont know what's going on. It seems like maven error.  could you help me solve it?
error info is :
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (java-compile) on project spring-zeebe-util: Fatal error compiling: Invalid tag: --release -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :spring-zeebe-util

To build it with jdk 8 you have to set the source and target like this:
  <build>
    <defaultGoal>clean install</defaultGoal>
    <pluginManagement>
      <plugins>
        <!-- Disable adding license header -->
        <plugin>
          <groupId>com.mycila</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <configuration>
          <source>1.8</source>
          <target>1.8</target>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>kotlin-maven-plugin</artifactId>
          <groupId>org.jetbrains.kotlin</groupId>
          <version>${kotlin.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>

Instead of using the release configuration
  <build>
    <defaultGoal>clean install</defaultGoal>
    <pluginManagement>
      <plugins>
        <!-- Disable adding license header -->
        <plugin>
          <groupId>com.mycila</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <configuration>
            <release>${java.version}</release>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>kotlin-maven-plugin</artifactId>
          <groupId>org.jetbrains.kotlin</groupId>
          <version>${kotlin.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>

More details here https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

@salaboy    zeebe-broker has same problem as spring-zeebe， Zeebe-broker 0.21.1 was build with java 11 , is that mean I should do the same thing to Zeebe-broker ?

@salaboy same problem.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (java-compile) on project spring-zeebe-broker: Compilation failure
[ERROR] /E:/obs/zeebe/spring-zeebe-master/broker/spring-zeebe-broker/src/main/java/io/zeebe/spring/broker/ZeebeBrokerObjectFactory.java:[3,23] cannot access io.zeebe.broker.Broker
[ERROR] error class file: .m2\repository\io\zeebe\zeebe-broker\0.21.1\zeebe-broker-0.21.1.jar(io/zeebe/broker/Broker.class)
[ERROR] class file has the wrong version 55.0, should be 52.0
[ERROR] Please delete the file or make sure it is in the correct classpath subdirectory.

Unfortunately not, Zeebe core strongly depend on jdk11 meaning that only client modules will provide backward compatibility to jdk8 . If you want to create the other artifacts you can comment the Zeebe broker spring integration

@salaboy OK，got it. Thanks.

@salaboy I got the answer from zeebe-broker, It is expected since the broker only supports java 11+.
Is there no way to support java 8?
https://github.com/zeebe-io/zeebe/issues/3369

@salaboy I'm  using java 11,but failed agin,
2019-11-15 09:40:18|main|AnnotationConfigServletWebServerApplicationContext|Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'subscriptionBuilderPostProcessor' defined in io.zeebe.spring.client.config.processor.PostProcessorConfiguration: Unsatisfied dependency expressed through method 'subscriptionBuilderPostProcessor' parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'io.zeebe.spring.client.config.ZeebeClientSpringConfiguration': Unsatisfied dependency expressed through field 'zeebeClientBuilder'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.zeebe.client.ZeebeClientBuilder' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2019-11-15 09:40:18|main|ConditionEvaluationReportLoggingListener|
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-15 09:40:18|main|LoggingFailureAnalysisReporter|

APPLICATION FAILED TO START

Description:
Field zeebeClientBuilder in io.zeebe.spring.client.config.ZeebeClientSpringConfiguration required a bean of type 'io.zeebe.client.ZeebeClientBuilder' that could not be found.
Action:
Consider defining a bean of type 'io.zeebe.client.ZeebeClientBuilder' in your configuration.

@Jungle666 sorry for the lack of responses here.. I was traveling ..
What kind of configuration did you tried to get that error? I am running with JDK 11 without any problem.. and just to answer your question.. for Zeebe Core there is no support for JDK 8 .. we can only provide support for JDK 8 in client libraries..

@Jungle666
Do you compile with jdk 8 successfully ?

I just switched Java version back to 8 for Spring Zeebe. As we removed the broker part that should cause no problems

@Jungle666
Do you compile with jdk 8 successfully ?

Use jdk11 finnally.


Tooltip not removed when editing an analysis

Context

Steps to Reproduce

Place the mouse on top of an analysis
Click on it

Current Result
The tooltip stays there floating in the air
Expected result
The tooltip is removed

I saw this behaviour when adding a new geometry too.
It happens when adding a new line, or a new polygon. But it doesn't fail when adding a new point, surprisingly.

Thank you! Let's fix it in this PR too :)

Working like a charm! ✨  To deploy!

In production 🚀


updated clementine (1.3.1)

You’re using an old version of cask-repair.

@vitorgalvao oops, just did today brew update

It’s not a big deal, but it is necessary to update.
The reason I know your version is old is that the PR template wasn’t submitted (which newer versions do).

brew reinstall cask-repair does the trick


Make Wario move 1.5 pixels per second

It is possible to achieve, there's a method, it just needs some time and energy to figure out.

Doesn't work? I forgot some selfs in there...


[PERF] CI should not download all pipeline artifacts

:turtle: Performance Issue
Current behavior

CI downloads all the pipeline artifacts instead of minimatch filtering
Expected behavior

CI only downloads the files that are needed

Closed by #2420 #2419 #2418


@variable implementation needs improved documentation

I think there exists some confusion / mental stumbling blocks around the fundamental idea of @variables (and mix-ins, for that matter) in CSS frameworks such as LESS.  One, and I'm sure many do..  think of @variables as runtime parameters..  For example….
< OK.. I have a 2-column fluid layout.  There is a new @sidebarWidth variable.  That's something I could probably change on this page's stylesheet.
No.  This requires a recompile.  Why?  Not sure.  Doesn't seem very variable to me.
This mechanism is glossed over in both the Bootstrap docs AND the LESS docs, and IMO could simply use some expanded explanation / direction as to how and why to use these features effectively.
This is sort of a "big-picture" "issue"…  but take someone like me… I "get it" and i still struggle with how to implement these language abstractions to achieve practical results..  Lowering the bar of entry for these useful constructs is an exercise in empathy - in that once you get it, you get it… and if you don't - you really don't.   Bootstrap is all about making this stuff useable, and I just think @variables and mix-ins need a more fundamental explanation / examples to promote adoption.

We're adding more about using LESS in Bootstrap with 2.0-wip. Until then, it's up to developers to learn how to use LESS and SASS's features before using that aspect of our library. If you're not familiar with it or don't want to use it, use the compiled files instead.


Is the project dead?

The latest commit as of writing this is from February 2021, while it is now June 2023. Is the project dead? What is the current recommended alternative if so?

I was about to use the project and I wondered the same. @syrusakbary care to weigh in please?

@saghul I ended up just using https://github.com/WebAssembly/wasi-sdk directly. It wasn't very difficult really. Some more flags to pass to cmake mostly in my case. Something along the lines of the following should work:
$ mkdir build && cd build
$ cmake -DWASI=1 -DWASI_SDK_PREFIX=/opt/wasi-sdk -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake -DCMAKE_BUILD_TYPE=Release -GNinja ..

Your mileage may vary, especially with other build systems.


Route path - drawing issue

Hello, how to fix this problem with displaying the route path?
I added a route, when the map is zoomed out, the route is displayed fine, but when the map is zoomed in, I have problems displaying the path.
I tried adding a simplify parameter in the add Path method, but nothing changed.
      state.addPath(
            id = "route",
            color = color,
            zIndex = Float.MAX_VALUE - 3,
        ) {
            addPoints(coordinates)
        }

Thanks.

It looks like the route is made of a series of paths, because the route isn't continuous. Perhaps some addPath calls are missing.
Can you reproduce the issue in a fork of the demo app?

It looks like the route is made of a series of paths, because the route isn't continuous. Perhaps some addPath calls are missing.
Can you reproduce the issue in a fork of the demo app?

I use OSM for tiles.
I added paths in your demo project in OsmVM.
class OsmVM : ScreenModel {

    val MAP_X_0 = -2.0037508342789248E7

    private val tileStreamProvider = makeOsmTileStreamProvider()

    private val maxLevel = 19
    private val minLevel = 10

    private val mapSize = mapSizeAtLevel(maxLevel, tileSize = 256)
    private val coordinates: MutableList<Pair<Double, Double>> = mutableListOf()

    private val route = arrayListOf<Pair<Double, Double>>()

    val state = MapState(levelCount = maxLevel + 1, mapSize, mapSize, workerCount = 16) {
        minimumScaleMode(Forced((1 / 2.0.pow(maxLevel - minLevel)).toFloat()))
    }.apply {
        addLayer(tileStreamProvider)
        scale = 0f  // to zoom out initially
    }

    init {
        screenModelScope.launch {
            setRoute()
        }
    }

    private suspend fun setRoute() {
        readCoordinatesArrayFromFile()
        route.forEach { coordinate ->
            val latitude = coordinate.first
            val longitude = coordinate.second
            val (X, Y) = doProjection(latitude, longitude)
            val x = normalize(X, min = MAP_X_0, max = -MAP_X_0)
            val y = normalize(Y, min = -MAP_X_0, max = MAP_X_0)
            coordinates.add(Pair(x, y))
        }

        state.addPath(
            id = "route",
            color = Color.Red
        ) {
            addPoints(coordinates)
        }
        state.scrollTo(coordinates[0].first, coordinates[0].second)
    }

    @OptIn(ExperimentalResourceApi::class)
    private suspend fun readCoordinatesArrayFromFile() {
        val lines = Res.readBytes("files/tracks/coordinates.txt").decodeToString().lineSequence()
        for (line in lines) {
            val values = line.split(',').map(String::toDouble)
            route.add(Pair(values[0], values[1]))
        }
    }

    private fun doProjection(latitude: Double, longitude: Double): Pair<Double, Double> {
        if (abs(latitude) > 90 || abs(longitude) > 180) {
            return Pair(0.0, 0.0)
        }
        val num = longitude * 0.017453292519943295 // 2*pi / 360
        val x = 6378137.0 * num
        val a = latitude * 0.017453292519943295
        val y = 3189068.5 * ln((1.0 + sin(a)) / (1.0 - sin(a)))

        return Pair(x, y)
    }

    private fun normalize(t: Double, min: Double, max: Double): Double {
        return (t - min) / (max - min)
    }

}

I have an array of coordinates, like a route (file attached) - coordinates.txt
P.s - this is a real bike route
I convert the coordinates to points and get an array of points.
Then I pass these points to the route construction method.
Result:

Also, video attached.
https://github.com/user-attachments/assets/83391632-b370-444f-89b7-ce68f84b24fa

Oh you're using MapComposeMP. You posted the issue on the Android native version, which is probably not affected by this issue. Nevertheless I'll have a look.

It looks like there is a precision issue. When the map size is too big, converting coordinates from Double to Float (as required by the underlying drawing api) causes a precision loss.
This can be mitigated by reducing the map size.
With using:
private val maxLevel = 16
[...]
// notice the max scale change
val state = MapState(levelCount = maxLevel + 1, mapSize, mapSize, workerCount = 16) {
        minimumScaleMode(Forced((1 / 2.0.pow(maxLevel - minLevel)).toFloat()))
        maxScale(4f)
    }.apply {
        addLayer(tileStreamProvider)
        scale = 0f  // to zoom out initially
    }
[...]

The are no more holes in the route when zooming in. FWIW, I tested on an android device.


Feature Request: Import component information to routing module when --routing flag is passed

When using --routing while generating a module the routing module is missing the component information.
Another thought is to automatically set a default empty route in the __name__-routing.module.ts file.
Example
Running ng g m --routing foo will generate this routing file:

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { FooComponent } from './foo.component';
const routes: Routes = [
  {
    path: '',
    component: FooComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class FooRoutingModule { }

There was a discussion a while ago whether using the --routing flag would create a component at all. Initially I was against this idea, but it has definitely grown on me and I am leaning that way of removing the component generation from module generation, even though it's now only when you add a routing module.
The reason is control, there are no options to control how the component is generated... name, inline template/style, flat are all unavailable and in my opinion should be a separate command run by the user.
A new issue was created to monitor that discussion #4209

Module generation with --routing no longer generates a component.


reference states through package.  fixes #11

made a pr, hope it helps!  tested manually in 2.7 and 3.5 by running 'make html' but you'll prolly want to run this through your actual tests.

Thanks :)


Composable PostgresQuery

Is your feature request related to a problem? Please describe.
Writing flexible PostgresQuerys is very hard.
Imagine there is a raw-sql no-binds query like so:
let myValue: Int? = nil
let condition = if let myValue {
    "where my_column = '\(myValue)'"
} else {
    ""
}
let query = """
SELECT * FROM my_table \(condition)
"""

I can't find a proper way to write this with PostgresQuerys.
Describe the solution you'd like
Interpolating a PostgresQuery into another PostgresQuery should work:
let myValue: Int? = nil
let condition: PostgresQuery = if let myValue {
    "where my_column = \(myValue)"
} else {
    ""
}
let query: PostgresQuery = """
SELECT * FROM my_table \(condition)
"""

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I can try to implement this myself but i wanted to discuss it first.
I realize it won't be too easy, considering how the underlying sql string works, but not sure what else i'm supposed to do to have such flexibility.
Am i doing it wrong?

var query: PostgresQuery = """
SELECT * FROM my_table \(unescaped: condition.sql)
"""

@gwynne that doesn't work though. The underlying PostgresQuery also contains the actual binds. The SQL query also contains numbered $s (e.g. $1).

Writing flexible PostgresQuerys is very hard.

In my opinion you should not do this! Chances of screwing up are quite high!
I haven't written this up, but most adopters should have all their query permutations as individual PostgresPreparedStatements. This means each query permutation gets its own type.

If this isn't enough flexibility use a framework that provides a SQL building DSL. I have heard people like to use SQLKit for this. ;)


[Event Request] Page 344 Navigate - procedure FindRecords - OnFindRecordsOnBeforeMessagePostingDateFilter

Please add an Event OnFindRecordsOnBeforeMessagePostingDateFilter in procedure FindRecords in Page 344 Navigate
local procedure FindRecords()
    var
        DocType2: Text[100];
        DocNo2: Code[20];
        SourceType2: Integer;
        SourceNo2: Code[20];
        PostingDate: Date;
        IsSourceUpdated: Boolean;
        HideDialog: Boolean;
        IsHandled: Boolean; <-- NEW VAR
    begin
        ...
        if DocExists then begin
            SetSourceForService();
            SetSourceForSales();
            SetSourceForPurchase();
            SetSourceForServiceDoc();

            IsSourceUpdated := false;
            OnFindRecordsOnAfterSetSource(Rec, PostingDate, DocType2, DocNo2, SourceType2, SourceNo2, DocNoFilter, PostingDateFilter, IsSourceUpdated);
            if IsSourceUpdated then
                SetSource(PostingDate, DocType2, DocNo2, SourceType2, SourceNo2);
        end else
            IsHandled := false;
            OnFindRecordsOnBeforeMessagePostingDateFilter(PostingDateFilter,Rec,IsHandled); <-- NEW EVENT
            If not IsHandled then
            if PostingDateFilter = '' then
                Message(Text013)
            else
                Message(Text014);

        ...
    end;

  [IntegrationEvent(false, false)]
  local procedure OnFindRecordsOnBeforeMessagePostingDateFilter(PostingDateFilter: Text; DocEntry: Record "Document Entry"; var IsHandled: Boolean)
  begin
  end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: .


Test failure

In PR #191 I had to comment out a test that was testing the deletion of a group, it was throwing a method not allowed yet the route is correct.

branch group-tests already refactored all tests for groups in #184

But the test that is failing has been removed from tests pushed in #184

Test was removed.


Template ID field: field type correct? and fix label

(Currently on DEV only) Under Id*, the instruction says: Enter a URI. The pop-up instructions ask for a template string name. It should be what the pop-up asks for shouldn't it?
It would also be nice if it were "Template ID" rather than "Id"
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

related to #2401

Under our existing conventions, template ids (e.g., ld4p:RT:bf2:Title:AbbrTitle) are URIs, so I'd think it is correct to leave this as a URI. Having it be a URI is a useful restriction on the possible values.
The label can be changed to Template Id. (Might want to change the remark as well.) This would need to be changed in the following places:

https://github.com/LD4P/sinopia_api/blob/master/setup/rt_resource_template_doc.json#L118
https://github.com/LD4P/sinopia_migration/blob/master/dev_templates/rt_resource_template_doc.json#L118
https://github.com/LD4P/sinopia_migration/blob/master/json_templates/rt_resource_template.json#L8

I can help you get it deployed to development environment.

the original request was to change "Id" to "Template ID"
currently we have "Template Id" so we never made the change to "ID"
also, it is a literal field, but if you put a literal in like "this is a test", your template will not work. you have to put in a URI style like this:is:test.
should this field be changed to type URI?

this is not completed.
(1) we say above that "Under our existing conventions, template ids (e.g., ld4p:RT:bf2:Title:AbbrTitle) are URIs, so I'd think it is correct to leave this [Template ID field] as a URI." But the "Template Id" field is now a literal. which means someone (like me) can create a template with a non-URI ID, like "random", and then will have unexpected results, like Sinopia not wanting to nest that template in another one, à la #2738.
make new ticket to change "Template Id" field type to URI?
(2) the original ticket included the request to rename the field to "Template ID". The field is still called "Template Id". make new ticket to rename to "Template ID"?

closing in favor of separate tix: #2893 and #2894


MultipleObjectsReturned error after Accepting a task from /orchestra/communication/available_staffing_requests/

Does somebody know why I get this error after I click button Accept task from /orchestra/communication/available_staffing_requests/
?

Request Method:
GET

http://<IP_ADDRESS>:8000/orchestra/communication/accept_staffing_request_inquiry/71/

1.11.10

MultipleObjectsReturned

get() returned more than one Worker -- it returned 2!

/Users/davidkrcil/PycharmProjects/orchestraAgain/venv/lib/python3.6/site-packages/django/db/models/query.py in get, line 384

/Users/davidkrcil/PycharmProjects/orchestraAgain/venv/bin/python

@davidkrcil were you able to solve this one ?


Render hangs if watermark image path is wrong

Hello,
I noticed that; if the watermark image url path is wrong, render command is just hanging. I think some error message would be great because I had to search source of problem very long time.
And thank you for this great tool.
[Edit]
Versions:
> node --version
v10.15.0
> terminalizer --version
0.6.0

I'm just trying this tool now. It would just report that opengl error, so following other bug reports I manually edited the source to include app.disableHardwareAcceleration();, which seemed to work. But after 40m of "rendering" and not seeing heavy CPU usage, I aborted.
Then I found this report, and that explains it. I had created a global config, and removed from it the entire watermark section, thinking that it would just fall back to default values/none. After re-adding it, rendering actually happens.


[BUG] CASE response message and ACK are not sent

Reproduction steps
Attempt to commission a Nordic device.
Sometimes, after enabling Thread, the commissioning failed and Nordic log showed no response to the Sigma2 and no ACK to its own messages as follows:
I: 20740 [EM]>>> [E:48157r M:131876630] (U) Msg RX from 0:6AFCAE0EBFDBD6D8 [000)
I: 20751 [IN]CASE Server received Sigma1 message. Starting handshake. EC 0x20008
I: 20759 [IN]CASE Server disabling CASE session setups
I: 20764 [EM]<<< [E:48157r M:164506657 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 20776 [IN](U) Sending msg 164506657 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 20787 [SC]Received Sigma1 msg
I: 20794 [SC]CASE matched destination ID: fabricIndex 1, NodeID 0x00000000759B99
I: 21027 [EM]<<< [E:48157r M:164506658 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 21039 [IN](U) Sending msg 164506658 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 21051 [SC]Sent Sigma2 msg
D: 21059 [IN]Received a duplicate message with MessageCounter:131876630 on exchr
I: 21067 [EM]>>> [E:48157r M:131876630] (U) Msg RX from 0:6AFCAE0EBFDBD6D8 [000)
I: 21079 [EM]<<< [E:48157r M:164506659 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 21092 [IN](U) Sending msg 164506659 to IP address 'UDP:[fd00:c64f:26d5:471c:'
D: 21371 [IN]Received a duplicate message with MessageCounter:131876630 on exchr
I: 21380 [EM]>>> [E:48157r M:131876630] (U) Msg RX from 0:6AFCAE0EBFDBD6D8 [000)
I: 21392 [EM]<<< [E:48157r M:164506660 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 21405 [IN](U) Sending msg 164506660 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 21442 [IN](U) Sending msg 164506658 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 21852 [IN](U) Sending msg 164506658 to IP address 'UDP:[fd00:c64f:26d5:471c:'
D: 21964 [IN]Received a duplicate message with MessageCounter:131876630 on exchr
I: 21973 [EM]>>> [E:48157r M:131876630] (U) Msg RX from 0:6AFCAE0EBFDBD6D8 [000)
I: 21985 [EM]<<< [E:48157r M:164506661 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 21997 [IN](U) Sending msg 164506661 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 22395 [IN](U) Sending msg 164506658 to IP address 'UDP:[fd00:c64f:26d5:471c:'
D: 22947 [IN]Received a duplicate message with MessageCounter:131876630 on exchr
I: 22955 [EM]>>> [E:48157r M:131876630] (U) Msg RX from 0:6AFCAE0EBFDBD6D8 [000)
I: 22966 [EM]<<< [E:48157r M:164506662 (Ack:131876630)] (U) Msg TX to 0:0000000)
I: 22979 [IN](U) Sending msg 164506662 to IP address 'UDP:[fd00:c64f:26d5:471c:'
I: 23291 [IN](U) Sending msg 164506658 to IP address 'UDP:[fd00:c64f:26d5:471c:'
E: 24801 [EM]Failed to Send CHIP MessageCounter:164506658 on exchange 48157r se4

However, on the commissioner side, it didn't receive any ACK or Sigma2 response from Nordic.
We setup a sniffer at 1 ft distance from the Matter Nordic device and saw no packets sent from Nordic at the time.
The following were the message id 131876630 packets towards Nordic in the sniffer log based on timing:
10342	15:20:15.849375	fd00:c64f:26d5:471c:188a:c239:97a9:ae4	::5900:1d04:5fbe:e0ee	WireGuard	30	Transport Data, receiver=0x07DC4716, counter=7709228040523077336, datalen=134
10353	15:20:16.168443	fd00:c64f:26d5:471c:188a:c239:97a9:ae4	::5900:1d04:5fbe:e0ee	WireGuard	30	Transport Data, receiver=0x07DC4716, counter=7709228040523077336, datalen=134
10364	15:20:16.480896	fd00:c64f:26d5:471c:188a:c239:97a9:ae4	::5900:1d04:5fbe:e0ee	WireGuard	30	Transport Data, receiver=0x07DC4716, counter=7709228040523077336, datalen=134
10393	15:20:17.074022	fd00:c64f:26d5:471c:188a:c239:97a9:ae4	::5900:1d04:5fbe:e0ee	WireGuard	30	Transport Data, receiver=0x07DC4716, counter=7709228040523077336, datalen=134
10435	15:20:18.051799	fd00:c64f:26d5:471c:188a:c239:97a9:ae4	::5900:1d04:5fbe:e0ee	WireGuard	30	Transport Data, receiver=0x07DC4716, counter=7709228040523077336, datalen=134

lighting-app was used.
Attached are Nordic log and the sniffer log.
Thread network key index was 0 and the network key was D0CE4DD0ADDBFF67969A415901331C78.
Nordic-pairing-failed-new-home-j105-b520.txt
Thread-sniffer-Matter-pairing-fail.pcapng.zip
Bug prevalence
It happens very frequently, like half the time in a tester's setup.
GitHub hash of the SDK that was being used
df4ad9521b1dac98d7965f455fec74ffa270429c or 09ea93670798655d272ab98aaddb1b5ca05fe178
Platform
nrf
Platform Version(s)
PCA10056
Anything else?
No response

Note that a clean build of lighting-app from SHA b89e83be43dde7a79d90823f4bc1279eb53f76de also showed the same issue.

@Damian-Nordic @kkasperczyk-no

@ndyck14 The sniffer logs we have seem to indicate that:

The device is receiving packets.
The device is not sending packets.

But the device thinks its sending messages successfully....

I have even seen this in my setup as well and this was using WiFi and not Thread (used an ESP32).. Not frequently, but in busy networks. In the Matter PoV it was all sent out successful, but nothing was actually sent out of the radio.

@kpark-apple Hey, I couldn't find anything in the logs that would give us a hint why the device would not transmit frames for some periods of time. If that happens frequently in your setup, would it be possible that you build the sample with OpenThread logs to see if any error is reported to or by the OpenThread stack?
Please use the following build parameters to enable OpenThread logging:
$ west build -b nrf52840dk_nrf52840 -- -DCONF_FILE=prj_no_dfu.conf -DCONFIG_OPENTHREAD_DEBUG=y -DCONFIG_OPENTHREAD_LOG_LEVEL_WARN=y  -DCONFIG_LOG_MODE_DEFERRED=y -DCONFIG_LOG_BUFFER_SIZE=8192

Note that -DCONF_FILE=prj_no_dfu.conf disables the DFU but this may be needed to reduce the flash usage to save more space for additional logging. If that doesn't report useful errors, you can also replace -DCONFIG_OPENTHREAD_LOG_LEVEL_WARN=y with -DCONFIG_OPENTHREAD_LOG_LEVEL_INFO=y to further increase the log verbosity.

@kpark-apple @bzbarsky-apple
I have analyzed the PCAP file, and it appears to be a Border Router configuration issue.
To make a long story short, the Thread accessory drops the packet (Sigma2) at its IP layer since it cannot find the route (and thus the next hop). In the attached PCAP (in the failed scenario), the Thread Border Router indicates that it is not the default route for external addresses. Please note that Sigma1 is sent from an external address (unknown prefix for Thread device), and Sigma2 has to be sent to the IPv6 Source address from Sigma1.

I took a look at the content of Network Data when pairing the Thread accessory to HomePod Mini today - everything worked - and as you can see below, the default route parameter is set to True by the Thread Border Router. The same thing happens when working with a standard OpenThread Border Router.

All in all, the Thread device needs to know where to forward the packet. To simplify a bit, if the IPv6 destination address is external (i.e., not an on-mesh prefix), the node first looks for the external route in the Network Data that matches the IPv6 destination address, or it looks for Border Router TLVs with the Default Route flag set. In the provided PCAP, neither of those conditions were met.
Additionally, I simulated the behavior using OpenThread CLI - and it seems to confirm the hypothesis.
Default Route flag set:
Thread Border Router:
> ipaddr add fd64::1/64   <- simulating external address which was used as Source IPv6 address of Sigma1
Done
> prefix add fc00:1:2:3::/64 paro high     <- register on-mesh prefix and set the "R" (default route) flag
Done
> netdata register
Done

Thread Device:
> ping fd64::1/64
16 bytes from f64:0:0:0:0:0:0:1: icmp_seq=5 hlim=64 time=4ms
1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 4/4.0/4 ms.
Done

Default Route flag clear (as in the PCAP):
Thread Border Router:
> ipaddr add fd64::1/64   <- simulating external address which was used as Source IPv6 address of Sigma1
Done
> prefix add fc00:1:2:3::/64 pao high     <- register on-mesh prefix and clear the "R" (default route) flag
Done
> netdata register
Done

Thread Device:
> ping fd64::1/64
1 packets transmitted, 0 packets received. Packet loss = 100.0%.      <- also no frames visible in the Wireshark
Done

To summarize, I would recommend checking why the Thread Border Router does not set the "R" (default route) flag when registering on-mesh prefix - which as i understand happens "sometimes".

Discussed with @AlanLCollins on Slack.
Your scenario is different, the Sigma1 is sent from the address which is known to the Thread node. In fact, it is exactly on-mesh prefix for the Thread network. Below is the screenshot from the .pcap you gave me and configured 6LoWPAN contexts according to Network Data and MeshCop information. The Thread node does not need to look for the default route, as the address is not "external" like in the original case in this issue.

An idea on how to reproduce this: enable IPv6 in your Wifi AP, so its RA will contain PIO. Then the BR will not include PIO on its own RAs. The Matter controller will assign its global IPv6 using prefix from Wifi AP.

@LuDuda Thank you. Our border router team agreed with your assessment. I think this issue can be closed if there is no objection. If we hit on another no-transmission case without the same border router issue, I'll file a separate issue.

@ndyck14 I haven't been able to reproduce it again for some time now so if I do happen to see this problem again at a certain point I'll raise a new issue.

the Thread accessory drops the packet (Sigma2) at its IP layer

@LuDuda Is it possible to propagate this error up the callstack instead of this just being a silent failure?

+1 ^ (github needs a proper emoji for that)

@bzbarsky-apple I think that at present, the UDP packet is queued in the IPv6 layer for subsequent processing, which means that the error won't be passed along within the same call stack. Furthermore, several issues may arise in the lower layers, such as 6Lo or MAC (e.g., CSMA/CA failure for 6/9 fragment) which cannot be passed in the same call stack anyway.
I will definitely explore methods to enhance the debugging experience. As it stands, we might not receive accurate logs from the OT stack.

FYI @bzbarsky-apple : https://github.com/openthread/openthread/pull/8907
@kpark-apple can we close this one?

Closing as the root cause was BR and an open thread issue was filed to add more diagnostic log.


Allow aql.render to use the DAG's template_searchpath

Context
When instantiating Airflow DAGs, users can declare template_searchpath, which is a list of folders (non-relative) that define where jinja will look for templates. By default, it contains the DAGs folder.
Many SQL-like operators, such as the SnowflakeOperator and BigQueryOperator, support retrieving SQL files from this path, as described in the doc.
At the moment, Astro 0.5.1 expects users to declare the path to the SQL files as an argument of the aql.render method.
Acceptance criteria

aql.render tries to fetch SQL files from the DAG's template_searchpath.
If both aql.render path and the template_searchpath are declared, the priority should be given to the path value.
Ask @mag3141592 (bug reporter) to review the PR

@ashb @tatiana I think there are a few "gotchas" in this one.

What do we do if there are multiple values in the template_searchpath? Wouldn't this only work once? Like we wouldn't be able to run render mutliple times unless we're point to subdirectories? If we're pointing to subdirectories how do we know what order to do them in?

Is this still relevant @tatiana ?


Suggestion: Let indexable types have return type ( | undefined)

TypeScript Version: 2.1.4
Allowing indexing of indexable interfaces act similar to ES6 Map.get seems like it would help the type safety of the language.
Example:
interface Foo {
    [name: string]: number
}
let foo: Foo = {};
let baz = foo["bar"];
// baz is of type number and compiles fine, even though is actually undefined
// possibly make baz of type (number | undefined) instead

Expected Behavior:
baz is of type (number | undefined)
Actual Behavior:
baz is of type number, despite actually being type undefined

Duplicate of #9235


Don't log errors when testing

Jest, the test runner, catches all console logs that happen during tests and outputs them at the end
I want to test that an error is thrown at a certain point in time, but because micro automatically console.errors errors it looks like the test failed, even though it didn't:

See that red stack trace? It's totally unnecessary and doesn't have to be there, as the test passed and this is expected behaviour.

Note: This might be the wrong solution for the problem, throwing this PR out to kick off a discussion.

@mxstbr seems fair. Please have a look at https://travis-ci.org/zeit/micro/builds/190314237#L228
@rauchg what do you think?

Approved 🙌


Rename file-actions.json to something more obvious

Something like Rules.fileaway might be a little clearer and run slightly less risk of being deleted by the user.

Done. This has been renamed to 'Rules.fileaway'.


Deprecating MQTT 5

@kgremban
Can you review this PR? Sign-off or approve if you're okay with the changes.
NOTE: To sign off, add #sign-offto a comment."
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Sharing your frozen graph?

Hey Zehaos,
Thanks a lot for this repo! I see that in tools/test_forzen_graph.py, you seems to have a frozen graph with placeholder inserted:
23 | graph_filename = "../mobilenet-model/with_placeholder/frozen_graph.pb"
Would you mind sharing your frozen graph file? Thanks a lot in advance.

Hi, poohly,
You can use insert_placeholder.py to insert the placeholder for yourself.

Hey Zehaos,
I have trained mobilenet_v1_1.0_224 with the TF-Slim Classification library,but I when I tried to train mobilenet_v1_0.25_128,I find the code in Slim not work.Have you ever trained it? @Zehaos


fix(create-preview,create-pr-preview): Create only one commit when creating a new preview folder

Fixes #95

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

v4.2.1
GitHub release

Your semantic-release bot :package::rocket:


cloud_to_cloud:python:node_server:unimplemented_method

2017-11-16 13:02:37,853 running run_interop
Traceback (most recent call last):
File "src/python/grpcio_tests/setup.py", line 102, in
test_runner=TEST_RUNNER,)
File "/var/local/git/grpc/py27/local/lib/python2.7/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/var/local/git/grpc/src/python/grpcio_tests/commands.py", line 135, in run
self.run_client()
File "/var/local/git/grpc/src/python/grpcio_tests/commands.py", line 151, in run_client
client.test_interoperability()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/interop/client.py", line 126, in test_interoperability
test_case.test_interoperability(stub, args)
File "/var/local/git/grpc/src/python/grpcio_tests/tests/interop/methods.py", line 468, in test_interoperability
_unimplemented_method(stub)
File "/var/local/git/grpc/src/python/grpcio_tests/tests/interop/methods.py", line 336, in _unimplemented_method
_expect_status_code(response_future, grpc.StatusCode.UNIMPLEMENTED)
File "/var/local/git/grpc/src/python/grpcio_tests/tests/interop/methods.py", line 104, in _expect_status_code
(expected_code, call.code()))
ValueError: expected code StatusCode.UNIMPLEMENTED, got StatusCode.UNAVAILABLE
2017-11-16 13:02:37,853 FAILED: cloud_to_cloud:python:node_server:unimplemented_method [ret=1, pid=24926, time=1.0sec]
https://sponge.corp.google.com/target?id=9271c287-79ee-49a0-a441-4de2f4e4d850&target=grpc/ubuntu/pull_request/grpc_interop_tocloud&searchFor=&show=ALL&sortBy=STATUS

This should be fixed by grpc/grpc-node#95.


updated usage of deprecated method describeComponent()

This project uses semver, please check the scope of this pr:

[X] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

Closes: https://github.com/ciena-frost/ember-frost-notifier/issues/28
CHANGELOG

Updated integration tests to remove the deprecated use of describeComponent()

👍


Not getting ../ as a terminal suggestion

Create a powershell terminal
cd ..
See that there's a .. suggestion, accept it
add a /
See other suggestions. None of them is ..
Add a ., so the full line you entered is cd ../. The suggestions close.

/duplicate #234351


Error: Cannot find module 'boom' -- when trying to install

NPM version (npm -v): 5.6.0
Node version (node -v): v9.3.0
Node Process (node -p process.versions):

{ http_parser: '2.7.0',
  node: '9.3.0',
  v8: '6.2.414.46-node.15',
  uv: '1.18.0',
  zlib: '1.2.11',
  ares: '1.13.0',
  modules: '59',
  nghttp2: '1.25.0',
  openssl: '1.0.2n',
  icu: '60.2',
  unicode: '10.0',
  cldr: '32.0.1',
  tz: '2017c' }

Node Platform (node -p process.platform): darwin
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"): 4.7.2
npm node-sass versions (npm ls node-sass): 4.7.2

Error
When attempting to install with yarn, the following error is thrown:
Error: Cannot find module 'boom'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/eduard.bardaji/Downloads/test/node_modules/hawk/lib/index.js:3:33)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)

Try npm update node-sass
On 7 Feb. 2018 7:56 pm, "Eduard Bardají Puig"<EMAIL_ADDRESS>wrote:

NPM version (npm -v): 5.6.0
Node version (node -v): v9.3.0
Node Process (node -p process.versions):

{ http_parser: '2.7.0',
node: '9.3.0',
v8: '6.2.414.46-node.15',
uv: '1.18.0',
zlib: '1.2.11',
ares: '1.13.0',
modules: '59',
nghttp2: '1.25.0',
openssl: '1.0.2n',
icu: '60.2',
unicode: '10.0',
cldr: '32.0.1',
tz: '2017c' }

Node Platform (node -p process.platform): darwin
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"): 4.7.2
npm node-sass versions (npm ls node-sass): 4.7.2

Error
Error: Cannot find module 'boom'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/eduard.bardaji/Downloads/test/node_modules/hawk/lib/index.js:3:33)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/2243, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWPMJ4mS8sLZQlhcb7Cgejjrj3d3mks5tSWUsgaJpZM4R8WOy
.

For some reason, it was failing with yarn. With npm i it installed just fine

FWIW, seeing the same on CI, using yarn. Should we reopen?

There's nothing node-sass can do. Sounds like an npm issue. It looks like the package is available. Maybe try clearing your npm/yarn caches.
npm info boom

Had the same issue on a clean CI machine (no cache). As a temporary workaround, switching from Yarn 1.3.2 to 0.28.4 solves the issue.

I explicitly had to do 'npm install boom' and it worked for me.


Wrong RPATH on many shared libraries

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue: all the lib*.so files installed by libgcc-ng, and libgomp, have an unpatched RPATH which means (for example), linking against libasan.so can yield linker errors (e.g. unable to find the libstdc++.so.6 that libasan requires, as it doesn't look in $ORIGIN etc).
$ for f in *.so; echo $f; readelf -d $f | grep 'rpath'; end
libasan.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803321475/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/../lib]
libatomic.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803324264/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib]
libcc1.so
 0x000000000000000f (RPATH)              Library rpath: [$ORIGIN/.]
libgcc_s.so
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
libgomp.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803324264/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib]
libitm.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803324264/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib]
liblsan.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803321475/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/../lib]
libquadmath.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803324264/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib]
libstdc++.so
libtsan.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803321475/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/../lib]
libubsan.so
 0x000000000000000f (RPATH)              Library rpath: [/home/conda/feedstock_root/build_artifacts/gcc_compilers_1632803321475/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/../lib]

Environment (conda list):

$ conda list
# packages in environment at /tmp/moo:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
binutils_impl_linux-64    2.36.1               h193b22a_2    conda-forge
binutils_linux-64         2.36                 hf3e587d_1    conda-forge
gcc_impl_linux-64         9.4.0                h03d3576_9    conda-forge
gcc_linux-64              9.4.0                h391b98a_1    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_14    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
libgcc-devel_linux-64     9.4.0                hd854feb_9    conda-forge
libgcc-ng                 11.2.0               h1d223b6_9    conda-forge
libgomp                   11.2.0               h1d223b6_9    conda-forge
libsanitizer              9.4.0                h79bfe98_9    conda-forge
libstdcxx-ng              11.2.0               he4da1e4_9    conda-forge
sysroot_linux-64          2.12                he073ed8_14    conda-forge

Details about  conda and system ( conda info ):

$ conda info

     active environment : None
       user config file : /home/mgodbolt/.condarc
 populated config files :
          conda version : 4.10.3
    conda-build version : 3.21.4
         python version : 3.7.7.final.0
       virtual packages : __linux=4.15.0=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/mgodbolt/.cache/ozy/conda/4.8.3  (writable)
      conda av data dir : /home/mgodbolt/.cache/ozy/conda/4.8.3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/mgodbolt/.cache/ozy/conda/4.8.3/pkgs
                          /home/mgodbolt/.conda/pkgs
       envs directories : /home/mgodbolt/.cache/ozy/conda/4.8.3/envs
                          /home/mgodbolt/.conda/envs
               platform : linux-64
             user-agent : conda/4.10.3 requests/2.23.0 CPython/3.7.7 Linux/4.15.0-159-generic ubuntu/18.04.6 glibc/2.27
                UID:GID : 5011:5011
             netrc file : None
           offline mode : False

Example of the problem:
$ echo 'void main(){}' | bin/x86_64-conda_cos6-linux-gnu-gcc -fsanitize=address -x c -
/tmp/moo/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /tmp/moo/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/lib/../lib/libasan.so, not found (try using -rpath or -rpath-link)

but it the rpath is actually set:
$ patchelf --set-rpath '$ORIGIN' lib/libasan.so
$ echo 'void main(){}' | bin/x86_64-conda_cos6-linux-gnu-gcc -fsanitize=address -x c -
$

it compiles without error. It seems the recipe goes out of its way to disable conda's default rpath patching: https://github.com/conda-forge/ctng-compilers-feedstock/blob/7a4f650a775b7248246631a4f94726e50d2df35f/recipe/meta.yaml#L317 - there's not a clear reason why this is not enabled (though there's some other things that are enabled for binary relocation, and indeed some patchelf things going on too)

I'm not sure why binary_relocation is disabled. Let's try enabling them.

Fixed in #74


Transparent testing command

I've found a way to make the used testing command transparent from several points of view:
https://github.com/indigophp/boilerplate/blob/package/composer.json#L25
Why is this good?

We can have the same instructions for all repos: composer test. This way we can easily maintain CONTRIBUTION guides, since they don't depend on the used testing framework.
The same above is true for travis config: https://github.com/indigophp/boilerplate/blob/package/.travis.yml
It is simple and consistent. Whatever testing framework we use, this command can remain the same.

@ddeboer you are as concerned about package details as me. What do you think?

I like it! Please submit a PR.

Done #8

Cool thing, didn't noticed this feature :+1:


Add link option to the ImageBlock

Image blocks need to have the option to link to some resource. That's why we need to consider another field in the Block entity which will enable us to do it.

Closed in #15 🎉


Update pod inspect report to hold current pod status.

Added status field in pod inspect report.
Fixed pod tests to use it.
Signed-off-by: Sujil02<EMAIL_ADDRESS>

/approve
LGTM

/lgtm


Introduce Package to store modules.

Summary

Introduce Package, packages are dynamic fields of ModuleStore
Modules are dynamic fields of Package
Refactor module moveos_std::module_store
Reset stdlib to version 1.

Closes #1696

Create session key failed.
Module does not exist:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000003::session_key

It seems like the module resolver has bug

Is it okay to get module through package_object directly, without getting package object through module_store_object?
https://github.com/pause125/rooch/blob/2d577a3b2e01d4fe6dc1e8079063ddf90f3de473/moveos/moveos-types/src/state_resolver.rs#L196

It's okay. We first get_object(object_id) and then get_field_at(object.state_root). The get_object will handle the parent&child object logic.
https://github.com/pause125/rooch/blob/2d577a3b2e01d4fe6dc1e8079063ddf90f3de473/moveos/moveos-types/src/state_resolver.rs#L34-L43


[GH-366] - Add support for enabled_connections field in CreateOrganizationConnections

🔧 Changes

Add support for enabled_connections field in CreateOrganization

📚 References

🔬 Testing

📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.37%. Comparing base (6aaee1e) to head (9ab4b55).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #394   +/-   ##
=======================================
  Coverage   95.37%   95.37%
=======================================
  Files          47       47
  Lines        7527     7527
=======================================
  Hits         7179     7179
  Misses        232      232
  Partials      116      116

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Convert docs

Do the checklist before submitting the PR:

[x] Have you read the guidelines mentioned in CONTRIBUTING.md?
[x] Have you squashed your commits?

Q: What version of Node.js you've used in the project? (e.g. Node v10.11.0)
A:v10.15.2
Q: Mention the Issue Number! (e.g. Fixed #8)
A: Fixed #183

Give additional information regarding the PR below:

Codecov Report

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

@@          Coverage Diff          @@
##           master   #184   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          79     79
  Lines        1411   1411
=====================================
  Hits         1411   1411

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 32f72d5...ce6fda6. Read the comment docs.


[API] fix stse_device_unlock

This pull request has been refused, the Contribution License Agreement must be signed.


[FEATURE]-Allow PluginFactory to return IEnumerable

Is your feature request related to a problem? Please describe.
Many times a plugin in a collection of devices.  Often these devices are built within the constructor of the "main plugin" and added to the device manager.  Returning a collection of devices would allow for multiple devices to be built and added within the factory and injected into whichever devices necessary, as opposed to having an overly complex Device constructor whose sole purpose is building many other devices.
Describe the solution you'd like
A way to return multiple EssentialsDevices via the PluginFactory
Describe alternatives you've considered
Adding devices within the BuildDevice method

More likely the return type would be IEnumerable<KeyValuePair<string,IKeyed>> to allow for relatively easily adding the devices to the DeviceManager Dictionary. The difficulty is in differentiating between the 2 factory methods and calling the right one when the system starts up.

@ngenovese11 can you provide an example of this in context?  Typically each device item in the config array instantiates a single device.  In some cases that device is responsible for instantiating sub devices and adding them to the DeviceManager.  I'm struggling to see a scenario where it would make sense to return a collection of devices.

the biamp/qsc plugin every fader and control point is a device added to device manager

@ngenovese11 I would question whether all control points for DSPs should be added to the device manager rather than just the main DSP controller class and provide a means by which to access the sub devices via the controller.

Plugin design aside... DeviceManager.AddDevice() is a already a public method; this would simply allow for cleaner usage of an existing feature.

@ngenovese11 - The DSP Controller Class does that per your direction.  You may not remember, but the Tesira Plugin was modified to do that after a conversation with you about what needed to be done in order to make it essentials compliant.

Ok, at this point it's not feasible to allow the PluginFactory's BuildDevice method to return a collection of devices. However, we can add a method to DeviceManager called AddDevices(IEnumerable devices) that would accept a collection of IKeyed.  It would be the responsibility of the parent device (DSP wrapper device or other) to add all it's child devices within it's constructor so that all the child devices are already in the DeviceManager and ready for activation.


Provide Plaster template snippets

I put together some Plaster snippets for the MVP summit.  We should provide those snippets in some manner.  I could put them in a Snippets folder in Plaster but then how do the snippets get picked up automatically by VSCode?

I dunno if they would get picked up by VS Code...  Good question though, need to think of a good way to enable a PowerShell module to contribute editor snippets.


Change the landing screen contents.

On the following screen, perform these changes:

Change name to Prototype.
Change dates
Change the short description
Add logos of IIITA and Github on upper corners.

Working on it.


Investigate keychain issue in mac applicaiton

https://github.com/orgs/WalletConnect/discussions/1597#discussioncomment-4188329

Initial research results:
https://github.com/orgs/WalletConnect/discussions/1597#discussioncomment-4351064

@flypaper0 so the issue is not in sdk but in app, correct?

@llbartekll right

Awesome! Thank you so much! Now we will continue our work on integrating WalletConnectV2.


Librespot "onevent" option error

Compatible Device

[X] I'm running Raspotify on a compatible Device

Compatible OS

[X] I'm running Raspotify on a compatible OS

Latest Version

[X] I'm running the latest version of Raspotify

Due Diligence

[X] I have done my due diligence

What happened?
Hi,
I wanted to be able to start a program (turn on my speakers with my Logitech Harmony) before casting the music to Raspotify.
To do so I modified the configuration file /etc/raspotify/conf to add these two lines
LIBRESPOT_VERBOSE=
LIBRESPOT_ONEVENT="/tmp/test.sh"

chmod +x /tmp/test.sh to be runnable
I restart the systemd for raspotify and everything looks fine (new options are detected).
When I cast a music, my script is not run and I found the error
Jun 26 11:09:30 XXXXX librespot[29379]: [2022-06-26T09:09:30Z TRACE librespot_connect::spirc] ==> kPlayStatusPlay
Jun 26 11:09:30 XXXXX librespot[29379]: [2022-06-26T09:09:30Z INFO  librespot::player_event_handler] Running ["/tmp/test.sh"] with environment variables {"PLAYER_EVENT": "playing", "DURATION_MS": "304840", "POSITION_MS": "46834", "TRACK_ID": "4VqPOruhp5EdPBeR92t6lQ"}
Jun 26 11:09:30 XXXXX librespot[29379]: [2022-06-26T09:09:30Z WARN  librespot] On event program failed to start

Librespot program is run from systemd (/lib/systemd/system/raspotify.service) with "DynamicUser=yes".
I think this option prevents my script "/tmp/test.sh" to be run.
Any help please ?
Cheers
Relevant log output
No response

Duplicate of https://github.com/dtcooper/raspotify/issues/500