Fix adding widget.event.* to imports when there are no events generated

Review status: 0 of 2 files reviewed, 1 unresolved discussion, all commit checks successful.

template/helpers.js, line 88 [r1] (raw file):
isEmpty sounds more JS

Comments from the review on Reviewable.io

Review status: 0 of 2 files reviewed, 2 unresolved discussions, all commit checks successful.

template/helpers.js, line 89 [r1] (raw file):
return !!array //will do the work

Comments from the review on Reviewable.io

Review status: 0 of 2 files reviewed, 2 unresolved discussions, all commit checks successful.

template/helpers.js, line 89 [r1] (raw file):
please discard preview comment. Should be:
return array == true;

Comments from the review on Reviewable.io

Review status: all files reviewed, 2 unresolved discussions, all commit checks successful.
Reviewed files:

template/helpers.js @ r2
template/Widget.template @ r1

Comments from the review on Reviewable.io


OperationActionEnum is missing Renew

Per https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-webhook there is an operation with action = "Renew" that is missing from the action enum here
https://github.com/microsoft/commercial-marketplace-openapi/blob/main/Microsoft.Marketplace.SaaS/2018-08-31/saasapi.v2.json#L1230
If the resolution is just adding the an entry for Renew, I'm happy to create a PR for this.

Ack. Thanks @pvaillant , we will get this added.


Detect "cavities" in a file

This adds an instrumentation-time option --no-control-flow-tracking that does not add any control-flow tracking instrumentation. It also adds support for tracking taints that affect conditional branches. It also adds a Python command for detecting "file cavities": portions of the input file that neither influence control flow nor bytes that are written to an output file.
$ polytracker cavities polytracker.db

Would it make sense to somehow unify the code used to build mupdf? We now have one set of commands in Dockerfile-mupdf.demo and another in build_in_docker.

Would it make sense to somehow unify the code used to build mupdf? We now have one set of commands in Dockerfile-mupdf.demo and another in build_in_docker.

Yes! I think that can wait for another PR, but it would be great to clean up the examples and merge them with this new build process.


Beam Kata for Java and Python SDKs

This pull request adds Beam Kata for learning Java and Python SDKs.
Beam Kata is a set of interactive Beam coding exercises (i.e. code kata) that aids in learning Beam programming hands-on. It is built based on JetBrains Educational Products.
The objective of Beam Kata is to provide a structured hands-on learning experience for people to learn about Beam and its SDK by solving focused mini problems with gradually increasing complexity.
Currently, I have created lessons for both Java & Python SDK:
Introduction

Hello Beam

Core Transforms

Map
** ParDo
** ParDo OneToMany
** MapElements / Map
** FlatMapElements / FlatMap
GroupByKey
CoGroupByKey
Combine
** Simple Function
** CombineFn
** BinaryCombineFn
** Combine PerKey
Flatten
Partition

Common Transforms

Filter
** ParDo
** Filter
Aggregation
** Count
** Sum
** Avg
** Min / Smallest
** Max / Largest

Examples

Word Count

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

How To Setup

You can download the free education IDE from here:
IntelliJ: https://www.jetbrains.com/education/download/#section=idea
PyCharm: https://www.jetbrains.com/education/download/#section=pycharm-edu

Upon opening the IDE, you can open the course archives by clicking
"Learn" > "Import Local Course".

Select the corresponding attached zip archive
Use IntelliJ for Java Kata
Use PyCharm for Python Kata

Select your JDK or Python interpreter, click "Join"

You're good to go.
Note that for the first time, it will take some time to initialize the project.

To learn more on how to use the Education product:
How to IntelliJ Education
How to PyCharm Education

Course Archives:
Beam_Kata___Java.zip
Beam_Kata___Python.zip

I have uploaded the Beam Kata courses to Stepik in order to provide seamless setup from the IDE.
Here is the updated setup guide:

You can download the free education IDE from here:
IntelliJ: https://www.jetbrains.com/education/download/#section=idea
PyCharm: https://www.jetbrains.com/education/download/#section=pycharm-edu

Upon opening the IDE, you can open the course by clicking
"Learn and Teach" > "Browse Courses".

Search and select the corresponding course
“Beam Kata - Java” for IntelliJ Edu
“Beam Kata - Python” for PyCharm Edu

Select your JDK or Python interpreter by expanding the “Advanced Settings”, then click "Join"

You're good to go.
Note that for the first time, it will take some time to initialize the project.

To learn more on how to use the Education product:
"How To" IntelliJ Edu
"How To" PyCharm Edu


Strange folder names and several errors while downloading

Looks like something went wrong.
Arguments:
search -q "Boson Protocol" -d
Output:

Errors:
1- Folders named in the form of "''$'\n''SMART_CONTRACT_NAME'"
2- Several errors like these:
Downloading contract(s) from https://polygonscan.com/address/0xb27EF1bbeAfaaaD33339D8E12703d6c216c4dF8D#code:
'NoneType' object has no attribute 'group'
'NoneType' object has no attribute 'group'
Error: while downloading - Contract might be updated/deleted or contains bytecode

Thank for reporting issue, we identified its an issue of newline introduced in etherscan page for contract name field. We fixed this issue in recent commit. Please check and reopen this issue if it persist. Closing it.


chore: Refactor error messages for Notation signature verification

Description
What this PR does / why we need it:
This PR focuses on the notation signature validation scenario, improving the clarity of error messages and providing more intuitive remediation steps for users.
For errors that are self-explanatory, I have not included remediation steps.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
It will fix some cases of the issue: https://github.com/ratify-project/ratify/issues/1321
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

@yizha1 thanks a lot for your feedback, could you take another look? I've addressed all comments.


Clients occasionally lose SignalR connection

We've heard some reports (and seen it ourselves a few times) that chat seems to stop updating temporarily, especially when there are a lot of people active. We've only seen this in the Theater, probably because it tends to have the most number of people talking at once.

I suspect what was happening was cookies were expiring.
Clicking a hyperlink to move (which receives back room data via HTTP response, rather than SignalR) would fail, which implies it was a larger issue than just the SignalR connection.
When refreshing the page, you would usually have to log in again, which lends credence to it being an auth expiration thing


[Feature Request] Add Cupy.delete

Usage:
Currently, numpy.delete is a very often used function, as it allows numpy row/columns to be quickly and efficiently deleted from an array. However, this function does not exist in cupy.
Proposal:
I would suggest writing a function that hopefully be run synchronously, which works as close as possible to the numpy.delete function, but runs on the GPU.

Same request

Usage:
Currently, numpy.delete is a very function, as it allows numpy row/columns to be quickly and efficiently deleted from an array. However, this function does not exist in cupy.
Proposal:
I would suggest writing a function that hopefully be run synchronously, which works as close as possible to the numpy.delete function, but runs on the GPU.

I have searched once but it seems CuPy does not own that feature. I have used Cupy to check array_equal but don't have its delete function. I have posted a request about array_equal

I assume this was omitted because it's not going to be well-suited to a GPU?  Either way, it should at least be possible to work around it if need be using array indexing instead, even if it's less efficient.
Is there any plan to implement this in CuPy anyway?

Implemented via #7359


Contact Us page

No content on Contact Us page - is that supposed to be a link to send an email?  Or do we need content there?

The page should contain some explanatory content and a link to<EMAIL_ADDRESS>


Unable to install puppeteer

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.17.0
Platform / OS version: macOS 10.14.4 (18E226)
Node.js version: v10.16.0

What steps will reproduce the problem?
sudo npm i puppeteer
What is the expected result?
Successful installation of Puppeteer
What happens instead?
Fails on install
Terminal :
Admins-MacBook-Pro:jsonresume-theme-boilerplate-master aditya$ sudo npm install -g resume-cli
Password:
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
/usr/local/bin/resume -> /usr/local/lib/node_modules/resume-cli/index.js

><EMAIL_ADDRESS>install /usr/local/lib/node_modules/resume-cli/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r662092! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/resume-cli/node_modules/puppeteer/.local-chromium'
  -- ASYNC --
    at BrowserFetcher.<anonymous> (/usr/local/lib/node_modules/resume-cli/node_modules/puppeteer/lib/helper.js:110:27)
    at Object.<anonymous> (/usr/local/lib/node_modules/resume-cli/node_modules/puppeteer/install.js:64:16)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path:
   '/usr/local/lib/node_modules/resume-cli/node_modules/puppeteer/.local-chromium' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/aditya/.npm/_logs/2019-06-12T03_42_44_500Z-debug.log
Admins-MacBook-Pro:jsonresume-theme-boilerplate-master aditya$

So I tried installing puppeteer directly from npm and yet its still :
Admins-MacBook-Pro:jsonresume-theme-boilerplate-master aditya$ sudo npm i puppeteer

><EMAIL_ADDRESS>install /Users/aditya/Downloads/jsonresume-theme-boilerplate-master/node_modules/puppeteer
> node install.js

ERROR: Failed to download Chromium r662092! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/Users/aditya/Downloads/jsonresume-theme-boilerplate-master/node_modules/puppeteer/.local-chromium'
  -- ASYNC --
    at BrowserFetcher.<anonymous> (/Users/aditya/Downloads/jsonresume-theme-boilerplate-master/node_modules/puppeteer/lib/helper.js:110:27)
    at Object.<anonymous> (/Users/aditya/Downloads/jsonresume-theme-boilerplate-master/node_modules/puppeteer/install.js:64:16)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path:
   '/Users/aditya/Downloads/jsonresume-theme-boilerplate-master/node_modules/puppeteer/.local-chromium' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/aditya/.npm/_logs/2019-06-12T03_36_29_369Z-debug.log
Admins-MacBook-Pro:jsonresume-theme-boilerplate-master aditya$

Same on Windows 10 using node v10.15.1:

ERROR: Failed to download Chromium r662092! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: getaddrinfo ENOTFOUND storage.googleapis.com storage.googleapis.com:443
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
  -- ASYNC --
    at BrowserFetcher.<anonymous> (X:\proj\myproj\node_modules\puppeteer\lib\helper.js:110:27)
    at Object.<anonymous> (X:\proj\myproj\node_modules\puppeteer\install.js:64:16)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'storage.googleapis.com',
  host: 'storage.googleapis.com',
  port: 443 }
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\myuser\AppData\Roaming\npm-cache\_logs\2019-06-13T07_48_48_478Z-debug.log

Experiencing the same on Ubuntu 16.04 node v10.10.0
npm install puppeteer --save-dev

<EMAIL_ADDRESS>install /home/k34250/dev/landingsside-frontend/node_modules/puppeteer
node install.js

ERROR: Failed to download Chromium r662092! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1049:34)
at TLSSocket.emit (events.js:182:13)
at TLSSocket._finishInit (_tls_wrap.js:631:8)
-- ASYNC --
at BrowserFetcher. (/home/k34250/dev/landingsside-frontend/node_modules/puppeteer/lib/helper.js:110:27)
at Object. (/home/k34250/dev/landingsside-frontend/node_modules/puppeteer/install.js:64:16)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:279:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:696:3) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }
npm WARN<EMAIL_ADDRESS>requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/react-scripts/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/k34250/.npm/_logs/2019-06-13T10_17_01_823Z-debug.log

same problems

Has this problem been solved? I also have this problem.

mark

sudo npm install puppeteer --unsafe-perm=true

same issue :((


JW/cart/scrum3 - webpack

update webpack and server.js file to direction all urls with /api to localhost 3000
install mui file

Great job! BM


Add Brotherhood support.

This commit adds the following:

BH player buff tracking inside ROF
BH drift inside ROF
BH rotation for non-ROF usage

Example new RoF table:

Will make a log sometime this weekend to show what the other Brotherhood table looks like.
BH Table when completely out of RoF Window:

Log: https://www.fflogs.com/reports/jCpDa7AWdgL9H6Xw
Addresses part of #1303

Made an example log and updated the original post with the screenshot and a link to the log


Add Makefile target for running unit tests in containers

Adds test_container Makefile target for running tests locally in
containers. This way tests can be run on all the different versions
locally.
Run make test_container to run tests in container. By default rhel8
container is used. This can be changed by setting TEST_CONTAINER
environment variable.
There is also test_container_all target which runs tests in all
available containers.
Available containers are rhel7, rhel8, rhel9.
Run make clean_containers to cleanup container images.
Containerfiles in /res/container-tests/ are reused. This means that
pip installs test dependencies on every run. However this doesn't seem
like a significant slowdown. In future caching could be added at the
cost of creating different Containerfiles.
Building new image on every run also doesn't take too long thanks to
podmans caching.
Tests in containers use a different virtualenv testenv, which is
removed before running test to avoid conflicts between individual
containers.
Jira ref: OAMG-6965

Can one of the admins verify this patch?

@matejmatuska
make test_container
Error: unknown flag: --env
make: *** [Makefile:153: test_container] Error 125


Support branch "create" action

https://github.com/drone/drone/issues/2685
Discussion: https://gitter.im/drone/drone?at=5ff5c66acd31da3d9a961645

As @bradrydzewski pointed out, no need to add a new field to know if a branch has been created. We can do that by checking if the before commit is empty. Updated my PR.

As @bradrydzewski pointed out, no need to add a new field to know if a branch has been created. We can do that by checking if the before commit is empty. Updated my PR.

Hi @quantonganh i am unsure of this newly added behaviour, as it changes what existing drone users would expect. To move this forward in an open way i would suggest adding a proposal here https://github.com/drone/proposal. So we can design with the rest of the community what the behaviour should be and if the community as a whole needs this functionality.
For now i am going to close this PR. Thank you for your submission and the time and effort you have put in.


Fixed a compile error caused by a simple name change

Agent-side changed one of the message names; no other changes were needed
Test plan
Locally tested.

I am rolling the Cody commit to pull in the upstream change this fix depends on.


Weird Warnings and Errors Appear is this supposed to happen or it might be because im using Stability Matrix is there a way to get rid of these warnings

WARNING:[auto-llm]:[][AutoLLM][getReq][llm_text_ur_prompt]A superstar Flirting on stage.
WARNING:[auto-llm]:[][AutoLLM][getReq][Header]{'Content-Type': 'application/json', 'Authorization': 'Bearer lm-studio'}
WARNING:[auto-llm]:[Auto-LLM][][]Req URL=> http://localhost:1234/v1/chat/completions
D:\Stability Matrix\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-decadetw-auto-prompt-llm\scripts\auto_prompt_llm.py:595: GradioDeprecationWarning: unexpected argument for Image: lines
llm_text_ur_prompt_image_eye = gr.Image(label="2. [Your-Image]", lines=1, type='pil')

Gradio 4.40

yea i probably did thanks


Retry creating KVM VMs if the respective ioctl failed.

Found that on c6.metal instances with -c 192, I was seeing panics due to KVM not keeping up with the VMs snapchange spins up.
The problem is that a SIGALRM can be raised while the main thread attempts to do an ioctl with KVM_CREATE_VM, which then returns EINTR and subsequently causes a panic.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This looks fantastic! Thanks for fixing this condition.


IT Service Legend not populating

Describe the bug
When generating an SLA Service report the value '{item="", item_key=""}' is shown instead of something more meaningful
Expected behavior
Would expect more exact information would be provided: id expect some value like the IT Service name of the SLA metric or something a little more better
Screenshots
If applicable, add screenshots to help explain your problem.

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

v8.5.2 (90701be19) - Enterprise
5.4.11
4.2.8 & 4.2.7

Hi! Yes, looks like data frame missing that information.


Function last_over_time

We are managing IoT with Prometheus in a federated way and it works brilliant. However there's still some problem with Staleness. Our retranslator nodes have unstable connectivity and it's expected to loose connectivity to those. When it happens, the latest value immediately gets marked with a tombstone and it's a great solution in general. This function however is intended for use in more complicated cases where unreliability is expected to a certain degree. E.g. by running last_over_time(metric[1h]) you are allowing a monitored node (federated Prometheus in our case) to go offline for up to 1 hour. Since it's a very explicit way to override staleness we believe it's a good addition to the built-in vector aggregation family.
Please note that we have read tons of discussions in this regard and we are aware of pushgateway and general staleness concept (nodes should have reliable connection and such) however all those ways require sidecars or intermediate retranslators for 0 reason. For instance, we are working with fish farms and they can't have good connectivity. Also because of physical limitation, the IoT gateway node has to be in the field as well. Currently we implemented a workaround by tunneling data to pushgateway via AMQP but that's really too much :).
P.S. Prometheus is amazing guys!

The general Prometheus approach is that if a target is down that much, you have bigger problems. Not wishing to run a sidecar is not a sufficient reason to add features to PromQL, particularly for something that's not typical local metrics scraping use case.
I suspect something like Influx may be a better choice here.

This approach doesn't always fit reality though. Different federation architectures and use-cases often let a node to be offline for certain periods. It makes me wonder why do you choose to ignore them and suggest hugely more sophisticated workaround (hack?) instead of just letting people explicitly decide which case is theirs?
I understand there's always a supporting price and effort involved but in scope of existing average functions - whatever you will rewrite executor to, implementation of this method will never be complex, right? Just math :).

We can't make everyone happy, without also in the process making things so complicated that it makes everyone unhappy. Prometheus is explicitly not an event logging system, so features like this which are solely to serve such use cases are not likely to be accepted.
This sounds closest to a batch job use case, and there's already things like the pushgateway for that.

I love that we are making the same arguments and go to polar conclusions :). This a very common use-case from reality which add 0 complexity, that's exactly my point. However it's your monumental work and it's up to you to decide. If the idea is that you want to entirely ignore the cases with unstable federation branches - I get it. Thanks for checking this out anyway :).

Every additional function is complexity and cognitive overhead for users. I don't think that knowing what a metric was an hour ago is useful, considering you've a major network outage to deal with first.

Since I saw similar requests here and there on internet, sharing some experience to everyone struggling with the same situation. Here are some workarounds (in order of how bad they are - best first):
Grafana
Just don't user alertmanager. Use alerts from Grafana over Prometheus serving as a data source. It's one more service to support but way more flexibility with alerting. And you get dashboards for free :).
Sidecar push-service
Instead of direct Prometheus -> Prometheus federation, you need to write a small service that polls required metrics at edge Prometheus and sends it to a central Pushgateway. The good thing with this is that you get push-based data gateway out of box.
Proxy over unreliable metrics sources
Query metrics via intermediate service that "hides" timeouts and connection errors so metrics don't go stale.

Just don't user alertmanager. Use alerts from Grafana over Prometheus serving as a data source.

That doesn't sound right, if Prometheus doesn't have the data then Grafana doesn't either. As far as is possible alert from the Prometheus that is scraping the data, not Prometheus servers up the federation hierarchy. The AM's design will tolerate network outages gracefully, as long as you can get to one that can still get to the internet.

The proble is not absense of data. The problem is that Prometheus doesn't have a way of getting last effective value in, say, one hour. And Grafana can. Prometheus returns NaN as soon as it hits tombstone and there's no way around it. Once there's a problem with connectivity to edge node, the latest value is empty. With Grafana you can load a period vector (which ignores staleness tombstones) and use additional filtering at Grafana level.
And yes, it doesn't sound right. Right way would be to have a simple way to get last known value ignoring tombstones straight on Prometheus. That's what this PR was :D.

@brian-brazil imagine this. You have 100 edge nodes that are online for 60% of time. And the connection is constantly going up and down. Now there's a incident on one of those nodes. Next time this node goes offline for 1 minute, Prometheus can't poll it and resolves the incident. Then it goes online and incident pops up again. This is extremely misleading and spammy. And you can't do anything if you are on Prometheus and AlertManager only.

You could also use recording rules
record: last_value
expr: label_replace{job="fish",
name!="last_value"},"orig_name","$1","name","(.+)") or
last_value{job="fish"}
Or if you know your important metrics it is a lot easier:
record: last_metric
expr: metric or last_metric
Le sam. 28 déc. 2019 à 18:06, Boris Staal<EMAIL_ADDRESS>a
écrit :

@brian-brazil https://github.com/brian-brazil imagine this. You have
100 edge nodes that are online for 60% of time. And the connection is
constantly going up and down. Now there's a incident on one of those nodes.
Next time this node goes offline for 1 minute, Prometheus can't poll it and
resolves the incident. Then it goes online and incident pops up again. This
is extremely misleading and spammy. And you can't do anything if you are on
Prometheus and AlertManager only.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/6530?email_source=notifications&email_token=AACHHJV5BOXETYSS7X3PQYTQ26BRTA5CNFSM4KANEGD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHYNZVY#issuecomment-569433303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACHHJXITSHHRTX23XN5UZLQ26BRTANCNFSM4KANEGDQ
.

the above recording rule makes things more complex and wont help in all cases.
last_over_time is just like max_over_time or absent_over_time, simple and straight forward.
It's less complex than using above complex recording rules.
In some cases, there are choices to get rid of fall back behaviors like doing detections by querying metrics out from prometheus.

@brian-brazil @roidelapluie

I'd personaly be open to review the conclusion of this based on the fact that I did need this ; I found a workaround with recording rules (but that is not possible with subqueries) & that this is has been asked multiple times by the community.

Let's revisit this if you are interested. I think that your implementation could be reviewed because PromQL would not receive stale NaN's, which would mean that you do not need to fiter out NaN's as they are actual NaN's. PromQL would also receive values ordered by timestamp, so you could just take the last value (I will check this).

This is being worked on in #8457


Mercury leaking memory after a fork()

Describe the bug
I have a program that does a fork() after having initialized an hg_class and an hg_context (in the real scenario the child immediately destroys the class and context, before creating new ones that it can start using). When the parent destroys its class and context and terminates, with address sanitizer enabled, I see that it is leaking a bunch of things out of Mercury functions.
To Reproduce
Here is an example code, to compile with CFLAGS="-fsanitize=address -fno-omit-frame-pointer" and LDFLAGS="-fsanitize=address -fno-omit-frame-pointer":
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <mercury.h>
#include <sys/wait.h>

int main(int argc, char** argv) {
      hg_class_t* hg_class = HG_Init("na+sm", false);
      hg_context_t* hg_context = HG_Context_create(hg_class);
      pid_t pid = fork();
      if(pid != 0) {
          waitpid(pid, NULL, 0);
      }
      HG_Context_destroy(hg_context);
      HG_Finalize(hg_class);
      return 0;
}

If you run with ASAN_OPTIONS="log_path=asan.log" you will get an asan.log.XXXX file where XXXX is the pid of the parent (the child doesn't seem to be leaking memory, but if you want to confirm that, simply add an else clause for the child and make it segfault, you will end up with another asan.log.YYYY for it).
Expected behavior
I would expect Mercury not to leak memory.
Platform (please complete the following information):

System description
Compiler version: gcc 12.3.0
Plugin and protocol used: na+sm (also tested with ofi_tcp;ofi_rxm)
Dependency version 1.18.1

Actually the process that leaks memory is whoever finalizes second. Here is an example where the child is the one finalizing second:
if(pid != 0) {
          HG_Context_destroy(hg_context);
          HG_Finalize(hg_class);
          waitpid(pid, NULL, 0);
} else {
          sleep(1);
          HG_Context_destroy(hg_context);
          HG_Finalize(hg_class);
}

I don't see anything being generated from asan on my machine... and I compiled mercury with CMAKE_BUILD_TYPE=Asan

Closing for now, please re-open if you see any more issues.


Prevent players from setting invalid lane arrows

Description
Players should not be able to set lane arrows that do not point to an outgoing segment.
For example, in issue #361 the player mistakenly used straight lane arrows where the angle between the 4-lane highway and 8-lane road with median requires a right pointing arrow.
Technical Info

Lane arrow logic is one of the features that is still handled by the legacy Flags class. We could use this opportunity to move the code to LaneArrowManager.
LaneArrowManager:

Implement logic to check which kind of lane arrows may be set for a given segment end
Implement logic to correct invalid lane arrows
Make ToggleLaneArrows() call SetLaneArrows()
SetLaneArrows(): Check if the intended lane arrow is valid
HandleValidSegment(): (gets called when a segment is updated) Make sure that old lane arrows are valid. If not, call correction code.

LaneArrowTool: Disable/Remove invalid lane arrow toggle buttons

It would be nice if when user is changing lane arrows we also show the lane connector lines, so they can see precisely what lane connections are being made based on their arrow settings.
IMO in all cases the lane arrows should really just be setting the lane connectors, and then lane routing at every node is purely based on lane connectors all the time = less branching. It would mean pathfinder, etc., only ever needs to consider the lane connections; all uncustomised nodes would be given default lane connections (and a flag stating that they are not user-defined) so 100% of lane routing is connection based.

Lane arrows and lane connections have different semantics. Lane arrows are thought to be less restrictive. Lane connections on the other hand cannot be ignored by vehicles. Thus, as of now you cannot represent lane arrows as lane connections.
Some use cases for "soft" lane arrows which cannot be covered by lane connections currently:

the player can set that busses may ignore lane arrows if necessary
Vehicles must be able to ignore lane arrows when they set off (think of a cemetery which is placed next to a junction)

I also think that showing so many lane connections would clutter the UI.

On complex junctions, where there are say 6 segments connected to a node, some at strange angles, it is often difficult to discern precisely where traffic will go based on lane arrows alone. For precisely this reason I no longer use lane arrows feature and instead always use lane connectors feature.
In terms of cluttering UI, this would not be an issue if only the 'active lane' gets the connector line display. For example, user hovers the lane arrow panel for lane X, only the lane connectors for lane X are shown.
Lane arrows then become just a quick alternate way of setting lane connectors.

And, with everything now using lane connections the pathfinder & vehicle AIs have a single source of truth for routing through nodes.

On complex junctions, where there are say 6 segments connected to a node, some at strange angles, it is often difficult to discern exactly where traffic will go based on lane arrows alone. For precisely this reason I no longer use lane arrows feature and instead always use lane connectors feature.

Yes, lane connections are better suited for complex junctions. But setting lane arrows requires less clicks.

In terms of cluttering UI, this would not be an issue if only the 'active lane' gets the connector line display. For example, user hovers the lane arrow panel for lane X, only the lane connectors for lane X are shown.

:+1:

And, with everything now using lane connections the pathfinder & vehicle AIs have a single source of truth for routing through nodes.

Path-finder already has a singe source of truth! Let me explain:
Both lane arrows and lane connections are already translated into another data structure called "lane transition". The transformation is done by RoutingManager and path-finding is only dependent on lane transitions. From a logical point of view lane transitions look very similar to lane connections: They "connect" two lanes with each other. But they also carry more information:

Lane transitions are directed (where lane connections are undirected)
They hold a property called type which describes whether a transition may be used by certain vehicles:

Default transitions can be used by all vehicles. They normally come from set lane arrows and simple transitions between segments.
LaneConnection transitions have equal semantics like Default transitions. They are created for every lane connection.
Relaxed transitions can only be used by reckless drivers, emergency vehicles on duty and when a car sets off (at the first segment only).

To sum it up, lane transitions could be drawn as they were lane connections in the lane arrow tool. And probably also in the lane connector tool.
It would be great if the lines that represent lane transitions could have a distinct style, maybe as dashed arrows?

The plan was to use thin white lines for arrow-based connections transitions, and thicker coloured lines for connector-based connections transitions.

When applying lane arrows, only the current lane transitions would be shown. When applying lane connectors, all transitions would be shown but with any arrow-based transitions in the thin white style.

For details of work on updated color scheme, see: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/287
For details of work on updated rendering, see: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/pull/282
For general overview of ideas regarding lane transitions, see: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/41

On the existing routing manager stuff for lane transitions, are there flags denoting things like u-turns applied either via mod option or junction restriction?

No, but we can add new transition types for these

There's also the "lane change at junctions" thing too. I guess that would just alter the arrow-based transitions and thus be reflected in the lines drawn for those.

This is going to be a hell of arrows. xD

I like the idea of the arrows. The one reason I (like Aubergine) never use the lane arrows tool is that I can't see which roads it means. As you might be able to see in the top right of this image (it was taken for a different purpose) both arrows on Charles Street point right, because it understands the medium industrial road it connects to as also being a right turn instead of straight. (Another thing that would be nice is to force arrows, e.g. tell the game that yes, that road does in fact lead straight into the other one, even if it automatically shows the junction as being a right turn.

Currently the lane arrows can't be changed if lane connection lines were added. It might be nice if, when lane connectors are present, the arrows can be visually changed but have no effect on the lane routing?

Currently the lane arrows can't be changed if lane connection lines were added. It might be nice if, when lane connectors are present, the arrows can be visually changed but have no effect on the lane routing?

It might be a helpful workaround, yes.

It would be nice if we had separate issues for your feature requests such that we can track and work on them separately.

Pretty much the whole thread is about feature requests; might be easier to copy OP to new issue?

I can have a look and maybe move some of mine in a bit... got to catch a train atm though.

From #391:

@aubergine10 the #391 will prevent players from setting invalid lane arrows
BUT
if the player moves the other segment end, so that it falls into a different quarter of the circle, the arrows might stop working, does Move It! mod and the game handle that? I hope so.

No it doesn't - TM:PE should ideally detect any changes to the roads (eg, moving, adding, bulldozing, etc) and maybe flag up with an overlay to indicate if settings have become broken as a result?
Quboid is in the Skylines.code discord so you can ask directly if you need any infos on Move It mod.


How to calculate in runtime the memory each IValue takes?

We need to report in runtime the memory each IValue takes.
What is the best way to calculate its overhead, even ignoring the IString intern?

The amount of memory directly owned by an IValue depends on the type:

Null (none)
Boolean (none)
Number (depends on the value)
String (interned)
Non-empty array ((capacity of array + 2) * pointer size)
Non-empty object ((capacity of object * 3 + 2) * pointer size)
Empty array/object (none)

(Here, "empty" refers to having capacity = 0, not the length)
For Number:

If has_decimal_point() is true (16 bytes)
Else if in the range -128..=383 (none)
Else if can be represented in 24 bits (4 bytes)
Otherwise (16 bytes)

To calculate the full cost of an IValue you'd need to do this recursively.
There's no guarantee that these won't change in future.

OK, I see that I wrong...

Do you think we can add such function to the library so it will be future compatible?

Maybe if it's behind a feature flag? It's kindof niche, and it's not a very well-defined metric.

Else if in the range -128..=383 (none)

I think I get -128==i8.MIN
Can you explain the =383?

-128 + 512 = 384
SInce the upper bound is exclusive, the maximum possible value is 383.
This range was chosen because the size of the range is a power of two and it covers all i8 or u8 values. I could have gone from -256..=255 instead, but I figured the positive values were more useful.

@Diggsey can you please review the changed in https://github.com/RedisJSON/RedisJSON/pull/912


Harmonize xsd:date and xsd:dateTime in source file

Fixed with https://github.com/FAIR-IMPACT/MOD/commit/3aa1fd29a61ada4db1a421be22d52ffcdd51585c


Add status badge to README

This PR shows that the previewing actions are working correctly since merging #367


MATLAB: Not Connected

I installed the MATLAB extension for VSCode on macOS. However, I cannot run any MATLAB script. It opens a new terminal and blanks out.
I also observe that in the bottom panel it shows "MATLAB: Not Connected". If I click on it and try to "Connect to MATLAB", nothing happens. My MATLAB path is correct. I tried re-installing with no success. I am using MATLAB version R2023B.

Thanks for reporting this!
In the Output panel in VS Code (selecting "MATLAB Language Server" from the dropdown), a log directory is printed. Please share the log files within this directory.

I should point out that I tried the extension with the R2024a pre-release. IT WORKS as is!
Could it be just a version issue? I haven't tried with other version.

I had this exact problem, and my MATLAB window would hang forever, and the log directory would be essentially empty, except for one file with the only two lines:
(08:53:49) matlabls: Log Directory: C:\Users\Username\AppData\Local\Temp\matlabls_7652
(10:06:57) matlabls: Launching MATLAB...
I fixed it by NOT using the New Desktop feature, now VS Code connects quickly to MATLAB and I do not have errors saying that "This feature is not available without MATLAB running."
I hope this can narrow down the issue and provides a workaround for now

@sohaildasgupta - a few clarifying questions -

What version of the extension do you have installed?
What architecture is your Mac (maca64 or maci64)?
Do you have any problems launching R2023b normally?
If you navigate to the same directory for your R2024a pre-release installation, do you see a maci64 or a maca64 directory?

This strikes me as an issue with the MATLAB installation.

Sorry to chime in on this conversation, but I would like to support @Snaptraks argument with a similar experience:
I installed 2024a (<IP_ADDRESS>7033) today using the Apple Silicon installer, enabled the new desktop after launch, and correctly updated my install path but Matlab would just not connect. After going back and disabling the new desktop the connection occurs pretty rapidly and I can run scripts using the "Run File" command no problem.

Thanks for your feedback and continuous usage of our extension!
just to clarify, if you have connection issues and using our extension with the "New MATLAB Desktop", please refer to https://github.com/mathworks/MATLAB-extension-for-vscode/issues/24 for the latest status.

I am having a similar issue running matlab version 2023a on my mac, the difference is I am running the intel version of matlab.   I have a program that can only communicate with matlab via the intel version, as a result I can not run the arm version of matlab.  Is there a way to get the vs code extension to work on an M2 mac using the intel version of matlab?

The Intel Version of MATLAB works, if you use a MATLAB Version that was released before the arm specific version (MATLAB_R2023a).


Can you create and manage tags via PowerShell

Please an you specify in the document whether you can create, update and delete tags via PowerShell or whether it has to be managed via the Teams admin centre

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

ID: b16e659e-cf07-268a-e224-fa444749ac29
Version Independent ID: ee822a8d-b331-998f-e336-b1fa510f35c0
Content: Manage tags in Microsoft Teams - Microsoft Teams
Content Source: Teams/manage-tags.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@nikki-c  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@nikki-c thank you for reaching out. Please have a look at this link and let me know if it helps - https://docs.microsoft.com/MicrosoftTeams/teams-powershell-overview

Lindsay. The links adds no value it point to the PowerShell home page.
I am trying to find which is cmdlet can asset up the organisation wide tags. I can add Tags direct in the Teams Admin Centre but can find no reference to it in PowerShell. I had looked through all New-csTeams… cmdlets and can’t seem to find any mention of tags. If you cant manage  tags for your organisation via PowerShell it should be stated on the page. If you can manage via PowerShell the page to link to the correct PowerShell page
Nikki Chapple
Organisational Change Manager
United Kingdom | Cloud Communications
NTT
T:
+442080800656
M:
+447500766185
E:
n.chapple<EMAIL_ADDRESS>NTT Cloud Communications UK Ltd. is an entity of NTT Ltd.
[cid:image001.jpg@01D6AB9C.79BBB180]https://arkadin.com/<EMAIL_ADDRESS>https://twitter.com/arkadinservices#xd_co_f=MDgwMzM4NzQtY2Y5Mi00YTEyLWIxMGQtODQwNWIxMzhiZDgz~<EMAIL_ADDRESS>https://www.linkedin.com/company/arkadin/<EMAIL_ADDRESS>https://www.facebook.com/ArkadinCloudComm<EMAIL_ADDRESS>https://www.instagram.com/globalntt/<EMAIL_ADDRESS>https://www.youtube.com/user/ArkadinConference
[cid:image013.jpg@01D6AB9C.79BBB180]http://www.arkadin.com/
From: Lindsay<EMAIL_ADDRESS>Sent: 26 October 2020 13:17
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Nikki Chapple<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Can you create and manage tags via PowerShell (#6048)
@nikki-chttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nikki-2Dc&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=NBKeRr5c9084Dolwotb0qB27kMmXtiTgGemEHh-JKQk&s=TR1VILuCE-xLoG9i9UX4BWu95gRvR_LQCXfnPROmS6s&e= thank you for reaching out. Please have a look at this link and let me know if it helps - https://docs.microsoft.com/MicrosoftTeams/teams-powershell-overview https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_MicrosoftTeams_teams-2Dpowershell-2Doverview-2520&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=NBKeRr5c9084Dolwotb0qB27kMmXtiTgGemEHh-JKQk&s=sIolGLD5AkjFbBwX_YvhUEXNJRFARwEVlUm0Z0gjiRY&e=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_OfficeDocs-2DSkypeForBusiness_issues_6048-23issuecomment-2D716539001&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=NBKeRr5c9084Dolwotb0qB27kMmXtiTgGemEHh-JKQk&s=mem4TBh1luk7DJvPw52CizYNEmpEKnxhvAkNKWtO-K0&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQRY4GWANC2KXHBBR7SSWVLSMVZFHANCNFSM4S45CFNQ&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=NBKeRr5c9084Dolwotb0qB27kMmXtiTgGemEHh-JKQk&s=Nuu24ofJNxuaeOX9frk7OEKe9jSAN4GDSVfS7sIJ_kw&e=.

Hi @nikki-c I have researched a bit more and it doesn't seem to be available yet. Please see the list of cmdlets here - https://docs.microsoft.com/powershell/teams/ Please also see Uservoice to add your voice/vote - https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41561500-create-and-assign-tags-using-powershell

Lindsay Please can you add a note on the page in the section about tags to state that they cannot be managed via PowerShell. It will save ither people time going though all the PowerShell commands trying to find something that is not there.
Thanks
Nikki
Nikki Chapple
Organisational Change Manager
United Kingdom | Cloud Communications
NTT
T:
+442080800656
M:
+447500766185
E:
n.chapple<EMAIL_ADDRESS>NTT Cloud Communications UK Ltd. is an entity of NTT Ltd.
[cid:image001.jpg@01D6ADD8.9C4224D0]https://arkadin.com/<EMAIL_ADDRESS>https://twitter.com/arkadinservices#xd_co_f=MDgwMzM4NzQtY2Y5Mi00YTEyLWIxMGQtODQwNWIxMzhiZDgz~<EMAIL_ADDRESS>https://www.linkedin.com/company/arkadin/<EMAIL_ADDRESS>https://www.facebook.com/ArkadinCloudComm<EMAIL_ADDRESS>https://www.instagram.com/globalntt/<EMAIL_ADDRESS>https://www.youtube.com/user/ArkadinConference
[cid:image007.jpg@01D6ADD8.9C4224D0]http://www.arkadin.com/
From: Lindsay<EMAIL_ADDRESS>Sent: 29 October 2020 07:29
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Nikki Chapple<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Can you create and manage tags via PowerShell (#6048)
Hi @nikki-chttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nikki-2Dc&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=o7GQlEI6ORShY7w_1TdBjrx6SmIZIUIJw-ha-2LrkzQ&e= I have researched a bit more and it doesn't seem to be available yet. Please see the list of cmdlets here - https://docs.microsoft.com/powershell/teams/https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_powershell_teams_&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=1LYY6_kg2BL_TgpJyx2sC6onuwESg8GFUX2uLQOpgXI&e= Please also see Uservoice to add your voice/vote - https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41561500-create-and-assign-tags-using-powershellhttps://urldefense.proofpoint.com/v2/url?u=https-3A__microsoftteams.uservoice.com_forums_555103-2Dpublic_suggestions_41561500-2Dcreate-2Dand-2Dassign-2Dtags-2Dusing-2Dpowershell&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=0WkJ0D3_S_RnCxChO-1jXJXASKL5jcYXWos2s8hTYWw&e=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_OfficeDocs-2DSkypeForBusiness_issues_6048-23issuecomment-2D718421218&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=V5d-DxlI8A9UqDsPoBTnxwgNtXTQ1_2nxk2LMzCER5Y&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQRY4GVDJMG7SSIVRMP6RMTSNEKS3ANCNFSM4S45CFNQ&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=nINcKKsMo_YV1F3JF2_BttsD65jr9W1H5Rd90Rx6Xgw&e=.

Lindsay Please can you add a note on the page in the section about tags to state that they cannot be managed via PowerShell. It will save ither people time going though all the PowerShell commands trying to find something that is not there. Thanks Nikki Nikki Chapple Organisational Change Manager United Kingdom | Cloud Communications NTT T: +442080800656 M: +447500766185 E: n.chapple<EMAIL_ADDRESS>NTT Cloud Communications UK Ltd. is an entity of NTT Ltd. [cid:image001.jpg@01D6ADD8.9C4224D0]https://arkadin.com/<EMAIL_ADDRESS>https://twitter.com/arkadinservices#xd_co_f=MDgwMzM4NzQtY2Y5Mi00YTEyLWIxMGQtODQwNWIxMzhiZDgz~<EMAIL_ADDRESS>https://www.linkedin.com/company/arkadin/<EMAIL_ADDRESS>https://www.facebook.com/ArkadinCloudComm<EMAIL_ADDRESS>https://www.instagram.com/globalntt/<EMAIL_ADDRESS>https://www.youtube.com/user/ArkadinConference [cid:image007.jpg@01D6ADD8.9C4224D0]http://www.arkadin.com/ From: Lindsay<EMAIL_ADDRESS>Sent: 29 October 2020 07:29 To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Nikki Chapple<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Can you create and manage tags via PowerShell (#6048) Hi @nikki-chttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nikki-2Dc&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=o7GQlEI6ORShY7w_1TdBjrx6SmIZIUIJw-ha-2LrkzQ&e= I have researched a bit more and it doesn't seem to be available yet. Please see the list of cmdlets here - https://docs.microsoft.com/powershell/teams/https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_powershell_teams_&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=1LYY6_kg2BL_TgpJyx2sC6onuwESg8GFUX2uLQOpgXI&e= Please also see Uservoice to add your voice/vote - https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41561500-create-and-assign-tags-using-powershellhttps://urldefense.proofpoint.com/v2/url?u=https-3A__microsoftteams.uservoice.com_forums_555103-2Dpublic_suggestions_41561500-2Dcreate-2Dand-2Dassign-2Dtags-2Dusing-2Dpowershell&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=0WkJ0D3_S_RnCxChO-1jXJXASKL5jcYXWos2s8hTYWw&e= — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_OfficeDocs-2DSkypeForBusiness_issues_6048-23issuecomment-2D718421218&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=V5d-DxlI8A9UqDsPoBTnxwgNtXTQ1_2nxk2LMzCER5Y&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQRY4GVDJMG7SSIVRMP6RMTSNEKS3ANCNFSM4S45CFNQ&d=DwMCaQ&c=aj9Ha5yMZahcf_BRtDCWCQ&r=4X2LVoiHgkiOrp6R0STYhhu-lNwIEFUDxBQBmnoeGu4&m=5JPW34_SqcrmI03eX8o93UF915OOSODBymhOjQUX-jg&s=nINcKKsMo_YV1F3JF2_BttsD65jr9W1H5Rd90Rx6Xgw&e=.

Thanks @nikki-c I have done a PR to add this note. It should reflect in a few days. Thanks again for your help.

@nikki-c, thanks for your feedback. We've updated the article to reflect that currently, you can't use PowerShell to manage tags.


Add TraitThingIFAPIBuilder and part ofTraitThingIFAPI

Add TraitThingIFAPI for using trait.
Add some methods of ThingIFAPI to TraitThingIFAPI. These methods has the same implementation, so just call the same method of ThingIFAPI instance.
Refer https://github.com/KiiPlatform/thing-if-iOSSDK/pull/244
Add Builder to create instance of TraitThingIFAPI

Out of scope

command methods in TraitThingIFAPI
trigger methods in TraitThingIFAPI
state methods in TraitThingIFAPI
not tests (since it is in design phase)

@shinsuke-nara please confirm the commits

@yongpingchen LGTM! Please merge after circle ci build.


ptxas version issue

Running the following code snippet and getting an error:
import jax
from jaxopt import GradientDescent

jax.devices('cpu')

def f(x):
    return x**2

opt = GradientDescent(fun=f, stepsize=0.1, maxiter = 100, verbose = True, value_and_grad=False)

opt.run([3])

---------------------------------------------------------------------------
XlaRuntimeError                           Traceback (most recent call last)
Cell In[1], line 12
      7     return x**2
     10 opt = GradientDescent(fun=f, stepsize=0.1, maxiter = 100, verbose = True, value_and_grad=False)
---> 12 opt.run([3])

File ~/.local/lib/python3.10/site-packages/jaxopt/_src/base.py:255, in IterativeSolver.run(self, init_params, *args, **kwargs)
    248   decorator = idf.custom_root(
    249       self.optimality_fun,
    250       has_aux=True,
    251       solve=self.implicit_diff_solve,
    252       reference_signature=reference_signature)
    253   run = decorator(run)
--> 255 return run(init_params, *args, **kwargs)

File ~/.local/lib/python3.10/site-packages/jaxopt/_src/implicit_diff.py:251, in _custom_root.<locals>.wrapped_solver_fun(*args, **kwargs)
    249 args, kwargs = _signature_bind(solver_fun_signature, *args, **kwargs)
    250 keys, vals = list(kwargs.keys()), list(kwargs.values())
--> 251 return make_custom_vjp_solver_fun(solver_fun, keys)(*args, *vals)

    [... skipping hidden 5 frame]

File ~/.local/lib/python3.10/site-packages/jaxopt/_src/implicit_diff.py:207, in _custom_root.<locals>.make_custom_vjp_solver_fun.<locals>.solver_fun_flat(*flat_args)
    204 @jax.custom_vjp
...
    469 # TODO(sharadmv): remove this fallback when all backends allow `compile`
    470 # to take in `host_callbacks`
--> 471 return backend.compile(built_c, compile_options=options)

XlaRuntimeError: FAILED_PRECONDITION: Couldn't get ptxas/nvlink version string: INTERNAL: Couldn't invoke ptxas --version

How did you install JAX? pip command line?
What is your environment/container?
XLA need ptxas and it doesn't find it. So maybe it isn't installed, or it is installed at a place that XLA doesn't find.

Fix below
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html


include new dirctory layout for openjdk8

JOB: https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/standalone_create_installer_windows/59/

JOB JDK12 nightly: https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/standalone_create_installer_windows/62

JOB JDK12 official https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/standalone_create_installer_windows/64/


Add isNamespaced flag to values.yaml and update related templates and code

Type
Enhancement, Tests

Description

Added support for running the application in a namespaced environment. This is controlled by a new flag isNamespaced in values.yaml.
Updated the main application and the rule binding store to use a new environment variable STORE_NAMESPACE to store the namespace.
Updated the Helm templates to support running in a namespaced environment.
Added a new GitHub Actions workflow for running system tests in a namespaced environment.
Updated the tests for the rule binding store to reflect the changes.

Changes walkthrough
Relevant filesEnhancement2 files

main.goAdded namespace support in main.go

cmd/main.go

Added a new environment variable STORE_NAMESPACE to store the   namespace.
Updated the NewRuleBindingK8sStore function call to include  storeNamespace.

+7/-1

store.goAdded namespace support in rule binding store

pkg/rulebindingstore/store.go

Added storeNamespace to the RuleBindingK8sStore struct.
Updated the NewRuleBindingK8sStore function to accept  storeNamespace as an argument.
Updated the StartController function to use storeNamespace when   creating the informer.

+7/-2

Tests3 files

store_test.goUpdated tests for rule binding store

pkg/rulebindingstore/store_test.go

Updated the NewRuleBindingK8sStore function calls in the tests to   include an empty string for storeNamespace.

+4/-4

ci.yamlAdded validation for namespaced Helm template in CI workflow

.github/workflows/ci.yaml

Added a new step to validate the namespaced Helm template.

+4/-0

namespaced-system-tests.yamlAdded namespaced system tests workflow

.github/workflows/namespaced-system-tests.yaml

Added a new GitHub Actions workflow for running system tests in a   namespaced environment.

+149/-0

Configuration changes5 files

runtime-rule-binding.crd.yamlAdded namespaced support in CRD

chart/kubecop/crds/runtime-rule-binding.crd.yaml

Added conditional logic to set the scope of the CRD to Namespaced if  .Values.isNamespaced is true.

+4/-1

controller-statefulset.yamlAdded namespaced support in controller statefulset template

chart/kubecop/templates/controller-statefulset.yaml

Added a new environment variable STORE_NAMESPACE that gets its value   from the pod's namespace if .Values.isNamespaced is true.

+6/-0

deamonset.yamlAdded namespaced support in daemonset template

chart/kubecop/templates/deamonset.yaml

Added a new environment variable STORE_NAMESPACE that gets its value   from the pod's namespace if .Values.isNamespaced is true.

+6/-0

default-rule-binding.yamlAdded namespaced support in default rule binding template

chart/kubecop/templates/default-rule-binding.yaml

Added the namespace of the release to the metadata of the default rule   binding if .Values.isNamespaced is true.

+3/-0

values.yamlAdded namespaced flag in values.yaml

chart/kubecop/values.yaml

Added a new value isNamespaced and set it to true.

+2/-0

 ✨ Usage guide:
Overview:
The describe tool scans the PR code changes, and generates a description for the PR - title, type, summary, walkthrough and labels. The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on a PR.
When commenting, to edit configurations related to the describe tool (pr_description section), use the following template:
/describe --pr_description.some_config1=... --pr_description.some_config2=...

With a configuration file, use the following template:
[pr_description]
some_config1=...
some_config2=...

  Enabling\disabling automation

When you first install the app, the default mode for the describe tool is:

pr_commands = ["/describe --pr_description.add_original_user_description=true"
                         "--pr_description.keep_original_user_title=true", ...]

meaning the describe tool will run automatically on every PR, will keep the original title, and will add the original user description above the generated description.

Markers are an alternative way to control the generated description, to give maximal control to the user. If you set:

pr_commands = ["/describe --pr_description.use_description_markers=true", ...]

the tool will replace every marker of the form pr_agent:marker_name in the PR description with the relevant content, where marker_name is one of the following:

type: the PR type.
summary: the PR summary.
walkthrough: the PR walkthrough.

Note that when markers are enabled, if the original PR description does not contain any markers, the tool will not alter the description at all.

  Custom labels
The default labels of the describe tool are quite generic: [Bug fix, Tests, Enhancement, Documentation, Other].
If you specify custom labels in the repo's labels page or via configuration file, you can get tailored labels for your use cases.
Examples for custom labels:

Main topic:performance - pr_agent:The main topic of this PR is performance
New endpoint - pr_agent:A new endpoint was added in this PR
SQL query - pr_agent:A new SQL query was added in this PR
Dockerfile changes - pr_agent:The PR contains changes in the Dockerfile
...

The list above is eclectic, and aims to give an idea of different possibilities. Define custom labels that are relevant for your repo and use cases.
Note that Labels are not mutually exclusive, so you can add multiple label categories.
Make sure to provide proper title, and a detailed and well-phrased description for each label, so the tool will know when to suggest it.

  Inline File Walkthrough 💎
For enhanced user experience, the describe tool can add file summaries directly to the "Files changed" tab in the PR page.
This will enable you to quickly understand the changes in each file, while reviewing the code changes (diffs).
To enable inline file summary, set pr_description.inline_file_summary in the configuration file, possible values are:

'table': File changes walkthrough table will be displayed on the top of the "Files changed" tab, in addition to the "Conversation" tab.
true: A collapsable file comment with changes title and a changes summary for each file in the PR.
false (default): File changes walkthrough will be added only to the "Conversation" tab.

  Utilizing extra instructions
The describe tool can be configured with extra instructions, to guide the model to a feedback tailored to the needs of your project.
Be specific, clear, and concise in the instructions. With extra instructions, you are the prompter. Notice that the general structure of the description is fixed, and cannot be changed. Extra instructions can change the content or style of each sub-section of the PR description.
Examples for extra instructions:
[pr_description]
extra_instructions="""
- The PR title should be in the format: '<PR type>: <title>'
- The title should be short and concise (up to 10 words)
- ...
"""

Use triple quotes to write multi-line instructions. Use bullet points to make the instructions more readable.

  More PR-Agent commands

To invoke the PR-Agent, add a comment using one of the following commands:

/review: Request a review of your Pull Request.
/describe: Update the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback.
/ask <QUESTION>: Ask a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.
/add_docs 💎: Generate docstring for new components introduced in the PR.
/generate_labels 💎: Generate labels for the PR based on the PR's contents.
/analyze 💎: Automatically analyzes the PR, and presents changes walkthrough for each component.

See the tools guide for more details.
To list the possible configuration parameters, add a /config comment.

See the describe usage page for a comprehensive guide on using this tool.

@Bezbran Can you modify it to not be "store" specific but also applies to application profiles? Like, not just for rule bindings because I want to use this namespace also for application profiles storing.

@Bezbran Can you modify it to not be "store" specific but also applies to application profiles? Like, not just for rule bindings because I want to use this namespace also for application profiles storing.

I use "STORE_" to emphasize this is for all objects, not only binding...


hello

Description:
Describe your proposal.
Justification:
Justification or a use case for your proposal.
Are you willing to submit a PR?

Closed this issue as a spam


api: dedicated context management on VUI

Is your feature request related to a problem? Please describe.
Currently apps have to manually count on active contexts before invoking activity.exit, which obviously overloads simple apps to write duplicated codes to handle the conditions of concurrent contexts.
Describe the solution you'd like
By default activity.exit shall exit all contexts currently active, as it working now. A new parameter shall be added to activity.exit which indicates which context shall be exited and app shall be exited until all contexts are been evicted.
Describe alternatives you've considered
A context counter which managed by VUI with no new arguments added to activity.exit counts down on current remaining active contexts.

This has been achieved by the new package @yodaos/application, thanks @legendecas :)


Optional scrollOffset

There should be the possibility to add extra offset to the scroll. I'd need to skip the height of my top-navbar and I cannot add extra padding/margin-top to my html sections because of other plugins and parallax.
I've been reading of other developers looking for this option. Hope it helps.

:+1:

Well I'd be in favor of
var offset = $(target).offset().top + parseInt($(target).attr('data-offset'));

If you want to handle multiple screen sizes, you could allow data-offset to be an object in the following form:
{
  'default': 50,
  '>800': 70,
  '<1024': 60
}

This can be easily achieved with CSS, so we will not be adding an offset back to the JS.

scrollOffset should still be configurable with java script. Could you please undo the removal? Of course css solution should be prefered but its not really a nice solution for me. There should still be an option to use javascript.

I quote @MickL consideration, but if you guys think that a javascript configuration isn't needed no problem :)

How does the CSS solution not work for you?


Should this be Jan 22nd (Monday) not Jan 21st (Sunday)?

https://github.com/SciML/ModelingToolkitCourse/blame/4241ad9fc6f8fa69cb2cd71d37d5b77e9968d00d/README.md#L83

yes


Upgrading to Swift 4.2 for Xcode 10.2

Upgrading to Swift 4.2 for Xcode 10.2

Fixes https://github.com/react-native-community/react-native-text-input-mask/issues/107

@skb1129 Can you merge & release?

I don't have access.
@ivanzotov, can you help?

Any updates?

Anything??


DDC: language_2/label_test.dart: Helper.test7() fails with runtime error

Marked as RuntimeError in tests/language_2/language_2_dartdevc.status for now (https://dart-review.googlesource.com/c/sdk/+/4800).
Error thrown is SyntaxError: Label 'L' has already been declared when running the test using dartdevc.

Test:
https://github.com/dart-lang/sdk/blob/master/tests/language_2/label_test.dart

Closing since this passes on DDC now


Schema Migration Workflow Documentation (Minor and Major)

Add documentation in single-cell-curation and/or Data Platforms Team internal docs explaining steps for performing both minor and major schema migrations (including Ontology / GENCODE reference file version bumps, what GHAs to kickoff in what order, etc.)
So far we have relied on the outline in the initial tech spec for the project, but the workflow has evolved since and we should capture it in a more central location.
Tasks

[x] Update CELLxGENE Platform Technical Overview with migration system overview
[x] Document how the current schema migration process works

Documentation for how the current schema process works is here in Confluence! https://czi.atlassian.net/wiki/spaces/SCI/pages/2967797841/How+to+run+a+schema+migration
There are two places where @danieljhegeman will update with some of the ops he ran for the schema 5.0 migration.

Various edits and improvements
Updated the Confluence document with changes resulting from integration of COG to replace manual ontology updates in the curation repo.


fix: remove invalid keys on server start-up

- What I did

Remove malformed keys from the Keystore

Keys that start with "public:cached:" or IF equals "public:publickey".

- How I did it

Modify the _removeMalformedKeys method to remove the keys that starts with "public:cached:"
Add a config parameter "shouldRemoveMalformedKeys" which is set to false by default.
Setting it to true, will look for invalid keys and delete them on server start-up.

- Description for the changelog

Remove malformed keys on server start-up

Two things
(1) I made some changes and pushed a commit to the branch: refactor: Changed some newly-added variable names, env variable names and yaml config names for consistency. (If we're using 'malformed' in existing code then it should be called 'malformed' in new code as well, not 'invalid')
Please review and make sure you're happy with my change
(2) Please add unit tests (at least one) to verify that _removeMalformedKeys works as expected

Sure Gary, will add unit test and push the changes


Update "Configure your firewall" section

Update firewall instructions to allow outbound connections to port 5671.
This is used by service bus as a control channel
Refer to "TCP ports" section in https://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-overview/

Hi @srinath-sridhar, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@srinath-sridhar - thanks very much for your contribution!
@asteen, @billmath - FYI. Srinath is a MSFT employee.


Make host error, no opencl header files, ZCU102/Vitis/Xilinx

Hello, I am trying to compile this project for the Xilinx ZCU102 board on Ubuntu18.04.2 64-bit. According to the README.md  under documents folder, the make fpga command is successfully executed, and the conv.xclbin file is generated. But when I execute the make host command, the following error occured:

I have installed Vitis 2020.1 and Xilinx Runtime(XRT)2020.1 on Ubuntu, but there is no opencl.h file in the XRT installation path：

I also installed the opecnCL library for Ubuntu and found opencl.h in the /usr/include/CL path:

Then I executed the following command and compile again:
export CPLUS_INCLUDE_PATH=/opt/xilinx/xrt/include/:/usr/include
new errors appeared:

I don't understand what's wrong. How can I get the right opencl.h file please？ And is there a more specific tutorial on compiling this project for Xilinx ZCU102 board?
This is my Makefile, please help me.
Makefile.txt
Thank you.

hello,你的解决问题了嘛?

我的也报错..

你的解决了嘛，我的也报错，不知道为什么

你的解决了嘛，我的也报错，不知道为什么

这个是因为common文件夹下的ocl_util.cpp没有编译，把Makefile中编译host的命令改成Intel的再make host：

此错误已解决，问题是缺少petalinux SDK造成的。部署PipeCNN到ZCU102上，除了安装Vitis和Petalinux工具之外，还需要从Xilinx官网下载安装ZynqMP通用镜像，镜像压缩包内包含了制作SD卡系统的Linux内核及根文件系统。解压后按照压缩包内的readme说明在指定路径下（需修改Makefile中EDGE_COMMON_SW的路径与此相同）执行sdk.sh安装SDK，SDK中提供了编译host程序所需的OpenCL头文件：


Error when launching xcolor from the Activities overview: Could not grab pointer

When trying to launch xcolor from the GNOME's Activities overview, nothing happens. Upon inspecting the system journal, however, you can see this message:
$ journalctl -b
< ... >
May 07 18:25:38 arch xcolor.desktop[164542]: error: Could not grab pointer

System information:

OS: Arch Linux
xcolor: 0.5.1
Desktop: GNOME 42.1

I have the same stderr output trying to launch xcolor from polybar's click-left hook.

I fixed the problem in my i3wm config by adding --release to the key binding:
bindsym --release $mod+x exec --no-startup-id xcolor...

I think this is because the pointer grab conflicts with the keyboard, so adding a short delay before starting the program also fixes the issue for me: sleep 0.2; xcolor ...
I also had this problem with polybar and adding the timeout fixed it.


Function calls are running even after restarting the service

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Hi, I believe I have found a major issue in the SDK.
Here's what I'm doing:

Firebase functions deployment
Single API contact point for users (/message)
After /message is called with the latest chat message, I do the following:
a. Collect message history from the DB
b. Assemble the messages to call Open AI
c. Assemble the list of functions to add (I use the .beta module)
d. Send all functions and past messages to OpenAI + use automatic function calling
Report the result back to the caller

Now this setup works, almost always. However, there's a critical problem I'm facing:
>> Function calling gets stuck in a loop and calls my functions forever <<

Stuff that I've observed so far:

Functions are being called and results are being processed by GPT always, whether the function result is successful or not
Functions are being called and results are being processed by GPT always, whether the API token is valid or not (I changed mine on purpose to further test)
Functions are being called even after redeploying Firebase functions with the new SDK version
Deleting Firebase functions and recreating them doesn't solve the problem
I couldn't reproduce this locally on my machine

I don't know any way of stopping the execution. Please advise.
Note: I acknowledge that I might be doing something else wrong. However, it seems likely that this SDK is to blame, because I never had this problem until I started using .beta with automatic function calling.
Thanks for the support in advance.
To Reproduce
I already summarized what I'm doing in the description.
Code snippets
No response
OS
Linux
Node version
Node 18
Library version
4.17.4, 4.24.1

Hmm, this sounds like more of a Firebase issue – the SDK can't make successful requests without a valid API key, for example.
Note that regarding this:

Functions are being called and results are being processed by GPT always, whether the function result is successful or not

I'm not sure what you consider "successful", but throwing an error from one of your functions should halt execution.
For help developing with the OpenAI API from fellow developers, I recommend the OpenAI Discord server!


⚠ Processors has degraded performance

In f63abd3, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 86 ms

Resolved: Processors performance has improved in 2abd92d.


Can we support RestartPolicy

Is your request related to a new offering from AWS? Yes ✅:
Is your request related to a problem? Please describe.
AWS ECS now supports restart policy to restart a container without restarting the whole tasks.
Describe the solution you'd like.
Implementation of: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy-example.html
Describe alternatives you've considered.
None for now i just wait until this has been added.

Does the Terraform provider support this?

Yes it does! Since July it relies on SDK v2 and the Container Definition directly relies on SDK types.
I've tried it using vanilla provider and it works fine.

@RRosalia coming soon :)

@bryantbiggs I've opened a PR for this and completed all requirements (pre-commit hook and deployment)

this is a recent addition and while its not apparent from the provider, its only available since August 15, 2024 https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-ecs-restart-containers-task-relaunch/ (the container definition is not an actual Terraform resource currently, so its API is somewhat opaque and just accepts a json blob from the task definition or task set create API call)
Which means this requires the Terraform AWS provider of 5.63 at minimum

resolved in #231 and will go out in v6.0


Make Jenkins print hostname

Adds hostname command to start of all Jenkins scripts in order to better enable performance issue tracking.

You should use sh 'echo $NODE_NAME' instead of printing the hostname.  The output of hostname will be meaningless when the stage is running in a Docker container, whereas NODE_NAME is setup by Jenkins and will reflect the name of the actual worker node that the job is running on regardless of whether the stage is running in a container or not.


Missing parameters 'orig_video_idx' in the output json

hi,
thank you for your excellent work!
When I ran vidor_eval.ipynb, I found that 'orig_video_idx' parameter was missing in the output json file you provided. Did I ignore the correct file?
Thanks!

Hi @xiaoxiaoczw Thank you for your interest in our work!
I doubt the missing orig_video_idx variable would have any impact on running vidor_eval.ipynb.  Please comment out the code lines including is_demo and try again. Do let me know if you find anything weird then :)

Hi,
But in addition to is_demo, orig_video_idxparameter still needs to be used to locate img-path.
img_path = 'slowfast/datasets/vidor/frames/' + res[idx]['orig_video_idx'][0] + '.jpg'

@xiaoxiaoczw
I confirmed the vidor_eval.ipynb and test_net_vidor.py.
Finally I knew that you should run the test_net_vidor.py with cfg.DEMO.ENABLE_ALL True.
Then you can get the json file including orig_video_idx key.


Doc: Update docs with the merged Chart.yaml and requirements.yaml

Update documentation to reflect the changes from #4561, #4566

I'm interested in helping with that


Bump music to 1.6 and regenerate docs

I just merged the concat/trim PR. Can you regenerate, please? (sorry)

Oh yikes, actually that needs a different release, my bad.


error from IMDB

Logs:
10-09 01:38:25 INFO [              PostProcess] 2016-10-09 01:36:50 - CouchPotatoPostConversion - INFO - MP4 Automator - Post processing script initialized
2016-10-09 01:36:50 - readSettings - INFO - /usr/local/bin/python2.7
2016-10-09 01:36:50 - CouchPotatoPostConversion - INFO - Processing file: /mnt/media/Movies/Couples Retreat (2009)/Couples Retreat-trailer.mov
2016-10-09 01:36:50 - CouchPotatoPostConversion - INFO - File is valid
2016-10-09 01:36:50 - mkvtomp4 - INFO - Reading video stream.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Video codec detected: h264.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Pix Fmt: yuv420p.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Reading audio streams.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Audio detected for stream #1: aac [eng].
2016-10-09 01:36:50 - mkvtomp4 - INFO - Creating audio stream 0 from source audio stream 1 [iOS-audio].
2016-10-09 01:36:50 - mkvtomp4 - INFO - Audio track is number 0 setting disposition to default
2016-10-09 01:36:50 - mkvtomp4 - INFO - Creating audio stream 1 from source stream 1.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Audio Track is number 1 setting disposition to none
2016-10-09 01:36:50 - mkvtomp4 - INFO - Reading subtitle streams.
2016-10-09 01:36:50 - mkvtomp4 - INFO - Starting conversion.
2016-10-09 01:36:54 - mkvtomp4 - INFO - /mnt/media/Movies/Couples Retreat (2009)/Couples Retreat-trailer.mp4 created.
2016-10-09 01:36:55 - CouchPotatoPostConversion - INFO - Tagging file with IMDB ID tt1078940
2016-10-09 01:37:05 - tmdb_mp4 - ERROR - Failed to connect to tMDB, trying again in 20 seconds.
Traceback (most recent call last):
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_mp4.py", line 41, in __init__
    self.movie = tmdb.Movie(imdbid)
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 122, in __init__
    self.update_configuration()
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 65, in update_configuration
    c = self.getJSON(config['urls']['config'])
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 53, in getJSON
    page = requests.get(url, params={'language': language}).content
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 55, in get
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 44, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 354, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 460, in send
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/adapters.py", line 250, in send
SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
2016-10-09 01:37:35 - tmdb_mp4 - ERROR - Failed to connect to tMDB, trying again in 20 seconds.
Traceback (most recent call last):
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_mp4.py", line 41, in __init__
    self.movie = tmdb.Movie(imdbid)
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 122, in __init__
    self.update_configuration()
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 65, in update_configuration
    c = self.getJSON(config['urls']['config'])
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 53, in getJSON
    page = requests.get(url, params={'language': language}).content
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 55, in get
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 44, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 354, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 460, in send
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/adapters.py", line 250, in send
SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
2016-10-09 01:38:05 - tmdb_mp4 - ERROR - Failed to connect to tMDB, trying again in 20 seconds.
Traceback (most recent call last):
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_mp4.py", line 41, in __init__
    self.movie = tmdb.Movie(imdbid)
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 122, in __init__
    self.update_configuration()
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 65, in update_configuration
    c = self.getJSON(config['urls']['config'])
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/tmdb.py", line 53, in getJSON
    page = requests.get(url, params={'language': language}).content
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 55, in get
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/api.py", line 44, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 354, in request
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/sessions.py", line 460, in send
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_api/requests/adapters.py", line 250, in send
SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
2016-10-09 01:38:25 - tmdb_mp4 - INFO - Tagging file: /mnt/media/Movies/Couples Retreat (2009)/Couples Retreat-trailer.mp4.
2016-10-09 01:38:25 - CouchPotatoPostConversion - ERROR - File processing failed: /mnt/media/Movies/Couples Retreat (2009)/Couples Retreat-trailer.mov
Traceback (most recent call last):
  File "/usr/local/share/sickbeard_mp4_automator/postCouchPotato.py", line 41, in <module>
    tagmp4.writeTags(output['output'], settings.artwork)
  File "/usr/local/share/sickbeard_mp4_automator/tmdb_mp4.py", line 73, in writeTags
    video["\xa9nam"] = self.title  # Movie title
AttributeError: tmdb_mp4 instance has no attribute 'title'

Getting this error for every movie?


Octoprint TypeError serial crash

2020-11-30 23:00:02,661 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2020-11-30 23:00:02,663 - octoprint.plugins.stepd - INFO - Starting service: ['/.octoprint/data/stepd/step-daemon','device=/dev/ttyACM0', 'baud=115200', 'config=config.json']
2020-11-30 23:00:02,672 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Connecting"
2020-11-30 23:00:02,673 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-11-30 23:00:02,673 - octoprint.util.comm - ERROR - Unexpected error while writing to serial port
Traceback (most recent call last):
File "/workspace/octoprint/venv/lib/python3.7/site-packages/octoprint/util/comm.py", line 4686, in _do_send_without_checksum
result = self._serial.write(to_send)
File "/workspace/octoprint/venv/lib/python3.7/site-packages/octoprint_stepd/StepdService.py", line 40, in write
return self.process.stdin.write(*args, **kwargs)
TypeError: write() argument must be str, not bytes
2020-11-30 23:00:02,674 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
File "/workspace/octoprint/venv/lib/python3.7/site-packages/octoprint/util/comm.py", line 2171, in _monitor
line = self._readline()
File "/workspace/octoprint/venv/lib/python3.7/site-packages/octoprint/util/comm.py", line 3848, in _readline
null_pos = ret.find(b"\x00")
TypeError: must be str, not bytes
(edit: how do newline within code tag? 2nd search still didn't resolve, gave up)

This is mine:
2020-12-16 18:05:53,452 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2020-12-16 18:05:53,474 - octoprint.plugins.stepd - INFO - Starting service: ['/home/pi/.octoprint/data/stepd/step-daemon', 'device=/dev/ttyACM0', 'baud=500000', 'config=config.json']
2020-12-16 18:05:53,522 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Connecting"
2020-12-16 18:05:53,527 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-12-16 18:05:53,528 - octoprint.util.comm - ERROR - Unexpected error while writing to serial port
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 4686, in _do_send_without_checksum
    result = self._serial.write(to_send)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_stepd/StepdService.py", line 40, in write
    return self.process.stdin.write(*args, **kwargs)
TypeError: write() argument must be str, not bytes
2020-12-16 18:05:53,530 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 2171, in _monitor
    line = self._readline()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 3848, in _readline
    null_pos = ret.find(b"\x00")
TypeError: must be str, not bytes
2020-12-16 18:05:53,536 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Offline (Error: See octoprint.log for details)"
2020-12-16 18:05:53,544 - octoprint.plugins.stepd - INFO - GO:
2020-12-16 18:05:53,563 - octoprint.plugins.stepd - INFO - service terminated

I recently found that python3 isn't as flexible/permissive as python2 with io type mismatch, could be that octoprint made the 2to3 transition since the plugin was updated? The fix could be as simple as changing the io init type parameter

OctoPrint 1.5.2
Python 3.7.3
OctoPi 0.18.0

Exactly, 3rd version by default on new installations.

Oh it's piping with standard streams, that's a little different, but may be a similar issue. There's no env #! on StepdService.py so only guessing it's a 2to3 issue. Per python3 docs the sys "standard streams are in text mode by default. To write or read binary data to these, use the underlying binary buffer. For example, to write bytes to stdout, use sys.stdout.buffer.write(b'abc')"
see https://docs.python.org/3/library/sys.html#sys.stdin
Still researching if/how subp streams differ...

Haven't found definitive clarification, but gut feeling is that they're the same. Don't have the time to try it myself atm, but you could try changing this line in your local copy of https://github.com/colinrgodsey/step-daemon/blob/da32986cfb787bb92c15114f8e9d57d614d4385b/octoprint-plugin/octoprint_stepd/StepdService.py#L40 from return self.process.stdin.write(*args, **kwargs) to return self.process.stdin.buffer.write(*args, **kwargs)
Line 37 just above may require the same treatment, but also octoprint could have new/different expectations... it'd be pretty lucky if that was all it took.

@lav8org thanks, was digging in the same direction, my update is more lame straightforward
diff --git a/octoprint-plugin/octoprint_stepd/StepdService.py b/octoprint-plugin/octoprint_stepd/StepdService.py
index ea3a1d0..7e28c22 100644
--- a/octoprint-plugin/octoprint_stepd/StepdService.py
+++ b/octoprint-plugin/octoprint_stepd/StepdService.py
@@ -17,7 +17,7 @@ class StepdService():
     self.bin_path = os.path.join(self.base_path, 'step-daemon')

     args = [self.bin_path, 'device='+str(self.device),
-            'baud='+str(self.baudrate), 'config=config.json']
+            'baud='+str(self.baudrate), 'config=' + os.path.join(self.base_path, 'config.json')]

     logger.info("Starting service: " + str(args))

@@ -34,10 +34,16 @@ class StepdService():
   ##~~ mock Serial methods

   def readline(self, *args, **kwargs):
-    return self.process.stdout.readline(*args, **kwargs)
+    line = self.process.stdout.readline(*args, **kwargs)
+    return line.encode('ascii')

   def write(self, *args, **kwargs):
-    return self.process.stdin.write(*args, **kwargs)
+    text_args = []
+
+    for arg in args:
+        text_args.append(arg.decode('ascii'))
+
+    return self.process.stdin.write(*text_args, **kwargs)

   def close(self):
     self.process.kill()

It allows connecting, but the binary still drops the connection after a couple of seconds with panic: Failed to load device settings error...

My impression is that the master branch is a rewrite that is as yet incomplete, but was uploaded so that others could help? Could be wrong... can't help but wonder because it certainly wouldn't have taken much effort to drop any sort of warning at the top of the readme, considering that then people might actually try to help instead of burning time assuming it should work. Also because I missed the part about the compatible Marlin branch being out of sync with the master (tho once noticed I checked the diff; a bit fuzzy here 2 weeks later but don't recall there being differences that would obviously prevent the panic). Regardless, maybe the "legacy" branch will run? I gathered it was unreliable, but not unrunnable.

@colinrgodsey is master an unstable rewrite? 👆

The master branch was never really finalized for release. At that stage I was looking for some devices to test with and I didn't really get anywhere.
The outstanding issues right now, judging by the recent feedback, is that the OctoPrint plugin has some compatibility issues with newer octoprint, and there are some compatibility issues with syncing the device settings from Marlin (either due to new Marlin changes, or different device configurations).
The octoprint issue should be easy to fix, and it's something I can tackle when I get more bandwidth (hopefully soon). The configuration sync issues are a bit more troublesome. One of the goals of the Marlin implementation was to add as little extra g-code as possible, and use as much of the existing functionality as we could. The m503 "report settings" code causes a lot of issues here. It ultimately needs to be re-written to just look for the few responses it needs from there, and unlock the pipeline as soon as it gets those (instead of waiting for the "end" of the output, which is apparently not stable).
There was still several changes I wanted to make here, including on the settings sync, that I wanted to tackle before I officially "released" step-d. I'm hoping I can get to those soon, but my availability has been wonky for the last few months.  I need to write up some issues here for the last few items to help guide any contributions, but I'm also open to any fixes you guys come up with until I can get back into full swing here.

Sorry for the delay all. Finally got around to cleaning up some stuff in the main codebase and fixing support for octoprint on python 2/3. There's a new build of the plugin (required) that was tested on the latest OctoPrint (python 2 and 3) and latest Marlin 2.0.x.
https://github.com/colinrgodsey/step-daemon/issues/14#issuecomment-762475185

Sorry for the delay all. Finally got around to cleaning up some stuff in the main codebase and fixing support for octoprint on python 2/3. There's a new build of the plugin (required) that was tested on the latest OctoPrint (python 2 and 3) and latest Marlin 2.0.x.
https://github.com/colinrgodsey/step-daemon/issues/14#issuecomment-762475185

Should be fixed now. Closing this out, feel free to reopen if it somehow is still happening.

Should be fixed now. Closing this out, feel free to reopen if it somehow is still happening.


Option to specify name in Quick Access

Storage Explorer Version: 0.9.6
Expected Experience:
When creating or on right click give the option to specify a nickname for Quick Access
Actual Experience:
It's hard to differentiate items in Quick Access.

This has been supported now.


Make formatting of comments unified and nice.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@097aa64). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage          ?   31.11%
=========================================
  Files             ?        2
  Lines             ?      180
  Branches          ?      116
=========================================
  Hits              ?       56
  Misses            ?       20
  Partials          ?      104

Flag
Coverage Δ

unittests
31.11% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.