Fix incorrect Front End's bundle configuration path

This error was caused by the introduction of Maven build.
Since PlayLayoutPlugin is disabled, the bundle configuration directory needs to be moved under the source directory accordingly.

Manual test with sbt install is successful. Front-end starts successfully.
Felixs-MBP-2:activator-lagom-java-chirper felixsatyaputra$ sbt install
[info] Loading global plugins from /Users/felixsatyaputra/.sbt/0.13/plugins
[info] Loading project definition from /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/project
[info] Set current project to activator-lagom-java-chirper (in build file:/Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/)
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/friend-impl/target/scala-2.11/friend-impl_2.11-1.0-SNAPSHOT.pom
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/friend-api/target/scala-2.11/friend-api_2.11-1.0-SNAPSHOT.pom
15:14:36.328 [pool-7-thread-10] DEBUG c.l.l.i.api.tools.ServiceDetector - Loading service discovery class: com.lightbend.lagom.internal.javadsl.server.JavadslServiceDiscovery
[info] Bundle has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/friend-impl/target/bundle/friend-impl-v1-d5f325ad881eb6d8d17dc3b0c1cf72f856e09a11ec83a9084208fa2364af0538.zip
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/load-test-impl/target/scala-2.11/load-test-impl_2.11-1.0-SNAPSHOT.pom
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/load-test-api/target/scala-2.11/load-test-api_2.11-1.0-SNAPSHOT.pom
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/chirp-api/target/scala-2.11/chirp-api_2.11-1.0-SNAPSHOT.pom
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/activity-stream-api/target/scala-2.11/activity-stream-api_2.11-1.0-SNAPSHOT.pom
15:14:41.529 [pool-7-thread-1] DEBUG c.l.l.i.api.tools.ServiceDetector - Loading service discovery class: com.lightbend.lagom.internal.javadsl.server.JavadslServiceDiscovery
[info] Bundle has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/load-test-impl/target/bundle/load-test-impl-v1-e9bc1c76253b3105362fefc569a892d817d4f8b9dc43dbce33c6fe4fcbd02f29.zip
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/chirp-impl/target/scala-2.11/chirp-impl_2.11-1.0-SNAPSHOT.pom
15:14:45.023 [pool-7-thread-1] DEBUG c.l.l.i.api.tools.ServiceDetector - Loading service discovery class: com.lightbend.lagom.internal.javadsl.server.JavadslServiceDiscovery
[info] Bundle has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/chirp-impl/target/bundle/chirp-impl-v1-66f631173c909a17ae973f4facd585117a81d3f7e0fd37645128310de8e062bf.zip
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/activity-stream-impl/target/scala-2.11/activity-stream-impl_2.11-1.0-SNAPSHOT.pom
15:14:48.915 [pool-7-thread-9] DEBUG c.l.l.i.api.tools.ServiceDetector - Loading service discovery class: com.lightbend.lagom.internal.javadsl.server.JavadslServiceDiscovery
[info] Bundle has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/activity-stream-impl/target/bundle/activity-stream-impl-v1-f0d422e9cde553cbeb4560d1fbfaf52e424ce52619a14052389673b3102a09cf.zip
[info] Wrote /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/front-end/target/scala-2.11/front-end_2.11-1.0-SNAPSHOT.pom
[info] Bundle has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/front-end/target/bundle/front-end-v1-772330d275c064774f3018ec2ec9ce7c2a9331eaae6f7602dd05fa2fb2e410d8.zip
[info] Bundle configuration has been created: /Users/felixsatyaputra/workspace/typesafe-fsat/activator-lagom-java-chirper/front-end/target/bundle-configuration/default-43790f5d6be7fa6a86866e1d2479662198e1df81934ec3a95c64b0329b41ab5e.zip
Restarting ConductR to ensure a clean state...
|------------------------------------------------|
| Stopping ConductR                              |
|------------------------------------------------|
ConductR core pid 68242 stopped
ConductR agent pid 68343 stopped
ConductR has been successfully stopped
|------------------------------------------------|
| Starting ConductR                              |
|------------------------------------------------|
Extracting ConductR core to /Users/felixsatyaputra/.conductr/images/core
Extracting ConductR agent to /Users/felixsatyaputra/.conductr/images/agent
Starting ConductR core instance on <IP_ADDRESS>..
Starting ConductR agent instance on <IP_ADDRESS>..
|------------------------------------------------|
| OCI-in-Docker support unavailable.             |
|------------------------------------------------|
|------------------------------------------------|
| To provide support ensure Docker is running    |
| and restart the sandbox                        |
|------------------------------------------------|
|------------------------------------------------|
| Starting logging feature based on eslite       |
|------------------------------------------------|
Deploying bundle eslite..
Retrieving bundle..
Loading bundle from cache typesafe/bundle/eslite
Bintray credentials loaded from /Users/felixsatyaputra/.lightbend/commercial.credentials
Retrieving from cache /Users/felixsatyaputra/.conductr/cache/bundle/eslite-v1-7dc78f8c80474dc7ff4cabbdf5b5ce386cdebc3bd52693601bd2383dfb4e86be.zip
Loading bundle to ConductR..
Bundle 7dc78f8c80474dc7ff4cabbdf5b5ce38 is installed
Bundle loaded.
Bundle run request sent.

Deploying cassandra...
Deploying friend-impl...
Deploying load-test-impl...
Deploying chirp-impl...
Deploying activity-stream-impl...
Deploying front-end...

Your system is deployed. Running "conduct info" to observe the cluster.
Licensed To: 45967794-07cf-4162-baea-515918988c44
Max ConductR agents: 3
Expires In: 62 days (Thu 20 Jul 2017 20:42PM)
ConductR Version(s): 2.0.*, 2.1.0-alpha.1
Grants: akka-sbr, cinnamon, conductr

ID               NAME                  TAG  #REP  #STR  #RUN  ROLES
e9bc1c7          load-test-impl                1     0     1  web
772330d-43790f5  front-end                     1     0     0  web
66f6311          chirp-impl                    1     0     1  web
f0d422e          activity-stream-impl          1     1     0  web
d5f325a          friend-impl                   1     0     1  web
7dc78f8          eslite                        1     0     1  elasticsearch
1acac1d          cassandra                     1     0     1  cassandra

[success] Total time: 79 s, completed 18/05/2017 3:15:54 PM

After waiting for a few seconds, Front-end is started with 43790f5 as its bundle configuration.
Felixs-MBP-2:activator-lagom-java-chirper felixsatyaputra$ conduct info
Licensed To: 45967794-07cf-4162-baea-515918988c44
Max ConductR agents: 3
Expires In: 62 days (Thu 20 Jul 2017 20:42PM)
ConductR Version(s): 2.0.*, 2.1.0-alpha.1
Grants: akka-sbr, cinnamon, conductr

ID               NAME                  TAG  #REP  #STR  #RUN  ROLES
e9bc1c7          load-test-impl                1     0     1  web
772330d-43790f5  front-end                     1     0     1  web
66f6311          chirp-impl                    1     0     1  web
f0d422e          activity-stream-impl          1     0     1  web
d5f325a          friend-impl                   1     0     1  web
7dc78f8          eslite                        1     0     1  elasticsearch
1acac1d          cassandra                     1     0     1  cassandra

@huntc - This only solves the problem with SBT. I'll test the Maven build, and I'll raise another PR if required.


1.5.3 release was not completed

👋 looks like 1.5.3 release was not completed, ie the release did not published, raise this issue for some awareness. Thanks! cc @davidzhao
relates to https://github.com/Homebrew/homebrew-core/pull/163188

Thanks for the heads up @chenrui333! Just released it now.

Thanks @davidzhao!


Convert Tuple and Sequence types to GraphQL List types

To help with typing resolvers correctly, this PR updates the logic to
determine if an annotation is GraphQL List type by checking against the
Tuple and Sequence types.
Fixes #2035 and #2161
Diff-Id: e22a7

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

Convert Tuple and Sequence types to GraphQL list types.
Example:
from collections.abc import Sequence
from typing import Tuple

@strawberry.type
class User:
    pets: Sequence[Pet]
    favourite_ice_cream_flavours: Tuple[IceCreamFlavour]

Here's the preview release card for twitter:

Here's the tweet text:
🆕 Release (next) is out! Thanks to Jonathan Kim for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)

Unfortunately, it doesn't handle the case where the tuple is Tuple[Date, float] for instance.


Not working properly in multi desktop

Switching between multiple desktops causes this problem, the offset of one desktop is not changing after switching and cause the tabs go over the border. open or close tabs on this desktop is not updating the taskbar.
it seems that only one desktop has this problem at the first time, but when i restarted taskbarx with the configurator, it fixed that desktop but all other desktops had the same problem.
I'm using <IP_ADDRESS> from ms store, on win10 1909 build 18363.778

@AndersonALAC How can i reproduce this in steps?
I can't get it to behave like that.

@AndersonALAC How can i reproduce this in steps?
I can't get it to behave like that.

Use "When Taskbar is full" of "Combine taskbar buttons" option in windows settings
close all other desktops
open 9 or more windows on the desktop
open taskview and drag a window on the "New Desktop" button
switch between the desktops

my arguments are: -taskbarstyle=2 -animationstyle=quadeaseinout -onbatteryanimationstyle=quadeaseinout -animationspeed=200 -primarytaskbaroffset=0 -secondarytaskbaroffset=0 -centerinbetween=1 -looprefreshrate=150 -onbatterylooprefreshrate=200 -fixtoolbarsontraychange=1

I have the same issue. When you have on both virtual desktops multiple applications open. One of the desktops the taskbar applications will be off-center. Taskbarx should center all applications for each virtual desktop on the taskbar. I think it now sets the center for one virtual desktop and keeps it for the other one, even though everything will be off-center.

Yea. When you restart Taskbar x on one desktop, it will center it for that taskbar but then when you switch back to another desktop with lesser/different # of windows, it stays at the same position. It should refresh when switching to another desktop

I have the same exact problem too. Screenshots of both virtual desktop included.

It now seems to be working just fine (<IP_ADDRESS> on Windows 10 2004 19041,508), maybe this issue can be closed


Error ... file not found

During compling i have this error:
'UIKit/UIPopoverBackgroundView.h' file not found
Any suggestions to fix it?

Try to comment the line that requires this header file, and then execute and see what happen.

If I take off imports UIPopoverBackgroundView.h the class  UIPopoverBackgroundView
is no longer recognized, and consequently errors of compilations
This is the code:
#import <UIKit/UIKit.h>
#import <UIKit/UIPopoverBackgroundView.h>
@interface ComicPopoverBackgroundView : UIPopoverBackgroundView
{
CGFloat                     _arrowOffset;
UIPopoverArrowDirection     _arrowDirection;
UIImageView                *_arrowImageView;
UIImageView                *_popoverBackgroundImageView;
}
@property (nonatomic, readwrite)            CGFloat                  arrowOffset;
@property (nonatomic, readwrite)            UIPopoverArrowDirection  arrowDirection;
@property (nonatomic, readwrite, strong)    UIImageView             *arrowImageView;
@property (nonatomic, readwrite, strong)    UIImageView             *popoverBackgroundImageView;

(CGFloat)arrowHeight;
(CGFloat)arrowBase;
(UIEdgeInsets)contentViewInsets;

@end

Any recommendations on this?
UIPopoverBackgroundView - https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIPopoverBackgroundView_class/index.html
The UIPopoverBackgroundView class provides the background appearance for a popover.
Removing this background appearance should work, however high impact in UI. Is it planned to be supported?

UIPopoverBackgroundView is not currently implemented an is on the backlog.


just --fmt: allow passing files to format

Common linter integrations like treefmt pass the files that should be formatted as arguments to a formatter. Would be great if just could support this for easy integration with such tools.

Can this be done by passing --justfile?

Yes, it is possible to use the --justfile flag, thanks.

Thinking about include files, this will be not enough as it currently can't handle multiple files.
treefmt has a specification on what is required by the interface of a formatter, I think this is also applicable to other environments like bazel etc.


Support native serialization in MessageChannelBinder

If the broker supports native serialization, then the serialization of the outbound payload is not done by the binder's producer binding outbound message handler.
Also, when native serialization is enabled, embedding of headers (if enabled) is allowed only when the outbound payload type is byte[]
At the consumer binding's inbound message handler, the extraction of embedded headers is performed only for the byte[] payload (given the deserialization would have already occurred at the broker level)
Add correspoinding tests in Kafka binder implementation

Resolves #691

The problem that I was highlighting was that message rebuilding without headers prevents some control information to be passed to the sending endpoint. Some headers are used for controlling the target partition for example, even if they are not embedded in the payload.

Squashed and merged w/https://github.com/spring-cloud/spring-cloud-stream/commit/e7e799b8d8e7704e8e8e4df02ba28e2819793976


Hashes required for https://downloads.apache.org/royale/compiler-build-tools/1.2.0/binaries/

Hashes are required for all release artifacts.
Please upload them for
https://downloads.apache.org/royale/compiler-build-tools/1.2.0/binaries/

Hi @Harbs, this was your release? can you add the hashes that @sebbASF is asking for ?
thanks

Anyone with write access to [1] -- this includes all PMC members -- can generate and upload the hashes.
[1] https://dist.apache.org/repos/dist/release/royale/compiler-build-tools/1.2.0/binaries/


Updates links to information on the emar and prescriptions pages

This makes it clear that it is necessary to use the pharmacy table to link between poe_id and pharmacy_id for the emar and prescriptions tables. FIxes #170 .

Added a fix for the links to in the pharmacy table also. Apologies, I think the last 2 commit messages swapped the actual tables they were updating.
It is also possible to link between the emar and pharmacy tables on poe_id but I didn't highlight that. Please let me know if you think we should.


Warning generated when compiling

When compiling, I get the following warning.
../include/termbox.h: In function ‘tb_present’: ../include/termbox.h:1466:25: warning: implicit declaration of function ‘wcwidth’

Are you invoking the compiler with -D_XOPEN_SOURCE? termbox tries to define that for you if it's not defined, but if you've included certain libc headers before termbox.h it may not work.

Yes, I was including <stdlib.h> before <termbox.h>.  I switched them and now the warning is gone.  Thank you.


Change VMFault reporting to only output when debug logging is enabled

What current issue(s) does this address, or what feature is it adding?
This changes VM fault reporting to only occur when config debug (debug logging) is enabled. There's 2 reasons for this;

it could help with performance as described in my comment here: https://github.com/CityOfZion/neo-python/issues/352#issuecomment-375582004
after the VMFault reporting was added, I saw some users on Discord who thought their neo-python install was broken because they were now notified of the errors that were actually always happening anyway. This should also give them some peace of mind.

How did you solve this problem?
make VM Fault reporting dependent on setting.log_level
How did you make sure your solution works?
added a new test case
Are there any special changes in the code that we should be aware of?
no
Please check the following, if applicable:

[X] Did you add any tests?
[X] Did you run make lint?
[X] Did you run make test?
[X] Are you making a PR to a feature branch or development rather than master?
[X] Did you add an entry to CHANGELOG.rst? (if not, please do)

Coverage increased (+0.02%) to 78.392% when pulling 3434e5dc2f662327b7ac70cf3c3f52d486f07841 on ixje:vmfault_reporting into 08a3e88b22a457067766407b9ee9c9b7a3fcfdc0 on CityOfZion:development.


chore: update to electron 28

Fixes https://github.com/microsoft/vscode/issues/201935
Fixes https://github.com/microsoft/vscode/issues/203845

Has anyone actually tested if you can write a vscode extension in ES6 natively and have it load in vscode? Just curious, since that's one of the major standouts of this release.

Indeed.
If it works, you could add "fixes #130667" in the description


Cherrypick 760322a71ac9033e122ef1f4b1c62813021e5938 on r2.9

Security fix

There won't be any more patches to 2.10 and before. So closing this.


Advisory document on non-code roles

Since we want to advocate for acknowledge non-code roles in the project, we should have a guide that discusses the value of the roles, types, and how to ensure they are on equal footing with other roles.

/assign

Apparently, /assign doesn't work for me.  Can someone assign this to me?

Apparently, /assign doesn't work for me. Can someone assign this to me?

Done! Thank you ❤

I think this is covered in https://contribute.cncf.io/contributors/getting-started/#non-code-contributors

The existing block is minimal.  Shoring that up with significantly more content and detail is the purpose of this particular issue.

Some notes:

This is more about the non-code duties that can exist in a technical project.
https://github.com/cncf/tag-contributor-strategy/issues/327 is more about projects/groups that are non-code by nature

As a CNCF contributor who has primarily worked in the non-code space, I'd like to chip in.

Thanks @divya-mohan0209, your input would be great.

In Knative community, we're setting up an initiative to work with designers. The outcome would be:

Learning how to enable the designers
Finding out what designers can contribute to open source projects.

While this will take a while, we would be happy to share our findings with the wider CNCF community.
cc @Cali0707 and @Leo6Leo

Although, I'm not heavily involved with the SIG Contribex team in Kubernetes, they do a lot of non-code contributions.
Within SIG Docs, we have several named roles that are non-code. In most of these roles, a preliminary knowledge of GitHub and Markdown is expected.

New Contributor Ambassador - basically people who have been in the SIG and can show new contributors the ropes. We currently have only one, but are looking to staff more folks
PR Wrangler/shadow - people who are tasked on a weekly basis to review/approve incoming PRs to k/website from a qualitative perspective. The shadow is someone who will be serving as an apprentice and learning on-the-job from the PR Wrangler for the week.
Issue Wrangler - this is a relatively new role that is being formalized as we speak and was brought into existence so that SIG Docs could deal with the huge volume of incoming issues. Very similar in role to the PR wrangler, the issue wrangler will focus only on triaging issues and ensuring they have the correct labels.
Localization/translation efforts: Self-explanatory, but we maintain multiple translations of our documentation. It has a subproject of its own staffed by contributors, maintainers, and reviewers that know the language natively.

SIG Release within Kubernetes also has a Release Team subproject that deals with actual co-ordination bw various stakeholders during a release and is another fantastic avenue for non-code contributions.

I have added this Issue to the Contributor Growth Meeting agenda for discussion.
@divya-mohan0209 @qedrakmar  you have both shown interest in this topic. Please join us.

For those watching this issue: A Doodle Poll is currently open, for meetings starting in the next couple weeks to discuss this as a project.  https://doodle.com/meeting/participate/id/eVQwo2Xd

For everyone watching this, the poll has concluded, and meetings will be held on Tuesdays at 8am Pacific Time.  Please tune in to the #tag-contributor-strategy channel on CNCF slack and/or the #sig-contribex channel on K8s slack for further details.  We're hoping to start discussions next week, if possible.

Creating a non-code label here: https://github.com/cncf/tag-contributor-strategy/pull/553


MySQL function is GROUP_CONCAT, not GROUPBY_CONCAT

See https://dev.mysql.com/doc/refman/5.6/en/group-by-functions.html#function_group-concat

Thank you. Merged as daae9be


DFA + Perfect Vision turns the map to black

Conflicting Module(s)

Perfect Vision

Describe the conflict
Upon loading the game, the maps are not loaded and unresponsive, pitch black and unable to click anything on any of them.
Expected behavior
Normal map behavior.
(Optional) Screenshots

(Optional) Additional context
All issues have been recognized using Find the Culprit.

My mistake. It's not really a conflict. It's some broken code in PV that normally doesn't run but with DFA it does. So I never noticed my mistakes. I'll fix it right away.

@dev7355608 Thank you for looking into this, I'm happy PV and DFA can move past their disgruntled beginnings and be good friends 👍🏽🤣


Any existing logic / recommendation to search a face in multiple images at a time?

We would like to search a face in thousands of photos at a time. Is there any existing logic or recommendation to make this progress as fast as possible? Thanks.

https://github.com/exadel-inc/compreface-javascript-sdk/tree/main/face_founder_demo
we have a very similar demo
The main idea - you upload images to faces collection. But use file names as subject, not a person name. Then search among those subjects.

Thanks for your reply. I tried the demo but it seems that it cannot detect any face in any photos. Also, may I clarify that the output is supposed to be all photos containing the target face, or just the one photo with the highest similarity?

The reason I am asking is because I would like the output to return all photos that contains the target face. Thanks.

Not sure why you have a such error in this demo.
I described the idea, and you can see the demo code just to understand the idea better. The output will be not photos, but photos names. You can use the prediction_count param to define the maximum number of returned names, or just set it to -1 to return all. You will still need to use similarity field in the result to make a decision if it's high enough to say that the person is on the photo


Let's Encrypt: Internal Error

I used the hassio addon for quite some time now. Today I tried to migrate the proxy manager to my synology. For that I use the synology docker manager and this docker image.
So I installed the latest version (1.7.0) and configured my port forwarding. The only issue I had was with the lets encrypt certificate. When I tried to request a certificate, I got an "Internal error":

This is the content in the /config/log/letsencrypt/letsencrypt.log:
2020-03-18 17:02:07,145:DEBUG:certbot.main:certbot version: 0.30.2
2020-03-18 17:02:07,147:DEBUG:certbot.main:Arguments: ['--non-interactive', '--config', '/etc/letsencrypt.ini', '--cert-name', 'npm-15', '--agree-tos', '--email'<EMAIL_ADDRESS>'--preferred-challenges', 'dns,http', '--webroot', '--domains', 'wg.zkr.io']
2020-03-18 17:02:07,150:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-03-18 17:02:07,202:DEBUG:certbot.log:Root logging level set at 20
2020-03-18 17:02:07,204:INFO:certbot.log:Saving debug log to /config/log/letsencrypt/letsencrypt.log
2020-03-18 17:02:07,206:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2020-03-18 17:02:07,220:DEBUG:certbot.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
Initialized: <certbot.plugins.webroot.Authenticator object at 0x7fded3100a90>
Prep: True
2020-03-18 17:02:07,223:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0x7fded3100a90> and installer None
2020-03-18 17:02:07,224:INFO:certbot.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2020-03-18 17:02:07,320:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2020-03-18 17:02:07,326:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
2020-03-18 17:02:12,333:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3.6/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 850, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 284, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fded3046d30>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fded3046d30>: Failed to establish a new connection: [Errno -3] Try again',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.30.2', 'console_scripts', 'certbot')()
  File "/usr/lib/python3.6/site-packages/certbot/main.py", line 1364, in main
    return config.func(config, plugins)
  File "/usr/lib/python3.6/site-packages/certbot/main.py", line 1233, in certonly
    le_client = _init_le_client(config, auth, installer)
  File "/usr/lib/python3.6/site-packages/certbot/main.py", line 604, in _init_le_client
    acc, acme = _determine_account(config)
  File "/usr/lib/python3.6/site-packages/certbot/main.py", line 521, in _determine_account
    config, account_storage, tos_cb=_tos_cb)
  File "/usr/lib/python3.6/site-packages/certbot/client.py", line 181, in register
    acme = acme_from_config_key(config, key)
  File "/usr/lib/python3.6/site-packages/certbot/client.py", line 51, in acme_from_config_key
    return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
  File "/usr/lib/python3.6/site-packages/acme/client.py", line 814, in __init__
    directory = messages.Directory.from_json(net.get(server).json())
  File "/usr/lib/python3.6/site-packages/acme/client.py", line 1152, in get
    self._send_request('GET', url, **kwargs), content_type=content_type)
  File "/usr/lib/python3.6/site-packages/acme/client.py", line 1101, in _send_request
    response = self.session.request(method, url, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 513, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fded3046d30>: Failed to establish a new connection: [Errno -3] Try again',))
2020-03-18 17:02:12,340:ERROR:certbot.log:An unexpected error occurred:

Is this an issue with this image or with the base image or is my configuration wrong?
Is this issue related?
https://github.com/jc21/nginx-proxy-manager/issues/180#issuecomment-599278001
Thank you!
Edit:
A little bit more information: I also tried version 1.6.0, but it has the same issue.
For both version: Connecting to my devices trough the manager using port 80 works fine. Connecting to them via 443 leads to a empty response.

Looks like the container is not able to reach the LetEncrypt server.
Can you try:
docker exec <container name> ping acme-v02.api.letsencrypt.org

Hmm yes, something does not seem right:

When I try the same with my AdGuard container it works:

AdGuard is running in host mode, while ProxyManager is running in bridge mode. But bridge mode should work as well, right?
Do you have any idea, how I can fix that?

Are you using AdGuard as your DNS server ?  If yes. this may be the cause of the issue.
Are you able to ping acme-v02.api.letsencrypt.org from your Synology ?

Yes I'm using it as my DNS server.
Yes the ping from synology itself works:

Is this DNS server also used by you Synology?  You can try to run the following command on your Synology: nslookup acme-v02.api.letsencrypt.org <DNS server IP>.
Also, can you confirm that this DNS server used by the container:
docker exec <container name> cat /etc/resolv.conf

I am having the same internal error message. I use dnsimple and I do have a certificate on my account for my domain. Pinging the address you said above is successful.

If your container accessible from the internet on port 80 ?  You can check with https://www.yougetsignal.com/tools/open-ports/

Same issue here. I am able to ping with:
docker exec  ping acme-v02.api.letsencrypt.org
No internal DNS beyond a redirect to an external PiHole server. I tried both requesting a new cert (internal error) and creating my own via a LetsEncrypt container. Both no dice.

Make sure the container is reachable from the internet on port 80.  You can check with https://www.yougetsignal.com/tools/open-ports/

Morning. Port shows as not reachable but both my router settings and the use of the proxy manager is present over port 80. If I use the IP:80 I go directly to where I set redirect to.

443 shows open and listening. Could I just direct through that? 80 is still working fine, It appears my isp blocks port 80, though I can go it via both directly through the IP and via my duckdns dyndns.

If your ISP blocks port 80, then I guess your cannot use Nginx Proxy Manager with automatic certificate generation from LetsEncrypt.  Port 80 is required.  This is how LetsEncrypt validates that your are the owner of the DNS name.

Odd given I can use port 80 for the hosts from Nginx Proxy Manager. I'll do some more research and report back on a fix for future reference.


Use mmap feature for loading binaries into memory, instead of copying its content

Right now each byte of each section is copied into memory. Using internal mmap feature would be much more efficient, especially for larger binaries and in case of more CPUs/cores.
One issue might arise in case of short binaries - internal mmap needs everything to be PAGE_SIZE-aligned, small binaries have sections of dozens of bytes - all sections, including RO data and data - would be mmap'ed into text section... Will it cause any issues? I don't know yet...

This should work, I'll add some tests before closing this issue.

Finished in 6a903fe, and later commits enabled test formthis feature.


Sort Directive

Sort Directive is not working , as well as gris setting sortBy

Which data provider do you use? Can you give me a sample of code that does not work for you?


[Incompatibility] Crash on launch if Lithium is installed

See this Gist! I am using Minecraft 1.19.2 | Lithium 0.10.4 | PowerStones 1.1.0

Well, I'm not surprised as Lithium optimises redstone behaviour.
As mentioned in the readme file, this mod will break any other redstone mod without a single doubt. However, I am willing to make this mod as compatible as possible with other redstone mods, but it will take some time as I need to either find ways of how to do it or learn how to do it.
Making this mod compatible with mods which optimises redstone behaviour will require me to either change each one of these mods code, or to make the game ignore the redstone optimisation (if possible). The latter seems to me as a better solution. As this solution would disable any redstone behaviour optimisation, I guess that this mod will require its own redstone behaviour optimisation in the long run.


I can't get cookiecutter to install properly on Ubuntu 16.04

Note: for support questions, please use the cookiecutter-django tag on stackoverflow. This repository's issues are reserved for feature requests and bug reports. If you need quick professional paid support for your project, contact<EMAIL_ADDRESS>

**I'm submitting a ... **

[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

There seems to be a bug when installing cookiecutter on Ubuntu 16.04.  Maybe it is defaulting to python 2.7

How exactly are you trying to install cookiecutter? Pip or something else?

From the description, this is a Cookiecutter problem, and has nothing to do with Cookiecutter Django. Please open your ticket there.


Update GEP template with up to date conformance tests guidance

/kind documentation
What this PR does / why we need it:
Align GEP template conformance tests guidance with GEP-2162
NONE

/cc @youngnick

Awesome, thanks!
/approve

Thanks!
/lgtm
/approve


Obsidian Search box can't highlight search results while using this plugin

If the string I'm searching already is highlighted, searching the string using Obisidian's searching functionality can't highlight over the plugin's highlight while clicking search result. As a result it is difficult to use the search feature while using this plugin.

I should have done this before, but I've now updated the readme; I'm not maintaining this anymore and i withdrew it from consideration on the community plugin registry. If I come back to it this will be good to have though.

I'm not maintaining this anymore and I withdrew it from consideration on the community plugin registry.

Oh no! I really loved this plugin because of how future proof it is! :(

It's still here, I just can't promise support going forward. I may come back to it at some point or would be happy for someone else to pick it up.


the Cycle run() function to be used with @most/core

[X] There exists an issue discussing the need for this PR
[X] I added new tests for the issue I fixed or built
[X] I used pnpm run commit instead of git commit

I have created a new sub-package instead of updating most-run to keep the most.js version available. (most.js and most core can be seen as two different and parallels projects).
I have never used Typescript so expect type declarations to be enhanced.
Resolved a minor type problem in isolate with hasownproperty that was blocking building

@staltz I think karma / windows 10 Chrome is broken. Tried to find a solution but I have no experience in travis/karma


Fixes from telemetry

Show sign up option along with Sing in
Log other git repository types
Skip asking template input if only 1 is suggested

Closing this PR as this is raised in other repo now.


Command not being executed

Hello, i'm trying to exec a command but it doesn't give me any output about the execution.
I'd try exec php -v or exec php artisan about and the output is the same.
Executing these commands inside the container runs normally.
Caddyfile:
{
	{$CADDY_GLOBAL_OPTIONS}

	frankenphp {
		{$FRANKENPHP_CONFIG}
	}

	order php_server before file_server
	order php before file_server

	exec php artisan optimize
}

{$CADDY_EXTRA_CONFIG}

{$SERVER_NAME:localhost} {
	root * public/
	encode zstd br gzip

	{$CADDY_SERVER_EXTRA_DIRECTIVES}

	php_server
}

Output:
frankenphp-1  | {"level":"info","ts":1724843562.6514235,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
frankenphp-1  | {"level":"info","ts":1724843562.6519766,"msg":"adapted config to JSON","adapter":"caddyfile"}
frankenphp-1  | {"level":"warn","ts":1724843562.6519816,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":14}
frankenphp-1  | {"level":"info","ts":1724843562.652385,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//<IP_ADDRESS>:2019"]}
frankenphp-1  | {"level":"warn","ts":1724843562.6524725,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
frankenphp-1  | {"level":"info","ts":1724843562.6525922,"msg":"FrankenPHP started 🐘","php_version":"8.3.7"}
frankenphp-1  | {"level":"info","ts":1724843562.652677,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
frankenphp-1  | {"level":"info","ts":1724843562.6525931,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0x40000e3100"}
frankenphp-1  | {"level":"info","ts":1724843562.652971,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
frankenphp-1  | {"level":"info","ts":1724843562.6529841,"msg":"serving initial configuration"}
frankenphp-1  | {"level":"info","ts":1724843562.6540203,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/data/caddy"}
frankenphp-1  | {"level":"info","ts":1724843562.6541,"logger":"tls","msg":"finished cleaning storage units"}
frankenphp-1  | {"level":"info","ts":1724843562.667389,"logger":"exec.exit","msg":"","command":["php"],"duration":0.014693252}

Running the command inside in the container

I do build frankenphp using the following dockerfile part:
FROM dunglas/frankenphp:latest-builder AS builder

# Copy xcaddy in the builder image
COPY --from=caddy:builder /usr/bin/xcaddy /usr/bin/xcaddy

# CGO must be enabled to build FrankenPHP
ENV CGO_ENABLED=1 XCADDY_SETCAP=1 XCADDY_GO_BUILD_FLAGS="-ldflags '-w -s'"
RUN xcaddy build \
	--output /usr/local/bin/frankenphp \
	--with github.com/dunglas/frankenphp=./ \
	--with github.com/dunglas/frankenphp/caddy=./caddy/ \
    --with github.com/dunglas/caddy-cbrotli \
    --with github.com/abiosoft/caddy-exec

FROM dunglas/frankenphp:1.2.5-php8.3.10-bookworm as runner

COPY --from=builder /usr/local/bin/frankenphp /usr/local/bin/frankenphp
COPY Caddyfile /etc/caddy/Caddyfile

See https://github.com/abiosoft/caddy-exec/pull/23.
I pinned caddy-exec to 46a1d88
 --with github.com/abiosoft/caddy-exec@46a1d88


Proposal: Allow storing config in os.Env (environment Variables)

Instead of using config.json as it is currently, it would be very useful to be able to store the config values (PRIVATE and PUBLIC keys) from os.GetEnv see official docs, which provides many ways to be able to securely GET config-values as follows:

For example, if used in web application that already uses an existing .env file, the user of this Library can simply append PRIVATE_KEY and PUBLIC_KEY to the .env file. (make sure it  is gitignored)

If running from a docker container, a user of this library can simply append --env PRIVATE_KEY=xxxxx, ... to the docker run command

If run from an IDE , a user can simply store the config in the IDE environmental variables settings panel (all major IDE's support this).

If run from the Terminal (when quickly testing), a user can simply pass the config values as Unix shell comands before starting the application.

When run an application from a Cloud Provider, a user can set the env in the Cloud dashboard of host they are using, together with other app secrets.

As you can see, a user can either store the config in a .env file or simply pass as command args to the application.

Or, a simpler alternative, just modify the public gopesa.initialize() function to pass parameters: privateKey and publicKey

@Longwater1234  The first solution seems to be the most common one to me.

@Hopertz Alright, i suggest we let the developer decide how he/she wants to store the env keys (option 2). Whether as json, args or .env file, etc..
So therefore, we just modify the initialize() function to recieve both keys as String.

@Longwater1234 so we won't enforce that on the developer; that's fine.

Instead of using config.json as it is currently, it would be very useful to be able to store the config values (PRIVATE and PUBLIC keys) from os.GetEnv see official docs, which provides many ways to be able to securely GET config-values as follows:
1. For example, if used in web application that already uses an existing `.env` file, the user of this Library can simply append PRIVATE_KEY and PUBLIC_KEY to the `.env` file. (make sure it  is gitignored)

2. If running from a docker container, a user of this library can simply append `--env PRIVATE_KEY=xxxxx, ...` to the `docker run` command

3. If run from an IDE , a user can simply store the config in the IDE environmental variables settings panel (all major IDE's support this).

4. If run from the Terminal (when quickly testing), a user can simply pass the config values as Unix shell comands before starting the application.

5. When run an application from a Cloud Provider, a user can set the env in the Cloud dashboard of host they are using, together with other app secrets.

As you can see, a user can either store the config in a .env file or simply pass as command args to the application.

@Longwater1234 Kindly check the latest implementation and give your opinions.

@Hopertz Alright, I'll take a look today

@Hopertz So I have taken a close look at the rewritten library. It's very well organized; great job! I have created another issue #1 concerninggstructures;, you can take a look. But concerning this current issue of ENV, I think the current solution is still not optimal or user-friendly. Here's why:

It adds a third-party library like Viper just to load the environment. Add extra weight to this library.

The init function is still not flexible depending on the deployment environment (in your'mpesa.Client.LoadKeys`, I must pass 4 DIFFERENT variables just to load keys). It's more complex than before! And if I change my deployment environment, I have to modify my application source code again and again.

It would be easier to maybe have a single init function mpesa..NewClient( ...) that accepts directly public_key and api_key as trings. We should let the user decide how they are going to load the strings, whether using their own 3rd party libraries or json or args, however they want. We can still offer suggestions on how to SAFELY store the keys, but let's not be too strict on how they should be loaded. This library may be used in many different environments and devices, and each developer or environment has their own way of loading the env Keys.
This is just my opinion, sir. I hope you consider them. Thanks.

@Hopertz So I have taken a close look at the rewritten library. It's very well organized; great job 👍! I have created another issue #16 concerning structs;, you can take a look. But concerning this current issue of ENV, I think the current solution is still not optimal or user-friendly. Here's why:
1. It adds a third-party library like Viper just to load the env variables. Adds extra weight to this library.

2. The init function is still not flexible depending on the deployment environment (in your `mpesa.Client.LoadKeys`, I must pass **4 DIFFERENT variables** just to load keys). It's more complex than before! And if I change my deployment environment, I have to modify my application source code again. Sadly, very tight coupling of App source code and ENV. Also it only considers `file` config alone, ignoring reading from OS.ENV or args.

It would be easier to maybe have a single init function mpesa.NewClient( ...) or your same client.LoadKeys( ) that accepts directly public_key and api_key, AND mpesa.Env as string. We should let the Developer decide how they are going to store & load the strings, whether using their own 3rd party libraries, from file or args, however they want. We can still OFFER SUGGESTIONS in README.md on how to safely store the config, but let's not be TOO STRICT on how they should be loaded. This library may be used in many different environments (large and small) and devices, and each developer or environment has their own way of loading the env Keys. Let's not be too restrictive on general preferences.
This is just my opinion. I hope you consider them. Thanks.

Thank you for your time.

Using 3rd party library viper has enabled loading keys from YAML, JSON and .ENV files and also that you just need to pass path to dir contain the file ,  file name and extension.The name config does have to appear you can name anything you want. This gives the developer flexibility of using either of the file extension to store their keys and store  in any path. The Key thing i missed is that i did not add put option of using args.

I agree viper adds extra weight to the library. We can implement our own shouldn't  be hard given that we just need few functionalities.

Did not get you on the last comment can you explain more?

@Hopertz I mean no need to re-implement our own either. All i mean the current solution is too strict on using File-based config. For example, Some developers may want to load their Mpesa config along with other ENV vars of their web app (database passw, url etc). They may not store it in FILE, they may use Operating system Variables or Docker env, or ARGS ENV variables. NOT FILE BASED (.env, yaml, json).
Additionally, All major and minor cloud hosting providers also dont offer file based loading of config Env values, they offer OS-based/container-based ENV, on the cloud Admin console, where you can fill in all your Application Env variables. (That is, they expect you to os.GetEnv in Golang). And the values are encrypted automatically.
So in short, the init function should just recieve 3 params: publicKey, apiKey as string and mpesa.Envtype (ie Sandbox or Prod). This will allow all 3 options: file-based, args, or OS /container based variables

Great, Waiting for your pull request on this.

@Longwater1234   also lets have mpesa.NewClient(....) remove mpesa.LoadKeys(..)

@Hopertz  Alright i will work on it this weekend. By this Sunday it will be ready.

@Hopertz Seen. Two final touches

Since you are now using context.Background() (which is GREAT), instead of user creating & passing their own httpClient with timeout, they can directly pass their own context.WithTimeout{} on the fly. So no need of having httpClient. If they dont want to, they can just pass context.Background() as default. Let's not force all use ctx.Background
For timeout of session in mpesa.NewClient("your-api-key", "sandbox", 24), instead of int type, let's pass type time.Duration. So the result will be mpesa.NewClient("your-api-key", "sandbox", 24 * time.Hour). or can restrict to Hour only. This is direct type-safety and validilty check.

@Hopertz Also, the env type, "sandbox" or "production" can be enum

@Longwater1234  I am disappointed, i didn't  forget the  public key, how could the code run?

@Hopertz yes, With context, can achieve 2 main goals with 1 shot, both timeout and all other context specific uses.

@Longwater1234 Let us give the developer the freedom. He/she can decide what to use and not limit on how to do things.


make bisection more robust in case of config minimization failures

When using the bisect script, we noticed that some bisection just failed as the config minimization internally failed and the bisect script then just gave up. However, we can actually continue bisection with the original config and still find reasonable bisection results. The needed change for that behavior is small and simple.

How exactly did the config minimization fail? Maybe that's something we can improve? Normally it shouldn't be failing with an error.
By just ignoring such errors (e.g. on syzbot we don't have capacity to manually monitor all bisection logs) and by continuing the process as if nothing happened we just risk never noticing any other breakages in that code. Or noticing them too late.

Hello Aleksandr,
the config minimization failed because of the unknown symbol found in one of the Kconfigs - someone used boolean instead of bool:
deerl1pr131 starts bisection 2023-09-10 18:03:09.846342702 +0200 CEST m=+2.252515632
bisecting fixing commit since cfb41ef9deb1e6572ac218ddfcec9567e5d1c101
ensuring issue is reproducible on original commit cfb41ef9deb1e6572ac218ddfcec9567e5d1c101

testing commit cfb41ef9deb1e6572ac218ddfcec9567e5d1c101 gcc
compiler: gcc version 13.2.1 20230728 (Red Hat 13.2.1-1) (GCC)
kernel signature: d0871d857e470c98bd6f37cdbee7753aca5219255ca724cf3b2531fb183611b4
all runs: crashed: KASAN: null-ptr-deref Read in cgroup_file_write
representative crash: KASAN: null-ptr-deref Read in cgroup_file_write, types: [KASAN]
revisions tested: 1, total time: 2m24.869122692s (build: 46.309111133s, test: 1m4.711605112s)
error: config minimization failed: failed to parse Kconfig: /home/ebfuzz/workspace/krzpaw/linux/drivers/staging/rtlwifi/Kconfig:20:8: unknown line
	boolean
bisection failed: config minimization failed: failed to parse Kconfig: /home/ebfuzz/workspace/krzpaw/linux/drivers/staging/rtlwifi/Kconfig:20:8: unknown line
	boolean
exit status 1

So actually the error is caused by the broken kernel sources and not by the Syzkaller itself; but I'm not sure how to handle this on the Syzkaller side other than just to ignore and proceed. Perhaps we should implement a mechanism that would distinguish between errors thrown during the minimization and decide whether we should proceed with the original config or fail.

I see, thanks for the clarification!
It was not a big problem for Kconfig parser in the Linux kernel, right?

Perhaps we should implement a mechanism that would distinguish between errors thrown during the minimization and decide whether we should proceed with the original config or fail.

That sounds like a better option to me. We can indeed expect kernel code and configuration files to have problems and should not be failing hard because of that, but in all other cases aborting the bisection process looks reasonable.
We can use Go error wrapping mechanism here:
var ErrBadKconfig = errors.New("failed to parse Kconfig")

And then:
return fmt.Errorf("%w: %v", ErrBadKconfig, err)

And then:
if errors.Is(err, vcs.ErrBadKconfig) {
  // print a warning and go on
} else {
 // abort
}

Ok, got it, thank you for your hint!
Let me improve the implementation and I'll be back with an updated patch after the Christmas break.

@a-nogikh Sorry for the delay. Due to some unexpected larger company disturbances (and not due to local personal failures), we lost @Krzpaw to continue contributing to syzkaller. Fortunately, @simone-weiss could take over this work after a bit of delay. So, she reworked this pull request as discussed above. I hope it is now ready to be merged.
@Krzpaw if you would have a second, please review and ack. @a-nogikh If @Krzpaw does not have time for a review, it should not be blocker for merging, though.


Author rename

I'm encountering an issue with author_rename. It seems to only be able to rename the chatbot for response messages, but not for the initial message where the default name is still being displayed. Any suggestions on how to resolve this?

By initial message you mean the user message or the first chatbot message?
Can you provide a minimal code snippet so I can reproduce ?

I mean the first chatbot message. This is a minimal snippet
@cl.author_rename
def rename(orig_author: str):
    rename_dict = {"Chatbot": "Assistant"}
    return rename_dict.get(orig_author, orig_author)

@cl.on_chat_start
async def init():
     # load DB
     # load model
     cl.user_session.set("chain", chain)
    await cl.AskUserMessage(content="こんにちは！私はデトモのチャットボットです🤖。何かお手伝いいたしましょうか。 ", timeout=20).send()

@cl.on_message
async def main(message: str):
    # Retrieve the chain from the user session
    chain = cl.user_session.get("chain")
   # Logic to response

Nice catch, here is the fix https://github.com/Chainlit/chainlit/pull/242

Thank you for promptly resolving the issue.


LIBHYDRA-548: Configuraiton for communicating with Plastron for Publish Jobs

https://umd-dit.atlassian.net/browse/LIBHYDRA-548

The tests are failing because it seems like the test database isn't getting the latest schema changes.


'package:flutter/src/widgets/navigator.dart': Failed assertion: line 5139 pos 12: '!_debugLocked': is not true.

Hi @Daniel-TheProgrammer
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Weekly release 2023-12-11

#740
#736

coverage: 32.988% (+0.09%) from 32.901%
when pulling 9925e169e34733ed23a7fa154b692241c8034f2d on dev
into 7ae7bef8210c6c2deafd8aab9960894c6d2636cf on main.


rustup

Just the occasional bump can't hurt...
@bors r+

@bors r+

:pushpin: Commit df732c863e4c7d86f23ea2e47abd7db4798bde82 has been approved by RalfJung

:hourglass: Testing commit df732c863e4c7d86f23ea2e47abd7db4798bde82 with merge 335859210dc32e088f9238547f1043a1d45513f1...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 335859210dc32e088f9238547f1043a1d45513f1 to master...


Validation fixes

rebase too time consuming, commits cherry-picked from original PR
motivation
Currently our transaction builder is not parsing or validating array or tuple param types AT ALL!
This PR seeks to properly parse array inputs and validate members of those arrays.
both array and tuple inputs require an array (square brackets) in the input field.
but array param members are always the same type so if the type is uint256[] then we validate each member of teh array as a uint156
but tuples are more complex since they generally represent struct values, so a tuple's type can be [uint256,address,bool]
To test

New proposal => use osnap => new tx => contract Interaction
import this abi
select function requestPrice
test input field for argument requestSettings, the tuple type is [bool,bool,bool,Int,Int]

Or find any ABI with function parameters of type Array or Tuple and test the input.
@daywiss I've added better checks for Integers as well. We now do range checks for all integer types. I noticed this bug because I was able to insert values for uint32 that were out of bounds and the app didn't catch it.

max value for uint32

max + 1

Merged upstream


feat: add a -workflow-input option

See https://github.com/slsa-framework/slsa-verifier/issues/213
This PR uses -workflow-input key=value and the option can be passed multiple times.

fyi @elefeint we're going to cut a release this week. We'll be able to update your project's documentation -workflow-input release-version=x.y.z. I'll send a PR.


Add unit tests for device action

Pull Request summary:

Add unit tests for device action
Quick fix for DecommissionDevice

Checklist:

[X] Make sure to run pre-commit before commiting changes
[x] Make sure all checks have passed
[X] PR description is clear and comprehensive
[x] Mentioned the issue that this PR solves (if applicable)
[X] Make sure you test the changes

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/180


how to get rid of "This site is not secure"

Looks like even after successfully installing the cert, there is still "Cert Errors" page showing up at very first beginning, how to totally get rid of this?

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

ID: 8bf51cac-f999-cb1c-b2c8-bf5cc224ecf8
Version Independent ID: db10a084-09b8-6d25-05e5-e8c60507e474
Content: Tutorial - Secure a Windows web server with SSL certificates in Azure
Content Source: articles/virtual-machines/windows/tutorial-secure-web-server.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

You need to obtain a valid certificate signed by trusted provider as mentioned in the doc:

For example, a brand many users obtain their certs from is DigiCert
https://www.digicert.com/compare-and-buy-ssl-certificates/?s_kwcid=AL!6100!10!9221346478!29440882154&ef_id=XQv@HwAABbUa2wzk:20190719014014:s

You need to obtain a valid certificate signed by trusted provider as mentioned in the doc:
For example, a brand many users obtain their certs from is DigiCert
https://www.digicert.com/compare-and-buy-ssl-certificates/?s_kwcid=AL!6100!10!9221346478!29440882154&ef_id=XQv@HwAABbUa2wzk:20190719014014:s
Is cert issued by MSIT TLS treated as "valid" for this?


reading remote SICDs pulls wrong data when row stride > 1

Reading data that can't be memmapped uses a different code path and this is broken when the read row stride is > 1.
import imageio
from sarpy.io.complex.sicd import SICDReader
from sarpy.visualization.remap import Density

def export(sicd_path, image_path, use_direct):
    f = open(sicd_path, 'rb')

    # Don't allow direct mapping by hiding the fileno
    if not use_direct:
        f.fileno = None

    r = SICDReader(f)

    remap = Density()
    d = r[1000:2000:4, 1000:2000:4]
    v = remap(d)
    imageio.imsave(image_path, v)

path = '/home/kjurka/sample-sicds/sicd_example_1_PFA_RE32F_IM32F_HH.nitf'

export(path, 'direct.png', True)
export(path, 'indirect.png', False)

Direct reading, correct:
Indirect reading, stretched:

fixed with inclusion of pr #348 into version 1.3.10


feat: add commandNotFound filter / helper function for setting up a did you mean? handler and rename Commands class name

Major changes:

rename Commands class into CommandGroup as per this discussion
add commandNotFound helper function

Allows:
bot.use(userCommands)
bot.filter(commandNotFound(userCommands), async (ctx) => {
    if (ctx.commandSuggestion) {
        await ctx.reply(
            `Did you mean ${ctx.commandSuggestion}`
        )
    } else {
        await ctx.reply(`I didn't recognize that command`)
    }
})

already tried inside Telegram, but still missing proper test's

A default option for not passing any command class and searching only for entities with '/', should be added


fix width for flexbox 2011

Which versions of which browsers require this syntax?

According to caniuse (http://caniuse.com/#feat=flexbox) they are Safari <=6, iOS Safari <= 6.1, Android Browser <= 4.3, Blackberry 7.
I tested on Windows Safari 5.1.7 (last version for Win), without width flexbox doesn't work properly.

We don't officially support any of those browsers: http://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#supported-browsers

I see


Chapter 9 - Page 300: It is required to install graphql package

Issue:
Graphql package is not found while excuting command: "nodemon server.js"
Solution:
Install graphql package by running: "npm i graphql" before "nodemon server.js"

Hello @linhtch90 this is not a bug. Dependencies differ across chapters and all dependencies need to be installed


Error at extracting

I installed amazon VOD on kodi and attempted to play a video. Then it prompted me to install widevine. But when it extracts the file, it terminates and displays error. It leaves no log whatsoever. Can you help?

There definitely is a log file, but probably no debug log. Please enable debug logging, retry the installation and upload the debug log as explained here: https://kodi.wiki/view/Log_file

Ok I will do it. U will be able to help right?

If the error lies in inputstreamhelper, I'm sure I'll be able to fix it.

https://paste.kodi.tv/cikoyinaco.kodi
LOg

ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error>
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'zlib.error'>
Error Contents: Error -3 while decompressing data: invalid code lengths set
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.inputstreamhelper/default.py", line 8, in
run(sys.argv)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", lin>
widevine_install(choose_version=params[2])
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", lin>
Helper('mpd', drm='widevine').install_widevine(choose_version=choose_version)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py">
result = func(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py">
result = install_widevine_arm(backup_path())
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
extracted = dl_extract_widevine(url, backup_path, arm_device)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
progress = extract_widevine(backup_path, image_path, image_version)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
extracted = ChromeOSImage(image_path, progress=progress).extract_file(
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
self.sb_dict = self._superblock()
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
self.seek_stream(self.part_offset + 1024)  # superblock starts after 1024 byte
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm>
self.bstream[0].seek(seek_pos)
File "/usr/lib/python3.8/zipfile.py", line 1102, in seek
File "/usr/lib/python3.8/zipfile.py", line 940, in read
File "/usr/lib/python3.8/zipfile.py", line 1016, in _read1
zlib.error: Error -3 while decompressing data: invalid code lengths set
-->End of Python script error report<--

I sent the log.. plz help..
On Thu, 15 Jun 2023, 11:52 horstle, @.***> wrote:

If the error lies in inputstreamhelper, I'm sure I'll be able to fix it.
—
Reply to this email directly, view it on GitHub
https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/551#issuecomment-1592436993,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASSQZMH4D4TLR77HSVZJIBDXLKS2VANCNFSM6AAAAAAZGSGKZE
.
You are receiving this because you authored the thread.Message ID:
<emilsvennesson/script.module.inputstreamhelper/issues/551/1592436993@
github.com>

As mentioned in the link: Provide FULL Logs only. No Partial logs or snippets.
This code snippet is useless.

Ok, I will do that.
On Thu, 15 Jun 2023, 15:04 horstle, @.***> wrote:

As mentioned in the link: Provide FULL Logs only. No Partial logs or
snippets.
This code snippet is useless.
—
Reply to this email directly, view it on GitHub
https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/551#issuecomment-1592705175,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASSQZMFFYT2EHI44PAYA3TLXLLJLTANCNFSM6AAAAAAZGSGKZE
.
You are receiving this because you authored the thread.Message ID:
<emilsvennesson/script.module.inputstreamhelper/issues/551/1592705175@
github.com>

How can i copy the whole 3000 line log from ssh?
It doesnt copy ..

Maybe you could copy the file with scp?

ok..
https://paste.kodi.tv/uporufapeb.kodi

how can i do it, it doesnt go back from special folder. Can u plz help
me....
On Thu, 15 Jun 2023 at 18:56, horstle @.***> wrote:

The Chrome OS image it uses seems to be ok in principal. I can extract the
library from it just fine. The download seems to be successful, too, but
then the file is obviously broken. My guess would be that your MicroSD card
is failing. For now you could insert a USB drive and adjust the path in the
inputstreamhelper settings under "Temporary download directory" to point to
it. However, this should only be a temporary solution, if it works then,
you should replace the SD card soon.
—
Reply to this email directly, view it on GitHub
https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/551#issuecomment-1593056560,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASSQZMDLYXH3CQXNZ66OWCDXLMEQRANCNFSM6AAAAAAZGSGKZE
.
You are receiving this because you authored the thread.Message ID:
<emilsvennesson/script.module.inputstreamhelper/issues/551/1593056560@
github.com>

its a 16gb card..

If you have a keyboard, just press backspace.

The size of the card doesn't matter, if its broken.

Ok, thanks. I will try..
On Thu, 15 Jun 2023, 20:51 horstle, @.***> wrote:

The size of the card doesn't matter, if its broken.
—
Reply to this email directly, view it on GitHub
https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/551#issuecomment-1593277553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASSQZMCKNPRH2DTW3DHCKLTXLMR7XANCNFSM6AAAAAAZGSGKZE
.
You are receiving this because you authored the thread.Message ID:
<emilsvennesson/script.module.inputstreamhelper/issues/551/1593277553@
github.com>

It worked as I installed slyguy input stream wrapper thanks a lot
On Fri, 16 Jun 2023, 07:21 Shreyas Alse, @.***> wrote:

Ok, thanks. I will try..
On Thu, 15 Jun 2023, 20:51 horstle, @.***> wrote:

The size of the card doesn't matter, if its broken.
—
Reply to this email directly, view it on GitHub
https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/551#issuecomment-1593277553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASSQZMCKNPRH2DTW3DHCKLTXLMR7XANCNFSM6AAAAAAZGSGKZE
.
You are receiving this because you authored the thread.Message ID:
<emilsvennesson/script.module.inputstreamhelper/issues/551/1593277553@
github.com>


NEXT+COMPLETE RequestResponse Efficiency

Currently request/response requires 2 messages to complete (NEXT + COMPLETE): ;https://github.com/ReactiveSocket/reactivesocket-java/blob/e38b757ca02e597712139dfb9d01ba5dc7079c40/src/main/java/io/reactivesocket/ReactiveSocketServerProtocol.java#L105
The protocol design will support multiple headers (types) being sent in a single frame.

We need to at least get NEXT and COMPLETE together in a single frame.
Is there a more efficient way to do this in the Java implementation? A stream of 2 can not be optimized like a scalar, synchronous Observable of 1 so will have a higher cost as currently implemented. Capturing NEXT then COMPLETE and knowing to batch them together is more difficult than a special type, such as NEXT_COMPLETE.

I'm not suggesting the network protocol needs a new type, only that we figure out the optimization in Java.

If the responder can package a NEXT and COMPLETE together to hand to the protocol together, then the protocol can batch them into a single frame trivially.

Since we know by stream initiation that a particular request is request-response, do we even need a complete event. Complete is implicit upon receiving a complete data frame(s) including fragmented frames.

@NiteshKant true. For REQUEST_RESPONSE, there is only a single NEXT. If that is the semantic, could possibly collapse it down to just a completed and reassembled NEXT. I.e. a NEXT with the END bit set.

Implemented.


smdx_00125.xml (pricing model) refers to scale-factor " "

Line 8 in that model defines:
      <point id="SigType" offset="1" access="rw" type="enum16" len="1" mandatory="false"  sf=" ">
and line 19 has:
     <point id="Sig_SF" offset="6" access="r" type="sunssf" len="1" mandatory="true"  sf=" "/>
Note the scale factor names consisting of a single space character (sf=" ").  There is no such scale factor defined in the model.
I assume these are typos since it wouldn't make sense to apply a scale factor for a enum16 or a scale-factor itself.

Thanks!
On Fri, Jul 12, 2019 at 1:05 PM silvia2019<EMAIL_ADDRESS>wrote:

Closed #32 https://github.com/sunspec/models/issues/32 via #40
https://github.com/sunspec/models/pull/40.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sunspec/models/issues/32?email_source=notifications&email_token=ACQY6LX2NCUNW2KILOP4QN3P7DIY3A5CNFSM4FRQFT7KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSPIOXCY#event-2479942539,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQY6LT4IHX475T72TWVI43P7DIY3ANCNFSM4FRQFT7A
.


[GSoC Project Proposal]: IOOS_QC WebApp

Project Description
Create a Web App using pyscript and/or pyodide
Expected Outcomes
A user should be able to update a dataset and select the data checks they want to apply to it. Here is a prototype: https://ocefpaf.github.io/ioos_qc_webapp/ioos_qc_browser.html
Skills required
Intermediary Python and designing User Interfaces
Mentor(s)
@ocefpaf
Expected Project Size
350
What is the difficulty of the project?
Expert

Hello mentor,
I am Nitish, a Computer Science undergraduate from India. I am interested in contributing to this project. I had a few inquiries.
I've read the comments above and have understood that you need a webapp for  this "A user should be able to update a dataset and select the data checks they want to apply to it"
I'm familiar with Pyodide.
so, are there any documentation for this?
Can you please provide more info about this?
In my application, I want to be transparent about my current familiarity. While I don't have much experience in  pyscript, I do have experience of  data visualization, python and it's libraries in general. I am genuinely eager to learn and contribute to this project.
I want to highlight my skills and experience in this application.
Eagerly waiting for your reply.
Thank you,
Nitish

Hi @Nitish-Naik. Thanks for your enthusiasm. GSoC 2025 is not opened for organization applications yet and we don't know if we'll be accepted or not. Whatch this space and wait for the participants application call.

In my application, I want to be transparent about my current familiarity. While I don't have much experience in pyscript, I do have experience of data visualization, python and it's libraries in general. I am genuinely eager to learn and contribute to this project.

It doesn't have to be pyscript, as long as it is wasm based and deployed as HTML only. If we can manage it with pure pyodide and micropip, even better. There are no docs but take a look at some of the examples in https://panel.holoviz.org/ for inspiration.


Convention for cancelled spans

It would be great if there was a language- and protocol-agnostic convention for marking a span as representing a cancelled operation.
At present, different languages and protocols treat cancelled operations in different ways, which makes it difficult to do things like filter a trace to show only non-cancelled operations, or visually distinguish between successful, failed and cancelled operations.
For example, a span representing a gRPC call would have the rpc.grpc.status_code attribute set to 1 (for the gRPC CANCELLED status code), while a span representing a Golang operation might be recorded with an event with a context canceled message.
Instead, it'd be great if there was a convention for an attribute that marked a span as cancelled, such as cancelled.

oh no, we'll need to make a decision on canceled vs cancelled 😅
in seriousness, a "canceled" (or "cancelled") attribute would be very welcome in opentelemetry-java-instrumentation repo where we currently have (at least):

guava.canceled
rxjava.canceled
jaxrs.canceled
reactor.canceled
grpc.canceled

Didn't we want to use the error.type attribute for that? At least in the HTTP scenarios, e.g. error.type = cancelled

Didn't we want to use the error.type attribute for that? At least in the HTTP scenarios, e.g. error.type = cancelled

The problem with using error.type is, that a cancelled operation doesn't necessarily imply an error. However, the definition of error.type states this:

If the operation has completed successfully, instrumentations SHOULD NOT set error.type.

I'd be in favor of defining something in common.
I think we can polish error.type description to accommodate it - "If the operation has completed successfully, instrumentations SHOULD NOT set error.type." - cancelled operation did not complete successfully and it should be totally legit to use error.type for it. In the same was as we set error.type to "404" on the client side even when 404 does not represent an error.
Some problem with the cancel(l)ed convention:

E.g. on Java the async operations (like reactor) can be cancelled, but sync versions of them throw something like TimeoutException or InterruptedException - I'm not sure how far we can go unifying and if by replacing exception type with cancelled is helpful.
There were some concerns about attempts to unify across languages. E.g. in .NET cancellation is commonly done with OperationCancelledException that's familar to all .NET devs - what should .net instrumentations do?

The least controversial option I can suggest is to use cancel(l)ed when operation is cancelled without exception.

cancelled operation did not complete successfully and it should be totally legit to use error.type

That depends very much on the context. In some cases, for example if I decide that I don't need the output of an operation anymore, I cancel an operation and cancellation is the desired outcome. I don't want this call to count against failed calls in my downstream calls.
Also, let's make clear whether we are talking about setting error.type to canceled on spans, on metrics, or on both. For spans, would we additionally set the span status to ERROR for canceled operations?


Test issue for GH automation (should be assigned)

Description
Reproduction steps

Start the Ruby LSP using a certain editor
Open a Ruby file
Do something
See unexpected behavior

Code snippet or error message

I forgot that we don't assign issues created by our team. So this test is invalid.


Update links in the repository to scala/scala3

Related to #19839 and #19848

@Kordyjan This PR should also be backported. It has a change in the release script and it might affect the release process of 3.4.1 and 3.3.4.


Embellish the .NET landing page a bit

This change adds a few things to the .NET landing page:

Add the .NET Core logo.

A bit more about "why you might care."

Add a basic code snippet.

Add a Getting Started section. We want to drive people here
when first landing on this page as much as possible, since it's
the best experience (despite it being C#-only).

Use the language switcher for C#/F#/VB templates.

Reorder some content so most relevant is above the fold.

Add CI/CD coverage of Azure DevOps pipelines and GitHub Actions.

@lukehoban we have a special place for your video if/when it's ready 😄

Also:

Rename all occurrences of "Pulumi .NET" or "Pulumi.NET" with "Pulumi for .NET," per the .NET team's request.

at MS, i only used .NET since it seemed the safest ... you seem to really want to use CORE in places, so i didn't erase.

Yeah, Microsoft uses "Core" very aggressively now-a-days. It is also widely recognized in the community as meaning "the modern, open source, and cross platform .NET" -- not the old clunky desktop .NET that is effectively being deprecated. Don't shoot the messenger :-)

Yeah, Microsoft uses "Core" very aggressively now-a-days

FWIW, Microsoft is killing "Core" in the next version. It's going to be ".NET 5".


Make CI friendly

A fun use case would be to use this tool as a static analysis tool in a CI pipeline. When running dive against a built image, dive would pass/fail (return 0 or non-0) with configurable thresholds for efficiency score and/or waisted image space.
This implies disabling the UI and only output minimal information.

Implementing #93 along with an exit code would probably be sufficient

I could see output formatters (like ESLint or Jest) as a great extensible solution. Those recognized formats play very well with modern CI tools


Update SumatraPDF

The background was pure white and my retinas nearly burned out, so I added background color back in. Confirmed to be working.
Before:

After:

Thanks so much for your contribution!


https://developer.mozilla.org/en-US/users/account/email/confirm

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x ] Correction or update

Details

Hi there -
Two issues:

Documentation

Native messaging doesn't specify that content scripts are not able to connect - need to use background script
And

my github verification email is not coming (because it is being sent to the wrong address, so I'm unable to fix the docs myself)

<EMAIL_ADDRESS>(Correct) /<EMAIL_ADDRESS>(Wrong)

Native messaging doesn't specify that content scripts are not able to connect - need to use background script

Which page are you seeing this problem on?

my github verification email is not coming (because it is being sent to the wrong address, so I'm unable to fix the docs myself)

Let me guess - is this an account that you haven't logged into since we did the GitHub login switchover? What is your username? I'm not sure how to fix this, but I can probably get someone from the MDN dev team to help.

Native messaging doesn't specify that content scripts are not able to connect - need to use background script

Which page are you seeing this problem on?
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

The example shows a background script being used - it doesn't mention that content scripts are disallowed though.  As a WebExtensions newbie, I didn't know that, and needed to use content scripts to access the DOM in my use-case

my github verification email is not coming (because it is being sent to the wrong address, so I'm unable to fix the docs myself)

Let me guess - is this an account that you haven't logged into since we did the GitHub login switchover? What is your username? I'm not sure how to fix this, but I can probably get someone from the MDN dev team to help.

It's a new account, I have multiple emails associated to my Github profile for commit purposes - one or two of which are not valid addresses. - I clicked on the invalid one because I thought the email would be public / not used for verification purposes - and wanted to avoid spam.
It seems like there's no option to change the verification email to the correct one<EMAIL_ADDRESS>My profile name is njohnst.

Native messaging doesn't specify that content scripts are not able to connect - need to use background script

Which page are you seeing this problem on?
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

The example shows a background script being used - it doesn't mention that content scripts are disallowed though. As a WebExtensions newbie, I didn't know that, and needed to use content scripts to access the DOM in my use-case

This was kind of hinted at, but not said explicitly, in this section:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging#Extension_side
I've had a go at improving the wording; is this better now? I'm not hugely familiar with WebExt, so apologies if I've misunderstood this.

my github verification email is not coming (because it is being sent to the wrong address, so I'm unable to fix the docs myself)

Let me guess - is this an account that you haven't logged into since we did the GitHub login switchover? What is your username? I'm not sure how to fix this, but I can probably get someone from the MDN dev team to help.

It's a new account, I have multiple emails associated to my Github profile for commit purposes - one or two of which are not valid addresses. - I clicked on the invalid one because I thought the email would be public / not used for verification purposes - and wanted to avoid spam.
It seems like there's no option to change the verification email to the correct one<EMAIL_ADDRESS>My profile name is njohnst.

Thanks. I'll talk to the devs about this one.

my github verification email is not coming (because it is being sent to the wrong address, so I'm unable to fix the docs myself)

<EMAIL_ADDRESS>(Correct) /<EMAIL_ADDRESS>(Wrong)

Hey there @njohnst - Can you log into MDN at all?
If you can, you can take the following steps:

Log in an then click on edit profile

On the next view, click on Edit email

Under "Add an email address", enter your desired email address and click Add Email.

This will send a verification email to the new email address you just added. You can then follow the link to verify your new email. Once you have done that, go to "Edit Profile > Edit email" again.
You can now set this new email address as your primary email address. Once that is done, go ahead and delete the previous email address:

Hope that helps.

Thanks for getting back to me.
In the top right corner here - it still shows the 'Sign in' button, appears that I can't access the account options - I can't find an account/profile link anywhere either.

Thanks for getting back to me.
In the top right corner here - it still shows the 'Sign in' button, appears that I can't access the account options - I can't find an account/profile link anywhere either.

So, when you are redirected back to MDN from Github after clicking Sign in, are you not presented with an option to choose from more than one email address?
Also, do you have both the email addresses mentioned configured and active on Github? If not, I would suggest that you also add the Proton Mail email address to Github and then do the Sign in process on MDN again.
Let me know how it goes.


Elide re-exports of unresolved type-only imports

Fixes #56445

@typescript-bot cherry-pick this to release-5.3


Doesn't compile with solc 0.4.25

I would suggest changing pragma solidity 0.4.24 to pragma solidity ^0.4.24, so this would support 0.4.25 version and the feature releases.
If you have concerns regarding the 0.5 version's breaking changes, then documentation says the Solidity compiler v0.5 won't compile ^0.4.x versions

Fixed in #31


Request to add projects for desktop app development with Python

Without any other languages involved (databases are OK)
Also please focus on the UI aspect of development (eg: tkinter)

@TechPro424 Thanks for the suggestions, will look into it! Feel free to add projects here which helped you and you think should help others as well.


What about the data enhancement result of LayoutLM+DINOv2+CLIP?

Thanks for your awesome work! I have a question about Section 3.4: Table 9 displays the data enhancement result in LayoutLM+ConvNeXt+CLIP. Why not perform this experiment on  LayoutLM+DINOv2+CLIP, since it is the best one among the triple vision experts? Thanks in advance.

Thank you for your question. We have added the results of the LayoutLM+ConvNeXt+CLIP, the marks indicate that the results are from MMB/OpenCompass official, respectively. We'll update our arxiv later.

Great! Thanks for your reply :)


⚠ Hartman Foundation has degraded performance

In b06fddb, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2674 ms

Resolved: Hartman Foundation performance has improved in 064283e.


Unresolved reference: NativeAdFactoryExample

Plugin Version

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @BhautikVaghasiya ,
When opening an issue, please try to provide all or some of the information requested in the issue template.

Issue Template
<!-- Thank you for using Google Mobile Ads for Flutter!

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     the Flutter's team guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Plugin Version

<!-- Please tell us the version of the plugin used in your app. -->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter create bug`.
2. Update the files as follows: ... <!-- include every file that is different from the template app! -->
3. ... <!-- describe how to reproduce the problem -->

**Expected results:** <!-- what did you want to see? -->

**Actual results:** <!-- what did you see? -->

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

</details>

Closing this issue, since no information has been provided. Incase you have any further info for us please update the issue description with the requested details in the issue template and leave a comment and we will open it right away.
Thank you.


Failing to enable BackupRestore service on standalone cluster with non en-us culture

I wanted to add the BackupRestore system service to my freshly upgraded (to 6.4) cluster on premises.
I followed the instructions (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-backuprestoreservice-quickstart-standalonecluster) and added this section to the cluster configuration:
        "addonFeatures": ["BackupRestoreService"],
        "fabricSettings": [
            {
                "name": "BackupRestoreService",
                "parameters":  [
                    {
                        "name": "SecretEncryptionCertThumbprint",
                        "value": "398C7279CAEF57948E58AF6C3E779E47F08D6B12"
                    }
                ]
            }

It worked for the local dev cluster but failed miserably on 3 nodes test cluster. The BackupRestore service crashes instantly with following errors being logged:
Failed to open store '' at LocalMachine: E_INVALIDARG
Failed to get the Certificate's private key. Thumbprint:398C7279CAEF57948E58AF6C3E779E47F08D6B12. Error: E_INVALIDARG
Failed to get private key file. x509FindValue: 398C7279CAEF57948E58AF6C3E779E47F08D6B12, x509StoreName: , findType: FindByThumbprint, Error E_INVALIDARG

Then 3 warnings are logged:
SetCertificateAcls failed. ErrorCode: E_INVALIDARG
Can't ACL BackupRestoreService/SecretEncryptionCertThumbprint, ErrorCode E_INVALIDARG
Error at AclConfiguredCertificates, ErrorCode E_FAIL

It looks like I were supposed to configure the store name, but the documentation does not mention any way to do that.
The application log if flooded with such entries:
Application: FabricBRS.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: RunAsync failed due to an unhandled exception causing the host process to crash: System.TypeInitializationException: The type initializer for 'System.Fabric.BackupRestore.Common.Constants' threw an exception. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Fabric.BackupRestore.Common.Constants.GetRuntimeVersion()
   at System.Fabric.BackupRestore.Common.Constants..cctor()
   --- End of inner exception stack trace ---
   at System.Fabric.BackupRestore.Common.BaseStore`2..ctor(IReliableDictionary`2 reliableDictionary, StatefulService statefulService, String traceType)
   at System.Fabric.BackupRestore.Common.WorkItemStore.<CreateOrGetWorkItemStore>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Fabric.BackupRestore.Common.BaseWorkItemQueue..ctor(IReliableQueue`1 workItemReliableQueue, Int32 maxWaitTimeInMinutes, WorkItemQueueRunType workItemQueueRunType, String traceType, StatefulService statefulService)
   at System.Fabric.BackupRestore.Common.WorkItemQueue.<CreateOrGetWorkItemQueue>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Fabric.BackupRestore.Common.WorkItemHandler.<StartAndScheduleWorkItemHandler>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Fabric.BackupRestore.Service.BackupRestoreService.<RunAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceFabric.Services.Runtime.StatefulServiceReplicaAdapter.<ExecuteRunAsync>d__23.MoveNext()
Stack:
   at System.Environment.FailFast(System.String)
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

I want to add, that I have successfuly used the configured certificate to decrypt secrets in an application deployed to that cluster.
And I checked using powershell, that the certificate's private key ACL has been configured for NETWORK SERVICE:
Access : NT AUTHORITY\SYSTEM Allow  FullControl
NT AUTHORITY\NETWORK SERVICE Allow  FullControl
BUILTIN\Administrators Allow  FullControl
Any ideas?

@b47on, What is the default language of the machine??
Can you run this C# below code in the same machine and paste the o/p??
CultureInfo ci = CultureInfo.InstalledUICulture;
Console.WriteLine("* Name: {0}", ci.Name);

So assuming all your machines are using English locale, does this repro for you consistently? I mean, what happens after failover or something?

I did further investigation, and InstalledUICulture is en-US but CultureInfo.CurrentCulture returns pl-PL - both using PowerShell remoting and calling it inside fabric app (as NETWORK SERVICE).
And it is consistently failing, dumping FabricBRS.exe.*.dmp files in diagnostic store. I also tried on single node standalone clustere (also VM with same os and culture settings) - the same result.

Thanks.. Seems like an issue parsing double in a machine which is in different culture. We are validating that and find ways to roll out the fix soon. As a mitigation for now, would it be possible for you to try it on a en-us build?

OK, I've tested it on a server with en-us Culture. Well, the BR service stopped crashing and generating the dumps, but it still cannot start - it keeps logging the first logs mentioned in my post - so there is still problem accessing the private key of the certificate...

Logging of the empty store can be ignored. Are you running this with gMSA security? If so there is a known issue - #267 which you may wanna take a look.
Also ensure that you don't pass more than 24 days for retention duration. Currently there is a known issue with that.

You can ignore the errors which are getting logged for failing to get the private key. As long as you have configured the certificate for access to cluster yourself during setup this should be all fine. So from your response seems like, the service is running fine and the cluster is healthy.
To answer your questions:
a. Yes, BRS takes a port from the application endpoint range. It may or may not be the first port but given this is one of the first services getting activated, it generally is the first port.
b. No. This service is reachable via Gateway only.
c. The traffic from HTTP client to Gateway is encrypted using the server cert. Depending on your setup, the cluster/ server cert may or may not be same.
d. Yes. Like any other SF APIs, you need admin cert for read/ write access and a non admin cert would just give you read access.

This has been fixed in the latest refresh - https://blogs.msdn.microsoft.com/azureservicefabric/2019/02/04/azure-service-fabric-6-4-refresh-release/

A somewhat related issue : Azure/service-fabric-issues#1553.