use webpack raw-loader for css stylesheet

Feel free to reject this PR, I'm not easy to offend and you've been very patient w/ me so far!
This PR is a no-op as far as the final packaged code is concerned. But (I think) it offers a minor improvement in terms of developer experience and maintainability (and also it's kind of a cool nifty little webpack trick).
Context:

webpack has a raw-loader to import any file as a string
any import statement can declare inline which loader to use with the following syntaximport txt from 'raw-loader!./file.txt';

the themeStyles stylesheet is meant to be used as a string, but is easier to author / read / maintain as a css file

Changes:

themeStyles.ts becomes themeStyles.css which makes it more clear what this file is from just its name, and allows VSCode to apply CSS syntax highlighting automatically;
webview.ts imports themeStyles.css as a string and the rest is the same as before.

Looks great to me!


fix: memory leak

Summary of Changes
Fix memory leak as noded in the related issue.
Related Issues
Fixed #853
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

No longer relevant. Closing.


Fix #60 - Vladiate enhancements.

Please, review my changes and provide your feedback. The details in https://github.com/di/vladiate/issues/60

Hi @mmuru, thanks for the PR! Would you be able to split this into separate commits so it's a little easier for me to review?

Hi @mmuru, sorry for the confusion, that step was supposed to be after your PR has been approved and you've been given merge privileges. I've updated the guidelines to make that more clear.

(and a single PR is fine, thanks!)


[Task] Missing analytics events for Git Sync

There are a few missing FE events
For Connect funnel

‘Connect Git’ event for bottom bar click
‘Commit and Push’ button click event on Deploy modal
‘Last Deployed Preview’ click on Deploy modal

For Deploy funnel

‘Commit and Push’ button click event on Deploy modal
‘Last Deployed Preview’ click on Deploy modal

For Create Branch funnel

Open branch popup event from bottom bar click on active branch name
Create branch event in the branch popup
Sync branches event in the branch popup

For Merge funnel

‘Merge Changes’ button click event on Merge modal

@vuiets can you confirm if all events are added? If yes, lets close this.

Did a quick check and notice some new events. I'll check this tomorrow and get back to you guys.

Git Analytics
For Connect funnel

‘Connect Git’ event for bottom bar click (already done)
‘Commit and Push’ button click event on Deploy modal (already done)
‘Last Deployed Preview’ click on Deploy modal (already done)

For Deploy funnel

‘Commit and Push’ button click event on Deploy modal (repeated)
‘Last Deployed Preview’ click on Deploy modal (repeated)

For Create Branch funnel

Open branch popup event from bottom bar click on active branch name (already done)
Create branch event in the branch popup (already done)
Sync branches event in the branch popup (already done)

For Merge funnel

‘Merge Changes’ button click event on Merge modal (already done)

‘Connect Git’ event for bottom bar click
AnalyticsUtil.logEvent("GS_CONNECT_GIT_CLICK", {
  source: "BOTTOM_BAR_GIT_CONNECT_BUTTON",
});

‘Commit and Push’ button click event on Deploy modal
AnalyticsUtil.logEvent("GS_COMMIT_AND_PUSH_BUTTON_CLICK",{
  source: "GIT_DEPLOY_MODAL",
	isAutoUpdate,
	isManualUpdate,
});

‘Last Deployed Preview’ click on Deploy modal
AnalyticsUtil.logEvent("GS_LAST_DEPLOYED_PREVIEW_LINK_CLICK", {
  source: "GIT_DEPLOY_MODAL",
});

Open branch popup event from bottom bar click on active branch name
AnalyticsUtil.logEvent("GS_OPEN_BRANCH_LIST_POPUP", {
  source: "BOTTOM_BAR_ACTIVE_BRANCH_NAME",
});

Create branch event in the branch popup
AnalyticsUtil.logEvent("GS_CREATE_NEW_BRANCH", {
	source: "BRANCH_LIST_POPUP_FROM_BOTTOM_BAR",
});

Sync branches event in the branch popup
AnalyticsUtil.logEvent("GS_SYNC_BRANCHES", {
  source: "BRANCH_LIST_POPUP_FROM_BOTTOM_BAR",
});

‘Merge Changes’ button click event on Merge modal
AnalyticsUtil.logEvent("GS_MERGE_CHANGES_BUTTON_CLICK", {
  source: "GIT_MERGE_MODAL",
});


Adding product and user wireframes

These are wireframe images in PNG format (so we should be able to view them directing in our code editors). These are specific to the User and Product stories.
Admin wireframes still todo in issue #46

Preview of what it should look like in VS Code:


feat: Add httplint

Description

Lint for SUSE URLs with http against the appropriate files.
Motivation and Context

Fixes: https://github.com/cloudfoundry-incubator/kubecf/issues/1195
How Has This Been Tested?

$ make httplint
SUSE URLS should start with 'https':
deploy/helm/kubecf/requirements.lock:  repository: http://opensource.suse.com/eirini-release/
deploy/helm/kubecf/requirements.lock:  repository: http://opensource.suse.com/bits-service-release/
deploy/helm/kubecf/requirements.yaml:  repository: http://opensource.suse.com/eirini-release/
deploy/helm/kubecf/requirements.yaml:  repository: http://opensource.suse.com/bits-service-release/
make: *** [Makefile:28: httplint] Error 4

Fix the URLs, then:
$ make httplint
$ echo $?
0

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code has security implications.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Feedback from DIrk on 🚀 chat:

for generic linting I think we need to take a different approach, otherwise people get around the linter issue by deploying on suse.dev or something else
or use foobar.github.io 😉
my lesson learned from the last 10 years of dealing with linters is that whenever people have a chance to bypass the linter error without first having to understand the purpose and the intention of the linter check , they will do so

As Dirk mentioned, hard-coding suse.com makes the pattern quite limited. Why should we not catch references to github.com or any other domain?
I've checked the current repo for all http:// URLs currently used:
$ git grep http:// | perl -pe 's#.*(http://[^" ):]+).*#$1#' | sort -u
http://<IP_ADDRESS>
http://json-schema.org/draft-07/schema
http://localhost
http://opensource.suse.com/bits-service-release/
http://opensource.suse.com/eirini-release/
http://registry.mirror.example
http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions
http://www.apache.org/licenses/
http://www.apache.org/licenses/LICENSE-2.0

If we exclude the docs directory, it reduces slightly:
$ git grep http:// -- ':!doc/**' | perl -pe 's#.*(http://[^" ):]+).*#$1#' | sort -u
http://<IP_ADDRESS>
http://json-schema.org/draft-07/schema
http://localhost
http://opensource.suse.com/bits-service-release/
http://opensource.suse.com/eirini-release/
http://www.apache.org/licenses/
http://www.apache.org/licenses/LICENSE-2.0

So we could hardcode these as exceptions:
$ git grep -P 'http://(?!127|json-schema|localhost|www.apache)' -- ':!doc/**' | perl -pe 's#.*(http://[^" ):]+).*#$1#' | sort -u
http://opensource.suse.com/bits-service-release/
http://opensource.suse.com/eirini-release/

These last 2 hits should then be removed by #1179.
So I think there are 2 issues still to be discussed:

Should we exclude the doc/ directory from checking?
How will we deal with the exclusion list if we move this script to kubecf-tools.git?

My suggestion would be to have a local file in the repo being linted, e.g. .http_exceptions with one line for each allowed domain, and then construct the regexp dynamically from that file. In that case I would also not exclude the docs directory, but just add each http:// URL from the docs to the exception list as well (only if they can't be converted to https://, of course).

This is what I'm suggesting:
$ cat .http_exceptions
<IP_ADDRESS>
json-schema.org/draft-07/schema
localhost
www.apache.org/licenses/
# from the doc/ tree; can they be converted to https:// ?
registry.mirror.example
thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions

$ cat ./scripts/httplint.sh
#!/usr/bin/env bash
source scripts/include/setup.sh

HTTP_EXCEPTIONS=.http_exceptions
if [ ! -f "${HTTP_EXCEPTIONS}" ]; then
    echo "httplint requires \"${HTTP_EXCEPTIONS}\" file"
    exit 1
fi

EXCEPTIONS=$(perl -e 'while(<>){chomp; push @_,quotemeta unless /^#/} print join("|", @_)' < "${HTTP_EXCEPTIONS}")
if [ "$(git grep -P "http://(?!${EXCEPTIONS})" | wc -l)" -gt 0 ]; then
    echo "URLS should not start with 'http://' (with excepted domains listed in ${HTTP_EXCEPTIONS})"
    git grep -P "http://(?!${EXCEPTIONS})"
    exit 1
fi

$ ./scripts/httplint.sh
URLS should not start with 'http://' (with excepted domains listed in .http_exceptions)
deploy/helm/kubecf/requirements.lock:  repository: http://opensource.suse.com/eirini-release/
deploy/helm/kubecf/requirements.lock:  repository: http://opensource.suse.com/bits-service-release/
deploy/helm/kubecf/requirements.yaml:  repository: http://opensource.suse.com/eirini-release/
deploy/helm/kubecf/requirements.yaml:  repository: http://opensource.suse.com/bits-service-release/

$ echo $?
1

$ perl -e 'while(<>){chomp; push @_,quotemeta unless /^#/} print join("|", @_)' < .http_exceptions
127\.0\.0\.1|json\-schema\.org\/draft\-07\/schema|localhost|www\.apache\.org\/licenses\/|www\.apache\.org\/licenses\/LICENSE\-2\.0|registry\.mirror\.example|thinkrelevance\.com\/blog\/2011\/11\/15\/documenting\-architecture\-decisions

It allows to have comments in .http_exceptions as well. The quotemeta function is used to escape dots in the URL so they are no longer wildcard character.
The nice thing about this approach is that each repo can have its own exceptions file.
Note that you need to disable history expansion if you want to use the negative lookahead assertion from the commandline, other wise !$ is expanded by the shell: set +o histexpand.
Finally, I think the exit code should always be 1 in the failure case, and not the number of matches. The exit code is an 8 bit number, so exit 256 would be the same as exit 0.

+1 on a more generic solution

I don't think we should exclude docs - we expect download links and samples in there, and they should be https too
exception lists should live in each project imo (like a gitignore)

Excellent, then I think we can just put my suggestion into kubecf-tools.git and wire it up.
The only improvement that just came to my mind is that the script should not throw an error when .http_exceptions doesn't exist; it should just run with an built-in exception list that only includes localhost:
HTTP_EXCEPTIONS=.http_exceptions
if [ -f "${HTTP_EXCEPTIONS}" ]; then
    EXCEPTIONS=$(perl -e 'while(<>){chomp; push @_,quotemeta unless /^#/} print join("|", @_)' < "${HTTP_EXCEPTIONS}")
else
    EXCEPTIONS="127\.0\.0\.1|localhost"
fi

if [ "$(git grep -P "http://(?!${EXCEPTIONS})" | wc -l)" -gt 0 ]; then
    echo "URLS should not start with 'http://' (with excepted domains listed in ${HTTP_EXCEPTIONS})"
    git grep -P "http://(?!${EXCEPTIONS})"
    exit 1
fi

That way a repo doesn't need to create a .http_exceptions file if they have nothing to put in there.

Updated consuming https://github.com/cloudfoundry-incubator/kubecf-tools/pull/4. Cheers!


Added script to create Typescript declaration file using tsc

Here is an alternative for creating the Typescript declaration file, as requested by @ruiaraujo in #13. As this is a generated file, the best would be to add it to .gitignore so that it is not accidentally checked in.
As Typescript's inclusion/exclusion logic does not allow to exclude the data/* files from being considered in the declaration creation, I just remove them afterwards.

As I said, I still consider the typings sub-optimal as they are not specifying the expected function for the currency formatter and instead of FormattingOptions use BanknoteFormatting for the type.


Create / Edit / View Item pages depending on item type

As a User I want to create, edit and view items of dirfferent types specified in #92. Only the attributes of the item type should be displayed.
Dependencies:

#92

Acceptance Criteria:

[ ] The Item View Page only contains attributes of the items type.
[ ] The Item Edit Page only contains attributes of the items type.
[ ] The input fields match the data type (eg. date input for release date).
[ ] The Item Create Page only contains attributes of the items type.

I think this has high prio as we still mock data in the item view page (which my team created). So if you need more capacity to get this done in the next sprint, my team would like to help. Let me know by Tue!

The Item creation page has already been altered to match the selected item type. Therefore the US should be estimated again.
Prio was changed to 1 as it should be implemented in Sprint 3.

new estimate: 13


Next SSR App was successfully built & deployed, but no resources were created

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
dosh7uig5h0qw
Region
ap-south-1
Amplify Console feature
Backend builds, Custom builds, Manual deploys
Describe the bug
Deployment is successful but no resources are created.

Rebuilt the branch multiple times, even deleted the app & created a new one, but the same issue persists.
Expected behavior
Ideally, resources like Cloudfront, Lambda@Edge, S3 should be created and redirect rules to be added. An output log similar to the screenshot below is expected.

Reproduction steps

Create a new app
Connect with Gitlab
Select Repo
Select Branch
Configure build settings
Save & Deploy

Build Settings
// amplify.yml
version: 1
frontend:
    phases:
        preBuild:
            commands:
                - npm i
        build:
            commands:
                - if [ "${AWS_BRANCH}" = "master" ]; then npm run build:production; fi
                - if [ "${AWS_BRANCH}" = "staging" ]; then npm run build:staging; fi
    artifacts:
        baseDirectory: .next
        files:
            - '**/*'
    cache:
        paths:
            - node_modules/**/*

Additional information
It's a Next.js SSR App having version next:10.0.3. The staging branch is integrated with Amplify. Service Role with AdministratorAccess-Amplify policy is also attached properly.

Hi @sohammondal, based on the screenshot provided, I can tell that your app was not recognized as an SSR app but rather as a static Next.js app (SSG). Your app needs to meet the following criteria to be recognized as SSR:

Output directory be .next in your amplify.yml
Build script in your package json must not say next export
Your app needs to have an IAM role attached to it.

One of those requirements was probably not meet when the app was created. But make sure you meet them and you can force your app to be treated as SSR if you run this AWS CLI commands:
aws amplify update-app \
--app-id <APP_ID> \
--platform WEB_DYNAMIC \
--region <REGION>

aws amplify update-branch \
--app-id <APP_ID> \
--branch-name <BRANCH_NAME> \
--framework 'Next.js - SSR' \
--region <REGION>

Alternatively, if it's simpler for you and you can afford it, then just delete and re-create the app. Feel free to re-open if you still have issues.


Center table at BSX stats and handle longer item names

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3378
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

lgtm

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 49.39 USD/KSM ~ 1.012 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x760921a5af1840d3015da66f6d9f2fbef9c9d5c5bd4b32290686174d5055f6cc
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


[node] Cannot install @pulumi/cloudflare v5.4 due to missing scripts/install-pulumi-plugin.js

What happened?
In the latest npm release, the scripts folder somehow is missing. As a result, the install life cycle script fails to be executed and npm exits with an error.
Expected Behavior
Install without any error
Steps to reproduce
npm install<EMAIL_ADDRESS>Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thank you for reporting this. This should be fixed in 5.4.1.
Related: https://github.com/pulumi/pulumi-azure/issues/1301


perf: Call super with only props instead of ...args

This is small output size optimization.
The only thing needed for super here is props. So we can just call it with them instead of whole args. Because args have variadic length the transpiled code has to iterate through arguments to create them and we can prevent emitting this for loop.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ GitLab Server has degraded performance

In 0818322, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11482 ms

Resolved: GitLab Server performance has improved in a27a1a5.


The build variable in the $service-worker module does not contain / (root, index.html)

Describe the bug
Service Worker does not load / (root) Request key into the cache.
When I reload the app, then / (root)  key shows up.
The build variable does not contain '/' key.
Reproduction
Build a service worker app, check the Application/Cache storage for missing / root.
Reload the app, check the Application/Cache storage, / root key is presented.
Logs
No response
System Info
System:
    OS: macOS 14.7
    CPU: (14) arm64 Apple M3 Max
    Memory: 226.39 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
    pnpm: 9.11.0 - ~/.nvm/versions/node/v20.17.0/bin/pnpm
  Browsers:
    Chrome: 130.0.6723.70
    Edge: 130.0.2849.56
    Safari: 18.0.1
  npmPackages:
    @sveltejs/adapter-node: ^5.2.9 => 5.2.9
    @sveltejs/kit: ^2.7.3 => 2.7.3
    @sveltejs/vite-plugin-svelte: ^3.1.2 => 3.1.2
    svelte: ^4.2.19 => 4.2.19
    vite: ^5.4.10 => 5.4.10

Severity
serious, but I can work around it
Additional Information
Workaround:
build.unshift('/') in service-worker before 'install' (cache preparation) phase.

Please provide a minimal reproduction in the form of a repository.


Automated cherry pick of #3809: feature: add network-status methods to change status of on-premise network

Cherry pick of #3809 on release/2.12.
#3809: feature: add network-status methods to change status of on-premise network

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@36e853e). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #3815   +/-   ##
==============================================
  Coverage                ?   6.93%
==============================================
  Files                   ?     500
  Lines                   ?   84355
  Branches                ?       0
==============================================
  Hits                    ?    5846
  Misses                  ?   78015
  Partials                ?     494

Flag
Coverage Δ

#aFlag
6.93% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/networks.go
0.55% <0%> (ø)

pkg/cloudcommon/db/statusstandalone.go
5.71% <0%> (ø)

Continue to review full report at Codecov.

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


IGNORE: just used to test an action

/deploy #persist

You can access the deployment of this PR at https://renku-ci-nb-988.dev.renku.ch


Can't connect to SMTP

Hey,
I cannot connect to Postal using SMTP, the error is "connection refused". Tried both 25 and 2525. This is a fresh Postal install. No other firewall "in front" of this VM.
Here's some debug info:
root@server:~# ufw disable
Firewall stopped and disabled on system startup
root@server:~# iptables -L -n -v
Chain INPUT (policy ACCEPT 38 packets, 7028 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 37 packets, 7128 bytes)
 pkts bytes target     prot opt in     out     source               destination

root@server:~# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:5000          <IP_ADDRESS>:*               LISTEN      1173/[postal] web.1
tcp        0      0 <IP_ADDRESS>:25672           <IP_ADDRESS>:*               LISTEN      198/beam.smp
tcp        0      0 <IP_ADDRESS>:3306          <IP_ADDRESS>:*               LISTEN      459/mysqld
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN      491/nginx -g daemon
tcp        0      0 <IP_ADDRESS>:4369            <IP_ADDRESS>:*               LISTEN      312/epmd
tcp        0      0 <IP_ADDRESS>:65432           <IP_ADDRESS>:*               LISTEN      199/sshd
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      799/master
tcp        0      0 <IP_ADDRESS>:443             <IP_ADDRESS>:*               LISTEN      491/nginx -g daemon
tcp6       0      0 :::5672                 :::*                    LISTEN      198/beam.smp
tcp6       0      0 :::80                   :::*                    LISTEN      491/nginx -g daemon
tcp6       0      0 :::4369                 :::*                    LISTEN      312/epmd
tcp6       0      0 :::65432                :::*                    LISTEN      199/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      799/master
tcp6       0      0 :::443                  :::*                    LISTEN      491/nginx -g daemon
udp        0      0 <IP_ADDRESS>:123       <IP_ADDRESS>:*                           303/ntpd
udp        0      0 <IP_ADDRESS>:123           <IP_ADDRESS>:*                           303/ntpd
udp        0      0 <IP_ADDRESS>:123             <IP_ADDRESS>:*                           303/ntpd
udp6       0      0 fe80::5ce3:abff:fe2:123 :::*                                303/ntpd
udp6       0      0 ::1:123                 :::*                                303/ntpd
udp6       0      0 :::123                  :::*                                303/ntpd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     183385004 981/systemd         /run/user/0/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     183367966 1/init              /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     183367969 1/init              /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     183368578 1/init              /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     183368579 1/init              /run/uuidd/request
unix  2      [ ACC ]     STREAM     LISTENING     183378410 459/mysqld          /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     183378831 799/master          public/pickup
unix  2      [ ACC ]     STREAM     LISTENING     183378835 799/master          public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     183378838 799/master          public/qmgr
unix  2      [ ACC ]     STREAM     LISTENING     183378842 799/master          private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     183378845 799/master          private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     183378848 799/master          private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     183378851 799/master          private/defer
unix  2      [ ACC ]     STREAM     LISTENING     183378854 799/master          private/trace
unix  2      [ ACC ]     STREAM     LISTENING     183378857 799/master          private/verify
unix  2      [ ACC ]     STREAM     LISTENING     183378860 799/master          public/flush
unix  2      [ ACC ]     STREAM     LISTENING     183378863 799/master          private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     183378866 799/master          private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     183378869 799/master          private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     183378872 799/master          private/relay
unix  2      [ ACC ]     STREAM     LISTENING     183378875 799/master          public/showq
unix  2      [ ACC ]     STREAM     LISTENING     183378878 799/master          private/error
unix  2      [ ACC ]     STREAM     LISTENING     183378881 799/master          private/retry
unix  2      [ ACC ]     STREAM     LISTENING     183378884 799/master          private/discard
unix  2      [ ACC ]     STREAM     LISTENING     183378887 799/master          private/local
unix  2      [ ACC ]     STREAM     LISTENING     183378890 799/master          private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     183378893 799/master          private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     183378896 799/master          private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     183378899 799/master          private/scache
unix  2      [ ACC ]     STREAM     LISTENING     183378902 799/master          private/maildrop
unix  2      [ ACC ]     STREAM     LISTENING     183378905 799/master          private/uucp
unix  2      [ ACC ]     STREAM     LISTENING     183378908 799/master          private/ifmail
unix  2      [ ACC ]     STREAM     LISTENING     183378911 799/master          private/bsmtp
unix  2      [ ACC ]     STREAM     LISTENING     183378914 799/master          private/scalemail-backend
unix  2      [ ACC ]     STREAM     LISTENING     183378917 799/master          private/mailman
unix  2      [ ACC ]     STREAM     LISTENING     183404933 1167/app)           /tmp/postal/pids/procodile.sock

root@server:~# systemctl status postal
* postal.service - Postal Mail Platform
   Loaded: loaded (/etc/systemd/system/postal.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-08-10 15:39:07 EEST; 52min ago
  Process: 1152 ExecStop=/usr/bin/postal stop (code=exited, status=0/SUCCESS)
  Process: 1158 ExecStart=/usr/bin/postal start (code=exited, status=0/SUCCESS)
 Main PID: 1167 (procodile)
   CGroup: /system.slice/postal.service
           |-1167 [procodile] Postal (/opt/postal/app)
           |-1173 [postal] web.1
           |-1175 [postal] worker.1 (i
           |-1178 [postal] cron.1
           `-1184 [postal] requeuer.1

Aug 10 15:39:07 server systemd[1]: Stopped Postal Mail Platform.
Aug 10 15:39:07 server systemd[1]: Starting Postal Mail Platform...
Aug 10 15:39:07 server postal[1158]: Started Procodile supervisor with PID 1167
Aug 10 15:39:07 server systemd[1]: Started Postal Mail Platform.
root@server:~#

Any hints?
Thank you,
Razvan

Help
Me to!!
What are we missing??
On Aug 10, 2017 9:33 AM, "Razvan Rosca"<EMAIL_ADDRESS>wrote:

Hey,
I cannot connect to Postal using SMTP, the error is "connection refused".
Tried both 25 and 2525. This is a fresh Postal install. No other firewall
"in front" of this VM.
Here's some debug info:
root@server:~# ufw disable
Firewall stopped and disabled on system startup
root@server:~# iptables -L -n -v
Chain INPUT (policy ACCEPT 38 packets, 7028 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain OUTPUT (policy ACCEPT 37 packets, 7128 bytes)
pkts bytes target     prot opt in     out     source               destination
root@server:~# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:5000          <IP_ADDRESS>:*               LISTEN      1173/[postal] web.1
tcp        0      0 <IP_ADDRESS>:25672           <IP_ADDRESS>:*               LISTEN      198/beam.smp
tcp        0      0 <IP_ADDRESS>:3306          <IP_ADDRESS>:*               LISTEN      459/mysqld
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN      491/nginx -g daemon
tcp        0      0 <IP_ADDRESS>:4369            <IP_ADDRESS>:*               LISTEN      312/epmd
tcp        0      0 <IP_ADDRESS>:65432           <IP_ADDRESS>:*               LISTEN      199/sshd
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      799/master
tcp        0      0 <IP_ADDRESS>:443             <IP_ADDRESS>:*               LISTEN      491/nginx -g daemon
tcp6       0      0 :::5672                 :::*                    LISTEN      198/beam.smp
tcp6       0      0 :::80                   :::*                    LISTEN      491/nginx -g daemon
tcp6       0      0 :::4369                 :::*                    LISTEN      312/epmd
tcp6       0      0 :::65432                :::*                    LISTEN      199/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      799/master
tcp6       0      0 :::443                  :::*                    LISTEN      491/nginx -g daemon
udp        0      0 <IP_ADDRESS>:123       <IP_ADDRESS>:*                           303/ntpd
udp        0      0 <IP_ADDRESS>:123           <IP_ADDRESS>:*                           303/ntpd
udp        0      0 <IP_ADDRESS>:123             <IP_ADDRESS>:*                           303/ntpd
udp6       0      0 fe80::5ce3:abff:fe2:123 :::*                                303/ntpd
udp6       0      0 ::1:123                 :::*                                303/ntpd
udp6       0      0 :::123                  :::*                                303/ntpd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     183385004 981/systemd         /run/user/0/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     183367966 1/init              /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     183367969 1/init              /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     183368578 1/init              /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     183368579 1/init              /run/uuidd/request
unix  2      [ ACC ]     STREAM     LISTENING     183378410 459/mysqld          /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     183378831 799/master          public/pickup
unix  2      [ ACC ]     STREAM     LISTENING     183378835 799/master          public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     183378838 799/master          public/qmgr
unix  2      [ ACC ]     STREAM     LISTENING     183378842 799/master          private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     183378845 799/master          private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     183378848 799/master          private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     183378851 799/master          private/defer
unix  2      [ ACC ]     STREAM     LISTENING     183378854 799/master          private/trace
unix  2      [ ACC ]     STREAM     LISTENING     183378857 799/master          private/verify
unix  2      [ ACC ]     STREAM     LISTENING     183378860 799/master          public/flush
unix  2      [ ACC ]     STREAM     LISTENING     183378863 799/master          private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     183378866 799/master          private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     183378869 799/master          private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     183378872 799/master          private/relay
unix  2      [ ACC ]     STREAM     LISTENING     183378875 799/master          public/showq
unix  2      [ ACC ]     STREAM     LISTENING     183378878 799/master          private/error
unix  2      [ ACC ]     STREAM     LISTENING     183378881 799/master          private/retry
unix  2      [ ACC ]     STREAM     LISTENING     183378884 799/master          private/discard
unix  2      [ ACC ]     STREAM     LISTENING     183378887 799/master          private/local
unix  2      [ ACC ]     STREAM     LISTENING     183378890 799/master          private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     183378893 799/master          private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     183378896 799/master          private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     183378899 799/master          private/scache
unix  2      [ ACC ]     STREAM     LISTENING     183378902 799/master          private/maildrop
unix  2      [ ACC ]     STREAM     LISTENING     183378905 799/master          private/uucp
unix  2      [ ACC ]     STREAM     LISTENING     183378908 799/master          private/ifmail
unix  2      [ ACC ]     STREAM     LISTENING     183378911 799/master          private/bsmtp
unix  2      [ ACC ]     STREAM     LISTENING     183378914 799/master          private/scalemail-backend
unix  2      [ ACC ]     STREAM     LISTENING     183378917 799/master          private/mailman
unix  2      [ ACC ]     STREAM     LISTENING     183404933 1167/app)           /tmp/postal/pids/procodile.sock
root@server:~# systemctl status postal

postal.service - Postal Mail Platform
Loaded: loaded (/etc/systemd/system/postal.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-08-10 15:39:07 EEST; 52min ago
Process: 1152 ExecStop=/usr/bin/postal stop (code=exited, status=0/SUCCESS)
Process: 1158 ExecStart=/usr/bin/postal start (code=exited, status=0/SUCCESS)
Main PID: 1167 (procodile)
CGroup: /system.slice/postal.service
|-1167 [procodile] Postal (/opt/postal/app)
|-1173 [postal] web.1
|-1175 [postal] worker.1 (i
|-1178 [postal] cron.1
`-1184 [postal] requeuer.1

Aug 10 15:39:07 server systemd[1]: Stopped Postal Mail Platform.
Aug 10 15:39:07 server systemd[1]: Starting Postal Mail Platform...
Aug 10 15:39:07 server postal[1158]: Started Procodile supervisor with PID 1167
Aug 10 15:39:07 server systemd[1]: Started Postal Mail Platform.
root@server:~#
Any hints?
Thank you,
Razvan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/atech/postal/issues/306, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMMA53v7QDXnls10US8hX4YCe4G9LB7kks5sWwacgaJpZM4Ozbkn
.

Locally I can connect to localhost but not to the public IP.
root@server:~# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 server.localdomain ESMTP Postfix (Debian/GNU)
root@server:~# telnet <IP_ADDRESS> 25
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused

@Razva Your netstat suggests that you have something that isn't postal listening on port 25. Your telnet suggests that that something is postfix.
Try disabling postfix with something like systemctl stop postfix; systemctl disable postfix
@shopglobal I suggest you try telnet and post screenshots of what happens in your issue https://github.com/atech/postal/issues/293

@willpower232 understood, I was thinking that Postal is using Postfix in order to relay messages. Any hint on how to enable 2525 as well? Iptables redirect or can I set Postal to listen on that as well? Thank you so much!

Our postal runs on port 25 as standard but we use iptables to forward 2525 to it
/sbin/iptables -t nat -I PREROUTING -d <IP_ADDRESS> -p tcp -m tcp --dport 2525 -j DNAT --to-destination <IP_ADDRESS>:25
/sbin/iptables -t nat -I OUTPUT     -d <IP_ADDRESS> -p tcp -m tcp --dport 2525 -j DNAT --to-destination <IP_ADDRESS>:25

Replace <IP_ADDRESS> with your own internal IP address.
We have this in a bash script running at boot. You can verify the rules are in place with iptables -nvL -t nat.

Our postal runs on port 25 as standard but we use iptables to forward 2525 to it
/sbin/iptables -t nat -I PREROUTING -d <IP_ADDRESS> -p tcp -m tcp --dport 2525 -j DNAT --to-destination <IP_ADDRESS>:25
/sbin/iptables -t nat -I OUTPUT     -d <IP_ADDRESS> -p tcp -m tcp --dport 2525 -j DNAT --to-destination <IP_ADDRESS>:25

Replace <IP_ADDRESS> with your own internal IP address.
We have this in a bash script running at boot. You can verify the rules are in place with iptables -nvL -t nat.

Just curious:
Wil port 25 stop working if I do this?

@willpower232 I tried it, and now BOTH 25 and 2525 are open and working. Cool.


⚠ Processors has degraded performance

In 1c0407c, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: Processors performance has improved in 7e2a71c.


"bus error" on long running nif

A nif I have been running produces a "bus error" when it takes a couple seconds to complete. In some conditions it shows up as a SegFault which I believe to the same as a "bus error" but I'm not sure. The algorithm is a curve decimation algorithm that of course takes longer to complete the more points you give it and around 21600 data points it takes a couple seconds to complete and produces the "bus error". Curiously the Rust doesn't crash if compiled into just a Rust application and run directly.
Here's some example output:
$ mix test
--Path.expand--
--File.stream--
--CSV.decode--
--to_rust--
**simplify** num_records: 21600
**collected**
**LineString**
[1]    13915 bus error  mix test

I'm not sure if this is directly a memory related issue or if it has to do with how long it takes to complete. Is there some rustler configuration I'm missing that would allow this nif to complete successfully?
I've created a self contained repo to demonstrate the issue: https://github.com/anthonyfalzetti/geo_simplify
All of the Rust code is in this one file: https://github.com/anthonyfalzetti/geo_simplify/blob/main/native/geonif/src/lib.rs

We simplified this example down to a single function. The new version is available in the same repository.
This problem appears to be caused by a stack overflow. As Issue 294 pointed out, there's not much Rustler could do to prevent this issue, so we're going to close the ticket.


Fix error in details command

I assume, the intended code was:
if not hasattr(self, 'neonNews'):

Adding the change within https://github.com/pytr-org/pytr/pull/75


ReplaceItemAsync return value .Resource property is null in some cases

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
ReplaceItemAsync return value's .Resource property is null is some cases.
We are using Azure Cosmos Db Emulator in the PR validation tests, and the test fails in the pipeline, but successed locally with the emulator.
To Reproduce

Create an item in a container.
Get the item from the container with ReadItemAsync.
Change a property on the item.
Call ReplaceItemAsync on that item.
Verity ReplaceItemAsync return value.

Expected behavior
.Resource property is set (!= null).
Actual behavior
.Resource propert is unset (== null).
Environment summary
cosmos-netstandard-sdk/3.23.1
Pipeline - Windows 10.0.17763
Local - Windows 11
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

Can you provide the diagnostics when the response is null?

response.Diagnostics: {"Summary":{"DirectCalls":{"(200, 0)":1},"RegionsContacted":1},"name":"ReplaceItemAsync","id":"066f29a0-c211-4b50-8ebc-84bb2d65ce16","caller info":{"member":"OperationHelperWithRootTraceAsync","file":"ClientContextCore.cs","line":244},"start time":"02:42:49:768","duration in milliseconds":69.4006,"data":{"Client Configuration":{"Client Created Time Utc":"2021-11-30T14:42:48.5998036Z","NumberOfClientsCreated":75,"User Agent":"cosmos-netstandard-sdk/3.23.0|3.23.1|10|X64|Microsoft Windows 10.0.17763|.NET Core 3.1.20|N|F 00000001|","ConnectionConfig":{"gw":"(cps:50, urto:10, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:True)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[])"}},"children":[{"name":"ItemSerialize","id":"fd44c118-197e-4cc7-b6fd-9db8d7d59173","caller info":{"member":"ExtractPartitionKeyAndProcessItemStreamAsync","file":"ContainerCore.Items.cs","line":941},"start time":"02:42:49:768","duration in milliseconds":0.1863},{"name":"Get Collection Cache","id":"b5048e2a-6e45-4ce1-b0fc-e27cf4dffb16","caller info":{"member":"GetCollectionCacheAsync","file":"DocumentClient.cs","line":546},"start time":"02:42:49:769","duration in milliseconds":0.0017},{"name":"Batch Dispatch Async","id":"ebc4473f-5486-4a7e-9f7d-22aea7695961","caller info":{"member":"DispatchAsync","file":"BatchAsyncBatcher.cs","line":124},"start time":"02:42:49:831","duration in milliseconds":6.4986,"children":[{"name":"Using Wait","id":"db68fc4a-b666-4d6b-9039-7c0165ebcd03","caller info":{"member":"UsingWaitAsync","file":"Extensions.cs","line":189},"start time":"02:42:49:831","duration in milliseconds":0.0039},{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","id":"5c6fabfa-f831-4efc-81a5-6584ab6b42a6","start time":"02:42:49:831","duration in milliseconds":6.3342,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","id":"933300f6-61ad-44bd-9941-e78918c871e2","start time":"02:42:49:831","duration in milliseconds":6.3133,"data":{"System Info":{"systemHistory":[{"dateUtc":"2021-11-30T14:41:47.5052299Z","cpu":20.293,"memory":50211620.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0474,"availableThreads":32764,"minThreads":16,"maxThreads":32767}},{"dateUtc":"2021-11-30T14:41:57.5333143Z","cpu":8.995,"memory":50244204.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.04,"availableThreads":32765,"minThreads":16,"maxThreads":32767}},{"dateUtc":"2021-11-30T14:42:12.5333331Z","cpu":11.289,"memory":50137016.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0493,"availableThreads":32764,"minThreads":16,"maxThreads":32767}},{"dateUtc":"2021-11-30T14:42:27.5342586Z","cpu":15.117,"memory":50123940.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0083,"availableThreads":32764,"minThreads":16,"maxThreads":32767}},{"dateUtc":"2021-11-30T14:42:37.5534620Z","cpu":9.922,"memory":50110248.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0309,"availableThreads":32765,"minThreads":16,"maxThreads":32767}},{"dateUtc":"2021-11-30T14:42:47.5824589Z","cpu":20.132,"memory":50107356.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0101,"availableThreads":32763,"minThreads":16,"maxThreads":32767}}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","id":"7aacc42c-e07e-41d3-8a18-4b9e069874c9","start time":"02:42:49:831","duration in milliseconds":6.3096,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","id":"2c9ac2c8-b2cb-4f4c-8d78-dc03f543c2c7","start time":"02:42:49:831","duration in milliseconds":6.3,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","id":"fe9cb1e2-157a-4dd6-8713-9e627d0c552e","start time":"02:42:49:831","duration in milliseconds":6.2976,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","id":"7471fe1f-395c-4037-a5db-d764911e7a84","caller info":{"member":"ProcessMessageAsync","file":"TransportHandler.cs","line":109},"start time":"02:42:49:831","duration in milliseconds":6.2092,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[{"Count":12,"Uri":"rntbd://<IP_ADDRESS>:10253/apps/DocDbApp/services/DocDbServer27/partitions/a4cb4967-38c8-11e6-8106-8cdcd42c33be/replicas/1p/"}],"RegionsContacted":["https://<IP_ADDRESS>:8081/"],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[{"ResponseTimeUTC":"2021-11-30T14:42:49.8378747Z","ResourceType":"Document","OperationType":"Batch","LocationEndpoint":"https://<IP_ADDRESS>:8081/","StoreResult":{"ActivityId":"5a0705c9-e3bf-44e8-b0fc-a5d44dcde445","StatusCode":"Ok","SubStatusCode":"Unknown","LSN":811,"PartitionKeyRangeId":"0","GlobalCommittedLSN":-1,"ItemLSN":-1,"UsingLocalLSN":false,"QuorumAckedLSN":810,"SessionToken":"-1#811","CurrentWriteQuorum":1,"CurrentReplicaSetSize":1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://<IP_ADDRESS>:10253/apps/DocDbApp/services/DocDbServer27/partitions/a4cb4967-38c8-11e6-8106-8cdcd42c33be/replicas/1p/","RequestCharge":13.71,"RetryAfterInMs":null,"BELatencyInMs":"5.285","transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2021-11-30T14:42:49.8318238Z", "durationInMs": 0.0045},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2021-11-30T14:42:49.8318283Z", "durationInMs": 0.0038},{"event": "Pipelined", "startTimeUtc": "2021-11-30T14:42:49.8318321Z", "durationInMs": 0.2418},{"event": "Transit Time", "startTimeUtc": "2021-11-30T14:42:49.8320739Z", "durationInMs": 5.6807},{"event": "Received", "startTimeUtc": "2021-11-30T14:42:49.8377546Z", "durationInMs": 0.105},{"event": "Completed", "startTimeUtc": "2021-11-30T14:42:49.8378596Z", "durationInMs": 0}],"requestSizeInBytes":1534,"requestBodySizeInBytes":1165,"responseMetadataSizeInBytes":247,"responseBodySizeInBytes":86},"TransportException":null}}]}}}]}]}]}]}]},{"name":"Create Trace","id":"411e3d64-0b79-44cf-900d-e937b300c254","caller info":{"member":"FromResponseMessageAsync","file":"TransactionalBatchResponse.cs","line":214},"start time":"02:42:49:837","duration in milliseconds":0.0357}]}]}

Can you share the CosmosClientOptions you are using? Are you changing the value of EnableContentResponseOnWrite ?

The Cosmos DB SDK instance should be a singleton. This is required for bulk scenarios because each SDK instance has it's own connections, caches, and batching logic for the bulk operations.  The diagnostics shows "NumberOfClientsCreated": 75, which normally points to it getting recreated for each operation.

Are you sure you don't are not setting EnableContentResponseOnWrite? This behavior exactly maps to that setting being false.
If you can repro this consistently, and you have the reference of the container, can you check what is the container.Database.Client.ClientOptions.EnableContentResponseOnWrite value during the test?
Is the test injecting any CustomHandler in the pipeline?

I have added a verification to our existing tests on this test PR https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2913, the Replace operation through Bulk mode is returning a Resource correctly, this is not a unit test, but a test against the Emulator (for all purposes it's a live account in terms of what the SDK does) and the test passes.
This confirms that the Resource is there.

Are you sure you don't are not setting EnableContentResponseOnWrite? This behavior exactly maps to that setting being false.
If you can repro this consistently, and you have the reference of the container, can you check what is the container.Database.Client.ClientOptions.EnableContentResponseOnWrite value during the test? Is the test injecting any CustomHandler in the pipeline?

I am sure. The test passes locally, but fails in the pipeline.
I don't have a custom handler.
Is it possible that the Cosmos Emulator is misbehaving in the pipeline?

Any chance you can provide a simple project that reproduces it? Are you using the latest emulator version?

It is <IP_ADDRESS>, same as the I have running locally.

Upgrade to 2.13.4 solved the issue.

Thanks!


Enhanced viz for pyspark

Is your feature request related to a problem? Please describe.
We have two types of dependencies:

Logical (how the DAG was defined)
Physical (how it is executed)

Currently we think of these as the same, but the viz is ugly. See @roelbertens comment here: https://github.com/DAGWorks-Inc/hamilton/pull/309#issuecomment-1701614097.
Describe the solution you'd like

The logical dependencies should shape the DAG.
The physical ones should be marked differently.
Perhaps this should be adjustable

Describe alternatives you've considered
Moving it to visualization within h_spark so we don't have to generalize
Additional context
See line from darkshore_likelihood to durotar_likelyhood here:

we added this with custom styling and "@schema" decorator.


Make PLY read/write fast and flexible

This PR is mainly intended to make binary PLY read much faster https://github.com/nschloe/meshio/commit/541bacbe3576c1500e2b90222ac5b60e46cf759f.
Additionally, I've

Tackled a # TODO: Use uint8 dtype for cell per facet counts https://github.com/nschloe/meshio/commit/1af5b5bf709ceef368c77d8813e1b29e2c79a7c0.
Added support for generic io.BytesIO file handles https://github.com/nschloe/meshio/commit/4f4fe2701ed13825fdb8cfd4dec91137237ab738 and https://github.com/nschloe/meshio/commit/aeffc4b1d5683421bbae0cdf76a4e241360ed6c6.
Covered the edge case of no cells which originally caused issues with uninitialised variables https://github.com/nschloe/meshio/commit/444b7b94384342d801e441970dbf4e5401955536.

These changes have been tested on Windows 8 with pythons 3.5 to 3.8.
I see there is another # TODO other cell data in _ply.py. Is there a mapping somewhere which lists these types e.g. { 3 : "triangle", 4 : "quad" , 5 : "???" }? I'd like to tackle this as well.

Impressive, thank you!

I see there is another # TODO other cell data in _ply.py. Is there a mapping somewhere which lists these types e.g. { 3 : "triangle", 4 : "quad" , 5 : "???" }? I'd like to tackle this as well.

See the helpers.add_cell_data in the ply tests.

Is there any difference between 'polyhedron4', 'quad' and 'tetra'? All have 4 ids per cell. I'm tripping up an AssertionError when testing such as the following:

test_ply(helpers.polyhedron_mesh, False)
Traceback (most recent call last):

  File "<ipython-input-7-44cae07c5319>", line 1, in <module>
    test_ply(helpers.polyhedron_mesh, False)

  File "E:/notebooks/meshio/test/test_ply.py", line 32, in test_ply
    helpers.write_read(writer, meshio.ply.read, mesh, 1.0e-12)

  File "E:\notebooks\meshio\test\helpers.py", line 335, in write_read
    assert cells0.type == cells1.type, "{} != {}".format(cells0.type, cells1.type)

AssertionError: polyhedron4 != quad

Is there any difference between 'polyhedron4', 'quad' and 'tetra'?

tetra is a tetrahedron, quad a quadrilateral. polyhedron4 is a polyhedron with 4 points which mathematically is a quad, but is stored as a "polyhedron" in some mesh formats.

How would you feel about meshio not being pure Python? I've done a proof of concept replacement of the bottleneck in PLY binary read with a small extension I wrote in C. Read time of the big sphere mesh from perfomance.py. Read time drops from 5.5 seconds to 80 milliseconds. Do you think it would be worth it?


revert to old nav

fixes #83

The other PR can be restored after the merge of https://github.com/SovereignCloudStack/k8s-cluster-api-provider/pull/455.
I think it makes sense to mention dependencies that have to merged first on other PRs in the future in the commit message itself or as a comment.

@berendt Sorry thought my comment was sufficient will make it more clear next time.

@fdobrovolny sorry, fault was 100% on my side. I simply overlooked that you have written blocked by, which is absolutely sufficient, as well as the CI checks.


Salt AG-Grid theme Status bar styling

Package name(s)
AG Grid Theme (@salt-ds/ag-grid-theme)
Package version(s)
@salt-ds/ag-grid-theme
Description
Status bar Labels font weight
Status bar height
Status bar foreground color
In general, status bar hasnt been defined in salt theme
Steps to reproduce
inspection vs old theme
Expected behavior
font weight needs adjusting
Operating system

[ ] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

PR raised

augu - same as other ag theme tix


Resolve deepClone deprecation warnings

Update global deepClone to foundry.utils.deepClone

If seems you've edited the JS sourcemap and pasted it over the repo's. You should've cloned the repo and built it instead.
Anyway, I'll push the fixes myself and close this one. Thank you for your contribution.

Will keep that in mind for the future, thanks


Typo correction

I signed it!
On Thu, Mar 24, 2016 at 11:52 AM googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
[image: :memo:] Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/angular/material-start/pull/106#issuecomment-200870040

This should now be fixed on the es6 and es6-tutorial branches.
Thanks for the PR though!


Improve the table of contents

Update the table of contents on README to contain sectional links as well

Looks good. Merging.


Parameters to create a connection to a server are fixed

Describe the bug
Parameters to create a connection to a server are fixed to:
host
passwd
user
path
To Reproduce
Steps to reproduce the behavior:

Tried to create a profile connection to a server using following parameters;

robotest3_ip
robotest3_user
robotest3_path
robotest3_pass
Expected behavior
Connection to the cluster is made successfully
** Actual Behaviour **
Bluexolo gives a confusing error message

Desktop (please complete the following information):
N/A
Additional context
It was until further investigation by Vic who determined that problem is that we have to use those specific names for the parameters to make it work

Update, during the assessment that I performed in this matter, I realized that the parameters to perform a server connection are indeed fixed, and the reason why I realized this is because during the assessment I was able to run some tests using personalized names in the parameters template, and using the "Fixed", names, long story short the fixed works fine, but the custom doesn’t, and the reason why, is because of the following block:

As we can see, we receive a dictionary as parameter to create the connection to the server, and so, as we are aware, the dictionary has the “fixed” keys that in this case are the ones that are supposed to be settled on the template’s parameters, otherwise this function will be looking for this keys and it won’t be able to find them.
So, as a summary this is not really an issue.


refactor: remove prover-pool

This PR replaces ProverPool with adding configurable concurrency level to individual agents. This matches the expection that in production a prover would have multiple independent agents running on separate machines.

#6727  👈
master

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

Join @alexghr and the rest of your teammates on  Graphite


CDS-72552

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65d4682d75bf92a8260dcd1d--harness-developer.netlify.app

Added this PR to troubleshoot https://github.com/harness/developer-hub/pull/5475. Closing this one.


Update List Amound and Back Section of the DG and UG. Fix Use Case code.

Reasons for failed build:

Newline character at the end for ExpenseSplitterBackCommandSequenceDiagram.puml
Checkstyle for Ui and Uimanager


can't send video. need help

THX for wechaty。my english so pool 。 i brief description my problem。
i am refer to example of 'ding-dong-bot.ts' but i find , i can't send video , but image is success.
my video size
428 × 240
233 KB
just look code:
const r = filePath => path.resolve(__dirname, filePath);
const filepath = r('../resource/video/1.mp4');
var data = new MediaMessage(filepath);
console.log(data);
await msg.say(data)
error log
16:05:41 ERR PuppetWeb uploadMedia() uploadMedia exception: read ETIMEDOUT
16:05:41 ERR PuppetWeb sendMedia() exception: uploadMedia err: read ETIMEDOUT
log info :
MediaMessage {
rawObj: {},
obj:
{ id: undefined,
type: undefined,
from: undefined,
to: undefined,
content: undefined,
status: undefined,
digest: undefined,
date: undefined,
url: undefined },
_counter: 1,
id: undefined,
filePath:
'/Users/Radish/Desktop/wechat/wechatRobot/resource/video/1.mp4',
fileName: '1',
fileExt: 'mp4',
bridge:
Bridge {
domain: null,
_events:
{ ding: [Function: bound onDing],
error: [Function],
log: [Function: bound onLog],
login: [Function: bound onLogin],
logout: [Function: bound onLogout],
message: [Function: bound onMessage],
scan: [Function: bound onScan],
unload: [Function: bound onUnload],
load: [Function: bound onLoad] },
_eventsCount: 9,
_maxListeners: undefined,
options: { head: false, profile: [Profile] },
state:
StateSwitch {
_name: 'PuppetWebBridge',
log: [Brolog],
_on: true,
_pending: false,
offPromise: [Promise],
onResolver: [Function: nop],
onPromise: [Promise],
offResolver: [Function] },
browser:
Browser {
domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
_ignoreHTTPSErrors: false,
_setDefaultViewport: true,
_process: [ChildProcess],
_screenshotTaskQueue: [TaskQueue],
_connection: [Connection],
_closeCallback: [Function: gracefullyCloseChrome],
_defaultContext: [BrowserContext],
_contexts: Map {},
_targets: [Map] },
page:
Page {
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
_closed: false,
_client: [CDPSession],
_target: [Target],
_keyboard: [Keyboard],
_mouse: [Mouse],
_touchscreen: [Touchscreen],
_frameManager: [FrameManager],
_networkManager: [NetworkManager],
_emulationManager: [EmulationManager],
_tracing: [Tracing],
_pageBindings: [Map],
_ignoreHTTPSErrors: false,
_coverage: [Coverage],
_defaultNavigationTimeout: 30000,
_screenshotTaskQueue: [TaskQueue],
_workers: Map {},
_viewport: [Object] } } }

@radishyell Thanks for report this issue.
There are many limitations from the Tencent Web API for Wechat for sending video file.
I noticed that you are using Wechaty v0.14, for v0.14, I'd like to suggest you to try to send your video file through the Web in your Browser and see if it can succeed.
In other hands, I'd like to suggest you try the new version of Wechaty v0.15, which is currently in heavy developing in the master branch. You could be able to do more with the new Puppet of Padchat, and I believe if you report the issue for v0.15, we could be able to respond for it more quickly.
Learn more about Wechaty v0.15 at #1296

@zixia  i can send video on wechat web .  but in my code . can't send this video .

@radishyell Then there must have some implementation problem with the PuppetPuppeteer code.
If you are interested to fix this bug, please read the code and let me know when you need help.

Merge to  #951 because this is related to it. (but notice that this is a ETIMEDOUT instead of an ECONNRESET error)


Copy Markdown from Markdown containers

Closes #486
Testable on https://github.com/sindresorhus/refined-github/issues/486#issue-235747268
Due to minor limitations to to-markdown, the copied markdown will not be 100% identical, but it should be close enough.

I'm thinking we should start keeping as much as possible out of content.js and possibly only leave the init in there.

The clipboardWrite permission is required. Added
Selecting the whole code block (or across its boundaries) works, but selecting only some code inside doesn't. Added check
copy-text-to-clipboard seems to copy the results without line breaks ⬅

copy-text-to-clipboard seems to copy the results without line breaks ⬅

Should be fixed in v1.0.1

Can you add it to the feature highlight in the readme? This is a really awesome feature. We must make sure people don't miss it.
I'm also unable to get it working. I tried running this PR locally and copying from https://github.com/sindresorhus/refined-github/issues/486 just results in plain text. On Chrome.

Probably with the new event delegation .preventDefault() has become necessary. It works for me now.

Looking forward to seeing this merged into master!

Only this remaining before merge:

Can you add it to the feature highlight in the readme? This is a really awesome feature. We must make sure people don't miss it.

Thanks @jgierer12. I'll just add it to the readme :)

I noticed a small issue now. When you copy text with images with a set width it's outputed as Markdown image syntax, which doesn't have ability to set a width. So if a width is specified we need to use HTML.

I'll just add it to the readme :)

Thanks 😄

When you copy text with images with a set width it's outputted as Markdown image syntax, which doesn't have ability to set a width

I noticed that too, I think our best bet would be to open a PR on to-markdown (or make our own fork of it, since it doesn't seem very active).


[RDS] canot delete database on postgresql instance

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
After database creation, impossible to delete the database, error in terraform:
terraform destroy
flexibleengine_rds_database.example-rds-database: Refreshing state... [id=6b5ff3b1415f4696976f960046a2d10ein03/examplerdsdatabase]
╷
│ Error: Instance cannot be destroyed
│
│   on main.tf.json line 1, in resource.flexibleengine_rds_database:
│    1: {"provider":{"flexibleengine":{"access_key":"xxxxxxxxxxxxxxx","domain_name":"xxxxxx","insecure":false,"region":"eu-west-0","secret_key":"xxxxxxxxxxxxx"}},"resource":{"flexibleengine_rds_database":{"example-rds-database":{"character_set":"UTF8","instance_id":"6b5ff3b1415f4696976f960046a2d10ein03","lifecycle":{"prevent_destroy":true},"name":"examplerdsdatabase"}}},"terraform":{"required_providers":{"flexibleengine":{"source":"FlexibleEngineCloud/flexibleengine","version":"1.35.1"}}}}
│
│ Resource flexibleengine_rds_database.example-rds-database has lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed. To avoid this error and continue
│ with the plan, either disable lifecycle.prevent_destroy or reduce the scope of the plan using the -target flag.
Expected Behavior
The database will be destroy
Steps To Reproduce
"resource": {
"flexibleengine_rds_database": {
"example-rds-database": {
"character_set": "UTF8",
"instance_id": "6b5ff3b1415f4696976f960046a2d10ein03",
"name": "examplerdsdatabase"
}
}
}
Environment

terraform version: 1.3.7
Provider Version: 1.35.1

https://github.com/FlexibleEngineCloud/terraform-provider-flexibleengine/issues/898

@dmicheneau Please use block code in your description
Official doc
`One line code`

```
Multi
Line
Code
```


DigitalNameplate should not use "example.com" id

DigitalNameplate V2.0 has an id of www.example.com/ids/sm/1225_9020_5022_1974:

Why would a standardized submodel template be published with "example" in its id?
This is suspicious and inconsistent with e. g. TechnicalData V1.2, which has a more appropriate id https://admin-shell.io/ZVEI/TechnicalData/Submodel/1/2.

This is true, since this is the template ID and not an example for a submodel instance. In the latter case it would be ok.
For HandoverDocumentation it is https://admin-shell.io/IDTA02004-1-2
I recommend something like urn:io.admin-shell:IDTA02006-2-0 or https://admin-shell.io/IDTA02006-2-0

same holds for SMT HandoverDocumentation

@shuebner Check the latest version of the SMT the issue is fixed


Make the query class iterable.

This PR has merge conflicts.  If you update the PR and add a unit test, I'll merge this.  However, I'm going to close the PR for now (we're going through the stale PR backlog; clearing out what we can).  Thank you for your contribution!


Re-run LINK after 20.09 release

Further details TBC

@cmalangone I am provisionally scheduling a LINK run for 30 September or 1 October, pending @arwaraies updating the dictionaries, but will confirm later this week as some other tickets (e.g. #996) could be impacted by this work

The link was deployed today after QA and QC reviews.
**The only main issue was the gene dictionary empty. It required a second run.


Readline style keyboard shortcuts

I'm using jfind.nvim and have been really enjoying it. One thing I am missing compared to, say, telescope, is having some keyboard shortcuts for navigating.
For example, in most places like shells or vim's command mode, you can use:

C-w: delete the previous 'word'
-C-a: go to the start of the line
-C-e: go to the end of the line

I think these are generally referred to as readline keyboard shortcuts.
Also: for some reason, C-a seems to copy and paste the entire message written so far?

Disregard, I was on an older version of jfind 😁 I pulled main, and it has all the keys I was looking for. Great work!


CircularProgress - Adding style attribute

Style and Size attribute
When you try to use attribute "style" on CircularProgress, you lose a size of CircularProgress 'coz attribute size is using style attribute for width and height. Is there any way to somehow add new attribute like "progressStyling" and use it to customize CircularProgress?
<CircularProgress         size={50}         style={{color: orange}}       />

Tech
Version

Material-UI
1.0.0-beta.13

React
15.6.2

browser
Chrome 61.0.3163.91

It's a bug, we should be extending the provided style object of users:
https://github.com/callemall/material-ui/blob/c827b7d891c69e3ee7d601540fb0122df4589c39/src/Progress/CircularProgress.js#L151

I noticed the exact same problem passing size={number} and then also passing style={stuff}. Everything in style would not get applied so I ended up just canning size and only using style.


amDateFormat not updating when statefulFilters set to false

Angular's (at least 1.3.4 and later) expressionInputDirtyCheck function will consider objects to be equal if they have the same valueOf() value. One such case is two Moments representing the same instant in time but in different time zones.
This means that if you change the value that the filter input is bound to between two such Moments, Angular will consider them equal and won't run the filter. So your UI ends up displaying the wrong value.
The issue won't be causing problems to most users, due to all angular-moment filters being declared as stateful by default to support the time zone and language switching.

Thanks for sharing the information, as you say, the workaround is to use stateful filters.


Crash when updating client data source

The crash results from a particular timing of multi-threaded activity and is therefore difficult to reproduce.
The suspected cause is that the "store" of data for a geojsonvt data source is cleared while a worker thread is parsing data from that source, leading the worker to access freed memory.

Yes, it looks like the assignment to m_store needs to be synchronized with m_store->getTile

Yup. That's what I found yesterday evening.
On Nov 24, 2015 7:29 AM, "Hannes Janetzek"<EMAIL_ADDRESS>wrote:

Yes, it looks like the assignment to m_store needs to be synchronized with
m_store->getTile
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/tangram-es/issues/404#issuecomment-159253737
.


[Feature Request]: Adding special benefits section for premium users

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
In this feature there will payment method where the interested user can purchase premium membership and can access premium benefits like discounts and extra coupons.
Use Case
This will increase the prestige of the website and the feedback given by the premium users.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Trisha-tech can you please assign this to me

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
In this feature there will payment method where the interested user can purchase premium membership and can access premium benefits like discounts and extra coupons.
Use Case
This will increase the prestige of the website and the feedback given by the premium users.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @shivenyadavs, Go for it
All the Best

can you please assign this issue to me i would like to work on it.


Bug - can ssh in terminal but deployer reporting 'ssh' is not recognized as an internal or external command, operable program or batch file.

Q
A

Issue Type
Bug, Question, Feature Request

Deployer Version
6.3

Local Machine OS
Windows 10

Remote Machine OS
Ubuntu 18.04

Description
If you're reporting a bug, please include following information
Steps to reproduce
running vendor\bin\dep deploy -vvv on windows with ssh support
When I ssh on command prompt, there is ssh help message. But deployer seems to not see ssh.
Content of deploy.php
<?php
namespace Deployer;

require 'recipe/laravel.php';

// Project name
set('application', REMOVED);
set('default_stage', 'staging');

// Project repository
set('repository', REMOVED);

// [Optional] Allocate tty for git clone. Default value is false.
set('git_tty', true);

// Shared files/dirs between deploys
add('shared_files', []);
add('shared_dirs', []);

// Writable dirs by web server
add('writable_dirs', []);

// Hosts

host('production')
    ->hostname(REMOVED)
    ->port(25560)
    ->set('deploy_path', '/var/www/{{application}}');

host('staging')
    ->hostname(REMOVED)
    ->port(25560)
    ->set('deploy_path', '/var/www/staging_{{application}}');

// Tasks

task('build', function () {
    run('cd {{release_path}} && build');
});

// [Optional] if deploy fails automatically unlock.
after('deploy:failed', 'deploy:unlock');

// Migrate database before symlink new release.

before('deploy:symlink', 'artisan:migrate');

Output log
With enabled option for verbose output -vvv.

vendor\bin\dep deploy -vvv

[localhost] > git rev-parse --abbrev-ref HEAD
[localhost] < Development
✈ Deploying Development on staging
• done on [staging]
➤ Executing task deploy:prepare
[staging] > echo $0
[staging] < ssh multiplexing initialization
[staging] < 'ssh' is not recognized as an internal or external command,
[staging] < operable program or batch file.
➤ Executing task deploy:failed
• done on [staging]
✔ Ok [1ms]
➤ Executing task deploy:unlock
[staging] > rm -f /var/www/REMOVED/.dep/deploy.lock
[staging] < ssh multiplexing initialization
[staging] < 'ssh' is not recognized as an internal or external command,
[staging] < operable program or batch file.
In Client.php line 99:
[Deployer\Exception\RuntimeException (-1)]
The command "rm -f /var/www/REMOVED/.dep/deploy.lock" failed.
Exit Code: -1 (Unknown error)
Host Name: staging
================
'ssh' is not recognized as an internal or external command,
operable program or batch file.
Exception trace:
Deployer\Ssh\Client->run() at REMOVED\vendor\deployer\deployer\src\functions.php:304
Deployer\run() at REMOVED\vendor\deployer\deployer\recipe\deploy\lock.php:30
Deployer\Deployer::Deployer{closure}() at n/a:n/a
call_user_func() at REMOVED\vendor\deployer\deployer\src\Task\Task.php:105
Deployer\Task\Task->run() at REMOVED\vendor\deployer\deployer\src\Executor\SeriesExecutor.php:63
Deployer\Executor\SeriesExecutor->run() at REMOVED\vendor\deployer\deployer\src\Console\TaskCommand.php:155
Deployer\Console\TaskCommand->execute() at REMOVED\vendor\symfony\console\Command\Command.php:255
Symfony\Component\Console\Command\Command->run() at REMOVED\vendor\symfony\console\Application.php:948
Symfony\Component\Console\Application->doRunCommand() at REMOVED\vendor\deployer\deployer\src\Console\Application.php:133
Deployer\Console\Application->doRunCommand() at REMOVED\vendor\symfony\console\Application.php:250
Symfony\Component\Console\Application->doRun() at REMOVED\vendor\symfony\console\Application.php:148
Symfony\Component\Console\Application->run() at REMOVED\vendor\deployer\deployer\src\Deployer.php:331
Deployer\Deployer::run() at REMOVED\vendor\deployer\deployer\bin\dep:120
deploy [-p|--parallel] [-l|--limit LIMIT] [--no-hooks] [--log LOG] [--roles ROLES] [--hosts HOSTS] [-o|--option OPTION] [--] []

Check what your local system has ssh installed.

My ssh is installed in C:\Windows\System32\OpenSSH\ssh.exe
Version is OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4

Is the ssh command with $PATH ?

yes it is in PATH, and i can directly call ssh in terminal anywhere

It seems its not accessible to your php cli

What can i do to test it?

Maybe php -r 'exec("ssh -v")'

There is no output

Missed a echo, just added it above

PHP Parse error:  syntax error, unexpected ''echo' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in Command line code on line 1

Parse error: syntax error, unexpected ''echo' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in Command line code on line 1

Semicolon on the wrong plase... another edit above

Still not working. I tried php -a to get into interactive mode and ran echo exec("ssh -v");, it confirms that php can't access ssh. 'ssh' is not recognized as an internal or external command, operable program or batch file.

I’m quite sure that my $PATH is set correctly

Check user/group on ssh bin.

Can user you are running from.

I'm running on windows.

Try windows subsystem for ubuntu

The main problem is that php can't ssh while I can in command prompt. I also tried other commands like git in php and it works flawlessly. Not sure what it is all about.

Can't tell too. I need your machine to investigate :)

I did some more investigation, it seems that in php, it doesn't see some directories. like OpenSSH in Windows\System32

I think this may be a issue with php and Windows 10. Closing the issue.

The reason that ssh can't be called is because XAMPP uses 32bit version of php, and exec in 32bit php uses cmd in C:\Windows\SysWOW64 which somehow doesn't have ssh. The solution is to use 64 bit php.

@danielpclin Just thought you should know, this comment really helped me out. Thank you.


Matmul - tensorflow does not broadcast/expand dimensions correctly

The following code works correctly with the jax backend:
import os

os.environ['KERAS_BACKEND'] = 'jax'
from keras_core import ops

A = ops.numpy.arange(10).reshape(2, 5)
b = ops.numpy.arange(5)

out = A @ b

print(out.shape)

While, with the tensorflow backend:
AttributeError: EagerTensor object has no attribute 'reshape'.
        If you are looking for numpy-related methods, please run the following:
        from tensorflow.python.ops.numpy_ops import np_config
        np_config.enable_numpy_behavior()
      . Did you mean: '_shape'?

This is similar to the error identified in the second part of issue https://github.com/keras-team/keras-core/issues/919.
Package versions:
jax==0.4.14
jaxlib==0.4.14
keras-core==0.1.5
numpy==1.24.3
tensorflow==2.13.0

Thanks for the report.
First of all, do not use tensor methods like x.reshape() since your x is always a backend-native tensor. Instead, use ops.reshape(x, shape). Alternatively, if you want to enable tensor methods on TensorFlow tensors, you can do so via this utility, but I would generally not recommend doing that. Much cleaner to stick to ops functions.
Second, indeed it seems that the broadcasting behavior of numpy/jax differs from TensorFlow. We'll look into it.

Hi fchollet,
Yes, sorry you've nailed the core issue on the head.  I somehow managed to omit it from the original issue...
For completeness, the error using ops.reshape now becomes:
import os

os.environ['KERAS_BACKEND'] = 'tensorflow'
from keras_core import ops

A = ops.reshape(ops.numpy.arange(10), (2, 5))

b = ops.numpy.arange(5)

out = A @ b

print(out.shape)

Throws:
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __wrapped__MatMul_device_/job:localhost/replica:0/task:0/device:CPU:0}} In[0] and In[1] has different ndims: [2,5] vs. [5] [Op:MatMul] name:

While with the jax backend, broadcasting is applied correctly.

An update on this: this is because when you use @ you will be calling into tensor methods. You should not (again) use tensor methods.
If you do out = ops.matmul(A, b) instead, broadcasting works the same in all backends and your code snippet runs.


[Polymetis] Gripper stuck

Type of Issue
Select the type of issue:

[x] Bug report (to report a bug)
[x] Feature request (to request an additional feature)
[ ] Tracker (I am just using this as a tracker)
[ ] Refactor request
[ ] Documentation Ask

Description
A while ago, this issue found an issue when using polymetis to control franka gripper. This is a very critical problem as one cannot control gripper to grasp one object and release it.
This PR offers a partial fix to the issue, but on real robots this doesn't completely solve the problem.
Instead, one should follow the official C++ example from franka to achieve the desired behavior of getting gripper unstuck from previous commands. This example essentially calls gripper.stop() to terminate a previous command that cannot be achieved, whenever a new command is about to be sent.
This requires us to expose the GripperInterface.stop API, so one can call GripperInterface.stop() before GripperInterface.goto or GripperInterface.grasp to get gripper unstuck.
Current Behavior
gripper = GripperInterface()

gripper.grasp(speed=0.5, force=3.0)
# let's say robot grabs a 3cm by 3cm block

gripper.goto(width=0.08, speed=0.5, force=3.0)
# expect the robot to release the object
# the robot actually cannot release the object itself!
# this is because previous grasp command asks it to go to width=0.0, which cannot be achieved due to the block

Expected Behavior
gripper = GripperInterface()

gripper.grasp(speed=0.5, force=3.0)
# let's say robot grabs a 3cm by 3cm block

gripper.stop()
gripper.goto(width=0.08, speed=0.5, force=3.0)
# expect the robot to release the object

Steps to reproduce
See above
Links to any relevant pastes or documents
official C++ example to teleop gripper grasping from libfranka

I've already fixed the bug by exposing a python API,
see PR


🚀 Feature: Documentation

Feature description
You should write and host a simple documentation about the features, endpoints, capabilities, etc. Currently I cannot find any.
Pitch
It would probably make more people use the product if they know what to expect in regards to functionality.

Yeah that's a good idea. Setting it up will take some time, but I’ll look into it as soon as I have some free time.

I can help and make a basic set up. Which solution would you like? Docusaurus is nice, I find and I know it well. Essentially, one just writes markdown. One could also just extend the markdown files in the docs folder for the time being. Docusaurus can render it as a standalone page nicely later with further ado.


Type Hinting, object key to array item validation for Array Items of Fixed base Types

Suggestion
When dealing with arrays one can define the types for specific items, however,  there is no meaning for the items,
i.e type args = [string, string, string, string], it would be great to be able to define type hints for auto completion and potentially
soft error mapping. So something like this type args = [nethost: string, netshare: string, username: string, password: string]
This now gives the array items more meaning, that just the word string,. It further can be used to type match mappings of objects to arrays, to ensure that parameters are in the correct order. A question mark afterword's could be mean not strict or optional key to name array position validation.

To expedite the triage process, we need everyone to follow the issue template and instructions.
When you clicked "Create New Issue", the issue form was pre-populated with a template and some instructions. We need you to read those instructions completely, follow them, and then fill in all the fields in that template.
We are not able to assist with issues that don't follow the template instructions as they represent a significantly larger amount of work compared to issues which are correctly specified. Thank you for understanding.


Stop before downloading all tweets

No matter how short the time period I put, I always get "has_more_tweets".
Username stops at 688 tweets
Scrapes on words stop at around 12 500 tweets.
Any workaround would be appreciated. Thanks!

Twitter has a limitation on number of tweets you can retrieve from a user profile. There is a workaround with the -j option in this PR https://github.com/taspinar/twitterscraper/commit/8786a5789f8686d4022f14ff44b7ffd86a5abd11
Closing because this is a duplicate of https://github.com/taspinar/twitterscraper/issues/305


Adding float64 support, document level boosting, and facet collector

This PR adds a couple of new features that are present in Tantivy core repo, but not exposed in tantivy-py:
Conjunction by default parameter
By default, tantivy parses queries using OR operator, instead of AND operator. If we want to modify this behavior, we can now set this value when parsing query:
parse_query(text, fields, conjunction_by_default=True)

Floating point support
A new add_float_field function is available so that we can add f64 fields.
Document level boosting #51
We can now give priority to certain documents using the new weight_by_field parameter:
searcher.search(query, limit, weight_by_field='popularity')

TopDocs tweak_score is used, and the callback is abstracted away from python code for performance reasons.
Facet collector
We can now get counts of facets available by specifying the count_facets_by_field parameter:
data = searcher.search(query, limit, count_facets_by_field='genre')

print(data.facet_counts)
# prints a dictionary where keys are facets, and values are counts

@poljar let me know if there's anything I can do to expedite the merge


INFO: Created TensorFlow Lite XNNPACK delegate for CPU.

how can i  fix it

i solved this problem is depend on mediapipe

@Weizhi-Zhong how to output the result separately?

@Weizhi-Zhong how to add high res model? please say to me

@Weizhi-Zhong i am going to get high resolution result(in video). may i add some models like gpen, gfpgan?

@Weizhi-Zhong i need a separately video such as show_sketch and full video not using concatenate method


Nothing displayed

I can't get anything to display, just stays at the black screen with the settings link. I have it installed via Docker Compose, and other containers do have connection to my Plex server, so I'm thinking it's nothing to do with Docker or the container's networking. The only thing I can think is it's my Plex connection settings in there.
Here are my current settings:
password: suppressed
slideDuration: 60
playThemes: true
genericThemes: true
fade: true
hideSettingsLinks: false
theaterRoomMode: false
plexIP: <IP_ADDRESS>
plexHTTPS: false
plexPort: 32400
plexToken: suppressed (what's displayed per Plex link instructions, token after "X-Plex-Token=")
numberOnDemand: 4
onDemandRefresh: 30
sonarrCalDays: 3
radarrCalDays: 30
readarrCalDays: 60
hasArt: true
custBrand: emerald_greyregular
recentlyAddedDays: 4
titleColour: #FAFAD2
footColour: #FAFAD2
bgColour: #000000
enableNS: true
enableOD: false
enableSonarr: false
enableRadarr: false
enableReadarr: false
filterRemote: true
filterLocal: true
filterDevices: suppressed
filterUsers: suppressed
enableCustomPictureThemes: true
customPictureTheme: default
serverID: f3e68c6e-fa07-4288-ad50-3795021469e3
sleepStart: 00:00
sleepEnd: 07:00
triviaTimer: 15
triviaCategories: 27,9,20,28,16,26,15,11,12,14,18,22,23,19,24,17
enableTrivia: true
triviaFrequency: 300
pinNS: true
hideUser: true
enableLinks: false
enableCustomPictures: false
enableSleep: false
enableAwtrix: false
rotate: false
It appears that getting XML from the Plex for Windows app and going by IP on a browser to my server results in the same token, but going through app.plex.tv to my server is a different token. I tried both, and currently have the token directly from my server entered. I've tried playing movies through all three things listed above, and nothing's happened yet. Tried "On Demand" as well, still nothing.
It's been more than a day since the container started, so I'm doubting that it's things still loading. Anything I've done wrong?

@Saruchan92 have you tried the on-demand test in settings-debug? The results should display in the container logs

for posterr.

@Saruchan92 what else is displayed in the posterr container logs?

@petersem for both "Now Screening" and "On-Demand" checks I'm getting "Error: socket hang up". Ping tests are all true.

Can you join me in the discord support chat, at https://discord.gg/TZT48aZK
a little easier than comments here. Once we resolve things, I can update back here.

set plex to 'preferred' under settings - network'


Add support for automatically downloading + building dependencies as part of cmake

There's supposed to be an automated way to do this that basically makes all the targets available to the calling project. This is worth investigating for setting up dependencies.

Turns out that this is unlikely to work until a number of changes to cmake happen so I'm going to close as infeasible.


[BUG] System updates appear to blow away /etc/sysctl.d

Description
I had previously created a file in /etc/sysctl.d with echo net.ipv6.conf.all.disable_ipv6=1 | sudo tee /etc/sysctl.d/10-disable-ipv6.conf to work around #21. This file now appears to be gone - I can't actually confirm it was the system update, but that seems to be the only likely culprit since I rebooted and that didn't cause the file to be removed.
Steps to Reproduce
No response
Relevant Code
No response
Other Notes
No response

I can confirm this data would not be restored after an update (but is saved in /opt/neon/old_overlay). Since anything in this directory would be manually added by a user, I'd consider it "advanced usage" so migrating it between updates could be achieved by adding a post_update script.
I would be open to moving this config over automatically; the main concern is if this might cause breakage if/when system packages or services change and what kinds of errors that might cause

I would be open to moving this config over automatically; the main concern is if this might cause breakage if/when system packages or services change and what kinds of errors that might cause

What exactly are you thinking of? I did wonder if this would cause problems if Neon ever needed to install a package that put stuff in /etc/sysctl.d - not sure if that's similar to what you had in mind. If we migrate this config we may want to only migrate a specific file (say /etc/sysctl.d/99-neon-local.conf or something like that) and install a README.neon file in that directory explaining the nuances.

What exactly are you thinking of?

I'm mostly thinking about a case where a user has defined some config that is currently undefined, but Neon might define a conflicting config in the future.

If we migrate this config we may want to only migrate a specific file (say /etc/sysctl.d/99-neon-local.conf or something like that) and install a README.neon file in that directory explaining the nuances.

This could be a solution since we could be relatively sure that there wouldn't be a filename conflict and user-specified config. One consideration would be what priority the user config should be or if there's any case where an update should override user config (my initial thought is probably no)

Makes sense. Also FWIW, I have no use case for this functionality anymore: https://github.com/NeonGeckoCom/neon_debos/issues/21#issuecomment-1698457431


Create a test dataset for parsers

Run the scripts on these #20 and #26
https://github.com/TSELab/guac-alytics/tree/parsers
https://github.com/TSELab/guac-alytics/tree/vulnerability_data

[x] Create a branch on your name and add your scripts accordingly.
[x] Write a requirements file.
[x] Update the constants such that they get automated.
[x] Run the code on sample data - try taking it from the tower or download it.
[x] Sample the packages in all 3 tables - Upstream, buildinfo and publish.
[x] Add your sample data here - https://github.com/TSELab/guac-alytics/tree/main/scripts/tests/data
[x] Add your scripts to tests - https://github.com/TSELab/guac-alytics/tree/main/scripts/tests

@absol27 Could you tell them how to get the publish data?

@absol27 we are testing scripts on the Publish branch. Right now there's an inconsistency between snapshot_download.py and the publish_parser, one is reading from file ending with Packages and one reading from Packages.dump. After we changed that, there's a UnicodeDecodeError in some of the files (it cannot decode \0x90, \0x9D, etc). Have you tested it out and have it working on your end?

@SahithiKasim we have collected sample data, confirmed that build_info, maintainer and popcon scripts all work. Do we need to write pytest assertions for those at the moment?

I don’t think we need pytest assertions now! But it will be helpful if you write a requirements file like what packages need to be installed and any paths to be set before running the scripts.

@VinhPham2106 I'm assuming that is when the file doesn't completely download or if it was corrupted download. In the ideal case, it should work, I verified it. If it is corrupted for any reason, it does not recognize the magic bytes to decompress.
I would recommend, you could add code to retry and redownload if the gzip decompress fails. Also if the download fails(I know the download 404s sometimes and requires a restart), I didn't add that. So a couple of try-and-catch statements should handle that.

[ ] Check the file size and add them to the git.


Broken links to CONTRIBUTING.md file

Not work any link to CONTRIBUTING.md in docs and demo site.
Old link https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md
New file address https://github.com/react-boilerplate/react-boilerplate/blob/master/CONTRIBUTING.md

#1968


Add titles to "buttons" for a better user experience

In the "expenses" section there is only a title for the middle button (which is actually a button) with the message "Create expense from receipt". However, the two side buttons (which are anchor tags) do not indicate what action they perform or what they are for.
HTML anchor tags also have the "title" property.
Actual:

Expected, better UX experience:

Hi @magomzr - thanks for raising the issue. Please feel free to submit a PR with this improvement!

Thanks @ChristopherJohnston, I'm on it. I created the issue to link it


Skip chmod on symlinks

No follow for chmod on symlinks is currently not implemented in the linux kernel. Skip to prevent unintended chmod on targets.

What a bazaar omission.
LGTM


[rtl] Implement cycle/instret/time/hmpcountern CSRs

The cycle/instret/time/hmpcountern CSRs are optionally accessible from U-mode. In Ibex we hardwire mcounteren to 0 meaning these counters cannot be accessed from U-mode. However they are still accessible from M-mode. Ibex currently doesn't implement them at all which isn't standards compliant. They should be implemented.

Additional reads of these should be stimulated in DV and coverage added


[ROCKETMQ-387] Set ArrayList initialCapacity

What is the purpose of the change
Performance improvement.
Brief changelog
ConsumeMessageConcurrentlyService#consumeMessageDirectly and ConsumeMessageOrderlyService#consumeMessageDirectly, the ArrayList just add one element, so set 1 to initialCapacity can avoid ArrayList#grow.
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ROCKETMQ-XXX] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.1%) to 42.344% when pulling 7df26a4745a4b59651ff153b3fac2750d8b7e67f on Dreamtecher:develop into 7cae583918be94f3a7a530feef6bd6fac4292e2d on apache:develop.

@Dreamtecher Thanks for your pr, If we do not touch the ArrayList capacity expansion water-level, it doesn't matter. Welcome to help us to polish RocketMQ.

@vongosling But if we do not set initialCapacity, ArrayList capacity expansion water-level is 0, so when add an element, ArrayList will call grow.


[CTB-137] Changes for easy start

Added "Hello, Database" on default server response,
Added env.list to .gitignore
Everything for fast checking if a local server configuration is working as it should.

CTB-137 task only applies to changes in repository wiki pages. Please do not modify project source code.


lazily render debug logs

In our app, we had some emails that were spending a massive amount of time sending, about 50-60 seconds after the email contents had already been generated. This corresponded with crazy memory and CPU usage.
As a disclaimer, our app has some bad issues with excessive preloads that we are working on fixing. But where that data loading takes a few seconds, sending the email itself was taking an additional minute. It took me some digging to find out that the delay was happening between the call to our mailer and the adapter.
Without this change, inspect() is called for every email, regardless of the log level. After this change, inspect() only gets called if the log level is :debug.
Two additional concerns I wanted to discuss:

The reason this is such an issue is because :assigns are passed along as part of the %Email{} even after rendering has completed. This is why inspect() is so expensive, because we have a lot of nesting of data structs that are being inspected and logged. Is there any reason that deliver_now() and deliver_later() couldn't strip the :assigns from the Email before doing anything extra with them? Since the email has already rendered at this point, it doesn't seem like they serve much purpose.
Do we need to have the hardcoded limit: :infinity as part of the debug call? That turns this into a potentially severe issue, whereas it normally might not matter much if just part of a deeply nested dataset is logged.

👍 We had the same issue, caused by inspecting large attachments.
@bgentry You can try setting compile_time_purge_level: :debug in your :logger config for production .

@paulcsmith friendly ping on this PR 👋 Also interested to hear your thoughts on my other questions so I can help fix those too.

Oh and about assigns, I think it can be valuable to include because sometimes an assign is missing or not what is expected