Lift pipe logic out of initial validator

This PR makes some small refactors to replace the pipe logic in and around the Initial_validator.t with calls from the parent module.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

We've discussed different approaches to the pipe spaghetti, this is unlikely to be the one. Closing.


Add Open3D

Requesting a new app ✨
If you are requesting a new app to be added to deb-get please complete the
following section, only one app per issue please.

[x] I have checked that this app does not already have a pending request and has not previously been declined.
App Name: Open3D
Download URL: https://github.com/isl-org/Open3D/releases
Website URL: http://www.open3d.org/
App Summary: 3D models visualization

The only deb on the github releases is the viewer app, which depends on the python wheel so without that all being also being deb packaged with each release I think supporting this is not appropriate.

That's a bummer, thanks for checking


Add support for Heads Up/Peeking Notification in Android 5+

As Android 5 made it harder to get the ticker when receiving a notification and Android 6 removed the ticker all together, there's no quick preview in K9 when a new email arrives.
(Note, referred to as Heads Up notification in Android 5 and Peeking Notifications in Android 6)
Expected behavior
A peeking notification should appear when an email comes in, followed by the notification being left in the notification area as it is now
Actual behavior
The notification area gains the notification, but no visual indication of its arrival (where as on Android 4 and lower, the ticker would have given a brief display of the subject and sender in the status bar as it raised the notification)
Steps to reproduce

Have notifications turned on
Receive email which should trigger a notification

Environment
K-9 Mail version: 5.111 Alpha
Android version:
Android 5
Android 6 (6.0.1 specifically)
Account type (IMAP, POP3, WebDAV/Exchange):
Any which support notifications of new email

The issue with this is that making every notification into peeking notifications would be extremely annoying for most people.
I think we probably want to develop a proper notifications settings area (using INTENT_CATEGORY_NOTIFICATION_PREFERENCES) as part of the design overhaul. This will allow users to set a subset of notifications which should be priority and thus show in a Heads Up fashion.
For now however, we can do a little better about telling Android what we are notifying, so I'm sending a PR for that.

This can be configured via Android's notification settings on Android 8.0+. I don't want to add support for this for older Android versions.


Can I change a NVME with different installed JP after switching?

Thanks for greate repo.
I flashed JP4.6 on EMMC, after that I switched roofs from EMMC to NVME. Now I have a new NVME with installed JP5.1. Can put the new NVME to Jetson?

I believe that you will need to flash the Jetson with a new QSPI image first. The QSPI image changed between 4.X and 5.X.


Feature hybrid text extraction

My apologies, wanted to set up pull request for our fork. This will come to deepdoctection:master soon enough :)


update libraries to 1.3.0

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/java-azure-tools.md
:white_check_mark:Succeeded

docs-ref-conceptual/java-sdk-azure-get-started.md
:white_check_mark:Succeeded

docs-ref-conceptual/java-sdk-azure-install.md
:white_check_mark:Succeeded

docs-ref-conceptual/java-sdk-azure-release-notes.md
:white_check_mark:Succeeded

docs-ref-services/activedirectory.md
:white_check_mark:Succeeded

docs-ref-services/appservice.md
:white_check_mark:Succeeded

docs-ref-services/batch.md
:white_check_mark:Succeeded

docs-ref-services/cdn.md
:white_check_mark:Succeeded

docs-ref-services/dns.md
:white_check_mark:Succeeded

docs-ref-services/keyvault.md
:white_check_mark:Succeeded

docs-ref-services/network.md
:white_check_mark:Succeeded

docs-ref-services/rediscache.md
:white_check_mark:Succeeded

docs-ref-services/resources.md
:white_check_mark:Succeeded

docs-ref-services/servicebus.md
:white_check_mark:Succeeded

docs-ref-services/sql.md
:white_check_mark:Succeeded

docs-ref-services/storage.md
:white_check_mark:Succeeded

docs-ref-services/trafficmanager.md
:white_check_mark:Succeeded

docs-ref-services/virtualmachines.md
:white_check_mark:Succeeded

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


Default values or hooks for relationship properties?

I have a User model with a relationships property that looks like this:
Surveys: {
            model: Survey,
            direction: 'out',
            name: 'IS_PARTICIPANT',
            properties: {
                Feedback: {
                    property: 'feedback',
                    schema: {
                        type: 'string'
                    }
                },
                Complete: {
                    property: 'complete',
                    schema: {
                        type: 'boolean'
                    }
                }
            }
        }

Is there a way to give these a default value or a beforeCreate hook?
When I go to create a user node and associate it with a Survey node, I get a Neo4j error about missing feedback and complete parameters.
I've tried adding a default value but it does not work.
I was creating my user node like this:
    const user = User.createOne({
        name: 'John Doe',
        email<EMAIL_ADDRESS>        department: 'Engineering',
        title: 'Software Engineer',
    });
    await user.relateTo({
        alias: 'Surveys',
        where: {
            target: {
                code: "ABC123"
            }
        }
    })

Hey there,
I'm afraid you can't provide default values for relationships, only for the node itself.
I'm noting this, it's a useful feature 👍

@marisb11 Hey there, I'm afraid that nothing has changed 😓 The default property comes from the validation package (called revalidator), which is a bit outdated and not very easy to adjust. So basically, that property is pretty much useless and should be ignored (both for the model and relationships).


Ensure getApplicationInfo doesn't crash when app name not found

Task/Issue URL: https://app.asana.com/0/414730916066338/1202260283121034/f
Description
packageManager.getApplicationInfo can throw NameNotFoundException but we were never catching that in the AppCategoryDetector.
The PR catches the exception and returns AppCategory.Undefined when it happens
Steps to test this PR
Just code review

Current dependencies on/for this PR:

develop

PR #1932   👈

This comment was auto-generated by Graphite.


Add Location Affordability index

Is already included in Equity. I am not sure it makes sense to recategorize.

Going to close this for now Kelly, but happy to discuss this later.


[PORT] Fix WaterfallStepContext to use parent dc properly

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3855

fixes #3854

cleaned up CreateInnerDC so it is applied consistently
changed WaterfallStepContext ctor to pass in parent dc.

Changed projects

Microsoft.Bot.Builder.Dialogs

I believe this is needed in JS.


Add button for Search Direction next to Search Bar (needed for mobile use)

I'm using Logviewer mostly on mobile.
By default it opens the tail of the logfile (most recent entries) which is good.
When typing a search word in the search bar, the search is done forward, meaning it starts from the displayed position (end of file) and searches towards the end of the file.
At this point I get the message:
Not Found
Try find to another direction (press Shift-F3 to search back)

However on a mobile device it si nto possible to access the Shift and F3 keys...
Would it be possible to add and up and arrow next to the search bar to select the search direction?

The "next" and "previous" buttons are to the right of the input field. But the input field is too wide, the buttons are out of screen, but you can scroll it to right.

The input field must not bee too wide, it's a bug.

Thanks for the tip! I did not see this...
Yes the search field is too wide...


poi STSheetViewType implmentation

I want use this project to set  sheet view type ,but can not find an equal class to poi STSheetViewType,can  any boy give me some suggestion?

Hi @jinzhu01 could you provide a sample manually created XLSX file? Also would be great if you describe in detail what STSheetViewType does.


WMS examples not working

I am not sure if I am reporting this in the right place, so apologies if that is the case. None of the WMS examples on the Leafletjs website appear to be working (http://leafletjs.com/examples/wms/wms.html)

This is a temporary failure on the WMS servers used for the demo. The responses are just a base64-encoded XML string like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "https://demo.boundlessgeo.com/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      java.lang.OutOfMemoryError: Java heap space
Java heap space
</ServiceException></ServiceExceptionReport>

I'll let the Boundless folks about this. A restart of the service should fix everything.

Fixed now, as per https://www.twitter.com/boundlessgeo/status/963846129132679168


Autocomplete not in parity with irb?

Your environment

ruby -v: ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
rdbg -v: rdbg 1.9.2

Describe the bug

If I open irb and type "put", I get completion options for "putc" and "puts".
If I run bin/rails console, I get the same.
If, within the rails console, I run binding.debugger, typing "p" gets me autocomplete options only for "p" and "pp".

Is this intended behavior, or is there configuration that would fix this? For comparison, I get the same result in pry as I do in irb ("putc"/"puts").

I think this will solve it https://github.com/ruby/debug?tab=readme-ov-file#using-irb-as-the-debug-console
If you want to make IRB the default console for all sessions, configure the `irb_console` setting by either:

* Setting the `RUBY_DEBUG_IRB_CONSOLE=true` environment variable
* Or adding `config set irb_console 1` to your `~/.rdbgrc`

That fixed it, thank you.


Added server rendering snippet to readme

A simple snipped would have saved me a bunch of time. Now I have got it working I thought I would add it to the readme to help others

We will add a example implementation to our examples and show a snippet in the README accordingly. Thanks anyway :)


[xy-chart][crosshair] support multiple circles

🏆 Enhancements
This PR adds support for rendering  multiple circles on the XYChart Crosshair component when XYChart's eventTrigger='container' (which passes series to support multiple circles). You can set styles per-circle as shown in the example:

TODO

[ ] documentation
[ ] more tests around series prop

uploading a new image for the readme :)


GH_3

All dummy search data for now until we hook up the API.

Looks like I need some help getting tests running in CircleCI. Can you take a look and advise?


Delete action

How can i bind ng-click with delete action on image ?

I have added a pull request that allows you to get the index of a clicked thumbnail through a callback - which should allow you to perform actions on the images array such as deleting. #42

Thank you, but i think there need two things. One is a callback function with a better name and other thing is attribute delete-icons="true|false". Icon like download icon and small x at the top right corner of thumbnail when user hovers image.

I'm open to suggestions on what to call the on thumb click callback. I would be happy to code that up, won't be for a couple of days though - someone else is more than welcome to take it (presuming I don't get there first).


Build typescript inside docker using multistages

Build typescript code inside docker image using a builder docker image.
It will then use built dist/ code and node module in an alpine image.
This also reduces image size by x4 and build time by ~x2

 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.

@julien-marchand this is awesome! Looking at it now ;-)

The double run of yarn install, first with the --production flag, taking a snapshot of node_modules, then running it without the flag to install dev dependencies, is very clever. Definitely something I'll add to my toolbox ;-)
I've pushed a small commit that consolidates some build steps decreasing the number of intermediate containers from 19 to 15.
Also took the chance to remove the ETHQL_INSTALL ENV var (not related to your PR).
Thanks for your contribution!


maintainers: remove flatcar-docs repository

Follow-up from https://github.com/flatcar/flatcar-website/pull/280.
BTW, it seems that flatcar-website is not listed.

Follow-up from flatcar/flatcar-website#280.
BTW, it seems that flatcar-website is not listed.

Yes, it used to be private for legacy reasons. We should add it - could you please update the PR accordingly? Maintainers are Kai, you (if you want), and myself.


Adds support for websocket connections and cors

This allows us to use web sockets for connection from browsers and nodejs.

@carsonfarmer can you merge this before @andrewxhill does a release?


Add sort to BaseComputationModel

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

Project coverage is 100.00%. Comparing base (fa5b5dc) to head (8fdf765).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           34        34
  Lines          707       717   +10
  Branches        54        55    +1
=========================================
+ Hits           707       717   +10

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


File uploads are not supported

PROBLEM: file uploads to Knack happen in 2 stages (see https://docs.knack.com/docs/fileimage-uploads)
If we were uploading a file to the Knack API right now, we'd need to use some other library to handle stage 1 (uploading the file to AWS) and then step 2 could be handled via knack-api-helper.
SOLUTION:
Add a method for handling file uploads via knack-api-helper

Fixed with version 2.3.0 release.


Show a notifier when it's required to restart server

Feature request

What problem does this feature solve?
https://github.com/saberland/saber/blob/83c18a706637fedccdbe0ad34566218dc5780d94/packages/saber/lib/plugins/extend-node-api.js#L89
People often modify saber-config.js, saber-node.js and forget to restart server.
How should this be implemented in your opinion?
Maybe use https://www.npmjs.com/package/node-notifier, and expose it in saber-utils package

Maybe a notification for when the building is finished too

re https://github.com/saberland/saber/pull/514#issuecomment-541421199

Would it be fine to restart the server automatically?


Error creating pull request from issue

Command attempted:
hub pull-request -i 1072
What happened:
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "base"
More info:
git version 2.34.1
hub version 2.14.2

VERBOSE data
$ git rev-parse -q --git-dir
$ git symbolic-ref HEAD
$ git remote -v
$ git config --get-all hub.host
> GET https://api.github.com/user
> Authorization: token [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
< HTTP 200
< X-Oauth-Scopes: repo, write:discussion
{"login":"jpschewe","id":226585,"node_id":"MDQ6VXNlcjIyNjU4NQ==","avatar_url":"https://avatars.githubusercontent.com/u/226585?v=4","gravatar_id":"","url":"https://api.github.com/users/jpschewe","html_url":"https://github.com/jpschewe","followers_url":"https://api.github.com/users/jpschewe/followers","following_url":"https://api.github.com/users/jpschewe/following{/other_user}","gists_url":"https://api.github.com/users/jpschewe/gists{/gist_id}","starred_url":"https://api.github.com/users/jpschewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpschewe/subscriptions","organizations_url":"https://api.github.com/users/jpschewe/orgs","repos_url":"https://api.github.com/users/jpschewe/repos","events_url":"https://api.github.com/users/jpschewe/events{/privacy}","received_events_url":"https://api.github.com/users/jpschewe/received_events","type":"User","site_admin":false,"name":"Jon Schewe","company":null,"blog":"http://mtu.net/~jpschewe","location":"Minneapolis, MN","email":"jpschewe@mtu.net","hireable":null,"bio":null,"twitter_username":null,"public_repos":35,"public_gists":4,"followers":13,"following":5,"created_at":"2010-03-20T02:40:11Z","updated_at":"2023-02-04T20:56:01Z"}
$ git symbolic-ref HEAD
$ git config push.default
$ git rev-parse -q --git-path refs/remotes/origin/issue/1072/team-finalist-schedule
$ git symbolic-ref refs/remotes/origin/HEAD
> GET https://api.github.com/repos/jpschewe/fll-sw
> Authorization: token [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
< HTTP 200
< X-Oauth-Scopes: repo, write:discussion
< X-Accepted-Oauth-Scopes: repo
{"id":14289657,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4OTY1Nw==","name":"fll-sw","full_name":"jpschewe/fll-sw","private":false,"owner":{"login":"jpschewe","id":226585,"node_id":"MDQ6VXNlcjIyNjU4NQ==","avatar_url":"https://avatars.githubusercontent.com/u/226585?v=4","gravatar_id":"","url":"https://api.github.com/users/jpschewe","html_url":"https://github.com/jpschewe","followers_url":"https://api.github.com/users/jpschewe/followers","following_url":"https://api.github.com/users/jpschewe/following{/other_user}","gists_url":"https://api.github.com/users/jpschewe/gists{/gist_id}","starred_url":"https://api.github.com/users/jpschewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpschewe/subscriptions","organizations_url":"https://api.github.com/users/jpschewe/orgs","repos_url":"https://api.github.com/users/jpschewe/repos","events_url":"https://api.github.com/users/jpschewe/events{/privacy}","received_events_url":"https://api.github.com/users/jpschewe/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jpschewe/fll-sw","description":"FIRST Lego League scoring software","fork":false,"url":"https://api.github.com/repos/jpschewe/fll-sw","forks_url":"https://api.github.com/repos/jpschewe/fll-sw/forks","keys_url":"https://api.github.com/repos/jpschewe/fll-sw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpschewe/fll-sw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpschewe/fll-sw/teams","hooks_url":"https://api.github.com/repos/jpschewe/fll-sw/hooks","issue_events_url":"https://api.github.com/repos/jpschewe/fll-sw/issues/events{/number}","events_url":"https://api.github.com/repos/jpschewe/fll-sw/events","assignees_url":"https://api.github.com/repos/jpschewe/fll-sw/assignees{/user}","branches_url":"https://api.github.com/repos/jpschewe/fll-sw/branches{/branch}","tags_url":"https://api.github.com/repos/jpschewe/fll-sw/tags","blobs_url":"https://api.github.com/repos/jpschewe/fll-sw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpschewe/fll-sw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpschewe/fll-sw/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpschewe/fll-sw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpschewe/fll-sw/statuses/{sha}","languages_url":"https://api.github.com/repos/jpschewe/fll-sw/languages","stargazers_url":"https://api.github.com/repos/jpschewe/fll-sw/stargazers","contributors_url":"https://api.github.com/repos/jpschewe/fll-sw/contributors","subscribers_url":"https://api.github.com/repos/jpschewe/fll-sw/subscribers","subscription_url":"https://api.github.com/repos/jpschewe/fll-sw/subscription","commits_url":"https://api.github.com/repos/jpschewe/fll-sw/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpschewe/fll-sw/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpschewe/fll-sw/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpschewe/fll-sw/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpschewe/fll-sw/contents/{+path}","compare_url":"https://api.github.com/repos/jpschewe/fll-sw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpschewe/fll-sw/merges","archive_url":"https://api.github.com/repos/jpschewe/fll-sw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpschewe/fll-sw/downloads","issues_url":"https://api.github.com/repos/jpschewe/fll-sw/issues{/number}","pulls_url":"https://api.github.com/repos/jpschewe/fll-sw/pulls{/number}","milestones_url":"https://api.github.com/repos/jpschewe/fll-sw/milestones{/number}","notifications_url":"https://api.github.com/repos/jpschewe/fll-sw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpschewe/fll-sw/labels{/name}","releases_url":"https://api.github.com/repos/jpschewe/fll-sw/releases{/id}","deployments_url":"https://api.github.com/repos/jpschewe/fll-sw/deployments","created_at":"2013-11-11T02:28:50Z","updated_at":"2022-12-14T22:27:22Z","pushed_at":"2023-02-04T22:23:30Z","git_url":"git://github.com/jpschewe/fll-sw.git","ssh_url":"git@github.com:jpschewe/fll-sw.git","clone_url":"https://github.com/jpschewe/fll-sw.git","svn_url":"https://github.com/jpschewe/fll-sw","homepage":"","size":842549,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"has_discussions":false,"forks_count":7,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":116,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":7,"open_issues":116,"watchers":12,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"temp_clone_token":"","allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"allow_auto_merge":false,"delete_branch_on_merge":false,"allow_update_branch":false,"use_squash_pr_title_as_default":false,"squash_merge_commit_message":"COMMIT_MESSAGES","squash_merge_commit_title":"COMMIT_OR_PR_TITLE","merge_commit_message":"PR_TITLE","merge_commit_title":"MERGE_MESSAGE","security_and_analysis":{"secret_scanning":{"status":"disabled"},"secret_scanning_push_protection":{"status":"disabled"}},"network_count":7,"subscribers_count":6}
$ git rev-list --cherry-pick --right-only --no-merges origin/issue/1072/team-finalist-schedule...
> POST https://api.github.com/repos/jpschewe/fll-sw/pulls
> Authorization: token [REDACTED]
> Accept: application/vnd.github.shadow-cat-preview+json;charset=utf-8
{"base":"master","head":"jpschewe:issue/1072/team-finalist-schedule","issue":1072,"maintainer_can_modify":true}
< HTTP 422
< X-Oauth-Scopes: repo, write:discussion
{"message":"Validation Failed","errors":[{"resource":"PullRequest","field":"base","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

Looking at the comments in https://github.com/github/hub/issues/189 I'm wondering if my configuration of push.default is the problem
git config push.default
nothing

I have this set so that I need to be explicit on what I push. Perhaps this setting isn't compatible with hub.
When I add "-b main" to the command line it works fine.

I faced this issue many time already, this is due to the local origin/HEAD in your git repository to hold a different value than the actual upstream origin/HEAD (aka default branch on github)
I solved this by running the following command
$ git remote set-head origin -a
origin/HEAD set to main

This actually update the local ref origin/HEAD with the value from the remote repositoriy. Unfortunately this ref is not updated along with other refs when using git fetch.
More details at : https://www.jvt.me/posts/2021/03/31/git-origin-head/

@TheoBrigitte  that works well for me, thank you.


Problem with createPaymentRequest Function in adyenCheckout.js

The current implementation of the createPaymentRequest function in adyenCheckout.js introduces a new issue. Previously, the paymentInstrument was directly passed as an argument to the function. However, in the current implementation, it is being retrieved from the Order object:
// eslint-disable-next-line complexity
function createPaymentRequest(args) {
  try {
    const order = args.Order;
    const { paymentInstrument } = order;

Why is this an issue?

Multiple Payment Instruments: The current logic always takes the first paymentInstrument from the order. This works fine if there is only one payment method, but if there are multiple payment instruments, the function logic breaks. In our case, for example, it’s possible to pay with multiple GiftCards + Adyen, where each GiftCard appears as its own payment instrument. This scenario cannot be handled correctly by the current implementation.
Deprecation: The use of order.paymentInstrument has long been deprecated, as noted in Salesforce's official documentation. Continuing to use this deprecated method introduces the risk of future compatibility issues.

Expected Behavior
The function should correctly handle multiple payment instruments without relying on deprecated properties.
See deprecated note for paymentInstrument:
https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/scriptapi/html/api/class_dw_order_LineItemCtnr.html
Note: dw.order.LineItemCtnr is the super class of dw.order.Order so every order is a lineItemCtnr

Hi @s4ty ,
Thanks for reaching out to us and also creating a pull request.
Can you please elaborate a bit on

but if there are multiple payment instruments, the function logic breaks.

Does this happen when you try using Adyen giftcards or 3rd party giftcards?
We have tested the flow by using multiple Adyen giftcards and also giftcards + another payment method from Adyen, and we don't see issues with it.
With kind regards,
Zenit
Adyen

3rd party giftcards. But this is just an example. Any 3rd party payment provider will break now with the current solution.

Hi @s4ty ,
It's clear now.
As our cartridge is built to support Adyen payment methods and works fine with the flows we support within Adyen, for the moment being we will keep the createPaymentRequest() as is.
Of course, in case you would like these changes to apply in your cartridge, you can customize it.
With kind regards,
Zenit
Adyen


ModuleNotFound

Can you please explain and help me solve this?
import sys,os,inspect
sys.path.append("/C:/Users/Przemek/Desktop/fastest-lap/examples/python")
import fastest_lap
Traceback (most recent call last):
File "<pyshell#2>", line 1, in
import fastest_lap
ModuleNotFoundError: No module named 'fastest_lap'

I think in Windows you shall use double backslash in paths. Also. you must point to the include directory as mentioned in the documentation:
sys.path.append("C:\\Users\\Przemek\\Desktop\\fastest-lap\\include")

I encourage you to learn some python before using this library, otherwise you will be super limited! Surely after a 2h youtube lesson or similar you will have a lot of extra knowledge to tame these errors.


Added CodeGen for PHP (curl)

PR Description
This PR adds the functionality of automated code generation using the curl library of PHP.
Related Issues

Related Issue #142
Closes #142

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

[x] No, I am still writing tests for form data uploads.

@royshruti Did you run the generated code locally to ensure that it is working properly?
Instructions - https://github.com/foss42/apidash/discussions/80
Also, please provide instructions on how to setup and run the script locally.

Follow-up https://github.com/foss42/apidash/issues/375


anyone know the function to get contents

i want to get content of the editor in html code

sorry i found out how to do it.
data.content


add response view options

Coverage decreased (-0.1%) to 98.932% when pulling 6c14af6b358c738da237ef185611c8531e5d9b4b on add-response-view-options into 0e92559d5039426ad5838f1bf3d55c737ec07d1d on master.

Hi vincent,
Thanks for your commit :) . Your feature is available with the v1.3.0-8.
Happy new year !


Node.js Skype message send always fails with [500] Internal Server Error

This is the example code:
const builder = require('botbuilder');
const restify = require('restify');

const server = restify.createServer();
server.listen(4770, function () {
    console.log('%s listening to %s', server.name, server.url);
});

const connector = new builder.ChatConnector({
    appId: '...',
    appPassword: '...'
});
const bot = new builder.UniversalBot(connector);
server.post('/api/messages', connector.listen());

bot.on('error', function (message) {
    console.log(message);
});

bot.dialog('/', function (session) {
    session.send("Hello World");
});

It works perfectly with built-in Web Chat, but when i am trying this with Skype i got error:
Error: Request to 'https://skype.botframework.com/v3/conversations/29%3A1xnCyeJXuG6vWU_KWabetAYO5G_k5qhNEse7z3OAKwm8/activities' failed: [500] Internal Server Error
    at Request._callback (/usr/share/apxeolog/hafen-skype-bot/node_modules/botbuilder/lib/bots/ChatConnector.js:414:46)
    at Request.self.callback (/usr/share/apxeolog/hafen-skype-bot/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/usr/share/apxeolog/hafen-skype-bot/node_modules/request/request.js:1081:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/usr/share/apxeolog/hafen-skype-bot/node_modules/request/request.js:1001:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)

I've added additional logging at ChatConnector.js:414 and this is the response body :
{ errorCode: -1,
     message: 'ExceptionContext::MS.Msn.Messenger.ConnectionGateway.WebApi.Models.ResourceMri GetDecryptedIdentity(MS.Msn.Messenger.ConnectionGateway.WebApi.Models.ResourceMri, MS.Msn.Messenger.Runtime.MessengerResourceIdentifier, MS.Msn.Messenger.Runtime.Agents.ApsAgentCache)' } }

Please can you fix this, i got this error for 4 months already
I have no idea why only Skype is not working...

@APXEOLOG Could you please share your bot msa app id?

You mean Microsoft App ID for my bot? Should i share it here, or it is private information?

This is not a secret information until you want your bot to be kept in secret.

Here it is: 9c53676a-6f1c-4f20-8f8e-1ea7f1f1c8ed

@APXEOLOG thanks a lot! I see the record in our registry for your bot is corrupted on our side. I will try to resolve that so it likely be fixed tonight .

@APXEOLOG Will you try that again, please?

@konstlut It works fine now, thank you!


Compatiable with polar projectoin with cartopy 0.20

Description
As discussed in #246, the latinline doesn't work with the new version of cartopy. Although the new cartopy also has some problem of showing lonlabels ...
Steps to reproduce
import proplot as pplt
import numpy as np

pplt.rc['cartopy.circular'] = False

fig, axs = pplt.subplots(proj='npstere')

axs.format(coast=True, reso='med',
           latlines=5, latinline=True, lonlabels='lrbt',
           boundinglat=60
           )

Expected behavior: [What you expected to happen]
The lat labels are shown inline.
Actual behavior: [What actually happened]

Equivalent steps in matplotlib
import numpy as np
import cartopy.crs as ccrs
import matplotlib.pyplot as plt
import matplotlib.ticker as mticker

ax = plt.subplot(111, projection=ccrs.NorthPolarStereo())
gl = ax.gridlines(color='r', draw_labels=True, x_inline =False, y_inline =True)

polar_extent = [-180, 180, 60, 80]
ax.set_extent(polar_extent, crs=ccrs.PlateCarree())

gl.ylocator = mticker.FixedLocator(np.arange(60, 90, 5))
gl.xlocator = mticker.FixedLocator(np.arange(-180, 180, 60))

Proplot version
Paste the results of import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)here.
3.5.0
0.9.5

For future reference here is what this should look like (using cartopy 0.19).

And here's what this looks like in matplotlib + cartopy alone (version 0.20):
import matplotlib.pyplot as plt
import cartopy.crs as ccrs

fig, ax = plt.subplots(subplot_kw={'projection': ccrs.NorthPolarStereo()})
ax.set_extent([-180, 180, 0, 90], ccrs.PlateCarree())
ax.coastlines()
ax.gridlines(
    draw_labels=True,
    x_inline=True,
    y_inline=True,
    ylim=(0, 80),
)

Thanks a lot, Luke! Did you also get some warnings when running your code above? (matplotlib: 3.5.1; proplot: master; cartopy: 0.20.1)

CLICK TO SEE WARNING
/home/xin/Documents/github/proplot/proplot/__init__.py:71: ProplotWarning: Rebuilding font cache. This usually happens after installing or updating proplot.
  register_fonts(default=True)
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:842: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  elif len(intersection) > 4:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for inter in intersection:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/crs.py:825: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  if len(multi_line_string) > 1:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  for line in multi_line_string:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/crs.py:944: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  if len(p_mline) > 0:
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  line_strings.extend(multi_line_string)
/home/xin/miniconda3/lib/python3.9/site-packages/cartopy/crs.py:982: ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the  number of parts of a multi-part geometry.
  line_strings.extend(multi_line_string)

It looks like this is a cartopy 0.20.2 issue with the latest shapely fixed in SciTools/cartopy#1913 (added in the cartopy 0.20.2 release). Alternatively you can downgrade shapely. For the website documentation I use conda install shapely==1.7.1.

Got it. Updating cartopy to 0.20.2 fixes this ;)


Extend the FUSE support

We added a few new system calls to the ABI (get_errno, set_errno, mkdir, rmdir, lstat, fstat, opendir, readdir). The stat system call was already present in libhermit-rs.  We changed its declaration and also added it to the ABI.
The two examples (fuse_test, webserver) were used for testing our changes and do not have to be merged.

The other PRs for rust and libhermit-rs can be found here:

https://github.com/hermitcore/rust/pull/6
https://github.com/hermitcore/libhermit-rs/pull/811


Failed to apply plugin for gradle 5.6

I am using Gradle 5.6 in the application. When I am trying to build the application I am getting the following error:
FAILURE: Build failed with an exception.

Where:
Build file 'D:\Cloud\appengine-potpourri\endpoints-frontend\build.gradle' line: 2

What went wrong:
A problem occurred evaluating project ':endpoints-frontend'.

Failed to apply plugin [id 'appengine']
Could not get unknown property 'classesDir' for functional test classes of type org.gradle.api.internal.tasks.DefaultSourceSetOutput.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
Reference issue:https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/308
As per this, the issue should not come in the latest version, I am using the latest version of this app engine still I am getting the same issue. Here is 2 build.gradle files.
These 2 build.gradle files reference: https://github.com/patflynn/appengine-potpourri
As this seems to be plugin issue writing over here as the gradle-appengine-plugin repository has been archived.
apply plugin: ‘war’
apply plugin: ‘appengine’
war {
version = ‘1.0’
expand appengineProjectName: appengineProject
}
appengine {
version = ‘1’
project = appengineProject
downloadSdk = true
}
dependencies {
compile ‘javax.servlet:servlet-api:2.5’
compile ‘jstl:jstl:1.2’
compile ‘com.googlecode.objectify:objectify:6.0.4’
compile ‘com.google.endpoints:endpoints-framework:2.2.1’
appengineSdk ‘com.google.appengine:appengine-java-sdk:1.9.76’
}
another build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.59'
}
}
subprojects {
repositories {
mavenCentral()
}
apply plugin: 'java'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
dependencies {
}
}

@averikitsch Do you look at these?  Could you?

This looks specific to the App Engine plugins. @elharo can you route this appropriately?

Ask @suztomo to take a look but I can't assign him in this repo

Obsolete


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.10.85",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6272b17001e6fdcf7b4a16206287010a1523fa6e"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "6272b17001e6fdcf7b4a16206287010a1523fa6e",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "HID: bigbenff: prevent null pointer dereference\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.85 by commit 6272b17001e6fdcf7b4a16206287010a1523fa6e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002505


Failed to insert into network

1.23.0-dev commit: 6394d0f
Lixee Zlinky  tuning firmware 4000-0004 (i.e. latest availble via OTA update)
When inserting Zlinky into Zigbee Network device is associated, the left network, several times and then it's over.
See attached log in debug mode.
Any clue of what I'm doing wrong ? Is it a SW issue ? HW issue ?
NB : Linky running in standard mode, mono phase, no production.
error 2022-02-12 17:49:00: Failed to configure '0x00158d0005be865e', attempt 3 (Error: ConfigureReporting 0x00158d0005be865e/1 liXeePrivate([{"attribute":"tomorrowColor","minimumReportInterval":0,"maximumReportInterval":900,"reportableChange":1}], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4151,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')
at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:317:28)
at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:649:22))
zigbee2mqtt log.txt

Could be a device failure. But the error in the logs is not related with it (the error should be fixed in https://github.com/Koenkk/zigbee-herdsman-converters/pull/3875)

Solved with HW modification


RR-366 add targetCompletionDate to dtos

Description
Add targetCompletionDate field (optional) to CreateGoalForm and CreateGoalDto
https://dsdmoj.atlassian.net/browse/RR-366

Ah; I know I just approved this PR .... but actually should these 2 new fields be Dates ?

Ah; I know I just approved this PR .... but actually should these 2 new fields be Dates ?

Oops got trigger happy and pressed before reading this! Yes you're right I was thinking because its ISO-8601 date it was a string.


When pausing a download, progress drops to zero

When attempting to pause a download, the progress drops to zero:

Migrated to https://github.com/lbryio/lbry-app/issues/180


cmd/format: remove testing dir after test

close #3413

Codecov Report
Patch coverage: 20.00% and project coverage change: +0.05 :tada:

Comparison is base (daed6f6) 56.64% compared to head (2ac12bd) 56.69%.

:exclamation: Current head 2ac12bd differs from pull request most recent head d671f22. Consider uploading reports for the commit d671f22 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3418      +/-   ##
==========================================
+ Coverage   56.64%   56.69%   +0.05%
==========================================
  Files         147      147
  Lines       35842    35845       +3
==========================================
+ Hits        20303    20324      +21
+ Misses      13322    13311      -11
+ Partials     2217     2210       -7

Impacted Files
Coverage Δ

cmd/format.go
56.70% <20.00%> (-0.44%)
:arrow_down:

... and 6 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

:+1: works for me


Login fails silently

The callback from Spotify.login started to not get called this morning (though wrong username + password still errors as it should),
Is this a change on Spotify's end?

The spotify ping pong server may not be working , try setting it up locally,
https://github.com/1994rstefan/Spotify-Ping-Pong-API

@pardo it seems to work http://ping-pong.spotify.nodestuff.net/
I'll do some local testing shortly

@pardo Confirmed, it's not the ping pong server as it doesn't work locally either.

Wait a second, azure appears to fail to connect to http://ping-pong.spotify.nodestuff.net/ interesting.
I'll close this as it works if everything is locally.


chore!: remove excluded users from ListUsers response

Description
Removes excluded_users from the response of all SDKs as it was removed from OpenFGA with https://github.com/openfga/api/pull/171.
This feature was originally a well-intentioned way to communicate any negations that may exist on public-typed wildcard (e.g. user:*) as a means of being abundantly clear about what a user:* result entails. However, as we discover more possible situations where excluded users could arise, we realize that we were making a premature decision about the API. We fully intend to re-add excluded_users at some point in the future but may or may not be a flattened list as previously implemented.
Please note:

This is technically a breaking but is acceptable provided that the ListUsers API is still experimental

References

Related PR in openfga/sdk-generator: https://github.com/openfga/sdk-generator/pull/377
Related PR in openfga/api: https://github.com/openfga/api/pull/171

Review Checklist

[x] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 27.72%. Comparing base (f36e6e2) to head (7b23edd).

Files
Patch %
Lines

...a/dev/openfga/sdk/api/model/ListUsersResponse.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #87      +/-   ##
============================================
+ Coverage     27.49%   27.72%   +0.22%
+ Complexity      787      785       -2
============================================
  Files           159      158       -1
  Lines          5928     5862      -66
  Branches        651      639      -12
============================================
- Hits           1630     1625       -5
+ Misses         4222     4161      -61
  Partials         76       76

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


Newbie Help Needed

Started off over at Armzilla...moved over here...starting from scratch.
Win 7, new java install jre1.8.0_91.
IP of host computer is <IP_ADDRESS>
Put download in the C:\Program Files\Java\jre1.8.0_91\bin directory and ran "java -jar ha-bridge-2.0.4.jar.
Response:
C:\Program Files\Java\jre1.8.0_91\bin>java -jar ha-bridge-2.0.4.jar
2016-05-06 09:29:53,148 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridg
e (v2.0.4) starting....
2016-05-06 09:29:53,168 [main] INFO  com.bwssystems.HABridge.BridgeSettings - re
ading from system properties
2016-05-06 09:29:53,168 [main] INFO  com.bwssystems.HABridge.BridgeSettings - Ge
tting an IP address for this host....
2016-05-06 09:29:53,228 [main] INFO  com.bwssystems.HABridge.BridgeSettings - Ad
ding <IP_ADDRESS> from interface eth3 as our default upnp config address.
2016-05-06 09:29:53,228 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridg
e (v2.0.4) initializing....
2016-05-06 09:29:53,238 [main] INFO  com.bwssystems.HABridge.SystemControl - Sys
tem control service started....
2016-05-06 09:29:53.328:INFO::Thread-0: Logging initialized @554ms
2016-05-06 09:29:53,368 [main] WARN  com.bwssystems.HABridge.dao.DeviceRepositor
y - Error reading the file: data\device.db - Does not exist or is not readable.
continuing...
2016-05-06 09:29:53,368 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.De
viceResource - HABridge device management service started....
2016-05-06 09:29:53,418 [Thread-0] INFO  spark.webserver.JettySparkServer - == S
park has ignited ...
2016-05-06 09:29:53,418 [Thread-0] INFO  spark.webserver.JettySparkServer - >> L
istening on <IP_ADDRESS>:8080
2016-05-06 09:29:53.428:INFO:oejs.Server:Thread-0: jetty-9.3.z-SNAPSHOT
2016-05-06 09:29:53.498:INFO:oejs.ServerConnector:Thread-0: Started ServerConnec
tor@10169ac{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:8080}
2016-05-06 09:29:53.498:INFO:oejs.Server:Thread-0: Started @721ms
2016-05-06 09:29:53,898 [main] INFO  com.bwssystems.HABridge.hue.HueMulator - Hu
e emulator service started....
2016-05-06 09:29:53,908 [main] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsRe
source - Hue description service started....
2016-05-06 09:29:53,908 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener -
UPNP Discovery Listener starting....
2016-05-06 09:29:53,958 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener -
UPNP Discovery Listener running and ready....
I realize I still need to set up some devices (in the data\devices.db file), but with the .jar file running, when I point my browser (IE11) at http://<IP_ADDRESS>:8080/configurator.html I do not see the configuration screen (like Armzilla had).  what I see is an "HTTP 404 Not Found".  Is device entry and configuration still done this way?

So, you need to read the readme here  and not on armzilla's github page and it will have all the info you need.
http://<IP_ADDRESS>:8080

Yes - thank you.  I have read the readme, but I guess I am still "not getting it".  I am not seeing any of the "tabs" mentioned, nor do I see/understand the "helpers" to load in device information (device control urls).
Prior to looking into the ha-bridge approach (here and at Armzilla), I was using the IFTTT Maker channel to "trigger" url's into my home automation system (PowerHome). Using that approach I was able to get the IFTTT Maker channel to send url's to run various macro's etc.
I am NOT a programmer...just a hack of a mechanical engineer who toys with automation.  If anyone can get me jump started it is greatly appreciated :)
Thanks

Start with the bridge control tab. If you have a vera, add it, if you have a harmony hub, add it, if you have nest add it. It is straight forward and then you will see the other helper tabs.

With the .jar file running....  and web browser pointing at http://localhost:8080, I only see:
"HA Bridge/Home/My Echo/Help/About"  across the top of the served web page.
What am I missing?

You have errors on startup, please review the output of the java program on your terminal.

Also, take a look at this thread for more information:
http://forum.micasaverde.com/index.php/topic,31920.0.html

Did you try Google Chrome? I had issues with IE

When viewed with Chrome or Safari, it then displayed correctly.


donejs-chat doesn't work if you go directly to /chat page

The reason is that can-wait doesn't finish in the client, so reattachment doesn't complete.

So the issue is that socket.io does some far-future setTimeouts that are cleared. I think the issue is that we need to handle clearTimeout.  When a timeout is cleared we can decrement the waits integer and consider that task to be complete.

This is the can-wait issue: https://github.com/canjs/can-wait/issues/27


Remove Illuminate\Contracts\Bus\SelfHandling

In gitlab by @A-Lawrence on Aug 24, 2016, 01:09
Remove Illuminate\Contracts\Bus\SelfHandling from anywhere it's currently "used".

In gitlab by @NFarrington on Sep 3, 2016, 00:10
Completed by 6dac7f01c786c8047226612acdf2098cae0c6666


basename doesn't exist in createBrowserHistory in history v5

What is the way around with basename if I'm using the newest version of history lib(5.0.0)
const history = createBrowserHistory({ basename: '/user-instructions' });

Seems to be an intentional change. See the v5 pull request #751  and #811.
There is no workaround to my knowledge.

I think it is a necessary option. Must use oldest version for that.

why not basename ???? it's so useful

@vlzuiev I've just started using a very hacky workaround, but I have my fingers crossed that there will be a nicer solution for use navigation from sagas/logic outside of components in the future.
https://github.com/ReactTraining/history/issues/810#issuecomment-680722365


feat: gigalixir support

Adds a backend for Gigalixir.
Includes a small refactor to move the http client methods out of the fly backend for reuse.

@josevalim Can I get a review on this PR?  I do not have the permissions to request a review in GitHub.

This is great! Release this as a flame_gigalixir package, then send a PR to update the main  moduledoc and readme with links to the available backends like flame_k8s and flame_gigalixir. Thanks!

Backend for gigalixir published as flame_gigalixir_backend.  Enjoy!


Remove queue reaction

The queue command leaves reactions on the message it prints to switch pages. Currently does only react to the latest queue message.
Therefore it would be good to remove the reactions of the messages, before a new queue message gets printed, in order to provide a more intuitive design.

Moving this to the Idea jar


Feature/release 0.1.5

Description
Following release process: https://github.com/spatialos/gdk-for-unity/wiki/Release-Process
Tests

[x] Clone
[x] Setup
[x] Local build
[x] Local deployment

[x] Windows
[x] Mac
[x] iOS
[x] Android

Documentation
updated changelog
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.
@oblm

mobile testing signed off 🎉


Twitter Embed Fail (2023-08-14)

So apparently, some links are failing to embed, with them saying Unknown Error. I don't know what's going on.

Seems to be the same issue as #130, Twitter keeps changing things on their end which is breaking embeds.
Will look into it ASAP

Thanks. I hope this is resolved because some vxtweets are working, while others aren't.

Should be fixed now


move hand-authored JSON reference to conceptual repo

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-json.md
:white_check_mark:Succeeded

docs/excel/custom-functions-overview.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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


Allow MigrationSource to be implemented externally

This simply adds constructors for Migration. I don't think this is a great API, but it works for my cases. This allows for fully embedding the migrations in the binary rather than having to ship the migrations and the binary. Below is an example of how I plan to use it (they're simple migrations for an IRC bot):
#[derive(Debug)]
struct IntegratedMigrations(Vec<Migration>);

impl IntegratedMigrations {
    fn new() -> Self {
        IntegratedMigrations(vec![
            Migration::new(1, "karma".into(), include_str!("1_karma.sql").into()),
            Migration::new(2, "bucket".into(), include_str!("2_bucket.sql").into()),
            Migration::new(3, "noaa".into(), include_str!("3_noaa.sql").into()),
            Migration::new(4, "forecast".into(), include_str!("4_forecast.sql").into()),
        ])
    }
}

impl MigrationSource<'static> for IntegratedMigrations {
    fn resolve(
        self,
    ) -> future::BoxFuture<'static, std::result::Result<Vec<Migration>, BoxDynError>> {
        future::ok(self.0).boxed()
    }
}

I think long term, it would be nice if something like this was built-in to the migrations system, as that would allow for using sqlx-cli and integrated migrations in a way that doesn't conflict.

@belak This needs a rebase after #555 – we decided to simply make the fields public so please remove new_with_checksum. I think new is still valuable though for dynamic use cases so the user doesn't have to calculate the checksum themselves.

Rebased and removed new_with_checksum.

Failing formatting issues are in unrelated files...


Topic Model API Refactor

Helps to branch off develop instead of master.
This should address #164 and provide a cleaner API for dealing with the results of a topic model. The lda-topics tool has been updated to use this new API.

Looks like the tests need a few file names updated.

If you have time, it would be great if you could issue a PR against the website at meta-toolkit/meta-toolkit.org (again on the develop branch) to update the topic model documentation to include how to interact with inference results using the new API.


How to identify who the stream belongs to？

I wan't to show the user name（remote user）  on the video ,but I don't know how to identify who the stream belongs to in the ontrack event .Is there any way to pass a param when publish the stream ,and get the param in the ontrack event?
Help please，Thanks in advance！

see ion-app-web, support user name


Week2 Pull request with new function

Includes new function get_GUI to call the shiny app and all updated descriptions.

@elena-sek I had the same problem in the beginning! You need to load the curl package manually with library(curl). I've also loaded shiny and dplyr to be sure. I think @Lorry7 you need to add the curl package to your imports in the description file.

I like that you mention this error in your helper file haha

Now it works for me and it looks really nice! I like that you can zoom in and click on the points to get more information.
A small thing: I haven't clicked through every rocket launch, but in the Simorgh | Mahda, Keyhan-2 & Hatef-1 the picture does not load
Regarding the documentation: I see in your files that you have the help page included, but everytime I try to run ?get_GUI() or the other function in r, it shows me that there are no results for this. I don't know whether this is just me or doesn't work at all.


benchmarks on CI

Trying to setup the benchmarks in the CI. We will need actual python code to run the benchmarks.
We might have to merge this PR into master before we can see whether the benchmarks are doing anything

Looks like the benchmark actions are running but failing. Can they be fixed in this PR before merging?

Sorry - should have waited to click that "Review" button :D
Many more things need to be added before this PR is ready for a review.

Here is a nice CI workflow that summarises the benchmark through a comment on the open PR: sympy/benchmark-summariser
Example comment in use sympy-pr-#23746

Will restart this PR once I have finished it


4.9 Not Working With Magisk

Magisk Fully Updated and Working

Energized Loads Fine at First

Fails & Hangs

Magisk binary is com.txQQ345io4oFgPML which is randomized. Was working fine before, but maybe now it's not?

Did you repackaged Magisk with random package name?

Did you repackage Magisk with random package name?

Did you repackage Magisk with random package name?

Yes, but not recently. Several months ago. It's just not stopped working. Additionally, I've totally reinstalled Magisk without obfuscation and it's still not working.


fetch-based networking follow-ups

Doesn't work on https (running curl copy.sh in buildroot):

Mixed Content: The page at 'https://copy.sh/v86/?profile=buildroot' was loaded over HTTPS, but requested an insecure resource 'http://copy.sh/'. This request has been blocked; the content must be served over HTTPS.

In the arch profile, dhcp seems to have an issue:

root@localhost:~# ./networking.sh
dhcpcd-9.4.1 starting
DUID 00:01:00:01:2e:34:fb:88:00:22:15:58:de:2b
eth0: IAID 15:58:de:2b
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
...

write some docs, in particular mention chromium --user-data-dir=/tmp/temp-chromium-profile --disable-web-security
make corsproxy/masquerade, etc. configurable in the V86 constructor and in the UI

Doesn't work on https (running curl copy.sh in buildroot):

On Firefox with HTTPS-Only mode it just automatically upgrades to HTTPS and works without problems:

Anyways, I think we could force changing protocol for fetch() if page with emulator was opened over HTTPS:
--- a/src/browser/fetch_network.js
+++ b/src/browser/fetch_network.js
@@ -1174,6 +1174,9 @@ TCPConnection.prototype.on_data_http = async function(data) {
         if(/^https?:/.test(first_line[1])) {
             target = new URL(first_line[1]);
         }
+        if(target.protocol === "http:" && window.location.protocol === "https:") {
+            target.protocol = "https:";
+        }
         let req_headers = new Headers();
         for(let i = 1; i < headers.length; ++i) {
             let parts = headers[i].split(": ");

With this patch, curl httpbin.org works (on current https://copy.sh/v86/?profile=buildroot&networking_proxy=fetch fails).

Doesn't work on https (running curl copy.sh in buildroot):

Mixed Content: The page at 'https://copy.sh/v86/?profile=buildroot' was loaded over HTTPS, but requested an insecure resource 'http://copy.sh/'. This request has been blocked; the content must be served over HTTPS.

In the arch profile, dhcp seems to have an issue:

root@localhost:~# ./networking.sh
dhcpcd-9.4.1 starting
DUID 00:01:00:01:2e:34:fb:88:00:22:15:58:de:2b
eth0: IAID 15:58:de:2b
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
eth0: soliciting a DHCP lease
eth0: offered <IP_ADDRESS> from <IP_ADDRESS>
eth0: probing address <IP_ADDRESS>/24
eth0: 52:54:00:01:02:03(52:54:00:01:02:03) claims <IP_ADDRESS>
eth0: DAD detected <IP_ADDRESS>
...

write some docs, in particular mention chromium --user-data-dir=/tmp/temp-chromium-profile --disable-web-security
make corsproxy/masquerade, etc. configurable in the V86 constructor and in the UI

I actually was having the dhcp issue on a custom built alpine issue as well, dhcpcd. Ended up just using a custom IP :/

wanted to mention that the issue also seems to happen on windows dhcp, it seems like the only working client is udhcpc, dhcpcd and windows dhcp don't work

figured it out, @copy dhcpcd sends an ARP to see if <IP_ADDRESS> belongs to someone before claiming it (DAD stands for Duplicate Address Detection), if you run dhcpcd with --noarp it seems to work fine.. I'm wondering what a good fix for this would be

fixed the issue in my PR by responding that the requestor already owns the IP on the arp, dhcpcd seems to be fine with that


Incorrect script

In the section Grant access to Microsoft Graph, the "Azure CLI" script contains this line:
graphResourceId=$(az ad sp list --display-name "Microsoft Graph" --query [0].objectId --out tsv)

There is no objectId, I suspect this is depreciated. id works, so I would suggest amending to:
graphResourceId=$(az ad sp list --display-name "Microsoft Graph" --query [0].id --out tsv)

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

ID: 73fa9ea4-0739-235e-0422-75bbab9ae398
Version Independent ID: 01013b89-b27b-73d6-8885-333d28be5257
Content: Tutorial - .NET Web app accesses Microsoft Graph as the app - Azure App Service
Content Source: articles/app-service/scenario-secure-app-access-microsoft-graph-as-app.md
Service: app-service-web
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Thanks for your feedback! We will review and update this doc accordingly.

We have reviewed your feedback and assigned it to the author to have them determine if an enhancement is necessary to the doc.

@Kurren123   Yes, look like you're right.  I'm pushing some updates now.  Thanks.

#please-close


ErrorService

The ErrorService to show a modal with the stack trace when an error is thrown should be in the styleguide.

Grove needs one of these to add the ModalService. Let's clean up this small bit of tech debt in the process.

unclosing, this should be done eventually...


Possible to read metrics in outside max_value_age_sec?

Is it possible to have trickster read in metrics further back in time than the cache will allow...but not cache?
Example we have metrics going back several years.
90% of our dashboard usage is for 1week~. Trickster cache is great for this and is set to this size.
However for us to query data outside this period we have to setup a datasource variable in grafana to change to "long term" bypassing trickster and going direct to thanos-query.
Is it possible to have trickster pull in what it can from the cache and otherwise run a non cached query if it exceeds the cache age?

hi @ninjaslothx what version of Trickster do you use? The latest stable release (0.1.x) as well as the 1.0 beta (and several releases prior) work the way you are asking without needing additional data sources.

Currently on 0.1.10
Is there a setting required to enable this? I am still getting only metrics up to the cache age.

My config looks like the following:
`[main]
[proxy_server]
[cache]
cache_type = 'filesystem'
[cache.filesystem]
cache_path = '/opt/data/trickster/cache'
[origins]
[origins.default]
origin_url = 'https://thanosurl'
api_path = '/api/v1'
max_value_age_secs = 432000
[metrics]
listen_port = 8082
[profiler]
[logging]
log_level = 'info'
log_file = '/var/log/trickster.log'`

@ninjasloth22 the filesystem and bbolt panics should now be resolved in the latest release, which is 1.0.0-rc1. Please let me know if you find everything to be fixed up and we'll close out this issue. Thanks again for the report!

As we think this is resolved, but havent gotten confirmation from the reporter after 2 weeks, i will close for now. Please re-open or file another issue if you have any more problems. thanks for the report!


Baxpr perms

Updated permissions to +x for the wrapper script

Hello @baxpr, thank you for submitting the Pull Request!

Whoops, opened this on the wrong repo...


Invalid JSON parsed without exception

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
$s = '
{
    "foo": "bar",
    "baz": ,
    "foo2": 10
}'
ConvertFrom-Json $s

Expected behavior
Something like jslint or at least throwing.
Error: Parse error on line 4:
...: "bar",    "baz": ,    "foo2": 10}
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got ','

Actual behavior
pwsh output:
foo baz foo2
--- --- ----
bar       10

powershell output
ConvertFrom-Json : Invalid JSON primitive: .

Error details
No response
Environment data
> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Its still a bug on PowerShell 7.3.8.


Cannot get sitePath to work

Trying to start Miniflare serving a site too, with this code:
const mf = new Miniflare({
    host: options.address,
    port: options.port,
    workers: [
        {
            name: 'myapp',
            script: script.toString('utf8'),
            scriptPath: 'index.mjs',
            modules: true,
            modulesRules: [{type: 'ESModule', include: ['**/*.js', '**/*.mjs']}],
            compatibilityDate: '2023-05-18',
            sitePath: options.sitePath,
        },
    ],
})

However, this fails with:

MiniflareCoreError [ERR_MODULE_RULE]: Unable to resolve "index.mjs" dependency "__STATIC_CONTENT_MANIFEST": no matching module rules.
If you're trying to import an npm package, you'll need to bundle your Worker first

If I modify getServices to add a console.log, I can see that additionalModules is populated correctly:
[
  {
    name: '__STATIC_CONTENT_MANIFEST',
    text: '{"index.html":"$__MINIFLARE_SITES__$/index.html"}'
  }
]

However, it appears that the next line, invoking getWorkerScript, doesn't get this manifest and panics.

Looks like loading the script using the modules array seems to make it work:
new Miniflare({
    host: options.address,
    port: parseInt(options.port, 10),
    workers: [
        {
            name: 'myapp',
            modules: [{
                type: 'ESModule',
                contents: script.toString('utf8'),
                path: 'index.mjs',
            }],
            compatibilityDate: '2023-05-18',
            sitePath: options.sitePath,
        },
    ],
})


UI improvement: this 2 element should be equal size on heights

Now

Should be

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer


Enabling CI for AMD with new runner..

What does this PR do?
Uses new runner for AMD ci.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Super seeded by https://github.com/huggingface/text-generation-inference/pull/2109


[watch-only] signer

[ ] testnet PSBT parse fail: https://github.com/micro-bitcoin/uBitcoin/issues/18
[ ] show address on device
[x] add custom config
[x] check fee difference
[ ] encrypt communication
[ ] cannot send to taproot -> warn message
[ ] change address not detected on HWW
[ ] locktime next block
[ ] op_return (?)
[ ] safer word-list input
[ ] show seed in browser (after encryption)

Secure communication:

use ECDH to build the shared secret
use AES-CBC for symmetric encryption

WHH side:

uBitcoin point multiplication for secret derivation
https://github.com/kokke/tiny-AES-c for encrypt/decrypt

Browser Side:

https://github.com/paulmillr/noble-secp256k1 for secret derivation
SubtleCrypto for encrypt/decrypt

[ ] test password with special characters (?)

Tetris:

https://github.com/VolosR/TTGOTetris/blob/main/TTgOTetris.ino?

[ ] PSBT checksum (check that the PSBT is not altered "in transit")


When using insta-ban, "No insta-ban" button still has to be clicked before "Start round x" button appears

The button was modified to read continue.


Convert FrontEnd service to LoadBalancer

The use of NodePort works great for testing in local but for deploying to cloud providers like AWS or GKE, when deploying the front-end service as a NodePort, the port does indeed get allocated but no public IP gets allocated, making the user to manually create a firewall rule to allow incoming traffic to that very specific port. This is quite cumbersome.
By converting the service to a LoadBalancer, providers like GKE will pick the service up, allocate a public IP to it and route all the traffic to the corresponding endpoint transparently without user
intervention.

Any insight into why this was done in one file but not in others, e.g. complete-demo.yaml ?

This was so long ago that I can't remember anymore why this change was left out of the complete-demo.yaml file.
Sorry.


ENH: scipy.interpolate.BSpline from_cubic

Reference issue

Solution for the task described in gh-6730
What does this implement/fix?

A new method from_cubic in BSpline class allows to convert a CubicSpline object to BSpline object.
Additional information

Knot vector for BSpline is constructed automatically depending on boundary condition of a CubicSpline object.

It does not pass tests because I have problem with importing CubicSpline: new version has a check for input instance but I get error due to circular import of _cubic.py
@ev-br can you please take a look at this error?

@diana-sukhoverkhova The circular import is fixed by e.g. deferring the import (a bit ugly, but get things done)
$ git diff
diff --git a/scipy/interpolate/_bsplines.py b/scipy/interpolate/_bsplines.py
index 465a3eb8d3..9405ebaacb 100644
--- a/scipy/interpolate/_bsplines.py
+++ b/scipy/interpolate/_bsplines.py
@@ -8,7 +8,6 @@ from scipy.linalg import (get_lapack_funcs, LinAlgError,
 from . import _bspl
 from . import _fitpack_impl
 from . import _fitpack as _dierckx
-from . import _cubic
 from scipy._lib._util import prod
 from scipy.special import poch
 from itertools import combinations
@@ -742,7 +741,8 @@ class BSpline:
         .. [1] Tom Lyche and Knut Mørken, Spline Methods, 2005, Section 3.1.2

         """
-        if not isinstance(pp, _cubic.CubicSpline):
+        from ._cubic import CubicSpline
+        if not isinstance(pp, CubicSpline):
              raise NotImplementedError("Only CubicSpline objects are accepted for now.")
         x = pp.x
         coef = pp.c

I think you also need to

rebase on master (here's a branch with your commits squashed and rebased: https://github.com/ev-br/scipy/tree/pr/14554)
fix lint errors which will show up once the circular import is fixed

LGTM now. CI failure is a timeout , can be ignored. Merging, thanks @diana-sukhoverkhova !


reopen ticket

Hi,
Perhaps this ticket should be reopened or should I make a new one?
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/68

You have opened a new issue right here?
If you have an issue with the example in the terraform-providers repo then you will need to create an issue there 🙂
Of if the problem is with this terraform module then please put some details here.


[mgmt] rediscache release

https://github.com/Azure/sdk-release-request/issues/4510

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-rediscache

breaking pr:https://github.com/Azure/azure-rest-api-specs/pull/25215


chore: arc rollback fd

#594
#593
#592  👈 (View in Graphite)
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 4, 6:20 PM EST: A user started a stack merge that includes this pull request via Graphite.


Problem with version "@iconify/react": "^3.1.0"

Hello,
I encountered a warning when updating from version "@iconify/react": "^3.0.1 => "@iconify/react": "^3.1.0"
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Version "@iconify/react": "^3.0.1 worked fine until the warning appeared when I updated to "@iconify/react": "^3.1.0"
My working environment:

"next": "^12.0.3"
node v14.17.3

Thanks!

I don't see that issue. Just tested it by creating basic next.js app, adding icon component.
Are you using default next.js build script that uses Webpack?

Hi, I use Next js by default.
This is the screen console of I when I use version 3.0.1

Then i upgrade the package with npm command: npm i @iconify/react@latest => "@iconify/react": "^3.1.0
I restart the console with the command: npm run dev (next start)
and got this error:

Can you post chunk of code from your component where you are using icon?

I use the iconify component in quite a few places
// icons
import { Icon, IconifyIcon } from '@iconify/react';
// @mui
import { SxProps } from '@mui/system';
import { Box, BoxProps } from '@mui/material';

// ----------------------------------------------------------------------

interface Props extends BoxProps {
  sx?: SxProps;
  icon: IconifyIcon;
}

export default function Iconify({ icon, sx, ...other }: Props) {
  return <Box component={Icon} icon={icon} sx={{ ...sx }} {...other} />;
}

Usage
import { Iconify } from '../components';

<Iconify icon={checkmarkOutline} width={28} height={28} />

or

<Iconify icon="carbon:cube" />

Here is an error:
export default function Iconify

You are exporting it as default, not a named export. But importing it as named import.

Hi, Is this a change in version 3.1.0 or is it my code? Because it doesn't warn at version 3.0.1
// in `src/components/Iconify.tsx`

import { Icon, IconifyIcon } from '@iconify/react';
import { SxProps } from '@mui/system';
import { Box, BoxProps } from '@mui/material';

// ----------------------------------------------------------------------

interface Props extends BoxProps {
  sx?: SxProps;
  icon: IconifyIcon;
}

export default function Iconify({ icon, sx, ...other }: Props) {
  return <Box component={Icon} icon={icon} sx={{ ...sx }} {...other} />;
}

// in src/components/index.ts

export { default as Iconify } from './Iconify';

import { Iconify } from '../components';

<Iconify icon={checkmarkOutline} width={28} height={28} />

or

<Iconify icon="carbon:cube" />

Tried your code, it works fine with Node 14.7.

I have fixed this problem, thanks for your patience.
But until now, I still don't understand, after upgrading the package, the warning like above occurs.
For example, I used this before, and it worked fine

import { ThemeColorPresets } from '../src/components';

But after upgrading the icon pack
I need to fix this to turn off the warning

import ThemeColorPresets from '../src/components/ThemeColorPresets';

Please close this topic.
Thank you

I don't understand it either.
My guess is some part of build process for whatever reason imports CommonJS file, while expecting ES module. Maybe it is caused by exports field in package.json, which some outdated bundlers fail to handle, but for old software there are also main and module fields. Next.js build process uses modern version of Webpack, so it should work fine.
If I could emulate that bug, I'd do my best to find out which part of build process is bugged, but I'm not getting any errors. Tried with Node 14.17.3, but not getting any errors either.
Oh well, at least there is a workaround.


fake topic subscription is not implemented

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

for handling fake consumer functionality, we need to create a subscription in an XML document for the topic, on which consumer subscription happen,

@h1alexbel Don't forget to close this ticket before the deadline (2023-06-24T12:29:10). You are past the first half of the allowed period.


Update README text from "final" to "starter" in the starter-example.

The README for the dashboard starter example matches the README for the final example, and should be updated.

Thank you @randseay  🙏🏼  - closing as it's similar to: https://github.com/vercel/next-learn/pull/300


Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode PEP 660

llmperf has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.

was this resolved?


Update Submit Screen Buttons based on Permissions

Currently, Users can see a checkboxes even if they do not have permission to submit. If a user does not have permissions, then the checkbox should be changed to a view button so that the users can view the plan they are attempting to submit.
Acceptance Criteria
Given a user has accessed the Submit Page
and the user does not have submit permissions
When the user opens the dropdown
Then the checkbox is a "View" button to select the file for submission
Given a user has accessed the Submit Page
and the user does have submit permissions
When the user opens the dropdown
Then the checkbox is a "checkbox to select the file for submissions

Submissions filtered based on permissions


Update MakesMathEasy project's repo url

Initially My Repository name was makesmatheasy.github.io
now updated to MakesMathEasy

I have already updated this repo url.


Message window cannot be closed

Could not close this windows due to missing this.click = 'click.cms.message';

LGTM


systemd dependency on db

Description

Fixes: #3954
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

@rvalle @rhtyd what do you think?

@DaanHoogland here are my observations:

Where is that file going to be installed? /lib/systemd ?
How does it work if the user runs mysql on another system, and not where the CS Manager runs?
In my system the targets are called mysql.service are you sure it is mariadb.service?
are you sure you can use Wants instead of Requires? did you check the meaning? I found that different terms imply different types of dependencies. I have checked that Requires works for our case. check https://unix.stackexchange.com/questions/388586/systemd-requires-vs-wants

I was thinking on creating a complementary dependency (in /etc/systemd...) from the cloudstack-setup-databases.
We could create it once the admin requests a configuration with mysql at localhost. then we know that mysql or mariadb run on the same system
Then we could add a switch for cloudstack-setup-databases  that disables or forces this configuration.

@DaanHoogland I have an important delivery at work at the end of month, but after that I can help you implement this.

@rvalle in the case of Wants, if the dependency is present it will be started before the dependant, and shutdown after. if it is not or if it fails to start the dependant is started anyway. (see https://github.com/apache/cloudstack/issues/3954#issuecomment-599593507)
so

when it is present on the system it works like requires, and
when the user decides to install it on another system it will start anyway (but the user is responsible for proper startup and shutdown procedures)

If I interpret the docs correctly we can add the mysql.target with no harm. if either is present they will be started. The user must make sure not both are present though, to avoid conflict.
I can see how you envision a more elegant solution, but I would opt for next release for that, minimising code change during freeze and hastening release. If this can be tested and shown to work.... I would prefer to be working on the next release by the end of the month ;)

@DaanHoogland, no no, I think your solution is better.
No need to modify the script.
I will try to test your proposal. Stopping mysql/mariadb should stop the CS Management too.
And how do we do with the mysql/mariadb thing? the service units have different names, right?
Or is it recommended to go with mariadb in general?

@DaanHoogland also, is it .target or .service?
I understand .target as a group of units, but is mariadb a target?

@rvalle I have not looked into the diff between target and service yet, missed that one. Need to look.

@DaanHoogland I will try to test tonight. might also switch to mariadb or test if the solution works with both databases.

@rvalle my use of target is due to an overzealous c&p action. I think it should be .service in both cases unless we decide to make it more versatile by having a db.target that can deal with either and will handle the case of both gracefully.
I'll update the PR to read service.

did you have a chance to test @rvalle ?

I edited the cloudstack-management.service file:
[Unit]
Description=CloudStack Management Server
After=syslog.target network.target mysqld.service
Wants=mysqld.service

and ran
systemctl start cloudstack-management
In this case, mysqld started before cloudstack-management, but after executing:
systemctl stop mysqld
to see what happens when mysqld is stopped, cloudstack-management didn't stop and started throwing errors.
By chaning the cloudstack-management.service file to:
[Unit]
Description=CloudStack Management Server
After=syslog.target network.target mysqld.service
Requires=mysqld.service

and executing
systemctl stop mysqld
cloudstack was stopped first before mysql was stopped.
By my testing, using "Wants", instead of "Requires", mysqld will start before cloudstack-management, but will not shut down cloudstack-management before mysqld.
I will take a look at a solution

@Spaceman1984 did you remember the daemon-reload after the changes?

@DaanHoogland I will test this weekend

@DaanHoogland I managed to get some testing now...
@Spaceman1984 you were right.... adding Wants/After and stopping mysql does not stop CSM.
However adding Wants/Requires DOES work... which has some other implications.
This seems to imply that Wants/Requires do have semantic differences other than the ones we have discussed before... I am back to the Systemd documentation... see if I can find the details.

This is the best I can find from Redhat 7
Requires : Configures dependencies on other units. The units listed in Requires are activated together with the unit. If any of the required units fail to start, the unit is not activated.
Wants: Configures weaker dependencies than Requires.  If any of the listed units does not start successfully, it has no  impact on the unit activation. This is the recommended way to establish  custom unit dependencies.
Looks like Wants would also start CSM if mysql is present but fails to start. I am thinking that manually stopping the service could also be interpreted as failure (?). I am not sure, but Requires is a much safer relationship for our use case.

I have continued testing a bit more.
The general case of starting and stopping the system, were both services are properly configured and work, is OK. mysql and CSM are started/stopped in the right order.
However, I can attempt to start CSM with mysql stopped and it will not start it automatically either.
I wonder what would happen in a situation in which CSM takes some time to stop, like just after the install.
I am going to try to run my to run the following test:

Install CSM
reboot right after finished.
Reestart
On installation CSM does a lot of database operations and a restart right after it would break the database. With "Require" dependency it does not break, will it be the same with Wants?

@rvalle what if mariadb/mysql server run on another server ?

ok I did run the install test with restart after install.
The database was not corrupted with Wants.
So, this is the status:
Wants seems sufficient for startup, shutdown and reboot. While still works if no mysql is installed. as @weizhouapache  is pointing.
Requires is stronger and will deal with things like shutting down CSM automatically if you happen to stop mysql (perhaps during a mysql update). Will also start mysql automatically at CSM startup even if is stopped, or will not start CSM if mysql is misconfigured. However it does require mysql to be present in the system. And you need to know if it is mysql or mariadb.
What we can do from here?
I think we should include Wants in the distribution file, because it causes no harm, and serves as a safeward. It will work and provide protection for most of the use cases.
We still have the option to modify the service unit from  /etc/systemd as discussed in #3954 adding a Requires once we know that the  mysql/mariadb runs on localhost for sure. This could be dome from the script cloudstack-setup-databases.
Another posibilty is simply to include an additional comment with instructions in the at the distrubuted Systemd. This comment could be extended to other depndencies, something like this in the provided Systemd script:
# Do not modify this file as your changes will be lost in the next CSM update.
# If you need to add specific dependencies to this service unit do it in the
# /etc/systemd/system/cloudstack-management.service.d/ directory
# If you know that either mysql or mariadb is running on this system is a good idea to
# add a Requires dependency there. Check systemd documentation for details

Code LGTM

@blueorangutan package

@Spaceman1984 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1076

Tested with mysqld, the config behaves as expected. @rvalle I tried to corrupt the db, but I was only able to do it while the upgrade scripts were running. Do you do the restart while the upgrade script is executing or after?

@Spaceman1984 I could read your comment as a LGTM or as a request for changes, please pass a verdict!?!

@Spaceman1984 my use case is just to deploy CSM with ansible and reboot the system at the end, as part of some testing.
My test was trying to prove that after a reboot the server was in the exact same state as after the ansible playbooks run. The goal is trying to prove that after a reboot everything works as expect.
But then I noticed that all those tests would corrupt the database, so I started digging into this.
Personally I have decided to go ahead with the additional Requires dependency on /etc/systemd, as I think suits best my particular deployment.
But Still think that this PR is best for all cases. Someone installing CSM is going to tune many other things too.

LGTM @DaanHoogland

@DaanHoogland you'll need to please add "mysqld" as the dependency as well (mysql happens to be an alias for mysqld 5.6 on CentOS7-  what @Spaceman1984 tested) - as "mysqld" is the unit name for mysql 5.7 and there is no such alias
Tested by adding "mysql.service" alias:
/usr/lib/systemd/system/mysqld.service (edited)
[Install]
WantedBy=multi-user.target
Alias=mysql.service
LGTM (after adding "mysqld")

I can add mysqld but it makes more sense to me replacing mysql with mysqld, after reading your comment. If mysql is an alias for mysqld these are not both needed.

on Ubuntu its mysql so I prefer to have both (all 3 that is)

@blueorangutan package

@Spaceman1984 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1085

@blueorangutan test matrix

@andrijapanicsb a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware67, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

Trillian test result (tid-1296)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27432 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3973-t1296-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Smoke tests completed. 75 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_vpc_privategw_static_routes
Failure
273.81
test_privategw_acl.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
210.71
test_privategw_acl.py

test_04_rvpc_privategw_static_routes
Failure
333.89
test_privategw_acl.py

test_01_scale_vm
Failure
13.31
test_scale_vm.py

Trillian test result (tid-1297)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28532 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3973-t1297-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 76 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_vpc_privategw_static_routes
Failure
206.10
test_privategw_acl.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
171.89
test_privategw_acl.py

test_04_rvpc_privategw_static_routes
Failure
237.42
test_privategw_acl.py

Trillian test result (tid-1298)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30852 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3973-t1298-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Smoke tests completed. 76 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_vpc_privategw_static_routes
Failure
259.31
test_privategw_acl.py

test_03_vpc_privategw_restart_vpc_cleanup
Failure
274.54
test_privategw_acl.py

test_04_rvpc_privategw_static_routes
Failure
408.08
test_privategw_acl.py


Night sky theme#1709

Fixes #1709
Describe the changes you have made in this PR -
Prior to this fix some theme variable was missing due to which night sky theme was not working properly. So, i added that missing variable.
Screenshots of the changes (If any) -

Coverage decreased (-0.006%) to 88.039% when pulling f76ff36475154dada0505bd6fc065386448d599f on AkashChetia:night-sky-theme#1709 into 438f12ef516a25cc99816de18016e6a692541ace on CircuitVerse:master.

Some of my tests are failing, i don't know why?
Could someone help me out of this @satu0king


Docker

The main point of this branch was to add a Dockerfile.  But I also made a couple other tweaks (mainly around not tracking some files in version control).  I'd be happy to discuss any of this if you want.  Thanks.

I prefer keeping ts and xml files in the repo. The reason is that you can grab a copy of the ts files as-is, like a dist (perhaps we should provide steps to download it as a release zip, and deploy in your local setup somehow, or maybe even package with npm).
The xml files were added to more easily keep track of changes to the xml files over time. Once in a while I grabbed a new set of docs, and checked for significant changes. It is not unlikely that xslt changes are needed to synch up with latest docs..

I'll revert the changes around the ts and xml files.  It might be a good idea to make those artifacts available somewhere else, but that's outside the scope of adding a Dockerfile, and we can look into that outside of this PR.