Optimism Fraud Proving Failure Analysis and next steps - continuation - do not merge

This is a continuation PR to track gradual headway.
Highlights:

Since the verifier state roots are off, we are currently using the sequencer or the replica as a source of ground truth, which is not ideal but at least allows testing. The key issue is that if the sequencer is dishonest, then using data from the sequencer as ground truth is obviously not warranted - the only sensible source of ground truth is the Ethereum main chain, the L1. The verifier can be configured to give the correct state roots by setting ROLLUP_BACKEND: 'l2', but that defeats the purpose - the verifier needs to work reliably when ROLLUP_BACKEND: 'l1'.

The stateTrie problem was caused by an indexing issue in gethL2, where s.b.GetDiff( new(big.Int).Add(header.Number, big.NewInt(1)) ) was trying to pull data that is indexed by the L1 blocknumber, not the L2 header.Number. Note - this could be a simple mis-configuration error on our end.

Added convenience function to the gethL2 to allow direct access to the correct s.b.GetDiff:

func (s *PublicBlockChainAPI) GetStateDiffProofCT(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash, blockNr int64) (*StateDiffProof, error) {
	state, header, err := s.b.StateAndHeaderByNumberOrHash(ctx, blockNrOrHash)
	if state == nil || header == nil || err != nil {
		return nil, err
	}
	// get the changed accounts for this block
	//diffs, err := s.GetStateDiff(ctx, blockNrOrHash)
    diffs, err := s.b.GetDiff( big.NewInt(blockNr) )

In OVM_FraudVerifer.sol, tried to address the off-by-one error:

require (
_preStateRootBatchHeader.prevTotalElements + _preStateRootProof.index  + 1  == _transactionBatchHeader.prevTotalElements + _transactionProof.index,
"Pre-state root global index must equal to the transaction root global index."
);

The Pre-state root global index is equal to the transaction root global index, but the require actually checks for Pre-state root global index PLUS ONE is equal to the transaction root global index, which it's not.

After all of this:

{"level":30,"time":1623783095940,"msg":"Initializing the fraud verification process..."}
{"level":30,"time":1623783095950,"msg":"Loading fraud proof contracts..."}
{"level":30,"time":1623783095950,"msg":"Loading the state transitioner..."}
{"level":30,"time":1623783095997,"stateTransitionerAddress":"0x212fdfCfCC22db97DeB3AC3260414909282BB4EE","msg":"State transitioner"}
{"level":30,"time":1623783095997,"msg":"Loading the corresponding state manager..."}
{"level":30,"time":1623783096007,"stateManagerAddress":"0x4F57F9239eFCBf43e5920f579D03B3849C588396","msg":"stateManagerAddress..."}
{"level":30,"time":1623783096043,"stateManagerAddress":"0x4F57F9239eFCBf43e5920f579D03B3849C588396","msg":"State manager"}
{"level":30,"time":1623783096056,"msg":"Fraud proof is now in the PRE_EXECUTION phase."}
{"level":30,"time":1623783096056,"msg":"Proving account states..."}
{"level":30,"time":1623783096056,"address":"0xbda5747bfd65f08deb54cb465eb87d40e51b197e","msg":"Attempting to prove account state"}
{"level":30,"time":1623783096070,"msg":"Need to deploy a copy of the account first..."}
{"level":30,"time":1623783096105,"msg":"Deployed a copy of the account, attempting proof..."}
{"level":50,"time":1623783096264,"extra":{"err":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":18964,\"error\":{\"code\":-32603,\"message\":\"VM Exception while processing transaction: revert Invalid root hash\"}

and indeed, the root hashes are off:
  Contract call:       <UnrecognizedContract>
  From:                0x71be63f3384f5fb98995898a86b02fb2426c5788
  To:                  0x212fdfcfcc22db97deb3ac3260414909282bb4ee
  Value:               0 ETH
  console.log:
    Should be equal
    _walkNodePath keccak256(currentNode.encoded)
    0x1feb5243d81c23cfddb8d7dc78126facbfb906cceee7a99abaf9a4b2539d7e74
    _walkNodePath currentNodeID
    0x14fecfdfbf2f7d29506fcf9392dff4b174a75be8bc2f667ab2b8574561d803da
  Error: VM Exception while processing transaction: revert Invalid root hash

Given the complexity of the overall system, three things are probably needed:
1/ A dedicated PR to understand what needs to be done with the verifier, so it returns the correct state roots when pointed at the L1.
2/ The GetStateDiffProof indexing problem may or may not be related to that.
3/ INTEGRATION TESTS for the entire verification and fraud proving system. The sync tests are perhaps a good place to start.
4/ Get a handle on persistent and hard to debug indexing, timestamp, and block number issues encountered when using eth_callandrollup_getInfo`

Codecov Report

Merging #73 (4686f65) into develop (2a0b20f) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #73      +/-   ##
===========================================
+ Coverage    82.26%   82.30%   +0.03%
===========================================
  Files           49       49
  Lines         1900     1904       +4
  Branches       303      302       -1
===========================================
+ Hits          1563     1567       +4
  Misses         337      337

Impacted Files
Coverage Δ

...ic-ethereum/OVM/verification/OVM_FraudVerifier.sol
97.05% <ø> (-0.09%)
:arrow_down:

...c-ethereum/libraries/trie/Lib_SecureMerkleTrie.sol
78.57% <ø> (ø)

...imistic-ethereum/libraries/trie/Lib_MerkleTrie.sol
98.34% <100.00%> (+0.03%)
:arrow_up:

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 2a0b20f...4686f65. Read the comment docs.


Multiple Choice Question Standard Deviation

I saw that the multiple choice type evaluation would compute the metrics along with standard deviation. From my understanding, multiple choice answer is chosen from the choice with highest probability, so I thought this is some greedy selection that does not result in randomness Does anyone know how is the std computed in this case?

Hi! We compute the stderr for accuracies / scores which aggregate via taking the mean of the documents' metrics via computing the Standard Error. This gives a sense of the expected variance if we subsampled / observed a different set of documents with the same distribution of accuracies, and is largely impacted by 1) how the per-document scores are distributed (the mean would be more variable if we're closer to 50% accuracy, but less likely to vary if the model scores 99% on the benchmark) and 2) the sample size or number of docs used to measure a task's accuracy.
Relevant function(s): https://github.com/EleutherAI/lm-evaluation-harness/blob/c5acce0c7485a3bc8cbb7d80bf6a577a6922bafa/lm_eval/api/metrics.py#L231 https://github.com/EleutherAI/lm-evaluation-harness/blob/c5acce0c7485a3bc8cbb7d80bf6a577a6922bafa/lm_eval/api/metrics.py#L445
Here's a good article on the standard error of the mean:
https://statisticsbyjim.com/hypothesis-testing/standard-error-mean/
We recently fixed how the standard errors across subtasks (e.g. how we compute stderr for the entire mmlu group) as they were previously aggregated incorrectly: see https://github.com/EleutherAI/lm-evaluation-harness/pull/1427 https://github.com/EleutherAI/lm-evaluation-harness/pull/1390 for reference!

Thank you for the comprehensive response! Just try to understand this a bit better. For example, for evaluating an mmlu task that contains only a single document (a single json file that contains a list of multiple choice questions). The stderr is computed by dividing questions into a few groups, computing the acc of each group, and then applying the formula to compute stderr from these acc scores. Is this process correct? If it is, then is there a fixed way to divide these groups, such as determining how many samples are partitioned into one group?

Hi!
The stderr is computed for each of the 57 MMLU subtasks, based on the mean_stderr formula (computing the std err by computing the sample std deviation and dividing by the square root of sample size, by definition of standard error).
We then aggregate these 57 subtasks' stderrs using the formula, weighting the subtasks by the number of documents they each contain.
For task groupings which would not weight aggregated metrics by number of samples in each group, we would likely want to treat each of them as having "size 1" when doing this stderr aggregation to get the stderr for the entire task grouping.

Thank you again for the clear explanation! Your insights solved my confusion.


Add Wardley Maps symbols collection

Adding a collection of Wardley Maps components and symbols. This adds:

the Component Evolution Outline,
Component,
Customer,
Inertia,
Component Pipeline,
Build in-house component,
Off the Shelf component,
Outsource component types,
Ecosystem ILC and
Areas of Interest

The preview:

A sample map by @swardley

@lipis Done.
Though I'm uncertain why deployment has failed. please let me know if there is something I can do.
Thank you, very much!


Updated Travis-CI to Xcode 9.4.

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   96.23%   96.23%
=======================================
  Files          33       33
  Lines        1194     1194
=======================================
  Hits         1149     1149
  Misses         45       45

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 832d1d2...b3085fa. Read the comment docs.


Update recipe for PKG-4570_codesign

Rebuild for PKG-4513 authenticode signing

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_b2m4n0tuiu/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:70: missing_tests: output "yaml-cpp-static": No tests were found.
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_1azj3y63mk/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:70: missing_tests: output "yaml-cpp-static": No tests were found.
===== Final Report: =====
1 Error and 0 Warnings were found


Poster ideas

RDF cheat sheet
graph illustration of the new datasets and schemas
Ontolex graph (probably from scratch, less ugly)
code example, probably Python
query example (SPARQL)
more about SPARQL in general

history section

Semantical -> Semantic

Need to replace the central word cloud since it appears to have become lowres???

Make space for references required by DSL, probably in size 8 pt or similar.


feat: add prevent creation of specific file format

I want to prevent files matching certain regular expressions in the routes directory from being generated at the path generation stage for convenient use of file-based libraries like vanilla-extract.
Problem

I find the current prefix usage a bit inconvenient.
Sometimes, I accidentally create templates when I forget the rules and create files.

Suggest

I would like to prevent path generation based on specific regular expressions to avoid unwanted template creation

I don't think we need a separate example for this, I would rather add a file that is ignored to one of the existing example (e.g. basic-file-based)

I don't think we need a separate example for this, I would rather add a file that is ignored to one of the existing example (e.g. basic-file-based)

I move example to basic-file-based


[FIRIAMMessageClientCache hasTestMessage] crashes the app

Description
I'm using the Firebase iOS SDK with version 10.14.0
We are observing crash reports coming from iOS and iPadOS versions 15-17 that are related to [FIRIAMMessageClientCache hasTestMessage].
Some of the recorded stack traces
Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x4174 objc_release + 16
1  libobjc.A.dylib                0x4174 objc_release_x0 + 16
2  Hybrid-Release                 0x38c6b8 -[FIRIAMMessageClientCache hasTestMessage] + 129 (FIRIAMMessageClientCache.m:129)
3  Hybrid-Release                 0x38acb8 -[FIRIAMDisplayExecutor checkAndDisplayNextAppForegroundMessage] + 759 (FIRIAMDisplayExecutor.m:759)
4  Hybrid-Release                 0x387838 __95-[FIRIAMDisplayCheckOnAppForegroundFlow checkAndDisplayNextAppForegroundMessageFromForeground:]_block_invoke + 55 (FIRIAMDisplayCheckOnAppForegroundFlow.m:55)
5  libdispatch.dylib              0x3eac _dispatch_client_callout + 20
6  libdispatch.dylib              0x7330 _dispatch_continuation_pop + 504
7  libdispatch.dylib              0x1a908 _dispatch_source_invoke + 1588
8  libdispatch.dylib              0x6e6c _dispatch_queue_override_invoke + 500
9  libdispatch.dylib              0x15944 _dispatch_root_queue_drain + 396
10 libdispatch.dylib              0x16158 _dispatch_worker_thread2 + 164
11 libsystem_pthread.dylib        0xda0 _pthread_wqthread + 228
12 libsystem_pthread.dylib        0xb7c start_wqthread + 8

Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x3a98 objc_release + 16
1  Hybrid-Release                 0x388e50 -[FIRIAMMessageClientCache hasTestMessage] + 129 (FIRIAMMessageClientCache.m:129)
2  Hybrid-Release                 0x387450 -[FIRIAMDisplayExecutor checkAndDisplayNextAppForegroundMessage] + 759 (FIRIAMDisplayExecutor.m:759)
3  Hybrid-Release                 0x383fc4 __95-[FIRIAMDisplayCheckOnAppForegroundFlow checkAndDisplayNextAppForegroundMessageFromForeground:]_block_invoke + 55 (FIRIAMDisplayCheckOnAppForegroundFlow.m:55)
4  libdispatch.dylib              0x64780 <redacted> + 16
5  libdispatch.dylib              0x3bd48 <redacted> + 436
6  libdispatch.dylib              0x4d780 <redacted> + 1552
7  libdispatch.dylib              0x3b8d8 <redacted> + 420
8  libdispatch.dylib              0x48c68 <redacted> + 328
9  libdispatch.dylib              0x49430 <redacted> + 160
10 libsystem_pthread.dylib        0x1b94 _pthread_wqthread + 224
11 libsystem_pthread.dylib        0x1720 start_wqthread + 8

Reproducing the issue
Didn't manage to reproduce that on local setup. We are integrating the Firebase SDKs in the way described in docs, nothing customized.
Firebase SDK Version
10.14.0
Xcode Version
15
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, Crashlytics, In-App Messaging, Remote Config
Targeted Platforms
iOS
Relevant Log Output
0  libobjc.A.dylib                0x3a98 objc_release + 16
1  Hybrid-Release                 0x388e50 -[FIRIAMMessageClientCache hasTestMessage] + 129 (FIRIAMMessageClientCache.m:129)
2  Hybrid-Release                 0x387450 -[FIRIAMDisplayExecutor checkAndDisplayNextAppForegroundMessage] + 759 (FIRIAMDisplayExecutor.m:759)
3  Hybrid-Release                 0x383fc4 __95-[FIRIAMDisplayCheckOnAppForegroundFlow checkAndDisplayNextAppForegroundMessageFromForeground:]_block_invoke + 55 (FIRIAMDisplayCheckOnAppForegroundFlow.m:55)
4  libdispatch.dylib              0x64780 <redacted> + 16
5  libdispatch.dylib              0x3bd48 <redacted> + 436
6  libdispatch.dylib              0x4d780 <redacted> + 1552
7  libdispatch.dylib              0x3b8d8 <redacted> + 420
8  libdispatch.dylib              0x48c68 <redacted> + 328
9  libdispatch.dylib              0x49430 <redacted> + 160
10 libsystem_pthread.dylib        0x1b94 _pthread_wqthread + 224
11 libsystem_pthread.dylib        0x1720 start_wqthread + 8

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

We'll likely need repro steps to investigate this crash. The object being released in objc_release would be very helpful.


Package the native lib and load it from the .jar

This lets me build a StreetNetwork.jar that can be depended on and called from the JOSM2Streets plugin! See #68.
The Java class has been put in the org.osm2streets package.
The build script packages the .class and .so files into a .jar.
The native lib is unpacked and loaded directly, instead of searching java.library.path.
This iteration only supports linux because it packages target/debug/osm2streets_java.so and loads it without checking the current platform. The next iteration should package different target builds and load the one appropriate for the running system.

I'm going to merge this as-is as a debug configuration, and leave the release configuration bundling multiple build targets etc. as a future problem.


The documentation doesn't mention that you can scroll between months.  I only realised you could do this when I started reading through the code.

Thanks for your report.
I'm going to add an animate gif to the documentation so to show an usage example.


Debug adapter process has terminated unexpectedly

We have written the needed data into your clipboard because it was too large to
Issue Type: Bug
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\rituraba>node -v
v8.9.4
Not able to debug the nod app , after upgrading the node versio 6 to 8 .
Launch.Json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "protocol": "inspector",
            "program": "${workspaceFolder}\\server.js"
        }
    ]
}

VS Code version: Code 1.22.1 (950b8b0d37a9b7061b6f0d291837ccc4015f5ecd, 2018-04-06T02:26:57.615Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz (4 x 2660)

Memory (System)
6.96GB (1.72GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

sublime-babel-vscode
jos
0.2.9

csharpfixformat
Leo
0.0.66

csharp
ms-
1.14.0

mono-debug
ms-
0.15.8

node-debug2
ms-
1.19.4

al-formatter
ras
2.1.0

(2 theme extensions excluded)

 send. Please paste.

duplicate of #45957


[HIVEMALL-29] Add github pull request template

What changes were proposed in this pull request?
Add github pull request template.
How was this patch tested?
Manual tests

Coverage decreased (-0.01%) to 35.831% when pulling 7106b4276e653cad87f1f397b0ffa859d8f48176 on wangyum:HIVEMALL-29 into ed16ca002e3d61f1a3b30e35487fa45e603d4f59 on apache:master.

@wangyum Thank you for the contribution. Merged with small modifications.


HotChocolate.AspNetCore has MIT license but it has a dependency on BananaCakePop.Middleware which is ChilliCream License 1.0

Product
Hot Chocolate
Version
13.9.6
Link to minimal reproduction
https://www.nuget.org/packages/HotChocolate.AspNetCore/
Steps to reproduce
See that BananaCakePop.Middleware is a dependency and click on the dependency
Take a look at the license for the dependency.
https://www.nuget.org/packages/BananaCakePop.Middleware/16.0.3/License
What is expected?
We expect either a way to consume HotChocolate.AspNetCore without BananaCakePop.Middleware
OR
for BananaCakePop.Middleware to have the MIT license
What is actually happening?
BananaCakePop.Middleware has the ChilliCream License 1.0
Relevant log output
No response
Additional context
No response

You can switch it of if you do not want to use it. MapGraphQL().WithOptions(.... Tool { Enable: false } )


[Service Bus] upgrade ms-rest-nodeauth due to critical bug

Package Name:  azure-sdk-for-js
Package Version: 1.1.5
Operating system: osx
[ ] nodejs

version: 12

Describe the bug
A clear and concise description of what the bug is.
The service-bus package depends on @azure/ms-rest-nodeauth ^0.9.2.
The current version of ms-rest-nodeauth is 3.0.3
The problem with version ^0.9.2 (or any other version up to 3.0.3) is a critical bug that cause the application to halt due to an unresolved promise
See the bug fix here:
https://github.com/Azure/ms-rest-nodeauth/commit/43c52f94200277fb76ec843bc51b8366ae098e4b
Done on  Aug 22, 2019 and included in version 3.0.3 (the latest)
This is causing my node application to halt due to that unresolved promise.

Thanks for reporting @shlomiassaf
@chradek, I recall removing the dependency on ms-rest-nodeauth from amqp-common preview 7. See https://github.com/Azure/azure-sdk-for-js/blob/amqp-common/sdk/core/amqp-common/changelog.md#2019-9-11-100-preview7
Can you check how that got reverted? I'd prefer if we had no dependency on this package in Service Bus at all

@ramya-rao-a It looks like we removed some runtime code that depended on it, but didn't remove the actual dependency in #5010 It's actually still being imported by amqp-common.
I can work on removing this dependency and rereleasing service-bus.

I believe @bterlson's thoughts at the time was that since the current usage is only in method signatures, the final bundle shouldn't have the ms-rest-nodeauth dependency at all

I can investigate if it is showing up in the final bundle.
@shlomiassaf, are you taking a direct dependency on @azure/ms-rest-nodeauth, and if so what version? Can you also run npm ls @azure/ms-rest-nodeauth in your project so where copies of this package are sitting in node_modules?

@ramya-rao-a
Keeping backwards-compatibility in mind, I think our best option is to update amqp-common and service-bus to accept an interface we control (much like TokenCredential) instead of specific AAD classes.
This would allow us to completely remove the @azure/ms-rest-nodeuath dependency from amqp-common and service-bus. The only potentially breaking issue I see with this is we'd have to change the type of AadTokenProvider.credentials to be this more generic interface as well (I'm not sure why that field is public in the first place) but technically that should be fine since amqp-common is still versioned as a preview.
I looked into simply upgrading amqp-common and service-bus to<EMAIL_ADDRESS>but this would cause compilation errors for customers using an older version of ms-rest-nodeauth. It does look like there aren't any compilation issues today if customers want to use<EMAIL_ADDRESS>with this library.
/cc @bterlson

It does look like there aren't any compilation issues today if customers want to use<EMAIL_ADDRESS>with this library.

Thanks @chradek
@shlomiassaf, Can you change your direct dependency on ms-rest-nodeauth to be 3.0.3 and see if that works? Use this version to create the credentials and pass them to Service Bus package

@ramya-rao-a
There is an issue with the types when trying to work with ServiceBusClient.createFromAadTokenCredentials
static createFromAadTokenCredentials(host: string, credentials: ApplicationTokenCredentials | UserTokenCredentials | DeviceTokenCredentials | MSITokenCredentials, options?: ServiceBusClientOptions): ServiceBusClient;

All of the types of credentials are coming from @azure/ms-rest-nodeauth but 0.9.2, however when using 3.0.3 and trying to set credentials with types from 3.0.3 I get this:
Property 'getTokenFromCache' is protected but type 'ApplicationTokenCredentialsBase' is not a class derived from 'ApplicationTokenCredentials'

If I cast the type I provide to the method into a any it works, so I guess it's type only and it's not a runtime issue.
I tested it with a credentials object using ApplicationTokenCredentials, didn't test other credential methods but I guess they will work.
Anyway, I think it's time to upgrade :)

@shlomiassaf
You are correct, I'm seeing TypeScript compilation errors using the newer ms-rest-nodeauth. Apologies, I must have made too many changes when I tested earlier, I thought I had checked that correctly.
@ramya-rao-a
I did verify that updating the version of ms-rest-nodeauth that the SDK depends on then causes compilation errors when trying to use an older version of ms-rest-nodeauth. I think we should get rid of this dependency altogether (since our only direct use of it is for types) and use an inlined interface instead.

That makes sense @chradek, lets go ahead with that plan

The latest version 1.1.6 of the @azure/service-bus package has been updated to no longer rely on the @azure/ms-rest-nodeauth package.
This allows users to use any version of @azure/ms-rest-nodeauth directly with @azure/service-bus without TypeScript compilation errors.


Implement group unique id support for JDBC User Store Managers

Purpose
Implement Group UUID support for UniqueId JDBC User Store Managers.

Resolves https://github.com/wso2/product-is/issues/7914
Part of https://github.com/wso2/product-is/issues/16368

Approach
Implement following do Methods in the UniqueIDJDBCUserStoreManager

[x] doGetGroupIdFromGroupName
[x] doGetGroupNameFromGroupId
[x] doGetGroupFromGroupName
[x] doGetGroupFromGroupId
[x] doGetGroupListOfUser
[x] doAddGroup
[x] doUpdateGroupNameByGroupId
[x] doDeleteGroupByGroupId

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7817357922

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7817357922
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7818971278

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7818971278
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7824266079

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7824266079
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7839836111

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7839836111
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7841410323

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7841410323
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7852545344

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7852548956

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7852553860

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7852545344
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7852548956
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7852553860
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7852553860

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7852553860
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7852969864

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7852969864
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864308389

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864308389
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864308389

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864308389
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864383929

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864383929
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864383929

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864857320

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7864859461

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864383929
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864859461
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7864857320
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7866792575

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7866792575
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7867893901

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7867893901
Status: success


[Proposal] Doris support version column for REPLACE aggregate type

BackGround
Doris currently use REPLACE to update data, but the replacement order cannot be guaranteed for the data import of the same batch. The user needs to guarantee that there is no same key column in the imported data of the same batch to guarantee the replacement order, which is very inconvenient for the user. To solve this problem, we can use a version column to specify the replacement order.
Goal
The user specifies a version column when creating the table. Doris relies on this column to update the data of REPLACE type. The larger version column data can REPLACE the data of the smaller version column, while the data of the smaller version column cannot REPLACE the larger version column data.
Create Table Interface
CREATE TABLE `test` (
`id` bigint(20) NOT NULL,
`date` date NOT NULL,
`group_id` bigint(20) NOT NULL,
`version` int MAX NOT NULL,
`keyword` varchar(128) REPLACE NOT NULL,
`clicks` bigint(20) SUM NULL DEFAULT "0" ,
`cost` bigint(20) SUM NULL DEFAULT "0"
) ENGINE=OLAP
AGGREGATE KEY(`id`, `date`, `group_id`)
DISTRIBUTED BY HASH(`id`) BUCKETS 16
PROPERTIES (
  "replace_version_column" = "version"
);

When creating a table, the user simply adds the replace_version_column attribute in PROPERTIES to identify the version column, which requires a MAX aggregation type to ensure that only the largest version column is retained for the same key column.
Query
When a user's query does not contain the REPLACE column, the original logic follows. When a user's query contains REPLACE columns, BE needs to extend the Version column on which the REPLACE column depends, and compare the value column when it is aggregated. These operations can be done by extending Reader return columns, and in FE，the isPreAggregation is OFF because of the REPLACE column is value column in StorageEngine
，which means the storage engine needs to aggregate the data before returning to scan node，so we can guarantee that the same key columns will be aggregated in Reader.
Compaction
Base and Cumulative Compaction use Reader to aggregate data, and it use all tablet columns as return columns, so similar to the query processing, we can use Reader for replace based on version columns.
Load
With the same batch of data load, Doris uses one or more MemTable.  We need to ensure that the same key column in one MemTable, columns of REPLACE type are replaced with version column, while the data in different MemTable is not guaranteed in LOAD because Query and Compaction guarantee the order of replacement.
RollUp
If rollup contains a column of REPLACE type, we need the user to add the Replace version column or extend the column automatically.

How to generate the value of the version column? Is is auto generated? Or it has to be in the user's origin load data?

How to generate the value of the version column? Is is auto generated? Or it has to be in the user's origin load data?

it's user's origin load  data

I suggest that the columns used for keeping order should not exist in the create table statement, but as a hidden column. When creating a unique table, add a property such as sequence=true, so that be can automatically add a hidden one after the key column. The hidden key column is only used for sorting, so that it can be used as a sorting basis when doing compaction and read. A column may be configed as a sequence column during load

I suggest that the columns used for keeping order should not exist in the create table statement, but as a hidden column. When creating a unique table, add a property such as sequence=true, so that be can automatically add a hidden one after the key column. The hidden key column is only used for sorting, so that it can be used as a sorting basis when doing compaction and read. A column may be configed as a sequence column during load

+1.
The only function of the version column is to retain the order information of the data in the business logic. So if the version column appears in the table schema explicitly, we cannot control the user's query behavior for this column.

According to @morningman @yangzhg 's suggest, I made some corrections
name
use sequence column instead of version column  for user understand easy.
Create table
Use UNIQUE_KEYS instead of AGG_KEYS. Because sequence column is a hidden column,  there is no need to create a version column with MAX AGG_TYPE.
CREATE TABLE `test_1` (
`pin_id` bigint(20) NOT NULL COMMENT "",
`date` date NOT NULL COMMENT "",
`group_id` bigint(20) NOT NULL COMMENT "",
`keyword` varchar(128)  NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`pin_id`, `date`, `group_id`)
PROPERTIES (
  "sequence_type" = "int"
);

like such example, user need to add sequence_type to Identify the sequence column type. It only support the Integer types (int, bigint, largeint) and  time types(date, datetime). User can't query the sequence_column hidden in table ,  but can add one column which value is equal to sequence_column.  like this
CREATE TABLE `test_2` (
`pin_id` bigint(20) NOT NULL COMMENT "",
`date` date NOT NULL COMMENT "",
`group_id` bigint(20) NOT NULL COMMENT "",
`sequence_visiable` int NOT NULL,
`keyword` varchar(128)  NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`pin_id`, `date`, `group_id`)
PROPERTIES (
"sequence_type" = "int"
);

Column names are not necessarily "sequence_visiable", this is just an example. The user ensures that the values are same by specifying parameters at LOAD time
LOAD
Stream Load
curl --location-trusted -u root -H "columns: pin_id,date,group_id,source_sequence,keyword"  -H "sequence_col: source_sequence" -T test_load  http://127.0.01:8030/api/test/test_1/_stream_load
Broker Load
LOAD LABEL test.test11
(
    DATA INFILE("hdfs://path/to/load_file")
    INTO TABLE `test_1`
    FORMAT AS "parquet"
    (pin_id,date,group_id,source_sequence,keyword)
) with BROKER broker_name (...)
PROPERTIES
(
     "sequence_col" = "source_sequence"
);

Routine Load
CREATE ROUTINE LOAD test_1_job ON test_1
COLUMNS TERMINATED BY ",",
(pin_id,date,group_id,source_sequence,keyword)
PROPERTIES
(
    "desired_concurrent_number"="3",
    "max_batch_interval" = "30",
    "max_batch_rows" = "1000000",
    "max_batch_size" = "509715200",
    "sequence_col" = "source_sequence"
) FROM KAFKA
(
    "kafka_broker_list" = "...",
    "kafka_topic" = "...",
    "property.client.id" = "...",
    "property.group.id" = "..."
);

I added a parameter sequence_col to identify the source data for the sequence column at load,  because it's hidden column, user need to identify the source column in columns_mapping.
For table test_2 which has column sequence_visiable, user can set "sequence_col" = "sequence_visiable" at properties,  which means the hidden column "sequence_col" is same with the "sequence_visiable" in table, user can query the the column "sequence_visiable" instead of "sequence_col"

If user create sequence_visible column in table, does it still has a hidden sequence column?
In my point, it should has.

If user create sequence_visible column in table, does it still has a hidden sequence column?
In my point, it should has.

yes, it has.

I think it's better to handle the problem in load.
If you want to preserve the ordering, you can speculate the behavior in the load command.
CreateTable should not catch this logic, otherwise it's confused to people to understand the create table.

I think it's better to handle the problem in load.
If you want to preserve the ordering, you can speculate the behavior in the load command.
CreateTable should not catch this logic, otherwise it's confused to people to understand the create table.
If a sequence column is generated during the Load command phase, we need to consider the case where the user first load and specified a sequence column and then did not, or did not specify a sequence column the first time and then specified a sequence column.  This will make the analysis of the load phase more complicated

I think it's better to handle the problem in load.
If you want to preserve the ordering, you can speculate the behavior in the load command.
CreateTable should not catch this logic, otherwise it's confused to people to understand the create table.

If a sequence column is generated during the Load command phase, we need to consider the case where the user first load and specified a sequence column and then did not, or did not specify a sequence column the first time and then specified a sequence column. This will make the analysis of the load phase more complicated

I think it's a problem about stable sort. If we can ensure the data received lately been flushed lately.
It seems can solve the problem rightly?

If source data in kafka,data is distributed in different partitions.
Users expect replace semantics to take effect within a certain time window even all the time, the way which keeps replace in a load batch can not works.
I think a better way is that user add a timestamp column for every row.,Then doris replace column by timestamp.
User can set a global replace or a time window replace.

I think it's better to handle the problem in load.
If you want to preserve the ordering, you can speculate the behavior in the load command.
CreateTable should not catch this logic, otherwise it's confused to people to understand the create table.

If a sequence column is generated during the Load command phase, we need to consider the case where the user first load and specified a sequence column and then did not, or did not specify a sequence column the first time and then specified a sequence column. This will make the analysis of the load phase more complicated

I think it's a problem about stable sort. If we can ensure the data received lately been flushed lately.
It seems can solve the problem rightly?

yes, it's a problem about stable sort,  I don't understand this "data received lately been flushed lately."  . I think the node responsible for flush data does not guarantee orderly receipt of data，for example, the Broker Load will scan in multiple BE at the same time and send to the corresponding node, so that the order of sending data in the same key column cannot be guaranteed, and the results will be different even if the same source data is loaded multiple times

how to prevent the data lately read with small version?

The small version cannot replace the data with bigger version,  it will compare the version column(or sequence column) when the key columns are the same.

My problem is how to set version in source data in HDFS?
If two records have the same key but belongs to different files.
The version is assigned by load or be assigned in files in HDFS before load?

My problem is how to set version in source data in HDFS?
If two records have the same key but belongs to different files.
The version is assigned by load or be assigned in files in HDFS before load?

This Version column is a column in the source data and is specified by the user at load time

I see it. You want to replace the recored according to the the version specified by user's application.
If we add a replace property in load command, can we use it to do replace behavior without creating a special table?

I see it. You want to replace the recored according to the the version specified by user's application.
If we add a replace property in load command, can we use it to do replace behavior without creating a special table?

I need to specify the type of sequence column in the create table statement, and If I create a sequence column during the load phase, this columns-adding schema change operation will complicate the load

How about discuss it using WeChat. It may be efficient.
My WeChat :<PHONE_NUMBER>7

有两个场景，麻烦看下：
1、是否支持Aggregate表？即表中有replace(replace_if_not_null)聚合模式以及其他聚合模式。
2、如果表中有多个replace/replace_if_not_null列，不同列的更新版本是不同的。这类的如何支持？是否要针对列做版本
如表字段为key1, v1(replace）, v2(replace_if_not_null)
几行数据（默认为大的覆盖小的，如v1.2 可以替换v1.0、v1.1）
k1, v1.1, (NULL)  => 表数据为k1, v1.1, null
k1, v1.0, v2.1   => 表数据为 k1, v1.1, v2.1
k1, v1.3, v2.0  => 表数据为 k1, v1.3, v2.1
这个的背景是不同的字段的版本时间不同（业务上一般拿数据生产时间作为版本，不同的字段由于在多个数据流计算，导致生产时间不一致）


Add Noteheads

Add a noteHead property to Note. https://musescore.org/en/handbook/noteheads-0

Should the noteHead property be on SpelledPitch rather then on Note?
In percussion notation we might have two pitches with different note heads in one note.

Yeah. That seems to make sense to me. Thanks for pointing it out.


How to build path of two idents?

I want to create a Foo::Bartoken stream and am currently trying it like this:
let foo = format_ident!("Foo");
let bar = format_ident!("Bar");
quote! {
  #foo::#bar
}

but this results in a token stream of `Foo :: Bar` which the compiler doesn't accept.

You can do it with format_ident


Update to newer pain versions

CDD:
pain.008.002.02 -> pain.008.003.02
CCT:
pain.001.003.02 -> pain.001.003.03

Done in v1.3.0 with support of Sepa V2.9 and V3.0


[fix](group commit) remove unused code

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
remove unused code because the select be strategy is moved to GroupCommitManager
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[x] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


python310Packages.pywlroots: 0.15.21 -> 0.15.22

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pywlroots is: "Python bindings to wlroots using cffi"
meta.homepage for python310Packages.pywlroots is: "https://github.com/flacjacket/pywlroots"
meta.changelog for python310Packages.pywlroots is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.15.22 with grep in /nix/store/3zaagb8rc22np83pdagfbqbmsvdiwnfq-python3.10-pywlroots-0.15.22
found 0.15.22 in filename of file in /nix/store/3zaagb8rc22np83pdagfbqbmsvdiwnfq-python3.10-pywlroots-0.15.22

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pywlroots
python39Packages.pywlroots
qtile

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3zaagb8rc22np83pdagfbqbmsvdiwnfq-python3.10-pywlroots-0.15.22 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3zaagb8rc22np83pdagfbqbmsvdiwnfq-python3.10-pywlroots-0.15.22
ls -la /nix/store/3zaagb8rc22np83pdagfbqbmsvdiwnfq-python3.10-pywlroots-0.15.22/bin

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

3 packages built:

python310Packages.pywlroots
python39Packages.pywlroots
qtile

Maintainer pings
cc @chvp for testing.

Duplicate of https://github.com/NixOS/nixpkgs/pull/192040


SEARCH-2099: Update Search Services to 1.4.2 (RC2)

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


I can't find the key pair (private and public) on the device

I can't find the key pair (private and public) on the device

Me too. Even can't find the code that should create the .pem file! It seems that key pair (private and public), RS256 for instance, should be created with:
openssl req -x509 -newkey rsa:2048 -keyout rsa_private.pem -nodes \
    -out rsa_cert.pem -subj "/CN=unused"

and then uploaded to the device. But it is unclear how to make it "securely stored on the device and used to sign the authentication JWT".

I too can´t find the key pair!
Sorry I don't understand evgkarasev's instructions: where is the cloud_iot_auth_certificate.pem?
When I run the second set command I get permission denied!
Can you help?

Thank you evgkarasev!! The certificate was on the sd! Used it and now it's OK


Fix indexing and error catching for climatologies

When looping through directories, an error would happen where the first directory name was an empty value because line 119 would resolve as d = s.join(lst[0:0]). This throws a FileNotFoundError because '' is not a directory. Also, if a directory already exists, it would throw an OSError which is was not being caught.
Test run:
$ python ../../../pcmdi_metrics/pcmdi/scripts/pcmdi_compute_climatologies.py
--var 'rlut'
--start 2003-01 --end 2018-12
--outfile './demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc'
--infile './demo_data/PCMDIobs2/atmos/mon/rlut/CERES-EBAF-4-1/gn/v20200707/rlut_mon_CERES-EBAF-4-1_BE_gn_v20200707_200301-201812.nc'
start and end are  2003-01   2018-12
var is  rlut
infilename is  rlut_mon_CERES-EBAF-4-1_BE_gn_v20200707_200301-201812.nc
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
outdir is  None
start_yr_str is  2003
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
out is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.AC.v20210126.nc
(12, 180, 360)   (12, 180, 360)   ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.AC.v20210126.nc
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
out is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.DJF.v20210126.nc
(180, 360)   (12, 180, 360)   ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.DJF.v20210126.nc
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
out is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.MAM.v20210126.nc
(180, 360)   (12, 180, 360)   ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.MAM.v20210126.nc
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
out is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.JJA.v20210126.nc
(180, 360)   (12, 180, 360)   ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.JJA.v20210126.nc
outfd is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.nc
out is  ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.SON.v20210126.nc
(180, 360)   (12, 180, 360)   ./demo_output/climo/rlut_mon_CERES-EBAF-4-1_BE_200301-201812.AC.200301-201812.SON.v20210126.nc

@gleckler1 I have a potential fix for the FileNotFound error I was getting with the climatologies code. It seems like something isn't working right in the indexing for lines 118-123 regardless of which outfile options I use.

@gleckler1 I have a potential fix for the FileNotFound error I was getting with the climatologies code. It seems like something isn't working right in the indexing for lines 118-123 regardless of which outfile options I use.


omnicored core dumped error

ubuntu@ip-172-31-42-19:~/work/usdt/omnicore/src$ ./omnicored
./omnicored: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by ./omnicored)
omnicored: malloc.c:2394: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
Aborted (core dumped)

Hi, are you trying to build Omni Core yourself?

dexX7 this is problem?

Hi @hrustbb2, please clarify your question.
Are you running into build problems, too?


Revert "disable test that was failing"

This reverts commit 112ffc9e4fc7448fcf3d152d187a1df9d5606714.
Our hope is that https://github.com/keybase/keybase/pull/2466 has fixed
the flakiness.

r? @maxtaco @josh

Landing with the verbal ok from Max.


Bundle server tarball

Follow up to #28
In #28 I had decided to punt on bundling the server, but after some research, downloading the tarball is going to add some overhead, so I decided to go with a middle-end solution: bundling the tarball for the server rather than the unbundled files. This reduces the size of the extension and optimizes the tarball extraction by only extracting the tarball for the current platform.

@jacobsteves after debugging for a bit longer I'm not able to find a meaningful difference that would suggest the behavior that we observed earlier, another thing to check though is the version that you're using vs the one that I'm using; my version is: Version: 1.56.2 (Universal)


Improve method getPlatform

robot@ev3dev:/sys/class/lego-sensor$ cat /proc/device-tree/model
Raspberry Pi Model B Rev 2robot@ev3dev:/sys/class/lego-sensor$

Related issue:
https://github.com/ev3dev/ev3dev/issues/811#issuecomment-272314288

I need to clarify the requirement

http://docs.ev3dev.org/projects/lego-linux-drivers/en/ev3dev-stretch/board-info.html

Related issue:
https://github.com/ev3dev/ev3dev/issues/523

This idea don't add value to the library.
Rejected.


Bug in floor generation with realtime_mode=True

When using realtime_mode=False, I can set the floor correctly.

But using realtime_mode=True, no matter what floor I set, it displays floor 0, and the visual theme is also floor 0:

Hi @kwea123,
Thanks for pointing this out. It is indeed a bug, and we will try to fix it soon.

Hi @kwea123,
This has been fixed in the new v1.2 binary. Download it here: https://github.com/Unity-Technologies/obstacle-tower-env/tree/v1.2.

I confirm that the bug is fixed.


[Bug]: Build from source code don't show the light/dark mode in navigation bar

Browser
Chrome
Package version
v3.0.0
React version
v20.10.0
Description
Cloning the repo and following the instructions to build and start the demos.
Opening the local server and opening the form.html that is the single page demo.
The navigation bar doesn't have the light mode | dark mode as the Cloudscape website shows.
The source-code doesn't reflect the demo running on Cloudscape website.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems

Hi Rafael,
This is true, the top bar toggles are added only in the Cloudscape website and they are not part of this repository code. Can you describe what you are trying to do and why you would need this feature?

Hey Joan,
I was just looking for a code snippet of the toggle function.
I built a toggle function using the navigation menu and the JS helpers provided in the documentation. I asked about the code because the demos show the functionality, but when I cloned the source and tried to run, I couldn't find the code snippet for it.


use d3 modules rather than whole d3

d3 is by far the largest file - can we use just some components?

first step: determine which modules we need.

can we test to make sure that those are exactly and completely the list of needed modules?
can we test to see whether it actually saves us time, and by how much? (probably only makes things faster if we can also be using webpack, #334)

Not digging into this yet, but the resource I found when I started looking earlier in the week was this: https://stackoverflow.com/questions/44379393/how-can-i-specify-the-d3-v4-micro-library-on-cdn

I took a quick stab at stitching the microlibraries we are using into a single .js. It seems to work until we hit queue, which seems different than the other modules and also seems to be something that has gone away in v5 of d3 (maybe why its microlibrary is different). From my initial look it seems that we can cut the .js file size down by ~50%, which seems like it might be worth the extra effort, but I am not sure. We could cut that down even more by only exporting the functions from each microlibrary we are using but that is more work too.
The approach that seems to be the path forward looks like this: https://towardsdatascience.com/d3-js-the-custom-modular-bundle-now-bebd6f25bc8b and https://bl.ocks.org/mbostock/bb09af4c39c79cffcde4

Do you have a list of the microlibraries that you found necessary (recognizing that queue isn't quite captured yet)?

This is likely incomplete, but:
d3-array, d3-color, d3-collection, d3-scale, d3-geo, d3-selection, and then d3-queue is the one I had trouble with (that is the link to the non-minified). The other microlibraries export things (e.g., d3-selection ), but queue doesn't and I end up with something like build_map.js?_c=4391381:94 Uncaught TypeError: d3.queue is not a function

I had a conversation with Mary about this, and they are using broserify and it sounds like webpack is likely a better solution for us, but actually much more complicated and has a greater learning curve.

It's browserify

hahah. bro. whoops

and seems the issue w/ queue might be related to big changes from v4->v5 of d3, where promises are the new norm.

OK, throwing in the towel on this one. Worked on it again, and I can get promises working in Chrome and everything. It just feels like everything is slower to load with the promises worked in there. I cannot get it to work well in IE - takes forever before you see the dots, and then zooming in throws errors.
You can take a look at changes on [this branch](https://github.com/lindsaycarr/water-use-15/pull/2).


[COOK-3505] Specify the administrator account name

http://tickets.opscode.com/browse/COOK-3505
By default, the Windows account used as SysAdmin is 'Administrator', but on the http://www.vagrantbox.es/ boxes, it is named 'vagrant', so the installation crashes.
This improvement suggests providing a way to specify the Windows account name in the config file, for example:
default_attributes(
  "sql_server" => {
    "accept_eula" => true,
    "sql_admin_accounts" => 'vagrant'
  }

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@dstj

Please sign the CLA here.

Since the CLA hasn't been signed in over 6 month for this PR I'm going to close it out at this point.  If the author would like to sign the CLA feel free to open up the PR again.


Previewing articles

@myurieff This code looks good, but I'm not sure why you have changes to CodingGuidelines.md?  Is this something you intended to commit?

@myurieff This code looks good, but I'm not sure why you have changes to CodingGuidelines.md? Is this something you intended to commit?

Should be good now 👌


DNN voices added (English and Italian)

Hey @leonrch can you fix the indentation?
/home/travis/build/watson-developer-cloud/text-to-speech-nodejs/voices.js
   74:1   error  Expected indentation of 6 spaces but found 7  indent
   75:1   error  Expected indentation of 6 spaces but found 7  indent
   75:34  error  Missing trailing comma                        comma-dangle
   83:1   error  Expected indentation of 2 spaces but found 1  indent
   91:1   error  Expected indentation of 6 spaces but found 7  indent
   92:1   error  Expected indentation of 6 spaces but found 7  indent
   92:34  error  Missing trailing comma                        comma-dangle
   96:24  error  Missing trailing comma                        comma-dangle
   99:1   error  Expected indentation of 2 spaces but found 1  indent
  125:33  error  Missing trailing comma                        comma-dangle
  129:24  error  Missing trailing comma                        comma-dangle
  131:18  error  Strings must use singlequote                  quotes
  131:75  error  Missing trailing comma                        comma-dangle
  132:1   error  Expected indentation of 2 spaces but found 1  indent
  172:1   error  Expected indentation of 6 spaces but found 7  indent
  173:1   error  Expected indentation of 6 spaces but found 7  indent
  173:34  error  Missing trailing comma                        comma-dangle
  179:79  error  Missing trailing comma                        comma-dangle
  261:7   error  Multiple spaces found before '{'              no-multi-spaces
  274:24  error  Missing trailing comma                        comma-dangle


Can't install slap because "can't fetch nan-1.6.1"

hello;
I am behind the proxy and while trying to install slap with either methods; I face with npm ERR! fetch failed https://atom.io/download/atom-shell/nan-1.6.1.tgz.
is there anyway to install this version of nan from already downloaded nan-1.6.1 from that url.
or put that file somewhere to pe pick up.
I use ubuntu 14.04 and I did sudo npm install nan and sudo install<EMAIL_ADDRESS>with no luck.
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.38","npm":"1.4.28"})

><EMAIL_ADDRESS>install /usr/lib/node_modules/slap/node_modules/slap-clipboard-plugin/node_modules/copy-paste/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2] Native extension compilation successful!
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.38","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.38","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.38","npm":"1.4.28"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"0.10.38","npm":"1.4.28"})
npm ERR! fetch failed https://atom.io/download/atom-shell/nan-1.6.1.tgz
npm ERR! Error: 403 Forbidden
npm ERR!     at WriteStream.<anonymous> (/usr/lib/node_modules/npm/lib/utils/fetch.js:58:12)
npm ERR!     at WriteStream.emit (events.js:117:20)
npm ERR!     at evalmachine.<anonymous>:1610:14
npm ERR!     at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:102:5
npm ERR!     at Object.oncomplete (evalmachine.<anonymous>:108:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.16.0-37-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "slap@latest"
npm ERR! cwd /home/userone1/project/basic
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! not ok code 0

thank you

@rahsd try placing the file into ~/.npm/nan/1.6.1/package.tgz, then running sudo npm install -g slap.

@secrettriangle it didn't help. could you make it in a way to use normal nan and/or point the link to nan 1.8. i.e the npm install -g<EMAIL_ADDRESS>which has no problem.

That's quite an old version of npm. Could you try updating to the latest npm?

well that didn't help either;
thanks anyway.

You are depending on something that depends on a module stored outside the npm registry, and that site is giving you a 403 Forbidden error.
The key log:
npm ERR! fetch failed https://atom.io/download/atom-shell/nan-1.6.1.tgz
npm ERR! Error: 403 Forbidden

Consider fixing that dependency.

as it is outside the project and being fetched on-line and on to go; how should I go about changing that dependency?

I am having this same issue.

@shadowcodex hmm, try again? Not getting a 403 anymore. What version of node and npm?


Introduce concise syntax for subproperty expansion via Select-Object

Summary of the new feature/enhancement
Currently, if you have a deeply nested JSON object and you want to expand one of those nested properties,
you need to something like this:
(this is for a GraphQL query using the GitHub API)
$nodes =
    $query |
    ConvertFrom-Json |
    select @{ Name='nodes'; Expression={$_.data.organization.sponsorshipsAsMaintainer.nodes}} |
    select -ExpandProperty nodes

The alternative "normal" way without using Expression would be:
$nodes =
    $query |
    ConvertFrom-Json |
    select -ExpandProperty data |
    select -ExpandProperty organization |
    select -ExpandProperty sponsorshipsAsMaintainer |
    select -ExpandProperty nodes

So, when using deeply nested JSON responses from web APIs, a more convenient syntax for
expanding would be highly desirable to make for more concise code.
Example JSON $query
{
  "data": {
    "organization": {
      "sponsorshipsAsMaintainer": {
        "nodes": [
          {
            "sponsorEntity": {
              "id": "...",
            },
            "tier": {
              "monthlyPriceInDollars": 1
            }
          },
          {
            "sponsorEntity": {
              "id": "...",
            },
            "tier": {
              "monthlyPriceInDollars": 2
            }
          },
          {
            "sponsorEntity": {
              "id": "...",
            },
            "tier": {
              "monthlyPriceInDollars": 5
            }
          }
        ],
        "pageInfo": {
          "hasNextPage": false,
          "endCursor": "asdfasdf"
        }
      }
    }
  }
}

Proposed technical implementation details
I can see two potential implementations:

Extend existing -ExpandProperty to interpret dotted property name automatically:

$nodes =
    $query |
    ConvertFrom-Json |
    select -ExpandProperty data.organization.sponsorshipsAsMaintainer.nodes

Introduce a new -ExpandPropertyExpression instead:

$nodes =
    $query |
    ConvertFrom-Json |
    select -ExpandPropertyExpression data.organization.sponsorshipsAsMaintainer.nodes

Both would result in $nodes containing the expanded sub-property of the graph, just like the equivalent long-form -ExpandProperty shown above.

I like the idea, which, in essence, was previously proposed in #6509.
The proposal there was flawed in that it suggested an unconditional  reinterpretation of foo.bar as a property path rather than as a property whose literal name is foo.bar, which would amount to a potentially unacceptable breaking change.
Given that we at least want to preserve a choice as to how to interpret an argument such as foo.bar:
We do not want to limit the option to specify a path to just extracting a property value via -ExpandProperty, we want to retain the option to attach a property as a whole  to a [pscustomobject] output object, as happens by default (possibly implied -Property).
Therefore, I see two options:

We could introduce a switch such as -ByNamePath (name negotiable) to indicate that the name argument(s) passed to -Property or -ExpandProperty should be interpreted as a property path(s).

Preferably, we could consider a Bucket 3: Unlikely Grey Area change and, conversely, consider a -ByVerbatimName switch (name negotiable) to indicate that the arguments should be interpreted as  verbatim property name(s) rather than as path(s) by default.

I like the idea, which, in essence, was previously proposed in #6509.
The proposal there was flawed in that it suggested an unconditional  reinterpretation of foo.bar as a property path rather than as a property whose literal name is foo.bar, which would amount to a potentially unacceptable breaking change.
Given that we at least want to preserve a choice as to how to interpret an argument such as foo.bar:
We do not want to limit the option to specify a path to just extracting a property value via -ExpandProperty, we want to retain the option to attach a property as a whole  to a [pscustomobject] output object, as happens by default (possibly implied -Property).
Therefore, I see two options:

We could introduce a switch such as -ByNamePath (name negotiable) to indicate that the name argument(s) passed to -Property or -ExpandProperty should be interpreted as a property path(s).

Preferably, we could consider a Bucket 3: Unlikely Grey Area change and, conversely, consider a -ByVerbatimName switch (name negotiable) to indicate that the arguments should be interpreted as  verbatim property name(s) rather than as path(s) by default.

I think you can also do this:
$nodes =
    $query |
    ConvertFrom-Json |
    % { $_.data.organization.sponsorshipsAsMaintainer.nodes }

@akhansari, that works for a single property value; if you're looking to extract multiple properties - hosted in a [pscustomobject] instance - the workaround gets verbose and cumbersome; e.g.:
$query |
    ConvertFrom-Json |
    % {
      [pscustomobject] @{
        nodes = $_.data.organization.sponsorshipsAsMaintainer.nodes
        foo = $_.data.organization.foo
      }
    }

The calculated property approach, as shown in the initial post, is similarly noisy.
If this proposal gets implemented, the above would simplify to:
# WISHFUL THINKING
$query |
    ConvertFrom-Json |
    Select-Object -ByNamePath data.organization.sponsorshipsAsMaintainer.nodes, data.organization.foo

Having just asked a question about it in https://stackoverflow.com/questions/76954442/powershell-cmdlet-to-access-sub-properties-in-the-pipeline, there is a potential third way (but convenient):
Introduce a new Get-Object cmdlet whose job would only be to extract by path:
# DOES NOT EXIST
$data |
  ConvertFrom-Json |
  Get-Object data.organization.foo |
  Select-Object a, b

I prefer the Select-Object -ByNamePath better (could also just be -ByPath IMO).

issue still valid

nowadays I just use jq for this, but it sure would be nice to have this at some point 🙏


🖼 6.1.0: Zip importing & Mod Icons

added ability to import mods from zip files using zip.js added mod icons (sorry for making the mod manager uglier for my existing users) idk just felt like it lolol
Closes #14 🔥🔥🔥

erm.... lgtm?


Oracle state store: Sessions do not get closed/cleaned up when using the delete API (session leak)

Expected Behavior
When deleting state from the Oracle state store, stopping, and waiting, the sessions are expected go back to close to zero.
Actual Behavior
When deleting state from the Oracle state store, stopping, and waiting, the sessions are steadily increasing, up to a point other processes are not able to open a session anymore.
Killing the dapr proces frees up the sessions again.
This issue only happens when deleting, nót when setting state.
Steps to Reproduce the Problem

Configure oracle state store and point to an Oracle db.
Repeatedly (500x) call delete API for any key (it does not matter that the key does not exist in the state store).
Monitor the V$SESSION table to see the sessions grow for the dapr process.

Release Note
RELEASE NOTE: FIX Oracle sessions are not properly closed on state removal.

It turned out we were running an old version of Dapr. Upgrading from 1.10.2 to 1.12.5 fixed the issue.


[ADD] ansible-swarm-aws: Create Ansible role

Role launches EC2 nodes for Swarm
Role provisions Swarm Manager + Swarm Worker Nodes

@yajo - not sure of your tech stack, but you may be interested in this.

@tedsalmon - can we add EC2 tags through this? It would be nice to have a three vars, one to apply to all and one for each swarm master/slave

Also, how to target specific VPCs?

@lasley,
Both requests have been attended to in commit cd1bc08 :)
Thanks!

Maybe you'll think I'm a fool, but I never used ansible before. I'll keep this as a reference just in case. 😊

It's the best infrastructure management tool out there IMO. If you've ever used Puppet, it's similar to that except way more badass.
You may be able to get around the need somewhat with a tool like Rancher, but I've found that it's much better to have a separate system for that. Basically your Ansible will control the metal (or VMs) & Docker controls everything else.
Take a look at our ansible_base, which is a playbook that contains a few roles & really demonstrates the power of Ansible. My particular favorite is the RHEL7-STIG role that is included as a submodule.


send_errors option of SoapServer added

send_errors option of \SoapServer added (http://php.net/manual/de/soapserver.soapserver.php)
Without this option, Fatal errors are always printed out by \SoapServer

Whitespace-Check is failing like in PullRequest #5
I don't know, how to fix it, because I think the Whitespaces are correct.

@Kerion Run ./vendor/php-cs-fixer fix --config-file=.php_cs from the repository root, and it will fix the issues. You'll need to add, commit, and push the changes when done.

@weierophinney thanks for the info but it did not help:
`
root@://zend-soap# git clone https://github.com/Kerion/zend-soap.git
[]
root@://zend-soap# php composer.phar update
[]
root@://zend-soap# ./vendor/bin/php-cs-fixer fix --config-file=.php_cs
Loaded config from ".php_cs"
Fixed all files in 19.869 seconds, 10.500 MB memory used
root@://zend-soap# git commit -m "php-cs-fixer"
On branch master
nothing to commit (working directory clean)
root@://zend-soap# ./vendor/bin/php-cs-fixer fix -v --diff --dry-run
Loaded config from "/home/dk/zend-soap/zend-soap/.php_cs"
....................................
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error
Fixed all files in 18.072 seconds, 10.250 MB memory used
root@://zend-soap# git commit -m "php-cs-fixer"
On branch master
nothing to commit (working directory clean)
`
The lines where phpcs is failing in Travis i didn't even touch in my commit....

ok, got it, wrong branch :(

build succeded in #20


/mine/config -- what is needed?

@yochannah what do you need for the GET /mine/config end point?
There are two concepts:

the choices the user is making as she is going through the wizard.
the config needed to build a mine.

the former informs the latter.
Maybe we need:
/mine/config/ - all the choices the user made
/mine/config/generate - the project XML, list of tools, and data model file needed to build an intermine.
Can you confirm?

What do we need /mine/config for? If it's to populate the wizard so a user can edit their responses, we already have end points for that.
Maybe worth examining?

/mine/user-config - the answers the user supplied to the wizard
/mine/build-config - the files needed (by intermine-compose) to run a build. (project XML, data model and list of tools

also a new end point with the answers for the file. Needs fileId!

fileName
organism
array of questions with selected answers

Is it confusing that DELETE /mine/user-config is deleting:
/mine/build-config
/mine/supplementarysources
/mine/datatools
Maybe I should rename to /mine/user-config/supplementarysources and /mine/user-config/datatools?

this is fixed now.


feat: Update ATS-requests to utilise a quantity quality set

Update the AggregatedTimeSeriesRequestAccepted event to utilise a set of quantity qualities just like EnergyResultProducedV2.

Not sure if we need to update a "minor version" somewhere, like we do for integration events (in their partial class)?


IPv6: Allow AAAA record use

By default, DNS is set up to ignore (IPv6) AAAA records. As a result,
whenever a remote site is accessed, only the (IPv4) A record is used,
and a synthesized IPv6 address formed. This means that NAT64 will be
used for all external accesses, even when a site supports IPv6.
This is fine for environments where the cluster only has IPv4 access,
like GCE currently. However, if the cluster will have IPv6 access too,
the configuration can be modified to use AAAA records in DNS lookups,
and then remote sites with IPv6 addresses can be directly accessed
(without using NAT64).
This change provides a knob to allow enabling use of AAAA records. In
addition to modifying the DNS configuration, ip6tables rules are
created to perform SNAT for packets coming from the container nodes
and to forward external packets to the kubeadm-dind-net to get to the
pods.
The boolean environment variable, ALLOW_AAAA_USE, is defined for this
capability. The default is NOT to allow use of AAAA records, for
backwards compatibility.
Fixes issue #147

/approve

/lgtm


Separate trie updates from indexing

Both trie updates and index operations take quite some time. By running them in parallel, we could have a pipeline of indexing operations to process, while the trie updates never need to wait for indexing to complete. This should speed up the bootstrapping significantly.

I assume that this is no longer relevant, right @awfm9 ?

It could still be relevant.

How would that work with the FSM? 🤔

We could have buffered channels on both sides for this, where one go routine is responsible for reading the index, one for writing the index, and one for updating the trie.

This is equivalent to creating a pipeline between reader & indexer, and between indexer & writer, so that disk I/O is always kept busy and we don't waste idle time on that bottleneck. This could be solved by the way we now multiple Badger transactions in parallel on the writing side. As writing is definitely slower than reading, this is probably no longer needed.


Type hinting logger when adding it as an arg throws a TypeError

Explicitly passing the logger into a function with a type hint  (e.g. def my_function(Message: str, logger, **kwargs): throws the following error
"InvalidPayloadError Failed to run AUTO_PATH Action(functions=[<function my_function at 0x7f5ea1e5f0d0>], paths=[], queues=[]) due to TypeError Type of logger should be <class 'lpipe.logging.LPLogger'> not <class 'NoneType'>."

I suspect this is a bug with auto paths. I'll dig into it this week.


wasm compatability?

Currently this crate is not wasm compatible due to use of threads. Would it be possible to add wasm compatability?

On my setup, it works if you disable the default features! Simply add this to your Cargo.toml:
rust-argon2 = { version = "0.8.1", default-features = false }

@zer0x64
That makes sense looks like disable default-features makes it run Sequential Thread Mode
https://github.com/sru-systems/rust-argon2/blob/master/src/argon2.rs#L306
#[cfg_attr(feature = "crossbeam-utils", doc = "config.lanes = 4;")]
#[cfg_attr(
    feature = "crossbeam-utils",
    doc = "config.thread_mode = ThreadMode::Parallel;"
)]
#[cfg_attr(not(feature = "crossbeam-utils"), doc = "config.lanes = 1;")]
#[cfg_attr(
    not(feature = "crossbeam-utils"),
    doc = "config.thread_mode = ThreadMode::Sequential;"
)]

https://docs.sru-systems.com/rust-argon2/0.8.0/argon2/enum.ThreadMode.html

And this should also the intended behavior for WASM, since multithreading is not supported at the moment(although there are some POC using webworkers and shared-memory, but that requires manual setup on the browser to run)

One improvement would be to disable the feature when building for wasm32 at the crate level, but this ability juste made it to nightly, so it might take some time until it makes it into stable:
https://github.com/rust-lang/cargo/issues/7914

Hi @xacrimon, as @zer0x64 suggested you can accomplish this by turning the default features off.


500-page

Add 500 page. This mainly serves as a test of toolchain.

Please add english translations, i will merge it then :)

job done


Rewrite all URLs to main html for single page apps (SPAs)

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

I usually create a single page app. Live server doesn't work when I reload a webpage and I'm not at the root as my webpage handles the routing. E.g. It'll say "Cannot GET /home"
Expected behavior

I'd like for there to be settings to redirect all requests to index.html or something similar
Environment
Browser:

- [x] Chrome (desktop) version XX
- [x] Firefox version XX
- [x] Safari (desktop) version XX
- [x] IE version XX
- [x] Edge version XX

For Tooling issues:

- Live Server: 5.6.1
- Platform:  Windows
- Visual Studio Code: 1.43.2

Others

That would be nice. Since this is the behavior expected in most SPA:s using the history API.

yes I would love to see this feature

Any updates on this feature ?

Any update?

Is the porn loosing my site

Bump +1.
I tested this with an Angular app but the routing fails currently.

Update, did some research... Fixed with #72
I would close this issue 👍

What does this live server do I'm going to delete it
Sent from my T-Mobile 4G LTE Device
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Martijn van Schie @.>
Sent: Sunday, January 22, 2023 6:03:06 AM
To: ritwickdey/vscode-live-server @.>
Cc: Brian Powell @.>; Comment @.>
Subject: Re: [ritwickdey/vscode-live-server] Rewrite all URLs to main html for single page apps (SPAs) (#700)
Update, did some research... Fixed with #72https://github.com/ritwickdey/vscode-live-server/issues/72
I would close this issue 👍
—
Reply to this email directly, view it on GitHubhttps://github.com/ritwickdey/vscode-live-server/issues/700#issuecomment-1399454863, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A33XUGMA2SKUTLXSXCZSHPTWTUHWVANCNFSM4L2ZOLIQ.
You are receiving this because you commented.Message ID: @.***>


Fix localization + setting the token for APIv3

Summary
This PR fixes localization and adds the Accept-Language header using the users locale or the device locale when the user hasn't logged in.
Make sure we set the correct token for APIv3 for those actions that still need v3 endpoints.
Changed the global style for the error message so it aligns the text to the left and not centered.

Your yarn.lock has a conflict.
Also, which calls are still using API v3? Is it just the join team route?

I'll fix the yarn.lock
The Join Team is the only one that I can remember, but doing this while we still have at least one is better than handle them case by case. We can remove this later on when we remove everything related to v3

@hmhealey rebase complete


The code for structs does not compile

Running the code for structs results in this error:
core.exception.AssertError@onlineapp.d(28): Assertion failure
----------------
??:? _d_assertp [0x557260a3ae55]
onlineapp.d:28 _Dmain [0x557260a3a666]

https://tour.dlang.org/tour/en/basics/structs

Sorry, I did not notice that this is a problem that should be solved.
Maybe putting a comment at the top of the page that reminds the users that this code does not compile would be good.


Should we wrap the CLI or use PyCall?

It's great to see that work is already starting on this project. Very exciting. As it's getting started I think there's one big question to think through, which is whether we want to wrap that CLI as proposed or whether we want to use PyCall instead. I don't have any strong feelings on the best way to go, but thought it would be worth taking a quickly look at PyCall and making an informed decision before we proceed.

I think using PyCall would be better. I am trying it for the first time, here are my thoughts -

Julia is currently in a very early stage where there are a lot of changes taking place in the language itself. Using PyCall will make sure that the code doesn't break on the long run. As long as the PyCall package is being update there shouldn't be any problems.
Changes done in the Python package will directly reflect in the Julia package. This would reduce the development time.
There is still one issue I think, how well julia would scale while porting python code. I am trying to figure that out right now.

I looked at Pycall and  I think it's the way to go


Supported XEPs

We at jabber.at provide a list of recommended clients for our users and show support for a few important XEPs. I couldn't find a list of supported XEPs for Jitsi, so my question is if you support:

XEP-0027
XEP-0167
XEP-0198
XEP-0280
XEP-0313
XEP-0352
XEP-0357
XEP-0363

Of course it would also be great if you could ping us about new versions for your client, especially if they improve support for the mentioned XEPs ;-)
greetings, Mati

XEP-0027
No, and that XEP is obsolete, so we never will.
XEP-0167
Yes.
XEP-0198
No.
XEP-0280
Yes.
XEP-0313
No. Prerequisite for OMEMO, we'd like to have it but lack resources.
XEP-0352
No. This XEP is IMO directed towards mobile clients and the definition of being active or not is not as clear as on a mobile device.
XEP-0357
No. Directed at mobile clients. Might make sense for Windows' connected standby mode, but no resources to even think about implementing it.
XEP-0363
No. Interesting, but as a (public) server operator I'd have my doubts about what users are going to upload...

@ibauersachs Thanks for the updates - I will update the info on our page right away.
On XEP-0363: We have it, quite a few other servers do as well. Conversations, Gajim, Monal and Profanity support it AFAIK. It's incredibly easy to implement. So you might consider that.


Rattler Revolver

About the PR
 NEW SYNDICATE GUN NEW SYNDICATE ARGH
Why / Balance
 idk we need more cowboy and weird weapons so i tackled both
Technical details

Easy changes to the revolver.yml and uplink_catalog.yml
Media
its a big iron? not much to imagine

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

Add your addition to the changelog section of your PR.


Error message was not printing (Attempt 4)

Error message was not printing (Attempt 4)
Notes for Reviewers
This PR fixes #7087
Signed commits

[✅] Yes, I signed my commits.

Trying


create command to open file in any encoding in vim

Example:
❯ vim --cmd "set fencs=gb18030" Despicable.Me.2010.BluRay.1080p.DTS.2Audio.x264-CHD.chs.srt
❯ uchardet Despicable.Me.2010.BluRay.1080p.DTS.2Audio.x264-CHD.chs.srt
GB18030

Despicable.Me.2010.BluRay.1080p.DTS.2Audio.x264-CHD.chs.zip

close by https://github.com/CyrusYip/scripts/commit/3e0278d3da128a2aaa38261fb9a5af244c8da123


Live updating of graph

Is it currently possible to set a refresh interval so that the network updates whenever the underlying data changes?

Hey @ShairozS currently this is not supported. But it seems the Dash supports intervals, maybe I can take it up later.


[Feature Request] use numeric prefix for ordering (like nuxt/content)

To sort the item in custom order, front matter order is being required
This can be replaced with a numeric prefix instead, like the way Nuxt Content handles it.

Hello, thank you for using vitepress-sidebar!
In the recently updated version (1.20.0), i added a new option of sortMenusOrderNumericallyFromTitle (Ref).
This option supports ascending/descending sorting based on the first number in the document title or file title.
Can you confirm that your request meets the requirements of this feature?
If not, please leave a more detailed description so we can improve it.
Regrads,

It did but only the half of it;
For example, 1.title-foo-bar.md should resolve to 'Title foo bar'. And link should also be /title -foo-bar, eliminating the number from link and title.
When I looked into VitePress, for links, only way to achieve this was by remapping URLs, as there is no way to alter how URLs are constructed. I'm still looking into it.

Hi, thank you for your detailed problem description.
I have released a new version 1.21.0 today. I added removePrefixAfterOrdering and prefixSeparator options.
Setting the value of removePrefixAfterOrdering to true allows you to remove numeric or letter-based prefixes from sidebar items after the sorting is complete.
For more information, see the following description: https://vitepress-sidebar.jooy2.com/options#removeprefixafterordering
Could you please update to that version and see if it resolves the issue for your requirements?
Thanks,
NOTE: Starting with this version, the documentation page has been moved from README.md to https://vitepress-sidebar.jooy2.com

I'm closing the issue since there's no response, please open a new issue if you have any issues.
Regards,


Unable to download tflite-model-maker

I'm experiencing difficulties when attempting to pip install tflite-model-maker in Google Colab with Python 3.10. I encounter one of the following three errors:
ERROR: Could not find a version that satisfies the requirement tflite-support>=0.4.2 (from tflite-model-maker) (from versions: 0.1.0a0.dev3, 0.1.0a0.dev4, 0.1.0a0.dev5, 0.1.0a0, 0.1.0a1)
ERROR: No matching distribution found for tflite-support>=0.4.2 (from tflite-model-maker)
ERROR: Unable to find version of scann==1.2.6
ERROR: Unable to find version of numba==0.53
I've also attempted to install tflite-model-maker-nightly and also cloning the source code from GitHub, but these methods have not resolved the issue.
If anyone could provide assistance or suggestions on how to successfully install tflite-model-maker, I would greatly appreciate it.

@UFthomasboosinger,
Apologies for the inconvenience. We are working on it and will provide the update soon on this issue. Thank you!

@tilakrayal  when this issue resolved becouse till know colab disk become full on pip tflite model maker command ..Please provide update

Hi, Thanks for opening the issue. Since this issue is a duplicate of issue https://github.com/tensorflow/tensorflow/issues/60431, it would be better to track the progress at single place, could you please close this issue. Thanks!

@UFthomasboosinger,
As a temporary workaround could you please have a look at this tensorflow discussion forum comment provided from the team and let us know if it works in your case.
Could you use the Colab fallback runtime version option to choose Python 3.9 and install tflite-model-maker.
https://discuss.tensorflow.org/t/tflite-model-maker-installation/16577/3

Issue is still there(((

Issue is still there(((

Please follow https://github.com/tensorflow/tensorflow/issues/60431 for all the updates.

You can use virtual environment for immediate model training.
https://stackoverflow.com/a/76437519/12235226

Closing the issue as duplicate of https://github.com/tensorflow/tensorflow/issues/60431


Xcode 13 can not build IPA

problem:
Generate IPA with Xcode13, not working after installation。
Flutter: 1.9.1+hotfix.6
Xcode 13
Try using the official help documentation:
https://docs.flutter.dev/development/ios-project-migration
The IPA is successfully generated, but after installation it prompts "This APP cannot be installed because its integrity cannot be verified"

It doesn't seem to Flutter issue. And flutter 1.9.1 are no longer maintained

@chaseDeil
You are on obsolete version of flutter. Please upgrade to latest stable and try again.
Closing for now, as the version you are on , isn't supported anymore.


NatsJetStream is only checking exact matches for filter subject / add check for whether subject is a subset of filter subject

The comment here indicates that the subject for a given subscriber can be a subset of the existing filter subject but the only check happening here is for an exact match to the existing filter subject.
So setting up a subscriber for topic STREAM.topic.sub_topic for a consumer with filter subject STREAM.topic.> fails and throws this IllegalArgumentException

Let's follow the code you are referring too

If we've been asked to subscribe as a durable consumer...
If the durable consumer already exists...
If the durable consumer set a filter subject...

Your subscription request's filter subject must exactly match the existing durable consumer filter subject.
There is a good example here that shows ephemerals filter subscribing to a subject: https://github.com/nats-io/nats.java/blob/main/src/examples/java/io/nats/examples/jetstream/NatsJsPushSubFilterSubject.java


Define abstract HTTP client tests

Define abstract HTTP client test class that will be used to test HTTP client instrumentations. As a starting point we could use okhttp tests https://github.com/hypertrace/javaagent/blob/6395bc992b7f74ab6e4c07b6af5260f97824d713/instrumentation/okhttp/okhttp-3.0/src/test/java/io/opentelemetry/instrumentation/hypertrace/okhttp/v3_0/OkHttpTracingInterceptorTest.java#L38

[x] test JSON capture
[x] test plain text capture
[x] test x-www-form-urlencoded capture
[x] test headers capture

Missing tests:

apache client
micronaut @shashank11p could you please paste here link to the issue in micronaut?

Micronaut client issue for version 1.0.0 https://github.com/micronaut-projects/micronaut-core/issues/4886


Feature/#18/change images

issue #18
I changed images
added a green border.
removed old images
Tested by running npm start

Try to make another pull request on develop instead.


Bug with Cancel Button

https://github.com/mlool/workday-calendar-extension/assets/113562298/291e950d-0f18-4356-bb85-14e0d5c43703

@Vaten0x I couldnt replicate this on chrome.  Do you know if it only happens on firefox?

Not sure how this error was made, someone mentioned it with the video on the Discord server

I think this bug was fixed, I'll close this issue for now, i can't replicate it back on chrome either.

Nevermind, this video was recorded using Firefox, if anyone has FireFox to test if this issue persists it'll be great.


Add builtin extension for standardized event handling

This is useful enough for even just debugging (and logging events) in the runtime, so it's probably worth adding. The interface is pretty clear-cut, as variations of it have been in use for many years, but perhaps some modifications could be made (TBD).

Bumping this up so that the acceptance testing facilities (#78 ) and networking API (#73) can make use of this right away, instead of having to be refactored later (taking on more technical debt). The design follows this initial spec: https://evo-lua.github.io/docs/background-information/design/drafts/event-handling (may or may not be ideal)


Documentation

Hello, I was hoping to get some better documentation for this API. While it's a great resource it seems that its focused on getting SOTA updated comparisons.
My goal was to get all the data from the NAS ImageNet classification page  and recreate a similar graph to the one on top but with some additional data. Unfortunately, I don't seem to see a way of doing this though the API. It even looks like I'd have to actually go an scrape the page itself for the desired data (but then I'm missing the release date which is only shown as year).
Some additional documentation would be really helpful for me and those in the future trying to simply get specific data instead of doing SOTA comparisons.
If its currently possible to do what I'm requesting please let me know! Thank you!

@andre-fu sorry the library is still in beta, so some functionality is still not entirely working. However, you should be able to get the results programmatically by just doing:
curl -X GET "https://paperswithcode.com/api/v1/evaluations/neural-architecture-search-on-imagenet/results/"

(this is the first page, add ?page=2, ?page=3 etc for the full results)
You can also see more API docs here: https://paperswithcode.com/api/v1/docs/
Hope this helps!


refactor: removed page transitions, easier lang picker

#112  👈
development

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Hessuew and the rest of your teammates on  Graphite


Choose parent container for Golden Layout

Is it possible to attach Golden layout to container rather than it attaching to the body?
I have a tool bar above my layout and need to resize the layout as a whole due to over flow issues.
Thanks

I've attempted to get this to work with no success yet.

It's absolutely possible. I attach my GL to a  inside my website (https://gcc.godbolt.org). One must manually tell GL about resizes etc. Code to do so is at https://github.com/mattgodbolt/gcc-explorer/blob/master/static/main.js#L141 and around.

I have found a solution to this -
after creating the layout, set myLayout.container to the container div.
I use the _isFullPage to fill the container div. Essentially setting width and height to 100%
var myLayout = new GoldenLayout(config);
myLayout.container = "#containerDiv";
myLayout._isFullPage = true;

Not sure if the API has changed since this ticket, but this can be done directly from the constructor.
var myLayout = new GoldenLayout(config, '#layoutContainer');