[V3] Tracking issue

Harmony v3
Note: every sub module is supposed to have unit tests for everything that is testable on CI.
types
@Helloyunho, @DjDeveloperr

[ ] Application
[ ] Audit Log
[ ] Channel
[ ] Emoji
[ ] Guild
[ ] Guild Template
[ ] Invite
[ ] Stage Instance
[ ] Sticker
[ ] User
[ ] Voice
[ ] Webhook
[ ] Gateway

core
@Helloyunho, @DjDeveloperr

[ ] Implement HTTPClient
[ ] RESTClient (blocked by HTTPClient and types)
[ ] GatewayClient (blocked by types)
[ ] ShardedClient (blocked by GatewayClient)
[ ] Implement APIManager (blocked by RESTClient and ShardedClient)

framework
Blocked by Core

[ ] Implement Client
[ ] Implement Cache API
[ ] Implement Structures
[ ] Implement Managers
[ ] Implement Abstracted REST Endpoints
[ ] Implement Abstracted Gateway Events

ext

[ ] Implement a Redis Cache Store (blocked by Framework)
[ ] Implement a Binary Tree Cache Store (blocked by Framework) - @MierenManz
More TBD

manual
@ZiomaleQ

[ ] Write beginners guide
[ ] Write Examples of common code
[ ] Write Explanation of harmony
More TBD

Implement a Redis Cache Adapter (blocked by Framework)
This can probably be renamed to
Implement a Redis Cache store (blocked by Framework)
And we could also add this one under my name if we still want it
Implement Binary Tree Cache store (blocked by Framework)

@MierenManz

This can probably be renamed to

Done.

And we could also add this one under my name if we still want it

Added.
Also added a note about unit tests, would it close #125 ?


unwindPath only accepts one field

More of a questions then issue, does unwindPath option only accept one field?
I've tried to put an array and string array into option but doesn't unwind fields. If I only put one field in then it works. Any idea how you can unwind multiple fields?
Thanks

Confirmed, it only takes one argument. You could implement your own unwind and pass the resulting data to this module.
We also accept pull requests 👍

Thanks for confirmation, since I'm passing results from MongoDB it will be easier to unwind myself and pass through.

Guys, I was looking for this exact functionality. If I had this JSON as an example:
var myCars = [
    {
        "carModel": "BMW",
        "price": 15000,
        "items": [
            {
                "name": "airbag",
                "color": "white"
            }, {
                "name": "dashboard",
                "color": "black"
            },
        ]
    }, {
        "carModel": "Porsche",
        "price": 30000,
        "items": [
            {
                "name": "dashboard",
                "items": [
                    {
                        "position": "left",
                        "color": "black"
                    }, {
                        "position": "right",
                        "color": "gray"
                    }
                ]
            }
        ]
    }
];

I wanted to have following output CSV:
"BMW",15000,"airbag","white"
"BMW",15000,"dashboard","black"
"Porsche",30000,"dashboard","left","black"
"Porsche",30000,"dashboard","right"","gray"

I can submit a PR, if everyone agrees with these changes to parameters:
var csv = json2csv({
	data: myCars,
	fields: ['carModel','price','items[].name','items[].color','items[].items[].position','items[].items[].color'],
	unwindPath: ['items[]','items[].items[]']
});

Hi ended up unwinding in mongodb first then passing the results but would love to have it in json2csv as well but it's up to the moderators to agree on parameters etc.

I simplified a little bit the parameters and created a pull request for that.


In the solutions of finished kata does not appear my solution

Describe the bug
In the solutions of finished kata does not appear my solution.
In some rare cases when I finish kata, then in solutions I click "My Solutions" but there is no solutions.
If I submit solution for the second time or wait some time it does not help.
But I still can see my solution in my Profile-->Solutions.
To Reproduce
Steps to reproduce the behavior:

Solve kata.
Click on 'My Solutions' in Solutions
Can't see my solution.

Expected Behavior
Normally I should see my solution in "solution" section or in "My Solutions" section.
Screenshots

Contexts
Please complete the following information:

Codewars username (if account related): [Konstantin%20Modin]
OS: [Win10 Pro 64]
Browser: [chrome]
Browser Version: [78.0.3904.87]

Closing as duplicate of #1598 and others with the same label.


Icon Request

App: SMS Organizer
package: com.microsoft.android.smsorganizer
App: Musicolet
package: in.krosbits.musicolet

Hello! Weʼre switching to a new system for icon requests in order to be able to better manage them. From now on, icon requests can be submitted here: https://forms.gle/Fx8vZAiWdW1Tyjo57. If your icon request hasnʼt yet been fulfiled, it has been copied to our new icon request database, meaning no action is required. Consequently, this issue will be closed.


bug: defining vars as path

Defining
vars: vars.csv

does not work ( but maybe I do something wrong ).

The key for this is now tests!

Ah, makes sense 👍


support git cloning over https as well

As some people require git: and some https: a command line parameter would be the best solution with maybe a config file or env var to not have to type it every time if you differ from the default.

Hmm, what if it tried the default and if that fails tried using the other? Like "cloning via git:// failed, trying https://...."?

Either of those solutions would be acceptable. I had to modify rakudobrew manually to use https instead of git due to firewall restrictions.

For the record, I also patched rakudbrew to use http because of firewall issues.
Since rakudobrew does not really handles command line options, but already has a environment variable for GIT_BINARY, maybe a GITHUB_PROTO environment variable (possible values: git, http, https, ssh) would be sufficient.

Does no checking on the protocol variable, but it at least handles git and https. For further improvements, patches welcome :)


fastcgi more filetype is error

(Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please take a few minutes to carefully answer the following questions. If your issue is not a bug report, you do not need to use this template. Thanks!)
1. What version of Caddy are you running (caddy -version)?
windows7 & FreeBSD armv7
0.9.5
2. What are you trying to do?
add filetype .phtml on the fastcgi ext
3. What is your entire Caddyfile?
fastcgi / <IP_ADDRESS>:9000 php {
ext .php .phtml
}

4. How did you run Caddy (give the full command and describe the execution environment)?
service caddy start
5. Please paste any relevant HTTP request(s) here.
php is runing;
but phtml not,only show source code

I've been able to reproduce this.

@abiosoft Thanks for checking it out! Can I assign you to this?

Yeah you can.

So what

Hey @abiosoft do you want any help getting this resolved?

Could there be any situation where ext and split can be different ?
Since Caddy isn't splitting by regex, I don't think that is ever gonna happen.

@abiosoft Great question. I'm not sure off-hand. Maybe someone else would have an example?

If we find that split is never different than ext, then I think we might as well remove the arguments from split so that it just inherits them from ext if any.
There is an example in the docs that uses split without ext being set:
fastcgi / <IP_ADDRESS>:9001 {
	split .html
}

But I think that was just meant as a configuration example and not a real-world usable case.

I propose we simply remove/depreciate split while fixing this. This is the main blocker.
If that sounds fine, I can go ahead and finalize this.

@abiosoft Great -- let's get a PR going and we can poll people to give their input. We should be "gentle" in this case by showing a warning when using the split subdirective, which is being deprecated, and if they need it, they should post an issue (link to Caddy issues). That way, they'll know to get in touch with us.
We can always add the split feature later if needed.

@abiosoft I thought the split feature is there for separating the PATH_INFO and is unrelated to accepting cgi requests for specific file extensions.

RFC3875: CGI Spec 1.1: Section 4.1.5

Just took a quick look.. seems as though the ext fastcgi directive doesn't support multiple extensions.
https://github.com/mholt/caddy/blob/master/caddyhttp/fastcgi/fastcgi.go#L84
https://github.com/mholt/caddy/blob/master/caddyhttp/fastcgi/setup.go#L95

Yes but in Caddy's case, I am yet to see when it is not same value as ext. e.g. in the php preset https://github.com/mholt/caddy/blob/master/caddyhttp/fastcgi/setup.go#L199

@abiosoft I thought the split feature is there for separating the PATH_INFO and is unrelated to accepting cgi requests for specific file extensions.

Yes, which is why it breaks when more than one is specified.

Just took a quick look.. seems as though the ext fastcgi directive doesn't support multiple extensions.

@abiosoft In the past (on other web servers) I have used these separately. Extensions to detect and serve content and path_info to provide information on what to serve. So you have one say phpfile that serves lots of content.
My remark was mainly aimed at the initial issue opened by @iscraft that he is trying to use multiple extensions and its it not working. caddy/issues/1564#issue-219613123 I thought that was the bug that was required to be fixed. The confusion might be caused because of the difference with the ext plugin vs. the fastcgi plugin. Ref: https://caddyserver.com/docs/ext

@slightfoot

In the past (on other web servers) I have used these separately. Extensions to detect and serve content and PATH_INFO to provide information on what to serve. So you have one say phpfile that serves lots of content.

Can you share those lines of config so we can see how they're being used separately?
I realize that the separation of these two is slightly tangential, and it's probably best to focus on the original issue here; but they are related, and if one is blocking the other, let's knock out both (if needed).

The direct fix to this issue is allow specifying multiple ext and split. Which is quite straightforward though a bit challenging on how to represent it in the config since an ext need to be attached to a split (I think).
ext .php .html
split .php .html

Just wondering why we need to specify same thing in two places.

This is a good point. I'd be interested to know @slightfoot's use case where they are different.

I tested this issue and I reproduced it with Caddy 0.10.11 on Windows 7 x64.
I tested a workaround to make both work on my platform. I think it would work on other platforms too but it may need extra testing.
You could have two fastcgi directives.
Here's a minimal example on Windows:
on startup C:\caddysites\php\php-cgi.exe -b 6545 &
fastcgi / <IP_ADDRESS>:6545 {
	ext .php
}
fastcgi / <IP_ADDRESS>:6545 {
	ext .phtml
}

I tested a .php and .phtml page and both worked perfectly.
Is it a viable solution without having to change the code?
Maybe this limitation could be mentioned in the docs or a similar example could be added? https://caddyserver.com/docs/fastcgi

I think I'll go ahead with the fix I had in mind back then which is to remove split and properly support multiple extensions. I haven't seen any specific case where ext and split have been different.

@abiosoft Do you know if this was ever fixed?  Can we close this issue?

@abiosoft  if split is removed, will the code still split eg.  Given the url
https://exampl.com/pages/myfile.php/userid/docid/test

after the change will $_SERVER['PATH_INFO'] still contain /userid/docid/test ?
If so I think we could go ahead, although I do like @magikstm workaround also.
If this is not the case we need to decide if we are happy breaking functionality.

@tobya Yes it will.

after the change will $_SERVER['PATH_INFO'] still contain /userid/docid/test ? Which is what it should contain at the moment.

Can anyone verify whether this is still an issue with Caddy 2? (Caddy 2 is currently in beta on the v2 branch. See its readme and the wiki for full documentation.)

I will try to test this.

Thanks as always, Toby!

I've looked at this in V2 and cant see how more than one extension can be specified, so this is still outstanding.  It seems necessary to be able to specify multiple extensions in these 2 places
"handle": [
                                {
                                  "handler": "reverse_proxy",
                                  "transport": {
                                    "protocol": "fastcgi",
                                    "split_path": ".phtml"
                                  },
                                  "upstreams": [
                                    {
                                      "dial": "localhost:4344"
                                    }
                                  ]
                                }
                              ],

and  (although I presume I can already here)
"match": [
                                {
                                  "path": [
                                    "*.phtml"
                                  ]
                                }

I'm not even sure how you would split on more than one substring.

Well we just need to allow multiple file ext for php files
eg

php, phtml, html

whatever someone wants really.  Then when a file is requested matching any of the exts we need to send file request to php and split on that extention

So how about if split_path was a placeholder: {http.request.uri.ext} ? (Will have to make it, I think)

v2 now supports trying multiple substrings for splitting the path, so I think this is fixed.


access to DefaultFormBindingWriter.convertMapToString

i want to serialize request parameter with GBK url encoder, so i customize an Writer extends DefaultFormBindingWriter,but there is no way to override convertMapToString method for it is private.

Can you post a link to the line of code? That seems like a reasonable request. I may not have time to implement, but I'd happily accept a PR


ADD ability to sync css & head content

This commit addresses HACBS-2111 and adds the ability to sync common css & head content between the Hugo & Antora portions of the website. This is achieved with two scripts, sync-css.js and sync-head.js. Both can be executed independently with npm run sync-css & npm run sync-head.
The make file has been updated to execute these sync scripts prior to executing the builds of Antora / Hugo.

Not too happy with this approach, I was hoping to get to a point where we don't need any extra scripts. i.e. Hugo builds the CSS and the same CSS is used from Antora. I think this can be done by pointing to the Hugo built CSS files, perhaps disregarding the fingerprinting on the first pass. This seems needlessly complex.

My conversation with @simonbaird prompted me to work up a solution that provided a shared base CSS that would be used in both portions, with additional css specific to Hugo or Antora  available to them respectively.

Getting 404s on these resources: https://adf91341.enterprise-contract.pages.dev/docs//css/base.css https://adf91341.enterprise-contract.pages.dev/docs//css/ec-custom.css https://adf91341.enterprise-contract.pages.dev/docs/_/css/highlight.css
From here: https://adf91341.enterprise-contract.pages.dev/docs/ec/main/

I'll check into that.

Getting 404s on these resources:
https://adf91341.enterprise-contract.pages.dev/docs/_/css/base.css
https://adf91341.enterprise-contract.pages.dev/docs/_/css/ec-custom.css
https://adf91341.enterprise-contract.pages.dev/docs/_/css/highlight.css

From here: https://adf91341.enterprise-contract.pages.dev/docs/ec/main/

404s resolved. My apologies,  I'd intended to remove those links prior to pushing the code.

Closing in lieu of #74


Attachment getting corrupted

When we send a mail to our users having attachment, the file is getting corrupted.
Below is the code and version of lib
require SNEDGIRD_LIB_PATH . 'vendor/autoload.php';
$sendgrid = new SendGrid(SENDGRID_USERNAME, SENDGRID_PASSWORD);
$mail = new SendGrid\Email();
$mail->setFromName($mailArr['sender'])->
setFrom("no-reply@test.com")->
addTo($to)->
setSubject($mailArr['subject'])->
setHtml($html)->
setAttachments($files);
        $response = $sendgrid->send($mail);

Php version : 5.6
Sendgrid version: 2.0.3

Hello @goyal2989,
That version of our SDK is no longer supported. Are you able to upgrade to the latest version?
With Best Regards,
Elmer


javafx-maven-plugin not work with sdk 18

run cmd run mvn clean javafx:jlink show erorr  Process exited with an error: 1 (Exit value: 1). please help me

Can you post the full stack trace? Process exited with an error: 1 (Exit value: 1) is just an IDE's javaagent message when the process it was attached to failed.

I used javafx-maven-plugin to build JavaFX application. but javafx-maven-plugin does not support sdk 18. It only supports JDK 11.
Error occurred: Unsupported major.minor version 63.0

I not found stack trace:

But i found error with SDK 18+

Can you post the full stack trace? Process exited with an error: 1 (Exit value: 1) is just an IDE's javaagent message when the process it was attached to failed.


Make TemplateTargetExtension public and non-default

We should make TemplateTargetExtension public and not on by default. This extension requires a type that it can codegen to that we don't have by default. MVC has this type and so it should add the extension and configure HelperResult as that type.

811ea019a504a0f763252fbeb6dc2ce1e01d126c


Animated thumb glow?

Would it be possible to animate the thumb glow as it opens, similar to the material Slider?

That is certainly possible. I have some other things I'm working on right now but if you'd like to implement it I'd be glad to add it in.

This will help https://www.youtube.com/watch?v=IMQdSTlTXjA

Any updates on this?

Any updates on this?

No, is this something you're interested in working on? I'd start by reading the source code for the Flutter Slider widget and see how they implemented it.


build package with full file extension

Hey @ad1992 👋
Good work on fuzzi logic 👏
I am facing the below issue, can you please look into it or assign me?
Issue:
Unable to resolve file or component due to missing file extension in the import statement. This is happening because the target of tsc is esNext, whereas the consuming package that uses webpack targets es5
Not able to resolve utils

Not able to get fuzzzy

Solution:
When the package is consumed in other packages, since the bundler will use the bundled package, it doesn't resolve the extension.
The fuzzify package needs to configure the tsc to compile to all browser or consuming package supporting a common version i.e es5

@shrilakshmishastry this is issue specific to webpack and since the dev mode still uses webpack hence the above error, I have pushed the fix and now it should work. Also for the integration please use the version 0.1.2-test2, I have pushed the  type fixes to the library so type imports would work fine too.


grants Client Credentials

Can I use Client Credentials? I don't see a case.

Of course yes, reference oauth2-server documentation : https://www.npmjs.com/package/oauth2-server

https://oauth2-server.readthedocs.io/en/latest/

Thank you, solved


Fix mobile view issues in StepContainer component

:rocket:
This description was created by Ellipsis for commit b46370248f2b5a9ab517dd9b247ba90539ff9dbe

Summary:
Enhanced mobile responsiveness of StepContainer and performed minor code cleanup.
Key points:

Updated StepContainer CSS for better mobile responsiveness.
Minor code formatting and cleanup in various files.

Generated with :heart: by ellipsis.dev


Dependency with vulnerability

ton-abi has crate 'failure' in its dependencies, but this crate has vulnerability

Thank you!
Fixed https://github.com/everx-labs/ever-abi/pull/352


⚠ Bofrost.be has degraded performance

In d18fe88, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2102 ms

Resolved: Bofrost.be performance has improved in 8bdc31d.


Fix port number of the AMQP Broker

Port 5672 is deactivated because of security concerns. The only port for an AMQP connection is now 5671.

https://github.com/LukasPoque/s3i_flutter/blob/master/lib/src/broker/broker_amqp_connector.dart#L33


Implements #23

See #23

Done. Furthermore, should we pass the $index variable to the callback function as a parameter? If yes, should it be the first or the second parameter (I'd rather have it as a second parameter)?

Done!

Thank you!


marathon/examples/Docker.json formatting error

The instance, cpus and mem fields are wrapped in string "'s and caused:
HTTP/1.1 400 Bad Request
Content-Length: 275
Content-Type: application/json
Server: Jetty(8.y.z-SNAPSHOT)

{
    "message": "Invalid JSON: JsResultException(errors:List((/instances,List(ValidationError(error.expected.jsnumber,WrappedArray()))), (/cpus,List(ValidationError(error.expected.jsnumber,WrappedArray()))), (/mem,List(ValidationError(error.expected.jsnumber,WrappedArray())))))"
}

Good catch.  The JSON parsing got more strict and the examples weren't updated to match.

Will this be backwards compatible with older Marathons?
I'm wondering when the stricter JSON requirements were enabled - we have a deployment app
that we'll need to change, but it still needs to support the older syntax on some of our envs.

The old version should be fine with the strict format. The old JSON lib was more relaxed and parsed strings as numbers etc. So you should be fine with just changing it to the strict format. You should even be able to add new fields like 'upgradeStrategy' that only Marathon >= 0.7.0 uses, because they will simply be ignored by older versions.

On 24.01.2015, at 10:43, Dick Davies<EMAIL_ADDRESS>wrote:
Will this be backwards compatible with older Marathons?
I'm wondering when the stricter JSON requirements were enabled - we have a deployment app
that we'll need to change, but it still needs to support the older syntax on some of our envs.
—
Reply to this email directly or view it on GitHub.

great, thanks.


How to Configure and Deploy OpenTelemetry Collector?

I apologize in advance for using GitHub issues as a channel for what is a support question, but I'm not sure where else to turn.
I'm using the CloudWatch Observability EKS add-on, which is fantastic. It obviously is installing this helm chart under-the-hood with all the reasonable defaults needed. However the agent itself is installed as a DaemonSet w/ host networking to capture node-level information. So while the agent itself supports the ability to configure itself to be an OTel collector, it isn't making itself addressable by the application pods in the cluster as best as I can tell. Unless I need to use the HOST_IP and address it that way...?
Is running the CloudWatch agent as an OTel collector supported? If so, how would I go about utilizing it? I see the chart supports accepting an otelConfig so I presume it's meant to be ran with this capability.
Alternatively, I could install the ADOT EKS add-on in addition to the CloudWatch Observability add-on and use that instead—I'm not certain how that deployment will look, whether it will be a cluster-wide service or some sort of operator to inject side-car containers into every pod, or something like that—but I am not certain both CloudWatch Observability and ADOT add-ons can or should run side-by-side, and I am just curious if it's possible to configure the former so that I can use its OTel capabilities.
Thanks in advance!

We do not recommend running the two add-ons side by side as there is potential for conflicts. The CloudWatch Observability EKS add-on does not support side-car deployments of the CloudWatch Agent, but this is something that can be done separately and manually. What specific OTel capabilities are you looking to use?
The otelConfig field supports a supplemental OTel configuration that supports all the components that are built into the CloudWatch Agent.

@jefchien Thanks so much for the response! Ok that is good to know, I will not run the add-ons together. I am mostly interested in two things from the collector: exporting metrics as EMF logs, and exporting traces to X-Ray. As far as log collection, the Fluent that's coupled with the CloudWatch Observability add-on is perfect. If the collector runs as a daemon and not a side-car container, I'd be less inclined to bother with the EMF logging of metrics, and just create my own OTel metrics exporter that writes out EMF directly so that Fluent can pick it up and ship it over to CloudWatch. I'd still be interested in traces being exported to X-Ray.
When you say the agent can be installed as a side-car separately and manually, do you mean in addition to the CloudWatch agent being installed as a DaemonSet? Honestly I think I'd be fine with reusing the existing DaemonSet, I'd just need a way to address the agent; like creating a Service that routes requests to it, or if it's binding to the Host network I could probably address it via mounting the HOST_IP variable into my containers. Does that make any sense?
Thanks again for your attention!

When you say the agent can be installed as a side-car separately and manually, do you mean in addition to the CloudWatch agent being installed as a DaemonSet?

Yes. It's possible to install the agent as a sidecar, but it would not be managed by or through the add-on.

Honestly I think I'd be fine with reusing the existing DaemonSet, I'd just need a way to address the agent; like creating a Service that routes requests to it, or if it's binding to the Host network I could probably address it via mounting the HOST_IP variable into my containers.

The add-on manages a Service (cloudwatch-agent) in the amazon-cloudwatch namespace to route metrics/traces to the CloudWatch agent pods that it manages. You can configure your CloudWatch agents in the add-on configuration to enable trace collection (so it opens the ports required) and send your traces to the agent from your containers through the Service.


Parsed response object to the security handler.

This should fix #203 and provide for backwards compatibility 😄

I signed it!

I signed it!

Travis build does not seem to fail on the changed code but something else?

Can you please update the PR to not use " in JavaScript code?  We use ' and if you were to run gulp lint it should had caught these.

Can you please update the PR to not use " in JavaScript code? We use ' and if you were to run gulp lint it should had caught these.

My bad, did not even notice that. I had Visual configured to do the formatting as I save...

No worries.  :)  I'll give it a review and update with further request or merge.  Thanks for your help.


Fix for non-categorical discrete color levels in bokeh

Fixes bug that was introduced in the recent PR to support color intervals. Also improves the unit test to ensure it would have caught this regression.

Ready to review/merge.

Looks good. Merging.


Input Application needs an OID

A requirement from @RickHawesUSDS from a reporting standpoint (he has more info), might be this: https://www.hl7.org/Oid/information.cfm

@nickrobison-usds has an OID ! and might be able to help

Here's the link to my OID: http://oid-info.com/get/<IP_ADDRESS>.4.1.54629
CDC also has its own as well: http://www.oid-info.com/get/2.16.840.1.114222
@RickHawesUSDS do you know if these IDs need to be issued by HL7, or can we use whatever, as long as it's consistent?

I've put in a request to the CDC PHIN program for a CDC OID.

This is completed:
CDC PRIME - Atlanta, Georgia (Dekalb)
OID: 2.16.840.1.114<IP_ADDRESS>821


ModuleNotFoundError: No module named 'keras.layers.merge'

Installing this one python3.8 and I get the following error when I call analyze.
Traceback (most recent call last):
  File "index.py", line 5, in <module>
    from function import handler
  File "/home/app/function/handler.py", line 3, in <module>
    from .df import DeepFaceFunctions
  File "/home/app/function/df.py", line 8, in <module>
    from deepface import DeepFace
  File "/home/app/python/deepface/DeepFace.py", line 16, in <module>
    from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace
  File "/home/app/python/deepface/basemodels/OpenFace.py", line 11, in <module>
    from keras.layers.merge import Concatenate
ModuleNotFoundError: No module named 'keras.layers.merge'

exception message is clear. your keras dependency seems not okay.

Yes I understand but I do install the dependencies set in the project, maybe I need to change some versions ?


Build script improvements

Gradle 8
Move more to filament
Task caching should be a lot better
Configuration caching support

Bump filament version?

Update to gradle 8.0.2?


Externalize tls version and security protocols configuration on mail sending

Description

Some servers (such as Microsoft exchange) are deprecating TLSv1 and TLSv1.1. On alert's and project's mailing settings, ACS uses the protocol TLSv1; therefore, operators do not have options to choose which version they want to use.

ACS has configurations (\*.smtp.useAuth) to inform if it will use secure SMTP authentication when sending emails; However, this configuration only refers to the use of SSL. Operators have no means to choose if they want to use StartTLS option.

This PR intends to externalize the protocol's and StartTLS settings on alert's and project's mail sending. Alert and project (also quota) send email through the class SMTPMailSender, inserted in PR 4954, which will handle these configurations.
Types of changes

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

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

How Has This Been Tested?
It was tested in a test lab.
I set SMTP global settings to project and alert and enabled StartTLS (global setting); Then I allowed Less secure app access on my Google account and set the following settings:
server address: smtp.gmail.com
username: <gmail address>
password: <gmail password>
port (TLS): 587

To alert, I started mgmt;
To project, I enabled global setting project.invite.required and added a user via email;

In Gmail, we have an option to show original message, which provides the TLS version and the cipher. So I changed the configuration a few times and sent some alerts and invitations to verify if both versions, in configuration and Gmail, were the same.

@blueorangutan package

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

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: centos8 :heavy_check_mark: debian. SL-JID 275

@GutoVeronezi It makes sense to make this configuratble, but should we allow it to be different for alert and project? seems like it is a true global setting.

Trillian Build Failed (tid-1005)

@GutoVeronezi It makes sense to make this configuratble, but should we allow it to be different for alert and project? seems like it is a true global setting.

@DaanHoogland I am following the way mail settings are implemented today; each scope (quota, alert and project) has its own settings. Although, I don't see any plausible reason to keep settings to each scope (it seems that an operator could use different providers to send mail is a remote probability).
I think that if we turn these global, we should turn those too, to maintain the same pattern.

I think that if we turn these global, we should turn those too, to maintain the same pattern.

makes sense.

Can anyone review this?

@blueorangutan package

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

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 550

@DaanHoogland @RodrigoDLopez is there anything else to do?

Trillian Build Failed (tid-1324)

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian. SL-JID 599

@blueorangutan test

@blueorangutan package

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

@GutoVeronezi as the PR is only exposing config keys for existing properties I think a round of tests will be enough as there are no changes in the functionality

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian.


match external labels in exemplars API

Signed-off-by: yeya24<EMAIL_ADDRESS>

Fixes #4116

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Add logic of matching external labels in the exemplars API proxy.
The matching part is a little bit complex because the input is a query, which might contain multiple vector selectors.
We need to match each vector selector separately and construct the final query after all matches are processed.
Verification

Tested locally and one unit test.
We don't have an E2E test for exemplars now so no E2E test added.

Thanks, @yeya24, this looks amazing. I need to muster some brainpower to review this.

@kakkoyun Thanks for the quick response. Yes it is a little bit complex and hard to review it directly from the code. It would be good to deploy it and test the external labels matching feature.
@tcolgate It would be good if you can help test this pr as well.

I've tested this change locally and we are now seeing exemplars on our staging environment (querying via both layers of thanos querier). LGTM


[Question]: BABEL_2_X_DEV latest commit cannot compile babelfish_tsql

Contact Details
<EMAIL_ADDRESS>What's the question?
Pg kernel version is 14.2, I meet this error . I have built and install antlr4.
src/multidb.c: In function 'get_physical_schema_name':
src/multidb.c:879:2: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
879 |  strncpy(name, schema_name, strlen(schema_name));
|  ^~~~~~~
src/multidb.c:879:2: note: length computed here
src/pl_comp-2.o:(.bss+0x0): multiple definition of `pltsql_curr_compile_body_lineno'
src/pl_comp.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make: *** [babelfishpg_tsql.so] Error 1
Relevant log output or information
No response
Code of Conduct

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

I built it with GCC 10.3.0 , in GCC 7.3 this problem doesn't appear.

@zxwsbg: Is this still an issue?


Error when using the add on

Hi everyone - managed to use this add-on successfully earlier in the year, but now getting this error message every time. Does anyone happen to know a solution?
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-11-25 14:49:24
Caught exception:
Traceback (most recent call last):
File "C:\Users\ryank\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\importer.py", line 853, in importCourse
raise exc_info0.with_traceback(exc_info[2])
TypeError: init() missing 4 required positional arguments: 'code', 'msg', 'hdrs', and 'fp'

My friends and I have been having the same problem. Even when we follow other people's instructions of how they fixed it, nothing works. Looking forward to having it work though. I've heard good things about this add-on

Hm... can this be reproduced?

Absolutely. It happens every time I try.
Sent from my iPhone

On Dec 27, 2021, at 4:03 PM, wilddom @.***> wrote:

Hm... can this be reproduced?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.

I've never seen this happen. Could you post the course url? Did you try the latest release?

It wouldn't even let me get far enough to try converting any courses. I
keep getting this error instead: [image: Screen Shot 2021-12-29 at 11.59.42
PM.png]
This is with the latest release and I've tried doing what everyone else
says to try many times. Always this. Other friends have tried it and get
the same error.
On Wed, Dec 29, 2021 at 3:44 AM wilddom @.***> wrote:

I've never seen this happen. Could you post the course url? Did you try
the latest release?
—
Reply to this email directly, view it on GitHub
https://github.com/wilddom/memrise2anki-extension/issues/105#issuecomment-1002531159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWW3UR7ZJQV6SJ3VQ57B723UTLRCFANCNFSM5I2YABPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

--
Aubrey Farnsworth

The screenshot is broken, I'm afraid.

I've tried doing what everyone else
says to try many times.

And that's what exactly?

Does it work if I send it as an attachment?
With the latest release, I get error messages. As recommended, I go into
memrise.py and make sure all the "www.memrise" is changed to "app.memrise",
and so do the other people in my study group. And we all get a similar
message (I replaced part of the message for privacy reasons):
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-12-30 14:05:16
Add-ons possibly involved: release
Caught exception:
Traceback (most recent call last):
File "/Users/heyheyrainyday/Library/Application
Support/Anki2/addons21/release/importer.py", line 214, in accept
if
self.memriseService.login(self.usernameLineEdit.text(),self.passwordLineEdit.text()):
File "/Users/heyheyrainydayh/Library/Application
Support/Anki2/addons21/release/memrise.py", line 840, in login
for field in form.find_all("input"):
AttributeError: 'NoneType' object has no attribute 'find_all'
On Thu, Dec 30, 2021 at 12:43 AM wilddom @.***> wrote:

The screenshot is broken, I'm afraid.
I've tried doing what everyone else
says to try many times.
And that's what exactly?
—
Reply to this email directly, view it on GitHub
https://github.com/wilddom/memrise2anki-extension/issues/105#issuecomment-1002909267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWW3UR6Y7ASSNCYDY5LJJ73UTQESNANCNFSM5I2YABPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

--
Aubrey Farnsworth

You are definitely using an old version of the addon, please try the 1.2.7 release. And actually this issue opened by @William100-0 is about a different error.

Im getting the same problem with the 1.2.7 release (and any release I can find)
'Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.43 (0fbae6bc) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-03-31 17:36:23
Add-ons possibly involved: memrise2anki
Caught exception:
Traceback (most recent call last):
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/importer.py", line 856, in importCourse
raise exc_info0.with_traceback(exc_info[2])
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/importer.py", line 151, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/memrise.py", line 870, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/memrise.py", line 623, in loadCourse
course.title = sanitizeName(courseData["session"]["course"]["name"], "Course")
TypeError: 'NoneType' object is not subscriptable'
Could I change something in the code to fix it?

Same error!
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2022-05-09 09:47:33
Caught exception:
Traceback (most recent call last):
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\importer.py", line 968, in startCourseImporter
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 764, in isLoggedIn
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 752, in openWithRetry
File "urllib\request.py", line 531, in open
File "urllib\request.py", line 640, in http_response
File "urllib\request.py", line 569, in error
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

See #113


Added a blog on "writing for software engineers"

Added a blog on "writing for software engineers"
Description

Checklist

[x] My change follows the Contributing Guidelines
[x] I have added only one new link to the list.
[x] I have checked that the link that I added does NOT exist in the project already.
[x] I have sorted the link alphabetically under the related section.

Hey @tyaga001 it is really great to see you here!
It seems like you've added two links in your PR.
It is given in the Contributing Guidelines to only add one new link to the README.md file.
No worries, perhaps you can open a new PR and add only new link?
Cheers :+1:

Hey @tyaga001 :wave:
Did you understand the previous comment?


Added SwiftyCam.

Project URL
https://github.com/Awalz/SwiftyCam
Description
A Snapchat Inspired iOS Camera Framework written in Swift.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

758
301
https://github.com/ideaismobile/IDMPhotoBrowser redirects tohttps://github.com/thiagoperes/IDMPhotoBrowser

  Generated by :no_entry_sign: danger


http post throw error on getting 403 status

Laravel Version: 7.9.2
PHP Version: 7.3.17
Database Driver & Version:

Description:

Steps To Reproduce:
call to this url and then got directly get error.
"http://fe.vrbetdemo.com/MerchantQuery/GameBet", ["1.0", "JHHY", "zOsKgfUvfDrM0JRDL4bAWY203+OTk9Ix66YZ877F0ro2Q5PPapN9koMfcZohyrQk0xYHOKdNx69cqaJynFqk3EH3iB1Ls9wNZHTh29j7uXsHy3x/3Db3kTW8DjQFBQ85"])

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


tls instrumentation in @opentelemetry/instrumentation-net tries to operate on closed span

What version of OpenTelemetry are you using?

<EMAIL_ADDRESS><EMAIL_ADDRESS>
What version of Node are you using?
Reproduced on:

18.18.2
20.9.0

What did you do?
When instrumented code uses fetch in a non-idiomatic manner, the tls instrumentation attempts to do an action on a closed tls.connect span.
For example, instrumenting the following code:
fetch('https://example.com').then(() => {
    // A
    console.log('got a response');
});

// let the fetch timeout, hitting B
setTimeout(() => {}, 10_000);

The fetch timeouts since the response is not properly handled.
Point A is called when the CONNECT event is emitted, handled inside otel here: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/de6156aea1db7a7a018ad34f08cfc9f7ff7752b8/plugins/node/opentelemetry-instrumentation-net/src/instrumentation.ts#L122-L143
Point B is called when the ERROR event is emitted, handled here: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/de6156aea1db7a7a018ad34f08cfc9f7ff7752b8/plugins/node/opentelemetry-instrumentation-net/src/instrumentation.ts#L145-L151
First A is emitted, setting some attributes and ending the span. Then B is hit, which attempts to set a status and close the span. That's invalid, since the span has already ended. With OTEL_LOG_LEVEL set to info, it prints something like the following:
Can not execute the operation on ended Span {traceId: 05b3d14d94bff06cd612b28e3df51afe, spanId: 0474f505a765a41f}
Can not execute the operation on ended Span {traceId: 05b3d14d94bff06cd612b28e3df51afe, spanId: 0474f505a765a41f}
tls.connect 05b3d14d94bff06cd612b28e3df51afe-0474f505a765a41f - You can only call end() on a span once.

What did you expect to see?
The tls instrumentation handles these scenarios without stepping on its own toes.
What did you see instead?
When a fetch timeouts, the tls instrumentation tries doing operations on an ended span
Possible solutions
A couple of options (of course, more are possible):

Clear the event listeners inside the connect handler
Wrap the entire tls connection in a span of its own, where tls.connect is a child span. Subsequent errors hit the longer parent span

I'm more than willing to create a followup PR for this

Thanks for reporting this! I'm not in-depth familiar with this instrumentation but it looks like if option 1 can be done without it impacting the way currently exported telemetry looks, I'd prefer it. 🙂
Assigning p4 as it's primarily logspam; am I right with that assumption?- or are you also seeing that the exported span is incorrect? That would bump it to p2.

it looks like if option 1 can be done without it impacting the way currently exported telemetry looks, I'd prefer it.

Yes, that's what it looks like; since the span is closed anyway, it couldn't have been changed by the existing behaviour. Bigger-picture, it may be preferable to have the error on some span. I don't currently recall if that's the existing case.
I'll PR soon enough to implement the behaviour, it's a simple one-liner.

Assigning p4 as it's primarily logspam; am I right with that assumption?

That's correct, it's slightly annoying when reading logs, but nothing bigger than that.
Thanks!

Hello guys, has this fix made it into the latest releases? Thanks.

Hello guys, has this fix made it into the latest releases? Thanks.

@ccoqueiro It should be available now in v0.32.4. In case it helps, I found this by clicking to the PR and clicking on the commit that merged into Main. That shows the tags that contain this commit. Contrast that with a commit from a more recent PR, it will only show main and not other tags. Hope this helps!


add support for payload verification and decryption from other sample

[x] add support for key vault certificate deserialization
[x] add support for app only context
[x] add rich notification subscription properties support
[x] add support for key decryption
[x] add support for token validation
[x] add support for signature validation
[x] add support for payload decryption
[ ] update readme with information from https://github.com/microsoftgraph/aspnetcore-webhook-with-resource-data-sample

Note: the work is in progress on the https://github.com/microsoftgraph/aspnetcore-webhooks-sample/tree/feature/rich-notifications branch

fixed by #25


[python3] Build error

Package: python3:x64-linux -> 3.11.4#4
Host Environment

Host: x64-linux
Compiler: GNU 10.2.1
vcpkg-tool version: 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416
vcpkg-scripts version: 436a061 2023-08-25 (3 days ago)

To Reproduce
vcpkg install python3
Failure logs
-- Downloading https://github.com/python/cpython/archive/v3.11.4.tar.gz -> python-cpython-v3.11.4.tar.gz...
-- Extracting source /vcpkg/downloads/python-cpython-v3.11.4.tar.gz
-- Applying patch 0001-only-build-required-projects.patch
-- Applying patch 0003-use-vcpkg-zlib.patch
-- Applying patch 0004-devendor-external-dependencies.patch
-- Applying patch 0005-dont-copy-vcruntime.patch
-- Applying patch 0008-python.pc.patch
-- Applying patch 0010-dont-skip-rpath.patch
-- Applying patch 0012-force-disable-curses.patch
-- Applying patch 0014-fix-get-python-inc-output.patch
-- Applying patch 0015-dont-use-WINDOWS-def.patch
-- Applying patch 0002-static-library.patch
-- Applying patch 0011-gcc-ldflags-fix.patch
-- Using source at /vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
-- Finished generating configure for x64-linux
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Installing x64-linux-dbg
-- Building x64-linux-rel
-- Installing x64-linux-rel
-- Fixing pkgconfig file: /vcpkg/packages/python3_x64-linux/lib/pkgconfig/python-3.11-embed.pc
-- Fixing pkgconfig file: /vcpkg/packages/python3_x64-linux/lib/pkgconfig/python-3.11.pc
-- Fixing pkgconfig file: /vcpkg/packages/python3_x64-linux/debug/lib/pkgconfig/python-3.11-embed.pc
-- Fixing pkgconfig file: /vcpkg/packages/python3_x64-linux/debug/lib/pkgconfig/python-3.11.pc
CMake Error at ports/python3/portfile.cmake:300 (message):
  There should be no modules with "_failed" suffix:

  /vcpkg/packages/python3_x64-linux/debug/lib/python3.11/lib-dynload/_ctypes.cpython-311d-x86_64-linux-gnu_failed.so

  /vcpkg/packages/python3_x64-linux/lib/python3.11/lib-dynload/_ctypes.cpython-311-x86_64-linux-gnu_failed.so
Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)

Reproducable by using the container image quay.io/pypa/manylinux2014_x86_64 (which is a common container to use for building native Python libraries that have to work on many different flavours of Linux).

The reason for the error seems to be:
*** WARNING: renaming "_ctypes" since importing it failed: /vcpkg/buildtrees/python3/x64-linux-rel/build/lib.linux-x86_64-3.11/_ctypes.cpython-311-x86_64-linux-gnu.so: undefined symbol: ffi_type_void
A likely cause for the problem could be: https://github.com/microsoft/vcpkg/commit/edd3db2e3be3967073756cc83cd500135eaaae69.
Digging a bit deeper, it seems -lffi is not added to the ldflags when compiling ctypes:
/opt/rh/devtoolset-10/root/usr/bin/cc -pthread -shared -Wl,-rpath,/vcpkg/installed/x64-linux/lib -L/vcpkg/installed/x64-linux/lib -L/vcpkg/installed/x64-linux/lib -fPIC -O3 -DNDEBUG build/temp.linux-x86_64-3.11/vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-3.11/vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-3.11/vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean/Modules/_ctypes/callproc.o build/temp.linux-x86_64-3.11/vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean/Modules/_ctypes/cfield.o build/temp.linux-x86_64-3.11/vcpkg/buildtrees/python3/src/v3.11.4-101b2af427.clean/Modules/_ctypes/stgdict.o -L/vcpkg/installed/x64-linux/lib -L/usr/local/lib -ldl -o build/lib.linux-x86_64-3.11/_ctypes.cpython-311-x86_64-linux-gnu.so
So the library has unresolved symbols for all ffi-related symbols. The libffi.a file is in the lib64 folder; when I move it to the lib folder and add -lffi to the above command, the library does work as expected.

Reverting edd3db2e3be3967073756cc83cd500135eaaae69 indeed resolves the issue. So it is something in vcpkg that broke it (just to rule out it not being an upstream issue).

The lib64 seems to be giving the clue. A workaround is:
Install libffi first, move the files from lib64 into lib, and now Python compiles just fine.
I am good in telling where the problem is, but I wouldn't have a clue where to start looking for a fix. Hope someone else has some clues :)

The lib64 seems to be the clue here. The following workaround seems to work:

./vcpkg install libffi
mv installed/x64-linux/lib64/* installed/x64-linux/lib/
mv installed/x64-linux/debug/lib64/* installed/x64-linux/debug/lib/
./vcpkg install python3

And although I am pretty good in figuring out what breaks exactly, I wouldn't have a clue how to fix it. But I think the libffi should be told to always output in lib, and never in lib64.


Oxygen vents not working in pasted schematic

For the creative part I tend to use schematics/creative mode, which I then use for surivival. I pasted in a starship into a space station world, and had difficulty getting the oxygen vents to work (have them working in other stations/moons). I realized it may have something to do with the pasting of the schematic. I found that when I moved outside the pasted zone, the oxygen vents would work again.
Is it possible to get the oxygen vents to work in combination with using schematics?

It may have to do with how and what order schematics place blocks.  Does the vent still fail to work if the redstone to it is switched off and on?

@zmaster587
Yes I tried multiple times with toggling redstone, destroying the block and replacing it, adding and removing power supply etc.

Would you be able to provide a copy of the region containing the pasted schematic? I'm wondering if there's some invisible non-air block stuff going on.


High CPU and disk write usage on Linux Mint 21.3

I've noticed high CPU and disk write recently. Not sure exactly when this started, but I noticed my laptop fan spinning up a lot lately and found TrayScale was using a lot of resources.
Screenshot of System Monitor:

When it's doing this, I can't open/maximise it from the systray menu > Show (nothing appears), and when I quit with systray menu > Quit, the systray icon disappears, but the process keeps running.
So I End the process in System Monitor and re launch, and
Then upon reopening, it is much better behaved - Screenshot:

TrayScale Flatpak:

Version: v0.13.0
Last updated: July 12, 2024
Runtime: org.gnome.Platform/x86_64/46

System specs:

OS: Linux Mint 21.3 x86_64
Kernel: 6.5.0-44-generic
DE: Cinnamon 6.0.4
CPU: Intel i7-9850H (12) @ 2.600GHz
GPU: NVIDIA GeForce MX150
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 6165MiB / 31868MiB

That's very strange. Except for when accepting Taildrop files or modifying settings in the preferences page, Trayscale doesn't write to the disk at all. Maybe it's related to #135 and however it's being started is directly attaching stdout to a file on disk, hence why it's attributing it to the process. That also seemed to be a Mint-specific problem. Can you check to see if a log is filling up somewhere? Also, do you have Taildrop enabled?

Good idea, I'll check for growing logs next time it happens.
I'm now thinking it may happen when I leave my laptop running for multiple days in the office. I have Suspend and WiFi power saving disabled when plugged-in, but maybe something similar? Or the Cinnamon DE misbehaving?
Also, I haven't enabled Taildrop.
I'll try to reproduce the issue and update here if I find anything. Cheers!

Also, I haven't enabled Taildrop.

Trayscale currently logs an error every time it polls if Taildrop isn't on, which is every five seconds by default. It's something I'm planning on fixing in the near future, but there's a good chance that that's the cause.

Thanks! ☕
I saw the update come through yesterday. I'll let you know if this is an issue in future.

I've just had this happen again. I had my laptop running overnight, just locked screen and left it running.
This morning when I unlocked, there was a warning about low storage space and computer crippled. So I had to reboot.
I found an enormous log file in my home drive: ~/.xsession-errors.old with this line repeated:
2024/08/23 07:45:57 ERROR get Tailscale status err="get tailscale status: Failed to connect to local Tailscale daemon for /localapi/v0/status; not running? Error: dial unix /var/run/tailscale/tailscaled.sock: connect: no such file or directory"

Here's the first 300 lines of this log, showing where this starts: xsession-errors-old_head_output.txt
This is a bit beyond me, so not sure if this is a Trayscale, Flatpak, or Cinnamon issue?

Hmmm... Looks like Trayscale couldn't find the tailscaled socket and then complained about it and filled up the logs again. Mint is weird that it does that by default.
The most likely cause is that tailscaled crashed or otherwise wasn't running. Does journalctl -du tailscaled.service show anything?

The first lines when it stopped working are
2024/08/22 10:11:44 ERROR get Tailscale status err="get tailscale status: Get \"http://local-tailscaled.sock/localapi/v0/status\": EOF"
2024/08/22 10:11:44 ERROR get Tailscale status err="get tailscale status: Get \"http://local-tailscaled.sock/localapi/v0/status\": read unix @->/run/tailscale/tailscaled.sock: read: connection reset by peer"
2024/08/22 10:11:44 ERROR get Tailscale status err="get tailscale status: Failed to connect to local Tailscale daemon for /localapi/v0/status; not running? Error: dial unix /var/run/tailscale/tailscaled.sock: connect: connection refused"

And then that last line repeats for hundreds of lines. That makes it look to me like Trayscale was connected to the daemon and then suddenly lost the connection, probably because of the daemon crashing. That caused an EOF on some read as the socket suddenly had no data to send. That was followed quickly by a full connection loss, and then repeated failures to reconnect.

So, there is a bug that causes a retry on a failure to get the network status from tailscaled to be instantaneous instead of waiting like when it polls normally, but even if I fix that it'll go from polling repeatedly to once every five seconds by default. I can give it some falloff, but that means that once it comes back up the amount of time that it'll take to notice is quite a while, which is significantly less than ideal.
Unfortunately, this seems to just be a problem with the way Mint has its logging configured and there isn't that much that I can do about it besides manually logging to a file somewhere. You can fix it by adding a &> /dev/null to the end of the Exec line for the autostart config, but that means that if something does break, all the logs will be lost.

Thanks for looking into this. I'll see how I go, and add the &> /dev/null  if this continue to be an issue.
I suspect the connection losses may be related to internet outages which exacerbates things - I've recently been experiencing increased Starlink interruptions and outages.


Database migration failure when dropping indexes

Unable to drop indexes when running db/migrate/20170702012742_ensure_indexes_in_place.rb.
MySQL requires the foreign keys be dropped before the indexes are removed.

users_perms
questions_themes
answers_question_options

added lines to the migration file to drop and then re-add the foreign keys on the tables listed above

fix has been merged into development. Will be moved into master during the next release

can't test. closing issue.


DEX create password, DCR wallet and add server

Work towards #619

Initialize app password
Add wallet for dcr to use to pay the dex server fee
Add dex server this come before adding any wallet
Show the fee confirmations

Test server: dex-test.ssgen.io:7232

i see a few unrelated changes to the issue addressed here.
Like appCTX dex initializing a db on godcr etc.

Both those changes re appCTX and additional db are part of the DEX client initialization process. I think that initial setup is missing in the PR description, although it might also be too granular to include.
This PR uses a couple dcrdex packages to provide DEX client functionality. The primary package for this purpose is decred.org/dcrdex/client/core which provides methods for initializing the client, adding wallets, placing and canceling orders and executing trades. Once decred.org/dcrdex/client/core is started, a number of background processes may run simultaneously. When starting core, a ctx is required that will be used to signal to core when all processes should shutdown. This context cannot be a random context.Background() but a context that actually gets canceled when the GoDCR app is shutting down; this signals core to also shutdown its activities. That's why the appCtx was introduced. In all honesty though, there should have been an appCtx running around somewhere to ensure pages are closed, background processes stopped when the godcr app is shut down; instead of using context.Background() as I've seen in a couple portions of this codebase.
As explained in a comment above, core needs to maintain its own database to function effectively. The DEX client is a pretty big app on its own and most of the work being done on the GoDCR end will be providing the interface to perform DEX functionality using core behind the scene.

i see a few unrelated changes to the issue addressed here.
Like appCTX dex initializing a db on godcr etc.

Both those changes re appCTX and additional db are part of the DEX client initialization process. I think that initial setup is missing in the PR description, although it might also be too granular to include.
This PR uses a couple dcrdex packages to provide DEX client functionality. The primary package for this purpose is decred.org/dcrdex/client/core which provides methods for initializing the client, adding wallets, placing and canceling orders and executing trades. Once decred.org/dcrdex/client/core is started, a number of background processes may run simultaneously. When starting core, a ctx is required that will be used to signal to core when all processes should shutdown. This context cannot be a random context.Background() but a context that actually gets canceled when the GoDCR app is shutting down; this signals core to also shutdown its activities. That's why the appCtx was introduced. In all honesty though, there should have been an appCtx running around somewhere to ensure pages are closed, background processes stopped when the godcr app is shut down; instead of using context.Background() as I've seen in a couple portions of this codebase.
As explained in a comment above, core needs to maintain its own database to function effectively. The DEX client is a pretty big app on its own and most of the work being done on the GoDCR end will be providing the interface to perform DEX functionality using core behind the scene.

Valid point.. however, i believe dcrlibwallet is designed for this. We can pass any required parameter to the calling function from the lib.
dcrwallet, VSPD etc operate almost like dex.

Link to the DEX icons https://www.figma.com/file/e0cYaAzkXyXXPY00v23cQY/GoDCR?node-id=452%3A90904


Add tool to print code page information on Windows

Since #1915, ninja does not always expect build.ninja to be encoded in the system's ANSI code page.  The expected encoding now depends on how ninja is built and the version of Windows on which it is running.
Add a -t wincodepage tool that generators can use to ask ninja what encoding it expects.
Issue: #1195

Cc: @jhasse @KyleFromKitware

With ninja built by CMake, running in Windows Console on Windows 10 1903+:
>ninja -t wincodepage
ANSI code page: 65001
Console code page: 437

With ninja built by CMake, running in mintty on Windows 10 1903+:
$ ninja -t wincodepage
ANSI code page: 65001
Console code page: 65001

With ninja built by configure.py, running in Windows Console on Windows 10 1903+:
>ninja -t wincodepage
ANSI code page: 1252
Console code page: 437

With ninja built by configure.py, running in mintty on Windows 10 1903+:
$ ninja -t wincodepage
ANSI code page: 1252
Console code page: 65001

With ninja built by either CMake or configure.py, running in Windows Console on Windows 7:
>ninja -t wincodepage
ANSI code page: 1252
Console code page: 437

This output is not machine readable, and a detailed description of the output is not provided in the documentation.
+1 for the overall concept though.

This output is not machine readable

Sure it is.  It's a key: value syntax, with one entry per line.  I'm open to alternative suggestions, but the format should remain very simple (e.g. no JSON).

You're quite right... I guess that didn't occur to me. It's so human-readable that it didn't occur to me that it didn't occur to me that it might be machine-readable too.
+1

I updated the branch to specify the tool's output format in the documentation.  I also fixed formatting of the missingdeps tool's documentation in a separate commit.

Thanks!

We are now working on using this on our end - please see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5860.

@bradking , @jhasse Code pages are super tricky. I have some feedback on the design:
The concept of supporting multiple codepages is something we should move away in favor of using utf-8 as much as possible. For this reason, I think a better design would be to have ninja report whether it supports utf-8 as a boolean, yes or no. If yes, then its build configuration files should be utf-8. If no, then they should be ANSI, which is a system-global setting that can be retrieved by cmake. This avoids having implicit support for ninja reporting that it operates in a third codepage that is neither the system ANSI nor utf-8.
The console code page is an extremely tricky piece of legacy and reporting it can only cause misinterpretations. What the console code page controls is how the console decodes the stdout of a program attached to it. When a program's output is redirected, there is no reason to honor the console code page and the Windows console team advocates always using utf-8 in this case for interoperability between the programs involved. This gets more complicated by the fact that not all programs honor this rule, and ninja pipes the output of other program to its own. Ninja can decide in which encoding to write its own output text, but it has no control over the encoding used by the programs it calls, which it pipes back to its own stdout. This is prone to leading to a mixed encoding stream.
Moreover, the console code page from GetConsoleOutputCP() is a property of the console window to which Ninja is attached, not of the Ninja process. It could be different depending on the context of a specific Ninja invocation, so it makes no sense to ask it in one invocation and cache the information.
My suggestion is to treat the stdout of ninja as utf-8 at all times (even when that might not be true), which I think is what cmake already does. This might cause corruption in some ill-behaved programs, but is the only reasonable way to solve code page issues.
Summary:

ANSI code page: change to utf-8 boolean
Console code page: remove

@MrTrillian thanks.  I included the console code page for use in debugging encoding problems when running ninja in a given console.  It's useful information.  Having the full ANSI code page is also useful to debug encoding problems.  The change on CMake's side will treat the result as a boolean == 65001.

#1920 clarifies the documentation.

@bradking If you're in a cmd.exe prompt and about to run ninja, chcp will give you the same results as starting ninja and having ninja report GetConsoleCP()/GetConsoleOutputCP() since it'll be sharing the same console. Similarly, if you're in a process like cmake running in a console and about to call CreateProcess("ninja"), calling GetConsoleCP()/GetConsoleOutputCP() yourself will give the same results as asking ninja to do it since it'll be sharing the same console. Given this, there is no value in having ninja report the console code page, and it seems prone to be misused or misunderstood.
For the ANSI code page, cmake might know to only interpret it as == 65001, but other developers seeing ninja report this information might think that they have to handle the full gamut of codepages in case ninja ever reports one of them as its ANSI codepage. In my opinion, the additional information is more problematic than useful in this case.

@MrTrillian if ninja.exe is invoked in some arbitrary context, not manually in a console window, then the console window created under the hood for the process is not something a human can access to run chcp.  Showing it with -t wincodepage could be an important debugging tool.

other developers seeing ninja report this information might think that they have to handle the full gamut of codepages

Not if they read the documentation updated as in #1920.

@bradking In that case, the console window created for ninja will have its console code page initialized to the OEM code page, which the starting process could have retrieved using GetOEMCP() since that's a system-wide setting. But why would the starting process even care about this? There is nothing useful it can do with that information (if ninja's output is redirected, it shouldn't try to honor its console code page).
Relying on documentation is more brittle than transmitting targeted info.

#1921 minimizes information in the output as proposed above.


[ISSUE #4751] Optimize NettyRemotingAbstract#processRequestCommand code

Make sure set the target branch to develop
What is the purpose of the change
close #4751
Brief changelog

Optimize NettyRemotingAbstract#processRequestCommand code

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

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

Coverage decreased (-0.02%) to 49.154% when pulling e5ddad52cb4161080e532c605952ecddb0bd94a1 on mxsm:rocketmq-4751 into c6b3a66ecf5e6bdeffb01093e5216bb10ee64a59 on apache:develop.


Enable support for binary logistic regression

Description
Fixed the computation of loss and class gradients for the scikitlearn logistic regression classifier in the binary case.
Fixes #171
Type of change
Please check all relevant options.

[x] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

[x] Ran the test case provided in the issue description
[x] Ran the notebook classifier_scikitlearn_LogisticRegression.ipynb
[x] Added unit test

Test Configuration:

Mac OS
Python 3.5.6
ART 1.0.0
Sklearn 0.21.3

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Thank you @beat-buesser for your review. I've addressed your comment in my latest commit.


nodejs postinstall: tsc: command not found

What happened?
I created pulumi packages, put them in a git repo, then went to my main pnpm pulumi workspace, ran pnpm add (successfully).
Then I rm -rf node_modules/ && pnpm i, now i have this error:
Running postinstall script, failed in 55msiled with exit code 1.
.../node_modules/@pulumi/cloudnative-pg postinstall$ node ./scripts/postinstall.js
│ /bin/sh: line 1: tsc: command not found
│ Command failed: tsc

Example
pnpm add 'github:Extrality/pulumi-crds#path:/gen/rabbitmq-operator'
Output of pulumi about
not useful here
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Ah it's on me, pnpm i --dev && pnpm i works


Fancy dmg

Please review our contributing guidelines
Please review our Code of Conduct

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

We need to rebase this on top of master now that the fixes have gone in. I can take care of that if you'd like but you'll have to do a force pull or I can wait for you to. I'm all for making a nicer dmg for the mac artifact but simply removing the macdeployqt call is likely going to break stuff. Aside from just packaging it, I believe it also manages all the relocations and bundling of the qt frameworks into the app bundle. We're going to have to make sure that we do those additional steps if we move away from it. We can test this be deleting qt from your system and then attempting to run the app bundle from the build pipeline.


Space check sometimes inacurate

e.g. I got an error saying my temp drive was out of space when it wasnt and of course the DB being copied was not residing on that drive in any case.

need to update Get-Product level and maybe others

need to update Get-Product level and maybe others


InvalidCipherTextException: mac check in GCM failed

16:18:42  org.bouncycastle.tls.TlsFatalAlert: bad_record_mac(20)
16:18:42  	at org.bouncycastle.tls.crypto.impl.bc.BcTlsAEADCipherImpl.doFinal(Unknown Source)
16:18:42  	at org.bouncycastle.tls.crypto.impl.TlsAEADCipher.decodeCiphertext(TlsAEADCipher.java:250)
16:18:42  	at org.bouncycastle.tls.DTLSRecordLayer.processRecord(Unknown Source)
16:18:42  	at org.bouncycastle.tls.DTLSRecordLayer.receive(Unknown Source)
16:18:42  	at org.bouncycastle.tls.DTLSTransport.receive(Unknown Source)
16:18:42  	at com.ericsson.cces.ueinfo.ipfix.collector.dtls.DTLSSession.decodeNonHandShakeMessage(DTLSSession.java:163)
16:18:42  	at com.ericsson.cces.ueinfo.ipfix.collector.dtls.DTLSSession.decode(DTLSSession.java:137)
16:18:42  	at com.ericsson.cces.ueinfo.ipfix.collector.traffic.southbound.business.handler.udp.DTLSDecodingHandler.channelRead0(DTLSDecodingHandler.java:31)
16:18:42  	at com.ericsson.cces.ueinfo.ipfix.collector.traffic.southbound.business.handler.udp.DTLSDecodingHandler.channelRead0(DTLSDecodingHandler.java:20)
16:18:42  	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
16:18:42  	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
16:18:42  	at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61)
16:18:42  	at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:370)
16:18:42  	at io.netty.util.concurrent.UnorderedThreadPoolEventExecutor$NonNotifyRunnable.run(UnorderedThreadPoolEventExecutor.java:292)
16:18:42  	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
16:18:42  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
16:18:42  	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
16:18:42  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
16:18:42  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
16:18:42  	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
16:18:42  	at java.base/java.lang.Thread.run(Thread.java:834)
16:18:42  Caused by: org.bouncycastle.crypto.InvalidCipherTextException: mac check in GCM failed
16:18:42  	at org.bouncycastle.crypto.modes.GCMBlockCipher.doFinal(Unknown Source)
16:18:42  	... 21 common frames omitted
Looking forward to your help

There's not really enough to go on here. If the failures are intermittent I might suspect an issue related to the (apparently) multi-threaded usage. Does this happen on the very first packet received or at some random time later?

There's not really enough to go on here. If the failures are intermittent I might suspect an issue related to the (apparently) multi-threaded usage. Does this happen on the very first packet received or at some random time later?

I am very grateful for your reply.
the failures are intermittent， Our component test will only send one or two packets, so we can't determine when it happened. The first thing I thought of was the issue of multi-threading, but I did not troubleshoot the issue of multi-threading.
I will continue to troubleshoot multi-threading issues later。

There's not really enough to go on here. If the failures are intermittent I might suspect an issue related to the (apparently) multi-threaded usage. Does this happen on the very first packet received or at some random time later?

sorry to disturb you again after so long.
this issue is exhausting me, seems it happened on the first two packet received, i use bc with netty, i dont sure that is it related to netty.
there is no difference between the packet sent by client & the packet received by server. And it seems that the client does not have thread safety issues.
does the bad_record_mac must be packet mess?

The stack trace you provided clearly shows the code running in a thread pool, so multithreading is a possible issue if you did the handshake on one thread and then switched to processing application data on other threads. I assume this stack trace is from the server?

What version of BC are you using? Is it the latest?
What software is the other side (client) using?
Do you know if the client and/or server work properly when connecting to some other implementation?
If you try negotiating a different cipher suite do things then work?

bad_record_mac could mean some sort of packet corruption on-the-wire, but it's not common in practice. Especially if you see the error reliably then more likely the client/server somehow didn't agree on the cipher key correctly (which shouldn't happen if the handshake succeeded successfully), or as I said maybe some thread safety issue is leading to corrupted calculation/data.

The stack trace you provided clearly shows the code running in a thread pool, so multithreading is a possible issue if you did the handshake on one thread and then switched to processing application data on other threads. I assume this stack trace is from the server?

What version of BC are you using? Is it the latest?
What software is the other side (client) using?
Do you know if the client and/or server work properly when connecting to some other implementation?
If you try negotiating a different cipher suite do things then work?

bad_record_mac could mean some sort of packet corruption on-the-wire, but it's not common in practice. Especially if you see the error reliably then more likely the client/server somehow didn't agree on the cipher key correctly (which shouldn't happen if the handshake succeeded successfully), or as I said maybe some thread safety issue is leading to corrupted calculation/data.
e.g. If you change the server to do the whole handshake and application-data processing in a single thread, does it then work?

Really appreciate you reply.
Because of the VPN problem, I am very sorry to see your answer so late.

Q: so multithreading is a possible issue if you did the handshake on one thread and then switched to processing application data on other threads.
A: it's impossible as ConcurrentHashMap is used to store dtls sessions

I assume this stack trace is from the server?  -- yes

What version of BC are you using? Is it the latest?    -- Almost latest

What software is the other side (client) using?    -- jmeter plugin with bc & netty

Do you know if the client and/or server work properly when connecting to some other implementation?  -- not yet

If you try negotiating a different cipher suite do things then work?  -- maybe try later

bad_record_mac could mean some sort of packet corruption on-the-wire, but it's not common in practice. Especially if you see the error reliably then more likely the client/server somehow didn't agree on the cipher key correctly (which shouldn't happen if the handshake succeeded successfully)    --  some changes. I said before it happened on the first two packet received, But now it happens with a probability of one in tens of millions，maybe this is data corruption during network transmission?

If you change the server to do the whole handshake and application-data processing in a single thread, does it then work?  -- This may affect performance，but if this problem remains unresolved, i will try it.

Many thanks.

Developing a single-threaded version of the server will be the best test of whether the issue is related to a race condition (i.e. multithreading). "a probability of one in tens of millions" is consistent with a race condition.
I guess it could also be packet corruption in the network; in my experience that has never been an issue, but obviously networks can have varying quality, so I can't rule it out.
Such rare failure implies at least that the handshake is basically working i.e. both sides agree on the cryptographic settings and are accepting each others' 'Finished' messages. So I think testing a simple single-threaded version will clarify the source of the problem.

Developing a single-threaded version of the server will be the best test of whether the issue is related to a race condition (i.e. multithreading). "a probability of one in tens of millions" is consistent with a race condition.
I guess it could also be packet corruption in the network; in my experience that has never been an issue, but obviously networks can have varying quality, so I can't rule it out.
Such rare failure implies at least that the handshake is basically working i.e. both sides agree on the cryptographic settings and are accepting each others' 'Finished' messages. So I think testing a simple single-threaded version will clarify the source of the problem.

Great thanks.
We did a three-day stability test. If the network environment is stable, the issue of bad_record_mac has not occurred, so I suspect it is related to the previous network access method.
I will continue to observe this problem.

Appears resolved.


Integration Test - Release - 2018/09/21 01:18:06

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest1 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Clarification on Wiki for deploying WARs to a given app name

Currently, as of writing this, the wiki for WAR deployment states "Deploying to web apps other than the ROOT webapp is not supported yet."
https://github.com/projectkudu/kudu/wiki/Deploying-WAR-files-using-wardeploy#known-issues
However, to me, it appears that this functionality is available in the code here:
https://github.com/projectkudu/kudu/blob/2b34aad2e59a06be70fdb4096d24806e3907f9aa/Kudu.Services/Deployment/PushDeploymentController.cs#L99
Is the Wiki article correct in that you do not support the feature even though it exists, or does the Wiki article need updating to reflect this feature?

@shrishrirang can you respond and/or clarify wiki? Thanks!

@joefuzz You are right. The feature is available on Windows for quite some time now and was made available on Linux about two weeks back. The wiki has been updated to reflect that. Thanks for reporting!


building GOARCH=386 c-shared library using gccgo

Hello,
I have been googling to figure out a way to build 32 bit x86 c-shared libraries on linux platform using gccgo. The go build command only seems to support linux/x64 architecture on go1.5 but some online articles suggest it can be done by using gccgo directly. I have tried installing gccgo and building libraries but have not been very successful in running the c-shared example showed in  http://blog.ralch.com/tutorial/golang-sharing-libraries/ (loading a c-shared lib in a c program).  I get this error "fatal error: cgo callback before cgo call". The go build command also has a dependency on libgolibbegin.so but I could not find it anywhere. Can anyone give  pointers on how to achieve this mode ?
Thanks !!

Please ask questions on the golang-nuts mailing list.
I'm sure gophers there will be able to help.
The issue tracker is for proposals and bug reports only.
Thanks.


v2.0.0b2

You could already update the return type hint. Otherwise i will do that in my MR after i rebase.

You could already update the return type hint. Otherwise i will do that in my MR after i rebase.

Pushed in most recent. Working on a basic visibility function so the branch is in flux


(feat/monitor): Make ALLOW_SIGN_UP configurable via the chart

This is to toggle the signup page on the grafana login screen
https://github.com/deis/monitor/blob/master/grafana/rootfs/usr/share/grafana/grafana.ini.tpl#L150

I will work on a PR for this

This issue was moved to teamhephy/monitor#8


New pre-built binaries

Hello,
Would it be possible to have a new release with new built-in binaries? Those on the release page are from Dec 2020 and it seems are missing some patches / improvements
Thank you!

Hi @christophetd,
Those recent changes were mostly related to maintenance - https://github.com/projectdiscovery/cloudlist/compare/dev, soon we will continue to work on this project and add new providers along with pushing new release.
Thanks for the reminder.


Update pdfjs-dist with newer version

Apologies if this is not the correct way to ask about this.
This repo - https://github.com/mozilla/pdfjs-dist/tags - appears to be the linked distributable for PDFjs.  It's currently on v3.4.120 which is ~10 releases behind PDFjs from what I can see.  Is there a way to trigger a build of the dist repo?  Is it still being maintained.  We've got a couple items that look like they're solved in some recent releases, but we're using the distributable.
Thanks in advance.

This is unfortunately a known issue, which is effectively blocked on #11851 being fixed (since we don't really know how/why it broke in the first place).
If possible, use the NPM package instead since that one is still being updated; see https://www.npmjs.com/package/pdfjs-dist

Is there a way to trigger a build of the dist repo?

Locally you can run gulp dist against a clone of the PDF.js repository to generate the pdfjs-dist files.

Apologies if this is not the correct way to ask about this.

Perhaps using the "Discussion" feature, rather than an issue, might have been slightly more appropriate in this case.

For anyone else seeing this in the future....
This...
https://www.npmjs.com/package/pdfjs-dist
...and this...
https://github.com/mozilla/pdfjs-dist
...do appear to be out of sync based on the message above...

This is unfortunately a known issue, which is effectively blocked on https://github.com/mozilla/pdf.js/issues/11851 being fixed (since we don't really know how/why it broke in the first place).

https://www.npmjs.com/package/pdfjs-dist does show the most current packages, as well as running this command in your console.  This command is just a nice confirmation that your npm is pointing to the most current version from the registry.
$ npm info pdfjs-dist


Can't get yarn serve running

This is  a bug.

Prerequisites

[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/laravel-enso)
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description

I use the following config:

I run laravel enso in docker
I mapped port 8001 to 8080 in docker
I access laravel enso with http://localhost:8001/login
In my .env File in client folder I defined API_URL=http://localhost:8001/

Expected behavior

Browser should show login screen after calling http://localhost:8001/login
Actual behavior

I get the following error for:
http://localhost:8001/api/meta
Proxy error: Could not proxy request /api/meta from localhost:8001 to http://localhost:8080/ (ECONNRESET).

Any feedback here? It's not urgent but I would like to know if you know the problem or if I need a different approach.
Another question: I used yarn run watch for < 3.7.x - is there something comparable available in the meantime?

Hi @mauthi,
I don't know about the problem, we're not using docker for running Enso projects.
client/.env's API_URL should point to your backend api, not the frontend application, where you access the login page. You can test if you have figured the right one by accessing in the brower http://localhost:8001/api/meta direction. If the backend url is correct you should see in the brower
{"meta":{"appName":"You App","appUrl":"http:\/\/erp.test\/","extendedDocumentTitle":true,"showQuote":true},"i18n":{"en":{"Email":"Email","Password":"Password","Remember me":"Remember me","Forgot password":"Forgot password","Login":"Login","Send a reset password link":"Send a reset password link","Repeat Password":"Repeat Password","Success":"Success","Error":"Error"}},"routes":{"login":{"uri":"api\/login","methods":["POST"],"domain":null},"password.email":{"uri":"api\/password\/email","methods":["POST"],"domain":null},"password.reset":{"uri":"api\/password\/reset","methods":["POST"],"domain":null}}}

Another question: I used yarn run watch for < 3.7.x - is there something comparable available in the meantime?

yarn serve -> much more powerful than the past yarn run watch

I don't know about the problem, we're not using docker for running Enso projects.

@bytebuddha if I can remember correctly did you add the docker stuff to enso? Can you maybe help me with my problem?

Yes i did, i'm not really sure what is causing this error. Could you try mapping 8080 on the host machine to 80 on the docker container? this was how i was using it and i had no problems. Can you try this and see if there error changes?

What did you enter for client/.env's API_URL?
Can you please send me both your docker config and your client/.env file?
Thx

@mauthi I'm at work now, if you would give me about 6 hr's, i can get home and get the requested information. I'll post the files here as soon as i can get to my development project

I was able to setup a new development project using this as the docker-compose.yml
version: '3'

services:
  php:
    build: ./docker
    container_name: vstekscrm
    ports:
      - 8000:80
    volumes:
      - ./docker/vhosts.conf:/etc/apache2/sites-enabled/000-default.conf
      - ./:/var/www/html
    depends_on:
      - mysqldb

  mysqldb:
    image: mysql:5.7.21
    container_name: vstekscrm-${DB_CONNECTION}
    restart: always
    env_file:
      - .env
    environment:
      - MYSQL_DATABASE=${DB_DATABASE}
      - MYSQL_USER=${DB_USERNAME}
      - MYSQL_PASSWORD=${DB_PASSWORD}
      - MYSQL_ALLOW_EMPTY_PASSWORD=true
    ports:
      - 3306:3306
    volumes:
      - /var/lib/mysql

  myadmin:
    image: phpmyadmin/phpmyadmin:4.7
    container_name: vstekscrm-phpmyadmin
    ports:
      - 8081:80
    environment:
      - PMA_ARBITRARY=1
      - PMA_HOST=vstekscrm-${DB_CONNECTION}
    restart: always
    depends_on:
      - mysqldb

and this as .env
APP_NAME=Enso
APP_ENV=local
APP_KEY=base64:rqgh6P417QsyiOM6loi/zPXEiMI0NFWm9S6hvcoXfkI=
APP_DEBUG=true
APP_URL=http://localhost:8000

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=mysqldb
DB_PORT=3306
DB_DATABASE=enso
DB_USERNAME=root
DB_PASSWORD=

DB_TENANT_DATABASE=tenant

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_CONNECTION=sync

REDIS_HOST=<IP_ADDRESS>
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=log
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

LOGIN_ATTEMPTS_PER_MINUTE=5
PASSWORD_LIFETIME=0
PASSWORD_LENGTH=6
PASSWORD_UPPER_CASE_CHARACTERS=0
PASSWORD_NUMERIC_CHARACTERS=0
PASSWORD_SPECIAL_CHARACTERS=0

ENSO_API_TOKEN=adrian

APP_URL is set to http://localhost:8000
and in docker-compose port 8000 on the host is mapped to port 80 on the virtual machine.
Tested with a new clone of laravel-enso

Thx, I changed my configs to your values - now the project is running without errors.
In yarn server I get the following message:
  App running at:
  - Local:   http://localhost:8080/

  It seems you are running Vue CLI inside a container.
  Access the dev server via http://localhost:<your container's external mapped port>/

If I unterstood everything correct now HMR should work so if I change a *.vue File the change should be visible in browser without changing anything? Unfortunately this is not working in my case.

Ok i haven't used the dev server with laravel enso before. Try using the command 'yarn watch' this will only rebuild the project on file change but not start the dev server. This is how i have been developing. Unfortunalty you still need to refresh the browser manually this way though

Ok thx, I thought you are using HMR with docker.
I now yarn build --watch which should be the same - but it would be better without reloading.
If I find a solution I will post it here.

I found a solution - the following config works for me:
docker-compose.yml --> maps my local port 8000 to container's port 8080
    ports:
      - 8000:8080

client/.env --> needed because my apache in docker runs on port 80
API_URL=http://localhost:80/
Now Hot-Reloading works like expected (changes are applied to browser without reloading)


Gh action add docker push in CI

Add maven
Add jdk8
Add Dockerhub profile
Changing Dockerhub repository
Add Dockerfile option

All warning seem to have disappeared.


Linter: Ignore diagnostics outside of the workspace directories?

For example, ignore warnings/errors from included boost libs?  This really comes up with std::forward / aka emplace... Unsure if there is a good way to exclude these and still have it work with emplace..

When you link a lib you can say it a system lib (g++ and clang), this way they ignore the warnings.
Unless you want to parse and modify the compile command I'm not sure you can do that.

you mean when you add a library include path? yea, -isystem should do that. and that reminds me, when i filed this, i was using -I to include my boost headers, after i switched to -isystem in my CXXFLAGS it went away :)


[PTFE-600] Crash on boot

Hello gaspardmoindrot,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.


Better contrast for selected text inside pre code blocks

Hi, I've encountered an issue where selected text inside code blocks is barely visible. To fix it, I changed the color of the ::selection pseudo to match the color of body copy.
Before:

After:

@mvasilkov looks great, thanks for the fix!


Installing from a Git URL

If I install from Git URL (https://docs.unity3d.com/Manual/upm-ui-giturl.html) I get the following error:
[Package Manager Window] Cannot perform upm operation: Unable to add package [https://github.com/metaversesdk/web3unity.git]:
[https://github.com/metaversesdk/web3unity.git] does not point to a valid package. No package manifest was found. [NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:356)

I will look at this ...