Update nuraft dependency to intake new_joiner

https://github.com/eBay/NuRaft/commit/1adcc6282109c2ddf1121bbc374d48d303145e39

Did the old patch not apply correctly anymore? 😕
Yeah unfortunately they channged a bit on makefile,  2 out of the 5 changes are missed the targets :(

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.75%. Comparing base (0262682) to head (238b2f5).
Report is 41 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   71.47%   73.75%   +2.28%
==========================================
  Files          21       20       -1
  Lines         887      865      -22
  Branches      103       98       -5
==========================================
+ Hits          634      638       +4
+ Misses        188      161      -27
- Partials       65       66       +1

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


install-angular-cli-windows10.md

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
e2e tests included?: (yes/no; required for multi-function/multi-class changes)
In a clean directory, npm install, npm run build, and npm test run successfully? (yes/no; required)

Description

Code sample

install-angular-cli-windows10.md.
@davideast created the doc as per suggestion on issue #569

@davideast Did you get a chance to review this issue, so that issue #569 can be closed. This was also raised in issue #525


Unbreaking CNN videos

Whitelisting https://fave.api.cnn.io will unbreak CNN videos

Also I see there are already some Wall Street Journal fixes but I had to add https://wsjstream.wsj.net and https://video-api.wsj.com to get those playing again

This list is aggressive and comprehensive, for websites that you want to use on the regular I suggest you add the site to the exceptions.

you know the list contains a lot of whitelisted elements right?


Set up infrastructure for code documentation

We need documentation that includes both a user guide and C++/Python code documentation. We need to decide

[x] Decide where this will be hosted? (Github Pages? readthedocs?)
[ ] Set up web hook for documentation building
[ ] Documentation for C++ (Sphinx?)
[ ] Documentation for Python via pybind11 (Sphinx is supported)
[ ] Documentation for Matlab functionality (???)
[ ] Basic Organization

[ ] Getting started
[ ] Building from source
[ ] C++ Docs
[ ] Python Docs

@rjpower4 What are your thoughts on hosting? I think readthedocs would be a good options - free for open source projects, integrates with CI, looks like it supports Sphinx, and is really simple to use. GitHub pages is of course another option, but then we have to decide on a template and there might be a bit more DIY-ness to it. What do you think?

Alright let's go with readthedocs for now then. I think I will need you to set up the webhook for it (I tried but I don't think I have permission to do that)

Readthedocs GitHub Webhooks instructions: https://docs.readthedocs.io/en/stable/integrations.html#github
Readthedocs page that I made to start playing around with
https://readthedocs.org/projects/mbd-forest/

I will need to add you to the list of Maintainers here, so let me know when you create an account


getElementById

the getElementById is case Sensitive and will make errors if you have have the same thing in one and the next you camel case  that element will be classed and will get a null value

Please share example code
/needsMoreInfo


Run must gather in adoption job if tests fail

As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/approve
/lgtm


Develop PoC for Kubeflow ML workflows

Kubeflow is an interesting ML workflow tool which provides in the same place, (apparently) all the functionalities requried by advanced MLOps workflows.
It is important to explore Kubeflow, and develop a simple PoC to better evaluate it.

Kubeflow is as of now not required by any partners in interTwin. Furthermore, after investigation we found there is currently no CWL support for Kubeflow, therefore developed is halted for the moment.


[nla] initial server-side remote credential guard support

Adds support for server-side remote credential guard in NLA. When enabled that allows the remote user to connect without shipping credentials in TSCred packets. Instead it will send his TGT encoded with a TGS from the remote server. This way the server is able to populate that TGT in a local credential cache without knowing the user's password.
The patch only treats the NLA part and does not contain the associated RDPEAR channel that allows to have the complete interaction to retrieve new access tokens.

@hardening from your POV ready to merge?


[Vue][popover] Don't work on Nuxt and portalled is set to true by default

🐛 Bug report
In using Nuxt 3 and the popover seems to be portalled by default, contrary to what is stated in the documentation, and it doesn't work with the Vue 3 SFC example and portalled option explicitly set to false.
💥 Steps to reproduce

Create a Nuxt 3 app
Create a Popover.client.vue component by copy pasting the Vue SFC example from the doc
Render it in app.vue
See the popover component doesn't works

💻 Link to reproduction
CodeSandbox reproduction:
🧐 Expected behavior
The api.portalled be false by default and the popover works.
🌍 System information

Software
Version(s)

Zag Version
0.48.0

Browser
Edge 124.0.2478.67

Operating System
Windows

📝 Additional information

Hi @Theo-Rige,
This is largely a documentation problem. Here's the snippet that should work:

<template>

    <button v-bind="api.triggerProps">Click me</button>
    <Teleport to="body" :disabled="!api.portalled">

Presenters

Description

          <button>Action Button</button>
          <button v-bind="api.closeTriggerProps">X</button>

    </Teleport>

</template>


(Un)recognized blend metrics in BTK for BLxPZ and BLxCL

(Un)recognized blend metrics in BTK for BLxPZ and BLxCL
Implement metrics to quantify detection mismatches due to recognized and uncrecognized blends in BTK and connect to BLxCL and BLxPZ activities.
Contacts: @xuod @ismael-mendoza @aimalz
Day/Time:
Main communication channel: #desc-blxpz #desc-blxcl
GitHub repo: https://github.com/LSSTDESC/BlendingToolKit and https://github.com/LSSTDESC/lost-and-found
Zoom room (if applicable):
Goals and deliverable

Definition of relevant metrics
Implementation in lost-and-found and interface with BTK and RAIL

Resources and skills needed

BTK developers/enthusiasts
RAIL developers/enthusiasts
other BL/PZ/CL/WL enthusiasts

Detailed description
[add additional details  about the project]

@ismael-mendoza and I are preparing by making some mock data sets to play with next week, specifically the catalogs resulting from a couple deblenders (SourceExtractor threshholding with two different threshold values) and a couple cross-matchers (kdtree with two different distance values) to make the metrics more concrete, so we don't end up hunting down edge cases that really don't come up in plausibly realistic data. We'll be sprinting in the afternoons Wednesday-Friday.

In case anyone is curious, here is the notebook showing how mock data is generated: https://github.com/LSSTDESC/BlendingToolKit/blob/im/bkt-mock-data/notebooks/mock-data.ipynb

A little piece of random info. There is a fork/extension of galsim, which does flexion: http://physics.drexel.edu/~jbird/index.html
It would be fantastic I think to add these features into the upstream galsim

Related to Francois' comment – https://github.com/GalSim-developers/GalSim/issues/361


Notion Import Dates Not Working

Notion imports do not preserve the creation dates and modification dates. It throws invalid date.

It is something about the language. I change the language in Notion and it worked! If you set it on spanish, it doesn't.

I'm guessing this changes the locale, which in turn may change the date format used in the export. If possible, could you create an export which demonstrates this issue and upload it here for us to test?
Please also let us know the following:

What language is configured in Obsidian? (Settings -> General -> Language)
What language is used by your operating system?

Thank you!


Please ship tests to pypi

Downstream package maintainer love to test. Please include the tests in the pypi tarball.

It's now included in the new version (https://pypi.python.org/pypi/whatportis).

Thanks.


"System back gesture" explanation

This PR improves the PopScope docs by explaining the definition of "system back gesture".  There was some confusion in https://github.com/flutter/flutter/issues/138624 about the behavior of iOS back gestures that this hopes to clarify.

On Android, Flutter has to allow Android to detect the gesture and report it to Flutter. The reason is that Android shows some native UI (a back arrow) that is styled in a way that Flutter cannot replicate. Android internally does some fancy stuff with the M3 system colors and there is no API that Flutter can use to get the right colors for that.
On iOS it's just all done by Flutter, so there is a fundamental difference there.


Migrates zipkin self-tracing off scribe and minifies MySQL example

Before, zipkin required a collector process for the purpose of self-
tracing. Collector is still supported, particularly to serve legacy
instrumentation. However, it is no longer required as zipkin can
self-trace over http.
This change updates the MySQL example (docker-compose-mysql.yml),
showing how self-tracing can work without a collector process.

fyi @abesto @jcarres-mdsol @kristofa


Convert int32 to integer in OpenAPI -> Fern converter

If the OpenAPI has something like:
type: number
format: int32

We currently convert that to a double but it should be an integer

This is now fixed


Suggest books or articles

💥 Proposal
Suggest some books or articles according to the genre provided by the user.
Give a short description of the book or article and links for those as well.
Keep it on generate page.

Please assign me this issue as a part of Cross Woc

Please assign me this issue as a part of Cross Woc

Ok @Akash20x bro, You can work on it.
You are given 6 days to complete it.

Please check my pull request


[Task]: Fix migration log export

Task description
In mobile, when you finish your migration, onboarding cant be finished because you need to export your migration log in order to proceed to the profile dashboard.
We have to fix the migration log export to allow the user to finish the onboarding and go to the wallet.
Requirements
TBD
Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Blocked by #2473


Fix user search. Exclude api config from git.

I don't know why, but API no longer responds correctly to requests that include *. It does partial word searches, so you can think of the wildcard as already being implied. (Ex: /1.0/people/search/mk*.json?auth_token=123 –> /1.0/people/search/mk.json?auth_token=123)

Coverage remained the same at 95.533% when pulling 8405b17945e9fbc675be0a2f73a03e334af19200 on DEC-1457 into 2ca254d732dde19af40dff91004354cd0e05f991 on master.


Automatically importing ref() will report a type error, but import { ref} from 'vue' will not.

Describe the bug
Please how to solve this problem
auto import error

but import { ref} from 'vue' will not.

Reproduction
Reproduction
System Info
System:
    OS: macOS 12.5.1
    CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
    Memory: 1.81 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - /usr/local/bin/node
    Yarn: 1.22.5 - ~/.yarn/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 106.0.5249.119
    Safari: 16.1

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

same question

Same here

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

I think this issue is related with IntelliJ or Webstorm IDEs, I opened my project in VSCode without trouble


reporting: all reports were "pending" for more than a half-hour after completing entire ballot

#Is this supposed to be the case? I thought all committed votes were immediately sent to the blockchain after encryption for later reveal.
Edit: When I logged back in, all the reports were still listed as pending under the "Pending Reports" tab.

I think this was an artifact of the node issues we had recently.  Please re-open this if this happens again.


fix: grammatical issues with cup measurements

Description

This pull request addresses the grammatical issues in the Vanilla Cake Recipe by correcting the measurement of the cup for sugar and whole milk.

Changes Made

Changed "1/4 cups sugar" to "1/4 cup sugar."
Changed "1/4 cups whole milk" to "1/4 cup whole milk."

Screenshot of Fixed Issue

Related Issue

This PR closes #22.

oh wow i didn't know that! +4!


Local path provisioner

Adds https://github.com/rancher/local-path-provisioner as a storage option. This is a much lighter-weight alternative to OpenEBS LocalPVs, coming in at 15MB for the package. It seems to be functionally equivalent.

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

Proposed as a new storage option. I haven't tested it via this integration yet.

This is interesting for limiting file permissions
https://github.com/k3s-io/k3s/pull/3548/files#diff-2db2a6c1c81cb2084152e746784de4a98eb9bc5ec06091ebfdfb8c52ca4fd6f3R127

Those are some strange fixes. I addressed it via https://github.com/replicatedhq/kURL/pull/1426/files#diff-368dd29cfd9ef1e09d45f03e73f97cfeda597240c478131019dd165d7ca04a89R24.


PACER reports.py PDF download query should be POST, not GET

I think the _query_pdf_download function in pacer/reports.py needs to use a POST method, not a GET method.
You can verify this for this 1 page doc for bankruptcy and this doc for district courts. Trying to download these files by clicking on View Document shows a POST request being made in Chrome's developer tools.
I could certainly be wrong or missing something, but with the GET request on python 2.7 the function doesn't return anything for 5+ minutes until I stop the kernel. With a POST request the rest of the code, including the download_pdf function, runs fine and returns the correct PDF.

Hm, could be something new, but in general you can do a GET or POST to get these. We've used the function to get thousands of PDFs.
What do you mean by stopping the kernel?

Well this is embarrassing. I tried to come up with a reproducible example and everything was working fine, so it must have been something odd in my original scraping code. Despite several hours troubleshooting it for a mistake I made I must've missed something. My apologies for the unnecessary headache.

No worries! Let us know if you have further questions or drop us a line if you want to join our Slack group.


Table component breaks IE compatibility

Hi
Unfortunately, the Table Component  breaks compatibility with IE. This is caused by the statement on line 109
 for (let child of children) {
      if (!React.isValidElement(child)) continue;
      ....
}

let child of children

is part of the ES6 Standard and not supported by IE.
I think it was introduced in version v0.11.0
Is this by intention or would it be possible to go without ES6 until IE supports it?

Thanks for pointing this out.
Looks like babel isn't transpiling it. I'm wondering if you could fix this with babel or if we had to use the ES5 for var way.

For me it was transpiled correctly: the loop was for (var child of children), although there was a Symbol.iterator reference causing issues. Requiring babel/polyfill as described here appears to have resolved the issue.

Thanks @turt2live, worked for me as well


Code coverage check suggestion

Hello,
I use cpputest in my current project to do unit test.
It's a great unit test framework for us.
Currently I need to check code coverage in my production code.
My development system is windows and use VS2010 to build test,
it seems there is no gcov to use.
Could you give use some suggestion about the code coverage tool ?

I think pcoverage from IBM is a good tool, supporting both UI and command line, you can integrate it with your CI. May be the flaw is you need to pay money :)

Hi, cuitoldfish
Thanks for your suggestion. I will try it.

We use CPPUtest and Jenkis CI.
To handle code coverage we CopenCppCoverage
https://opencppcoverage.codeplex.com
It integrates well on Jenkins and visual studio.
N.P. the commandline arg can be autogenerated by the OpenCppCoverage extension for VS...

Hi, wiredsource
Thanks for your replay.


Add ability to toggle visible columns in product list

I want to merge this change because it adds ability to toggle which columns are visible in product list 💯
Note: I had to refactor <TableCellAvatar /> so this PR introduces little changes to other lists using this component.
Screenshots

Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] GraphQL schema and type definitions are up to date.
[x] Changes are mentioned in the changelog.

Here is the report for b0a067601ef75ce7be1e32b22e757f36f254de64 (mirumee/saleor @ attributes/add-column-settings)
Base comparison is 56ac075f4ef494a7446a1bf71b4fd30d4b352f5c.
No differences were found. (click me)

# api.benchmark checkout
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  add billing address to checkout     	         34	         34	             20
  add shipping to checkout            	          7	          7	              0
  checkout payment charge             	         14	         14	              0
  complete checkout                   	          6	          6	              0
  create checkout                     	         41	         41	             20

# api.benchmark homepage
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve main menu                  	          5	          5	              0
  retrieve product list               	          4	          4	              0
  retrieve secondary menu             	          5	          5	              0
  retrieve shop                       	          2	          2	              0

# api.benchmark product
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  product details                     	         13	         13	              3

# api.benchmark variant
  test name                           	left count 	right count	duplicate count
  ------------------------------------	-----------	-----------	---------------
  retrieve variant list               	         15	         15	              8

@dominik-zeglen I'm getting this error when trying to view the product list:
Uncaught TypeError: Cannot read property 'length' of undefined
    at eval (webpack-internal:///./saleor/static/dashboard-next/components/ProductList/ProductList.tsx:82)
    at renderWithHooks (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:12938)
    at mountIndeterminateComponent (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:15020)
    at beginWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:15625)
    at performUnitOfWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19312)
    at workLoop (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19352)
    at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:149)
    at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:199)
    at invokeGuardedCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:256)
    at replayUnitOfWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:18578)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:17117

The above error occurred in one of your React components:
    in Unknown (created by ProductList)
    in ProductList (created by ProductListPage)
    in div (created by Paper)
    in Paper (created by WithStyles(Paper))
    in WithStyles(Paper) (created by Card)
    in Card (created by WithStyles(Card))
    in WithStyles(Card) (created by ProductListPage)
    in div
    in Unknown (created by Container)
    in Container (created by ProductListPage)
    in ProductListPage (created by StrictTypedMutation)
    in StrictTypedMutation
    in Unknown (created by StrictTypedMutation)
    in StrictTypedMutation
    in Unknown (created by StrictTypedQuery)
    in QueryProgress (created by StrictTypedQuery)
    in StrictTypedQuery (created by Context.Consumer)
    in Unknown
    in Unknown (created by ProductList)
    in ProductList (created by Context.Consumer)
    in Route (created by Component)
    in Switch (created by Component)
    in Component (created by Context.Consumer)
    in Route (created by Context.Consumer)
    in main (created by Context.Consumer)
    in div (created by Context.Consumer)
    in div (created by Context.Consumer)
    in Unknown (created by Context.Consumer)
    in withRouter() (created by WithStyles(withRouter()))
    in WithStyles(withRouter()) (created by Context.Consumer)
    in Route (created by AuthProvider)
    in Switch (created by AuthProvider)
    in AuthProvider (created by StrictTypedMutation)
    in StrictTypedMutation
    in Unknown (created by StrictTypedMutation)
    in StrictTypedMutation
    in Unknown (created by AuthProviderOperations)
    in AuthProviderOperations (created by App)
    in StrictTypedQuery (created by Context.Consumer)
    in Unknown
    in Unknown (created by App)
    in Unknown (created by App)
    in MessageManager (created by App)
    in LocaleProvider (created by App)
    in DateProvider (created by App)
    in ThemeProvider (created by ThemeProvider)
    in MuiThemeProviderOld (created by ThemeProvider)
    in ThemeProvider (created by App)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by App)
    in ApolloProvider (created by App)
    in App

Investigating


Management Plane SDK release request - option for user to provide link to the root directory of the API Spec version vs pull request

Scenario:  The process for the Microsoft.Network RP team for management plane involves all product teams updating their REST APIs for the designated API version and merging their pull requests. Subsequently, a member from one of the Microsoft.Network services requests the release of new SDK versions for Java, JavaScript, Python, and Go. Typically, the individual requesting the SDK releases provides a link to the root directory of the target API version rather than a pull request. Although there is a pull request for the monthly SDK releases, the Network team prefers to supply the link to the root directory of the target API version to ensure the inclusion of all changes for that API version.  Here is an example of a pull request for Network SDK monthly releases.  https://github.com/Azure/azure-rest-api-specs/pull/28527
Requirement:  Allow user to provide link to the root directory of the target API version when requesting release of SDKs.
Questions:

Is it possible to validate that there are no open PRs against the target API version?

@maririos @praveenkuttappan - This requirement is related to the work being done to integrate the management plane "Request SDK releases" PowerApp into the release plan (SDK Release Milestone).

Allow user to provide link to the root directory of the target API version when requesting release of SDKs.

How is this different than what we currently have:

Allow user to provide link to the root directory of the target API version when requesting release of SDKs.

How is this different than what we currently have:

That is correct. I just wanted to make sure that the feature would still be available when integrated.  :-)

That is correct. I just wanted to make sure that the feature would still be available when integrated. :-)

Yes. we wont remvoe features when we integrate


Using this library in react navigation v2

Hi,
createNavigator API has changed in v2
Please update the example so we can use this lib with the latest version of react navigation

@victorkvarghese I'll refactor this lib on the weekend.

#15


Epdcs 1229 move eventhub from epdcs

:tada: This PR is included in version 1.2.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Collections: Search user journey UX audit

The current search user journey needs to be looked from a UX perspective, highlighting the strengths, weaknesses, anything that doesn't make sense or anything that doesn't sit right within the journey. @DominiqueMarshall needs to review this and make recommendations based on previous research done by Heesoo and current best practices.

Link to Google Doc with audit: https://docs.google.com/document/d/1voD6WpxrYdvL_JpWgWuGFwNZYYDF36TT1yhZ-NYXCm4/edit?usp=sharing

@jennpb the quickest wins look to be content related:
• Placeholder text in the search box is misleading and doesn't match the contextual info above. It's also cut off on mobile
• "Feeling curious" tags make it seem like only those topics are available within the collection. Could the text above explain that it’s part of the collection, not all of it?


Implement cirq.eigencomponents() for FSimGate

Implement cirq.eigencomponents() for FSimGate

@tonybruguier-google thanks for all the work :D
A nit before I review this: the "Fixes #2492." should go in the comment of the PR, and the title should be more descriptive. Github recognizes the link between the PR only if this text is in the PR comment.
The title will become the commit message automatically when Cirqbot merges the PR after approval.

Fixes #2492

Fixes #2492

I meant the main section / it's called a comment here, sorry for the confusing language!

Modified the comment. Sorry about this.

Modified the comment. Sorry about this.

No worries, at all, no apologies necessary! :) PRs can have both a description and if there is an issue it is for, the reference, see https://github.com/quantumlib/Cirq/pull/3163 as an example.

Sounds good. Will withdraw. Thanks for taking the time to review the code.


Getting Started with HackTheBox

Topic Suggestion
Getting Started with HackTheBo
Writing sample(s):
https://www.section.io/engineering-education/understanding-cross-site-scripting-attacks/
Proposal Submission
Proposed title of article
Getting Started with HackTheBox
Proposed article introduction
HackTheBox is a ethical hacking platform, where you get to practice hacking in a controlled environment.
Key takeaways
By reading this article learners will be able to:

Use the hackthebox platform
Practice hacking
Improve hacking skills

Article quality
The main purpose of this article to provide an overview of the HackTheBox platform, and how to start practicing hacking.
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.


[Question]: 使用Docker镜像初始化时显示libcuda.so file too short

请提出你的问题
使用PaddleNLP的docker镜像：
registry.baidubce.com/paddlepaddle/paddlenlp   2.4.0-gpu-cuda10.2-cudnn7
registry.baidubce.com/paddlepaddle/paddlenlp   2.4.0-gpu-cuda11.2-cudnn8
在初始化时都会遇到同样的错误：
`[2023-09-20 08:27:25,800] [    INFO] - Already cached /root/.paddlenlp/models/rocketqa-zh-nano-query-encoder/rocketqa-zh-nano-query-encoder.pdparams
W0920 08:27:25.806584    10 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 6.0, Driver API Version: 11.0, Runtime API Version: 10.2
W0920 08:27:25.810742    10 gpu_resources.cc:91] device: 0, cuDNN Version: 7.6.
W0920 08:27:26.723860    10 dynamic_loader.cc:305] The third-party dynamic library (libcuda.so) that Paddle depends on is not configured correctly. (error code is /usr/lib/x86_64-linux-gnu/libcuda.so: file too short)
Suggestions:

Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
Configure third-party dynamic library environment variables as follows:

Linux: set LD_LIBRARY_PATH by export LD_LIBRARY_PATH=...
Windows: set PATH by set PATH=XXX; Segmentation fault (core dumped)
主机的环境为：

两个环境都测试了有同样的问题，下面的paddle镜像在这两台主机上跑其他的模型都没有显示libcuda.so错误
registry.baidubce.com/paddlepaddle/paddle      2.3.2-gpu-cuda11.2-cudnn8
registry.baidubce.com/paddlepaddle/paddle      2.4.2-gpu-cuda11.7-cudnn8.4-trt8.4

the libcuda.so is linking to a zero size file that is not correct. relink to the file in that folder that size bigger than zero.


Add virtual environment: macOS Big Sur (11.0)

I had a conversation with the GitHub support about macOS Big Sur support in Github Actions, opening an issue publicly was recommended so other users find the answer directly over Google.
Currently there is only macOS Catalina supported as a virtual environment. MacOS Big Sur (11.0) will get released soon and having it available would help users to test their software on it.
Is there already a public tracked issue existing?

Hello @mxschmitt , we definitely have plans to add MacOS Big Sur to GitHub Actions but I can't provide ETA for now.
I will update this issue as soon as I have update.

Hello everyone!
Just an update, MacOS Big Sur (11.0) is available in GitHub Actions 🚀
Please pay attention that currently, it is in preview state so it could contain some issues. Feel free to report them and we will take a look.
Details can be found in announcement issue: https://github.com/actions/virtual-environments/issues/1814

@maxim-lobanov great news! Works 😀


Port Not Open when interrogating PLC with different IP on same port

Hello,
When I try to query two different PLC via modbus tcp so with different IPs but both on port 502, I can query the first one and the second one once, and after it shows the Port Not Open error.
Here is my flow after deployment:

Both server configuration:

It is working once and after it shows the error: port not open
I have tried to add delay in between, it is not working either.

What is the work around for that ?
Thank you in advance,
Benjamin

Hi Benjamin,
please, can you also post the flow in JSON?
A) Which version of package is it - looks old?
B) What is your version of node.js?
C) What is your host and operating system?
D) Please try, is it in latest version, too?
Some devices send a close for the port, if some is wrong in communication, that was fixed in v1.0.8.

It just updated the package from 1.0.6 to 1.0.8 and it seems to work perfectly now..
I am using a docker container for RPi with nodered v0.16.2.
Thank you,
Benjamin

I have a similar issue but with serial RS485
here is my flow
The transaction keep timing out and I am getting "FSM Reset On State QUEUEING"
I am new to Node Red
Any help will be much appreciated.
[{"id":"cb9888f1.fc8e88","type":"modbus-flex-getter","z":"6a9f636c.67183c","name":"","showStatusActivities":true,"showErrors":true,"logIOActivities":false,"server":"d7d2fb3d.dd73f8","useIOFile":false,"ioFile":"","useIOForPayload":false,"x":750,"y":300,"wires":[[],["9a9178e1.dae918"]]},{"id":"26f91b20.b5ee34","type":"function","z":"6a9f636c.67183c","name":"FC4 0x3003","func":"msg.payload = {\n    'fc': 4,\n    'unitid': 1,\n    'address' : 0x3003,\n    'quantity': 2\n};\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":280,"wires":[["cb9888f1.fc8e88"]]},{"id":"3e26c778.979138","type":"inject","z":"6a9f636c.67183c","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":260,"wires":[["26f91b20.b5ee34"]]},{"id":"9a9178e1.dae918","type":"modbus-response","z":"6a9f636c.67183c","name":"","registerShowMax":20,"x":950,"y":460,"wires":[]},{"id":"d7d2fb3d.dd73f8","type":"modbus-client","z":"6a9f636c.67183c","name":"","clienttype":"serial","bufferCommands":true,"stateLogEnabled":false,"tcpHost":"<IP_ADDRESS>","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/ttyAMA0","serialType":"RTU","serialBaudrate":"115200","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"100","unit_id":0,"commandDelay":1,"clientTimeout":3000,"reconnectTimeout":2000}]

@agorkoli  have you found a solution for that ? what was the problem ?

I have the same problem.
I am trying to conect to Universal Robot Modbus Server.
I am using:
Node_RED v0.20.7
Node.js v10.16.0
Everything is install on Windows 10 IoT system.
Modbus Node v4.1.3

Anybody can help?


Update to 2.35.2

Update dex to upstream

@gusevda This should be good to go now. The one red check is related to labels on the PR. Let's make sure to test refresh on a test installation, too, though since there were quite some changes.

Thank you! I will test token refreshing.


vscode error can't find crate for test``

Hi. After I used app-template to generate a project and opened it with vscode, the rust extension emitted an error can't find crate for test. Could you tell me how to avoid this.

Hi @YoshieraHuang,
This error occurs if you run cargo check or cargo run with the --all-targets flag. It should be possible to build the binaries using the --bin option.
I didn't try it, but adding following options to your .vscode/settings.json seems to solve the problem (link):
{
    "rust-analyzer.cargo.target": "thumbv7em-none-eabihf",
    "rust-analyzer.checkOnSave.allTargets": false
}

Does it solve your problem?

Hi @YoshieraHuang,
This error occurs if you run cargo check or cargo run with the --all-targets flag. It should be possible to build the binaries using the --bin option.
I didn't try it, but adding following options to your .vscode/settings.json seems to solve the problem (link):
{
    "rust-analyzer.cargo.target": "thumbv7em-none-eabihf",
    "rust-analyzer.checkOnSave.allTargets": false
}

Does it solve your problem?

Thank you for your nice reply. Unfortunately, it seems that the rust-analyzer settings in .vscode/setting.json is never applied in my project. I used the 'Rust' extension rather than rust-analyzer extension.

Known the reason is vscode setting, I try to figure out the corresponding setting in 'Rust' extension. These settings may be equivalent to traditional rust-analyzer settings:
{
    "rust.all_targets": false,
    "rust.target": "thumbv7em-none-eabihf"
}

but the error still emits.

Please either comment on the upstream issue (https://github.com/rust-lang/vscode-rust/issues/729) or open a new issue.
Or just switch to rust-analyzer 😉
Hope you can resolve it!


Readme/Make_env

Fixes #1, #2, #5, #6
make init should now run out of the box on modern ubuntu with make installed to create the .env file and checkout the current versions of all of the submodules.
make up or docker-compose up -d will bring up the site at that point.

thanks @EricSoroos !


Fix appending to .coverage if exec ends in non-existent directory

The --append option causes coverage run to fail if the <pyfile> that is executed does a chdir to a directory that is subsequently removed before the exec completes.
For example, with the following file, test.py:
import tempfile
import os

with tempfile.TemporaryDirectory() as tmpdir:
    os.chdir(tmpdir)

Run coverage on this as follows:
python -m coverage run --append test.py

This results in a FileNotFoundError because the SQLite database connector internally tries to find the relative path to the database file, which fails since the cwd does not exist. The traceback looks like:
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/x/repos/coveragepy/coverage/__main__.py", line 8, in <module>
    sys.exit(main())
  File "/home/x/repos/coveragepy/coverage/cmdline.py", line 762, in main
    status = CoverageScript().command_line(argv)
  File "/home/x/repos/coveragepy/coverage/cmdline.py", line 506, in command_line
    return self.do_run(options, args)
  File "/home/x/repos/coveragepy/coverage/cmdline.py", line 649, in do_run
    self.coverage.save()
  File "/home/x/repos/coveragepy/coverage/control.py", line 553, in save
    data = self.get_data()
  File "/home/x/repos/coveragepy/coverage/control.py", line 607, in get_data
    if self._collector and self._collector.flush_data():
  File "/home/x/repos/coveragepy/coverage/collector.py", line 425, in flush_data
    self.covdata.add_lines(abs_file_dict(self.data))
  File "/home/x/repos/coveragepy/coverage/sqldata.py", line 245, in add_lines
    self._choose_lines_or_arcs(lines=True)
  File "/home/x/repos/coveragepy/coverage/sqldata.py", line 288, in _choose_lines_or_arcs
    with self._connect() as con:
  File "/home/x/repos/coveragepy/coverage/sqldata.py", line 616, in __enter__
    self.connect()
  File "/home/x/repos/coveragepy/coverage/sqldata.py", line 601, in connect
    filename = os.path.relpath(self.filename)
  File "/usr/lib/python3.7/posixpath.py", line 475, in relpath
    start_list = [x for x in abspath(start).split(sep) if x]
  File "/usr/lib/python3.7/posixpath.py", line 383, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

This patch avoids this problem by ensuring that we return to a known directory (the original directory we ran in) once the exec completes.
One could argue that it is the exec'd script's responsibility for ensuring that it doesn't end in an invalid directory, but it seems reasonable for coverage to handle this case since it can do so easily (and because temporary directories are likely to be a common occurrence in a test suite).
I believe this issue also warrants a unit test, but I couldn't make out the right way to do this after a perusal of the test suite. Please feel free to add a test or to guide me to a good example for how to implement it. Thank you!

Codecov Report

Merging #806 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #806      +/-   ##
=========================================
- Coverage   90.65%   90.6%   -0.05%
=========================================
  Files          81      81
  Lines       11178   11180       +2
  Branches     1150    1150
=========================================
- Hits        10133   10130       -3
- Misses        936     938       +2
- Partials      109     112       +3

Impacted Files
Coverage Δ

coverage/execfile.py
82.75% <100%> (+0.2%)
:arrow_up:

tests/test_arcs.py
98.54% <0%> (-1.46%)
:arrow_down:

coverage/control.py
89.27% <0%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks! I tweaked the implementation, and added tests, in 9ae35a5f

This has been released in 5.0a6.


Content: homepage

Write content for digital.ca.gov homepage.

Content done and launched on live site.


[ADAM-1923] Revert 1eed8e8

This reverts commit 1eed8e8e464f8f92a6e87afc1d334e751423e810. Resolves #1923.

Coverage decreased (-0.07%) to 82.515% when pulling 5cdc6708a372cc7cb49d5dbc9a9642998ea792c2 on fnothaft:issues/1923-revert-1eed8e8 into 0696fea90853cb167eb28cff6f0e0b67102a9080 on bigdatagenomics:master.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2682/Build result: FAILURE[...truncated 7 lines...] > /home/jenkins/git2/bin/git init /home/jenkins/workspace/ADAM-prb # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > /home/jenkins/git2/bin/git --version # timeout=10 > /home/jenkins/git2/bin/git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/heads/:refs/remotes/origin/ # timeout=15 > /home/jenkins/git2/bin/git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10 > /home/jenkins/git2/bin/git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10 > /home/jenkins/git2/bin/git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > /home/jenkins/git2/bin/git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ # timeout=15 > /home/jenkins/git2/bin/git rev-parse origin/pr/1926/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a -v --no-abbrev --contains cafac3169e11d285ab50166f5df0bad4a002c89f # timeout=10Checking out Revision cafac3169e11d285ab50166f5df0bad4a002c89f (origin/pr/1926/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f cafac3169e11d285ab50166f5df0bad4a002c89fFirst time build. Skipping changelog.Triggering ADAM-prb ? 2.6.2,2.10,2.2.1,centosTriggering ADAM-prb ? 2.6.2,2.11,2.2.1,centosTriggering ADAM-prb ? 2.7.3,2.10,2.2.1,centosTriggering ADAM-prb ? 2.7.3,2.11,2.2.1,centosADAM-prb ? 2.6.2,2.10,2.2.1,centos completed with result SUCCESSADAM-prb ? 2.6.2,2.11,2.2.1,centos completed with result FAILUREADAM-prb ? 2.7.3,2.10,2.2.1,centos completed with result SUCCESSADAM-prb ? 2.7.3,2.11,2.2.1,centos completed with result SUCCESSNotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Jenkins, test this please.

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

Thank you, @fnothaft


scroll position is not preserved when returning to a position beyond 100 paging items

it will always end up at the end of the first 100 paging items
read

[x] https://issuetracker.google.com/issues/179397301
[ ] https://issuetracker.google.com/issues/177245496#comment45
[ ] https://android-review.googlesource.com/c/platform/frameworks/support/+/2569190
[x] https://issuetracker.google.com/issues/235319241

https://slackhq.github.io/circuit/changelog/#new-allow-retained-state-to-be-retained-whilst-uis-and-presenters-are-on-the-back-stack
https://slackhq.github.io/circuit/presenter/#retention


Tracking Issue:  Change user validation logic to validate all objects first and error all at once - rather than individual objects.

If the script encouters for example someone missing from the group in Exchange Online - it fails on each instance.  The script should test for all dependencies and the output all pre-req failures at once rather than individually.

Version 2.4.8.
The script has a series of safety checks that are performed at the beginning of the migration.
Originally the script would iterate through all the dependencies - and if anything was found incorrect it would bail immediately.  For example, if you had three users that were in the distribution list on premises but did not have office 365 mailboxes - the script could fail three times as you re-ran it over and over.
The script now does all the health checking at once.  If any discrepancies are found in pre-requisites the script will exit and provide the user in the log a complete list of all the pre-reqs that must be satisfied in order to satisfy the migration.


Add reply to feature-matrix

Both Martix and Discord have a reply function which basically quotes a message when replying to it.
When replying to a message from Discord inside of Matrix, the reply shows up inside Discord.
When replying to a message from Matrix inside of Discord, the reply does not show up inside Matrix.
Example:

This is just a README edit and the changes are valid. This PR can be merge IMHO.


An op that allocates a tensor in flow/stream dialect that cannot be CSE-ed

Request description
A tensor.empty() creates a tensor that can be CSE-ed with other tensor.empty() ops. When calling an external C(++) function which uses destination-passing-style semantics for the results, a tensor created from tensor.empty() is passed as an operand to the external call that will be aliased with the result. Unfortunately, we don't have a mechanism to specify the aliasing behavior in the external function, and as a result, the buffer allocated to the tensor.empty() op would be modified. For instance, consider the program:
module @example {
  func.func private @Some.function(tensor<10xi32>, tensor<10xi32>) -> (tensor<10xi32> {iree.abi.tied = 1 : index}) attributes {
    iree.abi.model = "coarse-fences",
    nosideeffects
  }

  func.func @main(%arg0: tensor<10xi32>) -> tensor<10xi32> {

    %init = tensor.empty() : tensor<10xi32>
    %p1 = call @Some.function(%0, %init) : (tensor<10xi32>, tensor<10xi32>) -> tensor<10xi32>
    %init2 = tensor.empty() : tensor<10xi32>
    %1 = call @Some.function(%p1, %init2) : (tensor<10xi32>, tensor<10xi32>) -> tensor<10xi32>

    return %1 : tensor<10xi32>
  }
}

Here, %init and %init2 get CSE-ed, with them aliased to %p1 because of @Some.function, thus corrupting the input %p1 when @Some.function updates what it thinks as %init2 buffer, to store the result %1.
This is somewhat related to https://github.com/openxla/iree/issues/13003
A solution is to create a new op which has the semantics of tensor.empty(), but has side-effects attribute, to avoid CSE-ing (or rather MemAlloc attribute to avoid CSE, but permit DCE).
A question to ponder is if there's any situation where tensor.empty() being CSE-ed is a good idea. It seems tensor.empty() is un-CSE-ed here in codegen when converting ops to destination passing style.
What component(s) does this issue relate to?
Compiler
Additional context
No response

A question to ponder is if there's any situation where tensor.empty() being CSE-ed is a good idea.

It's a good idea - it's not an allocation and instead functionally equivalent to arith.constant with an undefined value. Just as arith.constant CSE's so too can tensor.empty. In tensor land all tensors are immutable and as such two tensor.empty ops of the same type are both immutable tensors with undefined contents of the same type - it's actually a design bug that codegen (or users) are relying on it for allocation behavior.
The only reason to not use tensor.empty is for boundary interop where analysis breaks down - like making custom external calls - and the proper tensor semantics (immutability, copy on write) cannot be applied.
I still think we'll need to make a util.func/util.call that enables #13003 and all the other things we need for analysis but for now adding a flow.tensor.alloca that maps to a stream.async.alloca feels reasonable. I'll get on that now.

Setting to P1 'in progress' - please edit as needed!


FineTune.list_events() breaks when stream=True

Describe the bug
When I tried to list the events for my fine tune job through the Python API with streaming I get a correct response without error. However when I specify stream=True, this results in an exception being raised and crashing my application, even though the response was clearly received. Looking at the traceback, I can see that the response was received but failed to be parsed into JSON by openai.
Here's a traceback for the exception that I see:
Traceback (most recent call last):
  File "venv_py3105/lib/python3.10/site-packages/openai/api_requestor.py", line 677, in _interpret_response_line
    data = json.loads(rbody)
  File "/Users/yun.kim/.pyenv/versions/3.10.5/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/Users/yun.kim/.pyenv/versions/3.10.5/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/Users/yun.kim/.pyenv/versions/3.10.5/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

File "openai_demo.py", line 216, in fine_tune_list_events
    resp = openai.FineTune.list_events(
  File "venv_py3105/lib/python3.10/site-packages/openai/api_resources/abstract/nested_resource_class_methods.py", line 123, in list_nested_resources
    return getattr(cls, resource_request_method)("get", url, **params)
  File "venv_py3105/lib/python3.10/site-packages/openai/api_resources/abstract/nested_resource_class_methods.py", line 44, in nested_resource_request
    response, _, api_key = requestor.request(
  File "venv_py3105/lib/python3.10/site-packages/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "venv_py3105/lib/python3.10/site-packages/openai/api_requestor.py", line 624, in _interpret_response
    self._interpret_response_line(
  File "venv_py3105/lib/python3.10/site-packages/openai/api_requestor.py", line 680, in _interpret_response_line
    raise error.APIError(
openai.error.APIError: HTTP code 200 from API (data: {"object": "fine-tune-event", "level": "info", "message": "Created fine-tune: ft-XXXXXXX", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Fine-tune costs $X.XX", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Fine-tune enqueued. Queue number: 1", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Fine-tune is in the queue. Queue number: 0", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Fine-tune started", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Completed epoch 1/4", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Completed epoch 2/4", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Completed epoch 3/4", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Completed epoch 4/4", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Uploaded model: davinci:ft-XXXXXXX-2023-05-15-13-00-56", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Uploaded result file: file-XXXXXXX", "created_at":<PHONE_NUMBER>}

data: {"object": "fine-tune-event", "level": "info", "message": "Fine-tune succeeded", "created_at":<PHONE_NUMBER>}

data: [DONE]

)

To Reproduce
I am using Python 3.10.5 with openai==0.27.6.
Here is my application code:
resp = openai.FineTune.list_events(
  "ft-XXXXX",  # fine tune job ID
  api_key=os.getenv("OPENAI_API_KEY"),
  stream=True
)

Code snippets
No response
OS
macOS
Python version
Python 3.10.5
Library version
v0.27.6

你解决这个问题了吗

Have you solved the problem?

Our upcoming v1 beta supports streaming fine tunes events but it should be noted that this API is a legacy API and you should start using fine_tuning.jobs instead.
from openai import OpenAI

client = OpenAI()

stream = client.fine_tunes.list_events('id', stream=True)
for event in stream:
  print(event)


New version: Microsoft.DevHome version 0.301.198.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

 Do we want to wait until the pipelines are updated to skip stub package validation or can we let this in through manual validation?
[Policy] reset feedback
[Policy] Needs-Attention

Automatic Validation ended with:

Manifest Error: Inconsistent value in the manifest. [PackageVersion] Value: 0.300.198.0

Once we get the version thing figured out, I'm OK letting this in while we finish the stub package work.

/AzurePipelines run

Automatic Validation ended with:

Manifest Error: Inconsistent value in the manifest. [PackageVersion] Value: 0.300.198.0

I'm not seeing the cause for this error, so I'm unable to suggest a fix.


Point feedback link to Jira instead of GitHub

Thank you @TimonVS and I'm closing https://dcosjira.atlassian.net/browse/SITE-27 with it


INT - B-22138 - Duty Location Results Should Not Include ZIP Codes for PO Boxes

B-22138
Summary
This is to add is_po_box column to re_us_post_regions table to keep record of postal codes being a PO Box or not. Query for searching duty locations in duty location dropdown(customer & office share the same query) have been updated to filter out duty locations where is_po_box is true.

added is_po_box column to re_us_post_regions table and updated existing rows that need to have is_po_box as true (default is false).
added an index for is_po_box
added is_po_box to v_locations view.
updated duty location dropdown search query to filter out duty locations where is_po_box = true.

How to test

While creating a move as a customer -> use 92137 when searching for duty locations and verify that exact match does not exist. This zip is a PO Box so it should not be available in the results.
Use any other zip that is not a PO Box and verify the results show. Also search for San Diego and verify a result with 92137 does not show.
You can also verify using any other PO Box zip.
Check the office user side (Edit Orders) and verify the results are the same when searching for any duty locations.

Screenshots

testing: success


Add start over functionality -

in any dialog, users can exit the dialog at any time by typing start over

Please add documentation readme and examples etc.

Did the docs and samples get added?

There's comments but no additions to documentation.
@Azadehkhojandi IMO we need a small addition to /docs/createDialog.md addressing

The use of triggerActionOptions in a dialog
Using "start over" to clear data and end the conversation


Unboxing NPM dependencies fails --expo

What's going on?
After running npx ignite-cli new PizzaApp --expo
Unboxing NPM dependencies fails
Steps to reproduce

npx ignite-cli new PizzaApp --expo

npx ignite-cli doctor results:
ignite-cli         7.0.8
platform           darwin

@dennisbouwpas  hi, any solution to this problem? thank you


As a user, I want to be able to view all available products so I can pick from a variety

As a user, I want to be able to view all available products so I can pick from a variety


Archi 5.2 Tests & Review

@Phillipus After some issues with Eclipse and my Mac, I'm now able to test Archi 5.2. I've seen some issues and I have some remarks. Instead of opening multiple issues, I'm logging all my findings here.
Potential enhancements for Appearance tab two columns layout
My Property view being on the bottom most of the time, I tend to use the two columns layout. In this mode, I think we should tweak a bit the order and position of some attributes to better group fill/outline related attributes:

1st column
2nd column

Fill Colour
Gradient

Fill Opacity

Line Colour
Line Width

Outline Opacity

Icon Colour

Text Alignment
Text Position

Font
Font Colour

Btw, I think we should make sure we use either the word 'Line' or 'Outline' but not both. I guess the name or the attribute should be the same for elements and relations, so I suggest renaming 'Outline Opacity' to 'Line Opacity'.
'Line Colour' and 'Line Width' issue when using icon notation
There are two distinct issues:

When using icon notation, some figures use only 'Line Colour' and not 'Fill Colour'. That's the case for Plateau, Work Package, Path and Communication Network. They should be tweaked so that 'Fill Colour' is used.
Some figures only have an outline (e.g. Service, Event, Function, Process, Value...) and some have a more complex drawing involving internal lines (e.g. Collaboration, Role, Contract, Driver, Goal...). I think 'Line Colour' should only impact the outline, and not inner lines. This in turn raises the question of which colour should be used to draw these inner lines. I think the answer should be either a darker version of 'Fill Colour', or 'Icon Colour'.

Font scaling
-Dcom.archimatetool.adjustFontSize=trueworks great !
Multi-selection editing of user properties
Works great, except in some cases:
Case n°1

Select several objects, some of which (or even all, doesn't matter) have a property 'X'
Now add a new property with the same name 'X' and set its value to 'Something'
The previous action is in fact split in two steps:

A new property 'X' is created on all objects
The value of previously existing properties 'X' are set to 'Something' and the new one is empty (if an object had multiple instances of 'X', only the first one is updated and set to 'Something')

I find this behavior misleading because it let the user think that a new 'X' property will be added on all objects with the new value 'Something', in addition to potential properties having the same name, while in fact it depends whether or not a property 'X' was previously existing on the objects:

If an object hadn't the 'X' property, one is created with value 'Something'
If an object had the 'X' property, its value is changed to 'Something' and a new, empty, 'X' property is added

Potential solution could be to:

Implement the expected behavior (add a 'X' property with value 'Something' on all objects). This might be hard as it seems the property is added (empty) to objects when leaving the text field in the 'Name' column, and then its value is changed from empty to 'Something' when leaving the text field in the 'Value' column (ie. these two operations don't seem atomic).
Reject the creation of the new 'X' property because it already exists on some objects. Might be the easiest.

Case n°2

Select several objects. All share the same 'X' property with same or different values. One object has the 'X' property twice. Let's assume the first 'X' property is set to 'X1' and the second is set to 'X2'.
Now, on the line showing 'X' | '(multiple values)', change the name of the property from 'X' to 'Y'
On each objects, only the first instance of 'X' is renamed to 'Y', leading (on our sample object) to 'Y'='X1' and 'X'='X2'

Would it be possible to rename all 'X' property instances to 'Y' ?
Case n°3
This one is very similar to the previous one and maybe shares some root cause.

Select several objects. All share the same 'X' property with same or different values. One object has the 'X' property twice. Let's assume the first 'X' property is set to 'X1' and the second is set to 'X2'.
Now, on the line showing 'X' | '(multiple values)', change the value to 'X3'
On each objects, only the first instance of 'X' is updated, leading (on our sample object) to 'X'='X3' and 'X'='X2'

Would it be possible to update all 'X' property instances to 'X3' ?
Will be completed soon

@jbsarrodie Thanks for the feedback!

Potential enhancements for Appearance tab two columns layout

The problem with this is that the Eclipse Properties API works like this:

It is split into horizontal Sections
A Section is visible according to a Filter (is this a connection, an object, does it support gradient? etc)
Where we have two controls (Font/Font Colour, Fill Opacity/Line Opacity) they are in the same section and so have the same Filter. An example of this is OpacitySection.

The problem is having two controls in the same Section that require a different Filter.
In the case of Fill Colour/Gradient not all objects have Gradient (Canvas notes) so therefore we can't group those controls together.
Also, if we make the Fill Opacity and Outline Opacity Sections separate this requires some major refactoring of the OpacitySection class as you can see it contains the two controls into one section. We would need to create two Sections.
Not sure what the answer to this is. Perhaps each control should be refactored into a separate Composite class that can be reconstituted/combined into a Section. The problem is that if a Control needs to be hidden because it's not appropriate for the selected object it has to be hidden.
TL;DR - it's complicated.

I suggest renaming 'Outline Opacity' to 'Line Opacity'.

An easy win. ;-)

When using icon notation, some figures use only 'Line Colour' and not 'Fill Colour'. That's the case for Plateau, Work Package, Path and Communication Network. They should be tweaked so that 'Fill Colour' is used.

But isn't the default colour for these icon figures black (or dark grey), which is really the line colour?

Create one of these figures. The default fill colour is pink, or green
Change the figure type to icon
The icon lines are now pink or green - not ideal!
So user has to change the fill colour to black
Now change the figure type to rectangle - the fill colour needs changing to pink, or green

Some figures only have an outline (e.g. Service, Event, Function, Process, Value...) and some have a more complex drawing involving internal lines (e.g. Collaboration, Role, Contract, Driver, Goal...). I think 'Line Colour' should only impact the outline, and not inner lines. This in turn raises the question of which colour should be used to draw these inner lines. I think the answer should be either a darker version of 'Fill Colour', or 'Icon Colour'.

Surely "line colour" is not "outline colour" but the colour of all lines used in the figure?
For some figures (Collaboration, Role, for example) there are no "inner lines". These figures use ovals/circles and so can only be one colour.
If you like, you can experiment with these figures to see the outcome. You'd need to change graphics.setForegroundColor(getLineColor()) to graphics.setForegroundColor(getFillColor()) in the figure code.

I suggest renaming 'Outline Opacity' to 'Line Opacity'.

An easy win. ;-)

Good.

Potential enhancements for Appearance tab two columns layout

TL;DR - it's complicated.

Ok, so keep it as it is or maybe (if possible) move gradient section after Fill Colour and opacity section before text and font related sections:

1st column
2nd column

Fill Colour

Gradient

Line Colour

Line Width

Icon Colour

Fill Opacity
Line Opacity

Text Alignment
Text Position

Font
Font Colour

Ok, so keep it as it is or maybe (if possible) move gradient section after Fill Colour and opacity section before text and font related sections:

I'm refactoring the controls into re-usable components that can be combined into Sections containing two or more controls.
The downside of re-arranging UI elements is having to redo all the Help documentation screenshots.

But isn't the default colour for these icon figures black (or dark grey), which is really the line colour?

Looking at the ArchiMate specification it seems so, but knowing how these icons have been designed, I can tell you that we (the ArchiMate Forum) didn't think about those subtleties ;-)

The icon lines are now pink or green - not ideal!

First, a disclaimer: I almost never use icon notation.
That being said, when I do, because I use a line color which is derived from fill color, the effect is that I do see them pink or green (well, at least my version of these colors which is not as bad as the default ones):

But using the fill color (and not a darker version of it) would be even better IMHO. Here's a comparison of spec vs derived vs fill, with deliverable and technology event for reference:

If you like, you can experiment with these figures to see the outcome.

That's my plan. Note that if I'm not able to do it in a short amount of time, this should not be a blocking point for the 5.2 release.

Surely "line colour" is not "outline colour" but the colour of all lines used in the figure?

Well, I really tend to see it as "outline" because that's how it is perceived most of the time (because most of the time people use the box notation). Also, being able to set some transparency only make sense for outline (thus the attribute named "Outline Opacity"), not really for internal lines inside an icon notation.

For some figures (Collaboration, Role, for example) there are no "inner lines". These figures use ovals/circles and so can only be one colour.

That's just how they are drawn today, but I could quite easily change that ;-)
If I find enough time to test, my plan would be to have an "Outline Path" that could be use to change the colour and width of the outline without impacting internal lines, but also in the futur to better compute anchor points (I've seen a very generic and clever algorithm for computing intersection of a line and a path).
Another related topic is ability to distinguish internal lines on dark fill colour: on the one hand, if the fill color is dark, we usually want a darker colour for the outline, but for a good contrast we need a lighter colour for the internal lines (on the right is a "simulation" with one icon on top of another one):

So... I have to do some experiments ;-)

So... I have to do some experiments ;-)

That's a lot of work and potential changes. Perhaps for Archi 5.3?

5.2 is released now.


Add a few more social networks

I just added a few more social networks for author profile: twitch, quora, vk, reddit, yelp, meetup, angellist, paypal (donate link), skype (open chat),  and added color for weibo logo.

Please see this comment here: https://github.com/mmistakes/minimal-mistakes/pull/1142#issuecomment-318939268

Thanks for the PR @ducthienbui97, but as @halirutan linked to... I'm not accepting these sorts of adds. It is easy enough to customize I don't think it's productive to add every possible social network to the author sidebar.
It'll be never ending, and never quite match the order someone expects them to be listed in.


SNOW-1511601: [local testing] Snowpark 1.18.0 broke inserts using current_timestamp() in timestamp columns

Code such as the following works in 1.17.0 but throws an error in 1.18.0:
        merge_result = df.merge(
            source,
            cast(Column, (df['id'] == source['id'])),
            [when_not_matched().insert({
                'id': source['id'],
                'last_update': current_timestamp()
            })]
        )

The error is
    def write_table(
        self, name: Union[str, Iterable[str]], table: TableEmulator, mode: SaveMode
    ) -> Row:
        for column in table.columns:
            if not table[column].sf_type.nullable and table[column].isnull().any():
>               raise SnowparkLocalTestingException(
                    "NULL result in a non-nullable column"
                )
E               snowflake.snowpark.mock.exceptions.SnowparkLocalTestingException: NULL result in a non-nullable column

Note that replacing current_timestamp() with datetime.today() succeeds, but the behavior is not equivalent outside of local testing as current_timestamp() should run in the warehouse.

Hello @mraraujo ,
Thanks for raising the issue, we are looking into it, will update.
Regards,
Sujan

Hello @mraraujo ,
Could you share the code snippet so we can reproduce the issue.
Regards,
Sujan

A small reproducible example:
from snowflake.snowpark import Session, Column
from snowflake.snowpark.functions import current_timestamp, when_not_matched
from snowflake.snowpark.types import StructType, StructField, StringType, TimestampType, TimestampTimeZone
import datetime as dt
from typing import cast

session = Session.builder.config('local_testing', True).create()

target_data = [
    ("id1", dt.datetime(year=2024, month=3, day=1)),
]
target_schema = StructType([
    StructField("id", StringType()),
    StructField("last_update", TimestampType(TimestampTimeZone.NTZ)),
])

source_data = [
    ("id1"),
    ("id2"),
]

target = session.create_dataframe(target_data, schema=target_schema)
target.write.save_as_table('target', mode='overwrite')
target = session.table('target')

source = session.create_dataframe(source_data, schema=StructType([StructField("id", StringType())]))

merge_result = target.merge(
    source,
    cast(Column, (target['id'] == source['id'])),
    [when_not_matched().insert({
        'id': source['id'],
        'last_update': current_timestamp()
    })]
)

Hello @mraraujo ,
Thank you for code snippet, we are able to reproduce the issue and confirms the issue is with local_testing, its working fine with standalone session.
The output as below with standalone session: Merge is happening properly
`------------------------------
|"ID"  |"LAST_UPDATE"        |
|id1   |2024-03-01 00:00:00  |

"ID"

id1

id2

|"ID"  |"LAST_UPDATE"               |
|id1   |2024-03-01 00:00:00         |
|id2   |2024-07-08 02:36:51.947000  |`
Where as with local_testing, the following error while merging 'SnowparkLocalTestingException: NULL result in a non-nullable column'
We will work on eliminating it.
Regards,
Sujan

thanks for the report. confirmed this is a bug in our insertion during the merge operation.
I have a PR out to fix the issue: https://github.com/snowflakedb/snowpark-python/pull/1949

I have merged the PR, it will be carried in our next release.
if you'd like to try it out now, you could install form the git main branch.

I'm closing the issue now, FYI we are about to do the release late this/early next week.


Various Extension Images Changed

I've noticed that a lot of the images in extensions don't really follow the "scratch extension style" which is what TurboWarp follows as well.
I've remade all of them to fit the style better. I hope you enjoy them!
Fetch

IFrame

Clipboard

Pen Plus

Sensing Plus

Browser Fullscreen

Screen Resolution

Deltatime

All Menus

JSON
Font used is Gotham

Numerical Encoding
Font used is Gotham

S-Grab

Graphics 2D

Data Analysis

Longman Dictionary

#90

Longman Dictionary

Could you add the following logo ⬇  on the cover instead of Ld please?

(https://www.ldoceonline.com/external/images/logo_home_smartphone.svg?version=1.2.61)

@veggiecan0419
Thank you for the suggestion! Here's the fix:

@xTvii
That looks lovely

All of them are great, but I don't get the clipboard one

All of them are great, but I don't get the clipboard one

@snowboyz0825, it's a clipboard..?
This is a clipboard in real life:

and:

I feel the iFrame one could use a different or darker color, as it's a little hard to make out the little branchy logo thing in the middle. (I forgot what that was called)

Is it just me, or do a lot of these just feel empty or soulless? While making all the thumbnails look the same is good for consistency, I think it also makes some of these extensions lose a good bit of their individuality in the process. Not to mention some of these thumbnails (particularly ones like Graphics 2D, Numerical Encoding and Fetch), just seem like they use too little of the space available, especially when compared to their current thumbnails. It also doesn't help that quite a few of these seem to reuse the same background with only changes to the color and orientation. Overall, while I do like some these changes, I just think that many of these thumbnails are a bit of a downgrade from the original.

Is it just me, or do a lot of these just feel empty or soulless? While making all the thumbnails look the same is good for consistency, I think it also makes some of these extensions lose a good bit of their individuality in the process. Not to mention some of these thumbnails (particularly ones like Graphics 2D, Numerical Encoding and Fetch), just seem like they use too little of the space available, especially when compared to their current thumbnails. It also doesn't help that quite a few of these seem to reuse the same background with only changes to the color and orientation. Overall, while I do like some these changes, I just think that many of these thumbnails are a bit of a downgrade from the original.

I mean, it's partially due to the fact that some of them (notably All Menus, Clipboard and JSON) kind of stick out like sore thumbs.
When you have a bunch of well-designed images, adding new ones that disregard the clear visual format that basically every other extension image follows makes them look odd.
Personally, I just remade the images to fit the style better. If you don't think they're good, then cool. I actually hand-picked the ones that I felt looked off - and that has a lot of critera - to remake. I think the remakes for Pen and Sensing Plus, Browser Fullscreen, Clipboard, and All Menus were very much-needed.

It also doesn't help that quite a few of these seem to reuse the same background with only changes to the color and orientation.

It's probably better to use the same background over and over than use no background (JSON, sorry i'm picking away on this one) or a background that hurts the eyes (Clipboard, kind of. Those colours do not match).

Not to mention some of these thumbnails (particularly ones like Graphics 2D, Numerical Encoding and Fetch), just seem like they use too little of the space available

Doesn't Pen, up there as one of the most used extensions (probably) use, like, a quarter of the page?

While I do agree that some of the current thumbnails (Mainly the examples given in your original reply) needs some changes, I still think that some of the thumbnails you chose (Graphics 2D,
Longman Dictionary, Numerical Encoding) worked better off as is. The fact that they don't look like everything else is WHY they looked good, at least to me anyway.
As to mention some of your other points, while reusing backgrounds is indeed better than no backgrounds, the extra bit of effort that comes into making unique backgrounds helps makes a huge difference.
As as for the space usage, just because an official Scratch thumbnail used for one of the most used extensions has too much empty space doesn't automatically justify the practice. If you're going to replicate the style, the least you could do is spice things up by using more of your space on, say, a unique background.

It also doesn't help that quite a few of these seem to reuse the same background with only changes to the color and orientation.

Vanilla Scratch also does this.

Vanilla Scratch also does this.

To a much lesser extent, and it never reuses rotations as much as the gallery does right now.
I do very much like these thumbnails, nice job!

JSON: {"key":"value"} but not {"key","value"}

Thanks for pointing all those issues out, guys!
@Skyhigh173 I'll make sure to fix that soon.
@Pizzalover4783 @LilyMakesThings I'm working on changing up the blob backgrounds, with two exceptions: Pen Plus and Sensing Plus. I don't think they need a unique background, considering the other " Plus" extensions (excluding Motio) use it.

Alright! I've fixed the overusage of blobs alongside other changes! Here's everything I've made different:

These are brilliant! And I agree that sensing and pen plus don't need different backgrounds. Fantastic job!

These look significantly better

Thank you! :)

I think the All Menus blocks could be a little larger or "zoomed in" because it might be hard to read at that size

Hey if anyone sees this in the future I would like to let people know that I don't really want Pen+'s thumbnail changed due to the fact that said extension exists in multiple places and I want to keep the same sort of theme its had since 2021.

Which one? There's two and I planned to change V7 as it has text and that's described as something to be changed in the update.

I mean, I can happily just keep them the same.

Which one? There's two and I planned to change V7 as it has text and that's described as something to be changed in the update.

V7 as the website and shader editor have similarly styled logos and designs.


Release v0.18.0-M5

After #1516, I'll bump the version, and we're ready to roll.

I think we're ready to go.

:clap:


Bug: the remote name could not be resolved: 'go.microsoft.com

Deployment Mode
Deploy To Azure
Steps to reproduce
I deploy the DLZ to UKsouth with an existing DMLZ and exisiting connectivity subscription from the enterprise landing zone, but it always failed at the point of installing integration run time for both data factory and purviuew
Error Message
"code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "code": "VMExtensionProvisioningError",
      "message": "VM has reported a failure when processing extension 'ddata-dev-shir002-integrationruntime-shir'. Error message: \"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'Exception calling \"DownloadFile\" with \"2\" argument(s): \"The remote name could not be resolved: 'go.microsoft.com'\"\r\nAt C:\\azuredata\\installSHIRGateway.ps1:85 char:3\r\n+         $client.DownloadFile($url, $gatewayPath)\r\n+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot "
    }
  ]
}

Screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@hemkay , have you found a workaround for this issue? I am getting the same error with the same premise, trying to add integration runtimes to existing landing zone.


Configure Visible Waypoints

Creates a slider at the bottom left of the path window to be able to choose what range of waypoints you want to be able to view. By default, it shows you all the waypoints you've added.
I found this useful when I had complex paths that went over the same points multiple times.
I'm not sure if this feature warrants more documentation on the Choreo docs. If so, I can make some docs for it too.
I'm new to OSS and making changes to others projects so please let me know if I'm doing anything fundamentally wrong (or if I'm misusing Vite or anything else I'm doing is wrong).

Thanks for the inputs. I've been a bit busy this week so I haven't had a time to review them. I'll see if I have time this weekend, make the changes, and commit them.

The range panel should be collapsible, and that corner may not be the best place for it. We could have a "focused mode" ViewLayer and the range slider would only appear (and affect things) when the slider is on.

Got it that makes sense and is a great idea.

Does it make sense for the range to change when the user selects a waypoint outside of it? In PathPlanner, "focused mode" is always the current selected waypoint and the ones adjacent. I find this limiting sometimes, but the visible waypoints range needs to always include the selected waypoint at least.

I actually intentionally avoided making it so that the "currently selected" waypoint is always in the range. I found that often times, when I had waypoints right on top of each other or really close to each other it would be really hard to select the "bottom" one. My "workflow" for using this feature is something like this:

Have 2 nodes on top of each other
Attempt to click on one of the nodes
If the node you were looking for is the one underneath, it wont be the one selected
Adjust the slider till the earlier part of the path, where the node you were looking for is, is the only part that's visible

If the currently selected node is to always be in the selected range (i.e. you can't move the slider to go before or after it) going from step 3-4 isn't as seamless and intuitive as it requires selecting a node that's somewhere in the range that includes the node you want to select but doesn't include the one on top of it.
(imo this is also easier and more intuitive than looking through the list of nodes trying to click on the one you're looking for that's underneath)

Currently, the visible range will be reset to an empty array whenever the path is added (opening the app or loading a file). You may want to refactor visibleWaypointsRange to two values, visibleWaypointsStart and visibleWaypointsEnd.

That makes sense. I agree that this is the correct way to go forwards however I'm new to TS and JS so I'm not exactly sure logically how this is better other than the fact that I'm effectively using an array as a tuple which isn't ideal. What benefit comes from having two empty numbers rather than an empty array?
Regardless I'll implement this as misusing an array as a tuple isn't the correct choice.

Sorting of visibleWaypointsRange is not enforced anywhere as far as I can see.

Not sure what you mean by sorting. Do you mean making sure that the number in index 0 is less than the number in index 1?

What benefit comes from having two empty numbers rather than an empty array?

They're not necessarily "empty". If you have two numbers, then both have some kind of value, whereas with an array, there may not be two elements at all.

That's valid. I have pushed 2 new commits that fix the sorting enforcement issue (which was sort of already "enforced" by the fact that sliders return the lower index first but this is more formal) and a bug where I wasn't applying keys properly.

I'd appreciate it if you can look at the conditional render on line 119 of FieldConstraintsAddLayer.tsx. It starts like this: {activePath.waypoints.length >= 2 && false && (.... Unless i'm mistaken, the false just means that whatever is inside that conditional render will never be rendered, correct? I removed it in my latest commit because it seems like dead code but I can put it back if its important. It kind of looks like an old implementation of constraints to auto apply a constraint to the whole path to me.

Everything looks good, remind me to merge this after 2024.1.3 release tomorrow.

@shueja Seems like release was made.

Do you think it might be nice to have a hotkey for making the currently selected waypoint visible? I don't think that would be part of this PR but might be good as a separate change.


Azure Central: TELEMETRY_FREQUENCY_IN_SECONDS not working

Hello guys,
Im not sure if this is expected behavior but I specified 1 hour interval to send telemetry data to iot central, as I dont want to incur more cost to use the service while im testing the behavior.
On the screenshot below, I specified the interval to be 3600 (1 hour) but on the console log output, its publishing telemetry every 10 seconds.
Maybe the max frequency is 10 seconds interval ? If not, its a bug.

On IoT Central Device Page,  I confirm that it received telemetry value every 10 seconds.

Hi @ghostidentity, thank you for bringing this to our attention. It looks like there is a missing call to azure_pnp_set_telemetry_frequency in the main .ino file.
For the ESP32 IoT Central sample which you are running, you can add the following in the setup function after azure_pnp_init():
azure_pnp_set_telemetry_frequency(TELEMETRY_FREQUENCY_IN_SECONDS);. That should change the frequency at which telemetry is sent, let me know if this is not the case.


Provide tags for releases

npm shows a 2.0 release, however there is no tag for that release here. Could you please provide proper tags?

Oops, forgot to push that and a few others.  They're pushed now.  Thanks!

thanks! :) 🎉


Replace ALL zsh auto completion with fzf

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[X] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[X] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Would it be possible to have fzf completely replace zsh tab completion? At the lowest level. I don't want to configure fzf per command, e.g just for cd and docker etc - Just replace all tab completion with it.

@junegunn is this possible?

Yes it is possible, I have started a project several days ago: https://github.com/Aloxaf/fzf-tab
It hooks zsh's low level function of completion system to capture the completion list, so it works everywhere!


Add cerebro-pass

Cerebro-pass is a plugin that allows searching and copying passwords from https://www.passwordstore.org/

Perfect PR


decimal.InvalidOperation

I am seeing the followng error in my logs.
I am running HA 2022.8.0b0.
PowerCalc 0.24.3.
I think the error was probably hapening before I upgraded from 2022.7.7, but cannot be certain.
Alas, I can't (easily) roll back to verify to database schema changes in <IP_ADDRESS>b0
The error is ocurring at Startup time, so maybe because the status of a sensor is "Unavailable" or "Unknown" as it has not fully started yet.    Thus the conversion to decimal fails.
Logger: homeassistant
Source: custom_components/powercalc/sensors/power.py:447
Integration: Powercalc (documentation, issues)
First occurred: 14:49:00 (1 occurrences)
Last logged: 14:49:00

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 326, in appliance_state_listener
    await self._update_power_sensor(self._source_entity, new_state)
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 386, in _update_power_sensor
    self._power = await self.calculate_power(state)
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 447, in calculate_power
    return Decimal(power)
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

I have added extra logging for the next release so we can see which entity is the culprit. And what the value is it is trying to convert to a decimal.

Getting this as well!
Using template and doing some math so not sure if it's an issue with my template.
My template does render properly in Developer Tools > Template
Example of what I'm using:
{% set power_switch = states('switch.pool_filter_pump') %}
{% set current_speed = states('sensor.pool_filter_pump_speed')|float %}
{% set max_power_draw = 1100 %}
{% if power_switch == "on" %}
{% set current_power_draw = (max_power_draw * (current_speed / 100))|float %}
{% else %}
{% set current_power_draw = 0.0|float %}
{% endif %}
{{ current_power_draw }}

Maybe there is a better way to do it to ensure it's safer but it should at least work for now I'd think.

I added the |float to everything to ensure it was typed but dunno if that is even necessary.

I have found the issue, the problem is with sensors having a template as the value and created with new config flow.
The template is not correctly recognized by powercalc as a template so it is trying to convert the full template string to a decimal (which causes this exception).
Will have some time to write some tests and make the fix tomorrow.
@ColinRobbins did you also use a power sensor with templates?

I do.

I may be barking up the wrong tree, but I only see the issue at start up.
In general the template appears to be working.
Is it possible, during HA startup the template is returning a state of "unavailable" or "unknown", which causes the error.

I may be barking up the wrong tree, but I only see the issue at start up. In general the template appears to be working. Is it possible, during HA startup the template is returning a state of "unavailable" or "unknown", which causes the error.

hmm I am pretty sure that this bug I reproduced for specifically the config flow created entities will never work if you use a template.
Did you define the template sensor with configuration.yaml or the GUI flow?
Seems you guys have 2 different issues.
@ColinRobbins for the conversion error stack trace you posted I already made some changes yesterday to provide a better error message. When you install 0.24.3 it should give information about the entity and the value which cause the decimal conversion error.

Hi,
I use configuration.yaml.
I have 0.24.3, and do not see any addiitonal error information:
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/powercalc/sensors/power.py:447
Integration: Powercalc (documentation, issues)
First occurred: 16:48:35 (1 occurrences)
Last logged: 16:48:35

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 326, in appliance_state_listener
    await self._update_power_sensor(self._source_entity, new_state)
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 386, in _update_power_sensor
    self._power = await self.calculate_power(state)
  File "/home/homeassistant/.homeassistant/custom_components/powercalc/sensors/power.py", line 447, in calculate_power
    return Decimal(power)
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

I have several entries with template sensors, and this only throws 1 error.

Ah ok configuration.yaml, that's what I expected. So your issue is not similar to @jfrux.
I am sorry, the better error handling was not in v0.24.3 yet. Just release v0.24.4 which contains this.

No problem - by trial an error, I have tracked it to the following...
- platform: powercalc
  entity_id: sensor.ev_charge_power
  name: EV
  fixed:
    power: "{{states('sensor.ev_power_w')}}"

The sensor sensor.ev_power_w is itself a template sensor, converts kWh to w.
 - name: EV Power W
    unique_id: cjr_46
    state: >
      {% if is_number(states('sensor.ev_charge_power')) %}
        {{ states('sensor.ev_charge_power')|float * 1000 }}
      {% else %}
        0
      {% endif %}
    state_class: measurement
    icon: 'mdi:flash'
    unit_of_measurement: W
    device_class: power

My guess is, that during the startup sequence, sensor.ev_power_w is unavailable, as its one of the last things HA starts.
If I change it to
- platform: powercalc
  entity_id: sensor.electra_charge_power
  name: Electra
  fixed:
    power: >
      {% if is_number(states('sensor.ev_charge_power')) %}
        {{ states('sensor.ev_charge_power')|float * 1000 }}
      {% else %}
        0
      {% endif %}

The error goes away.

Ok that's nice. Could you still check what value is in the logs when you use your old simple template? I suspect it is "unknown". When I know this I can have a look into making this a littlte more failsafe so no error will be logged in the error log and you can still use your old template.

@ColinRobbins I have found the best solution to your problem.
Currently the initial state of the powercalc power sensor is calculated during setup of powercalc. This could cause issues like you had where one of the template entities is not setup yet.
I have now changed that to calculate the initial state after setup. I am pretty sure this will also solve your problem.
Will be in next release.
@jfrux You issue with the template not being evaluated when using the config flow is also fixed, see #918, this will also be in the upcoming release.

I've run v0.24.4 and reverted my template.
I now get the error (as anticiapted)
This error originated from a custom integration.

Logger: custom_components.powercalc.sensors.power
Source: custom_components/powercalc/sensors/power.py:326
Integration: Powercalc (documentation, issues)
First occurred: 09:20:18 (1 occurrences)
Last logged: 09:20:18

sensor.ev_charge_power: Could not convert value 'unknown' to decimal

I can now resolve this locally.  Thank you.

Just released v0.24.5 with proposed fixes mentioned above.
Closing this issue. Let me know if you still experience any issues.


onLangChange does not return changed language of device

I'm submitting a ...  (check one with "x")
[X] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
On Android device,
Used case: App is running, user navigates out of the app, launches the settings and changes the language, user returns to the app, app is getting relaunched and onLangChange does not return new updated language code. It brings old language code
Expected/desired behavior
It should bring new updated language code
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. You can use this template as a starting point: http://plnkr.co/edit/tpl:01UjWY3TKfP6pgwXKuEa
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.1.2 ios 4.3.1
Ionic Framework                 : ionic-angular 3.2.0

System:
Node       : v7.9.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.1
ios-sim    : 5.0.13
npm        : 4.6.1

ngx-translate version: x.x.x
"@ngx-translate/core": "^7.0.0",
"@ngx-translate/http-loader": "^0.1.0",

Angular version: 2.x.x

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

This line is not clear

App is running, user navigates out of the app, launches the settings and changes the language, user returns to the app

What Exactly the user changes, the device default language or app language?

Device default language.
On Sep 12, 2017 4:00 PM, "Badr Largab"<EMAIL_ADDRESS>wrote:

This line is not clear
App is running, user navigates out of the app, launches the settings and
changes the language, user returns to the app
What Exactly the user changes, the device default language or app language?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ngx-translate/core/issues/594#issuecomment-328812116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEggLte-qWdrjPORVmcZiWahZkv-27WYks5shl1RgaJpZM4OT7Nn
.

Hello, I'm closing this issue because it's too old.
If you have a similar problem with recent version of the library, please open a new issue.


New User: BestPrice

Image should be 500x200 (2.5x1) and please run it through svgo

Should be fine now :)

Logo tweaks.


Update build of docs

Recent builds have been failing. @SylvainCorlay This PR changes:

Added conda-forge to channels in environment.yml
Pinned nbsphinx to 0.2.7 since 0.2.8 introduced an error
Rebuilt carousel notebook to use py3 kernel

Closes #675

Test build of this PR: http://test-widgets.readthedocs.io/en/update-build/

Thanks @willingc


Fix crash pushing back after watching video.

There was a crash if you started watching a video and then hit the back
button. It appears to be caused by an iOS 8 only OS bug.
Also cleans up usage of isOSVersionAtLeast8 so we only check for the
one version back.

@mikekatz please review

:+1:


Compiler sees different text to editor

Hey there,
Thanks for a very useful package... couldn't use Atom as my IDE without it! ¡Muchas gracias, amigo!
I've seen one issue a few times. I get a strange compiler error message alongside the red dot on the line in question. But the error message corresponds to something different to what I see on the screen.
Here's an example where the code says, 'System' but the compiler has seen 'Systtm'.

Thanks again for all your work and effort 😸
Steve

It fixed.


Allow PinchZoom to be "controlled" via property changes

right now we have to use a componentDidUpdate() hook to invoke PinchZoom.setTransform({ scale }). It would be lovely to be able to re-render <pinch-zoom scale={newScale}> and have it update in-place.  For property-driven changes to transform, it'd be good to assume centering (#129).

I think we addressed this with additional methods and events. Reopen if not.


daytona purge in powershell not working

Describe the bug
I am unable to run daytona purge in normal powershell or even elevated ps.
Screenshots

Desktop (please complete the following information):

OS: win 11
Daytona Version: 0.24.0

Unauthorized means that the API key in the profile is incorrect.
I will assume that you started the server in WSL and then tried to use powershell. Am I on the right track?

This Issue has been automatically marked as "stale" because it has not had recent activity (for 14 days). It will be closed if no further activity occurs. Thanks for the feedback.

Due to the lack of activity in the last 7 days since it was marked as "stale", we are closing this Issue. Do not hesitate to reopen it later if necessary.