Labo 02 - Migration Mariadb to Aurora

@Lutonite  @Mystere98
As per your request, I give you my agreement to adapt the lab02 and migrate to Aurora.
Enjoy !

Hello,
We decided against using Aurora as it required us setting up a cluster instead of a simple instance, which is more of an inconvenience than a problem. However, T-class aurora instances have to be t3.medium at the minimum, which we thought would probably incur higher costs than necessary.


How to close  connections?

I can not find the method closed conntions,when I run program, the conntions growing fast until mongodb conntions full and then I can not connect to mongodb, how can I close connections?

@sushuai It's simple to close connections opened by MongoKit. Here are my solution:
# create a connection
connection = Connection()
# do something
...
# close the connection
connection.close()

And even more, if you use MongoKit in a Flask-RESTful project, it's also very simple to close connections opened by each API request:
from flask import Flask
from flask_restful import Api

app = Flask(__name__)
api = Api(app)

@app.teardown_request
def teardown_request(exception):  # close db connection after each api request
    connection.close()


Fixing type attribute warning for transfer_action

This fixes warnings occuring after recent changes to cmake.

@sithhell this caused undefined references with GCC. Were the warnings only a problem with clang?

No. The warnings were a problem with gcc, not with clang. Very strange... I
am using gcc here as well. I'll have a look.


fix: typo in comment disabling camel-case-uris

@nikklassen would you mind fixing the other broken documentation examples in this same PR? You can say "no" :)


replace 'smaller', 'larger', 'equal' with 'Comparison.smaller', 'Comparison.larger', 'Comparison.equal'

I've always hated that the cases of Comparison (smaller, larger, equal) pollute the toplevel namespace of ceylon.language.
I could change the definition of Comparison to this:
"The result of a comparison between two [[Comparable]]
 objects: [[larger]], [[smaller]], or [[equal]]."
see (interface Comparable)
tagged("Comparisons")
shared class Comparison
        of larger | smaller | equal {

    shared actual String string;

    "The value is exactly equal to the given value."
    shared new equal {
        string => "equal";
    }

    "The value is smaller than the given value."
    shared new smaller {
        string => "smaller";
    }

    "The value is larger than the given value."
    shared new larger {
        string => "larger";
    }

    "The reversed value of this comparison."
    since("1.2.0")
    shared Comparison reversed
        => switch (this)
        case (equal) this
        case (larger) smaller
        case (smaller) larger;

}

So you would write Comparison.smaller, Comparison.larger, Comparison.equal.
This would be a breaking change, of course.
WDYT, folks?

Couldn't you still import them from inside the class?
import ceylon.language { Comparison { ... } }

Also, were you planning of keeping the toplevels as deprecated until say 1.5?

Couldn't you still import them from inside the class?

Yes, of course.

Also, were you planning of keeping the toplevels as deprecated until say 1.5?

I guess we could do that.

Also, were you planning of keeping the toplevels as deprecated until say 1.5?

I guess we could do that.

Except 1.4 is the release that is breaking stuff. I would rather break everything cleanly at the same time....

I recall the renamed or similar annotation in some other issue.. It could be used here, if not to maintain compatibility then to help IDEs fix your code with minimum fuss.. Like an action in a Quick-Fix or similar popup:
`smaller` was renamed to `Comparison.smaller` - apply change

Yes, there is an aliased annotation already.

:heart_eyes:

Not a big deal either way, but I like them being toplevels; less hassle and clutter with imports.
Is there any practical benefit to requiring the import?
What has really bugged me is the top-level function smallest(), which is ungrammatical for smaller(). If we're going to change things up, I think it would be worth exploring other words to resolve the overload, like lesser and greater.

+1
I don't feel comparison to be a feature of the language itself, so I like comparison related objects having its own scope.

In the case of smaller/equal/larger being in the language module, they did not yet interfere with my usage for them. But in general, I dislike things in the global namespace with general names that interfere with variable or method names I'd like to use. (Most painful occurrence is the name value, of course). So I'd tend to put as few things into the global namespace as possible.
@someth2say given the fact that ceylon defines its comparison operators by the Comparable interface, I'd indeed say they belong to the language. But nevertheless, I (slightly) tend to put them in the Comparison namespace.

@someth2say given the fact that ceylon defines its comparison operators by the Comparable interface, I'd indeed say they belong to the language. But nevertheless, I (slightly) tend to put them in the Comparison namespace.

Right, the general principle is that anything used to define the syntax of the language goes in ceylon.language. (Otherwise we would have split all metamodel stuff out into its own module a long time ago.)

You can try this out on the 7409 branch.


SymbolLedger code smells and bugs

Hi team, I'm trying to integrate the CLIs to Ledger based on the desktop wallet knowledge. There are some issues I can find in the code that is worth revisiting. I'm going to write them here.

transport: any https://github.com/nemgrouplimited/symbol-desktop-wallet/blob/main/src/core/utils/Ledger.ts#L34
it should be

import Transport from '@ledgerhq/hw-transport';
...
transport:Transport

number comparison (<) between string and numbers
LEDGER_MAJOR_VERSION, LEDGER_MINOR_VERSION, LEDGER_PATCH_VERSION are strings?
https://github.com/nemgrouplimited/symbol-desktop-wallet/blob/main/src/core/utils/Ledger.ts#L21
https://github.com/nemgrouplimited/symbol-desktop-wallet/blob/main/src/core/utils/Ledger.ts#L50

not typescript bip32-path, there is not typescript types.
TS compiler should complain when this happens. Is there a better alternative to the old bip32-path?

Probably more to come....

number comparison (<) between string and numbers

I think most of the app version is defined in string format.
IMO I didn't think it has any issue.


react-native-reanimated above 1.4.0 breaks reanimated-bottom-sheet

I've upgraded react-native-reanimated and the BottomSheet doesn't work properly

That's probably why we have so many issues lately.
The package this uses is 1.0.1. Guess we need an urgent update.

Also, on Android, react-native-intercom keyboard breaks the BottomSheet position

Any plans to make it compatible with later versions?

What do you mean exactly by "it doesn't work properly" ?

@jtomaszewski I'm trying to do the same but currently cannot fix this error. Did you encounter this too?

I had to do "yarn prepare" in the repo directory and then "yarn link../" in the example directory. Then it worked.


Integrate models for gov.v1

CosmosSDK has released the new governance API. As soon as Terra Core is upgraded to the new version we should integrate the proto and amino models inside feather.js for gov.v1.
This is an important dependency because will make the read workflow fail with the following error:
Error: not supported msg /cosmos.gov.v1.MsgDeposit
    at Object.fromData (/home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/core/Msg.ts:421:15)
    at /home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/core/Tx.ts:176:34
    at Array.map (<anonymous>)
    at Function.TxBody.fromData (/home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/core/Tx.ts:176:21)
    at Function.Tx.fromData (/home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/core/Tx.ts:51:14)
    at Function.TxInfo.fromData (/home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/core/TxInfo.ts:61:10)
    at /home/emi/GitHub/game-of-alliance/indexer/node_modules/@terra-money/feather.js/src/client/lcd/api/TxAPI.ts:214:25
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

/cosmos.gov.v1.MsgVote
/cosmos.gov.v1.MsgDeposit

Implemented here https://github.com/terra-money/feather.js/blob/main/src/client/lcd/api/GovV1API.ts


feat(babel-preset-react-app): add support for logical assignment

This change adds support for logical assignment operators into babel-preset-react-app.
This PR is based on issue #10734
I have also updated E2E tests inside react-scripts so I can test it by running ./tasks/local-test.sh --test-suite kitchensink.
This is the only way I could test it. When I tried running all E2E tests it failed when publishing to local repository inside this test suite.

Can this be finished before version 5 is released?


Add type safety to custom data

WebCrawler and CrawlController can now be instantiated with a type for custom data used for configuring the crawler

Most of the users don't use the custom data. But if we make this change, they will have to always specify the type which is not interesting. So, I prefer not to integrate this pull request.

If you don't specify type it will default to Object so it won't break any existing usages of custom data.

They would still get annoying warnings and it isn't a good programming practice.

Are you suggesting that it isn't good programming practice to recommend type safety!?

FYI you currently get annoying warnings about unchecked casts from object. This stackoverflow thread discusses how to resolve them: http://stackoverflow.com/questions/509076/how-do-i-address-unchecked-cast-warnings. In summary do not do an unchecked cast if you can avoid it, you should use generics (as I have done), more info here: https://docs.oracle.com/javase/tutorial/java/generics/why.html (note that generics were introduced in J2SE 5.0).
I would have liked to think that keeping to established best practice (over what might be a very minor inconvenience to the users) should be a priority in a popular project like this. After all compiler warnings are there for a reason, either way produces them, at least the way I have proposed promotes best practice.
I, and I'm sure the rest of your users, really appreciate the work that you have done thus far with the project so please don't take my comments as a slight - I'm trying to help. Placing the source code on github implies that you wish to collaborate with the collective wisdom of the Java community, if you refuse to make reasoned arguments about potential improvements you contradict that implication. (Simply saying that possibly inconveniencing users should trump best practice, is in my opinion, not a reasoned argument).

Thanks for your comments. What I was referring as not being a good programming practice is to have a class that has a template parameter which the majority of the users do not care about and then say that since it defaults to Object it won't break things. And, I was referring to warnings they would get.
In this specific case, of course adding type safety is an improvement but I don't think that this should be a template parameter of CrawlController and WebCrawler. Let me think about this more and see how we can do this better.

Thanks for coming back to me on this, you're right it probably shouldn't be a template parameter of CrawlController and WebCrawler, maybe it would be better if the custom data were relocated to CrawlConfig. However this would be a breaking change for most users, maybe a deprecated flag on the old custom data and a new custom data in crawl config that is type safe?

That said there will still have to be template parameter on CrawlController and WebCrawler so the custom data can be set and accessed properly in the crawler.


Decaffeinate spec/clean-spec

Since I work on many files, I edit package.json to add useful shortcut to avoid misspelt filename.
    "test-decaff": "npx coffee --compile --output spec spec/${npm_config_name}.coffee",
    "test-coffee": "jasmine-focused --captureExceptions --coffee spec/${npm_config_name}.coffee",
    "test-js": "jasmine-focused --captureExceptions spec/${npm_config_name}.js"

Steps to reproduce decaffeination (guidelines):

[x] Check package.json for coffee-script version

version: 1.12.7

[x] Decaffeination with official Coffee program

npx coffee --compile --output spec spec/clean-spec.coffee
(or my shortcut:  ./bin/npm run test-decaff --name=clean-spec)

[x] Quality of Decaffeination

[x] Replace var with const and let if it's possible.
[x] Replace Nested Ternary Operators with if statements.
[x] Remove return when it's not needed.
[x] Remove Result Arrays when they are not needed.
[x] Replace for loops with for-of loops.
[x] Use Arrow Functions to write functions in a single line when it's possible.
[x] Remove unneeded ref variables.
[x] Remove do blocks and use let or const instead.
[x] Tests and assertions should be the same and success like in coffee file

Test from coffee and JS should output same successful result :
From coffee
$ jasmine-focused --captureExceptions --coffee spec/clean-spec.coffee
// or my shortcut $ `./bin/npm run test-coffee --name=clean-spec`
> 2 tests, 4 assertions, 0 failures, 0 skipped

to js
$ jasmine-focused --captureExceptions spec/clean-spec.js
// or my shortcut $ `./bin/npm run test-js --name=clean-spec`
> 2 tests, 4 assertions, 0 failures, 0 skipped

To be succeeded by https://github.com/pulsar-edit/ppm/pull/66

Superseded by #66 again, appreciate your efforts here!


Roll engine 3a445edda924..5b3182294f63 (3 commits)

git@github.com:flutter/engine.git/compare/3a445edda924...5b3182294f63
git log 3a445edda924..5b3182294f63 --no-merges --oneline
2019-10-08<EMAIL_ADDRESS>Roll src/third_party/dart aece1c1e92..f4a72bfc64 (4 commits)
2019-10-08<EMAIL_ADDRESS>Added an embedder example (flutter/engine#12808)
2019-10-08<EMAIL_ADDRESS>Fix typo on channel buffer debug output. (flutter/engine#12960)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Add JQuery dependencie and transition.js to the repository

I think it would be interesting to add that zoom.js depend on JQuery and users have to
include first JQuery on the How section of the README.md

It would be usefull to add transition.js to this repository to merge transition.js and zoom.js on your compress grunt task.

hm… the first line of the docs reads:

A simple jQuery plugin for image zooming;

I don't want to bundle transition.js because it's a separate plugin and should really be added to your asset pipeline :+1:

Ok thank you for your answers


Telemetry: Install and enable sysstat

Installed should install and enable sysstat utility on lvm to collect metrics. This should be installed only if telemetry install is enabled.

@skdwriting @joseph-v @xing-yang @leonwanghui @BaiHuoYu

Already pulled by #164

Already pulled by #164

Ohh, Ok . I missed it. I will close this one,
Thanks


Unhandled Exception Security Token

Hi Folks - downloaded 1.7 today, extracted and added the app to the tenant as detailed. Tenant is MFA enabled - so able to connect PnP with useweblogin - attempt to run the scanning tool but get a 401 based on the token service.
Are there any other steps to take to run this on an MFA enabled tenant?
=====================================================
Scanning is starting...25/06/2018 9:30:34 AM
Building a list of site collections...
C:\Users\RichardBu\Documents\UIExperienceScanner.exe :
At line:1 char:1

C:\Users\RichardBu\Documents\UIExperienceScanner.exe -t nursemaude  - ...

  + CategoryInfo          : NotSpecified: (:String) [], RemoteException
  + FullyQualifiedErrorId : NativeCommandError

Unhandled Exception:
Microsoft.IdentityModel.SecurityTokenService.RequestFailedException: Token
request failed. ---> System.Net.WebException: The remote server returned an
error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2WebRequest
.GetResponse()
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2S2SClient.
Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request)
--- End of inner exception stack trace ---
at SharePointPnP.IdentityModel.Extensions.S2S.Protocols.OAuth2.OAuth2S2SClient.
Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request)
at SharePoint.UIExperience.Scanner.Utilities.TokenHelper.GetAppOnlyAccessToken(
String targetPrincipalName, String targetHost, String targetRealm)
at SharePoint.UIExperience.Scanner.AuthenticationManager.EnsureToken(String
siteUrl, String realm, String appId, String appSecret, String acsHostUrl, String
globalEndPointPrefix)
at
SharePoint.UIExperience.Scanner.Framework.TimerJobs.TimerJob.ResolveSite(String
site, List1 resolvedSites)    at SharePoint.UIExperience.Scanner.Framework.TimerJobs.TimerJob.ResolveAddedSit es(List1 addedSites)
at
SharePoint.UIExperience.Scanner.UIExperienceScanner.ResolveAddedSites(List`1
addedSites)
at SharePoint.UIExperience.Scanner.Framework.TimerJobs.TimerJob.Run()
at SharePoint.UIExperience.Scanner.Program.Main(String[] args)

Hi @RichBurdes1 ,
This scanner does not support web login and given the scanner needs to be able to read all sites I would highly recommend to use the app-only approach as described in https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UIExperience.Scanner#setting-up-an-app-only-principal-with-tenant-permissions

Hi @jansenbe we have set up the app-only approach and granted permissions as required. When we then open up powershell to run the scanner we get the 401 exception. I checked the link above and the registration piece is what we did, maybe I'm missing something as once we have the client secret etc details we should just open powershell and roll with a command to 'directory where scanner .exe file is' -t 'the tenant name' -c 'the client id' -s 'the client secret' - this hits the 401 unauthorized.
Any pointers on getting this to run?

Hmm...that should be it. This indicates that the created principal does not have the needed permissions. You did use the _appinv.aspx page on the tenant admin site as mentioned in the article?

Hi @jansenbe,
Yep - added

Hit the issue about only Tenant admins being able to approve, went to https://[tenant]-admin.sharepoint.com/_layouts/15/appinv.aspx looked up the app and trusted it - same issue.
i've attached some images illustrating - maybe I'll just try to create the initial app registration in the admin site of the tenant?

although trying to access https://[tenant]-admin.sharepoint.com/_layouts/15/appregnew.aspx throws an access denied error - even though I'm the tenant admin. Maybe by design?

Looks like you did the right steps, you also granted Full Control using the permission XML in the docs?...even though it only "reads" data we need full control permission for the search component in combination with app-only.
Also assume this is a regular MT tenant?

Closing due to no response


STR-196 consolidate provider store traits

Description

Merge *Provider and *Store traits to single *Database traits
Adjust imports and variable names, etc as required
Rename all ChainState* -> Chainstate*

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[x] Refactor
[ ] New or updated tests

Checklist

[x] I have performed a self-review of my code.
[ ] I have commented my code where necessary.
[x] I have updated the documentation if needed.
[x] My changes do not introduce new warnings.
[ ] I have added tests that prove my changes are effective or that my feature works.
[x] New and existing tests pass with my changes.

Related Issues

Force merged because of codecov being annoying.


HOCS-1076-Search for a compensation case

fixing incorrect port on local builds + invalid user id header issue

Dude, wrong branch!


Option to fork from existing site

Should be able to use an old site as starting point for new. This should be physical copy of that site after putting everything in version control for the site we copy. Then rewrite a small piece of site.json to indicate where it came from and what it is now for title, etc.
This should be a powerful remix capability that is rather trivial to create

clone is now possible, need to clean up the clone a bit most likely but that's a todo in what's existing


Remote Simulations Enablement

Inspired by @srjmas:
What is the feature being requested?
Ability to execute qiskit metal on one machine and delegate the simulation to another machine (for example running metal on linux and communicating with windows for the Ansys runs)
What are use cases for this feature?
Lab and academy work is often on personal machines using any type of OS. Often the Analysis tools are centralized on a server with remote access. However the design is not done on these servers, but on the local machines. Only rely on those remote machines for brief lapses of time.

I would also strong support this feature request!!!!


Renamed parameters, added to signal

Renames action parameters and adds them to signals

Just finished replying to your other comment :).
I would rather it be user_action or object_action, as cms_action is too specific.
I think object_action is the most accurate.

Updated PR

:+1: thanks!

I have to thank you! Otherwise this would have ended up in a fork-mess...


soroban-rpc: duplicate the futurenet deployment of soroban-rpc onto testnet

What ?
The goal of this issue is to complete the deployment of a soroban-rpc testnet, prior to the testnet release.
In order to do so, we will be using the existing preview 10 binaries, and deploy these to testnet.
The expected outcome is that the deployment would not be usable in any meaningful way, other then to test our ability to deploy a testnet soroban-rpc instance.
child issue
https://github.com/stellar/kube/pull/1628

ok, I think to enable this test deployment, I will update https://github.com/stellar/kube/pull/1628, and add manifests for deploying rpc/testnet to a new namespace soroban-rpc-testnet-dev

closing, https://github.com/stellar/kube/pull/1628 merged, and after some de-bugging related to incorrect manifest was fixed also - https://github.com/stellar/kube/pull/1651, the new namespaces for testnet have been created with correct resources defined(statefulset, configmaps, ingress), and scaled to replicas=0 for now, so, no pods running, will need to do a follow-on pr to change that to replicas=1 and the correct image ref for docker rpc release image once testnet is upgraded.


make问题

(fangxiangyang) [fangxiangyang@ai-7 /ai-cephfs/Share/fangxiangang_share/mace-master]make
[  4%] Built target opencl_headers
[  8%] Built target protobuf
[ 12%] Built target gflags_gflags
[ 16%] Built target half
[ 19%] Built target opencl_clhpp
[ 23%] Built target gemmlowp
[ 26%] Built target protoc_bin
[ 30%] Built target tflite
[ 34%] Built target eigen3
[ 34%] Built target caffe_proto_src
[ 34%] Checking if re-generation is required
[ 35%] Built target version_src
[ 36%] Built target generated_version
[ 37%] Checking if re-generation is required
[ 37%] Built target opencl_kernel_src
[ 38%] Built target generated_opencl_kernel
[ 41%] Built target utils
[ 43%] Built target port_base
[ 43%] Built target port_posix
[ 44%] Built target port_linux_base
[ 45%] Built target port_linux
[ 46%] Generating mace_proto_files from mace.proto
[ 46%] Checking if re-generation is required
[ 46%] Built target mace_proto_cpp
Scanning dependencies of target proto
[ 47%] Building CXX object mace/proto/CMakeFiles/proto.dir/mace.pb.cc.o
[ 47%] Linking CXX static library libproto.a
[ 47%] Built target proto
Scanning dependencies of target core
[ 47%] Building CXX object mace/core/CMakeFiles/core.dir/allocator.cc.o
[ 48%] Building CXX object mace/core/CMakeFiles/core.dir/arg_helper.cc.o
[ 48%] Building CXX object mace/core/CMakeFiles/core.dir/device.cc.o
[ 49%] Building CXX object mace/core/CMakeFiles/core.dir/memory_optimizer.cc.o
[ 49%] Building CXX object mace/core/CMakeFiles/core.dir/net.cc.o
[ 49%] Building CXX object mace/core/CMakeFiles/core.dir/net_def_adapter.cc.o
[ 50%] Building CXX object mace/core/CMakeFiles/core.dir/net_optimizer.cc.o
[ 50%] Building CXX object mace/core/CMakeFiles/core.dir/ops/op_condition_builder.cc.o
[ 51%] Building CXX object mace/core/CMakeFiles/core.dir/ops/op_condition_context.cc.o
[ 51%] Building CXX object mace/core/CMakeFiles/core.dir/ops/op_construct_context.cc.o
[ 52%] Building CXX object mace/core/CMakeFiles/core.dir/ops/op_context.cc.o
[ 52%] Building CXX object mace/core/CMakeFiles/core.dir/ops/operator.cc.o
[ 52%] Building CXX object mace/core/CMakeFiles/core.dir/quantize.cc.o
[ 52%] Building CXX object mace/core/CMakeFiles/core.dir/registry/op_delegator_registry.cc.o
[ 53%] Building CXX object mace/core/CMakeFiles/core.dir/registry/op_registration_info.cc.o
[ 53%] Building CXX object mace/core/CMakeFiles/core.dir/registry/ops_registry.cc.o
[ 53%] Building CXX object mace/core/CMakeFiles/core.dir/types.cc.o
[ 54%] Building CXX object mace/core/CMakeFiles/core.dir/workspace.cc.o
[ 55%] Linking CXX static library libcore.a
[ 58%] Built target core
make[2]: *** No rule to make target third_party/install/protobuf/lib/libprotobuf-lite.a', needed by mace/codegen/libmodel_shared.so'.  Stop.
make[1]: *** [mace/codegen/CMakeFiles/model_shared.dir/all] Error 2
make: *** [all] Error 2

@fxy080209200 我们不支持直接make哈，可以参考cmake文档进行编译, 不过目前cmake编译方式不支持静态库。如果你需要使用静态库，可以使用bazel的编译方式，可参考Bazel编译文档


Update project updated_time (#3810)

Motivation and context
Resolved #3810
Update db_project.updated_date when a task in the project is created, deleted or moved.
How has this been tested?
Manually tested.

Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@dvkruchinin , could you please prepare a test for the issue?


⚠ Bofrost.de has degraded performance

In ec7cf47, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1218 ms

Resolved: Bofrost.de performance has improved in 87e059a.


[SPARK-33286][SQL] Improve the error message about schema parsing by from_json/from_csv

What changes were proposed in this pull request?
In the PR, I propose to improve the error message from from_json/from_csv by combining errors from all schema parsers:

DataType.fromJson (except CSV)
CatalystSqlParser.parseDataType
CatalystSqlParser.parseTableSchema

Before the changes, from_json does not show error messages from the first parser in the chain that could mislead users.
Why are the changes needed?
Currently, from_json outputs the error message from the fallback schema parser which can confuse end-users. For example:
    val invalidJsonSchema = """{"fields": [{"a":123}], "type": "struct"}"""
    df.select(from_json($"json", invalidJsonSchema, Map.empty[String, String])).show()

The JSON schema has an issue in {"a":123} but the error message doesn't point it out:
mismatched input '{' expecting {'ADD', 'AFTER', ...}(line 1, pos 0)

== SQL ==
{"fields": [{"a":123}], "type": "struct"}
^^^

org.apache.spark.sql.catalyst.parser.ParseException:
mismatched input '{' expecting {'ADD', 'AFTER',  ... }(line 1, pos 0)

== SQL ==
{"fields": [{"a":123}], "type": "struct"}
^^^

Does this PR introduce any user-facing change?
Yes, after the changes for the example above:
Cannot parse the schema in JSON format: Failed to convert the JSON string '{"a":123}' to a field.
Failed fallback parsing: Cannot parse the data type:
mismatched input '{' expecting {'ADD', 'AFTER', ...}(line 1, pos 0)

== SQL ==
{"fields": [{"a":123}], "type": "struct"}
^^^

Failed fallback parsing:
mismatched input '{' expecting {'ADD', 'AFTER', ...}(line 1, pos 0)

== SQL ==
{"fields": [{"a":123}], "type": "struct"}
^^^

How was this patch tested?

By existing tests suites like JsonFunctionsSuite and JsonExpressionsSuite.
Add new test to JsonFunctionsSuite.
Re-gen results for json-functions.sql.

@HyukjinKwon @cloud-fan Could you have a look at this PR, please.

Test build #130405 has started for PR 30183 at commit 72b9b57.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35009/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35009/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35009/
Test PASSed.

Test build #130405 has finished for PR 30183 at commit 72b9b57.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130405/
Test FAILed.

Test build #130413 has started for PR 30183 at commit 6fa7414.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35017/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35017/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35017/
Test FAILed.

Test build #130413 has finished for PR 30183 at commit 6fa7414.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130413/
Test PASSed.

Merged to master.


🐛 [Bug] GradidoID 3: GDT Server incompatible with Communities

🐛 Bugreport

I have thought about our GDT Server in relation to our Community-Approach:

Communities need the GDT Server to show the GDT Balance & Transactions of a User
The GDT Server is only reachable internally and therefore not available for external Communities
The GDT Server cannot be public since you can simply query the balance of a User with its Email

This means if we expose the GDT Server to the public and therefore to other Communities an Attacker can query if an EMail has donated to Gradido and how much. I consider this a major breach of privacy and therefore we need to find a better Solution.
Any Ideas?

In my original plan for GDT transaction users gets an extra address (public key) and we make real blockchain transactions for gdt to that address. But for this to work we need Multiple Addresses which isn't finished, and we must finally decide if we want use blockchain at all or not.
When we not use Blockchain, I don't know how we would handle that.

I thought, we use Blockchain / IOTA for permanent storage and / or backup?

Ich habe drüber nachgedacht und ich bin der Meinung das es kein Sinn macht auf blockchain zu verzichten.
Wenn überhaupt wird es vermutlich sehr aufwändig dieselben Sicherheitsfunktionen von einem Security Layer zu erhalten der irgendwie drauf gesetzt wird.
So yes we will use blockchain, sorry @Mogge

We need #98 for that.

This Issue is not about the use of Blockchain, this issue is about GDT in its current state. Even if we use a Blockchain for this and start developing on this, which will set us back quite a bit regarding time schedule, it does not solve the problem of anonymity. If we use an anonymous ID for a user, how does the other community understand which GDT-Account is has to get from the Blockchain.
Do we want to start developing a Blockchain for GDT?
Would it solve the actual problem?
Is it worth the immense time effort to do so?
Is there a simpler solution?

The GDT Transactions are similar to the GDD transactions and go on the blockchain where the user is currently.
The plan was to use derived addresses. So the user has a main key-pair from which additional addresses can be derived. Without knowing the private key, only the public key can derived for named sub-accounts for example with the name GDT.
With knowing the private key of main key-pair the user can derive the private key for this subaccount to transform the GDT to GDD.
So if you know the main public key from the user you can derive the gdt address for this user.
But not the other way round.
So we don't need starting developing a blockchain for gdt.
We need the multiple addresses. And then we need a special transaction type with Bernd can transfer the GDT to the user.
And later a special transaction to transform GDT to GDD. For this we need rules to decide and implement so that GDT cannot unbalance the GDDs.

A transitional solution for the anonymous problem could be using the elopage user ids instead of email addresses to get the GDT for a user.

@ulfgebhardt
this ticket will be part of the GradidoID-Epic and needs changes in the GDT-server and api requested from apollo.
On my opinion we should use the users UUID, but as soon as we support several communities there must be a technical identifier for the community too. The community url will be unique, but it could be changed.
So i suggest to introduce a community-UUID and in conjunction with the users-UUID we will be prepared for all kinds in the future to address a GDT-user on a technical way.


Backslashes 954100

This PR moves rule 954100 to use the \x5c representation of the backslash character.
A new test is added for rule 954100. It sends a Base64 encoded payload (QzpcaW5ldHB1YiAK) which is C:\inetpub . This string is then returned in the response body, causing rule 954100 to match.
This is part of ongoing issue https://github.com/coreruleset/coreruleset/issues/2332.

Excellent usage of httpbin! Merging.


fix counter for processed case

https://github.com/edenlabllc/ehealth.api/issues/2839

Coverage decreased (-0.02%) to 90.338% when pulling 2c8593e2388c76c08749e5a97414eea84cb41c58 on fix_registers#2839 into d29d72d323160ab49b3f7b08c20db62afbac706e on develop.


Wreis/perl 785

Havent got the correct code version for 'primaryPreferred'.

Coverage remained the same at 74.659% when pulling c35afacf1a4cc36a988cbd9e319cd55519459941 on shadow-dot-cat:wreis/PERL-785 into 8adfeee4e0f3fdba3ad46a02a8c11f40e441810a on mongodb:master.

@xdg I''ve sent this PR cause the cherry-pick haven't got the code version which uses "my $PRIMARY = MongoDB::ReadPreference->new(mode => 'primaryPreferred' );".

Ah.  Picked it as 31644d10.


How to learn offsets in 1D Convolution?

Hello! It is used Conv2d layer for learning offset  2D deformable convolution. In readme example you use such way to declare params:
offsets = nn.Parameter(torch.ones(batch_size, 1, output_length, kernel_size, requires_grad=True))
But how we can learn offsets for current input sequence x? Can you give some example?

Please see dc1d.nn.Packed1DConv or Figure 3 in the paper cited in the README.md for examples using convolution

Thank you!


Reduce the process of array construction to 200 stores

Title
Reduce the process of array construction to 200 stores
How to test
Manual tests
Run ContestEstimator with the following settings:
projectFilter = listOf("guava-26.0")
Classes:
com.google.common.primitives.Booleans
com.google.common.primitives.Shorts

Verify that there are no significant regression in broken tests count after reducing array construction.

Fortunately, a better fix was applied.


Add @rpath to install name of OS X libraries.

What I have to do? Im not understanding this fix...


[Monta example configuration a bit complex]

Volunteer help

Check shenyu-exampels-motan,  we used shenyu-spring-boot-starter-client-motan

Configure motan example

add properties bean

add config bean

I suggest it's a bit complex, can we improve it?

@lahmXu @ChineseTony can you provide these features ?

OK，please assign to me, thanks!!


[LMS-319] LMS Harmonizer shell

Working on the readme file and GH actions, the other parts of the code are ready for review.

Everything looks good in my local testing.


nixUnstable: 1.12pre5732_fd10f6f2 -> 1.12pre5779_cd74a55a

Motivation for this change
Fixes nixos/nix#1674.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I've been using this exact commit for a few days now, precisely because of that issue.  No problems so far, but I didn't check if there are some "risky" commits inside and I haven't switched the nix-daemon yet.

Some commits that rename options (nixos/nix@7a2b64e55c7d57707f4d1ed54ee21bf69d0d0d16, nixos/nix@91a19876073a2ed8fef2139fba906cfac1e96f83) might be problematic?

Obsoleted by 0235f1249e5e174b27dfa70864c05e6396ec0cca.


Cant build iOS ?

[!] CocoaPods could not find compatible versions for pod "appodeal_flutter":
In Podfile:
appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios)
Specs satisfying the appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios) dependency were found, but they required a higher minimum deployment target.

Can you please paste the whole stack trace?

Last login: Fri Apr  2 16:46:39 on console
kksworld@iMac-KKs mf-flutter % flutter build ios
Building com.my********** for device (ios-release)...
Automatically signing iOS for device deployment using specified development team
in Xcode project: 9BJ3W6****
Running pod install...                                              4.6s
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `appodeal_flutter` from
`.symlinks/plugins/appodeal_flutter/ios`
-> Fetching podspec for `firebase_auth` from
`.symlinks/plugins/firebase_auth/ios`
-> Fetching podspec for `firebase_core` from
`.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `firebase_messaging` from
`.symlinks/plugins/firebase_messaging/ios`
-> Fetching podspec for `flutter_email_sender` from
`.symlinks/plugins/flutter_email_sender/ios`
-> Fetching podspec for `flutter_webview_plugin` from
`.symlinks/plugins/flutter_webview_plugin/ios`
-> Fetching podspec for `geolocator` from `.symlinks/plugins/geolocator/ios`
-> Fetching podspec for `location_permissions` from
`.symlinks/plugins/location_permissions/ios`
-> Fetching podspec for `path_provider` from
`.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
-> Fetching podspec for `url_launcher` from
`.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `webview_flutter` from
`.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local
  because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "appodeal_flutter":
  In Podfile:
    appodeal_flutter (from `.symlinks/plugins/appodeal_flutter/ios`)

Specs satisfying the `appodeal_flutter (from
`.symlinks/plugins/appodeal_flutter/ios`)` dependency were found, but they
required a higher minimum deployment target.

/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:308:in `tap'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/resolver.rb:94:in `resolve'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer/analyzer.rb:1074:in `block in
resolve_dependencies'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer.rb:414:in `analyze'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/installer.rb:160:in `install!'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3
/lib/claide/command.rb:334:in `run'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/lib/cocoapods/command.rb:52:in `run'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.
10.1/bin/pod:55:in `<top (required)>'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/bin/pod:23:in `load'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/bin/pod:23:in `<main>'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in
`<main>'

Error running pod install
kksworld@iMac-KKs mf-flutter %
Pubspec
name: my_*******
description: My ****** app developed in Flutter.
version: 1.0.3+4
environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
navigate: ^1.0.1
dio: ^3.0.8
sembast: ^2.4.7+6
path_provider: ^1.5.1
flutter_spinkit: ^4.1.1+1
modal_progress_hud: ^0.1.3
event_bus: ^1.1.1
geolocator: ^5.3.2
dots_indicator: ^1.2.0
expandable: ^3.0.0+1
webview_flutter: ^1.0.7
flutter_html: ^0.11.1
url_launcher: ^5.4.2
firebase_core: ^0.4.5
firebase_analytics: ^5.0.15
firebase_auth: ^0.16.1
firebase_messaging: ^6.0.16
flutter_email_sender: ^3.0.1
flutter_webview_plugin: ^0.3.11
firebase_admob: ^0.9.3+4
flutter_native_admob: ^2.1.0+3
share: ^0.6.5+4
flutter_swiper: ^1.1.6
appodeal_flutter: ^0.6.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.7.4
flutter_icons:
image_path: "assets/appLogo.png"
android: true
ios: true
flutter:
uses-material-design: true
assets:

Judging by this message:
Specs satisfying the `appodeal_flutter (from
`.symlinks/plugins/appodeal_flutter/ios`)` dependency were found, but they
required a higher minimum deployment target.

It seems that you need to increase the deployment target on iOS, however it's a little premature to say that. Can you also run pod install in your project folder and send me the output?
Another thing that I noticed is that you are using some outdated versions of a few Flutter libs, like firebase_analytics, url_launcher and dio. I was using similar outdated versions of those libs in my personal project and for some reason the newest Cocoapods version of Appodeal didn't play well with them. But my problems disappeared when I updated them to their latest version.
Please try if you can update these Flutter packages and see if the problem disappears.

Last login: Fri Apr  2 21:08:07 on ttys004
kksworld@iMac-KKs ios % pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "appodeal_flutter":
In Podfile:
appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios)
Specs satisfying the appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios) dependency were found, but they required a higher minimum deployment target.
kksworld@iMac-KKs ios %

I can build without Appodeal plugin and Appodeal related codes. When i use appodeal plugin it shows build error. Both build logs are below
Without Appodeal Plugin and Appodeal related Code
kksworld@iMac-KKs mf-flutter % flutter build ios
Building com.my******** for device (ios-release)...
Automatically signing iOS for device deployment using specified development team
in Xcode project: 9BJ3******
Running pod install...                                              3.3s
Running Xcode build...
└─Compiling, linking and signing...
145.7s (!)
Xcode build done.                                           330.1s
Built
/Users/kksworld/Desktop/office_work/mf-flutter/build/ios/iphoneos/runner.app.
With Appodeal Plugin and Appodeal related Code
kksworld@iMac-KKs mf-flutter % flutter build ios
Building com.my********* for device (ios-release)...
Automatically signing iOS for device deployment using specified development team
in Xcode project: 9BJ3******
Running pod install...                                              1.6s
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  A appodeal_flutter
  - Flutter
  - firebase_auth
  - firebase_core
  - firebase_messaging
  - flutter_email_sender
  - flutter_webview_plugin
  - geolocator
  - location_permissions
  - path_provider
  - share
  - url_launcher
  - webview_flutter

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `appodeal_flutter` from
`.symlinks/plugins/appodeal_flutter/ios`
-> Fetching podspec for `firebase_auth` from
`.symlinks/plugins/firebase_auth/ios`
-> Fetching podspec for `firebase_core` from
`.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `firebase_messaging` from
`.symlinks/plugins/firebase_messaging/ios`
-> Fetching podspec for `flutter_email_sender` from
`.symlinks/plugins/flutter_email_sender/ios`
-> Fetching podspec for `flutter_webview_plugin` from
`.symlinks/plugins/flutter_webview_plugin/ios`
-> Fetching podspec for `geolocator` from `.symlinks/plugins/geolocator/ios`
-> Fetching podspec for `location_permissions` from
`.symlinks/plugins/location_permissions/ios`
-> Fetching podspec for `path_provider` from
`.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
-> Fetching podspec for `url_launcher` from
`.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `webview_flutter` from
`.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local
  because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "appodeal_flutter":
  In Podfile:
    appodeal_flutter (from `.symlinks/plugins/appodeal_flutter/ios`)

Specs satisfying the `appodeal_flutter (from
`.symlinks/plugins/appodeal_flutter/ios`)` dependency were found, but they
required a higher minimum deployment target.

/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:308:in `tap'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/molinillo-0.
6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/res
olver.rb:94:in `resolve'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller/analyzer.rb:1074:in `block in resolve_dependencies'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/use
r_interface.rb:64:in `section'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller/analyzer.rb:1072:in `resolve_dependencies'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller/analyzer.rb:124:in `analyze'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller.rb:414:in `analyze'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller.rb:239:in `block in resolve_dependencies'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/use
r_interface.rb:64:in `section'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller.rb:238:in `resolve_dependencies'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/ins
taller.rb:160:in `install!'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/com
mand/install.rb:52:in `run'
/Users/kksworld/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3
/lib/claide/command.rb:334:in `run'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/com
mand.rb:52:in `run'
/Users/kksworld/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.10.1/bin/pod:55:in
`<top (required)>'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/pod:23:in `load'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/pod:23:in `<main>'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
/Users/kksworld/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in
`<main>'

Error running pod install
kksworld@iMac-KKs mf-flutter %

If all your plugins are updated, but you keep getting this error message:
Specs satisfying the appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios) dependency were found, but they required a higher minimum deployment target.

Then I would suggest to check what is your deployment target and try to increase. Another that you can try is to install an old version of the Appodeal package to see if you get different results. Try version versions 0.4.1 and 0.3.1.
Also, please clone this repo and try to build the example app.

Mine has conflict with GMA SDK I guess
!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
      In Podfile:
        appodeal_flutter (from `.symlinks/plugins/appodeal_flutter/ios`) was resolved to 0.6.0, which depends on
          APDGoogleAdMobAdapter (= <IP_ADDRESS>) was resolved to <IP_ADDRESS>, which depends on
            Google-Mobile-Ads-SDK (~> 8.1.0)

        flutter_native_admob (from `.symlinks/plugins/flutter_native_admob/ios`) was resolved to 0.0.1, which depends on
          Google-Mobile-Ads-SDK

        google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
          Google-Mobile-Ads-SDK (= 7.69.0)

@nemoryoliver Unfortunately there's not I can do here. This plugin is using the dependency Google-Mobile-Ads-SDK (~> 8.1.0) but it seems you are also using another plugin that depends on an older version of the same pod Google-Mobile-Ads-SDK (= 7.69.0). And Cocoapods (the dependency management used by Flutter on iOS) doesn't support 2 versions of the same dependency on the same project.
You can either:

Check if google_mobile_ads has a newer version with a more up-to-date dependency on Google-Mobile-Ads-SDK
You can fork one of the plugins and change the dependency to match one other.


Replace pygeodesy with pyproj for speed-up

I know that opensoar is not actively developed at the moment so don't feel pressured to look into this PR.
I was always wondering why opensoar is relatively slow. As Christmas is approaching and I had a little spare time, I did some profiling of the code and found the major bottleneck to be related to pygeodesy. By replacing it with pyproj, I could achieve a major speed-up of up to a factor of 15, without effects on the results for distance and bearing. No changes were observable for the pysoar analysis, too.
I did some timing with pygeodesy and  pyproj for racing and AAT task (average over 10 calls of Trip):

Racing
AAT

pyproj
0.33 s
2.14 s

pygeodesy
4.9 s
30.7 s

Thanks @jkretz for this contribution! The numbers look very promising and i don't have a specific reason to stick to pygeodesy, so this is very welcome.
Hopefully I'll soon find time to review this. I recently started on a new version of pysoar (mainly maintenance and ci), so fixing this first and shipping increased performance makes for a nice combination :)

@jkretz : i just added github action to make sure tests are run on each pull request. could you update your pull request such that it takes in these changes?

I rebased my branch.
Should we maybe also add some kind of linting to the github actions? I would have a workflow for python linting lying around somewhere using the super-linter.

Of course using a linter might end up in some refactoring of the code

wrt linting: was it difficult for you to add your code to this codebase and would a linter help?
if not, i prefer not to add tooling that adds complexity and potential false positives

I agree with that linting might not be necessary for such a small project.
I will get rid of the overlapping code segments.

Thanks for the great contribution @jkretz! it will be used in the upcoming pysoar release: https://github.com/GliderGeek/PySoar/pull/163


can the profiles.csv be generated through GitHub Actions?

either in regular intervals (e.g. daily) or - even better - each time the main branch is changed

yes!
easy, if you already have the script.
that is about the simplest thing you can do with GH actions, and what is done most often as well.
look for example at the [.github/workflows](https://github.com/hoijui/projvar/tree/master/.github/workflows) folder in projvar.
and feel free to ask for more info if you need help.

you will only need the build.yml file, and you can delete most of it, and just add the calling of the script

if it takes you too long (more then 1h), write again.

@hoijui
Thanks so much, I got it to work! Thats really cool ;) 👍

Congraaaatz @MartinSchott ! :-)


FancyZones doesn't restore the windows to the proper monitor after PC sleep

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce

Have a 2+ monitors PC.
Ensure Windows is configure to turn off the monitors when the PC is idle
I have the "allow zones to span across monitors" set
Create zones on both monitors
I have one zone of the primary monitor and 4 on the secondary:

Put some windows on the 2nd monitor (I have a Discord window in zone 3, and two Steam windows in zone 4 & 5)
Wait until Windows turn off the monitors
Wake Windows

This was working fine in prior versions of PowerToys (0.58 at least, I don't know if it broke with 0.59 or 0.59.1)
This is very similar to issue #18907, but that was closed as a duplicate of issue #16659 which doesn't look similar to the one being reported here.
✔ Expected Behavior
The windows should remain in place
❌ Actual Behavior
The windows that were on the 2nd monitor are moved to the primary
Other Software
No response

/bugreport

Anything in particular that you're looking for? I'm not keen to put some random logs in a public forum accessible by everybody. For instance, FancyZones lists all the applications launched on my PC for the past 3 weeks. That alone is a treasure trove for any would be hacker.

You can send it directly to me at<EMAIL_ADDRESS>

Still broken in v0.63

I'm having a similar issue with Discord. I place it in a Zone, and after a reboot/restart/sleep, when I open Discord it opens off screen completely. I have to click the icon in the taskbar, Alt+Spacebar, and maximize to get it to come back on screen (Win+Arrow keys doesn't even work.)
Environment: Windows 11 22623.730, 2 monitors, Discord and Powertoys both being run as administrator.

Is it reproducible in 0.65? Thanks!
/needinfo

Hello, I'm having the exact same issue (running 0.65)

Can confirm this still happens with version 0.67

This also happens on my setup when using a single display at a time, not even putting Windows to sleep. Just turning off the display (it's an LG TV over HDMI) and on again causes windows to bunch up in the top left for me, and I have to fix each virtual desktop independently. The fix for me when this happens is to trigger the layout editor for FancyZones and exit it immediately. This re-calculates and applies the same layout as it was before the TV was turned off. It remembers the zone assignment but probably misses some event when the display is initialized/resized? This is on 0.68.1, Windows 10 22H2 19045.2728

This was resolved with 0.68 build of PowerToys with PR #24290!

This was resolved with 0.68 build of PowerToys with PR #24290!

Not for me it isn't. It has definitely gotten better in 0.68, but I'm still dragging windows to their proper position after resuming from sleep in v0.69.1.

Can confirm, this issue is still present in v0.69.1. When the computer goes to sleep, all apps move to my primary window keeping the same resolution and location they had on the prior monitor (though smaller since my primary monitor is high resolution). The apps on the primary monitor are fine, but apps on additional monitors are not returned to their original monitor upon wakeup.

@SeraphimaZykova fyi

To add to my previous statement, this doesn't just occur after waking the PC from sleep, it sometimes also occurs when the PC stays on but the screens have been powered down due to me being idle.

@VinzNL @jonbonney, most likely in your case the monitor IDs are causing the issue. The system could give them another ID after restarting/reconnecting/resuming from sleep, so FancyZones thinks that it's a new monitor where wasn't any window snapped. You can share a /bugreport here to let me check that. If I'm right, it's a different issue then. Thank you!

PowerToysReport_2023-05-13-18-02-12.zip

I don't think the @Nahor , the original author of this issue, is still active in it, but since @SeraphimaZykova asked @jonbonney and myself for feedback marking it stale would be the wrong thing to do.

Indeed, I can't easily test, I do not have a Win10 box with DisplayPort monitors anymore. I only have Win10 with HDMI or Win11 with DisplayPort, neither of which is affected by the bug. I can mess up with my setup if really necessary, but I'm unwilling to do so now since the bug has already been confirmed as unresolved by others.
(and hopefully, this post will satisfy the slash-bugreport mention for the stupid ms-github bot)

The Win10/Win11 thing is news to me, but you're right. I was contemplating an upgrade anyway so I pulled the trigger and I don't have the problems on Win11 any more. And both my monitors are DisplayPort so that fits your description as well. So it seems this bug is limited to people who are still using Win10.

I have mostly worked around the issue by increasing my screen sleep timer. I am on windows 10 and using display ports. What email address should I send the report file to?

The Win10/Win11 thing is news to me, but you're right. I was contemplating an upgrade anyway so I pulled the trigger and I don't have the problems on Win11 any more. And both my monitors are DisplayPort so that fits your description as well. So it seems this bug is limited to people who are still using Win10.

Hmm, I thought I had mentioned the DisplayPort vs HDMI before, but I can only find a vague mention in #18907. In any case, yes, it works on HDMI but not with DisplayPort. I believe the reason is because a sleeping DisplayPort monitor is considered disconnected by Windows, so all the windows get moved to the primary monitor when the secondary one goes to sleep, while a sleeping HDMI monitor is remains connected, so the windows don't get moved in the first place.
As for Win10/Win11, Win11 has a setting called "remember windows location based on monitor connection" (the main use case is probably for laptops being intermittently docked/connected to external monitors, e.g. home vs office). So when the secondary DisplayPort monitor comes back online, Windows will move the windows back to it.
It's still possible that PowerToys has the bug on Win11 where the windows are not correctly re-attached to the zones even if they are moved to their proper location. If the bug does exist on Win11, it doesn't affect me at least, since I do not swap between different zone layouts.

I'm have been experiencing a slightly different version of this bug for the past few months.
My setup is windows 11 with 1 HDMI center screen (LG OLED TV) and 2 displayport side monitors. The side monitors never sleep, but the LG center screen is OLED, so I let is sleep to save the pixels. Windows 11 also never sleeps.
If I wake up the center screen on my otherwise running system everything starts shifting around ending up on different places. Then over a timespan of +/- 30 seconds part of my window collection gets restored correctly by fancy zones, but about half ends up on the wrong place. I have no clue as to why this is taking so long or if there is a pattern to the faulty restore postions. I do have 200+ windows open most of the time (yes yes I know), but then still, it should take more than fraction of a second sending all the win32 window events. I do know it must be fancyzones that is struggling because:

Without fancy zones I do not have this behaviour.
All 32 cores are doing absolutely nothing except for fancyzones.
But more importantly trying to use fancyzones during that time window will have +/- 30 sec. delayed responses.

It's as if fancyzones is taking a super long to (badly) restore window positions after a monitor wake up and is enqueuing all input until that is done.
I did observe some firefox windows moving multiple times. So either fancyzones is applying multiple restore logic commands. Or windows and fancyzones are battling out some (set then check) race condition multiple times. I don't know.
Hope this report gives some context for this issue. Let me know if I can do anything else to help or test.

/dup https://github.com/microsoft/PowerToys/issues/16370


adding tests for realm of recipes class

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

RealmOfFeastTest/RealmOfFeastTest.cpp
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


spawn world obstacles

Spawn world obstacles in non-dynamic case.
@tuananhroman double check if this is fine with training, otherwise guard behind if type != train

@tuananhroman pls have a look asap


MOMUG-125: Updating jsbox translations

@rudigiesler @KaitCrawford @smn review please.

Right @rudigiesler here you go.
Review?

@rudigiesler @KaitCrawford ready for review.

@rudigiesler @KaitCrawford review please.

:+1:


Centos:7 is deprecated. Please update base image.

[Enter feedback here]

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

ID: 51db2faf-908c-8022-fe37-693a800ce42a
Version Independent ID: 41e60749-b1bb-ba0b-1b2a-100a3da5a277
Content: Get Started - Configure Ansible in a Docker container
Content Source: articles/ansible/configure-in-docker-container.md
Service: ansible
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

@AndyTwiss Thanks for the feedback. Centos 7 is still supported until mid-2024, so I'm going to close this issue for now. However, we'll update the article shortly to reflect the correct current configuration.


I keep getting this error when i open the hook modloader

How can I fix this?

@Thomasims how can  you help me?

@Thomasims how can  you help me?

The error is pretty clear, make sure your game is up to date on steam and retry.

The error is pretty clear, make sure your game is up to date on steam and retry.

Thank you, but i do not know how.

Thank you, but i do not know how.

And also i play on 0.5.2, not 0.5.0.

And also i play on 0.5.2, not 0.5.0.

The error says 0.5.x not 0.5.0. "x" in versions is widely understood to stand for "any"

The error says 0.5.x not 0.5.0. "x" in versions is widely understood to stand for "any"

Or i might just play in 0.4.6

Or i might just play in 0.4.6


Bug: Cannot use it as common js

We can only use it as esm module ans it make my Remix app crash for that.
I can make a PR to fix it.

hey @simonboisset there's a React SDK now that works with Remix, would you like to give it a try?
https://github.com/aptabase/aptabase-js/tree/main/packages/react

Hi ! Thanks for the work.
I will try it and give you my feedback


[i18n] -Name argument not support Chinese

-Name argument not support Chinese now or add new argument like -Title to support Chinese ?

Hi @lost22git,
Have you got an example of the function you're trying to use? -Name makes sense since it's also used for -Id if not supplied, but most functions have a -DisplayName that should be alright.

@Badgerati

Both New-PodeWebChart  and  New-PodeWebTable do not have  arguments -DisplayName  or -Title.

Even if Add-PodeWebPage set -Name Processes -Title 进程, the title of sidebar is still Processes


Does not work on macOS Sierra

The code does not work on macOS Sierra. It terminates with error -
SError: [Errno 45] Operation not supported: '/home/myusername'

Works with Gnome based desktops only! :/

Now Check!


Notable "Gemini" does not grant accuracy when using two Piscator's Vigil Wands

When using a different Wand + Piscator's Vigil it works, dualwielding two makes the node not work.

Could you give me your build? I can't manage to reproduce this; the node is correctly granting the bonus accuracy with two Piscator's equipped, and couldn't possibly fail to do so simply because of the specific wand you're using.


GetAllLabelReleases does not return all the releases from a Label

Fetching releases from a label that contains a huge amount of them seems we hit the rate limit.
Here 2 labels to test with:
Label Id=1967
Label Id=10663
And perhaps this can help a bit too:
DiscogsClient.GenerateFromPaginable
var res = await _Client.Execute(request, cancel);
var elements = res?.GetResults();
if (elements == null)
return; //If we hit the limit, response is empty but all pages have not being retrieved.

DiscosgsClient already use a ratelimit facility to prevent this kind of problem:
SharedTimeLimiter = TimeLimiter.GetFromMaxCountByInterval(240, TimeSpan.FromMinutes(1));
Could you check the http response code, using a sniffer like Fiddler, to check thta rate limit is the problem?

Thanks, I will update ratelimit

Thanks to you for the your help
Are you hoping torelease a new nuget version? Or that will still take some time?
Thanks again.

It as available now: version 2.5.1


fix: mssql cursor pagination

#588
Here is the fix for MSSQL when offset is set to 0.

Thanks :+1: Could you add a test to https://github.com/uptrace/bun/blob/master/internal/dbtest/query_test.go#L789-L800?

I just run it locally and everything seems to be fine.

The test failure looks real:
--- FAIL: TestORM (2.64s)
    --- FAIL: TestORM/mssql2019 (0.34s)
        --- FAIL: TestORM/mssql2019/testAuthorRelations (0.00s)
            orm_test.go:132:
                	Error Trace:	orm_test.go:132
                	            				orm_test.go:43
                	Error:      	Received unexpected error:
                	            	mssql: Invalid usage of the option NEXT in the FETCH statement.
                	Test:       	TestORM/mssql[201](https://github.com/uptrace/bun/runs/6998766509?check_suite_focus=true#step:5:202)9/testAuthorRelations

Any ideas what is wrong?

I have to check.

In mysql to use limit we have to have defined order.

Thanks :+1:


ProjectRef source dependency does not work with multiple Scala versions

Using ProjectRef to bring in sources from another repository is a useful feature. However, it only seems to compile for the default Scala version of the dependency, i.e. it does not support cross-compilation.
Steps

project A compiles for both Scala 2.11.8 and 2.12.1 (default)
project B refers to A via dependsOn(ProjectRef(...))

Problems

project B does not compile for Scala 2.11.8

Expected

project B would compile, whether it uses Scala 2.11.8 or 2.12.1

Notes
Workaround: push a separate tag of A, e.g. 0.0.7-2.11 where the main Scala version is temporarily changed to the alternative one
Platform: sbt 0.13.13 on macOS
References: StackOverflow entry
I'm sorry that I don't have the time to prepare a PR to fix this.

Project A console output (on sbt compile):
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: <project-name-removed>_2.11;0.0.7: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		<project-name-removed>_2.11:0.0.7
[warn] 		  +- <project-name-removed>_2.11:0.0.29
sbt.ResolveException: unresolved dependency: <project-name-removed>_2.11;0.0.7: not found
	at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
	at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
	at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
	at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
	at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
	at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
	at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
	at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
	at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
	at xsbt.boot.Using$.withResource(Using.scala:10)
	at xsbt.boot.Using$.apply(Using.scala:9)
	at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
	at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
	at xsbt.boot.Locks$.apply0(Locks.scala:31)
	at xsbt.boot.Locks$.apply(Locks.scala:28)
	at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
	at sbt.IvySbt.withIvy(Ivy.scala:128)
	at sbt.IvySbt.withIvy(Ivy.scala:125)
	at sbt.IvySbt$Module.withModule(Ivy.scala:156)
	at sbt.IvyActions$.updateEither(IvyActions.scala:168)
	at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1442)
	at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1438)
	at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$90.apply(Defaults.scala:1473)
	at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$90.apply(Defaults.scala:1471)
	at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
	at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1476)
	at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1470)
	at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
	at sbt.Classpaths$.cachedUpdate(Defaults.scala:1493)
	at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1420)
	at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1372)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (content-api/*:update) sbt.ResolveException: unresolved dependency: <project-name-removed>_2.11;0.0.7: not found
[error] Total time: 4 s, completed Jan 10, 2017 11:20:48 AM

Could you provide clear reproduction steps, please? I don't mean to be pedantic, but, for instance, it's not clear exactly what you're doing when you say "project A compiles for both Scala 2.11.8 and 2.12.1 (default)". These details matter. Thank you.

@dwijnand Yep, I should. Can do that later today - the repos I work with are proprietary so links wouldn't have worked.

sbt +compile was suggested as the workaround.
See https://gitter.im/sbt/sbt?at=58aece2df1a33b62753bf45b

So, project A in my case is akka/alpakka and they have
ivyScala := ivyScala.value.map(_.copy(overrideScalaVersion = sbtPlugin.value)) // TODO Remove once this workaround no longer needed (https://github.com/sbt/sbt/issues/2786)!
in their sbt configurations.
And if I am doing sbt +compile from my project B I get
[warn] Binary version (2.11) for dependency org.scala-lang#scala-library;2.11.8 [warn] 	in com.lightbend.akka#akka-stream-alpakka-s3_2.12;fbcb33f1+20170223-1431 differs from Scala binary version in project (2.12).
Might be the issues are related.

I experienced this problem when I wanted to add a source dependency on https://github.com/scala-graph/scala-graph. The workaround worked for me.

I am no longer using source dependencies, so from my side this issue is not urgent and could be closed. However, since others have raised comments it's probably best to keep it open?

Well me too but for different reasons... I got my fixes into scala-graph so now I can use a dependency on the published artifact instead of my fork of the source.
I think it would be useful to explain somewhere in the SBT doc the subtle difference between sbt compile and sbt +compile; if that is indeed enough to work around the problem.
Alternatively, one could also consider contributing @akauppi's example as a unit test for the current SBT development. Perhaps the problem has become moot with 1.0.

I understand more now than I did in February. :)
I suspect the reason is that + only considers the projects in ThisBuild. When you use ProjectRef you introduce another build.
However with the new implementation of + in sbt 1, this problem might indeed be moot.


Cyclic dependency with Sphinx 1.3.1

sphinx_rtd_theme 0.1.8 depends on Sphinx 1.3.1 and Sphinx 1.3.1 depends on sphinx_rtd_theme>=0.1,<0.2
For an offline install where I have downloaded all the .tar.gz files in advance this causes a download from PyPI no matter if I install Sphinx or sphinx_rtd_theme first. I realize it's not a major issue. I just patched requirements.txt in sphinx_rtd_theme to be empty.

This is related to #189. We might just remove the Sphinx requirement entirely. I'm not sure yet of the repercussions, so haven't made this change yet. I'll close this out as a duplicate and address the issue against #189 if we do.


Angular 10 || 11 and Ionic 5: Generic type 'ModuleWithProviders' requires 1 type argument(s) error

Describe the bug
While building production app for ionic 5 with Angular 10 or 11 I get an error with Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) error
To Reproduce
Just upgrade your app to Angular 10 or above (which is used in Ionic 5).
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10 Pro 64-bit & Ubuntu 20.4
Browser does not matter as it is build process
Version ^7.0.8

Additional context
The component working fine in Ionic 5 actually with latest angular (version 11), and I can workaround this issue by adding the following code to app.module.ts:
declare module '@angular/core' {
	interface ModuleWithProviders<T = any> {
		ngModule: Type<T>;
		providers?: Provider[];
	}
}

I have created a pull request #463 that corrects this error.


Edit OC group chat

I had to create a new group chat to add the VC lock.

@frederikrothenberger can I get a rubber stamp?


docs: add roundup august 2023

Description
Link release roundup august 2023 in side bar

Duplicate from https://github.com/hirosystems/docs/pull/496

@andresgalante Ah! I merged https://github.com/hirosystems/docs/pull/463 this morning so you'll have to rebase yours
But I'll close mine, it doesn't build on vercel for some reason 🤷♂


Create Dockerfile

Description:
A production Dockerfile needs to be created that will install the dependencies of the app and deploy it to a WSGI HTTP server (i.e. gunicorn).
Acceptance criteria:

[ ] Successful installation
[ ] Successful server deployment

Closed in https://github.com/ral-facilities/scigateway-auth/pull/71


Strange crash

open@chilios[05:00:09]~/facy-ruby}=facy
/ _    ____ ..
\   _  \ / <   |  |
|  |   / __ \  __  |
||  (__  /___  > ____|
/     //
Fetching facebook stream at first time may take a while ♩ ♪ ♫ ♬
★　go to https://developers.facebook.com and enter our app_id:
932904360141354
★　go to https://developers.facebook.com and enter our app_secret:
487d2f94d5ed84336681c0e066e707e7
★　goto https://www.facebook.com/dialog/oauth?client_id=932904360141354&scope=friends_status,manage_notifications,publish_actions,read_friendlists,read_stream,user_status,read_mailbox&redirect_uri=http://www.facebook.com/connect/login_success.html to grant access to our app
→ after access granted press enter
★  goto https://developers.facebook.com/tools/accesstoken/ and enter User access token:
CAANQeLjZB4ioBAMVx1QdpuhXQXPcxL7a0rRj3f2JFQ3QH2bKUHHahEZAgY6rl0d0hc2M059Jf8OpCEwVM4sJNgZCH7G9dY5Shtbibwqe9IrXxZCWYC1qtmSLm03BFgpoPqXhkSrEznw05Sz8eXs60bAwvrHsw507CYx9VDDZBlGlWbR6a6DmttBhdSeTvTD8ITzFcjwD0fAZDZD
f  >>
[Info] Please restart facy to obtain new access token!
facy going to stop...
[Info] Please restart facy to obtain new access token!
facy going to stop...
i don't understand why but facy crash after 1/2 sec

+1

+1

+1 also getting this error

[oliver@lisa ~]$ facy

  _/ ____\____    ____ ___.__.
  \   __\__  \ _/ ___<   |  |
   |  |   / __ \  \___\___  |
    |__|  (____  /\___  > ____|
                \/     \/\/
Fetching facebook stream at first time may take a while ♩ ♪ ♫ ♬

★  goto https://developers.facebook.com/tools/accesstoken/ and enter User access token:
warning: can't open url
[KEY]
 f  >>
[Info] Please restart facy to obtain new access token!

facy going to stop...

[Info] Please restart facy to obtain new access token!

facy going to stop...

[oliver@lisa ~]$ ruby --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
[oliver@lisa ~]$ gem --version
2.4.3
2.6.32-504.8.1.el6.x86_64

@Manu-sh you should edit the issue to remove your secret keys

@muggahtee don't worry this app id (and token) is not valid, i have delete before publishing my issue


DBZ-1851: Modularize the monitoring doc

Modularize the Monitoring section of the Debezium documentation.

Applied to master and 1.0. Thanks, @bhardesty! Could you only please always make sure to prefix commit messages with the issue key. Realized it too late for master, changed it while backporting to 1.0. Thanks!


Access Form Element's Validity

We used to be able to do
$selector.ufm().valid()
to get the validity of any form element, however with the new system, you can only do this to access the root level valid. It may be useful to access the tags of all elements.

Jesus soz, learn to spelz.


feat: merge two containers for typeorm test

This pull request merges two containers for a TypeORM test. The previous default container was "golang," which has been replaced by "nodejs."

/cc wuhuizuo


dealing with .html extensions

I create a jekyll post with the following header with a permalink that is not followed by .html

---
layout: post
title:  Creating IIIF Manifests
date:   2015-06-01
permalink: /creating-iiif-manifests

---

the result of this is a file in the directory  _site called:
file: creating-iiif-manifests.html
On my local machine, when running bundle exec jekyll build
the permalink resolves as follows:
url: localhost/creating-iiif-manifests (without the .html extension)
However when I try to run this on heroku using the rack-jekyll gem,
the permalink
myapp.herokuapp.com/localhost/creating-iiif-manifests does not resolve.
the .html must be added
I'm wondering if there is a setting in the rack-jekyll gem that can be changed so that the link /creating-iiif-manifests will still resolve without the the .html extension.

I am having a similar issue here.
In my page YFM:
permalink: somepage.html

When running the site locally with jekyll serve I can access /somepage as well as /somepage.html, but when running my site on heroku (which is equivalent to running rackup locally), the pretty version of the permalink does not work.
Here is my config.ru file :
#config.ru

# This file is auto-generated by Jekyll Auth
# It tells Heroku how to launch our site

require 'rack/jekyll'
run Rack::Jekyll.new

You might try the lanyon gem (https://github.com/stomar/lanyon), which is an (almost) drop-in replacement for rack-jekyll (it does not provide auto-regeneration, though).
config.ru:
require "lanyon"
run Lanyon.application

Thanks @stomar . I also had the same issue and switching to lanyon fix it for me.


Design or Architecture documentation page

It wold be nice to have a design or architecture documentation page to serve as a guide to the oh-my-zsh codebase and system for people who want to hack on it, provide plugins or themes, or just get more familiar with what it's doing.
I've put together a rough design documentation page at https://github.com/apjanke/omz-scratch/wiki/OMZ-Design, based on my reading of the oh-my-zsh source code. Anybody want to look at that and give some feedback before I add it to the main oh-my-zsh wiki? (Especially @mcornella, @ncanceill, or @robbyrussell?)

Very good work. I have a few changes I want to suggest, but I think this should be added to the main wiki right away, just indicate at the top that it is a work in progress.

Thanks!
I've moved it to the main wiki at https://github.com/robbyrussell/oh-my-zsh/wiki/Design and added a work-in-progress note at the top.

The Design page is fleshed out enough to consider this done. (Though it'll always be a work-in-progress as long as OMZ is evolving.) Closing this.


Change PNG encoding to always use RGBA

Many mainstream PNG decoders don't handle the alpha channel correctly, depending on the encoding format. RGBA is handled fine, so we should just make sure our workers always encode using this format.

Made a PR for amber: https://github.com/google/amber/pull/329

Fixed in #366 (for us) and https://github.com/google/amber/pull/329 (for amber).


Created BlastUnit serialization test

I'm going to go ahead and check this in because it's not a major refactor and there are no functional changes. Let me know if this type of change should be reviewed in the future, and I can adjust my heuristic for self-reviewed merging


[Bug] [localFile-sink] Plugin saves open text tabular data regardless of fileFormat value

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I am tying to sink FakeSource data to a file. It always saves it in the same format, regardless of fileFormat value:
xZUuh696150845
vsURy1080328609
bmcPC267811950
xkYLR1744336535

If I modify formatting by introducing
field_delimiter = "|"
row_delimiter = "\n"

the plugin behaves accordingly:
brLkB|758957279
HGPBr|570409452
AlWrl|407909156
FdHHx|1323179300
VFgHy|602615979

ufortunately again regardless of the declared file format.
SeaTunnel Version
2.3.2
SeaTunnel Config
{
    "env" : {
        "execution.parallelism" : 2,
        "job.mode" : "BATCH",
        "checkpoint.interval" : 10000
    },
    "source" : [
        {
            "schema" : {
                "fields" : {
                    "name" : "string",
                    "age" : "int"
                }
            },
            "row.num" : 16,
            "parallelism" : 2,
            "result_table_name" : "fake",
            "plugin_name" : "FakeSource"
        }
    ],
    "sink" : [
        {
            "path" : "tjson",
            "plugin_name" : "localFile",
            "fileFormat" : "json"
        }
    ]
}

Running Command
./bin/seatunnel.sh --config ./config/test_to_file.config -m local

Error Exception
none

Flink or Spark Version
none
Java or Scala Version
java 17.0.7 2023-04-18 LTS
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Please provide.conf file

Please display your configuration file。

I checked your configuration file. The problem is simple. Firstly, there is no configuration item for fileFormat. Secondly, I found that there are also some issues with the official documents. You can try ' file_format_type="json" '.

Indeed, documentation was misleading. Changing a config field name from fileFormat to file_format_type made it work. Thanks!


Image rendering problem

For some reason, images are not rendered in html... DIV with id, A with class and href and SPAN are rendered but image does not in all closures in the QrcodeTagLib class -> grails version 2.0.1 (possible incompatibility to resource 1.1.6 plugin)
def mkp = new MarkupBuilder(out)
mkp {
div('id':'qrcodebox') {
a('class':'qrcodeLink',href:"javascript:null",label) {
span('id':'qrcode') {
img(alt:url,src:src)
}
}
}
}

The only criticism I'll make here initially is that any thing that renders an HTML fragment should never use hard-coded "id" since you are effectively dictating what page layout should be from the layer below the programmer creating the page.

"src" and "url" come from QrcodeTagLib.groovy by default:
def url = { attrs ->
def size = attrs.height?:attrs.width
String target = request.getRequestURL()
String src = createLink(controller:'qrcode',action:'url',params:[u:target,s:size])
def mkp = groovy.xml.new MarkupBuilder(out)
mkp {
div('id':'qrcodebox') {
a('class':'qrcodeLink',href:"javascript:null",label) {
span('id':'qrcode') {
img(alt:url,src:src)
}
}
}
}
}
when I print "src" and "url", they are OK, but only this is actualy rendered (without image):

qrlink

when I try to render image directly in the QrcodeTagLib.groovy, like this
....
mkp {
div('class':'qrcodebox') {
a('class':'qrcodeLink',href:"javascript:null",label) {
span('class':'qrcode') {
img(alt:url,src:src)
}
}
}
}
out << "<img src="${src.encodeAsHTML()}"/>"
, everything works fine and output is:

qrlink

So I think maybe the implementation of the "img()" method has changed or as I wrote, there is maybe the incompatibility problem in the resource plugin. It uses r.img() method. Changing from : "ids" to "classes" attributes did not solve the problem.


Select - investigate if the icon should be optional

Description / User Story
Currently the icon (chevron-down) is only shown if we want it. With this task we want to investigate and decide, if we should change this so that there is no option anymore and the component always handles this on their own.

Acceptance Criteria

[ ] It was researched and decided, if the option to show/hide the icon is still needed, if not, the option has been removed (task needs to change to type design & development then, so it also appears on dev board)
[ ] It was also researched and decided, if the icon should be changeable or if it should always be the chevron-down and the component was changed accordingly
[ ] It was researched and decided, if the error-icon should overlay the default icon or if this should be solved differently.

More ACs:

[ ] In case of decision to remove option: Props Excel has been updated / comments have been resolved and props changed from red to black font color
[ ] Component documentation in Storybook has been updated
[ ] In case props were changed: Props Excel has been updated / comments have been resolved and props changed from red to black font color > @thrbnhrtmnn or @angelicahoyss can support here

Background information

...

After benchmarking selects I'd propose the following:

The icon is mandatory
A default icon (chevron-down) and icon size are defined
The icon can be overridden, as seen here chakra ui or Atlasian
In error state, the icon must not be exchanged with an error icon. (This topic is closely related to/blocked by #567 )

Hey @larserbach , we can close this right? As discussed today, the update to the select will also be done as part of #1014, so there is nothing left to do here and this ticket only was about making the decision.


Master list of potential Plotly backend enhancements

Overview
As discussed briefly in https://github.com/ioam/holoviews/pull/3194 with @philippjfr , this is an issue to catalog some of the ways that the plotly backend could be enhanced by taking advantage of existing plotly.py/plotly.js features.  Feedback appreciated 🙂
Established Elements
The following elements are supported by matplotlib and/or bokeh and could also be supported with plotly.

Text, Arrow,  Labels (See https://plot.ly/python/text-and-annotations/)
VLine, HLine, Box, Ellipse  (See https://plot.ly/python/shapes/)
Spikes (scatter line trace with gaps)
Bars (See https://plot.ly/python/bar-charts/)
Contours (with scatter lines traces if lines are precomputed)
Area, Spread (See https://plot.ly/python/filled-area-plots/)
RGB, HSV (As base64 encoded layout image https://plot.ly/python/images/)
Violin (This is a first-class trace with nice hover info, see https://plot.ly/python/violin/)
Vectorfield (See https://plot.ly/python/quiver-plots/)
Bivariate (See https://plot.ly/python/2d-histogram-contour/)
Scatter with polar projection (First class trace type with polar specific zoom and rotation, see https://plot.ly/python/polar-chart/). This would also support Curve, Area, and Spread with polar projection.
Radialheatmap could be implemented with barpolar trace (See https://plot.ly/python/wind-rose-charts/)
Sankey (There is a nice first-class Sankey trace that support node/link tooltips and drag to reorder nodes, see https://plot.ly/python/sankey-diagram/)
Hextiles (Not built in, but it's been implemented from primitive shapes before, see https://plot.ly/~empet/13706/hexbin-plot/#/)
Chord (Not built in, but it's been worked through before, see https://plot.ly/python/filled-chord-diagram/)
Graph. Could be done with scatter for node/edge tooltips. The highlighting of connected edges on hover would require custom JS though. See https://plot.ly/python/network-graphs/#create-network-graph

Potential new elements
The following are potential new elements that I don't think are currently supported by matplotlib/bokeh (but if I'm wrong we can just bump them up to the previous section)

Bar with polar projection: First class trace with zoom, rotation, etc. Also supports selection events.
Parallel Coordinates: For multi-dimensional continuous datasets.  WebGL accelerated, supports drag to reorder dimensions, and click-drag on axes to filter data.
Parallel Categories: For multidimensional categorical datasets. Interactive drag to reorder categories and dimensions and supports click/hover events (See brushing examples in the docs)
Carpet plot, Carpet scatter plot for representing 2 continuous independent variables and 1 continuous dependent variable. (also see https://en.wikipedia.org/wiki/Carpet_plot)
Curve, Scatter, Points with ternary projection for 3 continuous dimensions constrained such that the 3-coordinates of each observation sum to 1.
Dendrogram
OHLC and Candlestick finance charts
3D Cone/Vectorfield: For representing a 3D vector field at discrete locations.
3D Streamtube for representing contunuous flow in 3D from particular starting points.

General Improvements / Fixes:

Convert (Item)Table from figure factor to dedicated table trace type (https://plot.ly/python/table/).  This trace type supports scrolling and can handle much larger tables.
Move from plotly.tools.make_subplots to using layout.grid for laying out subplots. This
way all trace types are supported (the make_subplots approach only really supports 2D and 3D subplots, not tables, polar, etc.).

Streams
Plotly.js emits the events needed to detect selecting, clicking, and hovering over points in a trace.
It also emits events in response to zoom and pan.  It does not currently emit events for clicking
and hovering the plot background (only when clicking or hover on particular points).
So I think it would be possible to support the, Selection1D, Range(X/Y), and Bounds(X/Y) streams across the elements based on scatter, scatter polar, bar, bar polar, ternary, and heatmap traces.
There might be a bit of a mismatch with the click/hover events. since plotly.js associates these with points and it looks like Holoviews wants positions.
Datashader
With the RangeXY stream and ability to display RGB images I think it should be possible to support datashader.  Here's an example of wireing up datashader in plotly.py directly with FigureWidget callbacks https://plot.ly/python/change-callbacks-datashader/.
Performance
All of plotly's 3D trace types are WebGL accelerated.  The 2D scatter trace (which would be used for the scatter, line, area, and spread elements) and scatter polar trace have both D3+SVG and WebGL implementations.  The WebGL implementations support a million or so points and are pretty much feature complete so we would want to default to these, with the option of falling back to non-WebGL for generating static images in vector format.
Static image export
plotly.py recently got (standalone offline) static image export support, see https://plot.ly/python/static-image-export/.  This is electron-based and so it was possible to package everything using conda without a dependency on a system web browser or webdriver.  It supports raster (png, jpg, webp) and vector (svg, pdf, eps) image formats, and all formats support figures with multiple subplots. Note: All plot types can be output to vector formats, but stuff that's rendered with webgl will be embedded in raster form.
LaTeX
Plotly supports rendering labels and annotations with LaTeX using MathJax.  This is now supported in the Jupyter notebook, JupyterLab, in standalone html files, and in static image export (raster and vector).  So this would make the plotly backend capable of supporting both interactive exploration and the generation of publication quality vector images with LaTeX typesetting.
Themes
Plotly recently got theming support (See https://medium.com/@plotlygraphs/introducing-plotly-py-theming-b644109ac9c7).  It's possible to configure a theme to be used by default, so it might not be necessary for Holoviews to be aware of them. But it might also be nice to be able to configure the current theme as an option.

My wishlist: 3D elements that work in holoviews are the feature I would use immediately.

+1 for parallel coordinates, it's really useful for plotting high-dimensional data spaces

Great idea!

FYI, I've started playing with adding support for the Selection1D stream.  What I have is a bit of a mess, but I think I've worked out a rough approach for adding interactive stream support.  Hopefully I'll be able to get something in PR shape this week.


fix: ENV kubeconfig with multiple files

This PR...
Fixes

#4142

Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Looks good - does this fix Taras issue with not seeing all contexts in multiple kubeconfig files?


Logo overlaps with other navbar elements

Fixes : #47889

As discussed in the related issue, I have managed the size of the search box. Attached is the screen shot of the deployed navbar.

Deployment preview: https://deploy-preview-47984--kubernetes-io-main-staging.netlify.app/

/retitle Fix project logo overlapping with other parts of nav bar

/assign @tengqm

Tested on MacOS with Firefox, Chrome and Safari.
This seems to have solved the issue.

How do we know this is a good choice of text size?

I'm not a fan of magic numbers either, but it looks good in this case. We can revisit if needed.
/approve

I can't approve web code updates, so an additional lgtm instead:
/lgtm

/approve

/approve


unblockUser has not found in td_tpi.h

unblockUser
where is this api

The method was superseded by toggleMessageSenderIsBlocked.