Add ability to specify client_name

Pull Request check-list
Please make sure to review and check all of these items:

[X] Does $ python setup.py test pass with this change (including linting)?
[ ] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)? (DLJ - How do I enable this?)
[X] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)? (DLJ - where would I document this?)

Description of change
Adding support for specifying client_name (like #802) with passing tests

Thanks! I wish I had seen this a few hours ago -- I just implemented basically the same thing in dca7bd40a3a5d0c0853fe2befe706e214407697b.

😢 but thanks for getting the feature in. Looking forward to using it!


Global Search feature

What I found very useful in poweradmin(which is abandoned for some time now) is the global search feature.
That would be, to have a box or a search function and search in...

name
content
domain name

...of all records. Currently only search for domains is possible or within one domain for record-names and content.
It was pretty fast in poweradmin despite having quite a large number of domains and records.
Maybe this can be combined with #13. Poweradmin did it that way, display domains first and records second.
Nice to have - If you/someone likes it and has time/energy to do it. Thanks for reading this.

Here's my script to do this from the command line:
#!/bin/bash

dnsconnection="ns1"

#
# add the following(inside the eof markers) to your $HOME/.my.cnf for this script to work
#
: <<EOF

[clientns1]
user=pdnsuser
password=your-secret-pdns-password
host=your-database-host
database=pdns-database-name

EOF

limit_domains=10
limit_records=30

normal="\e[39m"
  blue="\e[94m"
 green="\e[32m"

search_text="$1"
self="$(basename $0)"

if [ -z "$search_text" ]; then
        echo
        echo "$self: search powerdns records"
        echo
        echo "usage: $self <search-string>"
        echo
        exit 1
fi

search_text="${search_text//./\\.}"

domains="$(mysql --defaults-group-suffix=$dnsconnection -N -s -e "select name from domains where name like '%$search_text%' limit $limit_domains")"
if [ -n "$domains" ] ; then
        echo
        echo -e "${green}Domains${normal}"
        echo
        echo "$domains"
fi

records="$(mysql --defaults-group-suffix=$dnsconnection -N -s -e "select name,type,content from records where content like '%$search_text%' or name like '%$search_text%' limit $limit_records;")"
if [ -n "$records" ] ; then
        echo
        echo -e "${blue}Records${normal}"
        echo
        while read name type content;do
        printf "%-60s %-8s %20s\n" "$name" "$type" "$content"
        done <<<"$records"
fi
echo

This should definitely be done with #13. Therefore closing this as duplicate.


Update jest to remove node-notifier vulnerability

After update tests were failing until this hero solved it: https://github.com/facebook/jest/issues/9471
fixes #203

bors merge

bors merge


[BUG] Dragging over tokens causes "infinity" distance and red warning

Describe the bug
Dragging a token over another token with "Include Live/Dead Tokens" selected in settings results in a red warning square and an "infinity" distance.
To Reproduce
Steps to reproduce the behavior:

Drag a token over another token
Watch the red warnings appear.

Expected behavior
Token should count the intervening token as difficult terrain and double the movement cost.
Screenshots

Please complete as much of the following information as possible:

Browser Version 110.0.5481.177 (Official Build) (arm64)
Foundry Version 10.291
System DnD 2.1.5
Module version 10.6
Are there any errors in the console No
Have you tried using Find the Culprit to make sure it isn't a module interaction. Yes. Does not seem to be module interaction.

Additional context
Add any other context about the problem here.

Addendum. Seems to be a conflict with DnD5e Drag Ruler Integration

Agreed that I have been seeing this issue, and can confirm that disabling the Token Difficult Terrain check in DnD5e Drag Ruler Integration resolves the issue. But it seems to only impact hostile creatures. Neutral and Friendly seem to calculate properly.

Same for me.

Have fixed this. Set the Rule Provider setting in Enhanced Terrain Layer to Built-In. Also set Include Live/Dead Tokens settings to Any... Then, in the D&D Drag Ruler Integration setting, set Token Difficult Terrain to true. This fixed the "infinity" issue for me.

So, this isn't an Enhanced Terrain Issue.  And... I'm not actually sure it's an issue per say.
The Rule Provider from the ruler is returning Infinity because it's saying, due to rules, you can't walk through that square.
Drag Ruler isn't showing this information very well.
So if you think the token should be able to walk through the square, and the ruler is saying you can't, then it's an issue with the ruler module.
But also, Drag Ruler should have a ticket opened to maybe change "Infinity" to "∞" for better readability.

I think the mechanics issue is that the token is marked dead and thus should only be difficult terrain and not blocking terrain.


htmltotext archive results are not recorded

Because cmd is only set within the except path, an exception (cannot access local variable 'cmd' where it is not associated with a value) is thrown instead of the ArchiveResult actually being saved. This results in the htmltotext.txt existing in the archive data but not in the archive results table.
Setting cmd should be moved before the try.
https://github.com/ArchiveBox/ArchiveBox/blob/f02b27920c41a9a1182da4d1871f7ba693c20c3a/archivebox/extractors/htmltotext.py#L119

Already fixed in the dev branch


Works with Nintendo Switch Pro Controller on MacOS but...

It connects as it should but for some reason my character keeps moving backwards for no reason even when there was no input from the controller nor keyboard (I noticed that even after the 5 second time during which the overlay should have disappeared it was still there, so the game must be thinking that some button is still pressed)
A link to a clip of what happens: link
EDIT: replaced the word works for connects
EDIT 2: Still happens when the mod is alone. Also noticed that the sensitivity for the right joystick is really low (changing to hyperspeed from normal settings doesn't affect it)

Download 0.4.0, this has been fixed. Customize the dead zone to your liking in the controllable settings menu when selecting your controller.


Fix link to defaultMetricDimensions.json

Fixes the link to get defaultMetricDimensions.json in dropwizard-emitter docs.
This PR has:

[x] been self-reviewed.

This is my first  PR. Let me know if there is any  other steps I need to follow.
Thank you :)


addon-notes: register as a panel or tab

Issue: People in my organization prefer having the notes tab in the addon panel, but in v5 it only renders as a tab.
What I did
Expose a register-panel script from addon-notes. This allows the user register the notes as a panel.
How to test

Is this testable with Jest or Chromatic screenshots? yes, but addons seem untested
Does this need a new example in the kitchen sink apps? no
Does this need an update to the documentation? maybe

If your answer is yes to any of these, please make sure to include it in your PR.

I have verified that this works in my storybook. If a user tries to use both of the registers then storybook breaks, but this is expected because you are registering the same addon twice

@ndelangen @shilman How do you guys feel about this change?

Just started using storybook, and I would love to have notes in the addon panel as well.
It's kind of confusing because currently the screenshot in the docs show it in a panel, but I guess the default for storybook v5 is a tab now?


[PROPOSAL] Automatically update component exports

Summary
At the moment the es6 and webcomponent component exports from ripple-ui-core are maintained manually.
On generating a new component, we should use hygen to update the two files:
packages/ripple-ui-core/src/index.ts
packages/ripple-ui-core/src/web-components.ts
Motivation

Proposal
Add an update to the two files mentioned above using injection https://www.hygen.io/docs/templates#injection
Benefits
One less point of failure when creating a new component.
Drawbacks
Might need some time to figure out injection / rearrange the files to better accommodate.
Adoption strategy
N/A

We might need to define inside each component what gets exported (same as Ripple 1) - this will simplify the automation above, while also giving better control over what in the component directory actually gets exported.


Fix inappropriately failing test in circe-shapes

The Sized test here was failing in CI in a case where one of the strings happened to be a valid integer. I've also thrown in some typo fixes.

Current coverage is 82.29% (diff: 100%)

Merging #477 into master will increase coverage by 0.28%

@@             master       #477   diff @@
==========================================
  Files            80         80
  Lines          2157       2175    +18
  Methods        2053       2071    +18
  Messages          0          0
  Branches        104        104
==========================================
+ Hits           1769       1790    +21
+ Misses          388        385     -3
  Partials          0          0

Powered by Codecov. Last update 0c1ee23...2608ed4


Fix misplaced comma in windows_terminal.lua

Closes https://github.com/mcchrish/zenbones.nvim/pull/165

:+1:


attribute() method's comment more understandable

Hi,
I think that this way the comment is a bit more understandable.
Regards,
Filis :smiley:

Thanks!


Add links to the following gifs

I think these two gifs (see the below image) should contain a links to the related files because there are the chances that anyone can click on them and these are of no use. So it must redirect us to the pages where these files are present. 🙂

@QAZIMAAZARSHAD sir should I work on this??

@QAZIMAAZARSHAD sir why it is still open??


Any examples of v2 with PhantomJS 2.x?

Hi,
I am looking for some simple examples of latest ChartJS version(v2)  with PhantomJS 2.x.
Any suggestions?
Thanks.

@gv007 we haven't created any samples working with PhantomJS. If you create one, I'd be happy to merge a PR adding a link to it in the docs.
If you want to render the chart, you should probably turn off all the animations and then after rendering, call toBase64Image() to get back the data for a PNG image of the canvas.


use a multistage docker build for building the interop runner image

❯ docker image inspect h2oserver/quicly-interop-runner:latest --format='{{.Size}}'
1864332994

That's ~1.9 GB.
docker image inspect quicly-multistage --format='{{.Size}}'
108767314

That's ~108 MB.
Furthermore, this change allows you to use martenseemann/quic-network-simulator-endpoint in the second build step, which eliminates the need to duplicate the setup.sh from the network simulator repository.

@marten-seemann Thank you for the PR. Merged.


service: Enable SESSION_MANAGMEMENT_2024Q1 feature toggle by default

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Enable the SESSION_MANAGMEMENT_2024Q1 feature toggle by default.
Why should this Pull Request be merged?
The feature is mostly complete and enabling it by default simplifies manual testing.
What testing has been done?
Ran all tests.

RuntimeError

Hash for numpy (1.26.0) from archive numpy-1.26.0-cp39-cp39-win_amd64.whl not found in known hashes (was: sha256:6660c7efc6535c1000722f5193ab0048e9fe25ec6f86eeabfc8da1d4be2aaf43)

@bkeryan I wasn't sure if I should go ahead and squash this in because of your comment above.

@bkeryan I wasn't sure if I should go ahead and squash this in because of your comment above.

It passed on re-run, so it must have been a partial/corrupted download or something like that.


PR Template tweaks for sections and reasons

I've noticed that some contributors are not filling out the "reason" section when opening PRs (example: https://github.com/github/explore/pull/328), and think we can make the PR template a little more clear so folks don't miss the question.

Hey I don't know what I'm doing.please can someone just give me back my
account. I really need to pay my bills. Someone hack my phone and took my
account to github. Please Help. Thank you. Denette Haynes
On Wed, Aug 8, 2018, 3:49 AM Tal Safran<EMAIL_ADDRESS>wrote:

Merged #330 https://github.com/github/explore/pull/330 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/explore/pull/330#event-1777441783, or mute
the thread
https://github.com/notifications/unsubscribe-auth/An3z96_BKHmXbxCwbiNOf8__veqGTbYCks5uOsI4gaJpZM4VyQg3
.


Identifiers validation failed for dataset Mammal collection (TSZM) The Arctic University Museum of Norway

Identifier validation failed for the dataset Mammal collection (TSZM) The Arctic University Museum of Norway:

Crawler attempt: 6
Publishing organization: UiT The Arctic University of Norway
Publishing country: NORWAY
Installation: GBIF.no
Number of occurrences indexed for this dataset at the time of the issue: 2653
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 2653 total records; 2653 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3355785/step

New IDs sample:

Old IDs sample:

urn:catalog:TSZP:2647
urn:catalog:TSZP:2648
urn:catalog:TSZP:2650
urn:catalog:TSZP:2625
urn:catalog:TSZP:2626
urn:catalog:TSZP:2627
urn:catalog:TSZP:2628
urn:catalog:TSZP:2629
urn:catalog:TSZP:2525
urn:catalog:TSZP:2563

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Mammal collection (TSZM) The Arctic University Museum of Norway : https://doi.org/10.15468/6c89re.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

updates of collectionCode in occurrenceIDs
e.g., from urn:catalog:TSZP:2647 to urn:catalog:TSZM:2647


Get rid redundant endpoint for joining player into game and leave only the one in tournaments endpoint

Get rid redundant endpoint for joining player into game
POST /game/{id}/players
and leave only the one in tournaments endpoint
POST /tournaments/{id}/players.
It's important that only do this after done all issues of playing game.

Consider remove current tournaments implementation.


Update userjourneys.md

Remove extraneous "The".

@rbrayb : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks, @rbrayb.


Manage of cloud run jobs

Hi,
I would like to know if this API works with the new service Cloud Run Jobs?

Hello @averikitsch, could this be documented somewhere. It was a bit frustrating finding it this way.


Change my email in the README

Would prefer my personal email here. I realise it's still in the git log but c'est la vie.

Pull Request Test Coverage Report for Build 688

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 96.109%

Files with Coverage Reduction
New Missed Lines
%

tests/test_black.py
1
97.77%

Totals

Change from base Build 677:
0.0%

Covered Lines:
2717

Relevant Lines:
2827

💛  - Coveralls

Cheers!


Fix build error for SE-0409

SE-0409 , introduced in Swift 6, changes import from implicit public import to internal import.
The internal import does not allow imports to be public and will result in build errors, so public has been added.
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0409-access-level-on-imports.md

CI may need to build with Xcode 16 to resolve build errors. 🫤

Swift 6 does not come with this setting on by default, and also, the point of it is to prefer internal import as much as possible.

https://forums.swift.org/t/progress-toward-the-swift-6-language-mode/68315#the-swift-6-migration-2

There are a number of previously-accepted upcoming features that will be enabled by default in Swift 6

The forum states that it is enabled by default, but where can I find that it is disabled by default?

I don't remember where I saw it, but you can see it in the Xcode beta:


Update to latest version of rendition

This upgrade also means upgrading to the latest version of ui-components
that depends on v25.x of rendition.
The major changes in rendition do not affect this module, but since the
peer dependency has changed, this is a breaking change.
Change-type: major
Signed-off-by: Lucian Buzzo<EMAIL_ADDRESS>

@balena-ci I self-certify!


Fix token service, user client, and reexports

This pull request addresses several issues by fixing the token service, enhancing the user client, and correcting reexports. Key changes include ensuring user instances are created correctly, improving token data handling by normalizing symbol, address, and name comparisons to lowercase, and removing redundant token entries from the static token data. These updates enhance the overall functionality and reliability of the application.

Summary by CodeRabbit
Release Notes

New Features

Enhanced type definitions for various protocols, improving developer experience and type checking.

Bug Fixes

Removed duplicate entries for "Wrapped Staked ETH" to streamline token data.

Improvements

Implemented case-insensitive handling for token symbols, addresses, and names, ensuring consistent token retrieval.

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

Project coverage is 73.24%. Comparing base (73f3336) to head (0088e52).
Report is 1 commits behind head on dev.

:exclamation:  There is a different number of reports uploaded between BASE (73f3336) and HEAD (0088e52). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (73f3336)
HEAD (0088e52)

2
1

Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #507       +/-   ##
===========================================
- Coverage   85.03%   73.24%   -11.79%
===========================================
  Files         291      129      -162
  Lines        2967     1357     -1610
  Branches      178       78      -100
===========================================
- Hits         2523      994     -1529
+ Misses        444      363       -81

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


Improvement | Grid Console to show total number of connected nodes

It would be great if we can see total number of connected nodes in Grid Console web page (https(s)://hub_ip:hub_port/grid/console)

@mstankovic86 Right now you can just do a search for "WebDriver" (or anything else that is the same for each node), right ?

yes, i can, but there could be scenario where node is attached but it is not connected on the hub (picture bellow)

it would be good if I can see total (reserved) number of nodes (browsers). For example:
nodes: 33
chrome: 99 (5)
firefox: 5 (1)
.
.
.

I like this idea.

Need to make sure we have an api available to get this information, to fulfill : https://github.com/groupon/Selenium-Grid-Extras/issues/200

There is an endpoint in the stock selenium hub that can give you some of this info. Do a get to http://yourHub:4444/grid/api/hub and you should see the free/total slotCounts (look at newSessionRequestCount to see queued tests). It doesn't have the granularity to show different browsers but you can get overview to determine if your grid is saturated.


CVE-2021-37714: update jsoup

openhtmltopdf-jsoup-dom-converter has org.jsoup:jsoup:1.11.3 depencency. This version is vulnerable to CVE-2021-37714.
To fix it, follow the advice GHSA-m72m-mhq2-9p6c and update to org.jsoup:jsoup:1.14.2 and higher.
The related issue in openhtmltopdf: https://github.com/danfickle/openhtmltopdf/issues/828

Apparently this is a false positive, since all modules of flexmark override this with a newer jsoup, it just is not explicitly excluded on the openhtmltopdf-jsoup-dom-converter dependency (which would prevent this false positive).
This dependency itself might be worth to remove though. It's own description marks it as deprecated:

DEPRECATED MODULE FOR REMOVAL: Use Jsoup provided W3CDom helper class instead. Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact supports converting a Jsoup HTML5 instance into a DOM supported by Open HTML to PDF.

Any updates on a fix timeline?

So is this saying using something like https://jsoup.org/apidocs/org/jsoup/helper/class-use/W3CDom.html ?


Unified Inbox list item tap selects aleatory items

When tapping items in Unified Inbox list, an aleatory item is selected (probably mixed item indexing issue).
This works correctly in individual accound inbox list. And worked correctly in the previous releases.
Expected behavior
In "Unified Inbox" list, when you tap in a list item/message, the item should be selected and message opened. When tap in the checkbox, the related item should be "checked".
Actual behavior
When tapping a list item, it is selecting an aleatory item, not the tapped one. Sometimes selects the previous or the next item of the tapped one.
Steps to reproduce

Open the "Unified Inbox" list (that aggregates more than one account, with mixed message dates).
Tap an item in the middle of the list.
An aleatory item is selected.

Environment
K-9 Mail version: 5.203
Android version: 6.0.1 (Marshmallow)
Kernel: 3.4.0-perf-gc14c2d5 / Build: 23.5.A.1.291
Account type (IMAP, POP3, WebDAV/Exchange):
POP3

I can't reproduce this with 2 accounts added to K-9. :/

aléatoire? "random"

Sorry, I just noticed the follow up now.
Unfortunately I have uninstalled the app just a couple of weeks after the report and also have another device.
I am not sure if it is the same version but I just installed it again and now it is just working fine.
It was probably an corrupted db index on cache in my old device.
I will close this because I can not replicate it anymore.
Really sorry for bothering you with this.
PS.: Yes "aleatory" = "random" (sorry, so many languages to deal with...)


👕  Set up Standard JS linter

Configure linter for JavaScript Standard Style to foster consistency with the Atom style guide.
TODO

[x] Set up JavaScript Standard Style linter
[x] Resolve existing linter violations

@as-cii: Thanks for the review. I pushed up several commits to address the linter violations in the test dir. Would you mind reviewing those changes?


[pulsar-storm] add option to pass consumerConfiguration to PulsarSpout

Motivation
User was able to pass custom consumer-configuration in pulsar-storm-1.x which is require to pass various configurations eg: encryption-config, queue-size, priority-level etc..
So, adding ConsumerConfiguration input for pulsar-spout creation.

retest this please

rerun java8 tests

rerun java8 tests


Publish dev/master to stable

Current dev/master work with symfony3 but the latest 0.4.2 no.
Some dependencies like voryx/ThruwayBundle use by default 0.4
Please publish a new stable version as possible

Thanks for opening this issue.  We're not quite ready to tag a new release.
If you need to use dev-master with the ThruwayBundle, you can require it in your project.

@saidmoya12: just use following in your root composer.json
"voryx/thruway": "dev-master#1fddead1dd00fda074a05c55baa70c1dd5b60859 as 0.5.0"

and require 0.5.0 in your composer package for your symfony 3 bundle


Can't see scrcpy display when connecting via Wireguard VPN

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: macOS
scrcpy version: 1.13
installation method: brew
device model: Nvidia Shield TV
Android version: 9

Hi there,
I have a rather specific issue, the first specific is I'm using scrcpy to connect to an Android TV device which is working great over my local network/tcpip.
The second specific is where the issue occurs: I want to be able to connect from outside the house, and the simplest way for me to do that would be to connect over my Wireguard VPN connection and then run scrcpy normally.
When I connect to my home network via Wireguard, I can successfully see and connect to the Android TV device with adb and when I run scrcpy it opens up the scrcpy app with the Android logo but no screen window appears.
Here's what comes out of logcat immediately after attempting to run scrcpy from my Wireguard connection:
06-16 21:03:45.150  8064  8064 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
06-16 21:03:45.271  8064  8064 D AndroidRuntime: Calling main entry com.genymobile.scrcpy.Server
06-16 21:03:45.272  8064  8064 I scrcpy  : Device: NVIDIA SHIELD Android TV (Android 9)
06-16 21:03:45.281  8075  8075 E asset   : setgid: Operation not permitted
06-16 21:03:45.293  8064  8064 I AssetManager: no overlays.list file found
06-16 21:03:45.298  8064  8064 I app_process: Thread[1,tid=8064,Native,Thread*=0x2d2d821c00,peer=0x12c01dc0,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
06-16 21:03:45.299  8064  8064 D MtpDeviceJNI: register_android_mtp_MtpDevice
06-16 21:03:45.299  8064  8064 I app_process: Thread[1,tid=8064,Native,Thread*=0x2d2d821c00,peer=0x12c01dc0,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
06-16 21:03:45.299  8064  8064 I app_process: Thread[1,tid=8064,Native,Thread*=0x2d2d821c00,peer=0x12c01dc0,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
06-16 21:03:45.302  8064  8078 I OMXClient: IOmx service obtained

Shortly after (5 secs later), this also came through:
06-16 21:04:00.001  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.002  3698  3698 I ActivityManager: Killing 4796:com.google.process.gapps/u0a10 (adj 906): empty #17
06-16 21:04:00.002  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4721/memory.swappiness; errno=2
06-16 21:04:00.002  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4433/memory.swappiness; errno=2
06-16 21:04:00.003  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.003  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.003  3698  3740 W libprocessgroup: kill(-4796, 9) failed: No such process
06-16 21:04:00.003  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4721/memory.swappiness; errno=2
06-16 21:04:00.003  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4433/memory.swappiness; errno=2
06-16 21:04:00.004  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.005  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4721/memory.swappiness; errno=2
06-16 21:04:00.005  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4433/memory.swappiness; errno=2
06-16 21:04:00.005  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.006  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4721/memory.swappiness; errno=2
06-16 21:04:00.006  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4433/memory.swappiness; errno=2
06-16 21:04:00.039  3286  3286 I Zygote  : Process 4796 exited due to signal (9)
06-16 21:04:00.040  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10085/pid_4658/memory.swappiness; errno=2
06-16 21:04:00.041  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4721/memory.swappiness; errno=2
06-16 21:04:00.041  3331  3331 E lowmemorykiller: Error opening /dev/memcg/apps/uid_10017/pid_4433/memory.swappiness; errno=2
06-16 21:04:00.046  3698  3740 W libprocessgroup: kill(-4796, 9) failed: No such process
06-16 21:04:00.046  3698  3740 I libprocessgroup: Successfully killed process cgroup uid 10010 pid 4796 in 43ms

Any idea why scrcpy works fine on local network but not when connected via VPN? Even though I can see the device over adb no problem?

It seems the VPN does not support sending data at the video bitrate (not enough memory?).
Try with a lower bitrate:
scrcpy -b500k -m800


Export works with Jupyter Notebook but not JupyterLab

nbautoexport version: 0.3.1+7.gf539250
Python version: 3.6.13
Operating System: Ubuntu 18.04.5 LTS  on AWS EC2 Instance

Description
I newly installed and configured nbautoexport. New/modified jupyter notebooks in the configured directory are not getting exported as scripts on save when using Jupyter Lab.
What I Did
I opened the same notebooks using Jupyter Notebook and they are exported as scripts on save. Interestingly, when I then go back to using Jupyter Lab, things are working as they should (new/modified notebooks are exported on save).
Interim workaround
As of now, nbautoexport does not work with jupyterlab when the version of nbclassic is 4.0 or greater. To get both jupyterlab and jupyter notebook to work, run pip install nbclassic=0.3.7 (earlier 0.3 versions also work)
Long term fix
Write out to ~/.jupyter/jupyter_server_config.py in addition to ~/.jupyter/jupyter_notebook_config.py. After running cp ~/.jupyter/jupyter_notebook_config.py ~/.jupyter/jupyter_server_config.py, both jupyter lab and jupyter notebook export scripts correctly regardless of the version of nbclassic

Related issue in nbclassic: link

In case anyone else finds there way here, it could be worth confirming that the notebook metadata contains the following fields under language_info in addition to anything else already there:
"metadata": {
  "language_info": {
   "file_extension": ".py",
   "nbconvert_exporter": "python"
  }

I found ensuring these elements were in the metadata helped nbautoexport to work as I expected - one of my environments wasn't creating these automatically.

@mjschlauch FYI I added some takeaways from a debug session to the issue description. The culprit was a new release of nbclassic, and the quick workaround is installing a version of nbclassic < 0.4

@klwetstone's additional notes helped point me in a direction of research on the very confusing Jupyter ecosystem. I will try to summarize some key ideas here:

There are actually effectively three UI applications in the Jupyter ecosystem that let people run and interact with "Jupyter notebooks" (i.e., ipynb files).

Jupyter Notebook—this is the original legacy application that predated JupyterLab
JupyterLab
Jupyter nbclassic—this is the original Jupyter Notebook UI but running on top of JupyterLab

One reason this is confusing is because there's been big decisions about the technology stack behind Jupyter applications that have been made over the years, that ended up getting reversed. The key ideas that I understand are:

Jupyter Notebook existed first
JupyterLab is a more general purpose IDE that reached "ready for daily use" status in 2018
In mid 2020, Jupyter Notebook got a notice that it was barely being maintained and recommended that people migrate to JupyterLab.

Around this time, nbclassic was created as an extension on top of JupyterLab but running the Jupyter Notebook UI

At the end of 2020, JupyterLab 3.0 came out, which migrated away from the backend server used by Jupyter Notebook to the new jupyter-server backend.
In late 2021, they changed their minds and decided to keep Jupyter Notebook alive, and migrate the backend to jupyter-server to share the same backend technology as JupyterLab. (This is what is known as "Jupyter Notebook v7".)
Keeping Jupyter Notebook around made the reason for existence of nbclassic kind of confusing. It sounds like from here that nbclassic will be the maintained version of Jupyter Notebook v6 going forward.

It sounds like all three of these are expected to be normal entrypoints to Jupyter notebooks going forward, which means we should make an effort to explicitly support all of them.

With that in mind, it seems like here is why stuff hasn't been working.
Our code is written in a way (write to jupyter_notebook_config.py) that is the way things worked for Jupyter Notebook. This still works for Jupyter Notebook (currently v6, and earlier).
According to the jupyter-server docs, this should be instead jupyter_server_config.py for any app that uses jupyter-server as a backend. It seems like, though not totally certain, that some part of JupyterLab v2 -> v3 using jupyter-server is related to nbautoexport not working anymore, which would be explained by this fact.
Some additional complication though is that nbclassic has the functionality that it works with both jupyter_notebook_config.py and jupyter_server_config.py. Apparently, that functionality broke recently, which is the issue that @klwetstone found. But it sounds like the intent is that it will continue to support jupyter_notebook_config.py? There's also some complication that nbclassic contains some shim-like behavior that adapts JupyterLab to work with old Jupyter Notebook interfaces.
It looks like eventually even Jupyter Notebook v7 will migrate to jupyter_server_config.py, based on the documentation for it.

Anyways
So I think the fix is definitely to start writing the nbautoexport code to jupyter_server_config.py.
There's a question about how we want to support current and older versions of Jupyter Notebook, which still only read jupyter_notebook_config.py and not jupyter_server_config.py (I just tested this).

Should we write out to both files on nbautoexport install?

This will work automagically for all users, but also everyone will end up with two files, which will be messy and potentially confusing for future debugging.

Should we add a flag to write out to jupyter_notebook_config.py only when the flag is used when running nbautoexport install?

This is more explicit, less messy, and makes future debugging easier, but adds some friction for Jupyter Notebook users to get started.

Fascinating read.
Personally, I'd vote for 1, since I use classic notebooks pretty often. May be worth it to switch this line to an info and print the path to the config as well for debugging ease: https://github.com/drivendataorg/nbautoexport/blob/eb5937d2559ad1ede6edbc6ba4d25ee673bf8237/nbautoexport/jupyter_config.py#L23

Looks like the PR to fix the nbclassic issue got merged in (https://github.com/jupyter/nbclassic/pull/137) which, if I'm understanding thing correctly, fixes the bug that @klwetstone originally found.


Need development branch

We must use a dev branch for testing and integration purposes (master branch must always contain healthy code).

Done and well configured.


[FR] Add some state around describers

When we use a board-as-component we load its descriptor on the fly. However, we can land in a funny place if the board being loaded is unavailable because the user is – say – offline. We don't really have any form of state for that, but I think if we had something we could query on the node, e.g., "described", "pending", "failed" then we could adapt the UI to it.

Following #3206


Remove ARM CI from PR Trigger in arm-ci.yml

Remove the arm ci trigger from arm-ci.yml in favor of the newer arm64 presubmit.

For reference this is now handled by the ci job that reports as "Presubmit - Linux Arm64 CPU - Py+CPP Test Suite "


chore(main): release 1.5.4-beta

:robot: I have created a release beep boop
1.5.4-beta (2023-10-15)
Bug Fixes

modified generate emulator code (369eb75)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/appblocks-hub/BB-CLI/releases/tag/v1.5.4-beta :sunflower:


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2196

Questions ?
Please refer to the Backport tool documentation


Does not support using IP Adresses

bottom text

I realized I was using the pipi package

I just compiled, uninstalled the pipi, and installed the .whl. Still did not work.

Yes, I meant pypi.

Hello @Xanderplayz16,
Based on the error log you provided, it appears that there may have been an issue with your DNS server. It's possible that you were trying to look up a domain that didn't exist. While I'm not an expert in DNS, that's one potential explanation for the exception you encountered. Another possible cause could be a poor internet connection.
To help me better understand the issue, it would be very helpful if you could check whether the domain referenced in the variable "i" exists publicly, not just on a local DNS server. This may provide some insight into what's causing the issue.
Best regards,
Till

Is this error occurring frequently or is it a rare occurrence?

Frequently

I just tried Google's DNS server (<IP_ADDRESS>) and even that does not work.

After reviewing your issue, it seems that there may be a problem with your internet connection or with dnspython, which is the DNS client that mcclient-lib uses. If you're performing a high volume of DNS/SLP lookups in a short period of time, it's possible that your router or the responding DNS server could drop some of your requests. This may be especially true if you're running port scans, for example.
Unfortunately, I'm not able to fix the issue for you. I apologize for any inconvenience this may cause. If the error isn't occurring consistently, you could try implementing a retry logic in your code to see if that helps mitigate the issue.
Or try implementing your code with minestat
I hope this helps!

I am looking up IP addresses… You do not need dns for that.

On Apr 7, 2023, at 5:19 PM, Sch8ill @.***> wrote:

Closed #14 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Thats correct @Xanderplayz16 . You don't need DNS to connect to servers who's address is an IP address.
My suggestion to you would be to check if your  IP address is valid, the libary will try to lookup the address using DNS If not, because it thinks you are trying to use a domain to connect to a server... (This may cause the errors you encounterd)
An IP address is a string of four dot seperated numbers between 0 and 255, just to be clear. (IPv6 is a bit different though)

@Xanderplayz16 Maybe this would benefit from a bit of additional context. Would you be able to share the specific code in serverscan2.py that produces the error? If needed, you can substitute the digits in any hard-coded IP addresses with zeroes or asterisks.

@DJStompZone You are able to add asterisks to IP addresses, this would define an IP range though. It is Impossible to connect to an IP range, it's an IP range not an IP address...

@Xanderplayz16 Maybe this would benefit from a bit of additional context. Would you be able to share the specific code in serverscan2.py that produces the error? If needed, you can substitute the digits in any hard-coded IP addresses with zeroes or asterisks.

@DJStompZone It is impossible to connect to an IP range, it's an IP range not an IP address...

Sorry, I should clarify what I meant:

Would you be able to share the specific code in serverscan2.py that produces the error? If you do, be sure to substitute the any hard-coded IP addresses in the shared code with zeroes or asterisks.

slp_client = SLPClient("...”, port=25565)
res = slp_client.get_status()

On Apr 9, 2023, at 4:51 PM, DJ Stomp @.***> wrote:

@Xanderplayz16 Maybe this would benefit from a bit of additional context. Would you be able to share the specific code in serverscan2.py that produces the error? If needed, you can substitute the digits in any hard-coded IP addresses with zeroes or asterisks.
@DJStompZone It is impossible to connect to an IP range, it's an IP range not an IP address...
Sorry, I should clarify what I meant:
Would you be able to share the specific code in serverscan2.py that produces the error? If you do, be sure to substitute the any hard-coded IP addresses in the shared code with zeroes or asterisks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@Xanderplayz16
"..." is not an IP address, it's an IP range.
You can't connect to an IP range because it's a notation to list multiple IP addresses (the entire internet in this case) 😁

The ... is just a placeholder (I do not want to leak ips)

On Apr 12, 2023, at 8:42 AM, Sch8ill @.***> wrote:

@Xanderplayz16
"..." is not an IP address, it's an IP range.
You can't connect to an IP range because it's a notation to list multiple IP addresses (the entire internet in this case) 😁
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@Xanderplayz16
Well, I don't see a problem then.
The client should work if provided with proper input.

Or is the server using a special software that isn't vanilla minecraft?
These third party Minecraft versions sometimes don't implement the Minecraft protocol correctly.

It is probably that.

On Apr 12, 2023, at 2:35 PM, Sch8ill @.***> wrote:

Or is the server using a special software that isn't vanilla minecraft?
These third party Minecraft versions sometimes don't implement the Minecraft protocol correctly.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


"ProxyPool" option in "Move-CsUser" is not properly described.

The "ProxyPool" option is described as follows, which makes it seem as if it is no longer necessary to use it.

-ProxyPool
This parameter has been deprecated and should not be used.

In practice, however, it is necessary if there are multiple Edge Servers with federation enabled. Moving online without the "ProxyPool" option will fail with the following error.

Move-CsUser : Multiple federated Edge Servers have been defined in the current topology. Specify the ProxyPool
parameter to indicate which Registrar pool should be used to proxy this user for deployments running earlier versions.
Edge Server FQDNs found:"XXXX-240edg.XXXXXXXX.local, XXXX-250edg.XXXXXXXX.local"
At line:1 char:1
+ Move-CsUser -Identity<EMAIL_ADDRESS>-Target sipfed.on ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (CN=user05,OU=o...XXXXXX,DC=local:OCSADUser) [Move-CsUser], MoveUserException
+ FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet

This was confirmed on Skype for Business Server 2015 with the latest CU applied. Please describe an explanation that it is required for some configurations.

I closed this question because it was posted in the wrong place.


Fixed Grid

Fixed Grid

The code is looking good. And I can't believe you implemented it so quickly. Before merging this PR can you make it so the data or marks render after rendered after the grids rather than having the grids rendered on top of the circle, rect, or line svg element representing the data?

Moved grids behind components


add attach method

no need to write MultipleStatusView in xml,
you can just use like below:
ViewGroup ll_content = findViewById(R.id.ll_content); mMultipleStatusView = MultipleStatusView.attach(ll_content); if (null != mMultipleStatusView) {      mMultipleStatusView.setOnRetryClickListener(mRetryClickListener);  }

don't need to wrap you layout views in MultipleStatusView, just attach you layout now ...


Compile error on iOS 8 device

Undefined symbols for architecture arm64:
"OBJC_CLASS$_GPUImageiOSBlurFilter", referenced from:
objc-class-ref in AMSmoothAlertView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have the same issue too.

I fixed it finally,  just use cocoapods.


add support for Wine

I am able to follow the wiki to connect a debug session from VS Windows to a WPF .Net 5.0 app running in a Ubuntu VM using Wine (WinHQ).  However, nothing other than attaching to the process works (e.g. breaking into the debugger causes an error).
It would be GREAT if this were a tested and supported scenario. Wine is incredibly useful at making WPF apps run under Linux, and VS debugging not working seems to be the missing link at making this a truly easy way to port WPF apps to Linux.

I am assuming you want to do managed debugging, correct? If so, this is probably not the right repo for this. I would probably suggest using "Help->Send Feedback->Suggest a feature..." from Visual Studio.
That said, you are using the version of .NET Compiled for Windows or for Linux? Or you using the vsdbg compiled for Windows or for Linux? It seems very unlilkely to me that this scenario would "just work", but the only way it would be to match the version of vsdbg to the version of the .NET Runtime.

Yes, managed debugging.
I just directly copied .net from my Windows PC to the Ubuntu VM.  vsdbg was created automatically in ~/.vs-debugger/vs2019 by VS when I used the Debug->Attach To Process menu and tried attaching with SSH.  This method worked even less than the method described in this wiki.  With the wiki method, when I stop debugging the Wine application is also terminated.  With the Debug->Attach To Process method even that does not happen.
This is a .Net 5.0 WPF app.
If this worked it would almost be a dream come true since I can run a rather complex app almost unmodified under Wine and the only missing link to enable streamlined development is a good managed debugger.

Disclaimer: this is completely untested, and even if it works now, it may not work in the future.
The only thing that has any chance at all of working would be to invoke the getvsdbg.sh script with '-r win7-x64' (so you get the Windows version of vsdbg) and manually set things up to launch the Windows vsdbg under wine. Using the Linux version of vsdbg with an app running on the Windows runtime will never work.

Yes, managed debugging.
I just directly copied .net from my Windows PC to the Ubuntu VM.  vsdbg was created automatically in ~/.vs-debugger/vs2019 by VS when I used the Debug->Attach To Process menu and tried attaching with SSH.  This method worked even less than the method described in this wiki.  With the wiki method, when I stop debugging the Wine application is also terminated.  With the Debug->Attach To Process method even that does not happen.
This is a .Net 5.0 WPF app.
If this worked it would almost be a dream come true since I can run a rather complex app almost unmodified under Wine and the only missing link to enable streamlined development is a good managed debugger.

Thanks for the suggestions @gregg-miskelly
I am happy to report that I can now attach to the WPF app running under Wine on Ubuntu.  Everything appears to work (breakpoints, debug output etc).  It's a bit slow but will make porting the app so much easier.
For anyone else who is interested here is what I did:

Follow the overall instructions at https://github.com/microsoft/MIEngine/wiki/Offroad-Debugging-of-.NET-Core-on-Linux---OSX-from-Visual-Studio to set things up (ssh etc).

Since Wine runs the WPF app, vsdbg also needs to run within Wine.  To get that I installed VS Code on Windows, installed the extension "C# for Visual Studio Code (powered by OmniSharp)", and copied "%USERPROFILE%.vscode\extensions\ms-dotnettools.csharp-1.23.9.debugger" to "~/vs-debugger"

Change launch.json like this so vsdbg runs under Wine as well:
`{
"version": "0.2.0",
"adapter": "C:\...bin\PLINK.EXE",
"adapterArgs": "-i C:\...\ssh-ubuntu.ppk<EMAIL_ADDRESS>-batch -T wine ~/.vs-debugger/vsdbg.exe",
"configurations": [
{
"name": ".NET Core Ubuntu Wine Launch",
"type": "coreclr",
     //"request": "launch",
     //"cwd": "/usr/bin/wine",
     //"program": "/home/user/debug/xyz.dll",

     "request": "attach",
     // replace with the process id you want to attach to. You can find this by running 'pidof' in the container
     // ex: `docker exec -it my_container_name pidof dotnet`
     // For Wine, use Wine TaskManager to get the PID of your WPF app (not the unix pid).
     "processId": 204
 }

]
}`

Note that "processId" must be obtained from the Wine task manager.  It is not the linux process.

Note that I copied .Net 5.0 from my windows machine directly to /home/username/.wine/drive_c/Program Files/dotnet in order to install this in my default wineprefix (Since my WPF app is a .Net 5 app).

@philipag Is it possible to use VSStudio without VSCode?
@gregg-miskelly Is it possible to have a brief detailed official guide? It would be very useful, we are many Wine users. Thanks you.


Add a collection to the index

Collection name
brigitfinal
Maintainer name
brigit
Maintainer contact link (i.e. repo issues link, email)
github.com
Repository URL
github.com
OCI Reference
github.com
I acknowledge that this collection provides new functionality, distinct from the existing dev container collections part of this index

[x] Confirm

#sign-off


[Question] [Home assistant] Disable player control? Go2rtc frame.jpg as poster?

My goal is create a live stream dashboard which is most reliable as possible for live viewing purpose only. Anytime opening the dashboard, I want to see the image immediately whatever it is live image or static image of that camera!
I have 6 cameras in a lovelace dashboard, when I open the dashboard, it show 6 black screen with loading circle, after some time camera shows up along with play/pause and some button. How can I disable all of this?  I just want to see the image only.
Then I use the go2rtc frame.jpeg snapshot as the poster, but even when the link work fine (I can open another tab and see the picture), it is still black screen when the camera is loading.

I didn't really understand what was going on in the last paragraph

I didn't really understand what was going on in the last paragraph

in the custom:webrtc-card, there is option for poster, which is the still image showing when the camera is loading. I used MJPEG snapshot, hope it will fetch the image and show it on the card while the camera is loading, but it show a black screen instead.
Sorry for my bad English.

Well. Your question about the snapshot not working.
Show link to shapshot and go2rtc config for this link.

Well. Your question about the snapshot not working. Show link to shapshot and go2rtc config for this link.

I didn't add any config for go2rtc. Currently I am using ezviz integration and add camera there. Then I use webrtc-card with these ezviz camera entity so it auto create these camera on go2rtc webui. Then I use this link http://<IP_ADDRESS>:1984/api/frame.jpeg?src=camera.ezviz_camera to get the snapshot.
This link usually work fine when I open it on any browser. But when I use it as the still image for the card, it shows black screen

Go2rtc don't have actual link to your stream.
When you using WebRTC card with entity as source - actual stream link updated on each stream start.
When you using go2rtc API directly - there is no guarantee that link is ok.

Go2rtc don't have actual link to your stream.
When you using WebRTC card with entity as source - actual stream link updated on each stream start.
When you using go2rtc API directly - there is no guarantee that link is ok.

Thank you, this info helps a lot, however because of the camera connection, and the mjpeg snapshot from go2rtc can't work with external network, so I decide to create an automation to get the snapshot each 3 mins and save to local file and use it as still image.
So what about disable the video player control, is it possible?

For example in this screen shot, while loading, I want to disable the big "play" button. Loading status on the top right corner is sufficient enough

https://github.com/AlexxIT/WebRTC?tab=readme-ov-file#custom-card


Automated cherry pick of #5363: fix disk billing type on guest is postpaid

Cherry pick of #5363 on release/3.1.
#5363: fix disk billing type on guest is postpaid

/lgtm

/approve


Template tag raises TemplateDoesNotExist

Django Surveys version: 0.4.0
Django version: 1.8.x
Python version: 2.7
Operating System: Unix

Description
The template tag five_stars_text is raising a TemplateDoesNotExist: surveys/5-stars.txt when used.
It's because the template it's using isn't included in the distribution.

Doesn't show up in tests because we are testing the local version, not the installed one:
https://blog.ionelmc.ro/2014/05/25/python-packaging/


Verify trigger fire by sideeffect.

Until now, we verify the kafkaprovider, by looking if the action in OpenWhisk has been executed with activation list. The problem with this call is, that the activation may not be in the list in time, because it only returns the result of an CouchDB view. If there is much load on the database, the view-computation may be behind and not return the activation.
As side effect, we use a trigger creation. The name of the trigger will be read from the kafka message. All other things (like credentials, ...) are already present in the action, that is invoked anyway.
To check if the trigger exists, we use the ID of the trigger. So no view is involved anymore.

@abaruni - can you please review this?  I can merge once you approve it.

@cbickel This is very cool solution.
At one point I discussed with @jasonpet to have the action to write to another DB and check the entry there.
But this way we re-use the whisk DB with an entity, it can be a trigger, a package, or action.
@mdeuser
The current verification is nondeterministic and problematic because couchdb views are eventually consistent, and there could be large delay until the view is updated and the activation record to show up.


Random crashes

On Linux using i3 and alacritty built from 7d3fc0d with rust 1.21.0-nightly (c11f689d2 2017-08-29) I'm seeing random crashes.
I've returned to an i3 pane to see alacritty has disappeared; luckily (and obviously) I'm using tmux so no actual state was lost. So, it has nothing to do with what I'm doing within alacritty or tmux at the time of the crash as far as I can tell.
I did not have this issue with the last build of alacritty I was using, which was from 9b13e34.
I'd be happy to provide a crash log but I don't know where alacritty stores them.

Thanks for reporting! Could you please try running Alacritty from a console like this:
RUST_BACKTRACE=1 alacritty

The backtrace should show up after crashing.

I haven't been able to reproduce the crash since re-building it from the same SHA; if I get a stack trace I'll re-open.
Thanks!


wrong colors

just check here - https://github.com/joshdick/onedark.vim
= or != >< are colored. Here we have fg color. I think, highlighting operators is a good stuff.

https://github.com/navarasu/onedark.nvim/issues/80#issuecomment-1145937282


New line in filenames

As far as I can tell (sorry, I have not tested) attempting to create
an archive where any of the filenames include an LF or any
of the symbolic links points to filename with an LF,  will result
in a corrupt file (without warning.)
A simple solution to allow such files without breaking backwards
compatibility, would be that all LF:s are changed to LF-backslash.
So if a filename would is
two
lines

it will be stored as
Path: two
\lines

This is indeed a problem. issue #9 mentioned ar(1). in ar, filenames end with a /. that's a good solution.
But then, why don't we just use ar?


Match BP_Sky behaviour with BP_Weather

-Be sure the "BP_Weather_Opt" works exactly like the "BP_CarlaSunSky" at runtime.

Match Scene Capture from C++ with the postprocces volume values

On Paused:
The new lighting system in UE5 currently doesn't use dynamic lighting. Therefore, the BP_Weather behavior doesn't align properly and needs to be simplified to avoid warnings about functionalities that are currently disabled.


Panic on startup: 'gl function was not loaded'

From jwilm/alacritty#28.
Now however I am getting a different error when I try to run alactritty.exe.
Welcome to Alacritty.
Configuration loaded from C:\Users\gavin\alacritty.yml
device_pixel_ratio: 1
width: 1024, height: 768
thread 'main' panicked at 'gl function was not loaded', E:\Development\alacritty\target\release\build\alacritty-aabf91f3f7e36563\out/gl_bindings.rs:20617:13
stack backtrace:
   0: std::panicking::default_hook::{{closure}}
             at C:\projects\rust\src\libstd\panicking.rs:386
   1: std::panicking::rust_panic_with_hook
             at C:\projects\rust\src\libstd\panicking.rs:563
   2: std::panicking::begin_panic<str*>
             at C:\projects\rust\src\libstd\panicking.rs:538
   3: alacritty::gl::missing_fn_panic
             at .\build\alacritty-aabf91f3f7e36563\out\gl_bindings.rs:20617
   4: alacritty::main
             at E:\Development\alacritty\src\main.rs:45
   5: std::rt::lang_start::{{closure}}<()>
             at C:\projects\rust\src\libstd\rt.rs:74
   6: main
   7: __scrt_common_main_seh
             at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283
   8: BaseThreadInitThunk    ```

@gavinhow Could you post your GPU, driver version and opengl information (using something like opengl extensions viewer)?

GPU: Radeon RX480 8GB
Driver Version: Adrenalin 18.2.1
GL Report from opengl extensions viewer: Renderer: Radeon (TM) RX 480 Graphics
Vendor: ATI Technologies Inc.
Memory: 4095 MB
Version: 4.5.13506 Core Profile Forward-Compatible Context 23.20.15017.3010
Shading language version: 4.50
Max texture size: 16384 x 16384
Max vertex texture image units: 32
Max texture image units: 32
Max geometry texture units: 32
Max anisotropic filtering value: 16
Max viewport size: 16384 x 16384
Max Clip Distances: 8
Max samples: 8

This is weird, I had a similar issue during development because the initialisation code was defining the load method before making the opengl context current which doesn't work on windows. I'm not sure what else could the issue could be.
Could you try running the examples from gl-rs?

I'm having the same issue. Full graphics info can be found at https://pastebin.com/xVbKfm8S

update git repo and rust stable rustc 1.24.1 (d3ae9a9e0 2018-02-27) and ran cargo update and cargo build --release. I no longer this error but now I see the window with white screen open and close. @zacps can you share the alacritty.yml and the exe file.

I have been doing all my builds on nightly, that might make a difference.
Regardless here's a debug build of the latest commit and my working alacritty.yml file.

alacritty_build_64434a.zip

The build crashes quite fast, I screenshoted the error which says: "Error creating GL context; Couldn't find any pixel format that matches the criterias."

@zacps your build works. Mine didn't work from rust stable. Will try rust nightly and see if that works.
Also seems like good idea to fix this. https://github.com/zacps/alacritty/issues/1. I had issues with my config.

@hrach I found a bit of information on this issue in https://github.com/PistonDevelopers/piston/issues/1202 and this gist.
First try the latest commit (I updated glutin from a very old version) and if that doesn't work try disabling vsync in src/window.rs:188.

@zacps Lastest master seems to work. I didn't need to update src/windows.rs

Excellent, hopefully the same works for @gavinhow and hrach.

I'm going to close this for now. Feel free to open another if the issue persists.


Cannot build 62.0.3202.62 on macOS 10.13

Hi,
I tried to build chromium 62 on macOS 10.13 using the patch on the develop branch but I occurred many errors. As the log file is kind of long and disgusting, I'm pasting it there: http://sprunge.us/IBcD
I'll also highlight that a patch fails. Could someone help me on this please?
Extracting clang+llvm-4.0.0-x86_64-apple-darwin.tar.xz...
Applying patch ungoogled_macos/patches/debian/gn/parallel.patch
patching file tools/gn/bootstrap/bootstrap.py
Hunk #1 succeeded at 111 (offset 8 lines).
Hunk #2 succeeded at 208 (offset 7 lines).

Applying patch ungoogled_macos/patches/debian/gn/buildflags.patch
patching file build/toolchain/linux/BUILD.gn
Hunk #3 succeeded at 113 (offset 8 lines).
Hunk #4 succeeded at 170 (offset 16 lines).

Applying patch ungoogled_macos/patches/debian/gn/scheduler.patch
patching file tools/gn/bootstrap/bootstrap.py
Hunk #1 FAILED at 490.
1 out of 1 hunk FAILED -- rejects in file tools/gn/bootstrap/bootstrap.py

62 isn't ready on my own platform, so it won't be ready to test on other platforms. I'll announce in #262 when it is ready for test building on other platforms (which I hope isn't too long from now).


Update web-sites-integrate-with-vnet.md

Updating the doc explicitly calling out private DNS zones are not supported with Gateway required VNET integration

@jcbrooks92 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for the suggestion but you should be able to use azure dns private zones with an app using the gateway vnet integration if you use WEBSITE_DNS_SERVER set to <IP_ADDRESS>.    We will look at double checking that and updating docs as appropriate.

#please-close


Implement gather service-discovery resources

ServiceImports
ServiceExports
EndpointSlices
CoreDNS ConfigMaps

Fixes #1158
Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

Overall looks good. Please also add verification in the E2E test added by https://github.com/submariner-io/submariner-operator/pull/1194

Overall looks good. Please also add verification in the E2E test added by #1194

Added a commit that gathers logs too. Will add e2e in a subsequent commit.


Augmenting the global scope in a module - Able to reference the augmentation when it is not referenced causing runtime error.

TypeScript Version:  2.2.1
When using AMD as module type.
If I augment the global scope as per below
extension.ts
declare global {
    interface Array<T> {
        SomeMethod() : void;
    }
}

Array.prototype.SomeMethod = () => { /* Some Code */  }

export = "Something"

The augmentation is available allthough I have not referenced it so the following will compile.
user.ts
var T = [];
T.SomeMethod();

This will cause a runtime error i.e. SomeMethod has not been defined whereas if i do the following.
user.ts
import "extension"

var T = [];
T.SomeMethod();

will work as the js generated (define(["require", "exports", "extension"]) will load the augmentation in.
I cannot see any way of saying that the augmentation will only be available when the module is imported in https://www.typescriptlang.org/docs/handbook/declaration-merging.html.
it would be nice to be able to do something like the following
export declare global     // This means we dont need to export something else in the file
{
     interface Array<T> {
        SomeMethod() : void;
    }
}

If we dont import the augmentation when we are using it it will be a compiler error.

The declaration of Array and so is the augmentation are in the global scope; they are visible throughout the compilation. the compiler can not tell when they are applied or not.


Windows style scrollbars

Tried to implement this but was too complicated, need to look it up again.

@miquelbeltran can you discuss the approach you followed?

@Taosif7 sure! I have three different ideas:
Custom themed Material Scrollbar
The theming options are a bit limited, I can make the "thumb" square and match the background colors, but that's it, no elevated effect, no top and down buttons, etc. Plus, the scrollbar is rendered on top of the ListView, this can be fixed with some padding hack, but otherwise it doesn't look. I tried to work with RawScrollbar but faced similar limitations.
Custom widget
The second idea is to have a custom widget that takes a ScrollCotroller and renders a scrollbar. I haven't explored this one, but I think it is the easiest, just not sure how performant is. This is probably just the way to go. Have a Row with your ListView and the Scrollbar95, and link them two together with a ScrollController.
Custom Scrollbar class
This approach is taking the source code of the Material Scrollbar and reimplementing it. I haven't thought much about it, but I guess too complex for a novelty project like this.
Overall, probably the custom widget approach is the way to go.

Great, I'll explore further on 2nd & 3rd options!

@miquelbeltran I took the 2nd approach and designed a solution around it. Look PR (https://github.com/miquelbeltran/flutter95/pull/26).
Its works perfectly for now, just a few tiny things that can be improved in future. Also performance looks fine to me, although can be analysed and improved.
Once merged, I can create an issue for all the improvements I have in mind.


[BUG]: Schema generation with custom schema not working for mysql

What version of drizzle-orm are you using?
0.31.2
What version of drizzle-kit are you using?
0.22.7
Describe the Bug
Set your drizzle dialect to mysql and copy the mysql schema  at https://orm.drizzle.team/docs/schemas to your schema folder.
Run drizzle-kit generate
The migration has 0 tables.
Expected behavior
1 table should be generated. The same code works for Postgres.
Environment & setup
macOS Sonoma: 14.5
node: 20.10.0

Drizzle Kit no longer handles changes made to different schemas in MySQL. This is because "schemas" are the same thing as "databases" in MySQL, and Drizzle is not responsible for handling multiple databases in one project. You can still define these schemas/databases so you can query them using the ORM though.


Add style to charts

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


Full WAL encryption: add Vault keyring

Will be tracked here https://perconadev.atlassian.net/browse/PG-830


Update MD file on new branch 2017-11-28_13-49-30

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

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


Azure Static Web Apps breaking when I add a Next.js API endpoint

I have an Next.js App version 13.4.3 with next-auth 4.22.1 as authentication middleware with Azure  AD B2C as provider. The first pages that I created was working as expected but as soon as I added a really simple API endpoint to handle a form submission the app started to crash after the deployment to Azure Static Web Apps (I also using the standalone version due to 100mb limitation). After the endpoint addition, the app is not instanced anymore. Here is the logs from the SWA:
timestamp [UTC] | problemId | handledAt | type | message | assembly | method | outerType | outerMessage | outerAssembly | outerMethod | innermostType | innermostMessage | innermostAssembly | innermostMethod | severityLevel | details | itemType | customDimensions | customMeasurements | operation_Name | operation_Id | operation_ParentId | operation_SyntheticSource | session_Id | user_Id | user_AuthenticatedId | user_AccountId | application_Version | client_Type | client_Model | client_OS | client_IP | client_City | client_StateOrProvince | client_CountryOrRegion | client_Browser | cloud_RoleName | cloud_RoleInstance | appId | appName | iKey | sdkVersion | itemId | itemCount | ResourceId |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
13/06/2023, 13:45:20.698 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"49125766","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"prop_{OriginalFormat}":"Error while assigning execute permission.","HostInstanceId":"7186e66d-92d6-4e70-86b6-9d5ca4ef41c6","FormattedMessage":"Error while assigning execute permission.","ProcessId":"59","LogLevel":"Warning","Category":"Worker.HttpWorkerProcess.dce2ddb4-38d6-4fa2-b7b8-2ccdf50eaea7"} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222594939962238 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | b02a81fd-09f0-11ee-a66c-6045bd918f3f | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
13/06/2023, 13:58:49.762 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"41658746","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"LogLevel":"Warning","HostInstanceId":"c2dec006-544d-42f4-a414-30d2284fbb09","prop__{OriginalFormat}":"Error while assigning execute permission.","FormattedMessage":"Error while assigning execute permission.","Category":"Worker.HttpWorkerProcess.73289973-619c-47ea-9d70-f8e2c6e19e1e","ProcessId":"62"} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222609978723514 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | 8c24b4e7-09f2-11ee-a66a-6045bd946746 | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
13/06/2023, 13:44:46.730 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"28777946","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"prop__{OriginalFormat}":"Error while assigning execute permission.","LogLevel":"Warning","FormattedMessage":"Error while assigning execute permission.","Category":"Worker.HttpWorkerProcess.dac2ca4a-181f-4f77-808b-08cbfe230ec5","HostInstanceId":"33c052b9-61bb-4ee4-9662-d9b6a7c91ac6","ProcessId":"59"} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222583963888914 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | 9452f6a4-09f0-11ee-a66c-6045bd950b83 | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
13/06/2023, 13:44:56.464 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"31103067","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"Category":"Worker.HttpWorkerProcess.faefa5ac-ba16-446a-9f14-468ca2a7b5ff","ProcessId":"58","HostInstanceId":"a3472b28-08ac-4c93-987d-170c03e234aa","FormattedMessage":"Error while assigning execute permission.","LogLevel":"Warning","prop__{OriginalFormat}":"Error while assigning execute permission."} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222590002844309 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | a02c2ca4-09f0-11ee-a66a-6045bd946a31 | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
13/06/2023, 13:45:42.799 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"62465700","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"HostInstanceId":"8eee856f-8a54-479f-af79-a2779c74a79d","prop__{OriginalFormat}":"Error while assigning execute permission.","ProcessId":"67","Category":"Worker.HttpWorkerProcess.3d2d759a-e5cf-4a49-a5dd-041bb768928e","LogLevel":"Warning","FormattedMessage":"Error while assigning execute permission."} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222578565922633 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | b80aa546-09f0-11ee-a66c-6045bd950a61 | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
13/06/2023, 13:45:54.925 | System.InvalidOperationException at Mono.Unix.UnixFileSystemInfo.AssertValid |   | System.InvalidOperationException |   | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid | System.InvalidOperationException | Path doesn't exist! | Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 | Mono.Unix.UnixFileSystemInfo.AssertValid |   |   |   |   | 2 | [{"severityLevel":"Warning","outerId":"0","message":"Path doesn't exist!","type":"System.InvalidOperationException","id":"38700158","parsedStack":[{"assembly":"Mono.Posix.NETStandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51","method":"Mono.Unix.UnixFileSystemInfo.AssertValid","level":0,"line":0},{"assembly":"Microsoft.Azure.WebJobs.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Azure.WebJobs.Script.Workers.Http.HttpWorkerProcess.AssignUserExecutePermissionsIfNotExists","level":1,"line":75,"fileName":"/src/azure-functions-host/src/WebJobs.Script/Workers/Http/HttpWorkerProcess.cs"}]}] | exception | {"HostInstanceId":"bf64cc40-9630-407d-854b-e6196ec2bbbb","ProcessId":"56","LogLevel":"Warning","FormattedMessage":"Error while assigning execute permission.","prop__{OriginalFormat}":"Error while assigning execute permission.","Category":"Worker.HttpWorkerProcess.6347f010-0e0b-49cd-b3f3-eba65aac70b7"} |   |   |   |   |   |   |   |   |   |   | PC |   |   | <IP_ADDRESS> |   |   |   |   | jobcenter-dev-frontend-staticapp | 4A88A912-638222594939805991 | 7c2e2e88-d2aa-4e78-83c0-9b51e11f7916 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins | 0c9d1bfe-8d84-4e71-a335-b57a81ba02ea | azurefunctions: <IP_ADDRESS> | bec1324f-09f0-11ee-a66a-6045bd91b670 | 1 | /subscriptions/8e9f4642-3c29-454c-afd9-bd5faca28617/resourcegroups/jobcenter-dev-rg/providers/microsoft.insights/components/jobcenter-dev-appins |
To Reproduce
Steps to reproduce the behavior:

Create a next.js app using create-next-app@latest
Add next-auth with Azure AD B2C as provider
Create any API endpoint in the /app/api folder
See error

I can share the repository and azure config and pipeline files in private
Expected behavior
The app running and receiving requests in the API

Hi olavocarvalho,
I can only share some experience I made:
Did you check for example that all environment variables are set correctly under environments in the static web app settings?
We had the same issue with next.js and next-auth, but it was due to some missing configuration of environment variables on our side. In our case the mongodb was not connecting well and it lead to the case that next-auth code crashed.
So it might also be that some code fragments related to your authentication process are crashing and leading to next-auth not working.
Later on next-auth was working for me with pages as well as app routes.
To be honest, debugging this error is not easy with the information provided by azure portal.
Hope this helps. Shouts to the SWA Team providing Next.js support <3

Having a similar issue, brand new Next.JS install on 13.1 with next-auth. Working fine locally, throwing errors on azure static apps

I experience exactly the same issue as well Next 13.4.5 very simple API endpoint and I see these errors in the logs once hosted on Azure static webb app.

I'm also seeing this on<EMAIL_ADDRESS>It looks like there's a problem with converting API routes because the mapped function route (next_function.js) is being treated as an ES module instead of CommonJS. Here's my logs:
Initializing Warmup Extension.
Initializing Host. OperationId: '{...}'.
Host initialization: ConsecutiveErrors=0, StartupCount=2, OperationId={...}
"ApplicationInsightsLoggerOptions {...}"
"LoggerFilterOptions {...}"
"LoggerFilterOptions {...}"
"ConcurrencyOptions {...}"
"FunctionResultAggregatorOptions {...}"
"SingletonOptions {...}"
"ScaleOptions {...}"
Starting JobHost
Starting Host (HostId={...}, InstanceId={...}, Version=<IP_ADDRESS>, ProcessId=17654, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=~4)
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell
FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
Loading functions metadata
Reading functions metadata
1 functions found
1 functions loaded
Error while assigning execute permission.
Generating 1 job function(s)
"Found the following functions: Host.Functions.next_function"
"HttpOptions {...}"
"Initializing function HTTP routes Mapped function route 'api/{*fullpath}' [all] to 'next_function'"
Host initialized (211ms)
Host started (237ms)
Job host started
file:///home/site/wwwroot/next_function.js:2
const NextServer = require('next/dist/server/next-server').default
^
n/a
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/home/site/wwwroot/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///home/site/wwwroot/next_function.js:2:20
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
n/a
Node.js v18.16.0
Language Worker Process exited. Pid=17692.
Error while assigning execute permission.
file:///home/site/wwwroot/next_function.js:2
const NextServer = require('next/dist/server/next-server').default
^
n/a
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/home/site/wwwroot/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///home/site/wwwroot/next_function.js:2:20
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
n/a
Node.js v18.16.0
Language Worker Process exited. Pid=17703.
Error while assigning execute permission.
file:///home/site/wwwroot/next_function.js:2
const NextServer = require('next/dist/server/next-server').default
^
n/a
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/home/site/wwwroot/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///home/site/wwwroot/next_function.js:2:20
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
n/a
Node.js v18.16.0
Language Worker Process exited. Pid=17714.
Exceeded http worker restart retry count. Shutting down Functions Host
Stopping JobHost
Job host stopped

I encountered the same issue and thanks to sebastian's comment above, I checked all environment variables and discovered that the cause of my problem was environment variable substitution, which doesn't seem to work with Azure Static Web Apps.
Previously I had:
NEXTAUTH_URL="${APP_URL}"
DATABASE_URL="sqlserver://${DATABASE_HOST}:${DATABASE_PORT};database=${DATABASE_NAME};user=${DATABASE_USER};password=${DATABASE_PASSWORD};encrypt=true"

After replacing these with plain text strings, everything started working as expected!

This thread was very helpful, and I wanted to document my findings for any who follow.
In particular, if you set variables like this in Azure Pipelines:
name: Azure Static Web Apps CI/CD

pr:
  branches:
    include:
      - main
trigger:
  branches:
    include:
      - main

jobs:
- job: build_and_deploy_job
  displayName: Build and Deploy Job
  condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
  pool:
    vmImage: ubuntu-latest
  variables:
  - group: Azure-Static-Web-Apps-YOURS-variable-group
  steps:
  - checkout: self
    submodules: true
  - task: AzureStaticWebApp@0
    inputs:
      azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_YOURS)
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
      app_location: "/" # App source code path
      api_location: "" # Api source code path - optional
      output_location: "" # Built app content directory - optional
###### End of Repository/Build Configurations ######
    env:
      MY_ENV_VAR: "Anything"

Then process.env.MY_ENV_VAR will not be populated, whether you use SSR or not.  This is clear as mud in Azure's documentation.
In fact, the correct way to set an environment variable for a SWA is to go into the SWA page in Azure Portal, then to Configuration and Application Settings.  Variables you set there will be populated in process.env.

Seeing the same using SWA CLI
swa deploy .next/standalone --deployment-token=XXXXX --env=production --api-language "node" --api-version "18"

6/11/2023, 11:27:44.164 am	Starting JobHost
6/11/2023, 11:27:44.165 am	Starting Host (HostId=155ad108-3d63-4e1e-bc11-abca0516, InstanceId=5bfcd185-248c-483e-b9c8-6c8bcfc9e475, Version=<IP_ADDRESS>, ProcessId=3541, AppDomainId=1, InDebugMode=True, InDiagnosticMode=False, FunctionsExtensionVersion=~4)
6/11/2023, 11:27:44.175 am	FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
6/11/2023, 11:27:44.176 am	Loading functions metadata
6/11/2023, 11:27:44.211 am	Reading functions metadata (Custom)
6/11/2023, 11:27:44.213 am	1 functions found (Custom)
6/11/2023, 11:27:44.213 am	1 functions loaded
6/11/2023, 11:27:44.245 am	Error while assigning execute permission.
6/11/2023, 11:27:44.330 am	Generating 1 job function(s)
6/11/2023, 11:27:44.373 am	"Found the following functions:
Host.Functions.next_function"
6/11/2023, 11:27:44.381 am	"HttpOptions
{
  ""DynamicThrottlesEnabled"": false,
  ""EnableChunkedRequestBinding"": false,
  ""MaxConcurrentRequests"": -1,
  ""MaxOutstandingRequests"": -1,
  ""RoutePrefix"": ""api""
}"
6/11/2023, 11:27:44.382 am	"Initializing function HTTP routes
Mapped function route 'api/{*fullpath}' [all] to 'next_function'"
6/11/2023, 11:27:44.383 am	Host initialized (217ms)
6/11/2023, 11:27:44.386 am	Host started (220ms)
6/11/2023, 11:27:44.386 am	Job host started

6/11/2023, 11:27:45.515 am	/home/site/wwwroot/node_modules/next/dist/server/web/spec-extension/request.js:28
6/11/2023, 11:27:45.515 am	class NextRequest extends Request {
6/11/2023, 11:27:45.517 am	^
6/11/2023, 11:27:45.517 am	n/a
6/11/2023, 11:27:45.538 am	Language Worker Process exited. Pid=3585.
6/11/2023, 11:27:45.548 am	**ReferenceError: Request is not defined**
6/11/2023, 11:27:45.549 am	**at Object.<anonymous> (/home/site/wwwroot/node_modules/next/dist/server/web/spec-extension/request.js:28:27)**
6/11/2023, 11:27:45.549 am	at Module._compile (node:internal/modules/cjs/loader:1198:14)
6/11/2023, 11:27:45.549 am	at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
6/11/2023, 11:27:45.549 am	at Module.load (node:internal/modules/cjs/loader:1076:32)
6/11/2023, 11:27:45.550 am	at Function.Module._load (node:internal/modules/cjs/loader:911:12)
6/11/2023, 11:27:45.553 am	at Module.require (node:internal/modules/cjs/loader:1100:19)
6/11/2023, 11:27:45.554 am	at Module.mod.require (/home/site/wwwroot/node_modules/next/dist/server/require-hook.js:64:28)
6/11/2023, 11:27:45.554 am	at require (node:internal/modules/cjs/helpers:119:18)
6/11/2023, 11:27:45.554 am	at Object.<anonymous> (/home/site/wwwroot/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js:37:18)
6/11/2023, 11:27:45.554 am	at Module._compile (node:internal/modules/cjs/loader:1198:14)
6/11/2023, 11:27:45.569 am	Error while assigning execute permission.

Last block repeats until the worker restart retry count is exceeded, then the Functions Host is shutdown.


Do delivery specs in broker configs apply to event processing errors as well as delivery failures?

Describe the bug
This is more of a question than a bug report.
I've recently set up Knative eventing with Kafka brokers; one main broker, with another Kafka broker configured as a dead letter sink. Also a delivery spec with retries, exponential backoff etc. configured.
I was trying to test the dead letter sink setup with a test function that always returns a 500 in response to any events. The retry behaviour is not quite what I expected. Events seem to get retried forever instead of the retry count specified in the delivery spec.
I am able to get events to get sent to the dead letter sink under other scenarios, e.g. setting the test function to timeout, or respond in a way that doesn't conform to the delivery contract (like responding with a 200 without a cloudevent in the response body).
Is a function responding with a 500 error not considered a delivery failure? If not, what is the expected behaviour in this scenario? Is there another way to configure retry/backoff/dead letter behaviour for event processing failures?
Expected behavior
I initially expected the delivery spec to also apply to events that weren't processed successfully by a function that received the event (responded with a 500).
To Reproduce

Create 2 kafka based brokers, and configure a delivery policy on the main broker.apiVersion: eventing.knative.dev/v1
kind: Broker
metadata:
  annotations:
    eventing.knative.dev/broker.class: Kafka
  labels:
    app: knative-broker
  name: knative-broker
  namespace: default
spec:
  config:
    apiVersion: v1
    kind: ConfigMap
    name: knative-broker
    namespace: default
  delivery:
    backoffDelay: PT0.5S
    backoffPolicy: exponential
    deadLetterSink:
      ref:
        apiVersion: eventing.knative.dev/v1
        kind: Broker
        name: knative-broker-deadletter
        namespace: default
    retry: 12
---
apiVersion: eventing.knative.dev/v1
kind: Broker
metadata:
  annotations:
    eventing.knative.dev/broker.class: Kafka
  labels:
    app: knative-broker
  name: knative-broker-deadletter
  namespace: default
spec:
  config:
    apiVersion: v1
    kind: ConfigMap
    name: knative-broker
    namespace: default
  delivery:
    backoffDelay: PT0.2S
    backoffPolicy: exponential
    retry: 10

Create a function that always returns a 500 in response to an event, deploy, with a trigger
Send a test event to the broker, see it get repeatedly retried and not sent to the dead letter sink

Knative release version
1.13.1
Additional context
N/A

Thanks for reporting @gilesrapkinb, this is not expected, would you mind also sharing the step 2 and 3, so that we could just run it and debug the issue?

For step 2 you could use something like nicholasjackson/fake-service.
Deploy the function:
kn service create test500 \
--image nicholasjackson/fake-service:v0.26.2 \
--env 'LISTEN_ADDR=<IP_ADDRESS>:8080' \
--env 'ERROR_RATE=1'

Set up a trigger:
kn trigger create test500 \
--sink test500  \
--broker YOUR_BROKER

Then for step 3 push a test event to your broker.
In the kafka-broker-dispatcher logs you'll see repeated attempts to deliver the message (more than the retry setting in the broker delivery config above), with errors logged for the response from the function that look something like this:
{
  "@timestamp": "2024-03-12T19:40:36.969Z",
  "@version": "1",
  "message": "Received a failure status code that is not 2xx. failed to send event to subscriber context={topics=[knative-broker-dev-knative-broker], consumerGroup='knative-trigger-dev-test500', reference=uuid: \"f4666f13-7438-4a31-bb05-e248383d3466\"\nnamespace: \"dev\"\nname: \"test500\"\n} target=http://test500.dev.svc.cluster.local statusCode=500",
  "logger_name": "dev.knative.eventing.kafka.broker.dispatcher.impl.http.WebClientCloudEventSender",
  "thread_name": "vert.x-worker-thread-3",
  "level": "ERROR",
  "level_value": 40000,
  "context": {},
  "target": "http://test500.dev.svc.cluster.local",
  "statusCode": 500
}

/remove-lifecycle stale

@pierDipi has anybody been able to reproduce this yet?

/remove-lifecycle-stale

/remove-lifecycle stale


reactjs.org redirected you too many times.

Website isn't working:

It looks like it redirects back to itself:
curl -I https://reactjs.org/
HTTP/2 301
date: Mon, 07 Dec 2020 20:44:13 GMT
content-type: text/plain
content-length: 36
cache-control: public, max-age=0, must-revalidate
location: https://reactjs.org/
server: cloudflare
cf-ray: 5fe1155539f938cd-ATH

Same here. Tried in Firefox and Chrome in private tabs.

We're investigating. Seems like it's specific to Europe somehow.

Appears fixed. We'll follow up with our provider to figure out what happened. Thank you for reporting.

While the static HTML loads now, the JS bundle is still redirected many times before it fails:

It's not as obvious that it's broken but any part relying on JS doesn't work like https://github.com/facebook/react/issues/20404
ID (x-nf-request-id) of the failed request: 8691d43d-6345-42d6-9b4c-bd8bd584749b-17118896

For anybody affected, you can use https://5fcecf86d72a1500d6cda8e6--reactjs.netlify.app/docs/getting-started.html in the meantime. That's the same site just from a different URL.

Confirming the site is still broken regarding JS bundle. HTML loads, but even the right panel navigation does not.
Tried in Chrome Version 86.0.4240.183, I am based in Czechia (Central Europe region)

We've reached out to our provider's support channel but they're probably asleep now. So this will likely persist until the evening.

Sidenav links not working

Please use the mirror in the meantime: https://5fcecf86d72a1500d6cda8e6--reactjs.netlify.app/
We're aware that everything that relies on JS (including sidenav, code examples, and some formatting) is broken. We're in contact with our provider's support.