Tab Indentation Not Respected, Wonky Output

Bug Report
This issue arose when I upgraded tslint-config-airbnb from 1x to 5x. I don't think the problem could be with tslint-config-airbnb but I opened an error there as well to see if the author might have an idea as to why. See: https://github.com/progre/tslint-config-airbnb/issues/16

TSLint version: "5.5.0
TypeScript version: 2.3.4
Running TSLint via: (pick one) CLI

node_modules/.bin/tslint -c tslint.json 'src/**/*.ts*'

TypeScript code being linted
// definitely contains all tabs

with tslint.json configuration:
{
	"extends": [
		"tslint-react",
		"tslint-config-airbnb"
	],
	"rules": {
		"switch-default": true,
		"no-switch-case-fall-through": true,
		"indent": [true, "tabs"],
		"ter-indent": [true, "tabs"],
		"trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
		"max-line-length": [false],
		"jsx-no-multiline-js": false,
		"import-name": false,
		"align": false,
		"jsx-no-lambda": false
	}
}

Actual behavior
A variety of strange output - this is just a sample. But there are thousands of errors, all like this:
ERROR: ... Expected indentation of NaN spaces but found 1 tab.
ERROR: ... Expected indentation of NaN spaces but found 0.
ERROR: ... Expected indentation of 0 spaces but found 1 tab.
ERROR: ... Expected indentation of 0tabs spaces but found 2 tabs.

Expected behavior
Should expect tabs, not spaces, per tslint config

... looks like it is supposed to be "tab", not "tabs"? The documentation is incorrectly showing "tabs": https://palantir.github.io/tslint/rules/indent/

... looks like it is supposed to be "tab", not "tabs"? The documentation is incorrectly showing "tabs":

No, it's really "tabs".
The error message is not from the tslint indent rule. Looks like that's from ter-indent of https://github.com/buzinas/tslint-eslint-rules

I can assure you that I have changed it from "tabs" to "tab", and all of a sudden all of those errors have gone a way and it gives errors as expected (that is to say, if I use spaces, I will get an error, or if I use too many/too few tabs, I get an error - it works with "tab"). Here is my tslint.json config file now, which behaves as expected:
{
	"extends": [
		"tslint-react",
		"tslint-config-airbnb"
	],
	"rules": {
		"switch-default": true,
		"no-switch-case-fall-through": true,
		"indent": [true, "tab"],
		"ter-indent": [true, "tab", {
			"SwitchCase": 1
		}],
		"trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
		"max-line-length": [false],
		"jsx-no-multiline-js": false,
		"import-name": false,
		"align": false,
		"object-shorthand-properties-first": false,
		"no-param-reassign": false,
		"array-bracket-spacing": false,
		"jsx-no-lambda": false
	}
}

I think I see what is happening here.
One of my extensions is using tslint-eslint-rules repo, which uses "tab" instead of "tabs".
TSLint internally is using "tabs", but tslint-eslint-rules is overriding that option to be "tab". See: http://eslint.org/docs/rules/indent#options
If you agree this is the issue, feel free to close this issue.
I think it would be valuable to ensure supporting both singular and plural, because in my situation, it was not clear to me that tslint-eslint-rules is even present (I am not using it directly).

If you agree this is the issue, feel free to close this issue.

Yes, I believe this is the issue.

it was not clear to me that tslint-eslint-rules is even present

I suppose we could solve this problem by requiring rules in non-core packages to have scoped names, e.g. eslint-rules/ter-indent, react/jsx-no-multiline-js. Would be willing to consider this for the 6.x or 7.x major version.


Tutorial: (retry) reduce clone size with extra Git flags

This is a duplicate of #1337 ... but #1337 is not appearing in the https://github.com/WallarooLabs/wallaroo/milestone/40 milestone list (in my Web browser) due to open-close-re-open status tickling a bug at GitHub.  (Close this issue if it really is a duplicate.)
See #1337 for full discussion.

The size of the repo came up in some user feedback.
"There is something very weird with the wallaroo repo, it is enormous and takes minutes to clone on a fast connection. It might be the test data, but it is not clear from doing a du."

The size of the repo came up in user feedback (#1626)

Given the low probability of the test data changing, I think we should shudder consider using a submodule or different repo for the test files OR cutting down on the number of data files.


NOISSUE: Restore network tests

bors try

bors merge

bors r+

bors r+

bors r-

bors r+

bors retry


Extend schema with additionalProperties, additionalItems, uniqueItems

For every properties, add additionalProperties False
For every items, add additionalItems false, uniqueItems true (and check if it works with objects)
Needless to say, properties and items can be on any level.

additionalItems is useless for what I have seen we use only schema validation in items:
https://bitbucket.org/search?q=repo%3Aqa-json-schemas \"type\"%3A \"array\"&account={9e8b6b65-30f2-47d3-b7bd-5e32913fba8b}
https://json-schema.org/understanding-json-schema/reference/array.html#list-validation


Define regexp flavor

Data types defines constrains and one of them is regex. Documentation should define what regex flavor is used. As OCSF use JSON as a data carrier the regex should be compatible with the JSON Schema pattern feature.
Most of regexes are compatible with ECMAScript implementation, but ip_t has regex that seems like PCRE. So we can't use this one in a JSON Schema.

Here is one that I found:
((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))

This looks fine to me


Updates to instructions

Included FaaS deployment instuctions

Includes instructions for installing CLI

Shows one option for installing/testing first, then gives others afterwards if people want the choice.

Uses curl to download your gopher image as a test image.

@alexellis thanks for the feedback !!!!

Apologies for the mergeup conflict, I'd tweaked some stuff on my phone and didn't notice the PR.

I don't need to show up as a contributor.. but if you can implement the ideas that would be fine too.

No worries, I've pushed the rebase to you branch and am 👍 to :shipit: , thanks for the input !


CMG-167 Upgrade postgres cert

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

Project coverage is 55.35%. Comparing base (4695268) to head (4e247dc).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #24   +/-   ##
=========================================
  Coverage     55.35%   55.35%
  Complexity       19       19
=========================================
  Files            10       10
  Lines           168      168
  Branches         10       10
=========================================
  Hits             93       93
  Misses           75       75

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


Fixes Issue#155: Remove CourseID from Chapter entity screen and add C…

Description
Made changes to Remove CourseID from Chapter entity screen and add CourseName instead
Fixes # 155
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Updated javascript tests and java tests.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings or errors
[x] New and existing unit tests pass locally with my changes

Hi @SudharakaP , the builds have passed, checked just now.
Best Regards
Ganesh


Update version Angular - Angular 9.1.0

I updated the angular version and also some dependencies. I changed some imports, but left everything working.

Closed because there was no answer

@willianferreiradev the owner of this repo is not talkative. I learned a lot from this repo thanks to him. However I think we should be able to contribute it somehow. What do you think on creating an organization for v3 of admin-lte for angular based on this repo?


Introspection Configuration File

I brought this up in #807 and was asked to create an issue for it since it's out of scope for that issue.
Are there plans for creating a configuration file to allow customizing model generation when introspecting a database?
It would be super helpful to allow the the introspection and model generation process run with defaults and no config file, but also allow overriding of specific behavior when the need arises. This is the ideal solution (at least for me), as it allows the the configuration to only be as complex as the end user wants it to be.
An example of this, is the configuration of gqlgen. The default behavior is acceptable most of the time, but you can override on an as needed basis.
Some possible situations requiring configuration:

Ignore tables.
Define table name to model name mappings
Define property name mappings, custom names, convert snake casing to camel casting etc..
Define relationship names, for instance when a users table refers to itself should the relation be called users, parents, children etc. Same goes for relationships to other tables.
Pivoting through tables where there is no defined foreign key.
Read only models based on views.
Polymorphic table configuration which can be a thing when migrating from another ORM.
Define executable stored procedures.

I wrote some thoughts on this a few months ago: https://github.com/prisma/specs/pull/408/files?short_path=ccac2b5#diff-ccac2b54f1b9872d1d8933d39a4514d1

I reviewed the file too. Adding things I need for proper introspection.

I would love to see something like this as it's especially helpful when migrating from another setup to Prisma.
For example, when migrating from TypeORM it would be nice to be able to ignore the migrations table that TypeORM uses to store its migration history.
Another great use case would be the configuration of an automatic mapping from snake_case to camelCase since most other DB tools use snake_case as a convention for naming tables and columns, so having an automated, out-of-the-box mapping to Prisma's camelCase/PascalCase convention would be really helpful.

Configuration would be useful as well for the Go client, since the current introspection behaviour of using the same field name and the same field name but uppercased for the relation field breaks the Go client generation (https://github.com/prisma/prisma-client-go/issues/140).

#6509

For everyone who is interested in this, check out this tool as a workaround that can be used to automatically transform snake_case to camelCase: https://github.com/IBM/prisma-schema-transformer

Since this issue has features that are not only useful for introspection workflows, I've adjusted the title to include "schema preferences" which probably is a better term to describe this.

Hey  👋
I recently came across prisma-case-format by @iiian which seems to be a good workaround for ensuring consistent naming conventions in your Prisma schema. 🙂


Add Invisible style

Hey, thanks for this cool crate.
This is a fairly small change, but I added Style::Invisible since it allows us to format the graph structure flexibly.

Thank you!


STRING_AGG Add sentence to Example A

Added a sentence to Example A to clarify that grouping isn't needed when STRING_AGG is the only item in the select.
I was confused initially when I didn't see a GROUP BY in the first three examples (A, B, and C).  I believe a mention at the end of Example A would have helped me.
Note: The new sentence does not indicate that GROUP BY is needed when there is more than one item in the select list, if all the items in the select list are aggregate functions it is not required. Proof: you do not need a GROUP BY if you change Example A to: SELECT Min(FirstName), Max(FirstName), STRING_AGG (FirstName, CHAR(13)) AS csv FROM Person.Person;

@JChrisCompton : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@JChrisCompton Is this not specified in the article's Arguments section, <order_clause> clause?

@msebolt I see the WITHIN GROUP in the <order_clause> which specifies the order of the items in the list.
That does not tell me that I need a GROUP BY clause in my select statement.
(If I'm wrong let me know; sql is a second language to me.)
This is the experience, which led me to the pull request:

I wanted several items in comma delimited lists.
I looked up the function.
STRING_AGG is the function name, 1st param is field name, 2nd param separator character.
I wrote the SQL I needed.
The SQL was very complex with my real tables... here is simplified version:
create table #jcc(box char(2),boxType char(1) );
insert into #jcc (box, boxType)VALUES('P6','A'), ('P6','B'), ('P6','C'), ('P5','D'), ('P7','E'), ('P7','F'), ('P7','A'), ('P7','A');select * from #jcc;select box, string_agg(boxType, ',')from #jcc;
drop table #jcc
It didn't work... so I looked at examples A and B... they looked like my SQL (no group by clause)
I figured out I needed from #jcc group by (box);
It took me a little while to figure out that my SQL needed "group by (box)" because the first example (and the next two... which was as far as I looked) didn't have a Group By.
I concede: in hindsight it is obvious that I need a group by (as with all of the other aggregate functions.)
That's maybe obvious in my contrived example... it was not obvious using my real SQL.

I thought for a while about what would have helped me realize (faster) what my error was, and submitted the pull request.  I think it will help someone.
If you don't think it would help anyone, or that somehow it would do more harm than good, I respect that decision.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: JChrisCompton sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

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


SRE-5408 Small steps toward allowing large number of AWS SDX cluster creations happen in parallel.

In PR #7227 we reduced the throttling and request limit exceeded issues for describe images.
In this PR, we are fixing the next two offenders, those are describe CF stacks and events.
All these were already nicely wrapped in a backoff scheduler with reset.
In this PR increased the time lag between resets, added a jitter and made the code to be more tolerant of request limit exceeded errors.

./gradlew clean build

retest this please

retest this please


Responsive gutters incorrectly implemented

Some responsive gutter classes are using padding instead of margin - they should all use margin only.

Corrected responsive gutter classes.


nixos/mediawiki: update url option defaultText

Description of changes
I didn't copy the entire expression because that is ridiculous long. I'm open for better ideas.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Looks like we don't allow to make the documentation dynamic using config.


fixing code blocks

There was an error while validating job 96d22ecd-6252-4a2b-b255-fe11fa61f74a Message:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
Details:Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase+ContextCommandException:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
---> System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Error clonning repository ---> LibGit2Sharp.NotFoundException: Branch 251 not found. Available branches: origin/master
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<>c__DisplayClass34.b__29(KeyValuePair2 branch)    at System.Collections.Generic.List1.ForEach(Action1 action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<CloneRepository>b__28()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetVersionAsync(String path)
at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase.ThrowIfErrorsLogged()    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


Add healthcheck to container, poll in Travis.

Purpose is to decrease sporatic CI test failures because the client
tests start before the server is ready. Secondary benefit to increase
health status visibility via a secondary prober.
Healthcheck which will probe the Docker container to validate that the
server is healthy. It simply polls the homepage (/) using curl. It
stores the status and any errors, and can be queried using docker inspect. Format is defined here:
https://docs.docker.com/engine/reference/builder/#/healthcheck

grep healthy will also match 'unhealthy'
On Tue, Feb 28, 2017, 04:31 Phillip Tischler<EMAIL_ADDRESS>wrote:

Merged #223 https://github.com/auvsi-suas/interop/pull/223.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/auvsi-suas/interop/pull/223#event-980061117, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABO7g0QjPr0bvfqaB3H7eCNJfsIR7PcIks5rhBO3gaJpZM4MN5hO
.

Haha oops. I'll send a fix in later today.
On Feb 28, 2017 10:35 AM, "Michael Pratt"<EMAIL_ADDRESS>wrote:

grep healthy will also match 'unhealthy'
On Tue, Feb 28, 2017, 04:31 Phillip Tischler<EMAIL_ADDRESS>wrote:

Merged #223 https://github.com/auvsi-suas/interop/pull/223.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/auvsi-suas/interop/pull/223#event-980061117, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
ABO7g0QjPr0bvfqaB3H7eCNJfsIR7PcIks5rhBO3gaJpZM4MN5hO>
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/auvsi-suas/interop/pull/223#issuecomment-283072356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACOBmGv5socT7mFqCgdotHdZmUjHYhA-ks5rhD6qgaJpZM4MN5hO
.

Fixed in 5e8f808


Add empty and archived options

Add the following options.

-a, --skip-archived should skip archived repositories.
-e, --skip-empty should skip empty repositories.

https://gist.github.com/lotharschulz/9d80ecac73806981a6adc7e5ab2eb9a3


[Event Request] - PurchPost.Codeunit.al - OnPostItemTrackingForReceiptOnBeforeAdjustQuantityRounding

We like to request the following Event:
Object: PurchPost.Codeunit.al
Where is the event placed:
local procedure PostItemTrackingForReceipt(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; TrackingSpecificationExists: Boolean; var TempTrackingSpecification: Record "Tracking Specification" temporary)
var
    PurchRcptLine: Record "Purch. Rcpt. Line";
    ItemEntryRelation: Record "Item Entry Relation";
    RemQtyToInvoiceCurrLine: Decimal;
    RemQtyToInvoiceCurrLineBase: Decimal;
    QtyToBeInvoiced: Decimal;
    QtyToBeInvoicedBase: Decimal;
    IsHandled: Boolean;
begin
    ...
                if TrackingSpecificationExists then begin
                    TempTrackingSpecification."Quantity actual Handled (Base)" := QtyToBeInvoicedBase;
                    TempTrackingSpecification.Modify();
                end;

                IsHandled := false;
                OnPostItemTrackingForReceiptOnBeforeAdjustQuantityRounding(PurchRcptLine, RemQtyToInvoiceCurrLine, QtyToBeInvoiced, RemQtyToInvoiceCurrLineBase, QtyToBeInvoicedBase, IsHandled);
                if not IsHandled then
                    if TrackingSpecificationExists then
                        ItemTrackingMgt.AdjustQuantityRounding(
                          RemQtyToInvoiceCurrLine, QtyToBeInvoiced, RemQtyToInvoiceCurrLineBase, QtyToBeInvoicedBase);

                ...
end;

Event Code:
[IntegrationEvent(false, false)]
local procedure OnPostItemTrackingForReceiptOnBeforeAdjustQuantityRounding(PurchRcptLine: Record "Purch. Rcpt. Line"; RemQtyToInvoiceCurrLine: Decimal; var QtyToBeInvoiced: Decimal; RemQtyToInvoiceCurrLineBase: Decimal; QtyToBeInvoicedBase: Decimal; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


I cannot make the table definition for the federated source in chapter 4

Hi!
I want to make the table definition as follows:
bq mk --external_table_definition= \
./airport_schema.json@CSV=gs://data-science-on-gcp/edition2/raw/airports.csv \
dsongcp.airports_gcs

But I am getting an error like this:
Error decoding external_table_definition. external_table_definition should either be the name of a JSON file or the text representation of an external table definition.

How I can solve this problem?

The schema needs to be a JSON file. Use:
04_streaming/design/airport_schema.json
thanks,
Lak
On Wed, Oct 5, 2022, 5:28 AM Tirendaz Academy @.***>
wrote:

Hi!
I want to make the table definition as follows:
bq mk --external_table_definition=
.@.***=gs://data-science-on-gcp/edition2/raw/airports.csv
dsongcp.airports_gcs
But I am getting an error like this:
Error decoding external_table_definition. external_table_definition should either be the name of a JSON file or the text representation of an external table definition.
How I can solve this problem?
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/data-science-on-gcp/issues/157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANJPZ62U2RBSIBSBYFVRUDWBVC2ZANCNFSM6AAAAAAQ5MW5DY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Many thanks for your feedback. I'll try this to solve my problem.
Kind regards,
Tirendaz


feat: integration-service repo CI rule

Description

follow-up on https://github.com/konflux-ci/e2e-tests/pull/1344
added integration-service repository specific CI rule
updated runLoadedCatalog method to fix the bug when iterating over rule catalog wasn't terminated right away after rule chain evaluation passed

Issue ticket number and link
KONFLUX-3902
Type of change

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

How Has This Been Tested?
export KONFLUX_CI=true
export COMPONENT_IMAGE=quay.io/redhat-user-workloads/rhtap-integration-tenant/integration-service/integration-service@sha256:75c4356e8fdefea826e067b18e0f8d816911d547f48bd876e5b9fa89c50d517f
export JOB_SPEC='{
                "container_image": "quay.io/redhat-user-workloads/konflux-qe-team-tenant/konflux-e2e/konflux-e2e-tests@sha256:70adb47a4e050232cbc53cbcd3b1e8db07e806e5cf083f355afbcebbf9cfba01",
                "konflux_component": "konflux-e2e-tests",
                "git": {
                    "pull_request_number": 1,
                    "pull_request_author": "psturc",
                    "git_org": "psturc",
                    "git_repo": "integration-service",
                    "commit_sha": "92860473d11b3b5d90558dc8e84e83c9e365395d",
                    "event_type": "pull_request",
                    "source_repo_url": "https://github.com/psturc/integration-service",
                    "source_repo_branch": "test"
                }
            }'
# + export all required env vars for running the bootstrap and e2e tests
make ci/test/e2e

Checklist:

[X] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

Once we get PR #1344 implemented a lot of these changes don't need to be in this PR, right? It will be much simpler

exactly, this PR is sharing the same commit https://github.com/konflux-ci/e2e-tests/pull/1348/commits/0038eb1d3ea8cd98f80803d2c13c2216b66e1fa4 as the other PR #1344 that I plan to merge first

LGTM. Once is merged we can test with https://github.com/konflux-ci/integration-service/pull/836

CI in integration-service paired PR has passed. marking as ready for a review

/retest

/retest

/lgtm


Refactor reference resolution into Go code

Description of changes:
Refactors the resolveReferenceFor<Field> Go template code into direct Go code. This way we can be more intelligent about nested field references and support unit testing its output.
Breaking change:
The previous Go template produced valid, but ultimately faulty, code for references within lists of structs. These are not supported (see https://github.com/aws-controllers-k8s/community/issues/1291). As such, this update produces a panic when it detects those types of references.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/cc A-Hilaly

/lgtm


Replace rust-crypto crate with RustCrypto crates

As was discussed in the  #128. Currently this PR lacks only AES-CTR in audio/src/decrypt.rs and connect/src/discovery.rs, which will require some work on RustCrypto side.

Tested on armv7 and all seems to work well here.
Don't know enough to check performance vs the earlier implementation!

@newpavlov 1f1cd11 seems to be giving me Bus errors on aarch64 (running armv7hf 32bit binary):
Program received signal SIGBUS, Bus error.
[Switching to Thread 0xf69ff2a0 (LWP 16863)]
0xaab85efc in _$LT$ctr..Ctr128$LT$C$GT$$u20$as$u20$stream_cipher..NewFixStreamCipher$GT$::new::h428d9f3e664339b6 ()
(gdb) backtrace
#0  0xaab85efc in _$LT$ctr..Ctr128$LT$C$GT$$u20$as$u20$stream_cipher..NewFixStreamCipher$GT$::new::h428d9f3e664339b6 ()
#1  0xaab7f664 in librespot_playback::player::PlayerInternal::run::h11714ef38d488ae5 ()
Cannot access memory at address 0x0
#2  0xf69fcee0 in ?? ()
Cannot access memory at address 0x0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

Any ideas how to debug/isoloate this further?

Hm, I think problem manifests itself in this line, not sure why it happens though. Are you sure that nonce pointer is not null?

Hm, I think problem manifests itself in this line, not sure why it happens though. Are you sure that nonce pointer is not null?

I am a gdb novice - so my knowledge stops at :={
How exactly can I check?
(gdb) frame
#0  0xaab85efc in _$LT$ctr..Ctr128$LT$C$GT$$u20$as$u20$stream_cipher..NewFixStreamCipher$GT$::new::h428d9f3e664339b6 ()
(gdb) info f
Stack level 0, frame at 0xf65f7b40:
 pc = 0xaab85efc
    in _$LT$ctr..Ctr128$LT$C$GT$$u20$as$u20$stream_cipher..NewFixStreamCipher$GT$::new::h428d9f3e664339b6; saved pc = 0xaab7f664
 called by frame at 0xf65fce70
 Arglist at 0xf65f60b0, args:
 Locals at 0xf65f60b0, Previous frame's sp is 0xf65f7b40
 Saved registers:
  r4 at 0xf65f7b1c, r5 at 0xf65f7b20, r6 at 0xf65f7b24, r7 at 0xf65f7b28, r8 at 0xf65f7b2c,
  r9 at 0xf65f7b30, r10 at 0xf65f7b34, r11 at 0xf65f7b38, lr at 0xf65f7b3c
(gdb)

Try to do the following:

Clone ctr crate from the repo.
Replace line 105 with this code:

let nonce = [
    ((nonce[0] as u64) << 8*7) + ((nonce[1] as u64) << 8*6) +
    ((nonce[2] as u64) << 8*5) + ((nonce[3] as u64) << 8*4) +
    ((nonce[4] as u64) << 8*3) + ((nonce[5] as u64) << 8*2) +
    ((nonce[6] as u64) << 8*1) + ((nonce[7] as u64) << 8*0),
    ((nonce[8] as u64) << 8*7) + ((nonce[9] as u64) << 8*6) +
    ((nonce[10] as u64) << 8*5) + ((nonce[11] as u64) << 8*4) +
    ((nonce[12] as u64) << 8*3) + ((nonce[13] as u64) << 8*2) +
    ((nonce[14] as u64) << 8*1) + ((nonce[15] as u64) << 8*0),
];

Add [patch] section to librespot's Cargo.toml in which replace ctr crate with your modified copy:

[patch.crates.io]
ctr = { path = 'path/to/modified/ctr' }

Test resulted binary.

This gets interesting -
I don't know how to run cargo test when cross compiling. I tried taking the resulting binary from cargo --test --release --target arm-unknown-linux-gnueabihf and it didn't do anything (Ran test 0 of 0)
But I just added a simple debug to try and recreate a simpler minimal example,
println!("key: {:?}", key.0);
let cipher = Aes128Ctr::new(
            &GenericArray::from_slice(&key.0),
            &GenericArray::from_slice(&AUDIO_AESIV),
        );

and it doesn't have any bus errors now?
Either way - building with the patch now

Your patch works! I couldn't get the [patch] syntax working - I didn't seem to be able to get it to patch dependencies (ctr) of aes-ctr  but that is a different matter! :)
Thanks for the quick response!

Hm, now we need to find if I've maid a mistake and the line introduces UB, or is it Rust miscompialtion. One possible explanation is alignment issues, not sure how to check it though. :/ I will try to ask around.

Hm, now we need to find if I've maid a mistake and the line introduces UB, or is it Rust miscompialtion. One possible explanation is alignment issues, not sure how to check it though. :/ I will try to ask around.

Naive question - was it just a coincidence that this error didn't manifest when I added the print?

If you have some tests that I can cross compile with my current toolchain, will be happy to test for you!

Naive question - was it just a coincidence that this error didn't manifest when I added the print?

UB and miscompilation bugs are quite fragile, and can result in big behaviour changes on small code edits.

If you have some tests that I can cross compile with my current toolchain, will be happy to test for you!

I can translate tests to a stand-alone app, but I probably will do it tomorrow.
BTW have you updated Rust to 1.29.2? I doubt that this miscomiplation bug causes this situation, but it's worth to check.

Fair enough with the undefined behaviour.
Currently building with rustc 1.29.1 (b801ae664 2018-09-20) linked to arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516

Try to test the following snippet:
extern crate aes_ctr;

use aes_ctr::Aes128Ctr;
use aes_ctr::stream_cipher::{NewFixStreamCipher, StreamCipherCore};
use aes_ctr::stream_cipher::generic_array::GenericArray;

const AUDIO_AESIV: [u8; 16] = [
    0x72, 0xe0, 0x67, 0xfb, 0xdd, 0xcb, 0xcf, 0x77,
    0xeb, 0xe8, 0xbc, 0x64, 0x3f, 0x63, 0x0d, 0x93,
];

#[inline(never)]
fn new_cipher(key: &[u8]) -> Aes128Ctr {
    Aes128Ctr::new(
        GenericArray::from_slice(key),
        GenericArray::from_slice(&AUDIO_AESIV),
    )
}

#[inline(never)]
fn encrypt(cipher: &mut Aes128Ctr) -> [u8; 10] {
    let mut data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
    cipher.apply_keystream(&mut data);
    data
}

fn main() {
    let mut cipher = new_cipher(b"0123456789abcdef");
    let data = encrypt(&mut cipher);
    println!("{:?}", data);
}

Any news on this?
I've updated Cargo.lock after merge, as it was the easiest way to merge.

Sorry, this PR kind of got lost to the winds. If you wouldn't mind rebasing this, we'll review it and hopefully get it merged.

No problem! I've rebased PR and additionally fixed one security related mistake.

Thanks, will test this and review tomorrow hopefully. Also, could you squash the recent commits by any chance?

This seems to work fine. Once the last few commits are squashed will merge.

Done! Don't forget about checking decryption in Credentials::with_blob  and ideally it would be nice to add some tests.

I authed using zeroconf, then restarted with cached credentials and it worked fine.


Flatten glob "assets" to one output folder

🚀 Feature request
- [ ] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description
I am currently working with nested assets folder per entity map. Currently, I am using the following assets export settings:
              {
                "glob": "**/assets/**/*",
                "input": "src/app",
                "output": "/assets",
                "ignore": ["**/*.ts"]
              }

Imagine having the following file structure:
src
├── app
|   ├── module-folder
|   |   ├── assets
|   |   │   ├── images
|   |   │   │   └── image1.png
|   ├──other-module-folder
|   |   ├── assets
|   |   │   ├── images
|   |   │   │   └── image2.png

What I get
This would result in the following dist/ file structure:
dir
├── assets
|   ├── module-folder
|   |   ├── assets
|   |   │   ├── images
|   |   │   │   └── image1.png
|   ├──other-module-folder
|   |   ├── assets
|   |   │   ├── images
|   |   │   │   └── image2.png

What I want to have
dir
├── assets
|   ├── image1.png
|   └── image2.png

What I have tried
I have tried to use a custom script to move the assets files manually in a flatten way to the dir folder.
for file in ./src/app/**/assets/**/*.*; do cp "$file" "./dist/assets/$(basename -- "$file")" ;done

This, however, does not work in combination with ng serve as the files are in-memory, and also does not work with the ng build --watch as I am unsure how to activate script after it has been built.

I would love to get some insight into the best approach. Maybe this is simply using an already existing flow. From my point of view, this should be included as functionality, as the nested folder structure strategy seems to be one of the more common approaches.

Hi, thanks for reporting this.
Thinking about this more flattening the assets output is dangerous as this might cause file collisions since non of the assets files gets fingerprinted and a file with the same name can exist in a different nested folder.

It would be nice to add this as an option, similar to CopyWebpackPlugin

@alan-agius4 You're right that file collisions can be an issue but printing a warning to the console on build might be enough. In the end it's the developer's responsibility; if we are specifying we want all files in one folder, we couldn't have duplicate file names even if we were using any other build tool.

Django (python web framework) also does this and takes care of the collision via teaching the users a naming convention.
E.g.:
module1/assets/module1/images/image1.jpg
module2/assets/module2/images/image1.jpg

By adding a subfolder with the same name as the nested module, there should be no collisions.
In case of doubt it uses the first one it found. (Could also be the last one in case of glob)
I also would prefer using module local assets for some modules. It matches the whole lazy loading isolated module structure idea, is what I think.

The problem is that so far the cli cannot handle references to src in html.
Some very common requirements, such as: hash filename, add cdn host. cannot be implemented

I think cli should learn vue cli in this regard. If the file is in a specific folder, only copy it.
If the file is referenced by html or css, use webpack loader to convert it to require. next to other loader.

I have observed that html references are not processed at all, I think this is a design error

Any updates on this feature?

fun fact, the new vite/esbuild based build does exactly this. One side effect is though: If you have two files with the same name in different folders, you get a build error.


Invalid SQL generated for the ROW type in Trino unit test fixtures

Here is another Trino edge case which im not sure if it's SQLMesh or SQLGlot.
Given a model like so:
MODEL (
    name test.test_model,
    kind FULL
);

select
    max(meta.day) as day,
    meta.type as type
from test.metadata
group by 1, 2

And a test like so:
test_correct_grouping:
  model: test.test_model
  inputs:
    test.metadata:
      columns:
        meta: ROW(day date, type varchar)
      rows:
        - meta:
            day: 2024-03-30
            type: foo
        - meta:
            day: 2024-03-31
            type: bar
        - meta:
            day: 2024-04-01
            type: baz
  outputs:
    query:
      rows:
        - day: 2024-04-01
          type: baz

When running (against a default_test_connection pointed at Trino), it fails:
$ sqlmesh --debug test tests/test_model.yaml
E
======================================================================
ERROR: test_sqlmesh (tests/test_model.yaml)
----------------------------------------------------------------------
trino.exceptions.TrinoUserError: TrinoUserError(type=USER_ERROR, name=MISMATCHED_COLUMN_ALIASES, message="line 1:147: Column alias list has 1 entries but 't' has 2 columns available", query_id=20240430_192625_00091_yysrm)

The reason for this failure is the SQL that SQLMesh generates to create the test fixture. From the logs, it tries to execute:
CREATE OR REPLACE VIEW datalake.sqlmesh_test_g087nhkb."datalake__test__metadata" AS
SELECT CAST(meta AS ROW(day DATE, type VARCHAR)) AS meta
FROM (
  VALUES
    (CAST(ROW(CAST('2024-03-30' AS DATE), 'foo') AS ROW(day DATE, type VARCHAR))),
    (CAST(ROW(CAST('2024-03-31' AS DATE), 'bar') AS ROW(day DATE, type VARCHAR))),
    (CAST(ROW(CAST('2024-04-01' AS DATE), 'baz') AS ROW(day DATE, type VARCHAR)))
) AS t(meta)

The problem is that when CAST(ROW(CAST('2024-03-30' AS DATE), 'foo') AS ROW(day DATE, type VARCHAR)) is put inside VALUES(), Trino unpacks the ROW into two columns. This can be shown like so:
Running SELECT CAST(ROW(CAST('2024-03-30' AS DATE), 'foo') AS ROW(day DATE, type VARCHAR)) correctly produces a ROW:

_col0

{day=2024-04-30, type=foo}

However, wrapping it in VALUES by running SELECT * FROM ( VALUES ( CAST(ROW(CAST('2024-03-30' AS DATE), 'foo') AS ROW(day DATE, type VARCHAR)) ) ) "helpfully" unpacks the ROW into multiple columns:

_col0
_col1

2024-04-30
foo

This is what causes the error: Column alias list has 1 entries but 't' has 2 columns available
The correct syntax re-assembles the ROW type from the top-level columns something like:
SELECT CAST((t.col1, t.col2) AS ROW(day DATE, type VARCHAR)) AS meta
FROM (
  VALUES
    (CAST(ROW(CAST('2024-03-30' AS DATE), 'foo') AS ROW(day DATE, type VARCHAR))),
    (CAST(ROW(CAST('2024-03-31' AS DATE), 'bar') AS ROW(day DATE, type VARCHAR))),
    (CAST(ROW(CAST('2024-04-01' AS DATE), 'baz') AS ROW(day DATE, type VARCHAR)))
) AS t(col1, col2)

Alternatively - instead of SQLMesh trying to generate a query from the yaml to produce a test fixture, maybe we could add a feature that allows the user to supply their own SELECT query to produce the data?

Interesting! Yeah this looks like another SQLMesh edge case. Thanks for reporting Erin, I'll take a look soon.


Add Windows info for RN community Slider and Checkbox modules.

Why
Windows support has been added to Checkbox and Slider modules.

Updated react-native-libraries.json

fyi @Simek


Missing license file

@benmosher @ljharb @jfmengels  Hi guys, thank you for this package. Would you mind adding the license file to the npm packages:

<EMAIL_ADDRESS>and latest,
<EMAIL_ADDRESS>and latest

Without it we're not really able to use them, because it makes the npm package a distribution of proprietary code.
Many thanks.

The license file applies to the whole repo, and https://github.com/benmosher/eslint-plugin-import/blob/master/utils/package.json#L22 and https://github.com/benmosher/eslint-plugin-import/blob/master/resolvers/node/package.json#L25 declare MIT such that no court would interpret the license to be anything else.
That said, it certainly seems fine to add the files (they’d only show up in the next version, of course, files can’t ever be added to already-published versions).

@ljharb, the license file was not included in the packages on the latest releases, even though its on the repos. The packages were probably published with an old version of npm that didn't include it yet unless whitelisted on the files array of package.json.

There’s only one license file in the repo, at the root - these subpackages don’t have one.
(We should stop using the files array anyways, it’s dangerous - but i don’t think it’s related to this issue)

Oops, I just had a quick glimpse at the repo, didn't notice it's a mono-repo., disregard what I said. And I also agree with the files array question.

Seems reasonable to do it on their next release, but license file or not, there’s precisely zero chance any software in this repo could be interpreted as anything but MIT, so there’s no rush.

eslint-module-utils
and
https://www.npmjs.com/package/eslint-import-resolver-node
both have "license": "MIT" in their package.json
and they're all in this repository, which already has a LICENSE file.
Can this be closed?

@soryy708 Not really the license file is required (see this https://github.com/babel/babel/pull/7308#issuecomment-367615152 for more details)


priceRanges widget shows ranges with no result

I've noticed that priceRanges widget is listing ranges that have no result. A working example can be found here: https://goo.gl/hpiQLL
And is it possible to display count for items?

@tecmusti Hi! Unfortunately that is not yet possible given the feature of the Algolia REST API. We are currently auto-generating those ranges instead of getting them from the real data.
Thus this can sometime lead to bad ranges leading to no results.
You best option currently would be to use the numericRefinementList that allows you to provide manual values for the ranges along with start/end bounds.
If you already know what price ranges you want, that's the way to go.
We will upgrade those numeric ranges widgets soon to make it clearer.
I am gonna update the docuentation to show how to pass manual values to numericRefinementList, in the meantime use this:
numericRefinementList({
  attributeName: 'price',
  options: [{
    name: 'less than 500$',
    end: 500
  }]
})

Etc..

Hi @vvo
I am sorry but your solution is not better than priceRanges widget.
For example;
There is an option for less than 50. This option is still being listed even there are no items less than 50 for current refinements.

Hi @tecmusti indeed this is a bug to me also. I created the relevant issue here: https://github.com/algolia/instantsearch.js/issues/1135
If you feel like contributing this would be a very good opportunity, I linked the relevant code.

Thanks a lot @tecmusti for all the feedback and bug reports!


Authorization for snapshot debugging doesn't work anymore

Describe the issue
When trying to initialize a snapshot debugging session, I am asked for username and password, but they aren't accepted. The same username and password work for e.g. downloading symbols. Here is what I do:

Create the container (full output see below)
Create the launch.json file in my AL project

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "al",
      "request": "launch",
      "name": "deleteme",
      "server": "https://snap-test.germanywestcentral.cloudapp.azure.com",
      "serverInstance": "testdev",
      "port": 443,
      "authentication": "UserPassword",
      "startupObjectId": 22,
      "startupObjectType": "Page",
      "tenant": "default",
      "breakOnError": true,
      "launchBrowser": true,
      "enableLongRunningSqlStatements": true,
      "enableSqlInformationDebugger": true
    },
    {
        "name": "snapshotInitialize: deleteme",
        "type": "al",
        "request": "snapshotInitialize",
        "environmentType": "Onprem",
        "server": "https://snap-test.germanywestcentral.cloudapp.azure.com",
        "serverInstance": "testsnap",
        "port": 443,
        "authentication": "UserPassword",
        "breakOnNext": "WebClient"
    },
  ]
}

Run "AL: Download symbols" in VS Code. I get asked for username and password and after providing them, symbols are successfully downloaded
Hit F7 in VS Code. Again, I get asked for username and password, but now get the following error:

[2021-11-04 15:50:43.53] Requesting metadata for a snapshot debugging session.
[2021-11-04 15:50:43.53] Targeting server 'https://snap-test.germanywestcentral.cloudapp.azure.com' and server instance 'testsnap'.
[2021-11-04 15:50:43.54] Using user name and password authentication. User name used is: 'admin'.
[2021-11-04 15:50:43.54] Sending request to https://snap-test.germanywestcentral.cloudapp.azure.com/testsnap/snapshotdebugger/snapshotendpointmetadata
[2021-11-04 15:50:43.72] Authorization has failed or the credentials have expired. The credential cache has been cleaned. Any access to reach Business Central would require new authorization.
The authentication has been cancelled.

Starting Internet Information Server
Copying Service Tier Files
C:\NAVDVD\ServiceTier\Program Files
C:\NAVDVD\ServiceTier\System64Folder
Copying PowerShell Scripts
C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
C:\NAVDVD\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation
Changing Database Server Collation to French_100_CS_AS
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Copying Web Client Files
C:\NAVDVD\WebClient\Microsoft Dynamics NAV
Copying Client Files
C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
C:\NAVDVD\LegacyDlls\systemFolder
Copying ModernDev Files
C:\NAVDVD
C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\NAVDVD\ConfigurationPackages
Copying Test Assemblies
C:\NAVDVD\Test Assemblies
Copying Extensions
C:\NAVDVD\Extensions
Copying Applications
C:\NAVDVD\Applications
Copying Applications.FR
C:\NAVDVD\Applications.FR
Starting Business Central Service Tier
Importing CRONUS license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 360 seconds
Installation complete
Removing intermediate container 2eeef16ef712
 ---> 043cc34b45b7
Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447"       created="202111041427"       nav=""       cu=""       multitenant="Y" country="FR"       version="19.0.29894.32020"       platform="19.0.29884.31932"
 ---> Running in 1c5feea52c9c
Removing intermediate container 1c5feea52c9c
 ---> 126f08b7f9c3
Successfully built 126f08b7f9c3
Successfully tagged mybc:sandbox-19.0.29894.32020-fr-mt
Building image took 1535 seconds
WARNING: useTraefik not specified, but Traefik container was initialized, using Traefik. Specify -useTraefik:$false if you do NOT want to use Traefik.
Enabling SSL as otherwise all clients will see mixed HTTP / HTTPS request, which will cause problems e.g. on the mobile and modern windows clients
Using image mybc:sandbox-19.0.29894.32020-fr-mt
PublicDnsName is snap-test.germanywestcentral.cloudapp.azure.com
Creating Container test
Style: sandbox
Multitenant: Yes
Version: 19.0.29894.32020
Platform: 19.0.29884.31932
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.2237 (ltsc2019)
Host OS Version: 10.0.17763.2237 (ltsc2019)
Using process isolation
Using locale fr-FR
Adding special CheckHealth.ps1 to enable Traefik support
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
-e webserverinstance=test
-e publicdnsname=snap-test.germanywestcentral.cloudapp.azure.com
-l "traefik.protocol=https"
-l "traefik.web.frontend.rule=PathPrefix:/test"
-l "traefik.web.port=443"
-l "traefik.soap.frontend.rule=PathPrefix:/testsoap;ReplacePathRegex: ^/testsoap(.*) /BC$1"
-l "traefik.soap.port=7047"
-l "traefik.rest.frontend.rule=PathPrefix:/testrest;ReplacePathRegex: ^/testrest(.*) /BC$1"
-l "traefik.rest.port=7048"
-l "traefik.dev.frontend.rule=PathPrefix:/testdev;ReplacePathRegex: ^/testdev(.*) /BC$1"
-l "traefik.dev.port=7049"
-l "traefik.snap.frontend.rule=PathPrefix:/testsnap;ReplacePathRegex: ^/testsnap(.*) /BC$1"
-l "traefik.snap.port=7083"
-l "traefik.dl.frontend.rule=PathPrefixStrip:/testdl"
-l "traefik.dl.port=8080"
-l "traefik.dl.protocol=http"
-l "traefik.enable=true"
-l "traefik.frontend.entryPoints=https"
--env customNavSettings=PublicODataBaseUrl=https://snap-test.germanywestcentral.cloudapp.azure.com/testrest/odata,PublicSOAPBaseUrl=https://snap-test.germanywestcentral.cloudapp.azure.com/testsoap/ws,PublicWebBaseUrl=https://snap-test.germanywestcentral.cloudapp.azure.com/test
Files in C:\ProgramData\BcContainerHelper\Extensions\test\my:
- AdditionalOutput.ps1
- CheckHealth.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatecontainerhosts.ps1
Creating container test from image mybc:sandbox-19.0.29894.32020-fr-mt
7d3a5dc2d6352501ef8add603931b3d8c0703ebc9dc26bb107417b18d2f1570b
Waiting for container test to be ready
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is test
PublicDnsName is snap-test.germanywestcentral.cloudapp.azure.com
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 05F33F14784E40CEDBF7084C92AFC1D7DAB6071F
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting PublicODataBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/testrest/odata
Setting PublicSOAPBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/testsoap/ws
Setting PublicWebBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/test
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : test
Container Dns Name  : snap-test.germanywestcentral.cloudapp.azure.com
Web Client          : https://snap-test.germanywestcentral.cloudapp.azure.com/test/?tenant=default
Dev. Server         : https://snap-test.germanywestcentral.cloudapp.azure.com
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting test-default to <IP_ADDRESS> in container hosts file

Files:
http://snap-test.germanywestcentral.cloudapp.azure.com:8080/ALLanguage.vsix
http://snap-test.germanywestcentral.cloudapp.azure.com:8080/certificate.cer

Container Total Physical Memory is 32.0Gb
Container Free Physical Memory is 25.8Gb

Initialization took 130 seconds
Ready for connections!
Reading CustomSettings.config from test
Creating Desktop Shortcuts for test
Container test successfully created
Because of Traefik, the following URLs need to be used when accessing the container from outside your Docker host:
Web Client:        https://snap-test.germanywestcentral.cloudapp.azure.com/test?tenant=default
SOAP WebServices:  https://snap-test.germanywestcentral.cloudapp.azure.com/testsoap
OData WebServices: https://snap-test.germanywestcentral.cloudapp.azure.com/testrest
Dev Service:       https://snap-test.germanywestcentral.cloudapp.azure.com/testdev
Snapshot Service:  https://snap-test.germanywestcentral.cloudapp.azure.com/testsnap
File downloads:    https://snap-test.germanywestcentral.cloudapp.azure.com/testdl

Use:
Get-BcContainerEventLog -containerName test to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName test to get debug information about the container
Enter-BcContainer -containerName test to open a PowerShell prompt inside the container
Remove-BcContainer -containerName test to remove the container again
docker logs test to retrieve information about URL's again
PS C:\Users\VM-Administrator> docker logs test
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is test
PublicDnsName is snap-test.germanywestcentral.cloudapp.azure.com
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 05F33F14784E40CEDBF7084C92AFC1D7DAB6071F
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting PublicODataBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/testrest/odata
Setting PublicSOAPBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/testsoap/ws
Setting PublicWebBaseUrl to https://snap-test.germanywestcentral.cloudapp.azure.com/test
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : test
Container Dns Name  : snap-test.germanywestcentral.cloudapp.azure.com
Web Client          : https://snap-test.germanywestcentral.cloudapp.azure.com/test/?tenant=default
Dev. Server         : https://snap-test.germanywestcentral.cloudapp.azure.com
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting test-default to <IP_ADDRESS> in container hosts file

Files:
http://snap-test.germanywestcentral.cloudapp.azure.com:8080/ALLanguage.vsix
http://snap-test.germanywestcentral.cloudapp.azure.com:8080/certificate.cer

Container Total Physical Memory is 32.0Gb
Container Free Physical Memory is 25.8Gb

Initialization took 130 seconds
Ready for connections!

Screenshots
Additional context

does it happen all the time?
Yes
did it use to work?
Yes, see #1702

I also checked the BC Server configuration, but Snapshot debugging seems enabled and on the right port
[TEST] PS C:\Run> Get-NAVServerConfiguration BC

key                                                         value
---                                                         -----
...
SnapshotDebuggerEnabled                                     true
SnapshotDebuggerServicesPort                                7083
SnapshotDebuggerServicesSSLEnabled                          true

As I get an auth problem and not something like a 404, it also seems to me like it works in general

Additional note: If I use the BC 19 onprem artifacts, the connection works

Create the container

New-BcContainer -accept_eula -accept_outdated -containerName onprem19fr -artifactUrl (Get-BCArtifactUrl -type onprem -country fr -version 19) -imageName mybc -auth NavUserPassword

Download symbols
Connect snapshot session -> works

[2021-11-04 17:21:25.23] Initializing a snapshot debugging request on debugging context :d3e5aa6d-4348-4768-bd49-db98b9b8b19b
[2021-11-04 17:21:25.23] Sending request to https://snap-test.germanywestcentral.cloudapp.azure.com/onprem19frsnap/snapshotdebugger/attach?debuggingcontext=d3e5aa6d-4348-4768-bd49-db98b9b8b19b
[2021-11-04 17:21:26.03] The snapshot debugger initialize request for the debugging context 'd3e5aa6d-4348-4768-bd49-db98b9b8b19b' has succeeded.
Check the status of an initialized snapshot by using the 'Show all snapshots' command, or by clicking the snapshot debugger icon in the left corner of the toolbar.

So it seems like this is somehow connected to the sandbox artifacts?

If you add -runSandboxAsOnPrem does that make it work?

Yes, that works. Shouldn't it also work without that?

Yes, it should - but it points to where the error is (in the permission subsystem)

@freddydk any idea on this yet?

hmmm, took me some time to figure out the configuration. This one was working for me.
    {
        "name": "snapshotInitialize: MyServer",
        "type": "al",
        "request": "snapshotInitialize",
        "environmentType": "OnPrem",
        "server": "https://yourserver.westeurope.cloudapp.azure.com",
        "port": 443,
        "serverInstance": "navserversnap",
        "authentication": "UserPassword",
        "breakOnNext": "WebClient"
    },

@freddydk any update on this?

Hi, adding "tenant": "default" to the Snapshot Debugger configuration in the launch.json should solve the issue. This is because sandbox containers are multitenant by default, so this parameter is required when connecting to the container.


T9. Replace pymol with nglview

This PR replaces Pymol with nglview in T9
Pending tasks

[x] Render images for offline visualization

This is great! I have nothing to add :)
Shall we merge when all talktorials are refactored and make a new version out of it?

Shall I merge? I though you would do it!

There is still on open issue.
With the current environment (rdkit 2019.03.4) I cannot see the images of the compounds in the last DataFrame, I only see a string "<img src="data:image/png;base64,iVBORw0KGgoAAA..." (ROMol column).
Under the old environment the images are displayed (I think rdkit 2018.3.4).
I have not found a way yet to make the images appear again.

Ok then, I'll do it :)


Define cirq.run/run_sweep/NoiseModel/NO_NOISE/ConstantQubitNoiseMode

cirq.NoiseModel has semi-abstract noisy_moment/moments/operation methods (at least one must be implemented)
cirq.ConstantQubitNoiseModel applies a given gate to every qubit at the end of every moment
cirq.NO_NOISE is a noise model that returns its inputs unchanged
cirq.run/cirq.run_sweep delegates to an appropriate simulator by analyzing their input
DensityMatrixSimulator now has a noise attribute that takes a NoiseModel
Simulator's now force keyword args for dtype
TrialResult now pretty prints its results in ipython
assert False lines no longer considered uncovered

Part of https://github.com/quantumlib/Cirq/issues/1355

Please make comments on the design. Is this a reasonable way to define noise?

I agree w Dave  - I think it would be useful for the NoiseModel to be applied before running the simulator so that the user could access the modified circuit (and we'd likely end up writing such a noise wrapper in our external library if its not available at the cirq level).
I do like the flexibility in the NoiseModel though. One use we have for noise is to apply channels conditionally on gate type, e.g. greater damping for 2-qubit gates, as an ad hoc way of modelling gate fidelity. So the generality for the NoiseModel is nice in that respect

I worry a bit that we are again putting into the simulators transformations on the circuit. Of course the user has to supply the noise model, so that is good (better than decompose, which is hidden). But note that the user here cannot even see what the noisy circuit that they just ran looks like.

The fact that the user explicitly asks for the noise should make it not confusing. I think that was the main downside of automatic decomposition.
I agree that we should have a way to spit out the noisy circuit so the user can inspect it. Especially if the noise model is randomly inserting gates, instead of deterministically inserting channels. Perhaps we could include the simulated moment operations in the TrialResult?

I worry a bit about cirq.run because what about engine?

I was picturing an argument like service or similar that defaults to local simulation. I think local simulation is the right default.

I was picturing an argument like service or similar that defaults to local simulation. I think local simulation is the right default.

I

@dabacon Did you accidentally hit the close button while typing?


Add #include <stdio.h> because using printf causes a compile error

Hello
I get a compile error in my modified file saying
error:‘printf’ was not declared in this scope

#include <stdio.h>
Send a pull request with the addition of.

Minor note: it's better C++ practice to #include <cstdio> rather than stdio.h, to put things in the std namespace.

Minor note: it's better C++ practice to #include <cstdio> rather than stdio.h, to put things in the std namespace.

Thank you for teaching.
I have fixed it.

Thank you for teaching.
I have fixed it.


Provide a standalone build of typescript for use in browser?

When loaded in a browser, typescript automatically compile and execute all script tags.
Like the example code, as shown below:
<script src="typescript-standalone.js"></script>
<script type="text/typescript">
function greetText(name: string): string {
  return "Hello " + name;
}
</script>

This is a neat idea but not something within the scope of our project.


Fix flaky-under-CC test about rewired inputs

by avoiding having an entire build directory to be the task output, and instead by configuring a custom directory

❓ The change seems fair, but could you share more context on why having the entire build dir as an output results in flakiness?

❓ The change seems fair, but could you share more context on why having the entire build dir as an output results in flakiness?

Never mind, saw the discussion about the problem-report.html contents not being stable.

@abstratt, that's a good point. I added a bit more detail to the PR description 👍


feat: add gastby to  command

Add Gatsby to framework initialize.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Are these the expected errors? I have four errors

I believe they are the expected errors but I don't know why.
../s2n-master/tests/unit/s2n_stuffer_hex_test.c:72: (error) Signed integer overflow for expression 'i*357913941'.
../s2n-master/tests/unit/s2n_stuffer_hex_test.c:79: (error) Signed integer overflow for expression 'i*357913941'.
../s2n-master/tests/unit/s2n_stuffer_test.c:89: (error) Signed integer overflow for expression 'i*171798691'.
../s2n-master/tests/unit/s2n_stuffer_test.c:96: (error) Signed integer overflow for expression 'i*171798691'.
Found by https://github.com/bryongloden/cppcheck

These are all test-case errors were int promotion could result in undefined behavior. The fix should be to make i itself uint64_t. Those are nice catches!


Feature request : set the input format from the file extension

Currently if we want to load a csv file with -i data.csv we have also to set the format using -f csv.
May be the format can be set by default to be the file extension if it is on of the known formats.

Done in v1.0.15 - App tries autodetect format by extension if -f is not definned
I've added also new paramater -d to define CSV delimiter

You can now probably remove all unnecessary -f from the documentation, like in :

bafi.exe -i users.csv -f csv -t myTemplate.tmpl -o output.txt
bafi.exe -i users.bson -f bson -t myTemplate.tmpl -o output.html
.\bafi.exe -i input.csv -f csv -t "?{{toXML .}}"
...

updatated but note -f param still makes sense because extension may often be unusual especially for XML and CSV and also. This tool was originally meant for STDIN where format must be defined

@mmalcek I agree that -f is absolutely necessary (even if we can guess the format from the data) when reading from stdin or when the file extension is not standard. But I suggest to remove it only from the examples where -f is redundant with the extension in -i.


YouTube Video Block #39

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #39
Test URLs

Before: https://main--merative2--hlxsites.hlx.page/drafts/arumsey/video-block
After: https://issue-39-youtube--merative2--hlxsites.hlx.page/drafts/arumsey/video-block

Description

add YouTube support

I'll take this one on and figure out the conflicts with main.

Getting 100 when directly checking with PSI


Calling onClick"" app crach version <23

Clicking on view with an onClick attribute set in xml causes crash. Works fine if set onClickListener in associated activity class

Please provide more details: your code and a stack trace.

Closing as stale, please reopen with more information if still relevant.


For all paths that the user needs to change, such as the the path to Rosetta or the rosetta database, put them in angle brackets like <path/to/rosetta>/main/source/

combine with other command line issues


FIRDocumentSnapshot Internal -> Public

Hi everyone, please is there a chance to make this header public: FIRDocumentSnapshot+Internal.h
If you look at trouble it causes on flutter https://github.com/flutter/flutter/issues/23618
You might understand my frustration. All we need is to have simple way for pagination.
Current solution is quite hideous how it is...I still dont understand why We cannot use documentId in startAtDocument method. Anyhow on other platforms, because of your access control settings, We cannot construct FIRDocumentSnapshot object, as there are no public constructors.
Therefore We cannot use pagination methods startAtDocument, etc...
Flutter SDK or other platforms can obviously serialise any kind of data and send it back to native IOS SDK, but there is not way currently to pass that data to make FIRQuery.
Some snippets, in this piece of code I have my documentID, but I can have whole NSDictionary filled with documentSnapshot data, coming from Dart/Flutter or other platforms...but still I cannot construct document snapshot.
  id startAtDocument = parameters[@"startAtDocument"];
  if (startAtDocument) {
    NSString *startAtId = startAtDocument;
    query = [query queryStartingAtDocument:snapshot???];
  }

But if you look into internal method:
+ (instancetype)snapshotWithFirestore:(FIRFirestore *)firestore
                          documentKey:(firebase::firestore::model::DocumentKey)documentKey
                             document:(nullable FSTDocument *)document
                            fromCache:(BOOL)fromCache;

It might be possible to pass those variables from flutter/dart SDK.
If not, could you please suggest workaround ? LIke passing documentID, path, firestore instance etc and use it for paging ? Only thing in my mind is to use REST approach
https://firebase.google.com/docs/firestore/reference/rest/v1beta1/StructuredQuery
And try to create Cursor object with referenceValue insde. I am not even sure it this could work

Specially if you are not really using documentSnapshot content, as per your method
- (FSTBound *)boundFromSnapshot:(FIRDocumentSnapshot *)snapshot isBefore:(BOOL)isBefore
You are passing some internal key which is used for sorting...

Or is there a way to order collection by documentId and then pass documentId to startAt (values)
 id startAtDocument = parameters[@"startAtDocument"];
  if (startAtDocument) {
    NSArray *startAtValues = startAt;
    query = [query queryOrderedByFieldPath:FIRFieldPath.documentID descending:YES];
    query = [query queryStartingAfterValues:startAtValues];
  }

So last solution is not supported (DESC), and even if it was...documentID is not chronological key in firestore :(

Only option which actually works is to use documentID in native code and perform extra reading to get documentSnapshot and pass this into query.
   id startAtDocument = parameters[@"startAtDocument"];
    if (startAtDocument) {
      NSArray *startAtValues = startAtDocument;
      FIRDocumentReference* ref = [[getFirestore(arguments) collectionWithPath:arguments[@"path"]] documentWithPath:startAtValues[0]];
      [ref addSnapshotListener:^(FIRDocumentSnapshot * _Nullable snapshot, NSError * _Nullable error) {
         query = [query queryStartingAtDocument:snapshot];
        return handler(query);
      }];
    }

Which is kind of insane...as I already have this

DocumentSnapshot, unlike DocumentReference, contains document existence state, and thus isn't suitable for constructing on the client. What you should do instead is fetch a query limited to some number of items and then use the last document in the query snapshot in your next startingAt(_:) call. What you're trying to do instead is not supported and will probably not ever be supported, since there's no way of guaranteeing a document snapshot created without a server fetch is a valid snapshot for a given query.
If you want your query to be chronologically descending, add a server timestamp field to your document and use an ordered query (via order(by:)).

@morganchen12 Thank you for reply, but you did not understand the problem.
First of all, I am using official Firestore plugin for flutter, which is basically wrapper around Firestore iOS & Android SDK. What it does is to expose your methods to flutter/dart. So in my code I obviously have DocumentSnapshot coming from query, with all states etc. But this object has been parsed and transferred to Dart.
Now when We need to perform another query and pass this object back, we cannot construct it back from data coming from flutter/dart.
Second part of statement is wrong as well, my query is already chronologically sorted, I have my created unix property there and its sorted by it. Problem is that for some unknown reason firebase API + SDK needs document snapshot object to make another query to perform paging. Why would you need any state there...there will be new data coming from server anyway, only thing you need is to have documentId, sortBy field and path to collection (+ firestore instance)

The fix is to make flutter retain the underlying FIRDocumentSnapshot so that when you transfer it back across the dart / Objective-C boundary you can reuse the snapshot that already exists.
We don't allow snapshots to be constructed arbitrarily because there's too much underlying complexity that we don't want to expose.

It's also worth noting that startAtDocument() is just a convenience method to perform the equivalent startAt() call.
collection.orderBy('x').orderBy('y').startAtDocument(someDoc) is basically shorthand for collection.orderBy('x').orderBy('y').orderBy(FieldPath.documentId()).startAt(someDoc.get('x'), someDoc.get('y'), someDoc.documentId)
So you can certainly do pagination without having the startAtDocument() method.

@mikelehen finally something useful, could you please rewrite your answer as I really dont understand this bit "someDoc.get('x')" Could you try write it in objc/swift/java/kotlin ?

@radvansky-tomas These two (Swift) queries are equivalent:
  let someDoc: DocumentSnapshot
  query = collection.order(by: "x").order(by: "y").start(atDocument: someDoc)
  query = collection.order(by: "x").order(by: "y").order(by: FieldPath.documentID()).start(at: [someDoc.get("x"), someDoc.get("y"), someDoc.documentID])

Does that help?

@mikelehen YES. Will do changes and test on my side. And if its going to work, we will be able to close this issue. But then I really suggest to put this snipped into documentation, as there is no reference to it!

Thanks for the feedback!  I've opened an internal bug to improve the reference docs for startAtDocument() to make this clearer.
Please do let us know if this works for you and then we can close the issue.  Thanks!

@mikelehen Thank you very much for your help. It seems to be working fine. I will have to do more complex tests. But for now you can close the issue. I will update cloud_firestore plugin for flutter to support this approach.

Sounds good, thanks for the quick follow-up!


Do not send referrer header on POST to SP.

Some SP's claim their (e.g. Piwik) stats are 'polluted' by referrers from
engine.surfconext.nl when people have logged into the SP, which obscure
the 'real' external referrer for this user.
We might not have much to gain by sending this header. So we can avoid
doing so, helping these SP's at no cost to us (?).
NB: this only modifies the source theme, theme still needs to be compiled.

After internal discussion we concluded not to apply this. The problem is that IE/Edge do not support it, so it would work for 80% of the cases. We believe that it working sometimes and not others would confuse things even more. We'd rather have consistent, predictable behaviour.


Add support for detection+unpacking of packed B-frames in AVI+DivX files

Solution is to add -bsf:v mpeg4_unpack_bframes, but it's unclear how to detect packed B-frames.
To make things more difficult, this flag is incompatible with -fflags +genpts, so the only solution to this problem is to remux the AVI file twice: once for recomputing the PTS and another to unpack bframes. The order does not seem to matter.
Without this, the output MKV/MP4 files may have chopped framerate.
CC @alanorth, this might be of interest for you.

Regarding detection, after searching the Internet, I only found this suggestion: https://video.stackexchange.com/questions/32695/programmatically-detect-packed-b-frames-avi-files
I didn't like that approach which relies on reading a ffmpeg warning, so I found a better a better way:
ffprobe -show_frames -select_streams v -show_entries frame=pict_type,pkt_size

Locate the first frame with pict_type  is B.

If pkt_size == 8, then you have a packed B-frame.
If pkt_size > 8, then you have a regular B-frame.

Not sure if this approach is robust, so I'll test against my collection.

Even better: Just bgrepping the file itself, see divx_packed:
    e = sscanf(buf, "DivX%dBuild%d%c", &ver, &build, &last);
    if (e < 2)
        e = sscanf(buf, "DivX%db%d%c", &ver, &build, &last);
    if (e >= 2) {
        ctx->divx_version = ver;
        ctx->divx_build   = build;
        s->divx_packed  = e == 3 && last == 'p';
    }

https://github.com/FFmpeg/FFmpeg/blob/bbe95f7353a972f28a48be8da883549f02c59e4b/libavcodec/mpeg4videodec.c#L2942-L2950

Detection solved at https://github.com/AlexAltea/curator/commit/f9b06146fde30dce0a422ca05a6ed7fa675da6ad

Fixed at https://github.com/AlexAltea/curator/commit/38dcb4ce07ba495004c942f06bdc59567e786322


Impossible to delete values in categories

What

[ ] Impossible to delete values in categories

https://user-images.githubusercontent.com/1689815/209446568-eb3b8172-a2c7-440a-b9eb-4ed1b70b58d7.mp4
Part of

#editing

@teolemon Do you use the latest version?
I noticed something similar while debugging: it was more a display issue (no refresh) than a not deleting issue. But then it was fixed.
What if you delete a category, you save and immediately go back to the category page? Do you still see your removed category?
Anyway it will pop up later by magic when the server auto-computes gap categories.

I would like to work on this issue

@Omegaviv @monsieurtanuki fixed for me already.


F 1015 add qf round to project edit page

related to #1015

@CarlosQ96  I added those buttons like this


Missing ability  from Build, Unknown attribute id:  - Error

During unpacking of a replay following error is present:
Problem seems to be present for Zerg and Protoss races.
It needs to be noted that there were couple of recent changes to the game:

Battery Overcharge
Microbial Shroud
Tempest upgrade for more dmg towards buildings

The most often used ability would probably be Battery Overcharge on the Protoss side.
There is another log below the one shown here which consists of different ability ID's being missing some of which are repetetive.
[2020-09-03 19:48:00,719][context][37][ERROR] - Y:\Projects\SC2Science\DEMOS\Input\11506451_1566325439_628104.SC2Replay
[2020-09-03 19:48:00,719][context][38][ERROR] - Release String: <IP_ADDRESS>800
[2020-09-03 19:48:00,720][context][45][ERROR] -         Player 1 - Nickname_1 (Protoss)
[2020-09-03 19:48:00,728][context][45][ERROR] -         Player 2 - Nickname_2 (Terran)
[2020-09-03 19:48:00,728][context][52][ERROR] - 69      Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,734][context][52][ERROR] - 2904    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,736][context][52][ERROR] - 3601    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,740][context][52][ERROR] - 6106    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,741][context][52][ERROR] - 7751    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,749][context][52][ERROR] - 8646    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,751][context][52][ERROR] - 9215    Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,753][context][52][ERROR] - 10024   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,757][context][52][ERROR] - 11121   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,758][context][52][ERROR] - 11802   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,767][context][52][ERROR] - 13529   Nickname_1        Missing ability 59A0 from Build
[2020-09-03 19:48:00,768][context][52][ERROR] - 13699   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,775][context][52][ERROR] - 17440   Nickname_1        Missing ability 3460 from Build
[2020-09-03 19:48:00,785][context][52][ERROR] - 17954   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,786][context][52][ERROR] - 18247   Nickname_1        Missing ability 59A0 from Build
[2020-09-03 19:48:00,788][context][52][ERROR] - 19039   Nickname_1        Missing ability 3460 from Build
[2020-09-03 19:48:00,795][context][52][ERROR] - 20752   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,812][context][52][ERROR] - 24663   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,817][context][52][ERROR] - 24767   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,819][context][52][ERROR] - 24973   Nickname_1        Missing ability 5980 from Build
[2020-09-03 19:48:00,821][context][52][ERROR] - 25063   Nickname_1        Missing ability 59A0 from Build
[2020-09-03 19:48:00,825][context][52][ERROR] - 26491   Nickname_1        Missing ability 5980 from Build

Different error codes displayed below. Some of them are repetetive.
[2020-09-03 19:48:00,121][context][38][ERROR] - Release String: <IP_ADDRESS>800
[2020-09-03 19:48:00,122][context][45][ERROR] -         Player 1 - Nickname_1 (Zerg) Jimmy
[2020-09-03 19:48:00,129][context][45][ERROR] -         Player 2 - Nickname_2 (Protoss) Hoplite
[2020-09-03 19:48:00,130][context][52][ERROR] - 957     Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,134][context][52][ERROR] - 3378    Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,138][context][52][ERROR] - 4678    Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,139][context][52][ERROR] - 5131    Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,141][context][52][ERROR] - 5829    Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,149][context][52][ERROR] - 5940    Nickname_2 Missing ability 4341 from Build
[2020-09-03 19:48:00,151][context][52][ERROR] - 6088    Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,153][context][52][ERROR] - 6942    Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,155][context][52][ERROR] - 7096    Nickname_2 Missing ability 4341 from Build
[2020-09-03 19:48:00,157][context][52][ERROR] - 7703    Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,158][context][52][ERROR] - 7791    Nickname_2 Missing ability 4341 from Build
[2020-09-03 19:48:00,165][context][52][ERROR] - 8193    Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,167][context][52][ERROR] - 8612    Nickname_2 Missing ability 4341 from Build
[2020-09-03 19:48:00,168][context][52][ERROR] - 8748    Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,170][context][52][ERROR] - 9877    Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,173][context][52][ERROR] - 10857   Nickname_2 Missing ability 5980 from Build
[2020-09-03 19:48:00,174][context][52][ERROR] - 11334   Nickname_1   Missing ability 26A0 from Build
[2020-09-03 19:48:00,176][context][52][ERROR] - 11570   Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,183][context][52][ERROR] - 11735   Nickname_2 Missing ability 4341 from Build
[2020-09-03 19:48:00,185][context][52][ERROR] - 12377   Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,186][context][52][ERROR] - 12446   Nickname_1   Missing ability 2320 from Build
[2020-09-03 19:48:00,187][context][52][ERROR] - 12683   Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,188][context][52][ERROR] - 12956   Nickname_1   Missing ability 2320 from Build
[2020-09-03 19:48:00,190][context][52][ERROR] - 13267   Nickname_1   Missing ability 2320 from Build
[2020-09-03 19:48:00,190][context][52][ERROR] - 13309   Nickname_2 Missing ability 4340 from Build
[2020-09-03 19:48:00,191][context][52][ERROR] - 13509   Nickname_1   Missing ability 2320 from Build
[2020-09-03 19:48:00,198][context][52][ERROR] - 13598   Nickname_2 Missing ability 4340 from Build

This is something totally unexpected:
[2020-09-03 19:48:00,488][objects][75][INFO] - Unknown attribute id: 5005
[2020-09-03 19:48:00,489][objects][75][INFO] - Unknown attribute id: 5005
[2020-09-03 19:48:00,489][objects][75][INFO] - Unknown attribute id: 3020
[2020-09-03 19:48:00,490][objects][75][INFO] - Unknown attribute id: 3020
[2020-09-03 19:48:00,490][objects][75][INFO] - Unknown attribute id: 3016
[2020-09-03 19:48:00,491][objects][75][INFO] - Unknown attribute id: 3016
[2020-09-03 19:48:00,491][objects][75][INFO] - Unknown attribute id: 5002
[2020-09-03 19:48:00,492][objects][75][INFO] - Unknown attribute id: 5002
[2020-09-03 19:48:00,499][objects][75][INFO] - Unknown attribute id: 3019
[2020-09-03 19:48:00,499][objects][75][INFO] - Unknown attribute id: 3019
[2020-09-03 19:48:00,500][objects][75][INFO] - Unknown attribute id: 5004
[2020-09-03 19:48:00,500][objects][75][INFO] - Unknown attribute id: 5004
[2020-09-03 19:48:00,501][objects][75][INFO] - Unknown attribute id: 5003
[2020-09-03 19:48:00,501][objects][75][INFO] - Unknown attribute id: 5003
[2020-09-03 19:48:00,502][objects][75][INFO] - Unknown attribute id: 5001
[2020-09-03 19:48:00,502][objects][75][INFO] - Unknown attribute id: 5001
[2020-09-03 19:48:00,503][objects][75][INFO] - Unknown attribute id: 3017
[2020-09-03 19:48:00,503][objects][75][INFO] - Unknown attribute id: 3017
[2020-09-03 19:48:00,504][objects][75][INFO] - Unknown attribute id: 5000
[2020-09-03 19:48:00,504][objects][75][INFO] - Unknown attribute id: 5000

Can you link the replay in question?

@StoicLoofah
First one with missing ability from Protoss only and unknown attributes:
https://lotv.spawningtool.com/61826/download/
Second one with missing ability from Protoss and Zerg:
https://lotv.spawningtool.com/61827/download/
And this also is another problem?
From this replay:
https://lotv.spawningtool.com/61828/download/
[2020-09-03 19:48:00,385][__init__][346][ERROR] - Unable to change type of None [880001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,386][__init__][346][ERROR] - Unable to change type of None [DC0001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,387][__init__][346][ERROR] - Unable to change type of None [F40001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,395][__init__][346][ERROR] - Unable to change type of None [1000001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,396][__init__][346][ERROR] - Unable to change type of None [1140001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,397][__init__][346][ERROR] - Unable to change type of None [14C0001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,398][__init__][346][ERROR] - Unable to change type of None [1600001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,398][__init__][346][ERROR] - Unable to change type of None [17C0001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,399][__init__][346][ERROR] - Unable to change type of None [1C00001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,400][__init__][346][ERROR] - Unable to change type of None [2200001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,400][__init__][346][ERROR] - Unable to change type of None [23C0001] to MineralField450 [frame 0]; unit type not found in build 70154
[2020-09-03 19:48:00,401][__init__][346][ERROR] - Unable to change type of None [2880001] to MineralField450 [frame 0]; unit type not found in build 70154

I'm not sure if I have a good solution for this. The replays appear to be from Aug 20, 2019, and that's just before we did the 76114 update in Oct 2019. THere's a pretty big gap where we don't have the associated data for those data packs, and I'm unaware of a way to spin backwards in time to retrieve those
We could try to interpolate some data points for specific things from 70154 to 76114 but I'm not sure how reliable that actually would be
https://github.com/ggtracker/sc2reader/blob/e22cb674ad148de53e32775681a9c097c79766e6/sc2reader/data/LotV/70154_abilities.csv
https://github.com/ggtracker/sc2reader/blob/e22cb674ad148de53e32775681a9c097c79766e6/sc2reader/data/LotV/76114_abilities.csv

I ran into this problem too.
2023-02-13 21:07:09,243 [ERROR   ] Release String: <IP_ADDRESS>634
2023-02-13 21:07:09,243 [ERROR   ]      Player 1 - HADB (Terran)
2023-02-13 21:07:09,243 [ERROR   ]      Player 2 - dsoza (Zerg)
2023-02-13 21:07:09,243 [ERROR   ] 9642 dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,250 [ERROR   ] 10754        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,255 [ERROR   ] 11195        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,256 [ERROR   ] 11468        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,256 [ERROR   ] 11474        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,257 [ERROR   ] 11542        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,265 [ERROR   ] 12354        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,267 [ERROR   ] 12569        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,270 [ERROR   ] 12911        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,272 [ERROR   ] 13075        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,281 [ERROR   ] 13917        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,282 [ERROR   ] 14077        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,283 [ERROR   ] 14183        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,283 [ERROR   ] 14248        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,289 [ERROR   ] 15173        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,304 [ERROR   ] 16552        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,311 [ERROR   ] 17048        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,321 [ERROR   ] 17746        dsoza   Missing ability 5B20 from Build
2023-02-13 21:07:09,328 [ERROR   ] 18445        dsoza   Missing ability 5B20 from Build


Fix Nightly e2e tests

From time to time I see tests can fail while mocked server is in use:
✔ Generate verification key (takes 10-30 sec)
  Failed to find the fee payer's account on chain.
  Please make sure the account "B62qmYHbjp4oDCNRNgHf1YLPQWQkVZ49Q6DLXmA9UdoERa9q29piAAo" has previously been funded.

Test after the ✓  11 [cli] › cli/deploy.spec.ts:71:3 › zkApp-CLI › should not deploy zkApp if aborted, @serial @smoke @deployment (2.3m)
Example: https://github.com/o1-labs/zkapp-cli/actions/runs/8768805988/job/24063603733

No longer an issue, probably was fixed by some other tasks. Closing.


Arabic source

Source name
Olaoe.cyou
Source link
https://www.google.com/url?sa=t&source=web&rct=j&url=https://olaoe.cyou/works/%25D8%25B1%25D9%2588%25D8%25A7%25D9%258A%25D8%25A9-%25D9%2581%25D8%25B5%25D9%2584-%25D8%25A7%25D9%2584%25D9%2586%25D8%25AE%25D8%25A8%25D8%25A9-%25D9%2585%25D8%25AA%25D8%25B1%25D8%25AC%25D9%2585%25D8%25A9-%25D9%2585%25D9%2586-%25D8%25A8%25D8%25B9%25D8%25AF-%25D8%25A7%25D9%2584%25D8%25A7%25D9%2586%25D9%2585%25D9%258A/&ved=2ahUKEwiIw6_N_6n9AhXC9rsIHQ67C1sQFnoECCcQAQ&usg=AOvVaw1bm0VIk-6NGF5wIPUGdZiA
Language
Arabic
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

that's a manga website


RuntimeError: "cuFFT error: CUFFT_INTERNAL_ERROR" on RTX4090 Debian based distro [Solved]

installed with standard Linux procedure
if using GPU conversion, RuntimeError: "cuFFT error: CUFFT_INTERNAL_ERROR" is triggered
On the base system CUDA toolkit 11.8 is installed
Solution
install inside an Anaconda env using standard Linux procedure
then
pip uninstall torch
pip uninstall nvidia-cublas-cu11
pip uninstall nvidia-cuda-nvrtc-cu11
pip uninstall nvidia-cuda-runtime-cu11
pip uninstall nvidia-cuda-runtime-cu11
pip uninstall torchmetrics

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install torchmetrics

working flowless.
hope can be helpful to other people:

Thanks you very much for providing a solution for the problem. I want to remark that it is also crucial to initialize your conda environment as follows:
conda create --name uvr2 python=3.9
conda install cudatoolkit=11.8

After taking the provided steps I did a pip freeze. I'll leave the output requirements.txt attached which might save you the hassle to take the additional steps.
requirements.txt

I fixed this issue the following way:
pip uninstall torch -y
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu118


python311Packages.google-cloud-bigquery-datatransfer: 3.15.1 -> 3.15.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.google-cloud-bigquery-datatransfer is: BigQuery Data Transfer API client library
meta.homepage for python311Packages.google-cloud-bigquery-datatransfer is: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-datatransfer
meta.changelog for python311Packages.google-cloud-bigquery-datatransfer is: https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-datatransfer-v3.15.2/packages/google-cloud-bigquery-datatransfer/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.15.2 with grep in /nix/store/sjxzbvfqzz6x9bk196xrw9c2vnq3bkcz-python3.11-google-cloud-bigquery-datatransfer-3.15.2
found 3.15.2 in filename of file in /nix/store/sjxzbvfqzz6x9bk196xrw9c2vnq3bkcz-python3.11-google-cloud-bigquery-datatransfer-3.15.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.google-cloud-bigquery-datatransfer
python312Packages.google-cloud-bigquery-datatransfer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sjxzbvfqzz6x9bk196xrw9c2vnq3bkcz-python3.11-google-cloud-bigquery-datatransfer-3.15.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.google-cloud-bigquery-datatransfer https://github.com/r-ryantm/nixpkgs/archive/43d5da7974de03b4e1efe519d0064c10afd3de76.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/43d5da7974de03b4e1efe519d0064c10afd3de76#python311Packages.google-cloud-bigquery-datatransfer

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sjxzbvfqzz6x9bk196xrw9c2vnq3bkcz-python3.11-google-cloud-bigquery-datatransfer-3.15.2
ls -la /nix/store/sjxzbvfqzz6x9bk196xrw9c2vnq3bkcz-python3.11-google-cloud-bigquery-datatransfer-3.15.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

python311Packages.google-cloud-bigquery-datatransfer
python311Packages.google-cloud-bigquery-datatransfer.dist
python312Packages.google-cloud-bigquery-datatransfer
python312Packages.google-cloud-bigquery-datatransfer.dist

Maintainer pings

Result of nixpkgs-review pr 304586 run on x86_64-linux 1

4 packages built:

python311Packages.google-cloud-bigquery-datatransfer
python311Packages.google-cloud-bigquery-datatransfer.dist
python312Packages.google-cloud-bigquery-datatransfer
python312Packages.google-cloud-bigquery-datatransfer.dist


added Ask ubuntu Scraper

Title and Issue number

The askUbuntu scraper will retrieve various details from the ask Ubuntu website, including questions, views, votes, answer counts, and descriptions in JSON format.
Close #3982

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121 @TusharKesarwani Kindly review this PR.


Error on opening a crate [v1.8.3]

Hi , i love your plugin but i fond a issue
When i open a "Firecracker" crate , if i'm sneaking (when loot appear).

I dont have any rewards
I lose my key
It says "You are already opening a crate." (I need to disconnect and reconnect for fix it)
Nobody can open the crate , it says "That crate is already in use. Please wait for the crate to open up." and i can't fix it , I just need to remove the crate and change the location , if i remove and i set the crate on the same location , this will happend again.

Server version : Spigot 1.8.8
Plugin version : v1.8.3
No error in console
(Sorry for my english , i'm french)

Hi,
Do you have any items in this crate with glow enabled/set to true? If so try to disable all glow and see what happens.
~Eliza

Hi @InterfaceKey ,
Yes i have , but i have try to disabled it , and it's the same. Items with "glow" enabled have fireworks enabled to , but i have try to diabled to , and it's the same.
And now , i have a new issue , on any loots , it's do the same , but i'm not sneaking. (And it's for all my crates).