Slim down composer package by removing examples directory from release.

I'm not really keen to exclude the examples directory and the other *.md files especially considering their neglible impact in terms of additional bandwidth and disk occupation. This change would affect the archives generated by GitHub that can have use cases beyond composer.
Is this a trend or a practice among other libraries or just a matter of personal preference?

I found the following article giving one opinion: http://blog.madewithlove.be/post/gitattributes/
Keep in mind that many people use composer to download dependencies for production sites. Downloading third party documentation and examples can be time consuming and goes to waste on these sites. The examples are still available to those who want them, but not forced on people during production deployment. As more and more 3rd party packages include examples, documentation and tests, the extra time spent during deployment of these sites really adds up. I've noticed these in my own deployments.


add(front-back):profil page

Add a profil page

Change username
Change password
Change/Add avatar picture
Change email
Delete profil

Profil page working changing nickname and email is fully dynamic --> 73c4ed12bbaf2a7585792953034f50780acb2e96 & 9f010509dfe98f98b67797ce666ea425ed33bd03
-Need to check refresh and access token who are generated with user name and email
-Need to check why when refresh after changing nickname who immediatly change in navbar nickname return to unchanged value after refresh

-Add new refresh and access token when changing username or email --> 45e38e00d1489c870a1ad3126876e2bed9a401ab & dbf27c99589b35020c12afacf01e8c8f2fd9c5a4
-Working even after refresh because of working new acces and refresh token

-Changing password working --> 9982fa8a165070ecfbbae1ce3be9b42bb4ac1bb6 & 6553b1a6aa8a8bcb3fde9bc31fb141310e92c288
--> Need to refacto back + front
--> Need to check security

-Adding and changing profil picture working --> 418ec9d42db519c57b220769fefc93f36c8e654d & 38e78b7c9358500aa3ef6fc7fcc5ecfc05955309
--> Need to refacto
--> Need to check security

-Fully working profil page ok
--> add security on front : 36f3b9c7ce1f03c5c847b00c82019434ea2747c1
--> Need to add some type verification on back
--> Last 'Problem' is the currency toogle doesn't change when changing reference currency on profil page need to navigate or reffresh

Add delete account (delete user + wallet + transaction) in the profil page : d76ae8549f43e9c3341af71e21128bfb835fc762 & e421a114ab4d357ad2c946e790506215e964ed09
--> Need to check security
--> Need to refacto

Fully working profil page merge on develop --> 1a431b636c623da6e0d3a95fc21cc9efb665a22b


debug.sh: fix handling of pods with no ip

See https://bugzilla.redhat.com/show_bug.cgi?id=1274591#c5
The errors here make me realize that we're operating on potentially-untrusted user-generated data from within a shell script that needs to be run as root... We're going to need to fix that. Until then, we should remember that the script is not safe for OpenShift users who don't trust all of their own users.

lgtm


[DO NOT MERGE] Investigation for #5843 HIP error

To see HIP log to investigate #5843. Please do not merge this.

pfnCI, test this please.

Jenkins CI test (for commit 5309ec3c7ce7e666f03afb097ac64927e56e4bc1, target branch master) succeeded!

Locally, I can artificially get errors that have the same appearance as #5843 by passing a duplicate name to  hiprtcAddNameExpression. I want to see if that is also happening on Jenkins by setting AMD_LOG_LEVEL here. I have limited the test execution only to test_product.py as we get plenty of logs emitted, however, which makes the failures go away. 😢


How to use npoi to insert a picture into the header of word

I wanted to insert a picture in the header of word, but I didn't know how to achieve it and couldn't find a way

Please follow this post and see if you can implement what you want.
https://stackoverflow.com/questions/35097640/add-image-into-a-word-docx-document-header-using-poi-xwpf

Please follow this post and see if you can implement what you want. https://stackoverflow.com/questions/35097640/add-image-into-a-word-docx-document-header-using-poi-xwpf

i need .net plateform solutions

NPOI is the .NET port of POI. That means you can use the similar methods/property in POI and figure out your solution via poi code.


Is there a limitation on how large a graph can graph4nlp handle?

❓ Questions and Help
Currently, I am using the NMT example using Graph2Seq model for a translation task. In my case, I have a large graph with many nodes and edges.
I would be curious to know whether there were any experiments with graph4nlp on large graphs. Were there any experiments regarding how large graph graph4nlp can handle effectively?

The backend of Graph4NLP is "DGL". Thus for this part, please refer to DGL scaleability. As for other parts such as the decoder, it is hard to give a certain limitation.

For my case, the input to the Graph2Seq is a large graph (with a mean of 2000 nodes in the dataset) but the output sequence is relatively small with around 15 tokens.

OK. I think you should try a small batch_size for a single GPU.

Thanks a lot for your insight. Closing the task.

@AlanSwift how I can select multiple GPU for the Graph2Seq model while feeding a large graph.


Odd temporary directory during installation

Hi all,
The current setup.py does a weird thing to find a temporary directory to install to:
        if self.user:
            self.build_temp = os.path.join(self.install_userbase, 'temp' + plat_specifier)
        else:
            self.build_temp = os.path.join(self.prefix, 'temp' + plat_specifier)

the dir that this returns is typically not user-installable without sudo.  Unless there's a reason for this odd path, this would be a better way of generating a temporary directory if that's what's needed:
        import tempfile
        self.build_temp = tempfile.mkdtemp()

though it should also be automatically deleted after install.
Best,
Joe

@joezuntz I'm closing this, as it no longer applies with the merge of #357.


Mega Feature: Add support for external references

Add ability to reference fields from external to the ResourceGroups resources that exist in the cluster.
For example, reference data from an existing ConfigMap:
Sample ConfigMap:
❯ k get configmap this -o yaml
apiVersion: v1
kind: ConfigMap
data:
  awsAccountID: "111122223333"
  clusterName: test-cluster
  eksOIDC: oidc.eks.us-east-1.amazonaws.com/id/EXAMPLE0123456789
  region: us-east-1
  subnetIDs: subnet-1111aaaa2222bbbbb,subnet-1111aaaa2222bbbbb,subnet-1111aaaa2222bbbbb
  vpcID: <vpc-1111aaaa2222bbbbb>

Option 1: Import an external resource explicitly without taking over control of it and reference values from other resources. Import by one of three options 1/ name, 2/ labels, 3/ annotations
spec:
  schema:
    apiVersion: v1alpha1
    kind: s3podidentity
    spec:
...
  resources:
  - name: externalConfigmap
    externalRef:
      apiVersion: v1
      kind: ConfigMap
      metadata:
          namespace: default
          name: my-config-map-name
          labels:
             prod: my-prod-label
          annotations:
             prod: my-prod-annotation
....
  - name: anyResource
    var: ${externalConfigmap.data.region}

Option 2: just reference it inline.
...
spec:
  schema:
    apiVersion: v1alpha1
    kind: s3podidentity
    spec:
      name: string
      namespace: string | default="default"
      region: string | default=${externalref.configmap.default.this.data.region}
      clusterName: string | default=${externalref.configmap.default.this.data.clusterName}

Option 1 contains more lines of yaml but is readable and easier to implement hence it is the preferred option.

This is a great idea! Instead of duplicating the same IAM policy or role across multiple references, we can create a centralized ConfigMap and simply reference it in the application.

This would be a very beneficial feature that would greatly improve the usability of kro.
It would allow the referencing of configuration from configmaps, and if ACK implements read only resources, would allow referencing of other AWS resources.

Definitely agree - option 2 is my preferred approach if that is feasible.  I can see cases where we would want a cluster owner would want to onboard a tenant and reference a resource created before running through the kro-orchestration tenant onboarding flow

+1


Fix issue with NaNs

Fixes an issue with comparing dataframes due to NaN values.

Codecov Report

Merging #58 (d454e70) into main (4329634) will decrease coverage by 0.07%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   94.71%   94.64%   -0.08%
==========================================
  Files          24       24
  Lines        1306     1306
==========================================
- Hits         1237     1236       -1
- Misses         69       70       +1

Impacted Files
Coverage Δ

pybryt/annotations/value.py
96.45% <80.00%> (-0.71%)
:arrow_down:

Continue to review full report at Codecov.

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


[ios] add not connected internet code

add not connected internet error code

@lybeen  thx for your contribution


Check thisClass argument of GetNameOfClass macro calls, fix class name returned by GetNameOfClass() overrides

Added a compile-time check on the thisClass argument of both itkVirtualGetNameOfClassMacro and itkOverrideGetNameOfClassMacro. Fixed the class name returned by three GetNameOfClass() overrides, including BinaryImageToLevelSetImageAdaptor::GetNameOfClass()

This line itkTypeMacro(Image, Object); here causes build failures, e.g. https://open.cdash.org/viewBuildError.php?buildid=9275586

PR open: https://github.com/InsightSoftwareConsortium/ITKMontage/pull/224.


Store HTTP JSON DAO base URL as data

Codecov Report

Merging #230 into server-update will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           server-update   #230   +/-   ##
============================================
  Coverage             62%    62%
============================================
  Files                 37     37
  Lines               2324   2324
  Branches             153    153
============================================
  Hits                1441   1441
  Misses               883    883

Continue to review full report at Codecov.

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

Note: Current diffbase is server-update. Will change once #228 lands.


Feature Request:

What problem does your feature solve?
Explore Endpoints -> Liquidity Pools -> All Liquidity Pools can not filter for pools that hold native reserves
Only Alphanumeric4 and Alphanumeric12 assets are selectable.

What would you like to see?
A toggle/selector to choose Native asset
What alternatives are there?
Manual manipulation of the URL for the GET request allows for searching liquidity pools that have native reserves
https://horizon.stellar.org/liquidity_pools?reserves=native

Thanks for the suggestion, @Row-Bear! 🙌 It will be added shortly.


Object detection 3d demo

3D object detection demo. Works with disk data, O3M Lidar and RPLidar.

Thank you @ad-daniel. The dataset that is used in demo is a KITTI dataset and is the most used dataset in this field (it is also used for 3d detection and tracking methods in OpenDR). It was possible to download it without registration earlier, but now you have to register. We have two small subsets of it (nano_kitti and mini_kitti) in FTP, but I don't think we should (and can) provide the whole dataset there.
Protos included are those that I used for the OpenDR presentation, so it is expected that it would be useful for others to use any of them.

Thank you! Seems ok to me too.
I have only one concern regarding the re-distribution of fonts (I see there is an arial.ttf inside the files). I do not know the terms of redistribution of the specific font (usually embedding is allowed for documents, but I think standalone re-distribution in apps in not allowed for windows fonts). Can you check if there is a specific term for Arial?

Thank you, @passalis, I removed the ttf file and made it work without it for this demo.


1.9.x - Github - Update setup of repos to be done via terraform

What?
To update the githubAdd body to setup elements in github via terraform call notusing API call.
Why?
Design decision, details @johndietz / @jarededwards .
How?

update gitops temlate to have new required terraform files
create a new module to wrap this terraform calls to create/destroy
update githubAdd/githubRemove to call terraforms to create/destroy github elements.

What would created via terraform?

the repositories(gitops/metaphors)
Webhook for atlantis

This was delivered on 1.9.0 by @johndietz / @jarededwards  PRs.
https://github.com/kubefirst/gitops-template/tree/main/terraform/github


How do you use a callback button to set off a command?

Required Information

Operating system: CentOS Linux 7.5.1804 (Core)
PHP version: 5.6.36
Using MySQL database: yes
MySQL version: 5.5.56-2.el7
Update Method: Webhook
Self-signed certificate: No

Expected behaviour
I'm trying to use a call back button to send a command to another chat instance.
I've used this as a guide. Everything looks like it's working up to passing the variable $command to the reply script. when I use the script as a normal command it works. Even changing the $text variable to the testing instance's chat ID works when I run the /reply command from my instance.
also,

At the moment there is no clean way to execute a subcommand.

is this still the case?
Context: I'm trying to use a bot to collect information and send it to me along with an inline keyboard that will contain buttons to either approve, deny, or message the applicant.  Upon clicking on approve or decline I want it to run another command on said applicants chat instance.
Actual behaviour
Nothing.
Steps to reproduce
script that runs on the applicants chat instance sending the inline keyboard
...
$inline_keyboard = new InlineKeyboard([
	['text' => 'Message '.$username, 'url' => 'https://t.me/'.$username],
	['text' => 'reply', 'callback_data' => 'reply_' . $chat_id], //this line
]);
$ndata = [
        'chat_id'      => '{my instance's chat id}',
        'text'         => 'Select an option',
        'reply_markup' => $inline_keyboard,
];
	return Request::sendMessage($ndata);
...

callback query script
...
$data = $callback_query->getData();
		$command = explode('_', $data);
		$command = $command[0];

		if ($this->getTelegram()->getCommandObject($command)) {
					return $this->getTelegram()->executeCommand($command);
		}
...

reply script
...
$testtext = explode('reply_', $command);
$text = $testtext[1];

		/*$message = $this->getMessage(); //verify this script works as a normal command
		$chat    = $message->getChat();
		$chat_id = $chat->getId();
                $text = $chat_id;*/

$data = [
            'chat_id' => $text,
            'text'    => 'worked',
 ];

return Request::sendMessage($data);
    }
}

Extra details
error log says nothing. (like it's hasn't actually been updated by the bot for a couple days now, not sure if it's even functioning propperly.)
debug log says:
...
* upload completely sent off: 20 out of 20 bytes
< HTTP/1.1 400 Bad Request
< Server: nginx/1.12.2
< Date: Fri, 12 Oct 2018 03:27:25 GMT
< Content-Type: application/json
< Content-Length: 75
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
<
* Connection #0 to host api.telegram.org left intact

 [] []

and in the update log i can see that the callback data does have the correct information
"data":"reply_{chat id}"}

One can make a callback handler inside a command (check if $this->getCallbackQuery() is not null, execute another branch of code), and stop trying to pass a parameter.
Personally, I did some sort of router inside CallbackqueryCommand.php.
It check first parameter of callback_data and execute appropriate command.
Later in that particular command I rewrote execute() method to route update to appropriate branch of code, and created executeMessage() and executeCallback() methods to handle different types of updates.

Consider this example:
For example we have SurveyCommand.php that sends callback with survey:param1:param2:...:paramN data.
First we need a router that will decide what command should be called upon sent data,
CallbackqueryCommand.php:
...

public function execute()
{

    // Explode query_data into chunks
    $query_data     = $this->getUpdate()->getCallbackQuery()->getData();
    $query_data     = explode(':', $query_data);

    // If there are two pieces, consider first one a command name and execute it
    if(\count($query_data) >=2){
        return $this->getTelegram()->executeCommand($query_data[0]);
    }

    return Request::answerCallbackQuery(['callback_query_id' => $this->getUpdate()->getCallbackQuery()->getId()]);

}

....

Code above will pass execution to SurveyCommand.php that should be able to handle it.
First e need to create a router to let user execute command directly as well as with callback.
Rename your execute() method into executeMessage() and add router into default execute() method.
SurveyCommand.php:
public function execute()
{

    // Command triggered with callback
    if($this->getCallbackQuery()){
        return $this->executeCallback();
    }

    // Command triggered with regular message
    return $this->executeMessage();

}

And last step - create executeCallback() method and add code that should be able to handle incoming callback data.
SurveyCommand.php:
public function executeCallback()
{

    // Explode query_data into chunks
    $query_data     = $this->getUpdate()->getCallbackQuery()->getData();
    $query_data     = explode(':', $query_data);

    // Do not forget to answer callback query here!
    Request::answerCallbackQuery(['callback_query_id' => $this->getUpdate()->getCallbackQuery()->getId()]);

    // Do something, like running different logic depending on first parameter, for example
    switch($query_data[1]){
        case 'param_1':
            // Logic goes here
        break;
    }

}

I hope now it's clear. )

Also in addition to the one above you can take a look at my similar approach: https://github.com/jacklul/inlinegamesbot/blob/master/src/Command/System/CallbackqueryCommand.php
(Sometimes putting full command name into callback data can be a waste since the field can hold maximum of 64 characters.)

@chuv1 I tried that and I get this error
mod_fcgid: stderr: PHP Fatal error: Call to a member function getChat() on null in /var/www/vhosts/.../Commands/SurveyCommand.php on line 81
and I'm using this to get the chat id
       $message = $this->getMessage(); 	$chat    = $message->getChat(); 	$chat_id = $chat->getId();

@chuv1 Thanks that worked! But how would one fetch user input in that survey?
trim($message->getText(true));  doesn't work as $message is null.

In this case there are no user input except query_data sent with a callback.
So if you use Conversation class, you can invoke it via
// Getting ID of the user that clicked inline button (note that no message used in this case)
$user_id = $this->getUpdate()->getCallbackQuery()->getFrom()->getId();

// Getting ID of the chat that have that message with button (note that this message is from the bot)
$chat_id = $this->getUpdate()->getCallbackQuery()->getMessage()->getChat()->getId();

// Invoke conversation
$conversation = new Conversation($user_id,$chat_id);

// And use as usual...

Awesome, it worked! Thank you so much!


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

A new inspection was created.

The inspection completed: 4 new issues


Groups

Hi, from what I saw the SDK doesn't support group management, I'll put some things here to understand how the groups API works

Create Group
Update group info
Send message in group
Remove group participant

Hey, Whatsapp Cloud API does not provide a Group management API.

It seems so, only in Business API =/


Refactor out type_check

This apply the same logic of https://github.com/ElementsProject/elements-miniscript/pull/74
removing a couple of unreachable, simplify things and very likely reduce binary bloat.
However, in doing so, I don't think this MR is equivalent to master for the logic used for get_child.
I suspect current master is broken and this fix it (or viceversa?), but I have to suspend this work for now.

Oops, needs (another) rebase.

Rebased!


996 general issue template

Close #996
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Code is formatted according to the tidyverse style guide
[ ] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue so that it closes after successful merging.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

@duniek Example

Background information:
Please provide the context and purpose of this piece of work. Links and screenshots are encouraged.
Box:
The more information the better and the faster this issue can be completed.
Definition of done:
Please define the deliverable or the desired outcome.
Box:
Example:

[ ] NEWS.md file created
[ ] all changes since the last release are highlighted


[JS] Cloud Logging limit exceeded crashes Genkit service

Describe the bug
Cloud Logging has a limit to the Log Entry. When using Logging with Genkit, it crashes the server if the payload is too large to be logged out and isn't handled gracefully.
To Reproduce
When calling a flow with a large payload of 1173202 bytes, if an error occurs in flow, logging fails and crashes the Genkit service as it tries to write out the entire payload.
Error:
Error: 3 INVALID_ARGUMENT: Log entry with size 754.2K exceeds maximum size of 256.0K
    at callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
    at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
    at /workspace/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Expected behavior
Handle the error? Not crash the service.
Runtime (please complete the following information):

Linux

** Node version
v20.16.0
Additional context
Quotas defined at

Thanks for reporting. We'll get this resolved.


Kmeans topics detection

A feature involving topics detection for unsupervised learning  (KMeans for ex) would be really welcome!

Thank you @ymentha14.
Version 1.0.4 supports representation.do_kmeans, representation.do_dbscan and representation.do_meanshift
Example:
import texthero as hero
import pandas as pd

df = pd.read_csv(
    "https://github.com/jbesomi/texthero/raw/master/dataset/bbcsport.csv"
)

df['tfidf'] = (
    df['text']
    .pipe(hero.clean)
    .pipe(hero.do_tfidf)
)

df['pca'] = df['tfidf'].pipe(hero.do_pca)
df['kmeans_labels'] = df['tfidf'].pipe(hero.do_kmeans, n_clusters=5)

hero.scatterplot(df,
                 col='pca',
                 color='kmeans_labels',
                 title="PCA BBC Sport news")

Return the following scatterplot:


new TokenRelay filter is always refreshing access token

Describe the bug
Spring Cloud Gateway didn't support refresh token until last milestone. (https://spring.io/blog/2020/11/18/spring-cloud-2020-0-0-m5-aka-ilford-is-available) I upgraded my project to support and use refresh token, and now i am using TokenRelay filter in spring-cloud-gateway, not in spring-cloud-security. But, access token is refreshed at every request although access token is not expired.
Sample
Here is the sample log in my first request

2020-12-15 14:08:16.036 TRACE 10828 --- [ioEventLoop-7-2] o.s.w.r.f.client.ExchangeFunctions       : [5bbf4c1f] HTTP POST http://localhost:8443/cas/oauth2.0/accessToken, headers={masked}
2020-12-15 14:08:16.041 TRACE 10828 --- [ctor-http-nio-8] o.s.http.codec.FormHttpMessageWriter     : [5bbf4c1f] Writing form fields [grant_type, code, redirect_uri] (content masked)
2020-12-15 14:08:17.328 TRACE 10828 --- [ctor-http-nio-8] o.s.http.codec.json.Jackson2JsonDecoder  : [5bbf4c1f] Decoded [{access_token=eyJ***.ey***.dD***, refresh_token=RT-2-b0yk***, token_type=bearer, expires_in=60, scope=custom_mod}]

the access token will expires in 60 seconds as you can see in log. But it is refreshing before expired.

2020-12-15 14:08:21.920 TRACE 10828 --- [ioEventLoop-7-2] o.s.w.r.f.client.ExchangeFunctions       : [7a6b8bbd] HTTP POST http://localhost:8443/cas/oauth2.0/accessToken, headers={masked}
2020-12-15 14:08:21.922 TRACE 10828 --- [ctor-http-nio-8] o.s.http.codec.FormHttpMessageWriter     : [7a6b8bbd] Writing form fields [grant_type, refresh_token] (content masked)
2020-12-15 14:08:22.737 TRACE 10828 --- [ctor-http-nio-8] o.s.http.codec.json.Jackson2JsonDecoder  : [7a6b8bbd] Decoded [{access_token=ey***.ey***.5O***, token_type=bearer, expires_in=60, scope=custom_mod}]

The reason for this is the default clockSkew value of 60 seconds in the AuthorizationClientProvider. This means that the access token is renewed 60 seconds before its expiration time.
See https://github.com/spring-projects/spring-security/blob/master/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizedClientProvider.java#L104

The reason for this is the default clockSkew value of 60 seconds in the AuthorizationClientProvider. This means that the access token is renewed 60 seconds before its expiration time.
See https://github.com/spring-projects/spring-security/blob/master/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizedClientProvider.java#L104


make CDI qualifier annotations work

As documented here, CDI qualifier annotations don't work for initializer parameters or attributes. This is representative of a rare class of problems where are Java framework is reading annotations written in Ceylon. (Typically Java libs read Java annotations, and Ceylon libs read Ceylon annotations.) Qualifier annotations are different because they are exposed to the Java lib via a meta-annotation.
I think the fix here is pretty obvious and straightforward: simply apply the generated @interface for a Ceylon annotation to both the field and the matching parameter. I can't see how this would break anything else.

@gavinking Isn't this a dup of https://github.com/ceylon/ceylon/issues/2427 ? (I can close my issue as your issue was linked from the  blog if you wish)
FTR my precise probleme was that a I wanted to create a CDI qualifier annotation in Ceylon, and use it to inject and listen to this event.
AFAICT it did not work and I had to define the event qualifier in Java. I guess @DiegoCoronel tried something like this, but I don't know if it was for an Event though.

@sgalles Well that's not clear. FTR, it's totally possible to write a qualifier annotation in Ceylon, at least as of 1.2.0. That's not the problem at all. The problem is that when using a qualifier annotation in Ceylon, you have to apply it to a constructor or method parameter. It doesn't work to apply the qualifier to the initializer parameter.
I'm almost certain that qualifier annotations will work with CDI event observer methods in 1.2.0, though I have not tested it.

Ah, yes @gavinking , you're right, it works with the event too. I've just realised that my actual problem was exactly related to this issue. I used the workaround that you describe in the blog entry https://github.com/sgalles/ceylon-dddsample/commit/c0e5a511d1b601dd947f7b9ac8d2f7a4a0ca89ed#diff-56379ec2d00532a9fd5bb5f7fb901a3eR45
Thanks

This should be fixed, but I've not tested it directly with CDI. Reopen if there are problems.

Thanks, @tombentley, I will have to try it out.

Yes, it works like a charm https://github.com/sgalles/ceylon-dddsample/commit/247dfa3ca943422fb9229cc8a5413f17cbb8009c


Sending shallow immutable lists across isolates may result in observable side-effects across isolates

User was writing blog post about isolates, which mentions that sending List.unmodifiable()s across isolates is very fast.
This is a bug:
import 'dart:isolate';

class C {
  int field = 0;
}

void main() async {
  final original = C();

  final rp = ReceivePort();
  rp.sendPort.send(List<C>.unmodifiable([original]));
  final copy = ((await rp.first) as List)[0] as C;

  copy.field = 1;
  print(original.field);
}

(Credits to @mraleph for reporting offline)

So I believe that I'm that blog writer.
My understanding is that the bug is;  immutable memory arrives in the spawned isolate as mutable.
I'm hoping the bug fix is that it arrives as immutable rather than removing the significant performance boost that sharing immutable memory between isolates delivers.

As far as I see it, it would be a breaking change if objects inside List.unmodifiable becomes immutable when sending over to an Isolate or when added to a unmodifiable list. The objects might not have been designed to become immutable in the first place which would break any usage of the objects after they become immutable. But it would also be a troublesome since the objects inside the unmodifiable list might be part of another object in the same message.

The objects might not have been designed to become immutable in the first place which would break any usage of the objects after they become immutable.

Could support be limited to lists of immutable objects (e.g. strings).
This is a highly useful use case and obviates the 2nd  problem you mentioned.

Could support be limited to lists of immutable objects (e.g. strings).

There have been some discussion about being able to have a general concept of immutable objects in Dart and be able to send such cheaply though SendPort: https://github.com/dart-lang/sdk/issues/49587#issuecomment-1204560576
But yeah, if nothing else, it would be nice if we can have a quick way to transfer basic types.

So I believe that I'm that blog writer.

@bsutton  It's just wonderful you automatically found your way here :+1: (I intended on trying to find out the author and reach out, but that's better)

I'm hoping the bug fix is that it arrives as immutable rather than removing the significant performance boost that sharing immutable memory between isolates delivers.

The root cause is that <imm-foo> = List.unmodifiable(<foo>) gives a shallow immutable list back: The returned <imm-foo> list cannot be modified, but all objects <imm-foo> references can be arbitrary mutable objects. In the above example an instance of C.
Sending SendPort.send(<imm-foo>) will give something to the receiver. Both sender and receiver will have an immutable list, but if they share it, then they also share everything transitively referenced from such a shallow immutable list. We cannot allow the transitively referenced things to contain mutable objects. So if the transitive graph contains mutable objects, we'll have to copy even the <imm-foo> list itself (as well as what it references).
I plan on first fixing this unintended bug in cl/281421 and then as an optimization, let us determine at construction time of List.unmodifiable() whether it's transitively immutable, and if so, mark it as transitively immutable, so any sent via ports will share it, see cl/281424. The ladder would e.g. share List.immutable([1, 'foo', List.immutable([true])]) and the SendPort.send implementation can see that by simply checking a bit on the <imm-foo>, so it's fast.

As a cross-reference for anyone finding this thread:

I plan on first fixing this unintended bug in cl/281421 and then as an optimization, let us determine at construction time of List.unmodifiable() whether it's transitively immutable, and if so, mark it as transitively immutable, so any sent via ports will share it

That work is now tracked in #51334 .


feat(explore): add config for default time filter

SUMMARY

First change to complete https://github.com/apache/superset/issues/13125: We add a new configuration DEFAULT_TIME_FILTER to allow admins to set a global default time filter for any new explore charts. By default this is set to None, which replicates the previous behavior ("No filter"). To get a default filter of -1w the configuration can be set to 'Last week' or any other value understood by Superset.
There is a minor change in behavior UPDATE_FORM_DATA_BY_DATASOURCE (when switching dataset in explore), the time filter is not reset anymore. This is similar to the behavior of other globally configured filters such as the row limit for explore, which also do not reset.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

New explore chart with DEFAULT_TIME_FILTER = None:

New explore chart with DEFAULT_TIME_FILTER = "Last week":

TESTING INSTRUCTIONS
Test default behavior

Go to datasets and click on users (example dataset)
Add updated (time) as a dimension (helps to verify)

Expected: No time filter is applied when running the chart
Test with new configuration

Set DEFAULT_TIME_FILTER = "2020-06-01T00:00:00 : now" in config.py
Go to datasets and click on users (example dataset)
Add updated (time) as dimension (helps to verify)

Expected: Default time filter is applied
ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/superset/issues/13125
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Apologies for the forced pushes, was rebasing and missed something during my merge. I should be done now :)

Hi, we are running superset 1.5.1rc1 right now and i guess in that there is no such support of DEFAULT_TIME_FILTER but i can see there a prop of DEFAULT_TIME_RANGE so is it possible if we hardcode its value to Last week and will it work for existing and new charts to have a default time range of Last week ?

Hi, we are running superset 1.5.1rc1 right now and i guess in that there is no such support of DEFAULT_TIME_FILTER but i can see there a prop of DEFAULT_TIME_RANGE so is it possible if we hardcode its value to Last week and will it work for existing and new charts to have a default time range of Last week ?

Yes, it should be same as DEFAULT_TIME_FILTER in config.py.


initial secretstore implementation of HashiCorp Vault

Description
This is an initial version of HashiCorp Vault secretstore implementation.
Issue reference
This PR closes: #81
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@yaron2 @youngbupark I added a few tests and resolved your comments.

LGTM, thank you!


1.Fixed the issue in the certificate structure file where the orphan …

…certificate flag was incorrectly judged when the certificate was inserted.
Describe your changes
Issue ticket number and link
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[ ] I read the contribution documentation and made sure that my changes meet its requirements

Fixed with: https://github.com/EVerest/libevse-security/pull/87
The code is actually correct. If we have a certificate that is at the root of the hierarchy, that is a certificate that is NOT self-signed and it is not part of a root-certificate's list (or the list of any sub-certificate of a root) then it means that it is a temporary orphan. A temporary orphan is a certificate that we are not yet sure that is orphan, since we did not finish inserting all the certificates in the list, which is 'locked' so to say, after a 'prune'.
If the certificate is found in the root list and it is not self-signed, there is an attempt to find the parent of the certificate. If it is not found, the defined state is to mark the certificate as being a 'permanent' orphan, that is we know for sure that it does not have any parent. In that case the is_self_signed is 0 and is_orphan is 1, but only after we pruned the tree.


Alertmanager and Prometheus CrashLoopBackOff

What did you do?
Deploying prometheus-operator using the latest helm chart on EKS 1.14 results in the following error:
prometheus-prometheus-operator-prometheus-0 prometheus-config-reloader level=error ts=2020-01-10T14:24:46.022632354Z caller=runutil.go:87 msg="function failed. Retrying in next tick" err="trigger reload: reload request failed: Post http://<IP_ADDRESS>:9090/-/reload: dial tcp <IP_ADDRESS>:9090: connect: connection refused"

> NAME                                                              READY   STATUS             RESTARTS   AGE
> alertmanager-prometheus-operator-alertmanager-0                   1/2     CrashLoopBackOff   227        18h
> prometheus-prometheus-operator-prometheus-0                       2/3     CrashLoopBackOff   5          5m15s

I saw this error reported on #2413, the suggestion was to update prometheus-operator to v0.29, but i'm already on v0.34. According to #2409 the root cause of the problem was the memory limit of 10Mi on the reloader pod, but looking at the current manifest the memory is already set to 25mi.
Couldn't find any other errors on the logs, the event log looks normal.

Prometheus Operator version: 0.34

Kubernetes version information: 1.14.7

Kubernetes cluster kind: EKS

Helm chart version: 8.5.4

Helm version: 3.0.2

This was fixed in a recent PR but not yet released: https://github.com/coreos/prometheus-operator/pull/2929.

Changed the prometheus-operator deployment to use the image tagged as master that already has the fix, but the problem persist. Am I missing something?

kubectl set image deployment/prometheus-operator-operator prometheus-operator=quay.io/coreos/prometheus-operator:master

What do you see when kubectl describeing one of the Prometheus Pods, does it have events that fail the probes?

I'm running into the same issue. @agusl88 were you able to solve this issue?


Add -ReZip to Close-ExcelPackage like in Export-Excel

Same use case as https://github.com/dfinke/ImportExcel/issues/254 and  https://github.com/dfinke/ImportExcel/issues/240 but for when you use Close-ExcelPackage instead of Export-Excel to create the file.
Also maybe add removal step for the $TempZipPath folder to cleanup/save space.

Thank you, looks good ❤


CPU: Add armv6 and armv8

The bottling architecture of 32-bit ARM is armv6.
The bottling architecture of 64-bit ARM is armv8-a.

See https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
and https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html


How to use this plugin

I installed this plugin on my Strapi installation with npm i strapi-plugin-import-export-content and run after that npm run build. When I open up the Admin UI I can't find an option to use the plugin.
Did I do something wrong or what do I have to do to use the plugin?

Im exploring the same issue with yarn add strapi-plugin-import-export-content and yarn build.

I agree there is no description at all

I have just installed this in Strapi 4 and it's also not showing up for me. I have an older project running strapi v3.6.5 and the same plugin at v0.4.1 works really well!
See screenshot of how it appears for me:


Debug VI posterior in GP study

Ref: https://github.com/openjournals/joss-reviews/issues/3285#issuecomment-842003491
Currently more different than they once were - wth?!

In the end I've just removed the variational inference example (in #21) because I couldn't get it to converge reliably on both GitHub actions and locally on my machine (even fixing version numbers and random seeds!) so I just gave up :/


Improve language used to describe 'available time'

It is not entirely clear what a user should write to in the form for 'available time'

The intention is that people write, in hours and minutes, how long they currently have available to them for pair programming.
E.g. If a user has 3 hours, they should write 3:00. (Or 03:00 ideally, but the backend is smart enough to know they are the same thing).
Please discuss your proposed language improvements below, and whoever gets assigned can make the appropriate change.
The form can be found on lines 49-72 in the Modal, in App.js in the src folder.
Changes may need to occur elsewhere - please discuss first.
Possible improvements include:

Clearer wording
Tool-tips / popovers
Placeholder examples

What if you said "Length of Time Available for Pairing (example: 03:00 = 3hrs)"?
Or, you could do "Length of Time Available for Pairing" and then have them choose from a dropdown menu that offered hours/minutes using 15 minute increments?

Similar @jv88899 's suggestion a slider could clarify as well as put the entry in the ideal format.
Longer term would you want to capture a schedule and time zone instead of raw hours available?

You could have an input for available start time and an input for available end time and then have them choose a timezone.

This introduces unnecessary complications I think - As soon as people start having to work out the timezone differences for themselves, it'll start putting people off.
Longer term some sort of scheduling tool might be good - but we'll get authentication and internal messaging off the ground first.

"Length of Time Available for Pairing (example: 03:00 = 3hrs)"

I like this language suggestion. That could be implemented straight away if you want to do it.

a slider could clarify as well as put the entry in the ideal format.

A slider could be good - we should think about the possible trade-offs between the accessibility implications and the improved data validation we get from a slider.

Any thoughts about the slider as a UI component in general?
Can it be controlled with the keyboard?
Can it be set to increment in 15 min blocks like the dropdown suggestion above?

If someone wants to test those ideas out and report back, we can decide how to move forward on that one.

I can take the task of changing the language to "Length of Time Available for Pairing (example: 03:00 = 3hrs). I'll work on it tonight (I live in Midwest US, Central Time).

:+1:

I think we should create a circle with question mark next to the label that shows tooltip when you hover over it. Inside that tooltip we can write explanation as long as we want.

That's a good idea @hristijankiko - There's a current PR open for this, so I'll see what changes were suggested there.
If it is still useful to add after that PR is merged we'll add that to the todo list.

Can it be controlled with the keyboard?
Can it be set to increment in 15 min blocks like the drop down suggestion above?

There are implementations where the answers can be yes and yes. There's discussion of how to approach sliders as a keyboard accessible enhancement in this ux.stackexchange question and this http://www.html5accessibility.com/ tracks which HTML5 elements have UA support in which browsers (range in this case is well supported in all browsers except IE where it's it's rated "partial")
Anyway, the slider's an enhancement to text data entry. The changes @jv88899 would clarify what's to be entered. And that's what the issue called for.

Language has been updated - if anyone wants to try implementing a slider, open a new issue / pull request :)


Plugin is not defined

Hello there.
I have seen many issues reported for this same problem but none of them solves or suits the issue i encounter.
I installed the plugin automatically and when i type "phonegap plugin list" i get this result:
android.support.v4 21.0.1 "Android Support v4"
com.google.playservices 21.0.0 "Google Play Services for Android"
plugin.google.maps 1.2.4 "phonegap-googlemaps-plugin"
plugin.http.request 1.0.0 "phonegap-http-request"
This is how i call the map:
var map;
var div = document.getElementById("map_canvas");
map = plugin.google.maps.Map.getMap(div);
I get this error:
ReferenceError: plugin is not defined
map = plugin.google.maps.Map.getMap(div);
The app is compiling without error, the map div (map_canvas) is shown but the map is blank no buttons no nothing.
Anyone have any idea about how to fix this?
Thanks in advance and best wishes.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8785433-plugin-is-not-defined?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

Do you use Android phone or emulator?
And does it have Google Play Services?

i am using android phone (Lenovo S820) yes it have google play services.

Ok, is there any error message in logcat?

Could you show me the whole logcat log?

"adb logcat" gives me result:
'abd' is not recognized as an internal or external command, operable program or batch file.
i have android platform-tools and tools added in Environment Variables but...
i am new to android development so i dont know how to handle this. sorry for being pain in the a**.
i am using windows 7

http://stackoverflow.com/questions/19168643/how-to-easily-view-and-filter-androids-logcat-in-windows

or http://stackoverflow.com/a/7829983

thanks for the reply, its too late here i will have to read and research tomorrow.
i will let you know what i will find out. thanks for the fast response.

ok finally i managed to get the log.
for those who run into the same problem here is how to get the log:
first of all go to (on your phone) settings -> developer options and check USB debugging and Stay awake.
connect the USB cable from the PC to your phone and in the phone select connect as usb device and click enable usb.
go to "Android\android-sdk\platform-tools" in command prompt where your Android SDK is installed and execute this command "adb devices" the result of the command should be something like
List of devices attached
0123456789ABCDEF        device
if instead "device" it says "offline" then you should disconnect and reconnect your phone.
if there is no device displayed then you done something wrong with the settings.
next go to "Android\android-sdk\tools" and start "ddms.bat" which will start Dalvik Debug Monitor.
next go to your project folder thru command prompt and execute this command:
phonegap run android --device
the application will be started on your phone and the log messages will start showing in the Dalvik Debug Monitor, you can then easy save the log messages to file from there.
ok now back to the issue, here is my log file (i will work on my filtering skills next, so sorry for the long log): http://www.fun-kids-games.biz/test/log.txt

Thanks, @svarc
I checked your log, but it seems it doesn't have any related messages from plugin, that's really weird.
Please send me your apk file to my email address<EMAIL_ADDRESS>

ok i will send you the apk and the whole source of my project. will reach you in few seconds.
thanks for your help.

@svarc
This plugin does not support PhoneGap Build, yet.

oh well :( then i wasted few days for nothing it seems.
thanks for your help, i really appreciate that. i am really sorry for taking your time.
thanks again and best wishes.

Sorry, I'm planing to support Phonegap Build, but I don't have enough time for it currently.

Sorry to interrupt, but I use this plugin with Phonegap Build just fine :)
In my config.xml:
  <gap:plugin name="plugin.google.maps" source="plugins.cordova.io" version="~1.2.4">
    <param name="API_KEY_FOR_ANDROID" value="xyz" />
    <param name="API_KEY_FOR_IOS" value="123" />
  </gap:plugin>

Works on both Android and iOS. :)

Thanks good information, @MichaelGooden
I haven't tested PhoneGap Build yet.
Would you write a tutorial page for PhoneGap Build?

https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/PhoneGap-Build

Hello, I am trying to integrate the module in my application but I have exactly the same problem as @svarc .(ReferenceError: plugin is not defined). So I have two questions.
-I Have read previously that the module is not yet compatible with "phonegap build". How should I build my application to obtain an apk?
-I Tried configuring config.xml, as indicated by @MichaelGooden but it still does not work. Apparently the same problem.
Thank you in advance.

Please view your app on PhoneGap Build, and go to the "Plugins" tab on your app (Next to "Builds" tab). Do you see plugin.google.maps under the "Installed Plugins" header?

Hi thank you for your response,
-I'm sorry but i'm a little bit confused when you talk about "PhoneGap Build". Usually i use the command line in order to build my app with this command "phonegap build android" . So, when you talk about PhoneGap Build, it is a reference to "Adobe® PhoneGap™ Build cloud service".
-When i lanch "phonegap plugin list" in my console i see this list:
android.support.v4 21.0.1 "Android Support v4"
com.google.playservices 21.0.0 "Google Play Services for Android"
com.phonegap.plugins.PushPlugin 2.4.0 "PushPlugin"
com.plugin.datepicker 0.4.0 "DatePicker"
org.apache.cordova.device 0.2.13-dev "Device"
org.apache.cordova.file 1.3.2-dev "File"
org.apache.cordova.file-transfer 0.4.6 "File Transfer"
org.apache.cordova.geolocation 0.3.12 "Geolocation"
org.apache.cordova.network-information 0.2.12 "Network Information"
plugin.google.maps 1.2.4 "phonegap-googlemaps-plugin"
plugin.http.request 1.0.4 "phonegap-http-request"
So, i the google map plugin are in the list , i hope that i responded to your question.
Thank you

Yes, I was referring to the "Adobe® PhoneGap™ Build cloud service". This issue is also specifically about that. If you use my code in your config.xml it will only work if you are using the PhoneGap Build service.
This issue will not resolve your problems. Follow all the instructions in the wiki, and if you are still having problems open a new issue :)

Thank you very much ;-) i'll try tomorow.

@MichaelGooden :+1:

Thanks @MichaelGooden and @wf9a5m75 for your help. i still havent tried what you said but i will do it in the next few days and post the results here.
@Axel-CH i found out something which might help in some way. when building your app use this command: phonegap -d build android > build.log
this will save all the build messages to a file "build.log" (which might be useful for debugging)in the same path from where you execute the command. same works for cordova too you just need to replace phonegap with cordova in the command.

Hi, finally the map is working ^^ . I had a SHA1 key mismatch. this link helped me : https://developers.google.com/games/services/android/troubleshooting
(now i have a css issue with my framework, so i'll chek the forum for similar issue)
Thank you guys ! @MichaelGooden @sangariv

Congrats, @Axel-CH
@svarc Have you tested ?

I close this issue at once.
If @svarc has any updates, please just post here. I will open this issue again.

I had problem with Phonegap Build Service. I used the solution as @MichaelGooden metioned above. Android apk was running perfect but in ios i received the message "Api key is not setted. Please replace 'API_KEY_FOR_IOS' in the platforms/ios/.../...Info.plist with your API key."
For some reason, API_KEY_FOR_IOS value was ignored.
I used the solution
<gap:config-file platform="ios" parent="Google Maps API Key" mode="replace">
    <string>xxx</string>
</gap:config-file>

https://stackoverflow.com/questions/30435391/plugin-plugin-google-maps-using-phonegap-build-service-doesnt-work-on-ios

hello, good day, im trying to implement this plugin on my phonegap build app but when I put the follow code the compiler fails:
<gap:plugin name="plugin.google.maps" source="plugins.cordova.io" version="1.2.4">
	<param name="API_KEY_FOR_ANDROID" value="here-my-api-key" />
</gap:plugin>

and the compiler display this:
http://coderbeat.com/uploads/log
any documentation how to use on phonegap build or has an example?

Can you try the latest version 1.2.5 first?

hi, i detect the problem, this plugin is not working with the last version of "Phonegap Build" cli-5.1.1 Android 4.0.2, if  I use the old version 3.7 compile OK. I dont know if is an bug of cloud service or of the plugin.

https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/516

thank you! working good with @Nipher version.

@wf9a5m75  i am using the plugin and tried to build through phonegap build .  In my config.xml i hav given like this
<gap:plugin name="plugin.google.maps" source="plugins.cordova.io" version="~1.2.4">

</gap:plugin>
But it shows GREY area and  map is not displayed. Can  i get some help ??

i have used the plugin and tried to build through Phonegap build.Map is just displayed as GREY area .
in config file i have given under param name the value of android and ios. but it shows grey. why does it shows like that?

I have this problem in build. Help me?
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:15: error: cannot find symbol
import org.apache.cordova.ScrollEvent;
^
symbol:   class ScrollEvent
location: package org.apache.cordova
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:138: error: cannot find symbol
root = (ViewGroup) webView.getParent();
^
symbol:   method getParent()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:197: error: cannot find symbol
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
^
symbol:   method setLayerType(int,)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:206: error: cannot find symbol
webView.setBackgroundColor(0);
^
symbol:   method setBackgroundColor(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:663: error: cannot find symbol
ScrollEvent scrollEvent = (ScrollEvent)data;
^
symbol:   class ScrollEvent
location: class GoogleMaps
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:663: error: cannot find symbol
ScrollEvent scrollEvent = (ScrollEvent)data;
^
symbol:   class ScrollEvent
location: class GoogleMaps
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:789: error: cannot find symbol
webView.setVisibility(View.GONE);
^
symbol:   method setVisibility(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:807: error: cannot find symbol
webView.setVisibility(View.VISIBLE);
^
symbol:   method setVisibility(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:879: error: cannot find symbol
divTop - webView.getScrollY(),
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/GoogleMaps.java:881: error: cannot find symbol
divTop + divH - webView.getScrollY());
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:53: error: cannot find symbol
this.root = (ViewGroup) webView.getParent();
^
symbol:   method getParent()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:55: error: cannot find symbol
webView.setBackgroundColor(Color.TRANSPARENT);
^
symbol:   method setBackgroundColor(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:57: error: cannot find symbol
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
^
symbol:   method setLayerType(int,)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:132: error: cannot find symbol
int scrollY = webView.getScrollY();
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:180: error: incompatible types: CordovaWebView cannot be converted to View
frontLayer.removeView(webView);
^
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:191: error: incompatible types: CordovaWebView cannot be converted to View
root.addView(webView);
^
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:200: error: cannot find symbol
scrollView.scrollTo(webView.getScrollX(), webView.getScrollY());
^
symbol:   method getScrollX()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:200: error: cannot find symbol
scrollView.scrollTo(webView.getScrollX(), webView.getScrollY());
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:214: error: no suitable method found for removeView(CordovaWebView)
root.removeView(webView);
^
method ViewManager.removeView(View) is not applicable
(argument mismatch; CordovaWebView cannot be converted to View)
method ViewGroup.removeView(View) is not applicable
(argument mismatch; CordovaWebView cannot be converted to View)
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:221: error: incompatible types: CordovaWebView cannot be converted to View
frontLayer.addView(webView);
^
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:261: error: cannot find symbol
webView.requestFocus(View.FOCUS_DOWN);
^
symbol:   method requestFocus(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:266: error: cannot find symbol
int scrollY = webView.getScrollY();
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:292: error: cannot find symbol
webView.requestFocus(View.FOCUS_DOWN);
^
symbol:   method requestFocus(int)
location: variable webView of type CordovaWebView
/home/leonardo/projetos/HelloMap/platforms/android/src/plugin/google/maps/MyPluginLayout.java:303: error: cannot find symbol
int scrollY = webView.getScrollY();
^
symbol:   method getScrollY()
location: variable webView of type CordovaWebView
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
24 errors
:compileDebugJava FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileDebugJava'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

The plugin works only with wifi. How to use with 3G?

It works with all network.2G,3G,Wifi. You need to give permission to access
your network.
On Tue, Jul 7, 2015 at 8:41 AM, Leomhl<EMAIL_ADDRESS>wrote:

The plugin works only with wifi. How to use with 3G?
—
Reply to this email directly or view it on GitHub
https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/411#issuecomment-119057667
.

--
Thanks and Regards,
Prasoon P

How? It does not work without wi fi. With 3G turned it asks to enable wi fi.

@007pRASoon did you solve this?
I have this problem, and sometimes it works if I open an app with geolocation permissions first (ie waze), so, I think it's a problem with the plugin activating geolocation.
I added this to config.xml with no success:
<feature name="http://api.phonegap.com/1.0/geolocation"/>

@erasmo-marin  the url in the name attribute isn't even working though.
If you're using the phonegap build cloud services, use it this way.
<gap:plugin name="org.apache.cordova.geolocation" version="0.3.10" />

@MichaelGooden your solution doesn't work anymore, plugins.cordova.io just got deprecated and can't be used.
I tried any other combination, from the one PhonegapBuild offers in his Plugin page (why it's still there? It doesn't load!) to the ones on the npm and the most promising seems this one: https://www.npmjs.com/package/cordova-plugin-googlemaps , that would translate into this on config.xml:
plugin name="plugin.google.maps" source="plugins.cordova.io" version="~1.2.4
But this plugin on npmjs doesn't seem to have any version below 1.3.0 and the ones above require some gradle configuration which I couldn't set properly (the prefence called "android-minSdkVersion" doesn't do anything), probably requires an AndroidManifest tweak.
I'm really puzzled about the state of this, isn't anyone using google map on phonegap build?

I tried installing it with Phonegap Build today and got the following error:
<gap:plugin name="cordova-plugin-googlemaps" source="npm">
    <param name="API_KEY_FOR_ANDROID" value="XXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
    <param name="API_KEY_FOR_IOS" value="XXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
</gap:plugin>

This is page the error links to but I don't see anything to fix it:
http://docs.build.phonegap.com/en_US/support_failed-builds.md.html#gradle_required
Adding preference name="android-build-tool" value="gradle" gave the following error (although shouldn't be required because from cli-5.1.1 onwards, gradle should be the default build):

@lengoyvaerts I have no problem with "Oh geez. Your build failed ...". In my case, the building process works.
Fortunately PhoneGap Build resolved the issue:
https://twitter.com/PhoneGapBuild/status/649051981936365568

@MilestoneCMS Yes, I found that gradle solution today on Twitter too :D but my problem is that I have to use a cordova version below 4, because of Drupalgap requiring it, so I can't use the last plugin with the gradle fix. I also found a previous version of the same plugin (forked) so it could work with Phonegap 3.7.0, but then I have the "Oh geez". If anyone is interested I opened a thread in the Phonegap forum:
http://community.phonegap.com/nitobi/topics/cant-build-with-google-maps-plugin

Hello
When building with PGB cli 5.2 using this plugin:
<gap:plugin name="cordova-plugin-googlemaps" source="npm" version="1.3.4">

</gap:plugin>
i get the following error

I have checked and the most updated version of this plugin is 1.3.4
Any thoughts would be much appreciatted.

Hi, I am using the phonegap google map plugin that you have mentioned, I use the online phonegap to build my apk
Just wondering where My config.xml should sit, in the root directory, res/xml/config.xml, www/config.xml, or root directory.
where should My index.xml sit in the root directory or www/index.html or root directory where .cordova.CORDOVA file should sit, I have in the same directory as my index.html,
and where the following files should sit. I have them in my root directory.
- AndroidManifest.xml
- package.json
- plugin.xml

also if I could get a copy of someone's index.html for code for the google maps plugin
At the moment I am getting a blank screen, but the google logo appears in the lower left hand corner.
The only reason why I get the blank google screen with the logo even showing is because I have
< script type="text/javascript" src="cordova.js">< /script>
in my index.html and the ".corodva.CORDOVA" file sitting in the same directory which is the www directory.
If I dont have this line of code I dont even get a blank google map screen, nothing appears at all
If I could get some answers on this from someone who has the plugin working that would be great.
Thanks


Create CLI for spawning multiple nodes on the same hostmachine

At minimum we need the following commands:

[ ] spawn: To spawn a new node.
[ ] kill: To kill a node.
[ ] readlog: To read a node's log by name.
[ ] nodes: To list the nodes running on the specified host machine (default localhost).
[ ] peers: To list the peers a particular node is connected to.


Adding sessions to website

With the user authentication, it is crucial to also introduce sessions in our website
What I could provide is-

Designing Session Management Schema
Implementing Session Creation Endpoint
Secure Session Handling
Session Expiration Mechanism
Session Persistence

Please assign me this issue so that I can work on it.

Text me the approach on discord
id: Vansh5238

Okay sir

assign me this issue under gssoc24

Can you please assign me this issue under Gssoc'24?

@biswarup-naha Start working on it , raise the PR when done !!

@VanshKing30 I've raised the PR, you can review and merge.


docs: fix a minor typo

Coverage remained the same at 94.971% when pulling 37e7ad5c31037f0fa25d96d2ac98e147c3752c26 on lazarljubenovic:patch-1 into 1677e4e64b3e0c5b3fef4695c91da678643650d0 on dsherret:master.

Thanks! I appreciate it. :)

No problem. Love the docs, they've improved a lot since I've checked them out last! :tada:

Cool. That's good to hear, but I know the docs still need a lot more work.


Pub upgrade to fix dev channel test

The main upgrade here is http_multi_server, which implements dart:io's HttpHeaders interface. That interface is getting an upgrade in 2.8.0, and the new version is made to match.

Lgtm


Add R: prefix implementation and unit tests

I have created a separate PR to clean up the git log.
Proposal for parametrized tests
Since all of the standard tests can be expressed in the form of [existing envs] + [ini file] -> [new envs], I propose having a parametrization with these three parameters. For more advanced tests, we can leave the previous example if there's a need.

Instead of this custom class can we just use pytest.param instead please?

Thank you for feedback, let me know if you'd have further comments/suggestions

Have few more comments also make sure CI passes.

Can you please allow change from maintainers? I can't push to this PR https://github.com/gaborbernat/pytest-env/commit/7c193da4420ceab55b12502821082e5ecefa4a1c

Can you please allow change from maintainers? I can't push to this PR gaborbernat@7c193da

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

It is already enabled for this PR (#9 ), let me know if I can do anything else

Please check the linked commit and apply all changes as are there, including naming.

Please check the linked commit and apply all changes as are there, including naming.

Changes applied, please review


fix: compile away env vars in un-minified hglib.js

Description

What was changed in this pull request?

Makes sure esbuild compiles away process.env.NODE_ENV environment variables in hglib.js. This happened previously in hglib.min.js since minify: true sets this behavior, but we need to do the same for the unminified build.

Why is it necessary?

loading the unminifed hglib.js currently throws in the browser because process is not defined.
Fixes #___
Checklist

[ ] Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
[ ] Unit tests added or updated
[ ] Documentation added or updated
[ ] Example(s) added or updated
[ ] Update schema.json if there are changes to the viewconf JSON structure format
[ ] Screenshot for visual changes (e.g. new tracks or UI changes)
[ ] Updated CHANGELOG.md

cc: @alexander-veit

Just tried it and it works.

These fixes ended up in #1141


[Ready] Get the correct current ID for nested resources

Fixes #1323 and #252
The current entry ID is taken using one of the following methods:

if a route resource has been used, the ID will be present in the request; so we'll get it that way;
if the route has been manually entered, the ID will be present as the next to last parameter; so @jrpub's method here will be used;

Let me know if you think of any way this would fail.
//TODO:

what happens if the route has a complex name for the current entity ex: (admin-panel, car-requirement etc)?

Background
Why I think it's a good idea to try $this->request->{$this->entity_name} before getting the next to last parameter. So that the ID is available even if the ID isn't the next to last parameter. Using @jrpub's method:

/user/1/post/2/edit would get 2 as the post_id; GOOD;
/user/1/post/2 would get post as the post_id; BAD;
/user/1/post/2/custom-action would get 2 as the post_id; GOOD;
/user/1/post/2/custom-action/subaction would get custom-action as the post_id; BAD;

But if we implement both, $this->crud->getCurrentEntryId() should cover those use cases. I may be wrong and overcomplicating this. Let me know if you think this is the case.
Cheers!

Tested, works well with nested entities like admin-panel, custom-tag, etc but just because it falls back to @jrpub's method.

Hi, your fix has impact on my admin panel.
https://github.com/Laravel-Backpack/CRUD/issues/1166
Fix with:
    function edit($id)
    {
        $instance = $id;
        return parent::edit($instance->id);
    }

doesnt work any more :( because your new method in my case return User Object instead numeric id i have again fatal error "Method withFakes does not exist.". If you use Route Binding, then in \Route::current()->parameters() array you have already objects:

@mgralikowski I'm afraid I don't understand. Could you please rephrase?

Nevermind, i disabled global Binding. It were more problems than profits.
If you still want see what i talked about add to Route Provider this:
public function boot()
{
parent::boot();
Route::bind('user', User::class);
}
After try edit user by admin crud.


Fluent middleware for routes

Kindly refer to: https://github.com/laravel/ideas/issues/1544
This PR would make it possible to use middleware aliases as method call on the route instance (utilizing __call magic method).
Thereby providing a way nicely and fluently call middleware; e.g. ->middleware('mwalias:arg1,arg2') can then be called as ->mwalias('arg1', arg2')

Apparently I messed up the PR and therefore had a bunch of unintended commits included with them. Sorry about that.
Might that have been your reason for closing it? Or don’t you like the idea behind it (the actually commit is this one: https://github.com/laravel/framework/pull/28244/commits/9c1b88fc9ef6b7a5a7c64dfa3ba2c5acade0aa34) ?
Whatever the reason, I obviously respect the decision not to merge this. It’s more of a proposal anyway
Van: Taylor Otwell<EMAIL_ADDRESS>Verzonden: woensdag 17 april 2019 15:29
Aan: laravel/framework<EMAIL_ADDRESS>CC: Eddie Palmans<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [laravel/framework] Fluent middleware for routes (#28244)
Closed #28244https://github.com/laravel/framework/pull/28244.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/laravel/framework/pull/28244#event-2282733420, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG7K809EDF69J1A0N05wjCgKIfth1HfWks5vhyGrgaJpZM4c0qx8.


Fix symbolic reference handling in getReferences

I also updated the example in general.js so that it would return symbolic references as expected.

:+1: looks good. I'm going to merge this.


Allow manual control of message acknowledge

Not sure if this issue should be here, but when I mark a message as failed for RabbitMQ, I wanna decide if I'll requeue or not based on the failure reason. Ex: JSON parse error should not be requeued but for other temporary errors I'll requeue to reprocess. I did a ad-hoc implementation trusting an internal contract and it's not ideal, but the impl looks like this:
def handle_message(_, %Message{data: payload, acknowledger: ack} = message, _) do
    {_, _, ack_data} = ack
    ack_data = Map.put(ack_data, :requeue, true)
    ack =
      ack
      |> Tuple.delete_at(2)
      |> Tuple.insert_at(2, ack_data)}

    message = %{message | acknowledger: ack}
    Message.failed(message, "failed")
end

Not sure the best option to have this through the API but I'll try to think about and propose something.

I had a discussion with @whatyouhide about this earlier today and we will work on a set of APIs to make it possible. We should open up new issues tackling the necessary steps, including making a distinction between failed and errored.

Closing in favor of #104, #105, and #106. :D Thanks for reminding us!


WIP -- refresh "Walkthrough: My first WPF desktop application"

Summary
Freshness review per https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1409936

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

If you add WIP to the title, it will block the PR from merging

@rpetrusha -- please review these changes.

@rpetrusha -- thank you for your close reading -- I am incorporating your suggestions now

closing -- my laptop died -- recreating on new PC


Inline {map,list}_statements in conversion to OpenAPI

Hi everyone, is this something that can be accomplished relatively easily?
I understand that lists and maps need to be defined verbosely and that there aren't any inline structures of this kind;
but this is very suboptimal when schemas such as "AdditionalConfigMap" are created in generation, where this is just supposed to be a Map<String, String>.
This also makes it hard to combine with other codegen tools such as datamodel-codegen.
I would ideally like to be able to replace them with simple "object" or "array" OAS types.

What are you getting currently for the converted shape and what output do you want instead?

I would like to be able to directly inline the shape upon conversion (similar to what it would look like upon conversion to Java e.g.), like so:
          "additionalConfig": {
            "type": "object",
            "description": "A map of key-value pairs",
            "additionalProperties": {
              "type": "string"
            }
          }
        },

Instead, it retains its Smithy symbol and turns into its own schema:
          "additionalConfig": {
            "$ref": "#/components/schemas/AdditionalConfigMap"
          }
        },
      "AdditionalConfigMap": {
        "type": "object",
        "description": "A map of key-value pairs",
        "additionalProperties": {
          "type": "string"
        }
      }

Thank you very much for your work!
Do you have an estimation on when this update can be consumed via Gradle? Just so we can adjust our spree accordingly.


Add cookies to the app

This task includes adding cookies support to the app.

I would like to work on this issue.

I would like to work on this issue,please assign it to me


Lint core

Really simple stuff:

[x] add override modifier where appropriate
[x] add explicit return type to (hopefully) all public class fields/defs
[x] add final modifiers to case classes

Thanks! I need to set up scalafix or something.


Add support for teams.live.com (Teams for friends and family)

At a glance:

https://github.com/FSMaxB/teams-wim/blob/29f344cd484b9a8b924f58891237aa82e26eb167/manifest.json#L11
https://github.com/FSMaxB/teams-wim/blob/29f344cd484b9a8b924f58891237aa82e26eb167/notifications.js#L206

Reference
Microsoft Teams for Friends and Family | Video Chat App
Personal features in Microsoft Teams – now on desktop & web (2020-11-19)

I just tested, when trying to use Teams Live in Firefox, I get an error message that my browser is not supported. So no point really to implement support for it in this plugin.
And didn't Microsoft build in support for real desktop notifications in the meantime anyways?

… didn't Microsoft build in support for real desktop notifications …

I don't know, but that probably explains why I see duplicates when I enable this extension :-)

browser is not supported.

True, we can get text chat but not video – https://discourse.mozilla.org/t/1623340-firefox-compatiblity-with-microsoft-teams/67381/5?u=grahamperrin


Fix HTTP client v4 operation name is empty issue

Please answer these questions before submitting pull request

Why submit this pull request?
[x] Bug fix
[ ] New feature provided
[ ] Improve performance

Coverage increased (+0.009%) to 24.685% when pulling 0b560c059857ff462a8fc3ef08f5d06f181e0b56 on ascrutae:fix/http-client-issue into d1684a74abd6d05e582b7e6db54be98c6f776ac5 on apache:master.


Error generating the client: A duplicate label already exists for this node: default (Parameter 'label')

How would one deal with a openapi spec like this with kiota?
I'm trying this:
.\kiota.exe generate -d https://treina.pncp.gov.br/pncp-api/v3/api-docs -o "api-client-treina" -l PHP
but i'm getting these errors:
Details

warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/ - Multiple servers entries were found in the OpenAPI description. Only the first one will be used. The root URL can be set manually with the request adapter.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/components/schemas/RecuperarDadosDocumentoTermoContratoDTO/properties/uri - The format uri is not supported by Kiota and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/components/schemas/RecuperarDadosDocumentoContratoDTO/properties/uri - The format uri is not supported by Kiota and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/components/schemas/RecuperarDadosDocumentoCompraDTO/properties/uri - The format uri is not supported by Kiota and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/components/schemas/RecuperarDadosDocumentoAtaDTO/properties/url - The format uri is not supported by Kiota and the string type will be used.
crit: Kiota.Builder.KiotaBuilder[0]
error generating the client: A duplicate label already exists for this node: default (Parameter 'label')

Any idea how can i tweak the command to have no warns or the critical error?

Hi @SHJordan, Thanks for using kiota and for reaching out. Can you confirm which version of kiota you are using please? Can you share your OpenAPI description? Can you also have a look at #3988 since your error sounds really similar.

.\kiota.exe --version
1.11.1+86b3a623dc3fb6b55fed6a49519ec837f0fbc02c
OpenAPI description is a API for inserting and reading information on PNCP gov website more info can be found here: https://www.gov.br/pncp/pt-br/pncp/integre-se-ao-pncp/manual-de-integracao/manualdeintegrao-pncpverso2-2-9.pdf
The json for it can be found here:
https://treina.pncp.gov.br/pncp-api/v3/api-docs
Taking a look into the other issue, seem really similar, although using C#.


Video incorrectly identified as "streaming live" and thus unavailable to download

Describe the bug
Failed to download with error: _5bgku9j1Og: _5bgku9j1Og is streaming live and cannot be loaded
This occurs for a number of videos, including OPNEzAduzIc, qPu51wNto2k, and KSljLOY4p4k, among others, and in none of these cases is the video live streaming.
This error is thrown with this line:
yt.streams.get_audio_only()
Or this one:
yt.streams.filter(only_audio=True).first()
After setup with this line:
yt = YouTube(f"https://www.youtube.com/watch?v={video_id}")
In other cases it works fine and a subsequent audio download works great. Not here for some reason.

Update on the error I get, starting at the pytubefix level:
`---------------------------------------------------------------------------
LiveStreamError                           Traceback (most recent call last)
Cell In[3], line 26
24 # Download the video
25 yt = YouTube(f"https://www.youtube.com/watch?v={video_id}")
---> 26 video_stream = yt.streams.filter(only_audio=True).first()
27 video_file_path = os.path.join(folder_path, f"{title.replace('/', '')}.mp4")
28 video_stream.download(output_path=folder_path, filename=f"{title.replace('/', '')}.mp4")
File c:\Users\shaff\anaconda3\envs\llm_env_311\Lib\site-packages\pytubefix_main_.py:564, in YouTube.streams(self)
[558](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:558) @property
[559](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:559) def streams(self) -> StreamQuery:
[560](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:560)     """Interface to query both adaptive (DASH) and progressive streams.
...
[359](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:359)         raise exceptions.VideoUnavailable(video_id=self.video_id)
[360](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:360) elif status == 'LIVE_STREAM':
--> [361](file:///C:/Users/shaff/anaconda3/envs/llm_env_311/Lib/site-packages/pytubefix/main.py:361)     raise exceptions.LiveStreamError(video_id=self.video_id)
LiveStreamError: _5bgku9j1Og is streaming live and cannot be loaded`

@JuanBindez We need to remove the"isLiveContent" check
From video:
'''
...
"allowRatings": true,
"viewCount": "32",
"author": "Town of Huntersville, NC",
"isLowLatencyLiveStream": false,
"isPrivate": false,
"isUnpluggedCorpus": false,
"latencyClass": "MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL",
"isLiveContent": true
},

Thanks, this was enough info for me to figure out my next step. For the moment in my own use case I just commented that check out in my package code and that worked great. Will look for a fix at some future point but I'm good for now; much appreciated!


Atom consumes a full core after start

System is Ubuntu 14.04 on a Lenovo X230, i7 4 cores, 8 Gig, SSD. atom is updated to 1.3.2 from the .deb file downloaded from atom.io just now.
Regardless whether I open with atom or with atom --safe mode, a second or so after the window opens, the fan of my computer goes up and the disk light turns on. The system monitoring shows that atom is using up 100% CPU, and also 1.4 Gig of memory. Luckily, atom 1.3.2 eats only one of my cores. The 1.0.2 release was eating all cores and all I could do was turning the computer off. But still the weird disk activity eats up the battery much too fast so that I is still unacceptable for any practical use.
There are not many or huge files open, just one 150 lines python file from the last testing session. But my home dir holds 140k+ files, totalling in 130 Gig of storage.
Any hints or fixes?

@flaschbier is that python file by any chance directly under your home directory (eg ~/file.py)?

Nope, it is in a subdirectory two levels deep from my home dir. The excessive (both CPU and memory) resource consumption is the same when I start atom right from that directory.

@50Wliu Seems that it really has something to do with my large home dir. After your comment I changed to the respective subdir and opened a file directly with atom somescript.sh (instead of atom alone before). Now the folder area on the left is limited to the subdir and CPU as well as memory consumption are moderate.

Just specifying atom will start Atom up with a saved workspace state that contains the same files, folders, etc. that you had open last time, whereas atom . will start Atom with only the current folder selected.
So in this case, it looks like you're hitting #6437 - I would suggest that you subscribe there for updates.


sinkv2(cdc): fix sinkv2 grafana

What problem does this PR solve?

Issue Number: ref #5928
What is changed and how it works?
add changefeed and instance filter to sinkv2 panel.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

/label needs-cherry-pick-release-6.5

/area ticdc

/cc @hi-rustin
/cc @zhaoxinyu

Please add the screenshots before and after this fix.

/merge


animation in heatmap missing

animation in heatmap missing when series coordinates changes for same data point
it should be like treemap animation
Version & Environment [版本及环境]

ECharts version [ECharts 3.5.2]:
Browser version [chrome]:
OS Version [windows10]:

/// http://gallery.echartsjs.com/editor.html?c=xrJl-RimTx
var hours = ['12', '1', '2', '3', '4', '5', '6',
'7', '8', '9','10','11',
'24', '13', '14', '15', '16', '17',
'18', '19', '20', '21', '22', '23'];
var days = ['mon', 'tue', 'wed',
'thi', 'fri', 'sat', '周日'];
    var data = [[0,1,15],[0,2,-11],[0,2,0],[0,3,0],[0,4,0],[0,5,0],[0,6,-3],[0,7,0],[0,8,0],[0,9,0],[0,10,0],[0,11,2],[0,12,4],[0,13,1],[0,14,1],[0,15,3],[0,16,4],[0,17,6],[0,18,4],[0,19,4],[0,20,3],[0,21,3],[0,22,2],[0,23,5],[1,0,7],[1,1,0],[1,2,0],[1,3,0],[1,4,0],[1,5,0],[1,6,0],[1,7,0],[1,8,0],[1,9,0],[1,10,5],[1,11,2],[1,12,2],[1,13,6],[1,14,9],[1,15,11],[1,16,6],[1,17,7],[1,18,8],[1,19,12],[1,20,5],[1,21,5],[1,22,7],[1,23,2],[2,0,1],[2,1,1],[2,2,0],[2,3,0],[2,4,0],[2,5,0],[2,6,0],[2,7,0],[2,8,0],[2,9,0],[2,10,3],[2,11,2],[2,12,1],[2,13,9],[2,14,8],[2,15,10],[2,16,6],[2,17,5],[2,18,5],[2,19,5],[2,20,7],[2,21,4],[2,22,2],[2,23,4],[3,0,7],[3,1,3],[3,2,0],[3,3,0],[3,4,0],[3,5,0],[3,6,0],[3,7,0],[3,8,1],[3,9,0],[3,10,5],[3,11,4],[3,12,7],[3,13,14],[3,14,13],[3,15,12],[3,16,9],[3,17,5],[3,18,5],[3,19,10],[3,20,6],[3,21,4],[3,22,4],[3,23,1],[4,0,1],[4,1,3],[4,2,0],[4,3,0],[4,4,0],[4,5,1],[4,6,0],[4,7,0],[4,8,0],[4,9,2],[4,10,4],[4,11,4],[4,12,2],[4,13,4],[4,14,4],[4,15,14],[4,16,12],[4,17,1],[4,18,8],[4,19,5],[4,20,3],[4,21,7],[4,22,3],[4,23,0],[5,0,2],[5,1,1],[5,2,0],[5,3,3],[5,4,0],[5,5,0],[5,6,0],[5,7,0],[5,8,2],[5,9,0],[5,10,4],[5,11,1],[5,12,5],[5,13,10],[5,14,5],[5,15,7],[5,16,11],[5,17,6],[5,18,0],[5,19,5],[5,20,3],[5,21,4],[5,22,2],[5,23,0],[6,0,1],[6,1,0],[6,2,0],[6,3,0],[6,4,0],[6,5,0],[6,6,0],[6,7,0],[6,8,0],[6,9,0],[6,10,1],[6,11,0],[6,12,2],[6,13,1],[6,14,3],[6,15,4],[6,16,0],[6,17,0],[6,18,0],[6,19,0],[6,20,1],[6,21,2],[6,22,2],[6,23,6]];

var cnt=0;
data = data.map(function (item) {
return {name:cnt++, value: [item[1], item[0], item[2] || '-'], itemStyle:{ normal:{ color:'blue' }}};
});
    option = {
        title: {
            text: '蓝红',
            subtext: '啊哈哈哈哈'
        },
        tooltip: {
            position: 'top'
        },
        backgroundColor: "#eee",
        animation: true,
        animationDelay: 2000,
        animationDuration: function (idx) {
// delay for later data is larger
return idx * 100;

},
grid: {
height: '70%',
y: '10%'
},
xAxis: {
show:false,
type: 'category',
data: hours,
splitArea: {
show: false
}
},
yAxis: {
inverse:true,
type: 'category',
data: days,
splitArea: {
show: false
}
},
visualMap: {
min: -10,
max: 10,
calculable: true,
orient: 'horizontal',
left: 'center',
bottom: '15%',
//只有这里是我改的，啊哈哈哈哈
inRange: {
color: ['red','#fff','green'],
}
},
series: [{
name: 'Punch Card',
type: 'heatmap',
animation:true,
data: data,
label: {
normal: {
show: true,
formatter: function (params) {
//  console.log(params);
return      params.name + '\n' + params.value[2] + '\n';
},
}
},
itemStyle: {
emphasis: {
shadowBlur: 10,
shadowColor: 'rgba(0, 0, 0, .5)'
}
}
}],
};
//alert('ok');
myChart.setOption(option);
    setTimeout(function () {

            // option.visualMap.inRange.color = ['blue','white','yellow'];
             data = [[4,3,5],[0,2,-11],[3,2,10],[0,3,0],[0,7,0],[0,8,0],[0,9,0],[0,10,0],[0,11,2],[0,12,4],[0,13,1],[0,14,1],[0,15,3],[0,16,4],[0,17,6],[0,18,4],[0,19,4],[0,20,3],[0,21,3],[0,22,2],[0,23,5],[1,0,7],[1,1,0],[1,2,0],[1,3,0],[1,4,0],[1,5,0],[1,6,0],[1,7,0],[1,8,0],[1,9,0],[1,10,5],[1,11,2],[1,12,2],[1,13,6],[1,14,9],[1,15,11],[1,16,6],[1,17,7],[1,18,8],[1,19,12],[1,20,5],[1,21,5],[1,22,7],[1,23,2],[2,0,1],[2,1,1],[2,2,0],[2,3,0],[2,4,0],[2,5,0],[2,6,0],[2,7,0],[2,8,0],[2,9,0],[2,10,3],[2,11,2],[2,12,1],[2,13,9],[2,14,8],[2,15,10],[2,16,6],[2,17,5],[2,18,5],[2,19,5],[2,20,7],[2,21,4],[2,22,2],[2,23,4],[3,0,7],[3,1,3],[3,2,0],[3,3,0],[3,4,0],[3,5,0],[3,6,0],[3,7,0],[3,8,1],[3,9,0],[3,10,5],[3,11,4],[3,12,7],[3,13,14],[3,14,13],[3,15,12],[3,16,9],[3,17,5],[3,18,5],[3,19,10],[3,20,6],[3,21,4],[3,22,4],[3,23,1],[4,0,1],[4,1,3],[4,2,0],[4,3,0],[4,4,0],[4,5,1],[4,6,0],[4,7,0],[4,8,0],[4,9,2],[4,10,4],[4,11,4],[4,12,2],[4,13,4],[4,14,4],[4,15,14],[4,16,12],[4,17,1],[4,18,8],[4,19,5],[4,20,3],[4,21,7],[4,22,3],[4,23,0],[5,0,2],[5,1,1],[5,2,0],[5,3,3],[5,4,0],[5,5,0],[5,6,0],[5,7,0],[5,8,2],[5,9,0],[5,10,4],[5,11,1],[5,12,5],[5,13,10],[5,14,5],[5,15,7],[5,16,11],[5,17,6],[5,18,0],[5,19,5],[5,20,3],[5,21,4],[5,22,2],[5,23,0],[6,0,1],[6,1,0],[6,2,0],[6,3,0],[6,4,0],[6,5,0],[6,6,0],[6,7,0],[6,8,0],[6,9,0],[6,10,1],[6,11,0],[6,12,2],[6,13,1],[6,14,3],[6,15,4],[6,16,0],[6,17,0],[6,18,0],[6,19,0],[6,20,1],[6,21,2],[6,22,2],[6,23,6]];

var cnt=0;
data = data.map(function (item) {
return {name:cnt++, value: [item[1], item[0], item[2] ]};
});
option.series[0].data=data;
myChart.setOption(option,false);
}, 2500);

Heatmap doesn't have animation

can u add animation capability like treemap ?
or can i have the treemap flow from left to right with items having equal square blocks and only color to be used for visual mapping ( see attached image ) .. i tried using a visualdimaension with a constant value.. but yet the squares are not exactly equal

Thanks for the detailed suggestion. We will think about it

thanks for acknowledging this request
any quickhand idea on how i can keep the size of the treemap items of exact same size & just use colour for visualdimension ?   to achieve this right now i'm trying to form rows & columns for cartesian system in a heatmap & achieve the result .. only thing there is no animation then which really would add to the beauty
thanks once again for hearing me out :) hope u can implement some workaround soon

now i also tried using treemap with simple data as --> value: {1, percentchange} with visaldimension from column index 1
so now i should ideally get simple square boxes of zero size ( since dimension 0 is set to same data '1' )
but i get some odd items ( despite my data being sorted)  see below image

i just tried with some more data with constant value for getting same square size .. everytime the first item seems exchanged with another item .. seems like surely a bug  ( and also the size of squares not exact ... ideally they should be for same value if squareratio is 1) ... also is there a way to make logic of display from left to right in sort order rather than top to bottom ?

The squareRatio is a suggestive parameter. If you would like getting the same square size, not only the squareRatio is set to 1, but also the width and height should be set the same:
series: [{
    type: 'treemap',
    width: 300,
    height: 300,
    squareRatio: 1
}]

(See this sample)
And, the sorting algorithm of treemap does not consider the stability for nodes with the same value yet. But even if it has considered that, the result will be like that:

This result is inevitable by treemap layout algorithm, and it may be not your expectation.
So I think heatmap may be better solution for your case? I will think this through about animation of heatmap.

HI
thanks once again for getting back
then in that case i guess heatmap would be better option .. but imiss the animation in the same .. any chances that could be done sooner ?
also if u notice in chrome the top left is giving '50' instead of '0' thats where i think logic going for a toss
but in MS edge browser it seems fine

'50' instead of '0' thats where i think logic going for a toss
but in MS edge browser it seems fine
Yes, I have fixed that just now.

For heatmap, I have made a example. I hope it is able to fit your requirement.

Hey thanks a ton
can u send me the link for the updated treemap if the bug has got solved ?
also for the animation example .. thanks once again.. but what i was looking for not a zoom/roam animation but more of a transition when the same item relocates its coordinates.. eg. from [x=3,y=5] to say [x=7,y=2] ..so the item would move to the new coordinates  ( & i would then emulate like a treemap to ensure there is not more than one item for a single coordinate x/y pair before updating the options.. so i would get the treemap effect with aniamtion of equal sizes in flowing single direction
i must really appreciate the efforts to try and resolve my query ... is the a paid plan also for future support ... as u are doing a commendable job of buildig quite an amazing product suite .. cheers & wish ui the very best .. keep up the spirit !

hey i just figured u using 'scatter' type instead of heatmap & a geo coordinate system .. nice idea that.. i think its give me a clue to implement what im looking for .. using rect symbol for a scatter with size .. nice idea :)
thanks pal :)

hi i tried using scatter working similar to my liking ! thanks a ton for the help.. but one thing .. in the label display.. the text does not get clipped ( if i use rect symbol option) .. is there a way i can clip or show ellipses so as to show it more cleaner .. see pic -->


Fix IndexOutOfBound Exception after deleting FR

close #135
@deyixtan Need your help to test! Thanks 😃

@eksinyue I tried to apply the changes on my side and I'm still get those exceptions :o

@eksinyue
Hmm I think the root of the issue stems from your addFinancialRecord in BudgetBabyModelManager. The condition always returns false.
Maybe you can try this and see if the issue still persist?


Update composer.json

Update for laravel 5.5

Coverage decreased (-1.08%) to 80.831% when pulling 7c0a136fc5f1a8b776dcddbb4f91bb33d15d81ae on hungnm144:master into 61a8346bb6b81c90d55e06c6d1bb7ac82cbd3efc on dogadogmbh:master.

Coverage decreased (-1.0%) to 80.933% when pulling 3ecda7c1f4f1fe2c82fdb818440e43cdc286ac52 on hungnm144:master into 61a8346bb6b81c90d55e06c6d1bb7ac82cbd3efc on dogadogmbh:master.

Hi hungnm144,
i updated the composer.json and created a new release.


There is a problem with the VRD feature data set

When I ran bash block/datasets/scripts/download_vrd.sh to download the feature file and unzip it, I found it could not be unzipped. I think there was something wrong with the compression of the data set.

@lianjiawei Thanks for submitting this issue.
It should be fixed now. You can download the features again.

hi @Cadene still facing this issue


Upgrade minor fix

See https://www.openmicroscopy.org/community/viewtopic.php?f=5&t=7778
Check:

there is no more 4.4 mention on the ugprade page
the note about using SQL Shell describes the workflow corresponding to the forum thread

--no-rebase

Good to merge


Create a persister log directory under monasca_log_dir

There could be too many log files in monasca_log_dir so break them
out by component

looks fine