No job functions found

[Enter feedback here]
While following this tutorial for Java I get, "No job functions found.Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.)." when running "func start."
I tried with different Java versions in the pom, 8, 11, and 17.
OS:
macOS 14.0
JDK tried with both Temurin and Microsoft:
openjdk version "17.0.7" 2023-04-18 LTS
OpenJDK Runtime Environment Microsoft-7626293 (build 17.0.7+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-7626293 (build 17.0.7+7-LTS, mixed mode)
openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8)
OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode)
Azure Functions Core Tools:
4.0.5390
Reproducer: https://github.com/jeremyrdavis/azure-functions-reproducer

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

ID: 300eb759-d21c-3df9-2aa9-f60bb611ee3a
Version Independent ID: 57f02480-9ced-5d71-34fe-ea60a5c2b1fc
Content: Connect Azure Functions to Azure Storage using command line tools
Content Source: articles/azure-functions/functions-add-output-binding-storage-queue-cli.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

I should add that the function deploys to Azure and messages are sent to the queue.  The problem only exists locally.

@jeremyrdavis
Thanks for your feedback! We will investigate and update as appropriate.

Pretty sure this is me being dumb because Java requires Maven.


[Internal] Client Telemetry: Adds capability to pass Telemetry configuration in Perf tests

Description
Right now, Client Telemetry can be only Enabled or disabled in Performance tests. This PR will give flexibility to pass other configurations related to telemetry i.e ScheduledTimeInSec and EndPointURL

I was able to see data in  ClientRequest table

Type of change

[] Bug fix (non-breaking change which fixes an issue)

Please validate once before check-in?

Please validate once before check-in?

attached the screenshot in the description


Unable to find face

FaceNotFound.txt
Hi
Unable to find any face in attached image. can you please help
THanks
Arnab

@arnab77in
You can use Cnn model.
I can find face by using FaceLocations with Cnn.
.\FaceNotFound.jpg has no faces by Hog
.\FaceNotFound.jpg: 31, 153, 314, 436 by Cnn


Use DocC instead of Jazzy?


<EMAIL_ADDRESS>hash check failed

Prerequisites

[X] I have used the predefined issue title. (e.g. "xxx@xxx: hash check failed")
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name and Version
<EMAIL_ADDRESS>

I fixed this issue with this pull request:
https://github.com/ScoopInstaller/Extras/pull/11537/files#diff-7f805cd4bc37a5b54099bef6a3e594ca01eb569f94988170a3273f916c773c0b
Please merge it.
cc: @r15ch13 @Ash258 @issaclin32 @HUMORCE @lukesampson @rasa @linsui @niheaven @rashil2000 @brandon93s


⚠ Bofrost.es has degraded performance

In fda953e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1520 ms

Resolved: Bofrost.es performance has improved in 7c713e9 after 13 minutes.


Feature Request: Elide typia import so typia can be in devDependencies

Feature Request
A description of the problem you're trying to solve.
After compiling a literals() the type is compiled to an array, but typia import remains. This necessitates typia be installed during runtime
An overview of the suggested solution.
Remove typia import after compiling (if possible, don't know if there are some typia features that require typia be imported during runtime

Unfortunately, don't know how to \o/.
To accomplish this suggestion, typia have to visit every node elements in the TypeScript file.
If someone can do it, hope him(her) to try this issue.

related - https://github.com/samchon/typia/issues/678

use bundlers that can tree-shake typia

@KristjanTammekivi
We have two choices, maybe

split typia into runtime & compiler (like @typia/runtime @typia/compiler), so that we can reduce installing size
bundle typia runtime using bundlers & unplugin-typia. I'm working on tree-shaking in this couple of moths,(https://github.com/ryoppippi/thesis-benchmarks/tree/feature/update-and-rollup)

In development mode, the generated code should be simple and clear.
If the user wants to reduce the size of the build in the prod, he will use some kind of bundler, a minifier, etc.
Accordingly, the generated code should be suitable for bundlers.
To do this, you need to use treeshake annotations, modular source code, etc.
You can put all the constants, functions used, etc. into one separate file (or virtual module), from where they will be imported. Also, all generated functions will be almost empty and will use only imports.
Thus, there will be no duplication, the bundler will remove unnecessary code, optimize the rest and the problem will be solved.
Or something like that.

For me bundling is as much of a hassle as just having typia as a runtime dependency.
Splitting the package would work for me as long as all compiler imports are removed but I'm guessing it's too much work to just to help out one little use case.

@KristjanTammekivi but in this case, other libraries are same. Zod is big, valibot has 1.45 MB size.

This is my opinion(not @samchon 's), but if you want to skip build step, typia is not appropriate choice for your project.
For example, we cannot use Typia in Deno without bundlers because Deno does not have bundler-plugin modules.
In this case we need to choose other validation libraries like zod.

Just figured this out yesterday, forgot to add here. Solved by adding an extra transform after typia to remove the import.
import type * as ts from 'typescript';
import type { TransformerExtras, PluginConfig } from 'ts-patch';

export default function (program: ts.Program, pluginConfig: PluginConfig, { ts: tsInstance }: TransformerExtras) {
    return (ctx: ts.TransformationContext) => {
        return (sourceFile: ts.SourceFile) => {
            function visit(node: ts.Node): ts.Node | undefined {
                if (tsInstance.isImportDeclaration(node)) {
                    const moduleSpecifier = node.moduleSpecifier as ts.StringLiteral;
                    if (moduleSpecifier.text === 'typia') {
                        return undefined;
                    }
                }
                return tsInstance.visitEachChild(node, visit, ctx);
            }
            return tsInstance.visitNode(sourceFile, visit);
        };
    };
}

(typia wasn't used for validation so other libraries don't apply)

@KristjanTammekivi you can send it as a PR! Nice.


[CircleGraph] Introduce host view mode

This will introduce view mode in host object.
ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

for #790, from draft #814


when the item count is 0 it align to center

Hello, I have a question about the layout. When item count is zero grid align to center. How to align it to leading?
image:

when count is not zero it is like this:

Have a try .gridContentAlignment  modifier in the new v1.4.0


change cancel action style & swift 4.2 changes

Merge please

Hey @coneybeare, can you check the PR and merge it? Thanks.


Auto-scroll to newest element

Let’s add a feature to auto-scroll to latest/newest element once it’s inserted.

Perhaps a easy solution by using the ScrollController member.

Hey, I really would like to keep this library with basic features so it
doesn't get too hard to maintain; if you want to fork it and publish
another "feature-packed" firestore_ui based on this one, feel free to do it!
On Mon, Feb 11, 2019, 00:37 Sebastian Roth<EMAIL_ADDRESS>wrote:

Perhaps a easy solution by using the ScrollController
https://docs.flutter.io/flutter/widgets/ScrollController-class.html
member.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gildaswise/firestore_ui/issues/2#issuecomment-462211977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRvZN6vdt-73oD12bKPowFzdnFYOe-rks5vMOVzgaJpZM4ay5S0
.

Did removing setState on _onDocumentChanged result in any unexpected behavior when receiving update data from Firestore? I had some issues with that when trying to reduce the setState usage but sadly didn't find another way around it.


New workflow submission - Word Filtering Script Generator pattern using CDK with Python

To submit a workflow to the Step Functions Workflows Collection, submit an issue with the following information.
To learn more about submitting a workflow, read the publishing guidelines page.
Note the following information for the workflow:

Name: Word Filtering Script Generator
Description: This workflow generates scripts that filters certain words from video or audio using Amazon Transcribe.
Simplicity: 3 - Application
Diagram: Included
Type: Standard
Resources should link to AWS documentation and AWS blogs related to the post (1-5 maximum).
Framework: CDK
Language: Python
PR: #140
Original Author of workflow: Yoonseo Kim
CDK Author: Adrian Hunter

You must ensure that the sections of the model README.md are completed in full.

thanks for submitting


@mediapipe/face_detection

Hello! Can you add support for the module "@mediapipe/face_detection"?

use<EMAIL_ADDRESS>pnpm add<EMAIL_ADDRESS>

use<EMAIL_ADDRESS>pnpm add<EMAIL_ADDRESS>
Thanks a lot, it works! When will there be a stable version? I'm going to use it in production.

@abenoov I will release the new version and let you know as soon as possible.

<EMAIL_ADDRESS>has been published：
https://github.com/spencer17x/arca/blob/main/packages/vite-plugin/vite-plugin-mediapipe/CHANGELOG.md
@abenoov


Django rest framework social oauth2 causing unexpected error with Djongo for mongoDB conversion of django app

I am using Django rest framework social oauth2 for authentication in one Django app. For development purposes, I have used this package with Sqlite3 (SQL database) and it works perfectly. However, now I want to migrate this Django app to MongoDB (NoSQL database) via using Djongo. After implementing all the required changes it is showing this bizarre error. I have seen everywhere couldn't find a relevant solution
After adding this command:
**python manage.py migrate**

Operations to perform:
  Apply all migrations: admin, auth, contenttypes, oauth2_provider, sessions, social_django

Running migrations:

Not implemented alter command for SQL ALTER TABLE "oauth2_provider_accesstoken" ADD COLUMN "source_refresh_token_id" long NULL UNIQUE

Applying oauth2_provider.0001_initial...Traceback (most recent call last):
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/cursor.py", line 51, in execute
self.result = Query(
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 783, in _init_
self._query = self.parse()
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 875, in parse
raise e
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 856, in parse
return handler(self, statement)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 888, in _alter
query = AlterQuery(self.db, self.connection_properties, sm, self._params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 425, in _init_
super().__init__(*args)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 84, in _init_
super().__init__(*args)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 62, in _init_
self.parse()
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 435, in parse
self._add(statement)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/sql2mongo/query.py", line 598, in _add
raise SQLDecodeError(err_key=tok.value,
djongo.exceptions.SQLDecodeError:

Keyword: long
Sub SQL: ALTER TABLE "oauth2_provider_accesstoken" ADD COLUMN "source_refresh_token_id" long NULL UNIQUE
FAILED SQL: ('ALTER TABLE "oauth2_provider_accesstoken" ADD COLUMN "source_refresh_token_id" long NULL UNIQUE',)
Params: ([],)
Version: 1.3.3

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/cursor.py", line 59, in execute
raise db_exe from e
djongo.database.DatabaseError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 231, in handle
post_migrate_state = executor.migrate(
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
state = migration.apply(state, schema_editor)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/migrations/migration.py", line 124, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/migrations/operations/fields.py", line 110, in database_forwards
schema_editor.add_field(
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/base/schema.py", line 480, in add_field
self.execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/base/schema.py", line 142, in execute
cursor.execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 100, in execute
return super().execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/utils.py", line 90, in _exit_
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
return self.cursor.execute(sql, params)
File "/home/anakin/virtual_envs/js_backend/lib/python3.8/site-packages/djongo/cursor.py", line 59, in execute
raise db_exe from e
django.db.utils.DatabaseError

Thanks for your consideration. Really appreciate it.

Have you find solution?

Hi all.
My team and I are constantly using this framework and it seems it has died out there. I contacted the owner by email asking if he would add some of us as maintainers so we could continue to improve it. However we didn't get a response.
I am publishing the project under my profile and we are going to continue to invest time in it.
So I would like to gently ask you to contribute to this project on: https://github.com/wagnerdelima/drf-social-oauth2
Thank you for understanding.


tex2bb as a comman line tool?

Dear Robert!
Is there a way to wrap your code into a command line tool for batch convertation or tex code to bb?
Thanks in advance!

It's all pure JavaScript, so I'd imagine it could run in Node without a
problem. You'd have to change the convert function from doing IO on the DOM
to using stdin and stdout, but that should be too bad.
Let me know if you get it working (or get stuck).
On Fri, Mar 13, 2020, 7:09 AM Artem Trunov<EMAIL_ADDRESS>wrote:

Dear Robert!
Is there a way to wrap your code into a command line tool for batch
convertation or tex code to bb?
Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rschroll/tex2bb/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZ2HZVAWNCTR25O7EHN5DRHI5B7ANCNFSM4LHDJ3EA
.


Add support for rule keyword

This is to resolve the errors from #233
In file src/rules/use-and.js, added if (node.steps) to prevent null error.

Thanks for the change!


Failed to call Deepstack

First image analysed and triggers fired correctly.
Second attempt resulted in :
[Trigger Cat Cam] /aiinput/Cat_20200523-075000.jpg: Analyzing
[DeepStack] Failed to call DeepStack at http://deepstack:5000/: {"success":false,"error":"invalid image"}
(node:1) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
at n (/home/node/app/bundle.js:9:83386)
at h (/home/node/app/bundle.js:9:89729)
at Module.b (/home/node/app/bundle.js:9:96406)
at Object. (/home/node/app/bundle.js:581:24268)
at /home/node/app/bundle.js:581:23561
at Object.next (/home/node/app/bundle.js:581:23666)
at o (/home/node/app/bundle.js:581:22380)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This happens with specific sample images.
Processes correctly

Cat_20200523-074700.jpg

Errors with

Cat_20200523-075100.jpg
Cat_20200523-075000.jpg

Please disregard. The images were downloaded with wget.
Upon downloaded via Windows and copying to Linux, all works 100%

Thanks for the report, this is still a valid bug. I should be handling that exception cleanly.

Fixed. This will be available in the dev tagged image shortly, and in the latest tagged image on the next release.


Add protocol to findings.csv

💡 Summary
Please add the protocol to findings.csv within the weekly vulnerability scanning report.
Motivation and context
Nessus detects findings over TCP or UDP, depending on vulnerability check it is running. Stakeholders have requested to know which protocol that any discovered vulnerabilities were found over. Add a new column in findings.csv.
Implementation notes
Steps to Resolve:  For "_generate_findings_attachment" function in here: https://github.com/cisagov/cyhy-reports/blob/develop/cyhy_report/customer/generate_report.py add "protocol",  under "port ", for header_fields and data_fields.
Original:
    def __generate_findings_attachment(self):
        # remove ip_int column if we are trying to be anonymous
        if self.__anonymize:
            header_fields = (
                "ip",
                "port",
                "known_exploited",
                "severity",
                "initial_detection",
                "latest_detection",
                "age_days",
                "cvss_base_score",
                "cvss_version",
                "cvss_source",
                "cve",
                "name",
                "description",
                "solution",
                "source",
                "plugin_id",
            )
            data_fields = (
                "ip",
                "port",
                "kev",
                "severity",
                "time_opened",
                "last_detected",
                "age",
                "cvss_base_score",
                "cvss_version",
                "score_source",
                "cve",
                "name",
                "description",
                "solution",
                "source",
                "source_id",
            )

Updated:
    def __generate_findings_attachment(self):
        # remove ip_int column if we are trying to be anonymous
        if self.__anonymize:
            header_fields = (
                "ip",
                "port",
                "protocol"
                "known_exploited",
                "severity",
                "initial_detection",
                "latest_detection",
                "age_days",
                "cvss_base_score",
                "cvss_version",
                "cvss_source",
                "cve",
                "name",
                "description",
                "solution",
                "source",
                "plugin_id",
            )
            data_fields = (
                "ip",
                "port",
                "protocol"
                "kev",
                "severity",
                "time_opened",
                "last_detected",
                "age",
                "cvss_base_score",
                "cvss_version",
                "score_source",
                "cve",
                "name",
                "description",
                "solution",
                "source",
                "source_id",
            )

Acceptance criteria

[ ] findings.csv will include a new colum with the protocol specified

Verify that protocol vs protocal was not a typo.

Would it make sense to just name the field protocol to mirror how it is stored in the database? Other information about the detection is not prepended with a detection_ (such as port).

I just updated the requirements. The commit can be found here: https://github.com/cisagov/cyhy-reports/compare/develop...KeithBonesJr:cyhy-reports:Add-protocol-to-findings.csv. I'm having one of my analyst check it since I don't have the env setup. My guess is that you all would want 1 PR for the bulk of these changes correct? @mcdonnnj

Tested change, need to have "protocol", added to else statements for "generate_findings_attachment" function.
Before
else:
            if self.__snapshots[0].get("descendants_included"):
                header_fields = (
                    "owner",
                    "ip_int",
                    "ip",
                    "port",
                    "known_exploited",
                    "severity",
                    "initial_detection",
                    "latest_detection",
                    "age_days",
                    "cvss_base_score",
                    "cvss_version",
                    "cvss_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "plugin_id",
                )
                data_fields = (
                    "owner",
                    "ip_int",
                    "ip",
                    "port",
                    "kev",
                    "severity",
                    "time_opened",
                    "last_detected",
                    "age",
                    "cvss_base_score",
                    "cvss_version",
                    "score_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "source_id",
                )
            else:
                header_fields = (
                    "ip_int",
                    "ip",
                    "port",
                    "known_exploited",
                    "severity",
                    "initial_detection",
                    "latest_detection",
                    "age_days",
                    "cvss_base_score",
                    "cvss_version",
                    "cvss_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "plugin_id",
                )
                data_fields = (
                    "ip_int",
                    "ip",
                    "port",
                    "kev",
                    "severity",
                    "time_opened",
                    "last_detected",
                    "age",
                    "cvss_base_score",
                    "cvss_version",
                    "score_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "source_id",
                )

After

else:
            if self.__snapshots[0].get("descendants_included"):
                header_fields = (
                    "owner",
                    "ip_int",
                    "ip",
                    "port",
                    "protocol",
                    "known_exploited",
                    "severity",
                    "initial_detection",
                    "latest_detection",
                    "age_days",
                    "cvss_base_score",
                    "cvss_version",
                    "cvss_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "plugin_id",
                )
                data_fields = (
                    "owner",
                    "ip_int",
                    "ip",
                    "port",
                    "protocol",
                    "kev",
                    "severity",
                    "time_opened",
                    "last_detected",
                    "age",
                    "cvss_base_score",
                    "cvss_version",
                    "score_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "source_id",
                )
            else:
                header_fields = (
                    "ip_int",
                    "ip",
                    "port",
                    "protocol",
                    "known_exploited",
                    "severity",
                    "initial_detection",
                    "latest_detection",
                    "age_days",
                    "cvss_base_score",
                    "cvss_version",
                    "cvss_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "plugin_id",
                )
                data_fields = (
                    "ip_int",
                    "ip",
                    "port",
                    "protocol",
                    "kev",
                    "severity",
                    "time_opened",
                    "last_detected",
                    "age",
                    "cvss_base_score",
                    "cvss_version",
                    "score_source",
                    "cve",
                    "name",
                    "description",
                    "solution",
                    "source",
                    "source_id",
                )

Successfully tested and verified with manual report generation. Will hold off on creating PR until additional direction is received from @mcdonnnj in terms of PR submission. Moving to another issue.

Successfully tested and verified with manual report generation. Will hold off on creating PR until additional direction is received from @mcdonnnj in terms of PR submission. Moving to another issue.

@KeithBonesJr Please keep each logical change to a single pull request. So the work described here would be its own PR.

Issue resolved

@KeithBonesJr I recommend keeping this issue open until you have confirmed that the code from https://github.com/cisagov/cyhy-reports/pull/90 has been deployed to Production (which has not happened yet).

Re-opening until code if verified in production.

@KeithBonesJr I'm closing this issue since the cyhy-reports code was redeployed to Production yesterday.  Please let me know if you have any questions.

Thanks @dav3r  you all are awesome!


escrow screen enhancement required

Escrow:
3 enhancements:
-Add "Offer Title" column which contains the title of the offer that's linked to the escrow in question and make it the widest column of all.
-Seller/Arbiter/Buyer column sizes can be reduced by at least 60%.
-Change the word of "offer accept" to "confirmation ID" as no one will understand "offer accept".
/some issues transferred from 131 in /syscoin.

@sidhujag without these changes, dealing with multiple escrows stays unmanageable. still not fixed in 3/17 build.
To figure out the title of the offer of the escrow you are managing:
-you first have to look at the escrow ID
-then check the "search" for that escrow ID so you can find the OfferID (because in MyEscrows you can see the OfferID but you cannot right click and copy the OfferID)
-then you have to search for that OfferID in the marketplace.
Way too long of a process.

close #19


Enable trace logging for nginx scenarios

Gathering more information for https://github.com/aspnet/ServerTests/issues/144

Note the failures are unrelated.


option to remove problematic classes?

Given that the removal of problematic Java classes from files is trivial, it would very much improve this software if it added an option to do so.
zip -q -d $myfile org/apache/logging/log4j/core/net/JndiLookup.class

zip -q -d $myfile org/apache/logging/log4j/core/net/JndiManager.class

Hi  i'm not sure how high demand there is for this, but personally I would prefer to have this tool "read-only" and to only identify the issue on systems.
I want to avoid the tool breaking something on machines. I'm personally also not a big fan of modifying files, but I did see that this was the general advisory of Apache and I understand this could be easier to fix things faster in production rather than waiting for the vendor to release the proper updates.
Besides that, there could also be edge cases for nested Jar files and might potentially break systems because of that, so I think having this an "finder" only tool is better suited unless there is a high demand for it.

How about only generate  the new patched  version in /tmp dir ?
- and let the app owner do actual swap and check if app ok using patch .jar in /tmp.  This way log4j-finder won't got blamed when switching is not working.


Add user defined metadata

Which issue does this PR close?
Closes #4754
Rationale for this change
We would like to be able to read and write user-defined metadata for AWS, GCP, and Azure. This use-case is mentioned briefly in #4754 before the conversation shifts to tags. It appears that tags were implemented, but user-defined metadata has not yet been.
What changes are included in this PR?

Add user-defined metadata for AWS, GCP, and Azure clients.

Are there any user-facing changes?

I've added a Metadata(String) attribute to the Attribute enum. Other than that I don't believe there are any user-facing changes.

I do not believe there are any breaking changes. The user-facing change (Attributes::Metadata(String)) is additive and should be compatible. The one caveat here is I'm not sure how Rust handles enums (open vs. closed). If it handles them the way Java does (i.e. adding new enums can break old code) then this would be a breaking change. I'll leave it to the Rust experts to clarify this.

There are a few implementation details I'd like to call out:

The reqwest header name handling returns all custom headers as lower case. So if a user sets a Metadata("FOO"), the results returned in GetResult will have Metadata("foo"). This is somewhat unintuitive.
I elected to make USER_DEFINED_METADATA_HEADER_PREFIX a const rather than static because it's referenced in certain const spots. Rust didn't like static variables referenced from const.
I'm not thrilled about the get.rs code I added, but I couldn't figure out a better way. We need to iterate over all headers with the user-defined prefix (cloud-specific) and add them to attributes. I'm open to alternative approaches.
I did not add WebDav (http) support. The client simply ignores Metadata attributes on put() right now.

The one caveat here is I'm not sure how Rust handles enums (open vs. closed).

Rust handles this by non_exhaustive attribute.

Thanks @Xuanwo. I've updated the PR with your suggestions. I haven't renamed the variables yet since it sounds like @alamb or @tustvold need to weigh in.
Regarding your note about "Add custom metadata integration test", I was hoping this change would test the new functionality. Is it not enough?

Sounds good! I'll check in next week. 😄

@tustvold I'm ready for another review here. I think I addressed all of your comments.
I had some issues with the attributes.insert() logic after I made the change. I ended up having to do .to_string().into() in order to disentangle the lifetimes (I think?). LMK if that's not the right approach here.

Gentle nudge here =)


Bug: Formatting with ext-link

Describe the bug
As reported by @gnott, ext-link is not allowed as a child of formatting elements. Formatting inside ext-link elements are not displayed in texture.
Steps To Reproduce
The following markup is considered invalid by Texture and will result in content being un-openable:
... invasion and egress. In <italic><ext-link ext-link-type="uri" xlink:href="https://www.sciencedirect.com/topics/immunology-and-microbiology/plasmodium-falciparum">P. falciparum</ext-link></italic>, FRM1 is present at the ...

The following markup is considered valid by Texture and will result in content being openable:
... invasion and egress. In <ext-link ext-link-type="uri" xlink:href="https://www.sciencedirect.com/topics/immunology-and-microbiology/plasmodium-falciparum"><italic>P. falciparum</italic></ext-link>, FRM1 is present at the ...

However the formatting is not rendered in the interface:

Expected behavior
ext-link should be allowed as a child of formatting elements and formatting should render for links in Texture interface.

@Integral I'll investigate first and then hand it over to you.

@Integral This was indeed incorrectly overridden in TextureJATS. I have added described content to the kitchen-sink.
Could you add a test-case for this, i.e. italic inside ext-link and ext-link inside italic?

Yes, I will do it.

Just add another test case to Annotations.test.js. With a tiny fixture for both cases, and then check that it can be loaded and is imported correctly.


Use SVG logos

Inspired by https://github.com/perl6/doc/issues/645 where Camelia looks a bit blurred.

I have the svg file, but I can't find where it should be located in the doc repo.

Closed by #647

Well, not really.
First of all, this image is slightly different. Original .png logo was straight vertical, but this one is slightly rotated. It's OK, I think, but I had to point out the difference. :)
However, there are many other places where this image appears:

https://doc.perl6.org/ – homepage
camelia-faded.png is used on the background of almost every page

On Monday, June 27, 2016, Aleks-Daniel Jakimenko-Aleksejev <
<EMAIL_ADDRESS>wrote:

Well, not really.
First of all, this image is slightly different. Original .png logo was
straight vertical, but this one is slightly rotated. It's OK, I think, but
I had to point out the difference. :)

I didn't think about the rotation until I saw the generated page. I can
rotate it back to level if you want, but I think Camelia is usually shown
rotated (and it looks better as well).

However, there are many other places where this image appears:

https://doc.perl6.org/ – homepage
camelia-faded.png is used on the background of almost every page

I can provide a Camelia svg image, level or rotated, larger or
smaller, wherever needed. I'm not sure what the faded image really means
since it shows up larger but I don't see any real differences in color or
brightness (but my eyes are not as good as they used to be).

@tbrowder the faded one is on subpages:

On Monday, June 27, 2016, Zoffix Znet<EMAIL_ADDRESS>wrote:

@tbrowder https://github.com/tbrowder the faded one is on subpages:

Duh (again).  Of course the first page I checked wasn't a subpage...
But I'm happy to produce suitable svg replacements for all Camelias if
desired.
Cheers!
-Tom
P.S. I hope you enjoy Toronto as much as I enjoyed TPC::NA::2016!

Not sure if we need a faded svg version. Can't we do that with css?

We can fade with CSS alright... If I get this correctly, you want to substitute camelia-faded.png with a scalable camelia.svg that looks faded, right?

Ye.

But Camelia has disappeared from the background, faded or otherwise. I think that happened when CSSs started to be generated automatically. Close this or change issue to "Bring Camelia back to the background!!!"?

There are two issues here. One is that the camelia on the home page ( https://docs.perl6.org/ ) is still png. Another is that, yes, faded camelia should come back. Unless there's a good reason not to.

I think that happened when CSSs started to be generated automatically

Then it was removed by accident. Oops. It still exists on the examples site

Now we have double camelia on the home page:

Also, the homepage image is still png. The one on the background is also possibly a little too big.

Note that the double cameila is only there when your port width is small enough. Vanishes at a wider width.
Same with
https://docs.perl6.org/type.html
Where the (now single) camelia shows up once, but only on thin width. Additionally though, on this page she's striped because of the table.

We can also eliminate big Camelia and leave a bigger, faded camelia everywhere. Eliminating the background Camelia would be tricky, because we would need to assign some unique ID to the contene there so that it does not show up. If it's OK for everyone, even if small and fadded Camelia shows her whiskers behind big Camelia, I'll close this now.

Also, the homepage image is still png

she's striped because of the table.

shows her whiskers behind big Camelia

That's all fixed in https://github.com/perl6/doc/commit/1c4981d069

https://docs.perl6.org/type.html Where the (now single) camelia shows up once, but only on thin width

Couldn't repo any width-sensitive issues on that page.


integration for spring 4

I integrate this to spring mvc 4.1 successfully today.
And there need some changing for migrating to spring 4.1 from 3.*, because one new method [ configurePathMatch ]  has been added to interface WebMvcConfigurer need be implemented by RythmConfigure class in [spring-rythm] project.
So there may be a new branch for spring since 4.0.3.
I just add a simple implementation like below:
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
}

Hi @greenlaw110,
are there any updates on this issue? There is the project that uses rythm with Spring 4, and I plan to drop the rythm support, because of this two years old issue.
Thanks.

To get working with Spring 4.3.7 some more methods need to be implemented in the RythmConfigure class;
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
}

@Override
public void extendMessageConverters(List<HttpMessageConverter<?>> var1){
}

@Override
public void addCorsMappings(CorsRegistry var1){
}

@Override
public void extendHandlerExceptionResolvers(List<HandlerExceptionResolver> var1){
}

@Override
public void configureViewResolvers(ViewResolverRegistry registry){
}

@Digital-Chaos Do you mind submitting a PR to me?

Done, but not sure how we are going to maintain Spring 3 compatibility.

Thanks @Digital-Chaos, my guess is we can keep Spring 3 maintained to a
separate branch and use version to distinct between spring 4 and spring 3.
Unfortunately I am really busy at the moment. I will try to get this sorted
out by the end of next week
On Thu, Mar 23, 2017 at 7:50 AM Digital-Chaos<EMAIL_ADDRESS>wrote:

Done, but not sure how we are going to maintain Spring 3 compatibility.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rythmengine/spring-rythm/issues/9#issuecomment-288535171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANPYg8BfvWaOK_hDWt5uO_kYyKcCnEgks5roYmngaJpZM4C2ALH
.


Update 'rand' to '0.8'

Sincerest apologies. I totally missed this PR when doing some work on cookie today and accidentally made the same change. Thank you, however!


Copied pages with children show 'undefined' as name in tree

I feel like this may have been discussed already but I can't see an issue open for it - sorry if it's a duplicate.
Create page (e.g. a navigator) containing nested pages and duplicate it. The copy in the tree shows 'undefined' as the name of all the children. If the page is refreshed it all shows titles correctly.

Duplicate of #713


1310 |  XOR Queries of a Subarray | C++

1310 | XOR Queries of a Subarray | C++ -
What will change - Solution for the problem 1310. XOR Queries of a Subarray  will be added to C++ folder
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Hope you are having a good day, Please Assign this issue to me :)
Peace :)

[x] Assigned it to u @Rohanfizz

@Yashica7 , issue resolved, please check #328 .
Thanks :)


the Oracle Demo contract return "ProtocolNotSupported" error

https://raw.githubusercontent.com/neo-project/examples/master/csharp/Oracle/example.json return text/plain type response, default is application/json type.

It's not a valid response...

The error code would probably be less confusing if it were called ContentTypeNotSupported instead of ProtocolNotSupported.

The error code would probably be less confusing if it were called ContentTypeNotSupported or ResponseContentTypeNotSupported instead of ProtocolNotSupported.

currently only https is supported, if use http request type, it is also ProtocolNotSupported error type, it may be not accurate to call it ContentTypeNotSupported or ResponseContentTypeNotSupported, then it should be better to add another new type called ContentTypeNotSupported.


Java: Blog post announcement for Java SK release 0.2.6-alpha

### Tasks
- [ ] Access to the SK instance in DevBlogs
- [ ] Write down draft
- [ ] Review draft
- [ ] Publish blog
- [ ] Announce publicly

@alexchaomander can you please grant @johnoliver Author role to the SK instance on DevBlogs please?

@shawncal @matthewbolanos ^ Can you grant that to John?

@brunoborges looks like you can close this one ;o) https://devblogs.microsoft.com/semantic-kernel/introducing-semantic-kernel-for-java/


Add command-line option or separate capture tool

It should be possible to save a live capture to a file without the GUI.

On Windows, this might have to be a separate binary, because as far as I'm aware it's not possible to have an executable that's a GUI application (i.e. can run without opening a console window), but also outputs to the console if run from the command line.
This is confirmed by Raymond Chen here, although there are some ways to fake it listed  in this stackoverflow thread.

I think the typical solution is to have an additional executable like packetry-cli which I would be fine with.

Yeah, but that reintroduces all the pain we had managed to remove in #105.

This will probably be a bit controversial question but why not create a CLI tool in python?
This would also allow us to import it as a library to our python projects and write our own decoders/analyzers which could process data in real time.
Its seems like a no-brainer to me since facedancer uses python and is extremely easy to use.

The predecessor to Packetry was ViewSB, which was written entirely in Python.
The key problem was that it was too slow. A saturated USB 2.0 high speed bus is pushing about 100,000 packets per second. The first stages of decoding really need to be in native code in order to keep up with the throughput.
What we might add at some point is a plugin API that lets higher level decoders be written in Python or some other scripting language, once the low-level packet capture is already processed and indexed.


Standardize indendation to two spaces

Standardize indentation to two spaces

@maxlemieux  Commit "4021ac2" is not signed. It should have the Verified tag next to it.
Thanks!


msys2   libiconv-1.16-1-x86_64.pkg.tar.xz  Failed to download file.

@ducdY Your vcpkg instance is out of date - the issue was fix in PR https://github.com/microsoft/vcpkg/pull/14220

cd [vcpkg-root]
git pull gets updates from https://github.com/microsoft/vcpkg
Recompile/link vcpkg binary:
-- For windows .\bootstrap-vcpkg.bat
-- For linux ./bootstrap-vcpkg.sh

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Help for new layout

In line: playerService = App.__container__.lookup('service:persistent-player');
console return Uncaught ReferenceError: App is not defined
Is it change name or something else?

Hmm, I might deprecate this script, unfortunately.
Twitch recently pushed a huge rewrite of the site (which breaks this). Not only that, but the majority of the features from this are now supported natively, so this isn't as needed anymore.
Sadly, unless someone else wants to rewrite it, I don't really have the time to maintain it.


Roll engine a28329cb91ac..e9eae9a1af77 (1 commits)

https://github.com/flutter/engine/compare/a28329cb91ac...e9eae9a1af77
git log a28329cb91ac18ad4d7950b3b170a74a8de979ee..e9eae9a1af77400d02c498f0ad943f2858845398 --no-merges --oneline
e9eae9a1a Roll src/third_party/skia c97b0672a73f..1b9f889628e0 (1 commits) (flutter/engine#8019)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Downgrade Coveralls plugin version

Currently the Travis job fails (https://travis-ci.org/alexandru/shade/jobs/97903369#L505)
to send coverage to Coveralls.io because of a bug in the plugin as mentioned in this
issue https://github.com/scoverage/sbt-coveralls/issues/73.
Scoverage also needs to be downgraded to match the working version of Coveralls.

Confirmed by visiting Shade's page on Coveralls.io that coverage is now being sent properly.


Set custom content-type header when making a POST request

I am trying to make a request using the following options:
{
    uri: 'http://test.com',
    method: 'POST',
    headers: {
        'Content-Type': 'application/test; charset=UTF-8'
    },
    body: 'some data as a string'
}

I am expecting the request to come through as as equivalent of:
$ curl -v --data 'some data as a string' -H 'Content-Type: application/test' -X POST http://test.com
> POST / HTTP/1.1
> Host: foo.com
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application/test
> Content-Length: 21
>

but instead I am getting:
POST / HTTP/1.1
Content-Type: application/x-www-form-urlencoded
host: test.com
content-length: 21
Connection: close

some data as a string

I have seen that https://github.com/request/request#requestoptions-callback allow to use json property to set content-type to application/json, but I need a custom content-type.

Never mind. I have accidentally used form instead of body.


The dev startup scripts now supports multiple containers in dev mode

On the last line a closing " is missing which makes it does not work. If I add it, it works fine.
Two remarks:
Some apps are still missing:

azuremfa
tiqr

The rest I've put inline in the script

@quartje - I have fixed these in commit 8d85243aad368ea5b7c80c98e1be3c657a53aa62. Will resolve the issues.

@quartje - also have added the missing applications in commit: d15304761246cea33fb7fc8b6942ba67f2eaad18

This seems to work! Let's merge & roll!

@quartje - thanks a lot for testing! Merging now.


Correct assigment spelling

Changes to be committed:
modified:   README.md
renamed:    assignement_import.csv -> assignment_import.csv
modified:   src/netbox_contract/api/serializers.py
modified:   src/netbox_contract/api/urls.py
modified:   src/netbox_contract/api/views.py
modified:   src/netbox_contract/filtersets.py
modified:   src/netbox_contract/forms.py
new file:   src/netbox_contract/migrations/0023_rename_contractassignement_contractassignment_and_more.py
modified:   src/netbox_contract/models.py
modified:   src/netbox_contract/navigation.py
modified:   src/netbox_contract/tables.py
modified:   src/netbox_contract/template_content.py
renamed:    src/netbox_contract/templates/contact_assignements_bottom.html -> src/netbox_contract/templates/contact_assignments_bottom.html
renamed:    src/netbox_contract/templates/contract_assignements_bottom.html -> src/netbox_contract/templates/contract_assignments_bottom.html
modified:   src/netbox_contract/templates/netbox_contract/contract.html
renamed:    src/netbox_contract/templates/netbox_contract/contract_assignement.html -> src/netbox_contract/templates/netbox_contract/contract_assignment.html
modified:   src/netbox_contract/urls.py
modified:   src/netbox_contract/views.py

Apologize for the spelling error. There might be other ...


Example of moving Documentation i.e. Comments/Example Usage/Description into dedicated Accordion README.md

@jonathanfishbein1 can you explain what this PR is/trying to do?


Need upload static files in Markdown Editor

Issue Summary
Ghost 0.11.5
Safari 10.x
Steps to Reproduce

New post
upload zip, psd  or pdf file

my request
Add an upload static files plug-ins  Plz

Hey @evolutionjay, thanks for taking the time to make this feature request, however we only use Github for bug tracking and on-going development work. For feature requests please add them or upvote existing requests on our wishlist https://ideas.ghost.org. Thanks! 😄

FYI, the workaround is to upload your files to a static file host, e.g. Amazon S3 or similar and link to them directly in your post.

@kevinansfield  Yes , I knew.  But, I am in China.... China people can't use Google,  Amazone
s3 and Dropbox... Bcz the fu*k internet Great Wall...
So the static file only can be host in local server.
If has any plugin like this:

You could FTP the file up to the local server or to another one and reference it directly by pasting in the URL.

@nuclearpengy  If the article is relatively small and only one user can do so, but if I have thousands of articles, I do not know that the corresponding file is not needed, and if it is multi-user, you can not guarantee each The author knows ftp

Maybe you could link to a resource hosted on Dropbox or a similar service?

@nuclearpengy I am in China...Maybe someday someone the same situation like me in Chian can't use google dropbox

If you can, jump into the Slack group - there are lots of helpful people there who might be able to contribute ideas.

In any case, I use wordpress to solve my problem, but the Ghost is still my favorite program, and yes i am going to slack see you there

Cool, see you there. 😄


[Runtime] Reimplement protocol conformance cache with a hash table

Summary
The protocol conformance cache currently uses ConcurrentMap from Concurrent.h, which is a binary tree. The large amount of pointer chasing means that it performs less than optimally on modern hardware, and there's also a great deal of memory overhead from the left/right pointers. The entries themselves are only four words, so those child pointers add 50% overhead.
New Hash Map Type
This PR adds a new type to Concurrent.h, ConcurrentReadableHashMap, which is intended to replace ConcurrentMap, and changes the protocol conformance cache to use it. I plan to replace other uses of ConcurrentMap as well; this is just the first place I decided to target.
The design of ConcurrentReadableHashMap is detailed in the comments above the implementation. The executive summary is:

Use a lock to coordinate writers. Readers don't lock.
Keep an atomic count of readers to avoid freeing memory that's being read.
Keep the supported operations to a bare minimum: insert, look up, clear all.
Use an array of small integers as the actual hash table, with those integers being indexes into a separate array of elements. This minimizes wasted space due to the table's load factor. A table that's only 50% full will only waste n/2 * 4 bytes instead of n/2 * sizeof(Element) bytes. I plan to make the code adaptive so that it can use indices of 1 or 2 bytes when the number of elements is small. Currently it always uses 4 bytes per index regardless of size.

Protocol Conformance Cache Updates
The protocol conformance cache is updated to use ConcurrentReadableHashMap. This was not quite a drop-in replacement, for a couple of reasons.
Negative cache entries (i.e. "type T does not conform to protocol P) can become invalid, when a dynamic library is loaded at runtime that contains a conformance. The existing code handles this by storing a failureGeneration on each cache entry. The global "failure generation" is increased when dynamic libraries are loaded, so readers can tell when a negative entry is obsolete. In that case, the readers will scan the new libraries and then update the entry with either a hit or a new failureGeneration.
This requires updating the cache entry in place, which is inconvenient for the new cache. It also requires 8 bytes (on 64-bit systems) per cache entry, which is 25% of the total entry size. Instead of using this scheme, the updated code clears the conformance cache when dynamic libraries are loaded. This will result in redoing a bunch of work for positive (i.e. "type T conforms to protocol P) entries, but dynamic library loading is extremely rare so this is an acceptable tradeoff.
There's also a change to what the cache actually caches. Protocol conformance checks involve a two-stage lookup:

Search conformance descriptors to find the apprapriate ProtocolConformanceDescriptor * for the given type and protocol we're looking for.
Get the WitnessTable * for the type and conformance descriptor.

Step 2 can be fairly expensive, at least for conditional conformances. For reasons I don't fully understand (but which I'm sure were entirely reasonable at the time it was written... I think there was an attempt to cache based on type descriptors instead of metatype pointers, which would have reduced cache size, but it's not implemented now), the existing code puts the cache on step 1. The new code moves it to step 2, so that a cached conformance check is just a single hash table lookup and nothing else.
Step 1 was implemented with the runtime call swift_conformsToSwiftProtocol, and then step 2 was implemented with swift_conformsToProtocol which wraps swift_conformsToSwiftProtocol and then does the witness table lookup. swift_conformsToSwiftProtocol was not used by anything else, and this PR removes it entirely.
swift_conformsToSwiftProtocol was available as an override point in CompatibilityOverrides.def. This PR removes it from that file. Since it's still part of the overrides ABI for older Swift runtime, this PR puts copies of CompatibilityOverrides.def into the directories for the compatibility libraries for Swift 5.0 and 5.1. Overrides are version-specific so there's no need to maintain a common layout.
rdar://problem/67268325

what are the benefits of these bespoke concurrent data structures over ones in other projects like folly?

@michaeleisel There are the usual motivations like minimizing external dependencies and making sure we know exactly what the code does. But the major reason is to have something that can be precisely tuned to our specific needs.
Taking the example of Folly, its concurrent data structures have two fatal flaws for our purposes:

Keys are only 64 bits. We need two pointers for protocol conformance keys, and will need even bigger keys for some other places I plan to use this.
The maximum size must be set at creation, but we have no idea how big these caches might get in any given process.

No doubt they're great for use cases that fit those constraints, this just isn't one of them.
Overall, the goals are:

Reads to be as fast as possible. Writes can be much slower and their speed almost doesn't matter, and they don't need to be concurrent with respect to each other.
Minimal memory overhead. A typical Swift program has a lot of entries in this cache (and the other caches I want to use this for later) and overhead from the data structure and padding can waste significant memory.
Support only a limited set of operations. We only need search, insert, and clear. In particular, we don't need to remove existing entries (aside from the bulk clear operation), which simplifies things significantly.

With a custom implementation, we can take maximum advantage of 3 to do the best job we can for 1 and 2.

In Folly, there's AtomicUnorderedMap, AtomicHashMap, and AtomicHashArray (that I know of). They each have different characteristics, but AtomicUnorderedMap seems like a potentially good fit based on what you've stated. It supports arbitrary key types and fast wait-free reads (I don't see a discussion of memory overhead though). It does not support deletion. The size is immutable, but perhaps rehashing could be done very infrequently. It may not end up a good fit, but it would be good to at least benchmark against it if we go with new hash maps, to make sure that the newer solution is indeed faster. There's also its lower-level counterpart AtomicHashArray, which is meant to be used as a building block for higher-level concurrent hash map structures. Perhaps it could be used as a building block here. That having been said, it sounds very exciting that this is getting optimized.

I'm not sure how to work around a fixed size without basically reinventing something like the scheme I'm using here. These types also use an array of key/value pairs as their hash table, which is typical, but means you waste more space for larger keys or values. This scheme uses small indexes for the hash table, with elements stored out of line, making for much less wasted space. See Concurrent.h:560 for more discussion of how that works.

@swift-ci please benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryBridgeToObjC_Access
871
955
+9.6%
0.91x (?)

Improvement
OLD
NEW
DELTA
RATIO

ProtocolConformance
725
53
-92.7%
13.68x

StringFromLongWholeSubstringGeneric
6
5
-16.7%
1.20x

ObjectiveCBridgeFromNSDictionaryAnyObjectForced
8150
7350
-9.8%
1.11x (?)

ObjectiveCBridgeToNSDictionary
18850
17050
-9.5%
1.11x (?)

MirrorDefault
2792
2584
-7.4%
1.08x (?)

RandomTree.insert.Unmanaged.fast
209
194
-7.2%
1.08x (?)

EqualSubstringSubstring
42
39
-7.1%
1.08x (?)

EqualSubstringSubstringGenericEquatable
42
39
-7.1%
1.08x

EqualSubstringString
42
39
-7.1%
1.08x (?)

Breadcrumbs.MutatedUTF16ToIdx.Mixed
444
413
-7.0%
1.08x (?)

LessSubstringSubstring
43
40
-7.0%
1.07x

EqualStringSubstring
43
40
-7.0%
1.07x (?)

LessSubstringSubstringGenericComparable
43
40
-7.0%
1.07x

Breadcrumbs.MutatedIdxToUTF16.Mixed
453
422
-6.8%
1.07x (?)

Set.subtracting.Empty.Box
15
14
-6.7%
1.07x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

StringFromLongWholeSubstring
4
5
+25.0%
0.80x

FlattenListLoop
1635
1900
+16.2%
0.86x (?)

StringWalk
2520
2720
+7.9%
0.93x (?)

StringComparison_slowerPrenormal
1520
1640
+7.9%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

ProtocolConformance
722
53
-92.7%
13.62x

DistinctClassFieldAccesses
442
323
-26.9%
1.37x (?)

StringFromLongWholeSubstringGeneric
6
5
-16.7%
1.20x

LessSubstringSubstring
43
39
-9.3%
1.10x

LessSubstringSubstringGenericComparable
43
39
-9.3%
1.10x

ObjectiveCBridgeFromNSDictionaryAnyObjectForced
8100
7350
-9.3%
1.10x (?)

MirrorDefault
2798
2556
-8.6%
1.09x (?)

ObjectiveCBridgeFromNSArrayAnyObjectForced
6860
6320
-7.9%
1.09x (?)

Breadcrumbs.MutatedUTF16ToIdx.Mixed
442
409
-7.5%
1.08x (?)

EqualStringSubstring
42
39
-7.1%
1.08x (?)

Breadcrumbs.MutatedIdxToUTF16.Mixed
454
422
-7.0%
1.08x (?)

EqualSubstringSubstring
43
40
-7.0%
1.07x (?)

EqualSubstringSubstringGenericEquatable
43
40
-7.0%
1.07x (?)

EqualSubstringString
43
40
-7.0%
1.07x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayOfPOD
1058
1141
+7.8%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

DataCreateEmptyArray
72950
17950
-75.4%
4.06x

ProtocolConformance
842
214
-74.6%
3.93x

DataReplaceSmallBuffer
11400
3800
-66.7%
3.00x

DataReplaceMediumBuffer
14500
5600
-61.4%
2.59x

DataCreateSmallArray
128600
54400
-57.7%
2.36x

DataCreateMediumArray
18420
8780
-52.3%
2.10x

DataReplaceLargeBuffer
33
24
-27.3%
1.37x (?)

ClosedRangeOverlapsClosedRange
28373
23671
-16.6%
1.20x (?)

RangeOverlapsRange
29670
25509
-14.0%
1.16x (?)

Breadcrumbs.IdxToUTF16Range.longASCII
382
330
-13.6%
1.16x (?)

Set.subtracting.Seq.Int25
7683
6649
-13.5%
1.16x

Set.subtracting.Seq.Int0
7325
6343
-13.4%
1.15x

RangeOverlapsClosedRange
31450
27275
-13.3%
1.15x (?)

Set.subtracting.Seq.Int50
7957
6925
-13.0%
1.15x

Set.subtracting.Seq.Int100
8594
7636
-11.1%
1.13x (?)

String.data.LargeUnicode
150
134
-10.7%
1.12x (?)

CStringShortAscii
6500
5860
-9.8%
1.11x (?)

FatCompactMap
534770
482530
-9.8%
1.11x (?)

Breadcrumbs.CopyUTF16CodeUnits.Mixed
264
239
-9.5%
1.10x (?)

RemoveWhereQuadraticString
4338
3961
-8.7%
1.10x (?)

UTF8Decode_InitFromBytes_ascii_as_ascii
589
538
-8.7%
1.09x (?)

LessSubstringSubstring
50
46
-8.0%
1.09x (?)

LessSubstringSubstringGenericComparable
50
46
-8.0%
1.09x

EqualSubstringString
51
47
-7.8%
1.09x (?)

MirrorDefault
2948
2723
-7.6%
1.08x (?)

CharIteration_russian_unicodeScalars_Backwards
289800
267920
-7.6%
1.08x (?)

CharIteration_punctuated_unicodeScalars
54520
50440
-7.5%
1.08x (?)

CharIteration_punctuatedJapanese_unicodeScalars
43080
39880
-7.4%
1.08x (?)

Breadcrumbs.MutatedIdxToUTF16.ASCII
27
25
-7.4%
1.08x (?)

StringToDataMedium
4800
4450
-7.3%
1.08x (?)

Breadcrumbs.MutatedUTF16ToIdx.Mixed
483
448
-7.2%
1.08x (?)

Breadcrumbs.MutatedIdxToUTF16.Mixed
490
456
-6.9%
1.07x (?)

CharIteration_japanese_unicodeScalars
294040
274560
-6.6%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

AtomicUnorderedMap supports unlimited insertion (albeit slower after a point). Or we could have rehashing done, either blocking or concurrently (while some secondary hash is used for backup storage). A new hash gets created, everything gets moved into it, and then the pointers get swapped. By only dealing with rehashing, and not the rest of the implementation, it would leverage their optimizations.
I just want to be sure that development of this is done with the current state-of-the-art in mind, and that at least the optimizations of folly (as one example of battle-tested data structures) are being considered. That 92% reduction on the protocol conformance benchmark looks awesome though. It may well be faster than simple approaches using folly.

(s/AtomicUnorderedMap/AtomicHashMap, although the caveat there is that it doesn't support arbitrary-sized keys. another correction: s/unlimited/18x initial size)

I like that you flush the cache instead of mucking with a generation count.  That's a nice improvement.  If that proves problematic for some case, you might consider walking all entries and clearing just the negative ones.  That would require benchmarking to see if it's actually faster, of course, and would increase the code size so probably not worth the effort unless there's demand.

@michaeleisel I totally understand, and I appreciate the questions!
Not supporting larger keys would be a showstopper. Fixed size would just add some complication, as you say. I feel like it would be much more effort than it's worth, but I certainly wouldn't oppose looking into it to see how it does in practice. This doesn't have to be the end-all be-all of the journey!

@tbkka Yeah, I spent a bunch of time trying to get the generation count mechanism working in the new world (the lack of stable addresses for entries complicated things) before realizing I could just get rid of it, and that made everything so much simpler.
I'd be really surprised if this approach caused any trouble. Loading libraries dynamically is so rare, and so slow for all sorts of other reasons, that I don't see how this could matter. But that's a good idea in case I'm wrong!

@michaeleisel  As we continue to explore new target platforms, adding new libraries comes with a real cost, as each such library becomes an additional requirement on any new platform.  We already rely heavily on LLVM data structures in the runtime, so it seems more prudent to continue evolving those rather than pull in a new library for this purpose.

@tbkka this appears to be largely a greenfield data structure, and does not use many llvm things. and the open-source alternatives are always important to consider carefully, if only as a starting point for high-level thinking. but anyways, mike ash's approach seems good

Squashed commits and applied clang-format.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 3bd501005dcd95cd19c5f4363b5c0d6e551581fc

Whoops, push changes, THEN test.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b6a4345d1fc2c25337b57b6efefd2134588aac16

Build failed
Swift Test Linux Platform
Git Sha - b6a4345d1fc2c25337b57b6efefd2134588aac16

@swift-ci please test Windows platform

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - ecd6d4ddec3db05b817ee40664e735153ac035b1

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - ecd6d4ddec3db05b817ee40664e735153ac035b1


[FLINK-5785] Add an Imputer for preparing data

Provides an Imputer for sparse DataSets of Vectors.
Adds missing values with the mean, median or most frequent value of each vector resp. dimension

Regarding the license: Every (non-binary) file in the flink repository must have the apache license at the very top of the file. Simply take a look at an existing scala class and you'll see what i mean.
Second: It is not required to open a new PR when making changes, you can add commits to the branch of the PR. (note that force-pushes should only be done if necessary).
Third, the file count in this PR is dramatically higher than in the last one (4 vs 84), is this intended or a mistake?


Use upstream libui-node

The upstream libui-node master should now equal your fork ($ORIGIN rpath on linux and copying nbind.node to the root folder), but it also sets the rpath correctly for macOS.
https://github.com/kusti8/proton-native/blob/7741dd2fccbce773ce4bea709fef30b2773e82d5/package.json#L36

Ok looks good. Did you increment the version a d publish to npm because I didn't see that in your diffs.

@parro-it ?

Just released 0.1.0 on npm.
I'm testing now with my fork of proton... I will publish a PR here.

@parro-it This can get you started: https://github.com/mischnic/proton-native/commit/d42ab2b7319b5fdd3612b5f8c8ec27b4613c416c

Oh great! if you open a PR here of your forks I'll push further changes there (I don't know if I need specific permission to do so)

Does libui not need to be initialized anymore ? I noticed that was taken out in the fork.

Any idea why I get Electron installed when I npm install proton?

Electron is not a direct proton dependency AFAIK

Does libui not need to be initialized anymore ? I noticed that was taken out in the fork.

No, init is now called automatically the first time you require the module. We'll have to update docs & examples

Not of proton, but the react dev tools:
https://github.com/kusti8/proton-native/blob/57896ffed96188a40328b4239858a110f395b1f6/package.json#L50
@kusti8 How does integration with the dev tools work? This doesn't: https://github.com/kusti8/proton-native/blob/e10f4818611e7f61261865678e127cd6bd56c3c8/src/render/index.js#L17-L22
PR: https://github.com/kusti8/proton-native/pull/57

I used to use the dev tools to debug some of the code that wasn't working.
It isn't strictly necessary anymore.
On Mon, Mar 19, 2018, 2:49 PM Niklas Mischkulnig<EMAIL_ADDRESS>wrote:

Not of proton, but the react dev tools:
https://github.com/kusti8/proton-native/blob/57896ffed96188a40328b4239858a110f395b1f6/package.json#L50
@kusti8 https://github.com/kusti8 How does integration with the dev
tools work? This doesn't:
https://github.com/kusti8/proton-native/blob/e10f4818611e7f61261865678e127cd6bd56c3c8/src/render/index.js#L17-L22
PR: #57 https://github.com/kusti8/proton-native/pull/57
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kusti8/proton-native/issues/54#issuecomment-374324362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJW73Gl2e2rQuRtZamUOw0Cmq69eqrxCks5tf_3HgaJpZM4Ss9ur
.

I tried commenting out these lines and the dev tools started by npx react-dev-tool didn't connect to proton.

It's working 🎉

@mischnic I pushed to your fork


updating readme from example

updates
I updated the readme file. Please review and accept.

thoughts
I probably shouldn't, but it's okay. :+1:


Error Message No such file or directory

Repo: https://github.com/darwinia-network/darwinia-common.git
Runtime crate: https://github.com/darwinia-network/darwinia-common/blob/master/node/runtime/pangoro/Cargo.toml

Error Report in the build process:
$ srtool build --package pangoro-runtime --profile release
Found 1.56.1, we will be using paritytech/srtool:1.56.1 for the build
_____________________________________________________________________________________

  You are using srtool v0.9.18. A newer version: v is now available.
  You should upgrade asap with the following command:
    docker images | grep srtool | awk '{ print $3 }' | xargs docker rmi --force
_____________________________________________________________________________________
🧰 Substrate Runtime Toolbox - srtool v0.9.18 🧰
              - by Chevdor -
info: using existing install for '1.56.1-x86_64-unknown-linux-gnu'
info: override toolchain for '/build' set to '1.56.1-x86_64-unknown-linux-gnu'

  1.56.1-x86_64-unknown-linux-gnu unchanged - rustc 1.56.1 (59eed8a2a 2021-11-01)

🏗  Building pangoro-runtime as release using rustc 1.56.1 (59eed8a2a 2021-11-01)
⏳ That can take a little while, be patient... subsequent builds will be faster.
   Since you have to wait a little, you may want to learn more about Substrate runtimes:
   https://docs.substrate.io/v3/getting-started/architecture/
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
!!! The PACKAGE 'pangoro-runtime' does not match the crate name at 'runtime/pangoro'. Did you mean ''?

Looks like the reason is our crate name does not match "xxx-runtime"? How can I fix this case?

Hello @AsceticBear,
srtoolactually hints what the issue is:
!!! The PACKAGE 'pangoro-runtime' does not match the crate name at 'runtime/pangoro'

As you see, srtool makes the assumption that your runtime lives in runtime/pangoro but that's not the case.
You need to:

remove the --profile release, it does not hurt but this is deprecated
provide --runtime-dir set to the proper location of your runtime

You may also check srtool build --help for more details:
srtool-build 0.7.1
chevdor<EMAIL_ADDRESS>Start a new srtool container to build your runtime

USAGE:
    srtool build [FLAGS] [OPTIONS] --package <package> [path]

ARGS:
    <path>    By default, srtool will work in the current folder. If your project is located in
              another location, you can pass it here [default: .]

...
    -r, --runtime-dir <runtime-dir>
            If your runtime is not in the standard location runtime/<chain_name> you can pass this
            args to help srtool find it [env: RUNTIME_DIR=]

The following will work for you:
srtool build --package pangoro-runtime --runtime-dir node/runtime/pangoro

I am closing this issue since I tested the solution, feel free to re-open if you still run into troubles.


chore: add community files

Description
This PR adds all the files from https://github.com/asyncapi/.github/
Requested in https://github.com/asyncapi/cli/pull/3#issuecomment-818576916
@derberg I guess you have to set up some extra things afterward?

no need to move templates, they are supported by .github functionality, meaning they can be stored only in .github repo and will work in all repos that do not have own templates, just have a look https://github.com/asyncapi/cli/issues/new/choose
workflows just need to be copied, they would be already but I have one bug that I need to solve in my global workflows action

no need to move templates, they are supported by .github functionality, meaning they can be stored only in .github repo and will work in all repos that do not have own templates, just have a look https://github.com/asyncapi/cli/issues/new/choose

Removed.

workflows just need to be copied, they would be already but I have one bug that I need to solve in my global workflows action

So you have a blocker which prevents us from adding the workflow files as they are now? 🤔

@jonaslagoni no, I just mean that now you create those files manually, but since we created CLI repo, there were some updates in global workflows that were not pushed here due to my bug.
Normally, you would have to copy those files anyway if you would like to have them right after creating the repo (like in robot)
you can merge


Confusing tags on dockerhub

Looking at DockerHub's list of recent tags for the base-image, I'm noticing some concerning inconsistencies:

Despite #79 being merged last night, the 2020.06.10 tag doesn't appear in the tags list. Also, the latest and the master tags differ.
@scottyhq - ideas here? I'm at a loss.

@jhamman - this is expected behavior, see https://github.com/pangeo-data/pangeo-docker-images#image-tagging-and-continuous-building. You have to manually push a tag git pull upstream master; git tag 2020.06.10; git push upstream --tags if you want the calver tag + latest tag.

@scottyhq - thanks for the response. My only follow up question is how do we decide to make a "production" release? I think my preference would be to tag calver snapshots on each push to master like we did over in pangeo-stacks.

My only follow up question is how do we decide to make a "production" release?

The goal with the current setup was to keep just one branch (master) instead of staging and prod, and point staging hubs and staging binders at the 'master' tag for testing. Once things seem to be working ok, manually tag with calver + latest.
It would be nice if we had some full integration tests (e.g. verify dask clusters launch and run some basic analysis... maybe with binderbot). I like having fewer calver 'production' releases to keep track of. Ideally, every calver tag would be guaranteed to work, but so far our operating model has unfortunately been 1) calver tag for image with new dask versions 2) discover something broke with dashboard or gateway compatibility 3) quickly rebuild with patched versions and new calver tag.


Multi-GPU support for inferencing

With #325, we now have GPU acceleration. However, this is limited to one GPU at present. We'll need to mimic the functionality from llama.cpp in order to distribute tensors between models as appropriate.

Possibly addressed in https://github.com/rustformers/llm/pull/419 ?
Still getting some strange assert failures on llama.cpp's end when I try to set cuda device 1 instead of 0.


rFactor2 (1128): Crash to desktop when applying NIS scaling

Describe the bug
I first started noticing this in the RC. Now rFactor 2 has just had a new release so reporting here. When I load a track it'll crash to desktop upon 100% of the track loading, presumably when it tries to initialize the device again. I've tested this issue on various tracks (official S397 content and mods) with the same result. The latest I've tested on are 2 of the new tracks from the Q2 pack, Brands and Laguna Seca but it's happening on Croft and other mods too. And also Silverstone.
If I just turn on NIS and sharping (20 for example) the track loads and I can play. However, as soon as I switch on scaling things go wrong.
Environment

rFactor 2 v1.1128
Reverb G2
OpenXR 1.1.0
KFA Geforce RTX 3080ti

To Reproduce

Run rFactor 2
Turn on NIS
Set scaling to 120
Set sharpening to 40

Different error with different settings:

Turn on NIS
Set scaling to 105
Set sharpening to 20
Load Silverstone. Played fine but exiting made the screen go grey and HMD grey and flickering. Music still playing though so it had got back to the menus.

Expected behavior
Game loads, tracks load and I can go racing.
**Logs
XR_APILAYER_NOVENDOR_toolkit.log
Can test more scenarios if needed.

Thanks for the report, but I don't have this game so there is likely nothing I can do about it.
One thing you could try to do is capture a trace of the crash.
Use the desktop Companion app, there is a "Capture trace" button. You can to hit "Capture trace", answer the couple of questions that pop up, then reproduce the issue (so in this case start the game until it crashes). Then go back to the Companion app and stop the trace. It will then give you a file called OXRTK.etl that you want ZIP up (very important, the ZIP part is not optional) and send me.

OXRTK.zip
As requested. Some others have also reported the issue and I think someone said the old version is working so I'm gonna do a bit more testing to confirm and I'll add some notes here.

Thank you I will inspect the trace later. In all likelihood the issue is with the Foveated rendering code, and the next version will disable it for certain games (ACC, IL2, and so perhaps rF2).

Yeah, in 0.9.7 things are working fine. I did try the foveated feature and although I didn't see much of a performance improvement it didn't crash or anything.

Sorry I mixed up 2 issues/games. You did say that the issue was upscaling... taking back what I said about FR.

Can you try the following work-around and see if it does the trick for rFactor 2 (according to the content of your trace, it should help):

regedit
under HKEY_CURRENT_USER\SOFTWARE\OpenXR_Toolkit\OpenComposite_rFactor2
create DWORD 32 key mipmap_bias and set it to 0

(Note: this change is already included in the upcoming release)

Yep! All seems to be working with that change. Nice one!

Thanks for testing! Let's close as dup of #334 with a fix already in for upcoming release 1.1.1.

Thanks.


Added note for how .node file is searched for

Added a note about how node-gyp searches for the .node file; how it will begin its search in the first directory it finds which has a package.json. This is an important feature that is surprisingly not mentioned at all within the documentation - I, myself, had trouble figuring out what was going wrong when I ran into problems regarding this silent feature.

Thanks!


Mark process errors as fatal

@getsentry/python

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Ability to add mesh dynamically

Issue:

Introduce some coordinates for some meshes (eg sphere). (Via Input in the Angular component - not on renderer init)
Modify the Input after the renderer is initialised.

export class App implements OnChanges {
  @Input() test: any = [
    {x: -2.9210000000000065, y: -31.060000000000002, z: 0},
    {x: -2.9210000000000065, y: -6.951999999999998, z: 0},
    {x: 14.974000000000004, y: -6.951999999999998, z: 0},
    {x: 14.974000000000004, y: -31.060000000000002, z: 0},
    {x: -2.9210000000000065, y: -31.060000000000002, z: 2.1},
    {x: -2.9210000000000065, y: -6.951999999999998, z: 2.1},
    {x: 14.974000000000004, y: -6.951999999999998, z: 2.1},
    {x: 14.974000000000004, y: -31.060000000000002, z: 2.1}]

<atft-sphere-mesh *ngFor="let corner of test" [rotateX]="rotateX" [radius]="1
[widthSegments]="20" [hightSegments]="20" materialColor="0xff0000"
[translateX]="corner.x" [translateY]="corner.z" [translateZ]="-corner.y">
</atft-sphere-mesh>

Actual Result
Modified meshes aren't rendered.
Expected Result
Meshes can dynamically be introduced to the scene.

Fixed.
See example in storybook:
https://makimenko.github.io/angular-template-for-threejs/storybook/?path=/story/dynamic--for-loop


bootstrap 4

please make a bootstrap 4 extension as well

Soon I will, I just need a time :)

@mohsinvirk check my Bootstrap 4 version and let me know your ideas. https://github.com/rjrodriguez/RCH-Bootstrap-4-Snippets


Using bumbler to reduce dependencies

Hey @etagwerker, @schmierkov,
Here's a blog post about bumbler and how I used it to increase console/server load time for a project by removing some unnecessary on-load dependencies of a project.
Please check it out, thanks!

@etagwerker just addressed your comments, thanks!

@mauro-oto Great! This is good to go. Please solve the conflicts and update the date to today.
Thanks!

@etagwerker just fixed the conflicts and updated the publishing date to today. Thanks!

@mauro-oto Great, thanks! 🍻


build: Bump spire version of images

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.63%. Comparing base (5e6f439) to head (f201974).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4822   +/-   ##
=======================================
  Coverage   40.63%   40.63%
=======================================
  Files         109      109
  Lines       10427    10427
=======================================
  Hits         4237     4237
  Misses       5828     5828
  Partials      362      362

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


Use absolute path for require

Fixes #2

Please uncommit 1.0.3, I will release the version after the PR!

Also tests looks broken for mocha issue, need to remove the final return

@Kikobeats is it better like this? :smile:

Thanks!


update vs spark doc

should probably mention DataFrames as well, since that seems to be where people want to go instead of RDDs

surely you mean Datasets :)

@gianm I mean http://spark.apache.org/docs/latest/sql-programming-guide.html#dataframes data frames. But yes, there already seems preference to move to data sets now as well (I had heard of those but forgot what they were called). Anyways, the point is I would avoid mentioning RDDs directly and simply refer to them as generic distributed data.

that sounds fair.

@drcrallen any suggestions for how to reword things?

👍

Docs only, tests won't reveal anything useful


Fix typos

Thank you for the spelling fixes. I merged them. The aclocal.m4 file is generated, so I created it again and this removed the spelling fixes, the issues are in the underlying code that is included to make the file, and it is not from the unbound package. The configure file is similar, and I fixed two spelling issues in the source configure.ac for it, and then generated it again, one change is then removed as the text is source in from an underlying source. That could be in libtool, perhaps.


how to set the cursor position?

http://facebook.github.io/draft-js/docs/api-reference-editor-state.html#forceselection


Better rendering of progress bars

I should enhance the leading descriptions of the progress bars, and also perhaps finish with a newline (+/- leave + position) to ensure the NeuroConv verbosity reports success at the end

Also looks like the increments don't update properly in real-time via command line usage (at least on my system)


Fetch third-party libraries from one CDN

Motivation
For performance it's better to fetch third-party libraries from one CDN instead of several different CDNs. This avoids multiple DNS lookups and connections.
Changes
Fetch third-party libraries from jsDelivr.

[x] Ensured that you have rebased your branch with this repo's latest master branch.
[x] Ensured that relevant issues are linked, if this PR resolves any outstanding.
[ ] Added a screenshot for all UI changes (you can drag the file into this edit box and it will be uploaded).
[x] Ensured that changes to auto-generated files have not been committed; in particular, *.html, *.csv, *.xml and *.json files.

Is there a reason you switched from sha384 to sha256 for the SRI?

The sha256 were directly copied from jsdelivr user interface, for example https://www.jsdelivr.com/package/npm/jquery?path=dist -> Copy SRI. I can generate sha384 manually and change to that if that's desired instead.

I think keeping the existing sha-384 hashes is preferable, because it gives
confidence that these are the same files.
On Fri, Nov 6, 2020 at 3:38 PM Daniel Storgårds<EMAIL_ADDRESS>wrote:

Is there a reason you switched from sha384 to sha256 for the SRI?
The sha256 were directly copied from jsdelivr user interface, for example
https://www.jsdelivr.com/package/npm/jquery?path=dist -> Copy SRI. I can
generate sha384 manually and change to that if that's desired instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alex/nyt-2020-election-scraper/pull/286#issuecomment-723289098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAGBGBENFSPAIALA7JR23SORNEFANCNFSM4TNDO5PQ
.

--
All that is necessary for evil to succeed is for good people to do nothing.

Hash change is now reverted, so the only change is now the CDN URLs.


[BIL-26] BILLING - User Story 1.3

User Story 1.3: As a user, I want to sort costs by budget and by the percentage of budget used

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

:exclamation: No coverage uploaded for pull request base (billing-sprint-02@41586bc). Click here to learn what that means.

Additional details and impacted files
@@                 Coverage Diff                  @@
##             billing-sprint-02     #578   +/-   ##
====================================================
  Coverage                     ?   70.51%
====================================================
  Files                        ?      114
  Lines                        ?     9130
  Branches                     ?        0
====================================================
  Hits                         ?     6438
  Misses                       ?     2692
  Partials                     ?        0

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


dev branch failing because of Object.assign.js linebreaks on Windows

latest dev branch fails with the following;
$ npm run build

><EMAIL_ADDRESS>prebuild C:\git\zigzag\src\lib\pixi
> npm run lint && npm run clean

><EMAIL_ADDRESS>lint C:\git\zigzag\src\lib\pixi
> eslint scripts src test

C:\git\zigzag\src\lib\pixi\src\polyfill\Object.assign.js
   1:15  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:49  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:98  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:42  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:20  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:34  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 10 problems (10 errors, 0 warnings)

I have to run the following to be able to build, which results in nothing for me to commit back to the repository;
tr -d '\015' <src/polyfill/Object.assign.js >src/polyfill/Object.assign.js.new
rm src/polyfill/Object.assign.js
mv src/polyfill/Object.assign.js.new src/polyfill/Object.assign.js

I'm on Windows, using git config --global core.autocrlf true.

If you delete the repo on your PC and do a full new checkout, that will be sorted. A .gitattributes file was added to ensure that git will checkout this repo with the correct linebreak settings regardless of the global config.

Do you mean clone, or is a branch checkout enough?
Problem seems to have disappeared once I fixed that one file.


Feature/refactoring 1

Hey!
ping @steffengy

@steffengy
Current CI fails is not releated to this PR

thanks


Save query history in $HISTFILE.lazyshell-complete

Additionally, exit out without querying or saving history if query was empty. Hitting Ctrl-C and having it run a query is a bit annoying, and ChatGPT typically responds asking for a query.

Had an error, correcting.


[in_app_purchase] Some purchases are not acknowledged

We've detected that your app is not acknowledging all in-app purchases or subscriptions. Starting with Billing Library 2.0, all purchases must be acknowledged within 3 days or they will be automatically refunded.

I use in_app_purchase 3.0.6
flutter doctor summary:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-arm (Rosetta),
    locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.70.0)
Scanning for devices is taking a long time...[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Part of code with subscription:
late StreamSubscription<dynamic> _subscription;
  List<ProductDetails> _products = [];
  InAppPurchase inAppPurchase = InAppPurchase.instance;
  @override
  void initState() {
    final Stream purchaseUpdated = inAppPurchase.purchaseStream;
    _subscription = purchaseUpdated.listen((purchaseDetailsList) {
      _listenToPurchaseUpdated(purchaseDetailsList);
    }, onDone: () {
      _subscription.cancel();
    }, onError: (error) {});
    super.initState();
    initStoreInfo();
    super.initState();
  }

  void _listenToPurchaseUpdated(List<PurchaseDetails> purchaseDetailsList) {
    purchaseDetailsList.forEach((PurchaseDetails purchaseDetails) async {
      if (purchaseDetails.status == PurchaseStatus.pending) {
      } else {
        if (purchaseDetails.status == PurchaseStatus.error) {
          ScaffoldMessenger.of(context).showSnackBar(
            SnackBar(
              behavior: SnackBarBehavior.floating,
              backgroundColor: Colors.red,
              content: const Text('Error purchasing subscription'),
              action: SnackBarAction(
                label: 'Close',
                textColor: Colors.white,
                onPressed: () {},
              ),
            ),
          );
        } else if (purchaseDetails.status == PurchaseStatus.purchased ||
            purchaseDetails.status == PurchaseStatus.restored) {
          setState(() {
            isPro = true;
          });
          final prefs = await SharedPreferences.getInstance();
          await prefs.setString(
            date,
            (DateTime.now().add(
              const Duration(days: 7),
            )).toIso8601String(),
          );
        }
        if (purchaseDetails.pendingCompletePurchase) {
           await InAppPurchase.instance.completePurchase(purchaseDetails);
        }
      }
    });
  }

  initStoreInfo() async {
    final bool available = await InAppPurchase.instance.isAvailable();
    if (!available) {}
    ProductDetailsResponse productDetailResponse = await inAppPurchase.queryProductDetails(
      _productIds,
    );
    if (productDetailResponse.error == null) {
      setState(() {
        _products = productDetailResponse.productDetails;
      });
    }
  }

Hi @Bek-End, at what point do you start listening for the IAP events in your app?
If you don't listen for the events as soon as possible, there's a chance that some events might happen and the complete purchase will not be called.
Do bear in mind that you are responsible for calling completePurchase. See below for the doc of completePurchase
/// Mark that purchased content has been delivered to the user.
  ///
  /// You are responsible for completing every [PurchaseDetails] whose
  /// [PurchaseDetails.status] is [PurchaseStatus.purchased] or
  /// [PurchaseStatus.restored].
  /// Completing a [PurchaseStatus.pending] purchase will cause an exception.
  /// For convenience, [PurchaseDetails.pendingCompletePurchase] indicates if a
  /// purchase is pending for completion.
  ///
  /// The method will throw a [PurchaseException] when the purchase could not be
  /// finished. Depending on the [PurchaseException.errorCode] the developer
  /// should try to complete the purchase via this method again, or retry the
  /// [completePurchase] method at a later time. If the
  /// [PurchaseException.errorCode] indicates you should not retry there might
  /// be some issue with the app's code or the configuration of the app in the
  /// respective store. The developer is responsible to fix this issue. The
  /// [PurchaseException.message] field might provide more information on what
  /// went wrong.

Hi @danagbemava-nc i call method InAppPurchase.instance.completePurchase(purchaseDetails); inside initState of my home screen, the trouble is, sometimes the error happens and sometimes doesn't happen, i mean not all users' money refunded, and this error happens only in production releases, i tested with test cards and it was ok.

Looks like you're running into https://github.com/flutter/flutter/issues/65342.
See https://github.com/flutter/flutter/issues/65342#issuecomment-699648292 & https://github.com/flutter/flutter/issues/65342#issuecomment-699650800 for more info.
Kindly follow up in the linked issue for updates.
Closing from here as duplicate. Please upvote the linked issue.
Thank you


AngularJS versions

Presently I am using AngularJs 1.6.x with lift-ng_3.1_2.11 version 0.12.1 and am considering upgrading to latest Angular 1.7x version and was wondering how AngularJs versioning and lift-ng relate - how dependent lift-ng is on specific angular versions?
Apologies if I missed seeing this but I didn't see mention of AngularJS versions per lift-ng version

Before this morning, I had not tried Angular 1.7.x with lift-ng, nor am I aware of anyone else who is. I updated the version in test-project to 1.7.5 and ran the full test suite. All tests pass! It should be good to go. I'll update the repo when I get some more time.


Update pulumi-terraform to a9a9ca8157

This PR updates pulumi-terraform to a9a9ca8157, and re-runs code generation

Merging and will add a CHANGELOG entry before release


object backend services

My hope is to combine the replicator, auditor and object-updater, so there aren't 400 backend processes.  Failing that, I'll just knock out an object-updater and pretend that was my goal all along.

make sure object updater can process swift async pending


각자 번역할 Section을 골라주세요.

Introduction ~ Usage
Section: Strain your brain!
Section: Appearances are deceptive!, Contributing ~ License
Section: Watch out for the landmines!

3번

4번 하겠습니다!!!!!!!!!!

1번&2번 절반