[Android] Rendering a Touchable button disable RectButton Ripple

react-native: 0.59.5
react-native-gesture-handler: 1.3.0
Just in case:
react-native-navigation: 2.21.0
Ripple works fine inside my Components using RectButton when no Touchable component is rendered in the same view.

can you provide a code snippet for the same ?

Sure
import React, { FC } from 'react'
import {  View } from 'react-native'
import { RectButton, TouchableOpacity } from 'react-native-gesture-handler'

const TestScreen: FC  = function( ){

    return (
        <View style={{flex: 1}}>
            <View style={{flex: 0.5}}>
                <TouchableOpacity>
                    <View style={{width: 100, height: 100, backgroundColor: 'blue'}}>
                    </View>
                </TouchableOpacity>
            </View>

            <RectButton onPress={() => console.log('Pressing')}>
                <View style={{width: 100, height: 100, backgroundColor: 'red'}}>
                </View>
            </RectButton>
        </View>
    )

}

export default TestScreen

If <TouchableOpacity>{...}</TouchableOpacity> if commented it works fine. Otherwise I can't see the ripple
https://gifyu.com/image/EK9A


Add self_link outputs for network and router resources

A self_link output for the google_compute_network resource is required for GCP
network peering. I've also added one for the google_compute_router resource.
I fixed a comment typo along the way.

@endzyme I've deprecated the subnetwork output and changed the new outputs to be *_self_link to be more clear.
I started a changelog for each module, documenting the above.


display_simple_menu - no exit from custom menu

Hi,
When running the examples presented in Menu Controller, it seems there is no way to exit the custom menus generated by the function "display_simple_menu".
In the code extract below, breaking the while loop with "Return", does not stop the display of the custom menu.
while True:
menu = mc.display_simple_menu(menu_options)
[...]
if menu == 'Return':
break

Hi @nrogeau
Have you run the example from the idle shell ?
if so, run it from api directory. userprofil_30\3d\API.x64

Hi @Brunner246,
Thank you for your reply.
I am indeed running the example from the idle shell.
Do you mean the Python file should be located in the API.x64 folder?
I tried running it from there and also by changing the working directory like below but without success:
import os
import menu_controller as mec
import utility_controller as uc
import cadwork

os.chdir('C:\\Users\\Public\\Documents\\cadwork\\userprofil_30\\3d\\API.x64')

menu_options = 'Foo', 'Bar', 'Baz', '', 'Return'

menu = mec.display_simple_menu(menu_options)
while True:
    if menu == 'Foo':
        uc.print_error('You pressed Foo')

    elif menu == 'Bar':
        uc.print_error('You pressed Bar')

    elif menu == 'Baz':
        uc.print_error('You pressed Baz')

    elif menu == 'Return':
        break

@nrogeau running the display menu from tkinter IDLE will not work properly.

Create directory in userprofil_30\3d\API.x64\simpleMenu
Create a python file (e.g. simpleMenu.py) in that directory
launch cadwork
click button in plugin bar

if you dont see the plugin name in the plugin bar, check if you show the bar itself.

see also:
https://docs.cadwork.com/projects/cwapi3dpython/en/latest/get_started/

Hi @Brunner246,
Okay, I understand. Thank you for the explanation, it worked when launching the script from the button.


Switch to updated container & drop duplicated functionality

Until now many features were duplicated in Vagrant vs. other environments. This patchset drops lots of that functionality from the box itself, and moves it into container that shares lots of features with production and other environments.
All scripts that get executed by Vagrantfile in seravo/wordpress repository have been replaced with non-operational ones, that do nothing. Instead we rely on misc scripts inside the container that execute things, like WP installation, dumping and loading database contents etc.

Note: container still needs some improvements and fixes before this can be rolled out. However, changes in this repository are complete now, and can be reviewed.
While waiting for improvements in container, you can test these changes, just remember that you'll just get Vagrant box that starts container, but without functional container.

Notable changes:

if you create .nodocker file in your wordpress project directory, you'll get access to Vagrant itself (instead of getting forwarded to container)
if you create .seravo_autoupdate file in your wordpress project directory, box gets updated at each startup (= use bleeding-edge container version)

LGTM based on reading the code. Have not tested anything yet.
About naming:

Call the tool inside the Vagrant box that manages the container simply 'sc' (for Seravo Controller)
Call the .nodocker instead .seravo-controller-shell
Call the .seravo_autoupdate instead .seravo-controller-autoupdate

Renames done, each in separate commit (ac660c8, f2ab086, 59ab989), can be squashed to bbdb360.


Fix some failing system tests.

What does this Pull Request accomplish?
Fixes two fully failing system tests and attempts to address two intermittent ones.
Why should this Pull Request be merged?
Fixes AB#2108370
Dan's update to how we propagate API errors back to the client broke some tests.
What testing has been done?
Fully failing system tests now pass locally.
TODO: Still verifying state of intermittent tests.

One successful run: https://github.com/ni/grpc-device/runs/7881278826?check_suite_focus=true. Gonna queue it back up again.


Issue 45 greedy type error

Fix for issue: https://github.com/digitalbazaar/vc-js/issues/45
This allows the following:

VerifiableCredentials with only one type VerifiableCredential
VerifiableCredentials with only one @context https://www.w3.org/2018/credentials/v1

Previously we were throwing when a VC only had one type or one @context
@lemoustachiste feel free to add yourself a reviewer and I hope this branch helps.

Ah, ok. So I think that may have been a change in the VC spec that I missed. (Originally, it was required to have two types (the VC test suite tests for it -- https://github.com/w3c/vc-test-suite/blob/gh-pages/test/vc-data-model-1.0/10-basic.js#L95 ).
But yeah, it currently says it's optional.

Ah, ok. So I think that may have been a change in the VC spec that I missed. (Originally, it was required to have two types (the VC test suite tests for it -- https://github.com/w3c/vc-test-suite/blob/gh-pages/test/vc-data-model-1.0/10-basic.js#L95 ).
But yeah, it currently says it's optional.

I checked it like 2-3 weeks ago and could have swore @context required 2 contexts with the first being the vc and the second some other schema.


Remove ConvolutionalActivation.

Partner PR for mila-udem/blocks#971.

@vdumoulin mind giving this a quick once-over?

LGTM.


how to export every message to eml file?

I want extract the pst file to .eml files

Hello,
You can create EML files using https://github.com/emersion/go-message
You need to loop through all go-pst messages (https://github.com/mooijtech/go-pst#usage) then construct the go-message per https://github.com/emersion/go-message/blob/master/mail/writer_test.go
I will make a repository to show you how it's done in the weekend if I can get it working.
Kind regards,
Marten Mooij

From: kk @.>
Sent: Wednesday, June 22, 2022 11:25:49 AM
To: mooijtech/go-pst @.>
Cc: Subscribed @.***>
Subject: [mooijtech/go-pst] how to export every message to eml file? (Issue #18)
I want extract the pst file to .eml files
—
Reply to this email directly, view it on GitHubhttps://github.com/mooijtech/go-pst/issues/18, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APOBFV3CBIKY7PQSBXU5YDLVQLLZ3ANCNFSM5ZPQI2RQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@mooijtech thank you very much.

Hello @Xwudao,
Here is the first iteration: https://github.com/mooijtech/go-pst-export
Supports exporting PST files to EML files (with attachments).
I have tested it on the Enron dataset, which is included.
Feel free to reach out if you have any other questions.
Kind regards,
Marten Mooij

@mooijtech
Thank you very much. I'll try it later

@mooijtech
I found a problem,

It does not parse HTML tags

Hello,
I replied via email but used Reply All instead of Reply To and my message didn't end up in the GitHub issue. My apologies if you were sent this message twice.
This is intended behavior as the export strategy prefers a HTML body over plaintext. HTML is allowed in an EML message.
I assume when you say "doesn't parse HTML tags" you mean you want the message body to be the plaintext version?
I can add an export context option to prefer plaintext over HTML (which can be passed with the command line flag "-plaintext" or programatically setting the ExportContext "isPreferPlaintext" to true).
Kind regards,
Marten Mooij

From: kk @.>
Sent: Tuesday, June 28, 2022 11:25:56 AM
To: mooijtech/go-pst @.>
Cc: Mooij Technologies @.>; Mention @.>
Subject: Re: [mooijtech/go-pst] how to export every message to eml file? (Issue #18)
@mooijtechhttps://github.com/mooijtech
I found a problem,
[image]https://user-images.githubusercontent.com/31327868/176143863-49ab80f4-ca46-4a8a-a6d4-2b60d0cffea2.png
It does not parse HTML tags
—
Reply to this email directly, view it on GitHubhttps://github.com/mooijtech/go-pst/issues/18#issuecomment-1168468190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APOBFV4FZB2A3FN5H7N7AQLVRLAKJANCNFSM5ZPQI2RQ.
You are receiving this because you were mentioned.Message ID: @.***>

Hello @Xwudao,
I have updated go-pst-export per mooijtech/go-pst-export@9912297 to support the flag "-plaintext" which constructs the EML message body with only plaintext: go run cmd/export.go -plaintext
If you have any other suggestions, feel free to let me know.
Kind regards, Marten Mooij

Thank you. You are so kind.

Closed due to being solved.

Hello,
This is intended behavior as the export strategy prefers a HTML body over plaintext. HTML is allowed in an EML message.
I assume when you say "doesn't parse HTML tags" you mean you want the message body to be the plaintext version?
I can add an export context option to prefer plaintext over HTML (which can be passed with the command line flag "-plaintext" or programatically setting the ExportContext "isPreferPlaintext" to true).
Kind regards,
Marten Mooij

From: kk @.>
Sent: Tuesday, June 28, 2022, 11:26 AM
To: mooijtech/go-pst @.>
Cc: Mooij Technologies @.>; Mention @.>
Subject: Re: [mooijtech/go-pst] how to export every message to eml file? (Issue #18)
@mooijtechhttps://github.com/mooijtech
I found a problem,
[image]https://user-images.githubusercontent.com/31327868/176143863-49ab80f4-ca46-4a8a-a6d4-2b60d0cffea2.png
It does not parse HTML tags
—
Reply to this email directly, view it on GitHubhttps://github.com/mooijtech/go-pst/issues/18#issuecomment-1168468190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APOBFV4FZB2A3FN5H7N7AQLVRLAKJANCNFSM5ZPQI2RQ.
You are receiving this because you were mentioned.Message ID: @.***>


Consult some questions about the paper

I have read your paper "Learning to combine primitive skills: A step towards versatile robotic manipulation" carefullly, but I don't figure out some points. I want to consult some questions in the form of documents. which is more convenient for me to express the problem clearly. Can you give me your email?

Sure, my contact infos are on my webpage.


Styling html view

How can I modify view with css or html tag in version 3.0 ?
Because I try <br/> tag in <th> tag is not working.

See example in docs: https://laravel-excel.maatwebsite.nl/3.1/exports/extending.html#customize


Potential cache delay on CRANberries(?)

Today's archived 'docxtools' package is picked up by our dashboard, but not by update.R, which queries CRANberries, running on GitHub Acgtions. Running 'update.R' from my local computer picks up 'docxtools'.  So, it looks there's some web caching going on.

I don't know how is the CRAN process, but I think that as much as we can we should rely on them for this information (even if in occasions it might be wrong).
This would also provide a pathway to collaborate with the CRAN team. We are using a somewhat exposed functionality used to manage the repository. If they are open (or we search deeper in the svn R-dev-web repo) we could learn how they do this and maybe contribute with some tools/advice.

Agree - all great ideas.
Regarding data sources: I suspect the most reliable source is tracking the PACKAGES file over time, which btw I think is how CRANberries does it.  Alternatively, tools:::CRAN_current_db() and tools:::CRAN_archive_db() are equally reliable.  As I mentioned elsewhere, PACKAGES.in may have typos (e.g. wrong date in the comment field), so it should probably not be the main source, or at least it's too early to say we can trust it 100%.
BTW, this staring to smell more and more like it's worth creating a cranhaven package to encapsulate all this. That package don't need to be on CRAN (probably shouldn't).

I have been thinking about creating a package to manage the output o tools:::CRAN_current_db() and tools:::CRAN_archive_db()for a while.
I have several lines of code that might fit in this package.
The r-release project also went with creating a package (in this case for the end user). But here it might be equally to help with the creation and maintenance of the cranhaven.r-universe.org and for users.

Excellent. Feel free to start a new pkg repo for this.


Issue on python script

I configured as explained in tutorial, I create a wallet on metamask and added 10 LINK in rinkeby but once I run:
brownie run scripts/simple_collectible/deploy_simple.py --network rinkeby
I have follow error:
Running 'scripts/simple_collectible/deploy_simple.py::main'...
rinkeby
File "brownie/_cli/run.py", line 49, in main
return_value, frame = run(
File "brownie/project/scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "./scripts/simple_collectible/deploy_simple.py", line 10, in main
SimpleCollectible.deploy({"from": dev}, publish_source=publish_source)
File "brownie/network/contract.py", line 600, in call
return tx["from"].deploy(
File "brownie/network/account.py", line 508, in deploy
receipt, exc = self._make_transaction(
File "brownie/network/account.py", line 743, in _make_transaction
exc = VirtualMachineError(e)
File "brownie/exceptions.py", line 85, in init
raise ValueError(exc["message"]) from None
ValueError: insufficient funds for gas * price + value
what should be the issue?

Hey @EnricoBeltramo, I jut ran into this issue. You need some ETH on the rinkeby test network in order to cover the gas prices. I followed this site's instructions  to receive some ETH, and it won't cost you anything. I just did this and it worked for me 👍🏼

Thank you for support. Effectively with only LINK the transation doesn't work. I added 0.1 ETH in kovan: https://faucets.chain.link/kovan (I tried rinkeby, but still waiting that ETH coming in my wallet..,) and I did successfully the test using kovan:
brownie run scripts/simple_collectible/deploy_simple.py --network rinkeby


username and pasword

Hi,
what is the user name and password to access hs3?

by default there is no username and password unless you set one i  your ini file
the first user is called default and password is blank IIRC
this assumes you are tryin to http:// to the homseer interface

For recent versions of Homeseer
U: default
P: default


Conditions for sending OnRCStatus with allowed parameter

Question is related to proposal https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0172-onRcStatus-allowed.md.
As allowed parameter is not mandatory, so conditions for it sending must be specified.
Please confirm the next:
SDL must sends allowed parameter with corresponding value in case of changing allowed/disallowed RC status on HMI.
SDL does not sends allowed parameter by module allocation/deallocation.
Also i have one question - In case RC functionality is disallowed on HMI and RC application starts registration, should SDL sends OnRCStatus(allowed = false, allocatedModules = [], freeModules = []) to new registered application?
According to current implementation in case of functionality RC is not allowed not a single notification are sent to mobile apps.
In case answer to the question is 'yes', so app registration is also triger to send allowed parameter.

@KhrystynaDubovyk , please be informed about question.

@GetmanetsIrina @KhrystynaDubovyk
The answer is yes for all questions.

@yang1070 , thanks!


GetMiddleware redirect failed

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
GetMiddleware redirect failed
Reproduction code
NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
example:
RouteSettings? redirect(String? route) {
    if (!UserStore.to.isLogin) {
      Get.reload<HomeController>();
      return RouteSettings(
          name: Routes.HOME, arguments: {"callbackUrl": route});
    }
    return null;
  }

To Reproduce
Steps to reproduce the behavior:

use redirect
Unsuccessful jump

Expected behavior
Normal Redirect
Screenshots
Flutter Version:
3.3.3
Getx Version:
Prerelease: 5.0.0-beta.52
Describe on which device you found the bug:
Web
Minimal reproduce code
RouteSettings? redirect(String? route) {
if (!UserStore.to.isLogin) {
Get.reload();
return RouteSettings(
name: Routes.HOME, arguments: {"callbackUrl": route});
}
return null;
}

same issue here. Any fix?

What did the trick for me was to use the redirectDelegate ovverride instead. For example:
  @override
  Future<GetNavConfig?> redirectDelegate(GetNavConfig route) async {
    if (*** is not authenticated ***) {
      var config = GetNavConfig.fromRoute( *** LOGIN ROUTE NAME ***);
      return config;
    }
    return route;
  }

GetNavConfig.fromRoute not working


Change other field if validation success

Hi,
I'm using React Redux, Redux-form and reselect library (https://github.com/reactjs/reselect).
I have a component with two Fields: quota and amount. I want to update the amount field based on quota field. For the calculation of amount I'm using a selector with reselect.
I want to update the amount field only if is valid quota.
I have tried without success onChange field props because it's executed before the selector.
The best solution I've found is to use onChange reduxForm() property because it's executed after the selector but I can't run after validation.
https://stackoverflow.com/questions/48911179/redux-form-change-other-field-if-validation-success

Closing since your SO question was answered.


Add isNotValid api

I don't know if it's a good idea but I see a lot of this implementation
if (!$validator->isValid()) {
}

In my opinion this is difficult to read.
I know that a new api is an important upgrade but this is very easy to maintain and the code is more readable!
if ($validator->isNotValid()) {
}

In this PR I have not added it into the Interface because it would be a big BC Break.. :)

I don't disagree with this.

I do disagree with this. isValid() is a boolean method, and this is what the boolean operator (i.e., !) is for. If you're testing for something being invalid, you test ! $validator->isValid($data).
More methods === more to support, and more to learn.


Add GetHelmValues

Towards https://github.com/giantswarm/cluster-test-suites/pull/19

Nancy is failing though 😞

I tried to update dependencies to make nancy happy but that wasn't possible. I just added to the ignorelist for now


Update copyright dates to 2016

Happy new year!

:tada:

Oh dear - By merging this it looks like we've inadvertently created merge conflicts for every existing PR! :fearful:


Fix the extra dependencies is incomplete

Only the first package in ingredients - packages is bundled due to a syntax error in the script.

Thank you very much, good catch!


Error: "Sorry, your upload didn't work."

The error started again.
I have a profile picture in mobile application, but it does not exist on the website. Interesting situation. I cannot upload profile picture in any way.

I'm getting an error while uploading the profile picture. The profile picture appears on the app screen, but unfortunately it is not in the browser and also the upload process does not work.


Revert "Fix issue with 'Self' metadata when class conforms to protocol with default implementations"

It broke the 32-bit iOS simulator, and possibly the 64-bit simulator as well. Reverts apple/swift#12174.

@swift-ci Please smoke test


Error with summarize interface

Hello! I'm trying to do a summary using the summarize method, but I get a type error. It looks like the interface is not ok.
I'm calling the API like this:
const summaryResponse = await cohere.summarize({
  text: documentData,
});

console.log("Summary: ", summaryResponse);

And I get something like this:
Summary:  {
  id: 'a78f3713-...',
  summary: 'This is a Request for Proposal (RFP) issued ...',
  meta: {
    apiVersion: { version: '1' },
    billed_units: { input_tokens: 3689, output_tokens: 100 }
  }
}

But when I actually want to access the summary like this:
console.log(summary.summary);

I get a types error. Looking at the interface, it looks like it's not correct, as it is expecting a results array (which of course, does not exist):
https://github.com/cohere-ai/cohere-typescript/blob/89c12f0ae5b64fa1577f872bfc150fef507e68ad/src/api/types/SummarizeResponse.ts#L7

Hey, @jpbalarini thanks for reporting this! This is an issue with our spec so I'm expediting a fix for you. Hope to release today!

Fixed in<EMAIL_ADDRESS>

That was fast! thank you 🥇


update resource docs

@cnunciato @sean1588  im running the commands here https://github.com/pulumi/docs/pull/8329#issue-1487972227
but that diff looks very wrong, thoughts?


How to inject global logger like zap into schema hooks

Hi @a8m, I want to inject a zap logger to log any errors that occurred while executing hooks but not sure how to do this? can you guide me? Thanks in advance.

Hey @dilipkk-foyernet, if you're using runtime hooks you can just pass it when you initialize the hook as follows:
func SomeHook(c Config) ent.Hook {
	hk := func(next ent.Mutator) ent.Mutator {
		return ent.MutateFunc(func(ctx context.Context, m ent.Mutation) (ent.Value, error) {
			v, err := next.Mutate(ctx, mutation)
			if err != nil {
				c.Log.Error(...)
				return nil, err
			}
			return v, nil
		})
	}
	return hook.On(hk, ent.OpCreate)
}

If you're using schema-hooks, you can add this info to the context.
Closing, but feel free to continue the discussion. You're also welcome to add it to #832 (FAQ issue).


Broken contract of aggregate functions

OrientDB Version: 2.2.37
Writing custom OSQLFunction. Per documentation: if function is to aggregate (aggregateResults() returns true) the final result should be taken through method getResult(). But in fact, result of last execute(...) is being returned.
Expected behavior
getResult() should be used on aggregate functions to obtain the final result;
Actual behavior
getResult() never invoked
Steps to reproduce
Trace any aggregate function: for example count() or sum()

Hi @PhantomYdn
Is it creating any bugs in query execution?
I'm asking because I checked the code in v 2.2 and 3.0 and I agree with you that the javadocs are misleading for the old executor, but they are OK for the new one (v 3.0 and following), so I don't know if it's worth changing it now...
Thanks
Luigi

@luigidellaquila , yes - it does. Problem is the following: calculation of a result require pretty good effort in our case and do calculations everytime instead of caclulate once at the end - it's killing performance.

Hi @PhantomYdn
In v 3.0 getResult() is used at the end of the elaboration to collect the results, as the javadoc says.
I got your point about performance, I'll check the old executor and see if I can optimize it
Thanks
Luigi


Pre commit Hook added.

closes #196
Changes Introduced:

Automated testing and pre-commit hook integration to ensure code quality and adherence to linting standards.
Added a GitHub Actions workflow file (build.yml) to facilitate automated testing and pre-commit hook execution.
Created a custom script (.github-workflow-script) to extract specific steps from the workflow file that contain the COMMIT_HOOKS environment variable set to "pre-commit".

Details:

The GitHub Actions workflow defined in build.yml is triggered upon pull requests targeting the "master" branch.
The workflow includes a job named "build" that sets up the Go environment, performs Go formatting checks, runs linting checks using golangci-lint, and builds the project.
The gofmt check step is conditioned by the presence of the COMMIT_HOOKS environment variable set to "pre-commit".
Upon triggering the workflow, the steps containing the COMMIT_HOOKS variable are extracted and executed as part of the pre-commit hook integration process.
This setup aims to streamline the development process by automating testing and enforcing code quality standards at each commit, contributing to a cleaner and more maintainable codebase.

@aryan-bhokare  have you tested the code in the local? if you have would you share ss or some example (otherwise i have to check it myself) Other than that i think we should follow this approach and add more checks. @SarthakJain26 @neelanjan00 what more checks we should add before committing other than linting and fmt?

I tried it in your code in a codespace but it is still letting me commit some empty lines.

can you try and tell after linking it with pre-commit hook in git like this?
ln -s ../../.pre-commit .git/hooks/pre-commit
i think this should work if you have already forked it, can you check it if its working?

I tried it in your code in a codespace but it is still letting me commit some empty lines.

can you try and tell after linking it with pre-commit hook in git like this?
ln -s ../../.pre-commit .git/hooks/pre-commit
i think this should work if you have already forked it, can you check it if its working?

Yeah I didn't try this step as it wasn't listed as a prerequisite in the description

Making Formatting Error

Result


introspect endpoint don't follow rfc7662

SECURITY NOTICE: If you have found a security problem in the UAA, please do not file a public github issue. Instead, please send an email to<EMAIL_ADDRESS>Thanks for taking the time to file an issue. You'll minimize back and forth and help us help you more effectively by answering all of the following questions as specifically and completely as you can.
What version of UAA are you running?
http://docs.cloudfoundry.org/api/uaa/version/74.15.0
What did you do?
Hit /introspect endpoint to fetch the scope.
What did you expect to see? What goal are you trying to achieve with the UAA?
According to RFC, the SCOPE should be a JSON String containing a space-separated list of scopes associated with the token. And this is how all the frameworks like Spring Security etc. and most of the major programming languages has built by following RFC.
RFC for Reference
"scope" : "scim.userids openid cloud_controller.read password.write cloud_controller.write
What did you see instead?
I get the scope as an array like below:
"scope" : [ "scim.userids", "openid", "cloud_controller.read", "password.write", "cloud_controller.write" ]

Thanks for bringing this to our attention @IIDarkKnightII - our Product Managers are looking into this and we'll update with our next steps, hopefully very soon!

Is there any update on this? We're currently blocked on this, as we're trying to integrate UAA with Kafka (which uses KeyCloak - which expects the scope to be a single string). I appreciate there's a backwards-compatibility issue here, but could it be added with a flag to switch between the two formats?

Hi @DanSalt backwards compatibility is the kicker. This issue isn't currently a priority for us, but we'd be open to a PR. If you wanted to put together a proposal describing how the flag would work and how you'd implement this feature we'd be happy to discuss it.


[BEAM-550] DatastoreIO Write PTranform for Bounded/Unbounded PCollections

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Implement Datastore Write as a composite transform of ParDo without using the Sink API
Generalize the transform for handling idempotent Datastore Mutations. This allows for a Delete transform for deleting entities.
Add an example that deletes entities from Datastore.

R: @dhalperi : This PR has both Sink as ParDo and the support for Mutations. Making them a separate PR would mean two refactors, so went in favor of just one PR.

But let me know if you prefer to review it as two separate ones, I will fix it.

There are three separate things; these should get factored out three ways.

Sink
Mutations
Example deleting.

Probably easiest to review in that order. Not sure we'll want to merge 3 into here vs posting it elsewhere.

@dhalperi sounds good. Sent another PR for Sink, https://github.com/apache/incubator-beam/pull/833.
Will be able to work on the other two once that is merged. Closing this PR.


Custom icon instead of submenu's arrow?

Can we pass custom icon component for submenu's arrow icon?

Hi @furkanmavili ,
The default submenu arrow is a CSS pseudo element, therefore you can change it by override the styles.
Please see an example.
If you use an icon component, you can put the icon together with text label into the label prop, and also override the default style to remove the original arrow.


[Question] How do you export piskel animations to gifs without alpha channel?

From my understanding, piskel animations do not support transparency but when I export into gifs, it says yes to having an alpha channel: https://www.dropbox.com/s/bprmnigo3q4ocbj/Screenshot 2020-06-11 22.56.25.png?dl=0
How do I export gifs without the alpha channel?

Couldn't you just use the fill tool to fill the background areas?


closes #118

limit topic length to 50
strip quotes
put same restriction on initial topics as with topics suggested by the user (no special symbols, only letters, numbers, - etc..)

The initial topic loader script should also be updated. Also, remove " from topic labels (e.g., topic_id 24)


Created el_GR files for Company address

Made some minor changes to the address file and created the company file for el_GR language.

Hi @lollypopgr,
Thanks for your attempt to contribute to Faker! The Travis-CI continuous server answered to your commit with some litlle warnings: *Not a big deal to fix ;-). This automatic check allows this project to remain stable & nice.
Just use the  make sniff test command in a terminal, in your Faker project root folder, in order to have a review for your contribution style & non-regression. The command will respond you with some improvements to make this project stable & nice:
FILE: ...Faker/src/Faker/Provider/el_GR/Company.php
--------------------------------------------------------------------------------
FOUND 5 ERROR(S) AFFECTING 5 LINE(S)
--------------------------------------------------------------------------------
  4 | ERROR | Line indented incorrectly; expected 0 spaces, found 1
  5 | ERROR | Expected 0 spaces before opening brace; 1 found
 50 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 5
 59 | ERROR | Line indented incorrectly; expected at least 8 spaces, found 5
 63 | ERROR | The closing brace for the class must go on the next line after the body
--------------------------------------------------------------------------------
UPGRADE TO PHP_CODESNIFFER 2.0 TO FIX ERRORS AUTOMATICALLY
--------------------------------------------------------------------------------

Have a look at PSR2 Standard Style to understand how to fix these unwanted spaces & bad closing braces positions.
We're looking forward to review your next commit ;-)

Bump. Please fix the CS issues or I won't be able to merge this PR.

Corrected this @fzaninotto . Sorry for the waiting.

Thanks!


Fix ClassLoader interaction with Spring Boot Devtools

If devtools are included in the project, they inject a custom ClassLoader that interferes with the correct initialization of the EntityManager (see #1).
The current solution is not to include Spring Boot Devtools in order to run the project. Check what would be needed to fix this issue and restore compatibility with devtools.

I think the only thing you need to do to fix this is telling Devtools, that it should include your JAR with the class loader that loads application classes by adding a META-INF/spring-devtools.properties. A project that needed to do something similar can be found here.

Thanks! I've just tested this and it works perfectly. I'll include it in the next release.


Incorrect language code

https://github.com/SimpleJWT/django-rest-framework-simplejwt/blob/eca3792486ae5c92fdae8c9f030613f112f6ea26/rest_framework_simplejwt/locale/de_CH/LC_MESSAGES/django.po#L9
Language code is incorrect here. Not sure if the binary needs to be rewritten.

Hey @Andrew-Chen-Wang I was just taking a gander at the similar locale folders and it seems like this was the convention.
Hopefully I'm not wrong. Thanks so much for your time :smile:

Cool, turns out .mo files also needs to be regenerated. I think django-admin makemessages -l de_CH is good enough to update it.


Update actions/upload-artifact to v4

Current behavior
Using v3
Suggested enhancement
No response
Additional context
No response

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


kicad-small: 7.0.10 -> 7.0.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for kicad-small is: Open Source Electronics Design Automation suite, without 3D models
meta.homepage for kicad-small is: https://www.kicad.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
kicad result is not automatically checked because some binaries stick around

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

9 total rebuild path(s)

9 package rebuild(s)

First fifty rebuilds by attrpath
kicad
kicad-small
kicadAddons.kikit
kicadAddons.kikit-library
kikit
python311Packages.kicad
python311Packages.pcbnew-transition
python312Packages.kicad
python312Packages.pcbnew-transition

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s9wb4iry1q1kjdr3f6svbpkl5wlc37dk-kicad-small-7.0.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/4920bd8ebc6af8d7e2d11606ea6f8bbca2203980#kicad-small

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s9wb4iry1q1kjdr3f6svbpkl5wlc37dk-kicad-small-7.0.10
ls -la /nix/store/s9wb4iry1q1kjdr3f6svbpkl5wlc37dk-kicad-small-7.0.10/bin

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

3 packages marked as broken and skipped:

python312Packages.kicad
python312Packages.pcbnew-transition
python312Packages.pcbnew-transition.dist

9 packages built:

kicad
kicad-small
kicadAddons.kikit
kicadAddons.kikit-library
kikit
kikit.dist
python311Packages.kicad
python311Packages.pcbnew-transition
python311Packages.pcbnew-transition.dist

Maintainer pings
cc @evils for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for kicad-small is: Open Source Electronics Design Automation suite, without 3D models
meta.homepage for kicad-small is: https://www.kicad.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
kicad result is not automatically checked because some binaries stick around

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

9 total rebuild path(s)

9 package rebuild(s)

First fifty rebuilds by attrpath
kicad
kicad-small
kicadAddons.kikit
kicadAddons.kikit-library
kikit
python311Packages.kicad
python311Packages.pcbnew-transition
python312Packages.kicad
python312Packages.pcbnew-transition

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1i6swp305mg3i7wxhjc0bkpmyzqjjr04-kicad-small-7.0.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/7c4514f8ccc9d8b887466d45df1068902cdb262b#kicad-small

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1i6swp305mg3i7wxhjc0bkpmyzqjjr04-kicad-small-7.0.11
ls -la /nix/store/1i6swp305mg3i7wxhjc0bkpmyzqjjr04-kicad-small-7.0.11/bin

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

2 packages marked as broken and skipped:

python312Packages.kicad
python312Packages.pcbnew-transition

7 packages built:

kicad
kicad-small
kicadAddons.kikit
kicadAddons.kikit-library
kikit
python311Packages.kicad
python311Packages.pcbnew-transition

Maintainer pings
cc @evils for testing.

duplicate of #290596
since i can't undraft this and was preparing my own PR anyway,
i'm closing this in favour of my PR


ODHack: Save liquidable debt data in a database

"Save liquidable debt data in a database.
Steps:

Load the data on loans for all lending protocols from the Google Storage. For example, https://storage.googleapis.com/derisk-persistent-state/zklend_data/loans.parquet is the file with loans for zkLend.
It contains the information about the user, protocol, the user's collateral and debt (tokens and amounts). Write the loading part in a way that the source can be easily changed from the Google Storage to a local database.
Compute the liquidable debt for any collateral token - debt token pair in the data, for any given price (use the same range of prices that is currently implemented). This is already implemented, but the code is not efficient and needs a refactor. Recycle the current code.
Save the data in a database."

Definition of Done
The code functions well, is documented and tested. The transformation is correct. The transformed data is being saved in a database.

Hi, can i jump on this issue

Hy @lukaspetrasek I'll love to work on this one

Hi, I wanna pick this one

Just to make sure, that I'm good candidate for this task. I will do next: Load loan data from Google Storage or a local database, refactor the existing code to efficiently compute liquidable debt for given price ranges, and save the results to a database.

Hi, assigning @iamnovichek , because this task is quite complex and they provided a good description of their approach.
@iamnovichek Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. What is you TG handler please? 🙏🏼
Consider joining our TG group.
See also our contributor guidelines.

Hi, assigning @iamnovichek , because this task is quite complex and they provided a good description of their approach.
@iamnovichek Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. What is you TG handler please? 🙏🏼
Consider joining our TG group. See also our contributor guidelines.

Yes, I'll be working on this issue. Also, I've already joined your TG group.


Fix sensor not responding on repeated use

Fir for #2  and hopefully #1  as well.
Moved the call to wake to occur before the soft reset command in init. Also added a wake call into the reset function in case reset() is used in user code. This will cause 2 wake commands when initialising, but ensures consistent state. Happy to discuss?
Sensor will still be in active state (not low power) until first measurement request. Good idea?

I've tested this, and sending the wake command before anything else does seem to be the key to reconnecting to the SHTC3.
With the version from adafruit:master I connected to the SHTC3, closed the Python session, opened a new one, and tried to connect to the SHTC3 again and got the I/O error as in #1. I then manually sent a wake command to the device, then tried again, and I was able to connect and get measurements from the SHTC3.
I then checked out @Cybot101 's Cybot101:sleepy-reset-fix branch and tried repeatably connecting to the SHTC3, and it worked every time.

thanks for testing :)

Hi, is this fix included in the version of the SHTC3 driver in adafruit-circuitpython-bundle-6.x-mpy-20201210? I'm using it on an Unexpected Maker FeatherS2 and it isn't happy after a soft reset. I can post example code if needed?

yeah it was included...you could also try grabbing the .py file from this release to be absolutely sure. posting an example would help!

Okay, I've updated adafruit_bus_device on the M0 Express and I'm in business. The SHTC3 soft reset works on it! So the problem is specific to the FeatherS2.

hmm! yeah the esp32s2 is very new, can you post an issue over on the https://github.com/adafruit/circuitpython repo?

Will do, thanks for your help @ladyada :)


[docs] Add the Page Model recipe

\cc @DevExpress/testcafe-docs
Text may need to be polished here and there - so just \cc if the approach is right and everything is technically correct.

yeah, it looks good with inline selectors

FPR

Anybody else?


How do I configure this?

I am running Black Screen for the first time. I'd like to change the font, and possibly the display colors, but there is no indication of where I should go to do that. Could we have more documentation on that point? (And maybe an Atom-style "edit user CSS" menu item, in the longer term?)

There is no possibility to change any configuration at the moment, sorry.


Aider fails to apply changes to my code

Model: 4turbo
Git repo: Tried with both `--no-git` and with a repository
Repo-map: using 1024 tokens
Use /help to see in-chat commands, run with --help to see cmd line args

Every few interactions I have with Aider end up failing with this error:
UnifiedDiffNoMatch: hunk failed to apply!

The file does not contain lines that match the diff you provided!
Try again.
DO NOT skip blank lines, comments, docstrings, etc!
The diff needs to apply cleanly to the lines in your file!

I'm using VSCode if that makes a difference. Happy to help/provide more information if needed.

Thanks for trying aider and filing this issue. There's a FAQ entry that might contain helpful information:
https://aider.chat/docs/faq.html#aider-isnt-editing-my-files

Thanks for trying aider and filing this issue. There's a FAQ entry that might contain helpful information:
https://aider.chat/docs/faq.html#aider-isnt-editing-my-files

I can restart aider and still get the same issue right away -- do you think it's something I'm doing wrong? I'd love some more ideas on how to mitigate this. BTW, the tool is really neat.

I'm only adding 2-5 files at a time. Not too large, probably under 2500 lines of code.

Per the FAQ, try only adding the files that will need to be changed for the task you are working on.

Yeah, that's what I'm doing.

If you can share the full output and the parts of the file(s) that it's trying to edit, I would be happy to try and debug more.
Also, can you share all the announcement lines when you launch aider, including the aider version number? Like this:
Aider v0.24.2-dev
Model: gpt-4-1106-preview using udiff edit format
Git repo: .git with 149 files
Repo-map: using 1024 tokens

@paul-gauthier I get the same error while trying to do aider --commit to generate a commit message for 5 uncommited files.
Here's the output:

aider --openai-api-base=http://<IP_ADDRESS>:8000 --openai-api-key dummy --model gpt-3.5-turbo-16k --commit
Aider v0.24.1
Add .aider* to .gitignore (recommended)? y
Added .aider* to .gitignore
Model: gpt-3.5-turbo-16k using whole edit format
Git repo: ../../../.git with 626 files
Repo-map: using 1024 tokens
Diff is too large to generate a commit message.
Commit a836d52 (no commit message provided)

I have the same issue have tried aider --model gpt-4-0613 also. I only have 80 lines of code and I have also tried multiple computers with the same issue.
Malformed response #4, aborting.
https://aider.chat/docs/faq.html#aider-isnt-editing-my-files
InvalidEditBlock: edit failed!
pos_product_bundle_pack.js does
not contain the exact chunk of SEARCH lines you specified.
Try again.
DO NOT skip blank lines, comments, docstrings, etc!
The SEARCH block needs to be EXACTLY the same as the lines in
pos_product_bundle_pack.js with
nothing missing!
pos_product_bundle_pack.js does
not contain these 2 exact lines in a row:
get_product_bundle_pack_data() {
    console.log("get_product_bundle_pack_data method called");

Aider is such a cool open-source AI coding tool, but unfortunately GPT-4-Turbo is soooo bad at generating unified diffs. Maybe we need a model specially fine-tuned for this task to make it work more consistently. Or even just a little more prompt engineering for the please-fix-my-diff step. Like, spin off a new chat instance, strip away all context except the file being edited and the diff being repaired, and engineer a prompt specifically optimized for unified diff repair. Maybe I will tackle this problem myself at some point and open a PR.

Suggestion: Add an /email-this-session-to-support' command to make it easy to report these situations.  It's unfortunately happening enough to impair the usefulness of the tool, which is a real bummer.

Suggestion: Add an /email-this-session-to-support' command to make it easy to report these situations. It's unfortunately happening enough to impair the usefulness of the tool, which is a real bummer.

Not a bad idea. That would make it easy to do create a fine-tuning dataset.

@fraschm1998 your are asking aider to generate a commit message for a very large set of changes. You'll see that it prints Diff is too large to generate a commit message.. Aider uses GPT-3.5 with a 16k token context window for commit messages. Apparently your diffs are larger than it can handle. You may need to just make your own commit message and move on.

Can we make the model used to generate commit messages configurable? We have a lot of GPT-4-Turbo credits and don't mind using 4 Turbo for that. I currently rarely use aider's commit message generator because 3.5 frequently doesn't have enough context window.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


No valid versions available for create-react-unity

Like mentioned in another issue, the wizard inside Unity doesn't work for me, so I tried  npm init react-unity on project root as mentioned in the comments, but I get a No valid versions available for create-react-unity error.

That comment was outdated. New script is:
npm init @reactunity

Thanks for updating the command!
If you don't mind, it seems that I have a (new?) problem: when I install the unity package in my project, I now have an error Library\PackageCache\com.reactunity.core@0.0.15\Runtime\Helpers\ResourcesHelper.cs(17,78): error CS1525: Invalid expression term '=' (repeats 4 times in the same file) and it seems that the ReactOS component and the ReactOS menu doesn't appear anymore. It worked on 0.0.14.
Thanks again!

@SuperLufkin  v15 is a very big update. I am not surprised there are new problems.
Looks like your Unity version does not support the new C# features. What Unity version are you using? I tested in 2020.2 and 2021.1 and it works.

Closing as the initial issue was solved.


codermirror / simplemde loading 3rd party javascript

In https://travis-ci.org/github/DefectDojo/django-DefectDojo/jobs/690298613 the job failed because 3rd party javascript could not be loaded. It is being loaded by codemirror which I believe is part of the simplemde markdown editor we use (Client-side).
Not sure if we feel fine with 3rd party javascript being loaded. Strange thing is nobody every complained about it when there must be corporate who haven't whitelisted this domain.
test_create_product (__main__.ProductTest) ... ×
Product added successfully.
{'level': 'SEVERE', 'timestamp':<PHONE_NUMBER>051, 'source': 'network', 'message': 'https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff - Failed to load resource: net::ERR_CONNECTION_RESET'}

I think the simplemde is deprecated anyway, so we need to find a replacement.

Looks like https://github.com/Ionaru/easy-markdown-editor is the most popular and active fork of simplemde.

Yeah, I thought I already documented that somewhere in an issue, but not sure. Should be more or less a drop in replacement...

Going to give this a try @valentijnscholten

@valentijnscholten I believe #2413 fixes this problem since we also turned spellChecker off.


Attribute shorthand for check blocks that could just be an expression

@Johnny_Bob on Reddit made this interesting comment on the v0.4.0 release notice thread posted there:

This looks very useful. BTW in some simple situations it could be nice to use decorators to specify contracts. Did you consider adding something like this?
#[pre(x != i32::MAX, "cannot add one to input at max of number range")]
#[post(y, y - 1 == x, "reverse operation did not produce input")]
fn add_one(x: i32) -> i32 {
        x + 1
}

@erichdongubler's response was:

Huh, I hadn't considered this before, but this actually sounds really interesting. I would only want to list some concerns I have with this:

Do you consider it worthwhile to implement this in Adhesion when this functionality already exists in libhoare? There are several arguments I can think of, but I'm uncertain of their value and wanted your thoughts:

Especially nice is keeping the check names the same (i.e., pre instead of libhoare's precond, double_check instead of invariant)
It lets users depend on a single library.

I don't believe that we can use non-string expressions in attributes right now, but I could be wrong. That's an implementation detail, though. :)
Adhesion currently is expected to work on stable, while custom attributes generally involve some hackery to work. I'm not sure how to get this to work, and would need some support to ship this (if it's possible). As an alternative, however, we might be able to make an alternate syntax possible when considering the next point...
How should this interact with the contract! macro? I might actually be able to implement an alternate syntax if the expectation is that a short version a la your suggestion will only work inside of a contract! block -- but I wonder if users might get confused if they try this outside of the macro usage. Some cases:

Attempted usage outside of contract! macro?
Attempted usage INSIDE a contract! macro?
Trying to specify pre and post blocks at the same time as the shorthand version should do...what? Should we accept it (if so, doing what?), fail silently, or throw an error? How important is it that the error be a good one?

Currently, Adhesion doesn't control conditional compilation -- that's still determined by individual statements and cfgs in the different check blocks. It would be necessary to offer similar control here, and some brief bikeshedding ( ;) ) on associated syntax would be necessary.

What do you think? I'm more than happy to do the work to implement this suggestion, because I really like it -- I'm just worried that it may not be possible or worth the effort yet.
EDIT: more details and grammar fixes.

I'd like to have this feature too. I saw it on libhoare and there it worked (a long time ago) maybe you could just adopt the old code to work with the current rustc?


Certificate Revocation Validation with CRL and OCSP for X509 Authenticator

Fixed with
https://github.com/wso2-extensions/identity-outbound-auth-x509/pull/17
https://github.com/wso2-extensions/identity-x509-revocation/pull/1

@IndunilRathnayake Can we close this now? Any pending work?

Feature for identity-x509-revocation added with :
https://github.com/wso2-extensions/identity-x509-revocation/pull/3
https://github.com/wso2/product-is/pull/3245

Feature is included in https://github.com/wso2/product-is master branch x509 authenticator has been upgraded.


Update check title and remove icon

It would seem that the ❌ icon is somewhat redundant in most scenarios that we've seen so far. If we look at the whole workflow run, then with or without fail-on-error we will still always see a red cross next to the check. This is also true for the checks visible in the Pull Request itself - we already have a ❌ from Github itself. There doesn't seem to be a reason to duplicate this icon with an additional one in the title of the check.
In order to make this a little more useful, I'd propose displaying the total number of tests that succeeded, failed, and were skipped in the title instead. This helps us see a short summary of what happened in the pull request checks section and removes the ❌ icon duplication.
Workflow summary
Before:

Pull  request
Before:

After:

@dorny, is the project still alive?

@LDaneliukas , @phjardas , @tdabasinskas , I ran into a similar issue as yourselves where there were features that I needed from this project and looked like it wasn't being updated any time soon, so I took the initiative to fork the project myself and build the enhancements into it with a colleague.
I have also now taken this PR and added the contents into that repo so you can use them :)
https://github.com/phoenix-actions/test-reporting/
https://github.com/marketplace/actions/test-reporting


Install via Python Wheel

create a universal wheel distribution

Wheels are now uploaded for all Channels packages, and will continue to be so.


Remove unused environment variables

I'm almost 100% onboard with this PR. However I do not want to remove the CONSUL_SERVER_IP just yet because we may end up porting all service discovery (even those local to the coordinator) to consul, we have a placeholder story to discuss that
Removing the LATTICE_USERNAME and LATTICE_PASSWORD is a good change that I'd merge in immediately. But let's hold off on the CONSUL_SERVER_IP until I can discuss the direction that we want to go with service discovery with the rest of the team later today.

We took another look at this, and as David indicated before, we decided to merge removing the LATTICE_USERNAME and LATTICE_PASSWORD variables, then re-included the CONSUL_SERVER_IP to support future service discovery on the Coordinator.
https://github.com/cloudfoundry-incubator/lattice/commit/0aa0814692539ef20bb7df93101be9e396c3a752
Thanks again!


Sipeed Maixpy Amigo and Cube, on board mic don't work

Hi,
i'am unable to get the internal microphone working on Amigo and Cube.
Have someone a working MaixPy source to check the internal mic ?
I tried several exemples, checking the correct I2S mapping pins, but no result.
Compiling, is ok, without runtime errors, but no result
I use the last 6.2 firmware (normal, not minimum)
Thank you very much for help.
Yves

Update :  Internal microphone work well when uploading "es8374.py" and care with i2c and i2s pins. The FFT demo work
But that work not for the Cube .. The error is "pins 33, 34 and 35 are used by unknown" (I2S Cube pins for receiver)
What is the correct definition for the Cube ?

https://wiki.sipeed.com/soft/maixpy/en/course/media/audio.html


Continuous deployment

Use an environment and deploy from GitHub to GCP.

FYI @gnopik now everytime a new commit is pushed on main, there is an automatic deployment of the Dashboard 😃 It happens all on GCP side. Of course, you can still deploy locally from your machine. There are some bits of info in the CONTRIBUTING.md.


Approximating the Speed of an Object and its Distance using OpenCV in Python

Proposed title of article
Approximating the Speed of an Object and its Distance using OpenCV in Python
Proposed article introduction
Computers are essential in today's technological age. They can make our lives easier by making other integratable tasks easier to perform such as speed and distance approximation.
We are going to see how to calculate the distance with a webcam using OpenCV in Python. Measure the distance from the object(face) to the camera, capture a Reference image and note down the measured distance using the Distance finder function.
Likewise, finding the velocity of the object, since speed is the relation of distance with respect to the given time, using coherent functions.
In this tutorial, We will require python packages such as numpy, cv2, mediapipe, math, ctypes, time, and among others to work with and well-explained details on their usage.
Key takeaways

Using OpenCV to find the distance of an object.
Finding the velocity or speed of the object.
Integration of the distance with respect to speed for simultaneous output.

Article quality
Unlike other articles, the code will be well explained and not just copy-pasted. But designed in an eccentric way for easier understanding and consumption. Deeply emphasizing the importance and use of packages.
References
N/A

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @GeekEdmund
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


The link to "non-allocating json test" in wiki is broken.

wiki page: https://github.com/dotnet/corefxlab/wiki/System.Text.Formatting

The file got removed here:
https://github.com/dotnet/corefxlab/commit/314281d5d862c032f6abdb752ced4fb8ba207918
"Removing files that were moved to a separate component
These moved to System.Text.Json"
I can't find it in the repo atm.

@mvacha, your markdown had an error pointing to the wrong url.
Your wrote: "wiki page: [https://github.com/dotnet/corefxlab/wiki/System.Text.Formatting](wiki)"
It should be: "wiki page: [wiki](https://github.com/dotnet/corefxlab/wiki/System.Text.Formatting)"

FYI


rust bindings by bindgen

https://github.com/rust-lang/rust-bindgen

Mostly done in mdbx-rs by @Kerollmops.


⚠ RbxVeri has degraded performance

In 945ddd1, RbxVeri (https://verify.triza.dev) experienced degraded performance:

HTTP code: 520
Response time: 1004 ms

Resolved: RbxVeri performance has improved in bf3a449.


apiHealth is never true

I upgraded to the latest swarm-desktop which uses the latest bee-dashboard but even though my ultralight node is running fine, desktop only displays "Node Error".   I believe I have tracked it down to a removed invocation of setApiHealth.
Previous v0.25.0 code invoked setApiHealth on the .then clause :
https://github.com/ethersphere/bee-dashboard/blob/16ffffb0c4d9c09152d026602d0c6193da08c9d8/src/providers/Bee.tsx#L325-L328
But the latest version (v0.26.1) no longer has that default invocation, but all references to setApiHealth are all (false).
https://github.com/ethersphere/bee-dashboard/blob/7f169bbabdf2a1edbed9cd56c1beda71d47fb644/src/providers/Bee.tsx#L268-L274

Fixed by #662 in #663


Few thoughts on this document

Hey, thanks for putting this together! So, I have a few thoughts that I feel like sharing with you:

You could simply use inline styles for non-reusable stuff:

const Thing = () =>
;

Instead of using the virtual class thing, you can simply use variables:

const styles = {
  'heading': 'caps h2 font-san-francisco'
}
const Title = () =>

;

It would also be nice to mention on the article that memorizing class names for either Tachyons or Basscss is definitely not a big deal since they're essentially mnemonics (just like vim does, etc)

I feel like sticking to this kind of approach is way more challenging for crazy fast paced projects (advertising) compared to products (startups). What do you think?

What do you think about this idea that I had? 😄

Again, thanks for putting this together and I hope my comments make sense 👍

@rafaelrinaldi thanks a lot for your feedback! I just pushed commits  5005fd9 be45abc which address some of the things you brought up.

 I tried Radium, but it wasn't as good as CSS.

You can simply use variables

Yup, that's what I used to do, but then I realized that using cn would be a cleaner API.

memorizing

Yup, I renamed it to "familiarizing"

way more challenging for crazy fast paced projects (advertising)

Maybe - I actually never worked for advertising/consultancy, so I can't say for sure.

atomify

I took a look! Cool idea. I starred it!

I've got a question. Doesn't it make more sense that the virtual classes are converted to real classes at buildtime instead of at runtime? Isn't that the same every time it gets loaded or do I misunderstand something?

Doesn't it make more sense that the virtual classes are converted to real classes at buildtime instead of at runtime?

Yes! Definitely. You can probably write a webpack script to do the build-time transformation, but I was too lazy (and cn is helpful anyway). With react, if you can avoid re-render (by using pure render), I think there's not much performance cost of doing runtime conversion.

Thanks for your answer, wasn't sure if it was possible


tiflash resource control design doc

What problem does this PR solve?
Issue Number: close #8126
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @windtalker  @SeaRise @yibin87

/hold
@guo-shaoge you can comment /unhold when you want to merge this pr

/merge

/approve


Rename Soma containers

SomaA -> SomaSinglePoint
SomaB -> SomaThreePoint
SomaC -> SomaSimpleContour

Current coverage is 100.00%

Merging #236 into master will not affect coverage as of 98ce993

@@            master    #236   diff @@
======================================
  Files           38      38
  Stmts         1511    1525    +14
  Branches         0       0
  Methods
======================================
+ Hit           1511    1525    +14
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 98ce993

Powered by Codecov. Updated on successful CI builds.


Basic structure of README for v2.0.

I'll put details regarding Android Gradle projects into gradle-android sample's README.

Closing this PR in favor of upcoming one from @ming13.


Generate app-shell as part of the prerender build process

Looking over documentation to build for prerender and for app-shell you have to go through the build process two separate times.
Make it possible so that when you execute the build for prerender as part of the same build process generate app-shell as well.
The benefit will be time saved instead of having to build twice.

Closing since at the moment, this is not currently in the roadmap.
Let's re-consider this request in the future.
Thanks.


add Honitsu resolver

close #36

Current coverage is 66.36%

Merging #88 into master will increase coverage by +5.46% as of ab5adf7

@@            master     #88   diff @@
======================================
  Files           45      45
  Stmts         1169    1109    -60
  Branches       309     285    -24
  Methods          0       0
======================================
+ Hit            712     736    +24
- Partial         64      67     +3
+ Missed         393     306    -87

Review entire Coverage Diff as of ab5adf7

Powered by Codecov. Updated on successful CI builds.


I think nvidia-driver is not working.

I think nvidia-driver is not working.
You have to check command nvidia-smi
If these command is not working, you have reboot your computer.
Maybe nvidia-smi works correctly.
Originally posted by @SnowMasaya in https://github.com/tensorflow/tensorflow/issues/255#issuecomment-384846967

Hi @Sameerbobde !
Could you please update the template too as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code/colab gist to reproduce the issue faced].Thanks!

bash: /usr/bin/nvidia-smi: No such file or directory
i have install nvidia-cuda-toolkit but that it is not showing

Hi @Sameerbobde ! Could you try again after pointing your file from Cuda installation location through environment variable . Thanks!


[FEATURE REQUEST] add a storageclass parameter to support mapping from storageclass name to nodePath

Hi there,
We have a case where we mount two type of disks to a node, let's say /mnt/faskdisk, /mnt/slowdisk. We want some pods which are I/O bound use the fast disk and the rest of pods use slow disk. But currently there is no way to configure it in this case.
We'd like to propose to add a feature to support a storageclass parameter and map from storageclass name to nodePath.
For example, we can customize two storageclass,
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: fast
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Delete
parameters:
  type: fast-type

and
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: slow
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Delete
parameters:
  type: slow-type

The configuration could be
kind: ConfigMap
apiVersion: v1
metadata:
  name: local-path-config
  namespace: local-path-storage
data:
  config.json: |-
        {
                "nodePathMap":[
                {
                        "node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
                        "paths": {
                               "fast-type": ["/mnt/fastdisk"],
                               "slow-type": ["/mnt/slowdisk"]
                         }
                }
                ]
        }

Then PV with fast storageclass will be created under the directory /mnt/fastdisk.  The PV with slow storageclass will be created under the directory /mnt/slowdisk

You can achieve it by creating another deployment of local path provisioner with a different provisioner name and config.

Thanks!


Project References docs/example are missing rootDirs (?)

I'm working on a prototype to rebuild the Bazel TypeScript support on top of Project References, basically following the paragraph
https://www.typescriptlang.org/docs/handbook/project-references.html

Some teams have set up msbuild-based workflows wherein tsconfig files have the same implicit graph ordering as the managed projects they are paired with. If your solution is like this, you can continue to use msbuild with tsc -p along with project references; these are fully interoperable.

where msbuild is replaced by Bazel. Seems very promising so far, however there's a snag.

Looking at Ryan's demo
https://github.com/RyanCavanaugh/project-references-demo
we see that each project uses an outDir setting to avoid sprinkling build outputs in the sources (yay)
https://github.com/RyanCavanaugh/project-references-demo/blob/master/core/tsconfig.json#L4
However in dependent projects there is no matching rootDirs option
https://github.com/RyanCavanaugh/project-references-demo/blob/master/animals/tsconfig.json
According to the README, the empty-sleeves branch deletes the code from the dependent project, so I would expect TS resolves from the .d.ts in the outDir. So I'm not understanding how the compiler could find /lib/core/utilities.d.ts to resolve imports like import { makeRandomName } from '../core/utilities'; that appear in /animals/dog.ts.
Indeed checking out the empty-sleeves branch, it doesn't seem to compile, seems like it's just out-of-date prototype code
tsproject.json:11:5 - error TS5023: Unknown compiler option 'referenceTarget'.

11     "referenceTarget": true

Another way to observe my problem: In my minimal Proof-of-Concept I am forced to specify a rootDirs setting.
https://github.com/alexeagle/ts_composite/blob/master/tsconfig-base.json#L7-L8
and in this case since Bazel creates output directory with the platform name in it, I can't really check in this file and keep the project portable between mac/linux/windows.

So the question is, does TS have some way of resolving the outDir from project references that I'm missing? Or is the rootDirs setting required to make this work?

I think this may be asking the same thing as #27572 which was closed without a resolution.

I am embarrassed to ask whether you meant to discuss rootDirs, or if you actually meant rootDir.

copying from a discussion with Daniel, here's an attempt at a simpler explanation:
src
|- foo/abc.ts
|- bar/def.ts

output
|- foo/abc.js
|- bar/def.js

foo and bar are separate projects where bar references foo.
We are compiling bar, and def.ts contains import from ../foo/abc.
If the sources for foo (src/foo/abc.ts) aren't present, this currently fails.
But foo/tsconfig.json has outDir: "../output/foo" so the compiler could have known to look at ../output/foo/abc.d.ts to resolve the import.

Having chatted on a call, it sounded like you're finding some issue where project references don't play well with a segmented source and output root.
src
 ├─ foo
 │   ├─ tsconfig.json ("outDir": "../../lib/foo"; "references": [{ path: "../bar" }] )
 │   └─ abc.ts
 └─ bar
     ├─ tsconfig.json ("outDir": "../../lib/bar")
     └─ def.ts

lib
 ├─ foo
 │   ├─ abc.d.ts
 │   └─ abc.ts
 └─ bar
     ├─ def.d.ts
     └─ def.ts

In this scenario, the idea is that abc.ts imports def.ts with a relative import. With project references, we always recommend that users import in a way that will work at runtime. So given the output directory structure, this is fine:
// src/foo/abc.ts

import * as def from "../bar/def.js";

Maybe what you were seeing is that in that case, resolution doesn't seem to be jumping to the output .d.ts files - it seems to resolve to the .ts file.
> tsc -b .\src\foo\ --verbose
[4:27:04 PM] Projects in this build:
    * src/bar/tsconfig.json
    * src/foo/tsconfig.json

[4:27:04 PM] Project 'src/bar/tsconfig.json' is out of date because output file 'out/bar/def.js' does not exist

[4:27:04 PM] Building project 'PROJECT_ROOT/src/bar/tsconfig.json'...

[4:27:07 PM] Project 'src/foo/tsconfig.json' is out of date because output file 'out/foo/abc.js' does not exist

[4:27:07 PM] Building project 'PROJECT_ROOT/src/foo/tsconfig.json'...

======== Resolving module '../bar/def.js' from 'PROJECT_ROOT/src/foo/abc.ts'. ========
Module resolution kind is not specified, using 'NodeJs'.
Loading module as file / folder, candidate module location 'PROJECT_ROOT/src/bar/def.js', target file type 'TypeScript'.
File 'PROJECT_ROOT/src/bar/def.js.ts' does not exist.
File 'PROJECT_ROOT/src/bar/def.js.tsx' does not exist.
File 'PROJECT_ROOT/src/bar/def.js.d.ts' does not exist.
File name 'PROJECT_ROOT/src/bar/def.js' has a '.js' extension - stripping it.
File 'PROJECT_ROOT/src/bar/def.ts' exist - use it as a name resolution result.
======== Module name '../bar/def.js' was successfully resolved to 'PROJECT_ROOT/src/bar/def.ts'. ========

However, I think that at compile-time we must be doing "the right thing" by rebuilding nothing and rechecking against the .d.ts files.
You can tell that the original .ts files aren't being rebuilt because the file structure of bar isn't getting hoisted into the output file structure, and you can test whether TypeScript is building against the .d.ts files by making bar's files massive, and rebuilding foo after a small change in abc.ts.
let fs = require("fs");
let output = "function foo0() { return 100 }";

for (let i = 1; i < 100000; i++) {
  void (output += `function foo${i}() { return foo${i-1}(); }\n`)
}

fs.writeFileSync("./src/bar/def.ts", output + ";export {};")

tsc --build ./foo

As a side note: the workaround you were trying for not finding the .d.ts files was to use rootDirs to virtualize the source .ts and output .d.ts files being in the same place. I don't know how well that would work, since if I recall correctly, project references changes resolution to prefer .ts files over .d.ts files if it finds both.

It's true that everything is working as intended when the referenced .ts files are resolved.
My problem is that those .ts files are not present on disk, like in Ryan's empty-sleeves example. That's because my build system (Bazel) allows you to parallelize the build on remote worker machines (or simulates this in a local filesystem sandbox to ensure hermeticity of the build). Each TS project is built in a separate build step and therefore in an isolated sandbox (or remote worker). So the filesystem at compile-time of bar looks like
 ├─ foo
  │   └─ tsconfig.json ("outDir": "../../lib/foo"; "references": [{ path: "../bar" }] )
 └─ bar
     ├─ tsconfig.json ("outDir": "../../lib/bar")
     └─ def.ts

lib
 └─  foo
     ├─ abc.d.ts
     └─ abc.js

My last caveat there raises a possible solution: always make the .ts sources of referenced projects available in the Bazel sandbox/remote worker. To fix the brokenness of the incrementality, we'll have to take extra care to make the tsc actions properly behave with --incremental. Of course for changes that affected .d.ts we already had the problem of Bazel re-triggering these build steps which would benefit from --incremental.
I'll leave this open as I still think it's reasonable to expect that module resolution should succeed given the structure on disk I pointed to, and given that Ryan had thought of such a scenario in that empty-sleeves branch.
It turns out that passing .ts/.tsbuildinfo files between Bazel build steps has a different problem which I'll file separately...

Any tips/workarounds here?

@aryeh-looker if you're asking about using TypeScript with Bazel, you might want to look at https://github.com/aspect-build/rules_ts which no longer needs any rootDirs settings.


[QUESTION] Draw Line on Point Hover for ChartJS v.2

So I'm trying to achieve the outcome of this JSFiddle (https://jsfiddle.net/haq5k2mw/) using ChartJS v.2. What I've achieved so far is that I was able to draw a vertical line when hovers on a POINT. What I want is that it draws a vertical line when the mover hovers over a gridline. Here's my code:
 Chart.plugins.register ( {
      afterDatasetsDraw: function(chart) {
        chart_type = chart.config.type;
        if (chart.tooltip._active && chart.tooltip._active.length && chart_type === 'line') {
             var activePoint = chart.tooltip._active[0],
             ctx = chart.chart.ctx,
             x_axis = chart.scales['x-axis-0'],
            y_axis = chart.scales['y-axis-0'],
            x = activePoint.tooltipPosition().x,
            topY = y_axis.top,
            bottomY = y_axis.bottom;

       // draw line
       ctx.save();
       ctx.beginPath();
       ctx.moveTo(x, topY+7);
       ctx.lineTo(x, bottomY+1);
       ctx.setLineDash([2,3]);
       ctx.lineWidth = 1;
       ctx.strokeStyle = '#ff7e01';
       ctx.stroke();
       ctx.restore();
     }
  }
});

Closing this issue. Found the answer here: https://github.com/chartjs/Chart.js/issues/2299

Hi,
good to hear to that solved your issue. Would you mind adding your code here? That would be awesome.
Thanks

I'm also interested in knowing your code!

just simply set the tooltip mode in your configuration to label or x-axis :)
config = {
  tooltips: {
    mode: 'label'  // or 'x-axis'
  }
}

Thanks for the code, Sabeljimenez. How to implement this into react?

@greysaga were you able to implement it in React ? Please confirm
Thanks

No I couldn't.
On Sun, Feb 17, 2019 at 5:46 PM Gagan Janjua<EMAIL_ADDRESS>wrote:

@greysaga https://github.com/greysaga were you able to implement it in
React ? Please confirm
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/4945#issuecomment-464435077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFdu_HGzxMPvubb-4yCCvhzTH9tBgVa6ks5vOSTfgaJpZM4Qcw3X
.

--
Grey Ooi
http://www.greysaga.com  |<PHONE_NUMBER>

@greysaga  I found out there is a plugin which does that. Here it is https://github.com/spkellydev/chartjs-plugin-lineheight-annotation ..
thanks

Thanks gj1118!

Thanks sabeljimenez


feat: Put dataset section behind a flag

This branch begins at v4.5.1 and hides the dataset section, for a release
in production.

Superseeded by putting the flags directly on main.


SdfImporter Feature Request

I've just read the ROS# announcement, and saw that you use URDF to simulate robots. This format is not suitable for description of simulation environments. The better format to use is http://sdformat.org/ used by Gazebo. It allows for other important specifications like joint limits, friction coefficients etc... And for those left only with a URDF model, there is the gzsdf tool that converts URDF to SDF (which, of course, doesn't contain any of the simulation-specific tags).
But anyways, great work!

In this  commit we realized exporting URDFs from Unity.
Since we are not currently planning to further go into SDF im-/export I am closing this issue.

Hi @MartinBischoff ,
Please allow me to share our views.
We came across this repository. We are very excited to evaluate this tool.
We understand why urdf is important. One reason we could find is that the ROS nav and similar packages expect URDF as robot description. However, one of the major limitation we came across while working with an URDF model is; we can not simulate those have chained joints. So we had to stick to sdf based models. chained joints models i.e. parallel gripper, complex suspension systems etc. Or the joints where parent and child links form a loop.
We think as the awareness for urdf limitation grow, the community might stick to sdf rather than that of URDF.  Hence, the request for having an SDF importer can be a valuable library for few developers like us. I wish to +1 for the need of sdf here.


Suppress LockDatabaseChangeLog and UnlockDatabaseChangeLog generators

Hi, @Linosh ! Thanks for the PR. We're going through and catching up on our ignored PR's. Can you provide some feedback on how this helps users? I'm confused on what this is expected to fix. Please reopen if you'd like to provide some more information! Thanks!

@r2liquibase honestly I don't remember, that was 5 years ago :). I wish I was smarter at that time and added some description. I'm fine with closing it. Thank you for the follow up!


NameError: name 'cats' is not defined

Traceback (most recent call last):
File "/workspace/famelink/HandRefiner/handrefiner.py", line 238, in
"c_concat": [cats],
NameError: name 'cats' is not defined

have fixed


fix: Really trash or restore taxonomy term

fix: Create event for trashing/restoring taxonomy term

It is a little complicated to explain this fix, so let's do it slowly.
Until now, the table term was (mistakenly) used to fetch the taxonomy term id, but this table has its own id order. It means: if we asked to trash the uuid 1 it was found in the term table. After that it entered the check at https://github.com/serlo/database-layer/blob/3de492861a34bdefa1db92a3d4472419675d5078/server/src/uuid/model/uuid.rs#L297-L301, where it could throw an error in case the uuid were a user or entityRevision.
ffc08e8 correctly uses the table term_taxonomy. It caused the error at left: `200`,  right: `400`', test-utils/src/lib.rs:82:9 (see https://github.com/serlo/database-layer/actions/runs/3790223750/jobs/6444681991),  because now there were no match for the uuid 1. But it led to the check in https://github.com/serlo/database-layer/blob/main/server/src/uuid/model/uuid.rs#L323,  skipping the script and returning 200, although nothing happened.
Now, I excluded also the entity revisions at all from the query (see be1b51d) and made it throw an error in case the uuid is not found in the query (see 3de4928), either the uuid do not exist or it is a user, an entity revision or something else that cannot be trashed).


PR #1194 follow up

@ahsonkhan, this is a response to the comments that you've left after #1194 was closed already.

Hey @antkmsft - can you please apply the Azure.Core label to PRs that impact Core only. It helps me with parsing the PR list during my routine polling of outstanding PRs :)


Properly expose trailing edge devices in python bindings

Description

Fixes #759
This PR properly exposes CCPACSTrailingEdgeDevices to the python bindings.

CCPACSTrailingEdgeDevice is retrievable using the uid manager from python
CCPACSTrailingEdgeDevice is retrievable via CPACS traversal and the new CCPACSTrailingEdgeDevices getters.

How Has This Been Tested?

Tested with the following python code, that previously did not work (see issue description):
from tixi3 import tixi3wrapper
from tigl3 import tigl3wrapper
from tigl3.configuration import CCPACSConfigurationManager_get_instance, CCPACSTrailingEdgeDevice

# open the CPACS file
tixi_handle = tixi3wrapper.Tixi3()
tixi_handle.open("D150_v30.xml")
tigl3 = tigl3wrapper.Tigl3()
tigl3.open(tixi_handle, '')

config = CCPACSConfigurationManager_get_instance().get_configuration(tigl3._handle.value)

# get trailing edge device by uid
uid_mgr = config.get_uidmanager()
inner_flap = uid_mgr.get_geometric_component("D150_InnerFlap")
print(type(inner_flap))

# get trailing edge by CPACS tree traversal starting at wing
wing = uid_mgr.get_geometric_component("D150_wing_1ID")
cpacs_te_devices = wing.get_component_segment(1).get_control_surfaces().get_trailing_edge_devices()
help(cpacs_te_devices)

te_device1 = cpacs_te_devices.get_trailing_edge_device(1)
help(te_device1)

te_device2 = cpacs_te_devices.get_trailing_edge_device("D150_InnerFlap")
help(te_device2)

Screenshots, that help to understand the changes(if applicable):
Checklist:

[x] A test for the new functionality was added.
[x] All tests run without failure.
[x] The new code complies with the TiGL style guide.
[x] New classes have been added to the Python interface.
[ ] API changes were documented properly in tigl.h.

I don't know why the codecov-action fails to upload the report with the pull request....Here is the coverage for the base branch: https://app.codecov.io/gh/DLR-SC/tigl/branch/759-fix-tedevices-python-bindings


Character is considered unarmed with a weapon in offhand

Multiple bugs here but hard to put into title and I didn't really want to spam up the issue tracker with a bunch of related stuff.
I found this import string someone else posted to reddit which is abusing a few bugs in PoB:
https://pastebin.com/R6y7LQsn

You can equip a weapon in your offhand while having no weapon in your mainhand. You can't do this in game.
In this case, the character is considered unarmed even though they do have a weapon equipped.

There's some other implications, such as a handedness / weapon type unrestricted skill will alternate between fist and OH and get any relevant unarmed bonuses on both, but I guess those are more like symptoms than bugs.

you can equip an offhand while having no weapon in your main-hand, in game
to do this you equip a weapon you cannot normally use in your main-hand, by temporarily using a stat boosting item, then equipping your offhand, and removing the stat boosting item afterwards.
This will disable your main-hand weapon, and keep the offhand in the offhand slot. The game will consider you being unarmed, and will never use the offhand weapon for any attack.

But after following that process, you will also not have the offhand weapon equipped, so @aggixx is still correct in that you can't equip a weapon in your offhand with nothing in your main hand ingame.

@Asday did you test that or did you assume that the offhand is also disabled by unmet stat requirements?
There exists a bug report on the forums claiming this is possible with a video proof.

I remember previously testing what @mesmerist8 suggests, and the disabled weapon providing no bonuses, but the method in your link is new to me.


[APPS-3559] Add validation for multi-product marketplace content

:stop_sign: Do not merge this PR (& bump the gem) until the corresponding changes to the ZAM builder are made :stop_sign:
Works on my machine.
Stuff this PR does:

Makes the keys short_description, long_description and installation_instructions mandatory in en.json (we'll accept description instead of short_description, for backwards compatibility)

Allows these mandatory keys (& the other mandatory key, name), to be scoped by product, e.g.

{
  "app": {
  	"support": {
	    "name": "App Name (support)",
	    "short_description": "App description (support)",
	    "installation_instructions": "How to install the app (support)",
	    "long_description": "A longer version of the description (support)"
  	},
  	"chat": {
	    "name": "App Name (chat)",
	    "short_description": "App description (chat)",
	    "installation_instructions": "How to install the app (chat)",
	    "long_description": "A longer version of the description (chat)"
  	}
  }
}

(if there's no product scoping, we fall back to expecting all of these as top-level keys)

Ensures that the products given (as in the example above) match the products in the manifest

Jira: https://zendesk.atlassian.net/browse/APPS-3559

@zendesk/wombat @zendesk/vegemite Ready for review. Is making these keys mandatory going to break anything I should know about? It's part of the Jira so :man_shrugging:

the mandatory keys already happens in apps_approval.  This is getting a bit confusing. Which gem is responsible for what.
What's the reason for the mandatory keys in this PR?

@fbvilela Wherever else the validation has to go, it's got to go here, otherwise ZAT users will mistakenly think their apps are valid.

Looks like apps_approval uses ZAS anyway: https://github.com/zendesk/apps_approval/blob/e5ae401eaddf05f54d9f80a1b9c7764b7e8cf0b1/lib/apps_approval/app_validation.rb#L20
I reckon all new validations should just go here, so there's one source of truth. If apps_approval is more strict than ZAS, we should fix that.

Since this PR introduces breaking changes, we should hold on merging this PR until the backend changes are merged and deployed.

@seangoedecke @fbvilela There was some discussion about where to put things when I was adding mandatory keys for name in en.json. It's definitely confusing for us to know what validation happens where, between ZAT, ZAS, and apps_approval. 😖
I was originally going to add checks for short_description, long_description, and installation_instructions as well but was told that ZAS should be checking for what private apps need (i.e. not care about those three, only care about name being present) and apps_approval checks for what public apps need.
Would it make sense to add some conditional checks here to only check for short, long, installation if the manifest says private: false? Seems a bit odd to fail private apps because of something that they will never use.

@nick-f Solid point. I've altered the code to keep name as the only mandatory key for private apps.

Is it worth booking some time together to make a decision about what should be in apps_validation and what in ZAS, even if it involves changing some stuff around? We can write it down somewhere for future reference

@zendesk/wombat Immediate upshot from our discussion: the validations in this PR can stay in ZAS, and this PR can be safely merged (once the changes to the builder are made). Time to provide thumbs?


[Enhancement] Remove unused jackson-mapper-asl due to CVE-2019-10202

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Introduce a token-manager class for token handling

The new TokenManager class will be responsible only for the token handling specifically.
Furthermore, I could change this way some private fields to protected: tokenInfo, expireTime, refreshTime.

Checklist

[x] npm test passes (tip: npm run lint-fix can correct most style issues)
[x] tests are included
[x] documentation is changed or added

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

I second @mkistler - I think the suggestion is good but I can live with the current code. @vmatyusGitHub what do you think?

In my custom authentication case also only 1 access token is in use, so I also think it is a valid request. I am open to implement it.

@mkistler and @dpopp07 Thanks for answering my concerns and reviewing my changes.

Can I ask any of you to merge this PR?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


picture over texts

currently, it renders pictures as border. border covers codes.
firstly coding it, i searched alternative methods.

adding JPanel to Editor.getCotentComponent()
Editor.getContentComponent()setBackground(null)
etc...

all of them didn't work good.
if you have an idea, please comment here.

like this


Runtime out of memory 0.9.5-stable

Hi
3 days ago I upgraded my influx cluster to the latest stable version 0.9.5 from <IP_ADDRESS>
Yesterday one of the servers in the cluster got 'out of memory' panic error, and I wanted to ask your help with the investigation.
The complete error (1400~ lines )listed on the gist file: https://gist.github.com/panda87/0c9be1092034f6971189
The second problem that this outage caused was that all the data from this server become unavailable, I've made a short test for that and COUNT(value) one of the measurements, in 2 servers I got high number (number of times the value in the measurements exists in the DB) and in the outage server I got number that closed to 0.
When I logged in to the outage server I found that it created new shard that doesn't exist in the other servers.

What do you think could be the reason, and how we can solve it?
How can I fix the problem in the outage server? and why this happened?

Thanks

@panda87 what are the results of SHOW SERVERS for each node in the cluster? What are the contents of influxdb/meta/peers.json on each node?

Closing due to new architectural changes with the clustering meta service. Please try recreating a cluster with version 0.10.0, and create a new issue if you run into any problems.


Set Content-Disposition header for Code downloads

The downloads for VScode and VScode Insider on https://code.visualstudio.com are not served with a Content-Disposition header that includes filename= to make sure that when downloaded with a tool the resulting file is given a sensible name. Please consider doing that. :)

New builds starting today should already have Content-Disposition:
➜  ~ http https://vscode.blob.core.windows.net/insider/28307d23f83a4842380b9e98b751cc50eaec218f/vscode-server-linux-arm64.tar.gz
HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: x-ms-request-id,x-ms-version,x-ms-lease-status,x-ms-lease-state,x-ms-blob-type
Cache-Control: max-age=31536000, public
Content-Disposition: attachment; filename="vscode-server-linux-arm64.tar.gz"
Content-Length: 30067707
Content-MD5: VGfLEO3xSwIK0gih49MvGQ==
Content-Type: application/gzip
Date: Thu, 06 Feb 2020 10:24:42 GMT
ETag: "0x8D7AAE5D2D445F7"
Last-Modified: Thu, 06 Feb 2020 09:20:35 GMT
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-blob-type: BlockBlob
x-ms-lease-state: available
x-ms-lease-status: unlocked
x-ms-request-id: 7b42a483-901e-0038-6bd7-dc8135000000
x-ms-version: 2013-08-15

+-----------------------------------------+
| NOTE: binary data not shown in terminal |
+-----------------------------------------+

I'm not seeing this on the links I get through code.visualstudio.com, e.g.
$ curl -L -v https://update.code.visualstudio.com/latest/darwin/stable > /dev/null

...

> GET /stable/c47d83b293181d9be64f27ff093689e8e7aed054/VSCode-darwin-stable.zip HTTP/2
> Host: az764295.vo.msecnd.net
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< accept-ranges: bytes
< access-control-allow-origin: *
< access-control-expose-headers: x-ms-request-id,x-ms-version,x-ms-lease-status,x-ms-lease-state,x-ms-blob-type
< age: 1118311
< cache-control: max-age=31536000, public
< content-md5: aqVhSAde+oRV7hE/F1N5/g==
< content-type: application/zip
< date: Wed, 26 Feb 2020 17:58:57 GMT
< etag: "0x8D7AF02D2AAD5AE"
< last-modified: Tue, 11 Feb 2020 14:58:15 GMT
< server: ECAcc (sec/969C)
< x-cache: HIT
< x-ms-blob-type: BlockBlob
< x-ms-lease-state: available
< x-ms-lease-status: unlocked
< x-ms-request-id: 528685e0-101e-00aa-4da2-e21683000000
< x-ms-version: 2013-08-15
< content-length: 87406778
<
{ [16383 bytes data]

@connor4312 This isn't retro active, so please test the insider URL: https://update.code.visualstudio.com/latest/darwin/insider


Dependency resolution does not take constraint dependency versions into account

Hey all,
I have a small request for advise.
We have a Kotlin project with a build.gradle.kts file in the root and a sub-folder containing another build.gradle.kts file. In that sub-folder file we define dependencies and constraints.
For some reason the generated dependency graph still has the dependency versions which are actually overwritten by the constraints. Is this the expected behavior?
Thanks a lot and have a nice day
👋

The generated dependency graph contains versions that are actually resolved during your build execution, so the dependency constraints certainly are taken into account.

What Gradle task(s) are you running to generate the graph?
Are you able to share a link to the GitHub Actions run?
Even better, can you publish a Gradle Build Scan for the execution and share that?

What Gradle task(s) are you running to generate the graph?

The gradle-build-action simply collects the dependencies that are resolved during Gradle execution. So you're either passing arguments to the action to tell it what to execute, or you're executing a Gradle task(s) in a later step.
The actual task(s) executed are what determines the graph that is submitted.
In your case, you must be executing a task in the root project that doesn't read the sub-project dependency constraints.

Hey @bigdaz,
unfortunately I was not able to figure out what I am doing wrong but I also don't have time to investigate any further.
I will close this issue for now and maybe create a new one in the future if I'll have new information.
Thanks for your help.


Update subscription validation to reduce errors

Description
Subscription validation should give up on a subscription if it has been deleted from the database.
Steps to reproduce
This procedure requires a working webhook endpoint that responds with OK on the validation call.

Temporarily stop the SubscriptionValidation function to prevent validation. This isn't necessary, but makes the next steps easier
Create a subscription.
(Quickly) delete the subscription.
Start the SubscriptionValidation function again.
Observe how failing to store the validate flag to the database triggers retry.

Acceptance criteria

[x] If subscription is not present it should not cause validation retries.

Development tasks

[x] Add handling of missing subscriptions to the logic related to subscription validation.
[x] QA
[x] Test

Manual test in AT24 successful. No hidden elements in queue after execution.
Logged error message: 2023-02-13T10:37:07Z   [Error]   Attempting to validate non existing subscription 310