--to=json option doesn't work

The docs talk about a --to option, but that doesn't work for me.
$ npx @11ty/eleventy --to=json
Eleventy fatal error: (more in DEBUG output)
> We don’t know what 'to' is. Use --help to see the list of supported commands.

`EleventyCommandCheckError` was thrown:
    EleventyCommandCheckError: We don’t know what 'to' is. Use --help to see the list of supported commands.
        at EleventyCommandCheck.hasUnknownArguments (/Users/john/dev/11ty/node_modules/@11ty/eleventy/src/EleventyCommandCheck.js:75:15)
        at Object.<anonymous> (/Users/john/dev/11ty/node_modules/@11ty/eleventy/cmd.js:47:12)
        at Module._compile (internal/modules/cjs/loader.js:1072:14)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
        at Module.load (internal/modules/cjs/loader.js:937:32)
        at Function.Module._load (internal/modules/cjs/loader.js:778:12)
        at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
        at internal/main/run_main_module.js:17:47

v1 is out now! Thanks y’all!


What are the "incentives" ?

Hello everyone,
Our group has 2 questions about the incentives the policy makers can grant to to farmers.
-Is this a financial support ?
-If it is the case, should it be handled by the system ? Or is it just supposed to warn the farmer, so that some kind of administrative procedure can be led to receive the cash ?

Hello,
For this assignment, we did not include any data regarding the incentives to farmers. But you could recommend innovative systems like e-vouchers or subsidies based on the analysis that you do.


Request for contact

Blair,
Could you contact me directly at James dot Foster at wallawalla dot edu? I'd like to get your input on possible student projects.
Thanks,
James

Thanks!


 I have just started using the Simple.OData.Client and I managed to get basic API and dynamic fluent API working, but not typed fluent API.
I created a simple class to reflect the data entity I'm interested in. Mind you I did not add all the data entity properties to the class as there are loads and some of them are complex types.
public class Project {
    [DataMember(Name = "dataAreaId")]
    public string dataAreaId;

    [DataMember(Name = "ProjectID")]
    public string ProjectID;

    [DataMember(Name = "ProjectName")]
    public string ProjectName;

    [DataMember(Name = "ProjectGroup")]
    public string ProjectGroup;
}

I then try to retrieve the projects as follows
var client = new ODataClient(clientSettings);

var projects = await client.For<Project>().FindEntriesAsync();

foreach (var project in projects ) {
     Console.WriteLine(project .ProjectID);
}

The data is there because I can see it using Fiddler but for some reason when I try to parse it into my object all the properties are null. Can someone point out to me what am i doing wrong please?
Similarly, if I keep using the typed fluent API, is there a quick way to create classes from the data entities?
Thanks in advance,

Great! Thanks, it did work with the getters and setters.

Similarly I have another issue when trying to insert a new record.
Using the same example as above let's say that I want to create a new project. DataAreaID and ProjectID are key values and in my C# code I am setting DataAreaID, ProjectName and ProjectGroup. ProjectID is auto increment with a string format and will be populated automatically by D365.
Using typed fluent I create a new Project instance and try to use the method InsertEntryAsync(). I am getting the following exception - The property 'ProjectID[Nullable=False]' of type 'Edm.String' has a null value, which is not allowed.
If I remove ProjectID from my class the insert will work but then I can't retrieve the ProjectID since it is not a property in my class, obviously. I tried just leaving the get, and removing the set for the ProjectID property but the same error comes up. Any help would be appreciated, thanks!

What will happen if you keep ProjectID but set to an empty string (or any non-null string) on Insert? Since it's value on Insert is set by the service it might just overwrite it with a new value.

Good thinking! When I tried that I would get the following error though
Field validation failed on table of type 'ProjectEntity' for the following fields: PojectID. Infolog: Warning: Field 'Project' does not allow editing.; Warning: ID does not match format XYZ-######..
There's a format validation on that field. Strangely enough when I do an insert with dynamic syntax it works even though I am not including the ProjectID. Example code below.
var project = await client
		.For(x.Project)
		.Set(x.dataAreaId = "XYZ",
			x.ProjectName = "This works",
			x.ProjectGroup = "Even this")
		.InsertEntryAsync();

Similarly I have another issue which really and truly is the reason why I have this issue. Sorry for bothering.
At first I found the dynamic syntax quite good and I was using it for CRUD operations. The problem occurred when I had an insert process inside a C# method and was calling it from a loop. Something similar to the below.
public async Task<string> CreateProject(string _projectName, string _projectGroup)
{
	string projectId = string.Empty;
	var client = Authentication.CreateOdataClient(); //this is my class where I create the ODataClient
	var x = ODataDynamic.Expression;

	var project = await client
		.For(x.Project)
		.Set(x.dataAreaId = "XYZ",
			x.ProjectName = "This works",
			x.ProjectGroup = "Even this")
		.InsertEntryAsync();
	return projectId = project.ProjectID;
}

// in another class and separate method

foreach (object myObject in myListOfObjects) {
	string projectId = await CreateProject(myObject.ProjectName, myObject.ProjectGroup);
}

In this case what is happening is that the projects created all have the same project name and group. Even though the parameters are changing according to the values passed in the loop, for some reason when I go check it out in D365 they are all the same name and group. I could not understand why this is happening because when debugging it was clear that the values are changing. I then tried a different approach (typed fluent) and created the Project model with the intent of creating a new clean instance every time I call the method (from the loop) but I got the problem I am explaining above. Any thoughts would be greatly appreciated!
Thanks

I am still getting familiar with D365 myself too! Yes I understand that OData is not SQL but a framework. Yeah auto-incremental and format specific fields are validations done at D365, I agree. I will try different combinations and research more to get try and get it right.
I'll have a look at the tests, thanks for the links!


Duplicate windows with open_automatic = true & attach_mode = global

Describe the bug
If you split a window with open_automatic = true & attach_mode = global, then you end up with two Aerial windows that mirror the same content. There probably needs to be a simple check to not create another Aerial view if there's already an existing one.
System information

OS: [windows/linux/mac]
Neovim version:
AerialInfo: [output of :AerialInfo]
Aerial config:

-- Paste your call to require("aerial").setup(...) in here

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.
If possible, provide a minimal file that will trigger the issue:
minimal code here

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Thanks for the report! This should be fixed now

Thanks @stevearc for taking a look at this. When an unsupported buffer is open, I'm seeing that there is almost an infinite loop with the window opening and then closing.

Ah, this was an unfortunate interaction with another change I made recently. That should be resolved now as well


I want to transfer tokens back to the main account

User Story
As Chris I want to transfer tokens back to the main account so that I can use them in eg. MetaMask.
After discussion of https://github.com/raiden-network/light-client/issues/1301 and https://github.com/raiden-network/light-client/issues/1314
Acceptance criteria

I only have got the option to withdraw all tokens

First Discussion
@taleldayekh @nephix and @christianbrb
User flow:

Channel is getting closed by the partner
Channel is getting settled by the partner
Tokens out of channel are transferred from channel to the Raiden account (subkey)
Transfer ETH to Raiden Account to pay for gas -> signed in MetaMask (#1365)
Transfer tokens from Raiden Account to Main (ETH) Account -> signed in dApp (background)

Proposed solution:

Having a button on the general screen for "token balances"
List of tokens are shown and each token balance can be withdrawn
Tell the user before settling, that the token balance can be withdrawn on the Account Screen (new naming for General screen)

Wireframe

Question:

@andrevmatos How does the subkey works for the UDC (SVT tokens)?

@andrevmatos How does the subkey works for the UDC (SVT tokens)?

Mostly the same as normal token deposits. By default, the tokens are held by the main account, and it deposits in bahalf of the subkey to the UDC directly. It stays there and can be used by the subkey to sign/pay for PFS IOUs and later MS rewards. I'm not sure about withdrawing these tokens, but would think it may end up on the subkey as settles from channels.

I like it 👍
Should #1365 be on that withdrawal screen as well or should they be in the account detail section?

Perhaps it should have its own menu item and page, to separate the two since they are different tasks.

I think having the list of tokens in yet another screen is undesirable. We already have a token list, with balances, we should find a way to integrate it there, maybe expose it a little bit better than only through the token dropdown/button.

This list would display only tokens for channels that have been settled as I understand it.

@nephix If it is possible the ETH transfer screen could have something similar to this, where the user easily shifts funds between the two accounts in one screen.

I have prepared a clickable mockup for this issue. Have a look at https://xd.adobe.com/view/c95c87f5-d595-4ef8-7b9e-5b57e4e51941-bf6d/ and feel free to provide feedback, new ideas, discuss, etc. @kelsos @nephix @andrevmatos @christianbrb

s/Your/You are/

s/Your/You are/

Haha yes. You are right.

Looks great :)
Some remarks:

Remove (Account Details)
Do not show Withdrawel (or gray out) if connected with the main account
I would say "Withdraw tokens from your account" OR "Move tokens to your main account"
Reduce the sentence to "Transfer the token amount back to your main account"

We decided that all the tokens will be transferred right? no input to select an amount? or not?

We decided that all the tokens will be transferred right? no input to select an amount? or not?

Yes, all tokens. At least for now.

I would say "Withdraw tokens from your account" OR "Move tokens to your main account"

I'm thinking perhaps it is better to be more explicit and make it clear that the tokens are transferred back to the main account. I'm afraid just using the word account might cause confusion.

Mockups, slight update:
https://xd.adobe.com/view/c95c87f5-d595-4ef8-7b9e-5b57e4e51941-bf6d/

One additional thought:

The button should be grayed out if the user is using the dApp with his Main Account


improve naming

localized Product and Sum even more to ValExpr
(and not in StdTDefs)
@capitanbatata I don't know whether it interferes much with you pull request.

Local results:
Examples.All
Adder
WARNING: The presence of SMT solvers was not checked.
First issue #47 needs to be resolved.
See: https://github.com/TorXakis/TorXakis/issues/47
Basic
State Automation
Parallel adders
Control Loop
Stepper
Spec Measure
Spec Correct
...    Multiple Loops Stepper #long
Customers and Orders
Customers & Orders Test #long
Dispatch Process
Process 01
Process 02
Process 03
Process 04
Process 05
Process 05a
Process 06
Process 06a
Process 07
Process 08
Process 09
Process 10 - Data
Process 12 - Unique ID #long
Process 12 - Unique ID (Wrong)
Process 12 - Unique ID (Right)
Echo
Stepper
Simulator
Lucky People
Examples Purpose Test
..    Lucky By Gender Test
Random Lucky Test
Moving Arms
Stepper Test
Purpose Stepper Test #long
Point
Stepper Test
Purpose Stepper Test
Read/Write Conflict
ReadWriteConflict Stepper Test
ReadWriteConflict Stepper7 Test
ReadWriteConflict_Advanced Stepper Test
Queue
Stepper Test
Stepper Test (Lossy)
SUT Test
Stimulus-Response
Stimulus-Response Test 0
Stimulus-Response Test 1
Stimulus-Response Test 2
Stimulus-Response Test 3
Stimulus-Response Test 4
Finished in 603.6435 seconds
43 examples, 0 failures
Completed 2 action(s).

It does interfere with my PR, so to prevent me from having to go through all the process of merging from develop again, I'd prefer to merge mine first after we discuss it tomorrow, and then merge this one, or take it along.

What went wrong in Customers & Orders Test #long FAILED [1]?
What was the seed used? Is the log available?

Hard to reproduce the failure:
C:\TorXakis\test\sqatt>stack test --test-arguments=--match=Customer
sqatt-0.1: test (suite: qa-test, args: --match=Customer)
Examples.All
Customers and Orders
WARNING: The presence of SMT solvers was not checked.
First issue #47 needs to be resolved.
See: https://github.com/TorXakis/TorXakis/issues/47
Customers & Orders Test #long
Finished in 41.5865 seconds
1 example, 0 failures
C:\TorXakis\test\sqatt>stack test --test-arguments=--match=Customer
sqatt-0.1: test (suite: qa-test, args: --match=Customer)
Examples.All
Customers and Orders
WARNING: The presence of SMT solvers was not checked.
First issue #47 needs to be resolved.
See: https://github.com/TorXakis/TorXakis/issues/47
Customers & Orders Test #long
Finished in 42.3836 seconds
1 example, 0 failures


Make copy error messages much better

Should say where from and where to. Currently you get:
 _cache\.shake.cache\7f56824a02da7eb8\0x88332BF9: copyFile:atomicCopyFileContents:withReplacementFile:copyFileToHandle:openBinaryFile: does not exist (No such file or directory)

Which doesn't really explain what is going on. CC @snowleopard

What's a minimal reproduction for this?  I tried:
"bar.txt" %> \out -> do
    liftIO $ copyFile "foo.txt" out

and using directory <IP_ADDRESS> I get:
Error when running Shake build system:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shk-0.18.3-4374bce3:Development.Shake.Internal.Args
* Depends on: bar.txt
* Raised the exception:
foo.txt: copyFile:atomicCopyFileContents:withReplacementFile:copyFileToHandle:openBinaryFile: does not exist (No such file or directory)

which at least mentions the missing source file.
Also, is the idea here to amplify the existing copyFile' or do something else?


Multi-domain / Sub-domains?

In httprouter, it supportes Multi-domain / Sub-domains?
https://github.com/julienschmidt/httprouter#web-frameworks-based-on-httprouter
Could goal support it?

Goal can work with any router.
Default router is denco. Or rather a wrapper around it for better integration with Goal and smoother user experience. It doesn't handle domains, URN only.
Routes generation doesn't have anything related to domains either.

Both our router wrapper and routes generation tool can be modified to support this functionality. I just need to understand the use-case for this.

Is it a mechanism for listening on different hosts/ports?
Or is a way of using different routes for different hosts/ports?

Using different routes for different hosts/ports.

Have you new update for the goal?

How about your new progress on the goal?


Retiring deprecated vtgate/proto.QueryResult.Error.

I'm about to make more changes and this was in the way.
@aaijazi

LGTM


Internal AST change: adding residual comp to the match node

This helps with checking the match nodes on the fast path. With this, checking implicits in ulib never goes to the slow path.
Mainly motivated by steel use in Zeta. For one of the functions there, # of SMT queries reduces from 48 to 27 with this change.

My comments from a discussion with Aseem on returns annotation vs a separate rc field:
I guess the main redundancy will be in the case of matches that the user has annotated with a returns clause. In this case, there will be both a returns clause and a residual comp.
However, even in this case, the returns clause will be a full computation type whereas the rc will be just the label and the type.
Otoh,  if we go with returns clause + flag, then we will have to persist the full computation type in the returns annotation.
So, I see there are benefits to having it in a separate rc field.


Fix ReflectiveByteBufChecksum with direct buffers

Motivation:
ReflectiveByteBufChecksum#update(buf, off, len) ignores provided offset
and length arguments when operating on direct buffers, leading to wrong
byte sequences being checksummed and ultimately incorrect checksum
values (unless checksumming the entire buffer).
Modifications:
Use the provided offset and length arguments to get the correct nio
buffer to checksum; add test coverage exercising the four meaningfully
different offset and length combinations.
Result:
Offset and length are respected and a correct checksum gets calculated;
simple unit test should prevent regressions in the future.

Addressed in https://github.com/netty/netty/pull/9244/commits/0cafe5460e0bf65114f2a38ebfbcfb9c3761ae3f

@netty-bot test this please

test-failure is not related... merging this.


TSP100III: append doesnt work, only appendBitmapText.

When testing the example from the documentation...
commands.push({append:
        "Star Clothing Boutique\n" +
        "123 Star Road\n" +
        "City, State 12345\n" +
        "\n"});
commands.push({appendCutPaper:StarPRNT.CutPaperAction.PartialCutWithFeed});

The printer only cuts the paper. It does not print any text.
I was finally able to get it to print text with the appendBitMapText param. I am able to change fontSize on these commands. However, I cannot use methods like:

appendInvert
appendUnderline
appendAlignment
etc

The result is a very constrained set of formatting and styling.

First thing to check is if you are using the correct emulation for your Printer, secondly check your printer command compatibility from the official StarSDK, not all printers allow all commands

Hello,
I had the same problem.
My configs are
Emulation: 'StarGraphic'
My printer is: TSP100III  TSP143IIIBI
I have used the native modules from the sample app and worked fine.
Is there something I'm missing or is it some kind of limitation from the lib ?
Thanks in advance.

I have used the native modules from the sample app and worked fine.
Is there something I'm missing or is it some kind of limitation from the lib ?

This is a limitation of the printer hardware, it is only able to support bitmap printing natively. As @infoxicator mentioned, please check the SDK documentation for compatibility details. When using "StarGraphic" emulation, the commands related to text printing are not available.

@stephengladney
Did you find any solutions?

I'm stuck using appendBitmapText for the moment. The only other function from the entire library that I was able to get to work was the appendQrCode.

@stephengladney
Same here :((

@molchanovskiy @stephengladney, unfortunately, this is a limitation of your printer model and the SDK, not the library itself 👍

Thanks for this issue otherwise I would have thought this library was no use!
This isn't aren't included in the types (having to cast any)

This seems to be a common difficulty, I.m a software engineer work for Star although (currently) I haven't used React Native so It's difficult to give any definite solution.
This library seems to be a very thin wrapper for the standard iOS or Android SDK's. On those platforms, StarGraphic only printing is generally handled by using the local canvas/drawing API, building the print job as an image, and then printing via the appendBitmap() method.  Many developers prefer this method even, as it gives them much richer design options, font choices etc.
Is this approach viable with React Native?

@Lozrus appendBitmapText does work but the styling options are limited to: width, font, fontSize, bothScale, alignment
So you don't get things like bold, inverted, etc

@molchanovskiy @stephengladney, unfortunately, this is a limitation of your printer model and the SDK, not the library itself 👍

I've experienced this issue on two different models. Also, the printer is able to print the desired styles from the StarPRNT SDK app. It seems odd the printer would be entirely at fault.

Is this approach viable with React Native?

@Lozrus we had done a custom build that we'd send HTML to, render the web view then send that image. We can't actually use the appendBitmapText as it doesn't allow use the flexibility to align. What we're doing now it rendering a view and capturing it then sending over that image using https://github.com/gre/react-native-view-shot however it can't do web views that well so we have to build out everything as components in a scroll view.

We ended up switching to the 650II model for our customers because it accepts text printing.

@stephengladney you said:

appendBitmapText does work but the styling options are limited to: width, font, fontSize, bothScale, alignment

I can't set alignment with appendBitmapText command. Neither command's own alignment attribute nor appendAlignment command makes any difference. Every line gets printed left aligned.  Were you able to change alignment since you said it's one of the styling options with the appendBitmatText command above?


Prefabs with the same name does not export

Hi, When we exported our scene we noticed that scene objects with the same name does not export with USD (I guess they overwrites each other). I know we could just rename he prefabs through script but just wanted to know if anyone else has run into this problem.

Hi emilche!
USD doesn't handle prim with the same path, so Usd won't be able to handle two prefab or game object with the exact same name under the exact same hierarchy natively.
We don't handle this specific case neither in this package, so according to that the behavior you're describing is expected. I don't think we encountered this case before.
I don't think we'll handle it (as we don't want to rename stuff "in the back of the user") but we'll definitely keep this case in mind to be able to at least throw a warning or an error.
Thanks for your feedback!

Completely understand!
Thank you! :)


Master to Live

Docs Build status updates of commit 8004dff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Add-AvailabilityAddressSpace.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Enable-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Export-TransportRuleCollection.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-AdministrativeUnit.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ApplicationAccessPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-AuditLogSearch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-AuthenticationPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-BlockedSenderAddress.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-CASMailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ClientAccessRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-Clutter.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-CompromisedUserAggregateReport.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-CompromisedUserDetailReport.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-DataEncryptionPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-DistributionGroupMember.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-DynamicDistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-EligibleDistributionGroupForMigration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-EmailAddressPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ExternalInOutlook.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-FederatedOrganizationIdentifier.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-FederationInformation.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-FederationTrust.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-FocusedInbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-GroupActivityReport.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-InboxRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-M365DataAtRestEncryptionPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ReportExecutionInstance.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-SCInsights.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-TransportRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-User.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Import-TransportRuleCollection.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-AdminAuditLogSearch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-AntiPhishPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-App.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ApplicationAccessPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-AuthenticationPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ClientAccessRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ComplianceSearch.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DynamicDistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-HostedContentFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-HostedOutboundSpamFilterPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ManagementRoleAssignment.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-RoleGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-TransportRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-AntiPhishPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


AIVA Consuming RAM

Why AIVA is consuming so much RAM, My computer hangs if i run command npm start ?

The total consumption is about 2Gb - mostly from the python NLP dependencies - spaCy base instance takes about 1.7Gb, and the graph brain adds an extra 600Mb.

Is there any way we can optimize it?

Unfortunately not for now, it's running the spaCy instance as a plain python process. The issue is brought up here on the spaCy page as well
A way is to simply disable the feature together if it's not needed, i.e. by editing config/default.json to NOT run python, i.e. setting this line on the live config file to false.


always generate grpc bootstrap

Agent will generate a file if this var is set.
By always generating it, users can use the default injection with Envoy, and set GRPC_XDS_BOOTSTRAP on their app container + use traffic.sidecar.istio.io/<in|ex>clude<In|Out>boundPorts to allow their gRPC app to use proxyless features while still capturing TCP/HTTP traffic.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test gencheck_istio

unit-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test gencheck_istio

unit-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-telemetry-k8s-tests_istio

integ-cni-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-cni-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test gencheck_istio

unit-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-telemetry-k8s-tests_istio

integ-cni-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-cni-k8s-tests_istio

integ-pilot-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test gencheck_istio

unit-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test unit-tests_istio

integ-ipv6-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-telemetry-k8s-tests_istio

integ-cni-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-cni-k8s-tests_istio

integ-pilot-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ipv6-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-distroless-k8s-tests_istio

integ-pilot-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-telemetry-k8s-tests_istio

integ-cni-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-cni-k8s-tests_istio

integ-pilot-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-security-k8s-tests_istio

integ-security-multicluster-tests_istio
e2947a3694deb7b2df582a65770b462c955800b2
link
true
/test integ-security-multicluster-tests_istio

gencheck_istio
cd24a6bffeb5b2749eb93daa9bfd9e6c991c57e6
link
true
/test gencheck_istio

unit-tests_istio
cd24a6bffeb5b2749eb93daa9bfd9e6c991c57e6
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-cni-k8s-tests_istio
3eb7879f5c9c44513c8a2ba0339ea7f68902dd2b
link
true
/test integ-cni-k8s-tests_istio

integ-pilot-k8s-tests_istio
3eb7879f5c9c44513c8a2ba0339ea7f68902dd2b
link
true
/test integ-pilot-k8s-tests_istio

unit-tests_istio
472ab153e475cc3ccd3e29ecc0b9c0ac9487cedb
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@stevenctl: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-cni-k8s-tests_istio
3eb7879f5c9c44513c8a2ba0339ea7f68902dd2b
link
true
/test integ-cni-k8s-tests_istio

integ-pilot-k8s-tests_istio
3eb7879f5c9c44513c8a2ba0339ea7f68902dd2b
link
true
/test integ-pilot-k8s-tests_istio

unit-tests_istio
472ab153e475cc3ccd3e29ecc0b9c0ac9487cedb
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
472ab153e475cc3ccd3e29ecc0b9c0ac9487cedb
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Cannot use Ref where T is a GodotScript

I have a custom resource type, but the code won't compile because T has no reference() function, only the owner of GodotScript<T> does.  I'm not sure how to solve this...
The workaround I might use is to instead make my property expect a Ref<Resource> and cast the userdata on it to my custom class, which is obviously unsafe, but I don't see a better option at the moment.
GDNative exposes nativescript_api->godot_nativescript_get_userdata(obj) to get the custom classs instance as a void*, however there is not enough info to verify that pointer, unless each library tracks every single pointer it shares with Godot through this API, and fetches it back... basically, rewriting ObjectDB.
Such ObjectDB would also need to be thread-safe as well, unless we don't use Godot threads and rewrite ours.
type tags
As an example, in the Squirrel scripting language, integer typetags are carried along void* pointers, which allows to identify the native types of such userdatas, which makes it safer to retrieve them. Those typetags may come from a memory address, typically a static pointer per class, which by nature will be unique as long as the corresponding library is in memory (that tag could even be generated by GDNative actually). Type check would even easily be thread-safe. But GDNative doesn't have this, so rewriting a thread-safe ObjectDB in each library is the only option for now...

This needs some more tweaking, but this is now possible on the nativescript-1.1 branch!

@karroffel also if you look at the PR I did on the old version, I had it nearly working with SFINAE :p

Is this still valid now that we're on nativescript 1.1?

If Nativescript 1.1 doesn't have GodotScript<T>, I think the issue would be irrelevant, or different if it still exists.

Agreed, if there still is an issue, just re-open one when you get back into working on GDNative. Thanks:)


🐛 Bug Report: Okta Provider doesn't seems to have option to add custom scopes

📜 Description
Okta Auth Provider doesn't seems to be having an option to provide custom scope while requesting for access token.
👍 Expected behavior
Okta Auth Provider must provide an option to provide custom scopes while configuring.
👎 Actual Behavior with Screenshots
The currently Okta provider configuration doesn't have option to add custom scope.
👟 Reproduction steps
Current documentation in Back stage doesn't provide where we can provide custom scopes.
📃 Provide the context for the Bug.
Our enterprise identity is Okta and it requires to pass a custom scope in order to get groups member ship information to be provided.
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi! Scopes are chosen by the calling code; the client side picks the set of scopes that it wants to request a token for. Are you saying that in addition to that you want some form of an extraScopes parameter or similar that's always added on top of whatever the caller requests, no matter what?
And just to double check - are we talking about the oktaAuthApiRef being used here? It has a certain set of default scopes; is yours a new one separate from these?

Yes. I am referring to oktaAuthApiRef which has  defaultScopes = ['openid', 'email', 'profile', 'offline_access'], but in our we need to add a custom scope for example something like backstage.groups but we don't find a way to do this while using oktaAuthApiRef.
I didn't get your point that "Hi! Scopes are chosen by the calling code; the client side picks the set of scopes that it wants to request a token for. " I don't see where in client side I can pass additional scopes while initiating a token request.
Is there a way to add additional scopes without doing whole custom implementation of oktaAuthApiRef ?

This is the signature for getting an authorization token. The comment in there goes into some more detail. See also here in the MS calendar plugin where they leverage this.
If you still want to replace the default scopes (which are always in addition to the explicitly requested ones), then no, you have to replace the api factory indeed. But it's really easy. Copy paste the default one, add the default scopes argument to OktaAuth.create, and slap that in your packages/app/src/apis.ts.

Hi,
This did help us and thanks for the inputs. I was able to make it work by overriding api factory and adding it to "packages/app/src/apis.ts".
However I have a query.
Do we also need to add to the providerFactories in  /packages/backend/src/plugins/auth.ts?  Because it is working irrespective of whether I add in auth.ts or not.  We didn't understand how it is working and does it have any internal implications later?
Thanks in advance for the help.

Hey :wave:
Not if you override on that already exists. Did yours not exist in there already

Here are my files
packages\app\src\apis.ts:

packages\backend\src\plugins\auth.ts:

The observation is that in auth.ts even if I comment out line number 87 still I am able to perform OAuth process get access token with custom scope defined in api.ts.
Apart from above, I observed another issue. After logging to Microsoft and getting the token, If I refresh the web page in browser my access token lost and again I have to go through OAtuth sign process. When I debug in network traffic in browser (screenshot below) I see that call to https://localhost:7007/api/auth/microsoft/refresh?optional&env=development is failing with 401 error.

Any Idea what I am doing wrong here?

May I ask if you have solved this problem, do you have any ideas? We also return a 401 error when refreshing, and the error content: the refresh token is also invalid

I think you need to add an offline scope to your token requests to be able to use refreshes, I think.

Yes, I've tried it and it doesn't require a login anymore

@panditha regarding your first observation, that's intended. It's because the microsoft auth provider is installed by default. It will only be active if you give it config though.
Regarding the second observation, access is lost because you no longer include the 'offline_access' scope in the set of default scopes for the MicrosofyAuth provider. When you configure a new set of default scopes that completely replaces the old ones.
In general anyone that is facing problems with session refreshes after configuring a custom set of default scopes for an auth provider should make sure that the new scopes provide the necessary scopes to receive a refresh token, often called "offline access"

@Rugvip , Thank you. offline_access solved the probem.


v8: Fix darwin build

Motivation for this change
Unbreak v8 on darwin. Fixes  #120709.
Thanks to @jdelStrother for reporting and initial fixes!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

LGTM, but I don't have any darwin hardware/deep knowledge to review this. Sorry talyz.

cc @NixOS/darwin-maintainers

Result of nixpkgs-review pr 120936 run on x86_64-darwin 1

3 packages failed to build:

gollum
rq
v8

@siraben Interesting - only rq fails to build on my machine when I run nixpkgs-review. Can you check the error log for v8? Maybe it's related to macOS version or something temporarily broken in master?

@talyz it might be because I have sandbox = relaxed, I'll disable sandboxing and try again

@siraben Hm, I turned on sandboxing (sandbox = relaxed) and tried to build again, and it still builds for me.

Anything more to address here or can we merge?


Unit-test for ImageCropDataSet

I keep seeing various conversations about having Image Cropper support in Ditto, (or similar).
Here's a recent discussion on the forum:
https://our.umbraco.org/projects/developer-tools/ditto/ditto-feedback/66353-imagecropper-mapping-with-ditto#comment-231497
I'm opening this ticket as a to-do for myself.  Write a unit-test that tries to map the Image Cropper data/value with the ImageCropDataSet object type.  More to satisfy my curiosity.

Closing issue, PR #126 opened.


TextEngine.hx fix for textfield wordwrap=true & size=0 causing an endless loop

This PR fixes the edge case where a Textfield has size=0 and wordwrap=true causes an endless bug.
This is a common case in HaxeUI in the process to pre-setup the layout.
Steps to reproduce:
var tf: TextField = new TextField();
tf.width = 0;
tf.wordWrap = true;
tf.text = "|";
this.addChild(tf);

I close it, because there is another error, TextEngine also hangs when width is <4


Dynamically add upstreams to zip

Hello, is it possible to dynamically ad upstreams to zip once it was created? Ideally, I am looking for something like this:
from streamz import Stream

src1 = Stream()
src2 = Stream()

zp = Stream.zip(src1, src2)
zp.sink(print)

src1.emit(1)
src2.emit(2)
# (1, 2)

src3 = Stream()
zp.add_upstream(src3) # <-- ???

src1.emit(1)
src2.emit(2)
src3.emit(3)

# (1, 2, 3)

What you want is:
src3.connect(zp)

This rocks, thank you!


fix: On iOS, the "beep" sound was silent

Hi everyone,
I wonder if the scan sound ever worked, but it's now OK.
Note for future releases: check in the settings if DND is off and notify the user

Codecov Report

Merging #4480 (d48b5e6) into develop (c0a1533) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #4480   +/-   ##
========================================
  Coverage    10.36%   10.36%
========================================
  Files          296      296
  Lines        15241    15241
========================================
  Hits          1579     1579
  Misses       13662    13662

Files Changed
Coverage Δ

packages/smooth_app/lib/pages/scan/scan_page.dart
2.15% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

TODO: Check in the settings if Do not Disturb is off/on and notify the user about the scan sound


Unable to List after Minting

URGENT
I had minted 5 RAW 16H paddles and went to mint them.
2% to MAVEN and 98% to GRÜVN
Paddle did not list.
I logged out, cleared cache and logged back in and tried again.
Did something change in how we list Royalty recipients? or how I list with multiple recipients?

We are still having issues with listing after minting and I do not believe anyone has been assigned this

Setting a price of 0.00002 gives an error in the console "Minimum asking price is 0.000008"

I think this was happening because the 2% royalty on 0.00002 worked out to 0.0000004 L-BTC which was too small an amount to be included in the transaction. I've added some code to just ignore royalties that are less than 800 satoshis now which is about the smallest amount that Liquid will allow for L-BTC outputs.


Removing liner logging related stuff in settings

https://github.com/SignalK/signalk-server-node/pull/161#issuecomment-294322450

Fixed in 76f28f6bcd3b5794a557965e1f866e8b8426feb7


#5 [UI] Create the camera screen to capture the passport information page containing the MRZ

https://github.com/nimblehq/alpine/issues/5
What happened 👀
Create camera screen
Setup some initial preview and camera selector
Insight 📝
From main screen, click the first button Start scanning MRZ
It should navigate to the camera screen after approving permission
Proof Of Work 📹

@thiennguyen0196 conflicts! ⚔  😭

@thiennguyen0196 conflicts! ⚔ 😭

Resolved @AVI5HEK 😆


Generic expression handler {} should be supported

To be flexibel and "compatibel" to other gherkin implementations (currently i  use cucumber-cpp and pytest-bdd-ng, both use regex parsers) a generic expression "{}" should be supported.
This should catch all between one or more whitespaces.
Unlike {word} this should catch all, result should be given as string to implement a custom handler for it.
Example:
Then The temperature increases 15°
And The temperature is -5° above the reference

THEN(.., "The temperature increases {}")
CUKE_ARG(1) should then return "15°"
In the second example it should return "-5°"

Using a generic expression would mean for me that the result is an "copy" of the content an this means string in ANY case.
If i would know what to expect (int) i would and could use {int}.
This is a little bit similar to the "This is the 1. entry " we had with int.
The problem for me here is to get content NOT enclosed in hyphens ({string}). This could be similar to {word}, but what are the boundaries? {word} would also be ok but the expectations here with special characters could be different
Let us use the example from #22
Then Hat der 1. Eintrag der Liste den Wert 0

THEN(_, "Hat der {} Eintrag der Listen den Wert {int}")

I would expect "1." as string
THEN(_, "Hat der {word}. Eintrag der Listen den Wert {int}")

I would expect "1" as string
or if space is only word boundary
THEN(_, "Hat der {word} Eintrag der Listen den Wert {int}")

I would expect "1." as string
THEN(_, "Hat der {int}. Eintrag der Listen den Wert {int}")

I would have expected "1" as int
THEN(_, "Hat der {int} Eintrag der Listen den Wert {int}")

I get now expected "1" as int

After some rethinking i found the "online" example tester from cucumber-expressions:
https://cucumber.github.io/try-cucumber-expressions
To be compatible, i would suggest to implement {word} as whitespace delimited, not "" enclosed string
the {int} from issue #22 has to be "reimplemented" for compatiblity.

see https://cucumber.github.io/try-cucumber-expressions/?advanced=0&expression=there+is%2Fare+{int}.+flight(s)+from+{airport}&step=there+are+12.+flights+from+LHR

{word} shouldn't be a big deal to implement, because its just any character sequence between whitespaces
:+1:

And {} would basically be treated as unquoted string then, right?
Yes, but i see the problem to implement it. Unquoted string yes but could exceed more than one space separated words.
For my actual intention {word} would be sufficient and {int} should behave like shown in the examples.

I'd suggest lets start with {word} and think about {} at a later point in time

So I spent some time with the implementation, but it's pretty error prone to implement this from scratch. There are a lot of edge cases. Right now I only see a reasonable approach to introduce the regex library here, which should bring more control.

That's a good idea. A solid solution should be preferred over a quick hack :+1:

Done. ✅ https://github.com/ThoSe1990/cwt-cucumber/pull/36
I implemented both expressions {word} and anonymous {}. Both are treated as strings. The anonymous expression is basically an unquoted string. I'll update the examples soon, because I have to update the documentation anyway. But for now, feel free to use it.
For any findings, please open another issue.
FYI, i noticed german steps on some issues, i also implemented german language, so you can use German keywords too.

Tanks for your effort. The German language support is a nice benefit too.
:1st_place_medal:


Recent version of flutter is breaking

Steps to Reproduce

Issue happening in Windows system

... Run >flutter upgrade
... Run >flutter doctor

Logs
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine e1e6ced81d029258d449bdec2ba3cddca9c2ca0c...
Unzipping Dart SDK...
Exception calling "ExtractToFile" with "3" argument(s): "Access to the path
'F:\apps\flutter\bin\cache\dart-sdk\bin\dart.exe' is denied."
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:1056
char:25

...             [System.IO.Compression.ZipFileExtensions]::ExtractToFile( ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : UnauthorizedAccessException

Building flutter tool...
Running pub upgrade...
The system cannot find the path specified.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
Waiting for 0 seconds, press CTRL+C to quit ...

Checking Dart SDK version...
Downloading Dart SDK from Flutter engine e1e6ced81d029258d449bdec2ba3cddca9c2ca0c...
Unzipping Dart SDK...
Exception calling "ExtractToFile" with "3" argument(s): "Access to the path
'F:\apps\flutter\bin\cache\dart-sdk\bin\dart.exe' is denied."
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:1056
char:25
+ ...             [System.IO.Compression.ZipFileExtensions]::ExtractToFile( ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : UnauthorizedAccessException

Building flutter tool...
Running pub upgrade...
The system cannot find the path specified.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

Waiting for 0 seconds, press CTRL+C to quit ...

Duplicate of https://github.com/flutter/flutter/issues/50880


Demo Page Checkbox for attributes faulty

Problem
When you click on the label of checkbox 2 on the demo page, checkbox 1 will get toggled (tested on Firefox).
How things are

Checkbox Buttons

Checkbox 1: <input type=checkbox name=checkbox id=checkbox />

Checkbox 2: <input type=checkbox name=checkbox id=checkbox />

How they should be

Checkbox Buttons

Checkbox 1: <input type=checkbox1 name=checkbox1 id=checkbox1 />

Checkbox 2: <input type=checkbox2 name=checkbox2 id=checkbox2 />

@mblode can you fix it? @ https://codepen.io/mblode/details/JdYbJj

Good spot! I also added "" around all the attributes.

You can also make it xhtml5-polyglot (including always specifying a value for every attribute) as that IMHO/AFAIK only has benefits, but no need. As long as the demo runs everything is fine.
Thanks for fixing it!


Added pd.Timestamp to serde.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Faster than light!

Faster than light!

At least one superpower ;-).

Job PR-357/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-357/1/index.html

Codecov Report

Merging #357 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #357      +/-   ##
==========================================
+ Coverage   80.08%   80.09%   +<.01%
==========================================
  Files         146      146
  Lines        8352     8356       +4
==========================================
+ Hits         6689     6693       +4
  Misses       1663     1663

Impacted Files
Coverage Δ

src/gluonts/core/serde.py
87.69% <100%> (+0.39%)
:arrow_up:


Updating checkbox to handle tap

Hi,
Linked to issue #158, I was looking for a way to make checkbox clickable.
What to you think about this?

The GestureDetector is used to handle long press, as suggested in issue https://github.com/singerdmx/flutter-quill/issues/158. I could not find a way to handle this gesture directly from checkbox.
For the _flipListCheckbox part, I removed it to avoid checking/unchecking a checkbox on a click next to it (like it was before). Let me know if you want me to add it back.

For the _flipListCheckbox part, I removed it to avoid checking/unchecking a checkbox on a click next to it (like it was before). Let me know if you want me to add it back.

Apparently that's fine for me, just wanted to make sure that @singerdmx also thinks this as well.


ECONNRESET

Hi! I'm trying to start orbit, but keep getting:
❯ node index.js
2016-05-25T12:57:43.573Z [DEBUG] Orbit.Main: Running in 'release' mode
2016-05-25T12:57:43.575Z [INFO]  Orbit.Main: Starting IPFS...
2016-05-25T12:57:43.576Z [DEBUG] ipfs-daemon: Starting IPFS daemon
2016-05-25T12:57:43.576Z [DEBUG] ipfs-daemon: Using IPFS data directory: '/home/asbjorn/.ipfs', exists: true
2016-05-25T12:57:45.588Z [ERROR] Orbit.Main: Client request error: read ECONNRESET
2016-05-25T12:57:45.588Z [ERROR] Orbit.Main: Stack trace:
 Error: read ECONNRESET
    at exports._errnoException (util.js:893:11)
    at TCP.onread (net.js:555:26)

I can telnet the ip and port in network.json.

Hey @asbjornenge, thanks for reporting the bug. Due to things being in flux, master might not work at the moment. I expect it to be fully working again next week. Meanwhile, if you're looking to try out Orbit, see https://github.com/haadcode/orbit/tree/js-ipfs.

Thanks! I can wait until things have calmed down :wink: Would appreciate a :wave: either on this issue or on twitter or something when it's ready for another try :+1:

This should be fixed now in master. Let me know if you still run into this problem, or any other.


Temp callback

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

This branch was temporary. Changed the callback url to make tests pass locally. Pull request not required.


Update media doc

Update the media docs with information on and gstreamer/pyogg/wmf.
Feel free to edit anything or add things missing.

This looks great!
I'll expand the GStreamer part a bit more later, to explain the codecs and installation requirements.


Remove website related files

Remove all website related code from the main repo.
Open question: should we also remove all the CircleCI configs that reference the website?

what would the benefit of keeping the circle ci config logs be? if we are transitioning away from circle ci, then maybe we don't need them? looking at most of them, they seem to test unrelated to the website functionality but I'm not sure if that's correct.


Facebook Page feed not showing

I just noticed that Lifestream is not showing my facebook page feed. That's actually the only feed I'm currently trying to show with this plugin.
I was using the 0.5.2 version of the script and looks like Facebook deprecated the RSS feed functionality yesterday.
So, I then changed the script file to the new one since it had been updated few days ago (from 0.5.2 to 0.5.3), and it's using some facebooky.herokuapp.com? Well that doesn't load anything, it sure tries but for example now, after more than 5 minutes waiting, it hasn't gotten any results.
Is there anything to do?

@mMoovs until recently the facebooky solution worked but now they've disabled the RSS feed completely. I guess the only other solution will be to actually scrape the page.
https://www.facebook.com/feeds/page.php?format=rss20&id=54557413386
https://www.facebook.com/BillJohnsonMinistries

I am still struggling with scraping the page.  Not sure how to handle this. Any help on this will be appreciated.

Hi Christian, thanks for the wonderful plug-in. Just wondering if you have figured out a way to make Facebook work again. Let me know if I can help in any way.

Hi @ohliu we actually have someone (@davidlimcheng) who recently started working on making a scraper which would allow us to surface the data in an API.
We'll be updating https://github.com/christianv/facebooky

Any updates on this problem? not seem to be working right now... I got an Application error.

@PatriceBois afaik @davidlimcheng is still working on a fix for this.

Hi @PatriceBois , yes - still working on this problem!

Hi all... any updates?

@romymk we just fixed this as part of 0.5.5 - d8ec650fd73d6314fdf391d370fe96b5bd175804
We now also use the actual page name.
E.g. for www.facebook.com/nike we now use nike
Also see https://github.com/christianvuerings/jquery-lifestream/releases/tag/0.5.5 for some more limitiations.
If someone does need more features, I would recommend writing their own scraper. A good start is at https://github.com/christianvuerings/facebooky (which we use)

@christianvuerings Thanks much. Will have a look.

Great @christianvuerings, it's working now! Thanks!

Or atleast worked for one day.. Now it returns empty array for posts, something changed in the herokuapp? Sigh

@mMoovs The reason is that they keep changing their DOM all the time, I would suggest that you build and use your own proxy instead if you require this to work in production.

Looks like the herokuapp is getting flooded, since we're open source and aren't paying for it, I would suggest people try writing / hosting their own scraper and put it on a paid server.


demo.py

How to fill in the --model--path parameter of the demo.py file.？When I fill in the path with the ckpt file I trained using the vcoco dataset, the error is displayed：
RuntimeError: Error(s) in loading state_dict for SpatiallyConditionedGraph:
size mismatch for interaction_head.box_pair_predictor.weight: copying a param with shape torch.Size([24, 2048]) from checkpoint, the shape in current model is torch.Size([117, 2048]).

I see. The data set defined in your file is HICODET. I ran bash Download. sh but could not download hico. Do you know how to solve it?

Hi @wangjunbianqiang,
The download script usually takes a while depending on your local connection. If you see connecting..., that means the script is working properly. It might take a minute for it to start downloading. Also, the source files are on Google drive, so make sure your internet allows you to connect to Google service.
Cheers,
Fred.

Hello ,
When I run the bash download.sh command, this error occurs，How should I fix it?

You probably don't have access to Google drive. Here is the link to the file https://drive.google.com/file/d/1QZcJmGVlF9f4h-XLWe9Gkmnmj2z1gSnk/view. You can try downloading it from the webpage.

Ok, I will try it. In addition,I want to ask can I get the results mentioned in your paper with the vcoco dataset? I saw in README.md that you wrote that you did not give the evaluation code for vcoco

Yes we did not implement evaluation code for VCOCO, since instead use the official evaluation code provided by Gupta et al.

Excuse me, when I run
python main.py --world-size 8
--dataset vcoco --partitions trainval val --data-root vcoco
--train-detection-dir vcoco/detections/trainval
--val-detection-dir vcoco/detections/trainval
--print-interval 20 --cache-dir checkpoints/vcoco &>log &
this error occurs

how to solve it?

You are running the command at a directory that you don't have admin access to.

Yes, I just found out. I changed it, but another error occurred

The point of redirecting stdout and stderr to the file log is to save the information. You need to look into the log to find out why.

Were you able to check the log?

No, I didn't find this log file. When I remove the "&>log &", it works fine. This generated seven PT model files, after which the test produced a vcoco.pkl file, then I evaluated the Vcoco implementation based on the method you mentioned, and there was an error

Here's an evaluation code I wrote based on the link you provided: eval.py

Assert indicates that

That seems like a problem with the evaluation code. I'm not very familiar with the detailed implementations, but you could try to cache the variable rec and investigate.

When I was training with the HOCI data set, the following error occurred near the end of the first epoch of training

How can I solve it?

That's only part of the error message that shows the multiprocessing has stopped, which is not the cause of the issue. You have to post the entire error message.

I trained on one GPU
Traceback (most recent call last):
File "main.py", line 174, in
mp.spawn(main, nprocs=args.world_size, args=(args,))
File "/opt/conda/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/opt/conda/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes
while not context.join():
File "/opt/conda/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 105, in join
raise Exception(
Exception: process 0 terminated with signal SIGBUS

I've never run into Exception: process 0 terminated with signal SIGSEGV before. So I'm not sure how to solve it. You can try to google that error.

OK.Thanks

Excuse me, could you please tell me the specific meanings of prior and label? I didn't see relevant explanation in your paper, maybe I overlooked it.

prior refers to object detection scores for the human and object instances. label is self-explanatory. A positive pair will be labelled as True.


IPNS Support

Hi!
I was wondering if there is any documentation on interfacing with IPNS? I found an old issue asking the same question, but the link in @diasdavid reply gives a 404. Any new info on this?

@Annorstades IPNS API is ipfs name, see: https://github.com/ipfs/js-ipfs-api#name
There is an example of how to use it: https://github.com/ipfs/js-ipfs-api/tree/master/examples/name-api
tests show more examples of it working: https://github.com/ipfs/js-ipfs-api/blob/master/test/name.spec.js

For future reference, these are David's links but with the commit instead so the URL will keep on working:
How to use: https://github.com/ipfs/js-ipfs-api/tree/0544dd378cf474c42a6f16626a83ac3bf5db9be2/examples/name-api
Tests: https://github.com/ipfs/js-ipfs-api/blob/0544dd378cf474c42a6f16626a83ac3bf5db9be2/test/name.spec.js

Thanks @VictorBjelkholm
Closing this issue. @Annorstades let us know if you have any hurdles using it! :)


Feature request: Handling license requirements of dependencies

Hello,
Based on recent news (outside of Go world), where projects have non-standard License files or sudden change of license terms, I feel dep should be able to help the developer by warning about these things.
At the minimum, if the repo does not have a LICENSE file at all, or if it has changed from last pull, warn the user. It would be even better if I can specify "BSD,MIT,Apache" as my requirement as well.
I understand detecting the license file to be one of the N types is a difficult problem. Even more difficult is detecting if any of the files have a license header different from the repo's main license file. However, dep could enumerate at least the ones it was able to detect.
I would be happy to help if this is not already in the works.

I think this is a separate tool that doesn't belong in dep. The use-cases are so varied that it's hard to have a one size fits all solution to this problem in dep.
You can check https://github.com/pmezard/licenses for an example.
I'm not sure if we can include something like that in dep status, @darkowlzz ?

At the minimum, if the repo does not have a LICENSE file at all, or if it has changed from last pull, warn the user. It would be even better if I can specify "BSD,MIT,Apache" as my requirement as well.

Since the lock file is where we store state of a project, if we do this, we might have to add this in gps level and write the license info in the lock.
We can promote good practices by checking if there's any license in the repo and showing a warning message on running dep status, but I'm not sure if license should be put in non-library projects too. And idk how would we detect if a project is an application or a library.

it does seem like we might be able to make a best-effort guess in this area, at least. https://github.com/spdx/tools-go might be helpful there, and i know the SPDX folks, if need be.

Since the lock file is where we store state of a project, if we do this, we might have to add this in gps level and write the license info in the lock.

i suspect we can do it as a layer on top; gps probably needn't know about it for dep status, even if we were to record it in the lock file (which i don't think is a necessity).

though...mm, well, we can spec this out, at least, but we're already getting pretty loaded up with dependencies. that doesn't make the path into the toolchain easier, and i'm not sure this is the sort of thing that we should expect to see in the toolchain itself.


Updated validations.py python script

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

pull request for improve the checks


Bibliography needs to be unified and checked again

@Bridnicolas, the bibliography needs to be unified with respect to the style (hyperlinks in the same color, etc.) but also with respect to the format, like Author names, first lastname then first name, etc., all authors to be spelled, DOI, where available. And there are three items missing. Can I ask you to first check this, again, that we do not miss references, and then inform me, so I have a look?

No need to answer. I saw the guidelines already. Unnecessary question.

For the journal, according to my knowledge, any format that is
consistent is okay. So there should not be different variants, that
would be all ;)

It's mostly done. Only Vidal's dictionary is lacking, because I really don't know how to cite it (no one else did and it's a we-transfer). I'll ask Cristina about that. You may see some comments with tiny questions in the bibliography.

But the dictionary has a title sheet?

@Bridnicolas, please make sure to fix these when you are back.

Mattis,
Be sure I'll see to it when I'm back. I'll hopefully be in Asunción next
Sunday. I'll be informing you then. Sorry I didn't answer before, I had no
internet.
Best,
Nicolás
El vie., 15 de julio de 2022 7:26 a. m., Johann-Mattis List <
@.***> escribió:

@Bridnicolas https://github.com/Bridnicolas, please make sure to fix
these when you are back.
—
Reply to this email directly, view it on GitHub
https://github.com/lexibank/chacolanguages/issues/13#issuecomment-1185451686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXWXNMM5OYRI4JSDOVZJFDVUFDFRANCNFSM5ZGRZNFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Bridnicolas Could you please check this issue and correct the sources, maybe at some point during this or next week? We are currently preparing for a new release of all Lexibank datasets and it would be good to have this resolved.

@FredericBlum Yes, sure. I'll probably have to time look into it deeply during the weekend.

@Bridnicolas Any update on this?

@FredericBlum Sorry, not yet. I'm in the crazy middle of writing a review, an article, a scholarship application, and moving in. I'm committed to this, too, but I'd like to know what the deadline is, so I can arrange my time.

Would be neat to have this by the end of next week. Shouldn't be too much work, considering it is only the four problems mentioned above.

Great. I did consider it big work, tbh, but just out of sheer ignorance. I'll text you back one of these days (this week), when I get down to it.

@Bridnicolas Any updates?

@FredericBlum I'm moving things to my new house right now, if it's not much of a problem I'll send you updates in the afternoon.

@FredericBlum Sorry for the delay. Machoni (1877) is correct now, according to the link @LinguList provided above. It was first printed in Madrid in 1732, and then in BsAs in 1877.
I've added the address on Kalisch & Unruh 1997.
As for Kalisch 2021, I must have been confused with the IDS online version. Hannes didn't write any dictionary in 2021. We can do away with that reference.
All the IDS online versions are from 2015, because that's how it appeared on IDS. I can correct that too if it's wrong.
As for Buckwalter Mocoví's dictionary, the 2004 version I used was of internal circulation, not found on the web, and digitalized by a local Secretary of Environment (?). I'll ask Cristian if he knows how to cite it properly.
I'm not sure if I understood the task properly. If not, please let me know and I'll revise the bibliography again.

Great, thanks, then all we need is the reference for Buckwalter and then we can go ahead and update :)

@Bridnicolas Could you solve the problem about the Mocovi dictionary?

I think so. Cristian guided me into it. For the time being I'd rather eliminate that rare 2004 source and stick to the IDS Buckwalter Mocoví wordlist, which is both more reliable (Cristian told me) and citable. I used this rare source in the beginning, but I doubt that the data will be significantly different from the IDS wordlist, because it's basic vocab. Unless you want otherwise,
I already committed the changes, having also changed some more details I found there. Btw, where I should be making changes is on sources.bib, right?

Perfect, thank you. Yes, totally fine with that. sources.bib i perfect. I will prepare the the release then and tag you on the Pull Request.


Nationality & Official languages

Hi,
I think the package is awesome, but I was also looking for nationality (like if you are born in France, the nationality is "French"). And also the official languages of the countries.
I'm ok to make a PR. But before, is it ok for you to add these two new information ?
Thank you for the package :)

@Sicklou Thank you for your input. However please take into count the multiple locales that are supported as of now.
'accepted_locales' => [
		'ar',
		'bn',
		'br',
		'de',
		'en',
		'es',
		'fr',
		'hr',
		'it',
		'ja',
		'kr',
		'nl',
		'pl',
		'pt',
		'ro',
		'ru',
		'tr',
		'zh',
	],

	```

	it might be a lot of work here.
	Do you have a source for the data that need to be added?

Maybe a LLM like ChatGPT could give all the information needed ?

i am not sure about the placement of this needed field. I would rather suggest you fork the repository and try to make it work on your end first. I would help you in the re-integration when you are done.
this thing is that the countries.json file should be the source.
in your case all the nationalities should be translated to all the supported locales.
try to look at the translation of the countries names php files. it might inspire you how you would like to do it

Thanks for the reply.
I just forked the project. But I'm not sure of how I can test it.
Did I need to do it as a standalone ? or inside a Laravel test app ?
As a standalone, tests  doesn't work. I'm a little confused about how I can work on the package.

Thanks for the reply.
I just forked the project. But I'm not sure of how I can test it. Did I need to do it as a standalone ? or inside a Laravel test app ?
As a standalone, tests doesn't work. I'm a little confused about how I can work on the package.

Hi again,
I personally develop the package as below.
1- install laravel app
2- create a folder where the name represents the 1st level domain name. in my case it is nnjeim
3- clone the repository inside nnjeim it will create the folder world where all the files are present
4- you need to modify the package composer.json to reflect your new domain names.
{
    "name": "nnjeim/world",
    "description": "Laravel countries, states, cities and currencies",
    "keywords": [
        "laravel",
        "lumen",
        "countries",
        "cities",
        "states",
        "timezones",
        "currencies"
    ],
    "homepage": "https://github.com/nnjeim/world.git",
    "license": "MIT",
    "type": "laravel-package",
    "authors": [
        {
            "name": "Najm Njeim",
            "email"<EMAIL_ADDRESS>            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=7.4"
    },
    "require-dev": {
        "orchestra/testbench": ">=v4.0.0",
        "phpunit/phpunit": ">=8.5.8"
    },
    "autoload": {
        "psr-4": {
            "Nnjeim\\World\\": "src/",
            "Nnjeim\\World\\Database\\Seeders\\": "src/Database/Seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Nnjeim\\World\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "test": "vendor/bin/phpunit",
        "test-coverage": "vendor/bin/phpunit --coverage-html coverage"
    },
    "config": {
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "providers": [
                "Nnjeim\\World\\WorldServiceProvider"
            ],
            "aliases": {
                "Country": "Nnjeim\\World\\World"
            }
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

5- In laravel's main composer.json i have added the below
 "repositories": [
        {
            "type": "path",
            "url": "./nnjeim/world"
        },
    ]
    ```
    6- finally you need to run composer update at the root of the laravel's app to update all the above

@nnjeim I have the notionalities in En, in my App I added them into the country table and seed it
If you need them, we can use AI, chatgpt or claude.ai to translate them


Do not create deserializable type definition at each request

Some type def client requests create the required deserializable type definition at each request (Examples: ProduceBlockRequest and SendAggregateAndProofsRequest).
This could be avoided by creating the deserializable type definition in advance and getting the correct one based on the request.

This is an advantage of the old model where we didnt create an object per request. Ideally we can make use of SchemaDefinitionCache, or use the schema definitions from the request objects themselves... I'll have a quick look at the two listed.


Fix UCCSD PQRS sign bug

Fixes a bug in the PQRS terms of UCCSD state preparation

Thanks for the comments Chris. I've addressed all of them except for the 0.6 syntax changes. Those changes will be in a subsequent pull request


Error - Failed to open stream: Permission denied

I'm having this error in my production logs:
file_put_contents(/var/www/vendor/olssonm/l5-very-basic-auth/src/config.php): Failed to open stream: Permission denied
It happens every few seconds. Besides that the authentication is working.
I have published the configuration file in my config folder.

@bianchi Thanks for reaching out. Yeah, you seem to have a clash there where the system tries to write to /var/www/vendor/olssonm/l5-very-basic-auth/src/config.php, and the system isn't the same owner as the one that installed the package via composer.
However, this shouldn't happen if you have published the config-file. Can you just double-confirm that in your project that you have a file named /config/very_basic_auth.php? And I'll work on a solution.
Thanks!

@bianchi This should now be solved with the v7.0-release. Please update and get back to me if you encounter any other issues.

I'll do that. Thank you @olssonm


include more sample data

Coverage increased (+4.3%) to 71.717% when pulling 19bf96b691f2f6261e18eb1feee0328b3f7cda0b on dev into 868fe6df62a412a4a0d587be4b09d9e67500cf09 on master.

Coverage increased (+4.3%) to 71.717% when pulling 19bf96b691f2f6261e18eb1feee0328b3f7cda0b on dev into 868fe6df62a412a4a0d587be4b09d9e67500cf09 on master.


Stuck on request when changing proxy while inside a session

Hi,
I've been tinkering with the following issue for the last couple of days and boy it was frustrating.. The issue is not being able to sent requests after you've changed your external IP adress while inside a sesison. It took me a while to figure this out.
Like I said the problem only excist if you're inside a session for some reason the requests are just stuck, for ever. I tested the same thing without a session and that works just fine.

When you say "changed your external IP address", what exactly do you mean?

Hi,
I've written a script which I use on my Raspberry Pi plugged with 3G modem. So I use the 3G modem to connect and make requests. I've also written a script that changes the external IP adress of the modem. It's like a proxy server basically.

I'm still not entirely following. What does changing the IP address look like to your OS?

Hey, I have been having the same issue.
I stripped my code down till the bare minimum needed to reproduce this issue consistently.
test1.py reproduces the issue, as it will hang forever on the second request, and it will eventually timeout when we set a timeout.
test2.py ommits the session object and makes a regular request in the same fashion, however does not 'hang' and executes like expected.

See here test1.py:
import requests
import time

# Create session object.
s = requests.session()

# Simple request using the session object.
s.post('http://httpbin.org')  # <= Makes request without issue. (!!)

# Fetch verification token for the 3G modem
token = requests.get('http://<IP_ADDRESS>/api/' + 'webserver/token').content
token = lxml.html.fromstring(token).xpath('//token/text()')[0]

# Change 3G session variable by logging in
requests.post('http://<IP_ADDRESS>/api/' + 'user/login',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><Username>admin</Username><Password>YWRtaW4=</Password></request>'
)

# Disconnect from 3G network
requests.post('http://<IP_ADDRESS>/api/' + 'dialup/mobile-dataswitch',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><dataswitch>0</dataswitch></request>'
)

# Connect to 3G network, with a new IP (hopefully)
requests.post('http://<IP_ADDRESS>/api/' + 'dialup/mobile-dataswitch',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><dataswitch>1</dataswitch></request>'
)

# A small delay to make sure we are connected.
time.sleep(15)

# Simple request using the session object.
s.post('http://httpbin.org')  # <= Hangs forever. (!!)

See here test2.py:
import requests
import time

# Create session object.
s = requests.session()

# Simple request WITHOUT using the session object.
requests.post('http://httpbin.org')  # <= Makes request without issue. (!!)

# Fetch verification token for the 3G modem
token = requests.get('http://<IP_ADDRESS>/api/' + 'webserver/token').content
token = lxml.html.fromstring(token).xpath('//token/text()')[0]

# Change 3G session variable by logging in
requests.post('http://<IP_ADDRESS>/api/' + 'user/login',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><Username>admin</Username><Password>YWRtaW4=</Password></request>'
)

# Disconnect from 3G network
requests.post('http://<IP_ADDRESS>/api/' + 'dialup/mobile-dataswitch',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><dataswitch>0</dataswitch></request>'
)

# Connect to 3G network, with a new IP (hopefully)
requests.post('http://<IP_ADDRESS>/api/' + 'dialup/mobile-dataswitch',
    headers={'__RequestVerificationToken': token},
    data= '<?xml version="1.0" encoding="UTF-8"?><request><dataswitch>1</dataswitch></request>'
)

# A small delay to make sure we are connected.
time.sleep(15)

# Simple request WITHOUT using the session object.
requests.post('http://httpbin.org')  # <= Makes request without issue. (!!)

Running without passing a timeout argument to the call there does not seem to be an error / traceback, all it does is 'hang', again passing a timeout argument in the call makes the request timeout and provides a timeout error.

It should be clarified we are using python 3.5 on the Raspbian OS.

Let's be clear. A Session object uses connection pooling; that is, it keeps hold of connections if possible to increase efficiency. That includes socket objects, which otherwise cause us to need to make syscalls to recreate them.
If you change your source IP, I wouldn't be at all surprised to find that those sockets no longer behave as expected. You'd need to invalidate them by closing the Session and using a new one, or at least clearing the pools.

Thanks for the details, didn't know that. Seeing as a similar setup worked in the past like expected I am assuming it has to do with the logic of the code rather than the module itself.
I'll keep investigating!


Still no AVX512 support

Hello,
Is the AVS512 support available now?
Thanks,
Jianshu

I think Jack is waiting for Rust to stabilize support in std::arch.


[Bug] Color picker and mouse right click

Hello!
Color picker addition is great, but I wonder about potential bugs:

Is triggering the background color one with the right click of the mouse the intended behavior (as opposed to the fact that the JS code mentions shiftKey)? EDIT: actually if I press shift while right-clicking I see the usual right-click context menu - maybe you wanted the opposite ?
in addition to triggering the picker when right-clicking on the page, I see the background color square moving where the right-click was made (and remain there afterward). Was that made having in mind a specific use or is that more of a bug ?
Somehow strange out of consistency that there seems to be no keyboard/mouse shortcut for the font color picker.

1 & 2: whoops! That is a "left-over"from a previous implementation. I've removed the listener. Thank you for catching that!
3: Hmm.. That's a good idea. I'm going to give it some thought as to what the best way to implement this might be. Maybe we can do it so that clicking on the "font" would open the color-picker for the fonts, and clicking on the background will open the color-picker for the background...


FR: Add support for Swift object serialization in Cloud Functions

Please add Swift Codable support to Cloud Functions in a FirebaseFunctionsSwift module (or within FirebaseCombineSwift). This request is similar to https://github.com/firebase/firebase-ios-sdk/issues/627 except for Cloud Functions rather than for Firestore.
More specifically, please add Encodable support when calling a function:
functions.httpsCallable("myCloudFunction").call(from: encodableObject)

Similarly, please add Decodable support to the function result:
functions.httpsCallable("myCloudFunction").call() { result, error in
    ...
    let obj = try result?.data(as: DecodableObject.self)
    ...
}

@EthanLozano Thanks for the Feature Request.  My preference would be an implementation in a new FirebaseFunctionsSwift library comparable to the Codable implementation for Firestore and the Codable implementation in FirebaseDatabaseSwift added in #6568.

@mortenbekditlevsen Good point! We definitely don't want to repeat code, so my preference would be to factor into another module. In Swift Package Manager, it could be a target, but not a product.

Closing now that #8854 has merged to master


assemble sources

FYI, I asked the FSF about LGPL code included in fat jars of apps that are Apache v2 and they said it is perfectly fine! That's one major myth about the LGPL dispelled.
They said that so long as end users can repackage the jar file with alternative implementations of the LGPL classfiles and that the sources are available according to Section 6 of the GPL (note that it is enough to point at the github repo of the LGPL components). However, I think it would be nice to also provide full assembled source jars and it would be good if this plugin created them.
Also producing a LICENSE summary would be neat.

Yes, this would be nice.


Add tic-tac-toe example to workspace

Description
Describe the changes or additions included in this PR.
Test plan
How did you test the new or updated feature?

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

vite seemed unable to find @mysten/bcs and @mysten/wallet-standard in this set-up -- were you able to try that out and confirm that it works?

Yes, this seems to work fine for me when I run it locally


Unable to retain filters after updating the tree.

Hi,
I am using angular2-tree-component version 2.6.0
I am using tree.treeModel.filterNodes("text", true);  to filter on the tree via a text box. Also I constantly poll the server every 15 seconds to keep my tree update with any new additional nodes/ or any nodes  deleted on server using tree.treeModel.update();.
Now problem is that on running update applied filter gets removed. As a workaround I tried
tree.treeModel.update();
tree.treeModel.filterNodes("text", true);

Nothing happened
Next I tried ,
tree.treeModel.update();
 setTimeout(() => {
     tree.treeModel.filterNodes("text", true);
})

This works, but for a fraction of a second between updating the tree and reapplying the filter, I can see the entire tree .. Is there any solution for this?
Thanks in advance.

in your template, for the tree element add (onUpdateData)="tree.treeModel.filterNodes("text", true);"

@RohitRane
In the latest version the filter is saved as a list of IDs, so it should work if you have unique IDs for your nodes


feat: migration helper

Summary
Provide a better developer experience for content migrations,  help generate the GraphQL queries.
Motivation
Avoid having to update your schema, queries and potentially a large number of Markdown files when the content structure is changing. Ideally, developers can go schema-first or code-first.
/cc @Perni1984 and @npeham

@Perni1984 Sorry that there is no action on this. This is something we will look into once we have a more stable release.

Still relevant

Going to convert this to a discussion, as there's a few different ways we can scope this down


Crunchyroll ERROR: 'NoneType' object is not iterable

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Crunchyroll is being not consistent and buggy, that leads to some rare errors that need to be addressed somehow.
Currently, with example URL "https://beta.crunchyroll.com/watch/GPWUK48VJ/the-hand-that-rocks-the-cradle" issue is, that Crunchyroll forgot to provide a thumbnail image.
As a result, thumbnail processing code in crunchyroll.py on line 825 is not happy
        for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')):
            for thumbnail_data in thumbnails_data:
                thumbnails.append({
                    'url': thumbnail_data.get('source'),
                    'width': thumbnail_data.get('width'),
                    'height': thumbnail_data.get('height'),
                })

I tried to bypass the exception with a simple try catch
        try:
        for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')):
            for thumbnail_data in thumbnails_data:
                thumbnails.append({
                    'url': thumbnail_data.get('source'),
                    'width': thumbnail_data.get('width'),
                    'height': thumbnail_data.get('height'),
                })
        except TypeError:
            thumbnails.append({
                'url': "none",
                'width': 0,
                'height': 0,
            })

That technically worked (in console), but returned JSON from yt-dlp got messed up and not usable at all :(
I am not 100% sure where exactly error happens, but I feel it is inside traverse_obj somewhere and can be related to the same 'NoneType' errors in other cases.
Any ideas for the proper fix?
Ideally, thumbnail needs to come as empty or "none" if it is missing or not processable.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-F', 'https://beta.crunchyroll.com/watch/GPWUK48VJ/the-hand-that-rocks-the-cradle', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e]
[debug] Python 3.10.1 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg n4.4.1-1-g0204d4fd91-20211030 (setts), ffprobe n4.4.1-1-g0204d4fd91-20211030
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.0
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[crunchyroll:beta] Getting session id
[crunchyroll:beta] Logging in
[debug] [crunchyroll:beta] Extracting URL: https://beta.crunchyroll.com/watch/GPWUK48VJ/the-hand-that-rocks-the-cradle
[crunchyroll:beta] Retrieving main page
[crunchyroll:beta] Authenticating with cookie
[crunchyroll:beta] Retrieving signed policy
[crunchyroll:beta] the-hand-that-rocks-the-cradle: Retrieving episode metadata
[crunchyroll:beta] the-hand-that-rocks-the-cradle: Retrieving stream info
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "C:\Users\AlexI\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\AlexI\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1506, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\AlexI\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 644, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\AlexI\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\crunchyroll.py", line 825, in _real_extract
    for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')):
TypeError: 'NoneType' object is not iterable

Try:
- for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')):
+ for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')) or []:

or even better:
-        for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail')):
-            for thumbnail_data in thumbnails_data:
-                thumbnails.append({
+        for thumbnails_data in traverse_obj(episode_response, ('images', 'thumbnail', ...)) or []:
+            thumbnails.append({

If it works, pls open a PR


Trivial fix

README.md path
function signature on darwin

#276

What problem does this PR solve?
What is changed and how does it work?
Check List
Tests

No code

Code changes

Has Go code change

Side effects
Related changes
Does this PR introduce a user-facing change?:

NONE

/test

/test

/test

Codecov Report

Merging #287 into master will decrease coverage by 1.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #287      +/-   ##
==========================================
- Coverage   61.84%   59.91%   -1.93%
==========================================
  Files          40       37       -3
  Lines        2445     2018     -427
==========================================
- Hits         1512     1209     -303
+ Misses        833      714     -119
+ Partials      100       95       -5

Impacted Files
Coverage Δ

pkg/webhook/config/config.go
87.5% <0%> (-2.5%)
:arrow_down:

pkg/webhook/inject/inject.go

pkg/webhook/config/watcher/watcher.go

pkg/webhook/config/watcher/config.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e0a5d41...1c3b61a. Read the comment docs.

/merge