screen touch freeze

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

When using on android 10 (Samsung S20), the call returns normally but the cell phone screen freezes and only resolves with reset.
using flutter_webview_plugin work well.

@paulobreim
Please provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue.
Thanks.

[pcb@pcb-asus ~]$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Linux, locale pt_BR.UTF-8)
• Flutter version 1.22.3 at /home/pcb/development/flutter
• Framework revision 8874f21e79 (8 days ago), 2020-10-29 14:14:35 -0700
• Engine revision a1440ca392
• Dart version 2.10.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /home/pcb/Android/Sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /opt/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Android Studio (version 4.0)
• Android Studio at /opt/android-studio
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[!] Connected device
! No devices available

import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:imoveissp/dados.dart';
import 'package:http/http.dart' as http;
import 'package:webview_flutter/webview_flutter.dart';
import 'dart:async';
pegaValorIPTU() async {
var response;
try {
response = await http.get(accessurl).timeout(Duration(seconds: 15));
} on TimeoutException {
print('Timeout');
} on Error catch (e) {
print('Error: $e');
respValoriIPTU = 'Sistema indisponível no momento.';
return;
}
var aux = response.statusCode.toString();
if (aux != "200") {
respValoriIPTU = 'Sistema da PMSP indisponível no momento.';
} else {
respValoriIPTU = response.body;
}
}
class Pagina4 extends StatefulWidget {
@override
Pagina4State createState() {
return Pagina4State();
}
}
class Pagina4State extends State {
WebViewController _webViewController;
bool showLoading = true;
void updateLoading(bool ls) {
this.setState(() {
showLoading = ls;
});
}
@override
Widget build(BuildContext context) {
var scaffold = Scaffold(
appBar: AppBar(
title: Text('Informações Relativas ao IPTU'),
backgroundColor: Color.fromRGBO(0x51, 0x7d, 0xa2, 1)),
body: Stack(
children: [
Container(
child: WebView(
javascriptMode: JavascriptMode.unrestricted,
initialUrl: Uri.dataFromString(respValoriIPTU,
mimeType: 'text/html',
encoding: Encoding.getByName('utf-8'))
.toString(),
onPageFinished: (data) {
updateLoading(false);
},
onWebViewCreated: (webViewController) {
_webViewController = webViewController;
_webViewController.goForward();
},
),
),
(showLoading)
? Center(
child: CircularProgressIndicator(),
)
: Center()
],
),
);
return scaffold;
}
}
Look the video attached.
The app receive the answer, show in the screen but after this freeze the touch.
WhatsApp Video 2020-11-06 at 09.56.27.zip

@paulobreim
If I understand correctly, you are opening a http link using webview. When you tap on that link and come back to the webview, the screen freezes. Is it a correct interpretation of the issue ?

The step by step is:
1 - I call a url with using package:http/http.dart'.
2 - The server mount a answer returning the data in the variable respValoriIPTU .
3 - I call the webview passing respValoriIPTU.
4 - This show correct in the user screen
5 - Afer this everything in the mobile freeze, need to do a reset.
See the attached video that I sent.
In my opinion this is a Android bug because an app could not freeze all mobile, the mobile is not rooted.
The app is in playstore for 1 year and this is the unique case. The user has a Samsung Galaxy S20 with Android 10.
I did another test using flutter_webview_plugin and work without this problem.

@paulobreim
Tried your code sample but getting below error while running the app:
I/flutter ( 6024): The following NoSuchMethodError was thrown building Pagina4(dirty, state: Pagina4State#a6b6b):
I/flutter ( 6024): The getter 'length' was called on null.
I/flutter ( 6024): Receiver: null
I/flutter ( 6024): Tried calling: length

code sample

import 'dart:convert';
import 'package:flutter/material.dart';
//import 'package:imoveissp/dados.dart';
import 'package:http/http.dart' as http;
import 'package:webview_flutter/webview_flutter.dart';
import 'dart:async';

pegaValorIPTU() async {
  var response;
  var respValoriIPTU;
  try {
    response = await http.get('https://flutter.dev').timeout(Duration(seconds: 15));
  } on TimeoutException {
    print('Timeout');
  } on Error catch (e) {
    print('Error: $e');
    respValoriIPTU = 'Sistema indisponível no momento.';
    return;
  }
  var aux = response.statusCode.toString();
  if (aux != "200") {
    respValoriIPTU = 'Sistema da PMSP indisponível no momento.';
  } else {
    respValoriIPTU = response.body;
  }
}

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Pagina4(),
    );
  }

}

class Pagina4 extends StatefulWidget {
  @override
  Pagina4State createState() {
    return Pagina4State();
  }
}

class Pagina4State extends State<Pagina4> {
  WebViewController _webViewController;
  bool showLoading = true;

  String respValoriIPTU;

  void updateLoading(bool ls) {
    this.setState(() {
      showLoading = ls;
    });
  }

  @override
  Widget build(BuildContext context) {
    var scaffold = Scaffold(
      appBar: AppBar(
          title: Text('Informações Relativas ao IPTU'),
          backgroundColor: Color.fromRGBO(0x51, 0x7d, 0xa2, 1)),
      body: Stack(
        children: <Widget>[
          Container(
            child: WebView(
              javascriptMode: JavascriptMode.unrestricted,
              initialUrl: Uri.dataFromString(respValoriIPTU,
                  mimeType: 'text/html',
                  encoding: Encoding.getByName('utf-8'))
                  .toString(),
              onPageFinished: (data) {
                updateLoading(false);
              },
              onWebViewCreated: (webViewController) {
                _webViewController = webViewController;
                _webViewController.goForward();
              },
            ),
          ),
          (showLoading)
              ? Center(
            child: CircularProgressIndicator(),
          )
              : Center()
        ],
      ),
    );
    return scaffold;
  }
}

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

I experienced the exact problem on Galaxy S20 FE with Android 10. During development android touch freezes completely. I could not find any reproduction procedure yet.

We even tried the WAKE_LOCK but that didn't help on Samsung devices.
We have to press multiple times for any touch to be recognized on device although we could clearly see logs on console when we do press.
We added the following on all three AndroidManifest.xml files (debug, main, profile)
We also tried using the wakelock package and added the
await Wakelock.enable();
and it didn't help to resolve this issue.


Add assert j dependency management

Assertj dependency was not defined...

@jdubois @Tcharl
I just did a quick experiment:

remove the explicit dependency on assertj, leaving just the version property set to 3.8.0
bump the jhipster-dependencies version to 0.1.1 so I could be sure to get the one without the explicit dependency
mvn install jhipster-dependencies
in the generator code, change the property for jhipster-dependencies in the server POM to 0.1.1
generate a new app
run mvn dependency:tree | grep assertj

This showed me I am getting 3.8.0 in test scope, as expected. So just overriding the version property is in fact sufficient, it seems to me.
@Tcharl Does this make sense? How did you arrive at the conclusion that this wasn't working as expected?
As far as I can tell the dependency section that was added in https://github.com/jhipster/jhipster-dependencies/pull/15/commits/0f755928b853000dceaffb3ab714c3b2e8f14438 has no effect, and while it doesn't break anything it's redundant and IMHO could be removed...

Hi @erikkemperman,
I'm sure that you're right and this declaration should be removed. I added this one because the error spawned on three jhipster projects we had, even if it made no sense. mvn dependency:tree display the 3.6.0 version of assertj after removing the repo cache, ensuring everything had the good data (checking downloaded jh-deps pom, etc.) and testing on multiple machines.
That was happening even if theorically it made no sense.
Np to remove the declaration, I'll investigate some more because it should be an issue on our side (proxy, AV, or whatever).
Thank you to continuously improve the quality of the whole thing ;-)/
Regards

@Tcharl All right, thanks for your response. I've made a PR for it here. I hope you won't see the problem again, but for what it's worth IMHO it's almost never a good idea to fight the symptoms without understanding the cause of the disease :-)


Add opt in preprints

Description
As a PRC opt in author I would like my preprint to be published in the new model
Tasks

[x] Separate the import git-sync for staging and prod

https://github.com/elifesciences/elife-flux-cluster/pull/846

[ ] Identify and fetch manuscripts and push to staging branch (only 2 available right now)
[ ] Check import works OK with Encoda (ok for 2)
[ ] Setup client to accept injected manuscript.ts data
[ ] Fix client failing when no reviews available
[ ] Setup new manuscripts in staging
[ ] Merge new manuscripts in prod git branch
[ ] Setup new manuscripts in prod client

Acceptance criteria

[ ] https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1751v2

As this needs to be in the staging environment only for now, I'm working on separating the source data branch for each env (staging and prod) via a configurable git branch source

PR: https://github.com/elifesciences/elife-flux-cluster/pull/846

Ted fixed 1, another 4 need checking for "transfer":

we found that four of the five we did not identify for inclusion in the bucket because we did not have any record that the paper was transferred to or from eLife (transfer is the key we are using to determine what ought to be in the AWS bucket).
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1751v2
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>0381v1
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>3195v1
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>9930v1
I am curious if you do have record of transfers for these (in which case there is some issue in our tracking), or if there is some other way these submissions were handled such that no transfer was necessary.

@acollings is this something you can help me with?

Thanks @scottaubrey
One thing to note: I would suggest not doing any work on ones we haven't committed to reviewing yet. https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>9930v1 and https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1195v3 fall into that category (although it's possible/likely we will review them).
As of today, we ARE definitely reviewing https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1751v2, https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>0381v1, https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>3195v1, and https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>2253v1.
Anything labelled "Encourage" in column C will end up with a Reviewed Preprint, but anything labelled "Pending" in column C means we need to wait and see what the editors decide to do. Let me know if you have any questions about that.
Overall around 40% of authors will post the preprint themselves and submit using Libero Reviewer, in which case they wouldn't appear in the bucket, as currently constructed (as they wouldn't have used the transfer functionality in either direction). Around 60% of submissions would have involved a transfer to or from bioRxiv or medRxiv, and these will appear in the bucket as currently constructed.
So, we do need to plan for a large % of submissions not using the transfer functionality. Is it possible to not limit the API to only include papers that use the transfer functionality?


Sync eng/common directory with azure-sdk-tools repository

Sync eng/common directory with azure-sdk-tools repository

FYI @praveenkuttappan I did a manual full sync of eng\common into this repo and it includes your changes to the devops work items.


Update build.gradle

RN 64 requires projects to have a minimum of 21 as minSdkVersion. Making this change gives the chance for the library to use the root project's desired minSdkVersion rather than being fixed to 16

Thanks for the PR! LGTM


desktop instructions show twice on startup

Need to click continue twice.  Once on Unity ready, and another time when Unityload event fires.

@caseyyee On which browser and operating system? I haven't seen this before.

Desktop FF and Chrome.
I noticed when I was fixing 2D fallback, that errors were being thrown twice.  we're calling getVRDisplay function on both Unityload event and the ready message were getting back from Unity.  Checkout the PR I ref'd.


Update controllers permissions, hide non-bread-menu

Just did a comment, let me know what you think.

This is looks good to me :D Thanks @marktopper. I will let you know if there are any issue. You can merge it for now.


docs: Update intro.mdx broken link to apache dist

Fix broken link to source from Apache Foundation's website

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] 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

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

sorry, failed to notice this PR, I ended up doing it here: https://github.com/apache/superset/pull/20620


Extract type-related functionality to separate module

With ES6 typeless indexes we want make index types optional. All type-related functionality in included to index only when it defines at least 1 type.

@barthez Is this PR still relevant?

@barthez Is this PR still relevant?

@bbatsov No, I was keeping it for reference, just in case, as we are working on type removals. But it seems it can be safely closed.


Inline errors are distracting

I find the inline errors unattractive and they disrupt my flow:

In many cases, the offending code is covered up by the message
The js-standard label is superfluous.
The black-on-orange label is harsh on the eyes

Switching to a dark theme helps a little, but the first two points above still apply:

I tried disabling the inline errors, but now I can't tell what the errors are. Should I be able to hover or click or use a keyboard shortcut to reveal the errors?

@zeke The inline errors only show up when you have your cursor in a line with errors. And the errors of that line appear right bellow the where you have your cursor.
You have as well the status bar to show all errors or just the errors on your current line.

Hi @ricardofbarros. I don't see a status bar like the one in your screenshot. How do I enable that?

Inside linter configurations you have this  with the label Status Bar

Inside AtomLinter/Linter configurations you have this <select>, like you will

see on the screenshot.


do not understand gmm loss

if use_square_gmm:
log_std1 = log_std2 = torch.clip(nearest_trajs[:, :, 2], min=log_std_range[0], max=log_std_range[1])
std1 = std2 = torch.exp(log_std1)   # (0.2m to 150m)
rho = torch.zeros_like(log_std1)
else:
log_std1 = torch.clip(nearest_trajs[:, :, 2], min=log_std_range[0], max=log_std_range[1])
log_std2 = torch.clip(nearest_trajs[:, :, 3], min=log_std_range[0], max=log_std_range[1])
std1 = torch.exp(log_std1)  # (0.2m to 150m)
std2 = torch.exp(log_std2)  # (0.2m to 150m)
rho = torch.clip(nearest_trajs[:, :, 4], min=-rho_limit, max=rho_limit)
gt_valid_mask = gt_valid_mask.type_as(pred_scores)
if timestamp_loss_weight is not None:
    gt_valid_mask = gt_valid_mask * timestamp_loss_weight[None, :]

# -log(a^-1 * e^b) = log(a) - b
reg_gmm_log_coefficient = log_std1 + log_std2 + 0.5 * torch.log(1 - rho**2)  # (batch_size, num_timestamps)
reg_gmm_exp = (0.5 * 1 / (1 - rho**2)) * ((dx**2) / (std1**2) + (dy**2) / (std2**2) - 2 * rho * dx * dy / (std1 * std2))  # (batch_size, num_timestamps)

reg_loss = ((reg_gmm_log_coefficient + reg_gmm_exp) * gt_valid_mask).sum(dim=-1)

hello i do not understand this gmm loss could you please tell me detail ?

We model the agent's multimodal future trajectories with the Gaussian Mixture Modeling, and this loss aims to maximize the likelihood of its GT future trajectory based on such GMM modeling.
For more illustration, you can refer to our supp or this paper https://arxiv.org/pdf/1910.05449.pdf.

@sshaoshuai  thank you very much for your answer . I also read the multipath . as said in multi path
The time-step distributions are assumed to be conditionally independent given an anchor, i.e., we write φ(st|·) instead of φ(st|·, s1:t−1). This modeling assumption allows us to predict for all time steps jointly with a single inference pass, making our model simple to train and efficient to evaluate. If desired, it is straightforward to add a conditional next-time-step dependency to our model, using a recurrent structure (RNN).
I wonder why assumed  every step time is independent , do you think it is ok? or just for easy to train ? I could not understand it . In your paper also assumed it , could you know why ?

As you mentioned, "simple to train and efficient to evaluate", I think that's the answer. Of course, I think learning it with an autoregressive way may also achieve good performance with careful parameter-tuning.

Yes, it corresponds to the mode classification loss. @QC625

@sshaoshuai Hello, I also have confuse about the GMM loss. The calculation of this loss is based on Eq. (10) in the article, but there is no - log (ph) when implemented in the code. Is it loss_cls?

Where is this equation from?

in the article, b

Hello， is this Eq.(10) designed by yourself?  I find this material , when I caculate the loss as the Equation in Page5 in this material, the numerial instablity happens, so I can't training the model.


Deep dive and improve editor performance

Bug Description

This should probably turn into an Epic with a breakdown, but filing as a bug for now:
We have several credible reports of users experiencing significant editor sluggishness - this comes from users that have had great experiences with other online editors such as Canva. We should look at our editor resource utilization in various scenarios / setups and improve editor performance, particularly focused on mid-range set ups (not just high performance macbook pros)
Expected Behaviour

The stories editor should be highly responsive/performant on mid-tier laptop/computer setups across the major browsers supported.
Steps to Reproduce

Test many scenarios including:

long sessions with a ton of different actions over a 2-hour period
stories with lots of media, videos, gifts, text elements, etc.
test multiple browsers (safari, chrome, edge, firefox)
wp instance with a ton of media files
lots more!

Screenshots

Additional Context

Plugin Version:
WordPress Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Related: #5328, #868

Some common themes from our performance bug bash (full notes):

Slow network

"New story" action takes a really long time (x2)
Text sets take a long time to load (x2)
Media or 3P media thumbnails take a long time to load (x2)

Large assets like GIFs and video are especially painful

Context-switching takes a long time, probably due to queued network requests

Slow CPU

Input latency is long
Scrollers (page templates, text sets) are laggy/janky

Safari

Input latency is long (select, drag+drop, resize, navigate between pages)
Scrollers (page templates, text sets) are laggy/janky
Memory usage is high (triggers Safari warning)
Bugs (canvas flashing/blinking, checklist has incorrect margin)

Some performance patterns/practices to consider:

Before coding, always quantify expected impact/headroom with instrumentation first

Profile with Chrome DevTools and React Profiler

Use React DevTool's Highlight updates when components render to visually find unnecessary re-rendering
For subtrees that are unavoidably slow, consider rasterizing to flat images (text sets, page templates, stories on dashboard, page thumbnails in editor)

Input latency is long (select, drag+drop, resize, navigate between pages)

Just yesterday I opened the editor in Firefox and duplicated the pre-existing, empty page. Switching between those two empty pages was super slow as well.

For subtrees that are unavoidably slow, consider rasterizing to flat images (text sets, page templates, stories on dashboard, page thumbnails in editor)

#7987, #8117, #5136

Some performance patterns/practices to consider:

There's much more to consider, and a lot of valuable information tailored to the story editor can be found here:
https://docs.google.com/document/d/18m9HamHkOvvTrv-mSOJawha0K4KTdn49HrnfXShULDI/edit


ci: add ability to determine future versions

Stack from ghstack (oldest at bottom):

#90
#89
-> #88
#87
#86

This script adds the functionality to determine the future version the lib should be bumped to. It allows to determine the next release version, its version tag, and the snapshot version required after the release. These different version numbers can be determined for the releases PATCH, MINOR and MAJOR.

Please just review the PR and DO NOT merge it!


Change folder structure to one subdirectory per test

I propose changing the folder structure, such that each test file lives in its own folder. A test folder contains a Typst file (e.g. "test.typ") plus the reference image.
CeTZ currently uses its own test script, which structures the tests as given above, but we would like to use typst-test.
CeTZ's tests are recognized by recursively scanning the tests/ directory for test.typ files and, if found, use the folder of those files as test-cases. This allows nesting/grouping tests by topic by just putting them in common parent directories.

That's a great idea, I was thinking about this too.
I was a little worried that it removes the simplicity of seeing all tests scripts in a single folder if they need no extra files.
I'll likely work on this next, as it reduces the amount of I/O-operations needed, which are a real hassle when it comes to error handling.


Update angles.ts  in otationMatrixToEulerAngle

Updated the way thetaZ is computed to cover the full -pi to +pi range.

Updated the way thetaZ is computed to cover the full -pi to +pi range.


_TOKEN_INFORMATION_CLASS: failed to add constant

When I run the script I get the following error:
_TOKEN_INFORMATION_CLASS: failed to add constant TokenUser=1 (0x1)
_TOKEN_INFORMATION_CLASS: failed to add constant TokenGroups=2 (0x2)
_TOKEN_INFORMATION_CLASS: failed to add constant TokenPrivileges=3 (0x3)
_TOKEN_INFORMATION_CLASS: failed to add constant TokenOwner=4 (0x4)

Which script are you running? Is there any additional output?

I am running MSDN Annotations

I am not sure that the MSDN plugin generates this output. It might stem from IDA. Can you provide additional context?


Where are the regular images and captions?

There are no regular images

Sorry, I don't understand what the regular image stands for.


Allow unzipped icons

I would like to have icons stored as individual plain text files, instead of opaque zip archive blobs, to version and sync them more easily.
I version my vault with git, and this would make that easier too.
(I already use a plugin (this one, but it's unmaintained: https://github.com/aidenlx/obsidian-icon-shortcodes), which stores each icon as a file.)
This issue might relate to https://github.com/FlorianWoelki/obsidian-iconize/issues/224

Yes it's similar to #224. Thus, I'll close this issue here.


Self-contained app

I want to use this app without installing .net core.
Publish self-contained
https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained

The new self-contained installer is ready and attached to the release:
https://github.com/Alex4SSB/ADB-Explorer/releases/download/v0.7.5/ADB_Explorer_0.7.5_x64_self-contained_installer.rar


Generate flag error output for errors returned from the parseFunc

I'm not sure if it was intentional (or simply an oversight), but I encountered an issue when attempting to handle a custom flag value format via a type that implemented Value, namely that errors returned from Value#Set don't trigger the usage message including the error; the execution would simply halt (when using the default ExitOnError).
This pull request triggers failf with the error text, if an error is returned from parseFunc.

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


Files application - lack of synchronization of remaining disk space in real time, and inability to drag files from the recently used section on the application's main page

I downloaded program files about 2 weeks ago
After using it for a while, I noticed (at least on my computer) two moderately troublesome errors
1 of them is the lack of real-time refreshing of disk capacity data, the refresh button (f5) does not work, a temporary workaround for me is to restart the system, but how long can it be done after each action changing the amount of available disk space?
2 is the inability to drag and drop files from the recent files section on the main page, I don't know if it's a system limitation, a bug, or an oversight, but this function makes work much easier
Besides, I have tip and suggestion for adding things like QoL
firstly, the disk capacity status bar could change color when the disk capacity reaches 90%, the program could also send a notification via the notification center

Thanks for the feedback, this repo is specific for the Files website. You can find the repository for the app here https://github.com/files-community/Files/issues.


Outlet interaction with Client for off-chain tokens

In the current flow Outlet sends all tokens to the Client (any third party website).
In this case I can see some security issue:
Example: some website embed Client and set passive negotiation, so when user visit this page then website can collect all user tokens without any notification.
I suggest to update flow and set passive/active in the Outlet only, so outlet page (owned by Token issuer) decide is it allowed to share tokens silently with other pages or have to ask use permission.
Its related to the Off-chain(attestation) tokens.
In this case token selector should be appeared on the Outlet iframe/tab
@nicktaras , @micwallace , did I miss something?

Hi Oleh, I can understand the confusion from changes since we were both fully working on the Library. A direction was taken to remove the UI check if the user was happy to enable the tokens to be read.
Let us discuss this at a product level. Ill check in with Basti who is planning the TN road map, ensuring this is added as a review item.
On 23 Apr 2022, at 3:43 am, oleggrib @.***> wrote:

In the current flow Outlet sends all tokens to the Client (any third party website).
In this case I can see some security issue:
Example: some website embed Client and set passive negotiation, so when user visit this page then website can collect all user tokens without any notification.
I suggest to update flow and set passive/active in the Outlet only, so outlet page (owned by Token issuer) decide is it allowed to share tokens silently with other pages or have to ask use permission.
Its related to the Off-chain(attestation) tokens.
In this case token selector should be appeared on the Outlet iframe/tab
@nicktarashttps://github.com/nicktaras , @micwallacehttps://github.com/micwallace , did I miss something?
—
Reply to this email directly, view it on GitHubhttps://github.com/TokenScript/token-negotiator/issues/175, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABT6J4O5TVUSZMMCZE3PTNLVGNIULANCNFSM5UD5IGDA.
You are receiving this because you were mentioned.Message ID: @.***>

Jira ticket added to address this TKN-163

Looks like this problem solved with whitelists, right @nicktaras ?


Loading

Issue: loading looks choppy both on side nav, and opening the Docs menu when the browser window is smaller. The issue is I can see part appear on the screen as they are loaded rather than as 1 UI component.
Fix: If we need to implement a loader, I can provide mocks.  minimum fix is for loading of individual parts to happen and only show the component once all parts have been loaded.
Reference:
https://user-images.githubusercontent.com/48258790/105384878-bc9ade00-5be0-11eb-93b5-0c3600910e29.mov

This issue will require design work


Collecting plot data [part of #180]

Plot script now collects plot data and then uses it for creating graphs. Also, it saves plot data to the JSON file.
This PR contains a part of changes from the closed PR #180. It is the second part of the list, described here https://github.com/awf/ADBench/pull/180#issuecomment-569066919

This looks great, but is there any way that the same data structure can be used for both serialisation and generating the graph? Is it possible to use a singled named tuple and write that out as JSON?

Will it be more convenient if the plot_data,json file has the following form:
[
    {
        "figure_info": {
            "build": build,
            "objective": objective,
            "function_type": function_type,
            "test_size": test_size
        },
        "values": [ ... ]
]

Thus the script can use figure_info subdictionary instead of named tuple

Yes, I think that would clear up the biggest differences. It would be good if we could avoid preprocessing sorted_vals_by_tool too.

Yes, I think that would clear up the biggest differences. It would be good if we could avoid preprocessing sorted_vals_by_tool too.

Actually, I have the idea to use only items of the plot_data array everywhere in the script. I mean, we can even avoid such a term as sorted_vals_by_tool and use only dictionaries of the form
{ "figure_info": { ... }, "values": { ... } }

where "values" is a kind of sorted_vals_by_tools and 'figure_info" is figure_info. Thus, we can avoid any additional serialization actions except json.dump.  But I don't know is it a good idea or there is a more pythonic way. What do you think?

Ideally the form that we store as JSON would be as close as possible to the form that is used by generate_graph. It seems like it would be nice not to unwrap and rewrap sorted_vals_by_tool.  What do you think?

OK, I think your idea sounds good.  Let's give it a go!

Ideally the form that we store as JSON would be as close as possible to the form that is used by generate_graph. It seems like it would be nice not to unwrap and rewrap sorted_vals_by_tool. What do you think?

This will be one of the positive corollaries of using dictionary everywhere instead of sorted_vals_by_tools

OK, I think your idea sounds good. Let's give it a go!

Should I do another PR, or I can add commits into this one?

Should I do another PR, or I can add commits into this one?

I think best to add commits into this one and see what it looks like.  Then we can decide what to do.

I think best to add commits into this one and see what it looks like. Then we can decide what to do.

In fact, you can do whichever you prefer.

This is improving a lot.


bugfix

There were the following issues with your Pull Request

Commit: fb0f3b57968d9250a2fe0c76ed313980fe3cbabb
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/jxtech/wechatpy/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

你可以直接
pip install https://github.com/jxtech/wechatpy/archive/master.zip
安装测试，这样就不用一直发布测试版本了。

ok
2015年9月14日 下午9:56，"messense"<EMAIL_ADDRESS>
你可以直接
pip install https://github.com/jxtech/wechatpy/archive/master.zip
安装测试，这样就不用一直发布测试版本了。
—
Reply to this email directly or view it on GitHub
https://github.com/jxtech/wechatpy/pull/86#issuecomment-140082876.


wlr_surface is never free'd

I don't see a wlr_surface_destroy, and the destroy handler only calls wl_resource_destroy(surface->resource).

What about https://github.com/swaywm/wlroots/blob/2272f3d47cdcb5ffa42dcd20ad87253f78a2e9d0/types/wlr_surface.c#L615 ?

My bad, didn't saw that one.


Allow users to define image url in secondaryscheduler spec field.

We need to introduce a field image in SecondaryScheduler CRD to allow users to define their own image URL in secondaryscheduler CR yaml.

+1 this is an important usability feature

Opened https://github.com/openshift/secondary-scheduler-operator/pull/15 to add this


Failed to fetch from Github

Please help

This looks like a local DNS issue, or a temporary GitHub outage. Please try again—thanks!


Add launch.json for each framework for debugging

I've added it for Flask in pr #160 , we should add for Django and FastAPI as well. I have configurations from other projects, just search owner:pamelafox path:launch.json on GitHub. Django is the trickiest due to a setting needed around error propagation.

Thinking of the docs writers that often want as simple repos as possible. Do we think that's something we should include.
I love tasks and debug launch settings but wonder if docs writers will not like them.
That being said I agree they should exist but I would be open to removing them if there was push back

I do think tasks.json is overkill but I really like when debugging just works, especially since debugger is a first class feature of VS Code. And yes, there are built-in launch.json configurations for Flask/FastAPI/Django, but they often require additional tinkering that is really easy to mess up. Most of the time I end up print()ing if I don't already have launch.json setup because I'm too intimidated by the process of configuring it.
So I'm a +1 for launch.json personally. Hopefully Bob's on board.

Seems to work across Django/FastAPI/Flask


Change deprecated testing imports

Should be an improvement but noticed in unit testing that junit.framework.Assert is used quite a bit. This has been deprecated for a while https://github.com/junit-team/junit4/issues/473 and since this project is active should transition to non-legacy methods org.junit.Assert for better maintainability (or even JUnit 5).

Hi @sirNikolai would you like to submit a PR for this?

I think someone else started one. Was more interested in whether it would be a decent idea to move altogether to JUnit 5. Otherwise I wouldn't mind leaving it for someone else since already have a PR for something else out. That said if there are no takers can always circle back and do this over the weekend.

yes, I don't think there are any takers for this so you can totally take this on. The push is to move to JUnit 5. The other PR was centered around a Hacktoberfest issue and not particularly around removing deprecated testing imports. So if you are up for it, I will assign it to you.

@yallen011 sure go for it. Can get the fundamentals of it done at least.

Fixed in 6.0.0 release


when starting to scan, it crashes

Future<Null> _scan() async {     List<Barcode> barcodes = [];     try {       barcodes = await FlutterMobileVision.scan(         autoFocus: true,         formats: Barcode.QR_CODE,         multiple: true,         showText: true,         fps: 15.0,       );     } on Exception {       barcodes.add(Barcode('Failed to get barcode.'));     }   }
and it is being called from a button onclick event.

Hi @Csabatom,
could you provide the error log?


chore: remove moment.js

Close https://github.com/alibaba/lowcode-engine/issues/984

 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.shuogui.lin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Updated some tests to include coverage for Microsoft SQL Server (and other change).

Noticed that there wasn't complete coverage for Microsoft SQL Server in the tests. I'm sure I'll be finding a number of these since I added the Microsoft stuff quite a while ago and things have changed.

@brianc Looks like I kind of screwed this pull request up. Still getting used to things. There is another feature in this pull request in addition to the updated where clause tests. Basically it allows you to use AND and OR without first having to use WHERE. For example, I find myself writing things like:
var query=user.select()
if (xxx){
  query.where()
}
if (yyy){
  query.and()
}

But If the xxx if doesn't execute, then things blow up. This pull request allows you to do:
var query=user.select()
query.and(user.name.equals('joe')

and end up with
SELECT * FROM user where user.name = 'joe'

What do you think?

I completely dig this feature. It's a great idea! Your tests are comprehensive too. :100:

No worries on not having total coverage on the mssql stuff yet either. Happy to merge in more as you find 'em.  In the meanwhile, you cool with me pushing a new minor version which contains your new fix here?

I'm good with merging in the changes.

:dancer: awesome! :tada:

pushing a new minor version to npm now


Add: Nos TV Bonaire [BQ]

Channel Name
Nos TV Bonaire
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
BQ
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/BQ
Languages
pap;nld
Categories (optional)
general
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
http://www.nostvbonaire.com/
Logo
http://www.nostvbonaire.com/wp-content/uploads/2019/01/cropped-LOGO-NOSTV-WEBSITE-2019-1.png
Notes
http://streaming.flamingotv.net/nostv/live.m3u8

Please update your request:

logo URL must use the HTTPS protocol

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels


Access denied, please inspect WWW-Authenticate header

Hi There,
I've been trying the OpenIdConnectSample but get the following error when loading the map:
{   "error": {     "code": "Unauthorized",     "message": "Access denied, please inspect WWW-Authenticate header.",     "target": null,     "details": []   } }
Checking out the master branch of the samples. The only changes I've made in the OpenIdConnect/AzureMapsOpenIdConnectV1 codebase are:

Modifying AzureAdOption.cs

Updating the ClientId & Tenant Id to my respective Tenant
To test initial working I commented out the key vault key retrieval and hard coded my setup secret to simplify the solution that I run locally

Modifying VIews/Maps/Index.cshtml with the ClientID of my App Registration in my subscription.

The App loads, retrieves a token correctly but then when it attempts to load the map, all of the tiles return a 401 with the above error. I believe i've setup all of the app registration side correctly as it woudn't let it retrieve the token otherwise. Token attached below. Any ideas?
{   "aud": "https://atlas.microsoft.com/",   "iss": "https://sts.windows.net/922b2f31-c0b5-401d-beb7-b2de2e4bb274/",   "iat":<PHONE_NUMBER>,   "nbf":<PHONE_NUMBER>,   "exp":<PHONE_NUMBER>,   "acr": "1",   "aio": "AUQAu/8QAAAAVRr7IetliJDyH4InMCVUaWRfVla0vXrsZ1ml8TDxMpZTpMbaRngwWIgpzXqsofguiwr2p5+IwuWm+McW7abupg==",   "altsecid": "1:live.com:000340011DAF5551",   "amr": [     "pwd"   ],   "appid": "<redacted>",   "appidacr": "1",   "email": "<redacted>",   "family_name": "<redacted>",   "given_name": "<redacted>",   "groups": [     "763dcd68-5a8f-43e6-8c59-31572bb929a5"   ],   "idp": "live.com",   "ipaddr": "<IP_ADDRESS>",   "name": "<redacted>",   "oid": "37ea4a95-dc35-4b8d-9291-5ce4c3288deb",   "puid": "100320009AFA0721",   "scp": "user_impersonation",   "sub": "T-hjRsm0ldBhG34QtjxF83G6V6toh2L5xv0y7K9eiRQ",   "tid": "922b2f31-c0b5-401d-beb7-b2de2e4bb274",   "unique_name": "<redacted>",   "uti": "5ljDW6caSE62tgZp4DDVAA",   "ver": "1.0",   "wids": [     "62e90394-69f5-4237-9190-012177145e10"   ] }

Hi @CodeWolf86,
I'll need a bit more information to help you effectively. What is the value of the WWW-Authenticate header? You should be able to use any browser developer tools to inspect this response header. You could also copy the request and use it in Postman or Fiddler to inspect the header.
Regarding OpenIdConnectV1 sample - this corresponds to documentation to setup for a web application. There maybe a step which may have been missed.
Looking at the token, it appears the principal is issued from live.com (which is likely the issue). I don't have the token header but I would check to see if the kid value matches one of the public keys kid values at the public v1 discovery endpoint https://login.microsoftonline.com/common/discovery/keys
{
"aud": "https://atlas.microsoft.com/",
"iss": "https://sts.windows.net/922b2f31-c0b5-401d-beb7-b2de2e4bb274/",
"iat":<PHONE_NUMBER>,
"nbf":<PHONE_NUMBER>,
"exp":<PHONE_NUMBER>,
"altsecid": "1:live.com:000340011DAF5551",
"groups": [ "763dcd68-5a8f-43e6-8c59-31572bb929a5" ],
"idp": "live.com",
"oid": "37ea4a95-dc35-4b8d-9291-5ce4c3288deb",
"puid": "100320009AFA0721",
"scp": "user_impersonation",
"tid": "922b2f31-c0b5-401d-beb7-b2de2e4bb274",
}
It's likely the sign in is from a personal account instead of an organizational account. As an example typically an organizational account token looks like below. Note: the kid value matches one of the public keys and the idp is from an Azure AD tenant - not live.com.
{
"typ": "JWT",
"alg": "RS256",
"x5t": "huN95IvPfehq34GzBDZ1GXGirnM",
"kid": "huN95IvPfehq34GzBDZ1GXGirnM"
}.{
"aud": "https://atlas.microsoft.com/",
"iss": "https://sts.windows.net//",
"iat":<PHONE_NUMBER>,
"nbf":<PHONE_NUMBER>,
"exp":<PHONE_NUMBER>,
"acr": "1",
"aio": "AXQAi/8QAAAAxmx7ObktUs+CFd346F0g0/ucv0kjG9gFXnzUWJEjuDiyPmL/c7HxRiQDjPiLrHeXHeS7MAPJQLQei+hzF0MV7jGjE+orLuJXOwFOKgT27vGgyrESFjNRkGo09d4Y/vo4GzoA+H8UwNBJArAUFE2qDw==",
"altsecid": "5::10037FFE84502CE5",
"amr": [
"rsa"
],
"appid": "",
"appidacr": "1",
"email": "",
"family_name": "",
"given_name": "",
"groups": [
""
],
"idp": "https://sts.windows.net//",
"ipaddr": "",
"name": "",
"oid": "20a99c47-a546-4465-be71-cfc84e934eca",
"puid": "",
"scp": "user_impersonation",
"sub": "",
"tid": "",
"unique_name": "",
"uti": "",
"ver": "1.0",
"wids": [
""
]
}.[Signature]

Hi @stack111
Thank you for the response. You are correct the token was issued from a live.com account rather than an organisational account. I wasn't aware of this requirement being a limitation of azure maps so thank you for bringing it to my attention.
My problem was even when inspecting via fiddler the WWW-Authenticate header wasn't supplied but it looks like this was a result of not using an organisational account, as now I've switched to one, the header is also still not being sent so may have been a red herring.
With the switch to the organisation account I have now got the samples working. Thanks!


Refine representation of MethodInfo

Currently, the rendering of a MethodInfo returns the following (for C# language):
typeof(object).GetMethod("ToString")

If there is only one such method, this code if run will succeed. But if there are multiple overloads of the method on this type:
typeof(int).GetMethod("ToString"

it will fall with an exception:

AmbiguousMatchException: Ambiguous match found.

In that case, we should render the call to GetMethod passing along a Type[] with the types that match the method:
typeof(int).GetMethod("ToString", new [] { typeof(string), typeof(IFormatProvider) })

Alternatively, it might be better to render all MethodInfos this way, even if there is only a single overload.

MethodInfo should be rendered as follows:
If there are no arguments, and there is only a single overload with this name, use the GetMethod overload that doesn't take a Type[].
Else, use the overload that does take a Type[]. This will make it easier to see off the bat:

which overload is being used
which parameters are required

Related: #64


Add Database migration support

Add support for managing database schemas.
I use flyway, but am not terribly opinionated on the actual mechanism.

closed by #37


Revitalized vitals for mCODE

Moved from parking lot to spec and updated the ig-mcode-config file to include the three vitals in mCODE.

This PR has known errors in ES6 export modules (@cmoesel) is working on a fix. These errors do not affect building the IG.
436 errors (shr-es6-export)

The Travis failures are in ES-6 export -- so essentially a  pass.

@markkramerus - the generated IG is showing the higher level attributes (HeadlessPanel, CodedLaboratoryObservation, CodedNonLaboratoryObservation, etc) in the generated IG when specifying ig-mcode-config.json.  Is this what we want or do we further need to adjust this newer filtering strategy?

@markkramerus -- I have a partial fix ready.  In short, it makes the error message go away (because I fixed that problem), but it introduces a new problem in the generated ES6 code.  Dylan Hall is taking a look at it.

@markkramerus - the generated IG is showing the higher level attributes (HeadlessPanel, CodedLaboratoryObservation, CodedNonLaboratoryObservation, etc) in the generated IG when specifying ig-mcode-config.json. Do we want to expose this, or do we further need to adjust this newer filtering strategy?

@mlterryMitre in theory there is nothing wrong with the IG filtering in the config file. We're going to have to engage with Dylan if this keeps happening.


Update chain.json for Jackal for v2.0.0

Updating codebase to v2.0.0 and adding v2.0.0 to version history. Upgrade happening at height 2631260 pending approval of Prop 4 (estimated to be May 4). https://explorer.nodestake.top/jackal/gov/4

We also have properties for block height and proposal, which will be used in the upcoming automation. https://github.com/reversesigh/chain-registry/blob/796340afabe7f3139b9eccdbcdea2c68e7dc0548/jackal/chain.json#L63


Backward Compatibility to Prevent -  KeyError: 'prune_headids' with Old Models

I downloaded an updated version of the Github repository and I am trying to activate an old saved model of yours from Google Drive.
When running the code below:
import torch
from runner_mockingjay import get_mockingjay_model

example_path = '/home/ec2-user/SageMaker/Mockingjay-Speech-Representation/result/result_mockingjay/mockingjay-500000.ckpt'
mockingjay = get_mockingjay_model(from_path=example_path, display_settings=True)

# A batch of spectrograms: (batch_size, seq_len, hidden_size)
spec = torch.zeros(3, 800, 160)

# reps.shape: (batch_size, num_hiddem_layers, seq_len, hidden_size)
reps = mockingjay.forward(spec=spec, all_layers=True, tile=True)

# reps.shape: (batch_size, num_hiddem_layers, seq_len // downsample_rate, hidden_size)
reps = mockingjay.forward(spec=spec, all_layers=True, tile=False)

# reps.shape: (batch_size, seq_len, hidden_size)
reps = mockingjay.forward(spec=spec, all_layers=False, tile=True)

# reps.shape: (batch_size, seq_len // downsample_rate, hidden_size)
reps = mockingjay.forward(spec=spec, all_layers=False, tile=False)

I get the error:
[SOLVER] -  Initializing Mockingjay model.
[SOLVER] -  Number of parameters: 21388800
[SOLVER] -  Load model from /home/ec2-user/SageMaker/Mockingjay-Speech-Representation/result/result_mockingjay/mockingjay-500000.ckpt
[SOLVER] -  [Mockingjay] - Loaded
[SOLVER] -  Model loading complete!
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-44-913ea2308ae0> in <module>()
      9
     10 # reps.shape: (batch_size, num_hiddem_layers, seq_len, hidden_size)
---> 11 reps = mockingjay.forward(spec=spec, all_layers=True, tile=True)
     12
     13 # reps.shape: (batch_size, num_hiddem_layers, seq_len // downsample_rate, hidden_size)

~/SageMaker/Mockingjay-Speech-Representation/mockingjay/solver.py in forward(self, spec, all_layers, tile, process_from_loader)
    686
    687             head_mask = None
--> 688             prune_headids = self.config['mockingjay']['prune_headids']
    689             if prune_headids is not None:
    690                 layer_num = self.config['mockingjay']['num_hidden_layers']

KeyError: 'prune_headids'

I fixed it.
I added two lines in the runner_mockingjay.py file, in get_mockingjay_model method:
    if 'prune_headids' not in config['mockingjay']:
        config['mockingjay']['prune_headids'] = None

This is the whole method:
def get_mockingjay_model(from_path='result/result_mockingjay/mockingjay_libri_sd1337_best/mockingjay-500000.ckpt', display_settings=False):
    ''' Wrapper that loads the mockingjay model from checkpoint path '''
    print("im here - get_mockingjay_model")

    # load config and paras
    all_states = torch.load(from_path, map_location='cpu')
    config = all_states['Settings']['Config']
    paras = all_states['Settings']['Paras']

    if not hasattr(paras, 'multi_gpu'):
        setattr(paras, 'multi_gpu', False)

    # added this lines
    ####################################################
    if 'prune_headids' not in config['mockingjay']:
        config['mockingjay']['prune_headids'] = None
    ####################################################

    # display checkpoint settings
    if display_settings:
        for cluster in config:
            print(cluster + ':')
            for item in config[cluster]:
                print('\t' + str(item) + ': ', config[cluster][item])
        print('paras:')
        v_paras = vars(paras)
        for item in v_paras:
            print('\t' + str(item) + ': ', v_paras[item])

    # load model with Tester
    from mockingjay.solver import Tester
    mockingjay = Tester(config, paras)
    mockingjay.set_model(inference=True, with_head=False, from_path=from_path)
    return mockingjay

The problem was that the new function parse_prune_heads is not getting called when using an existing model, only when creating a new model.
So, the config['mockingjay']['prune_headids'] was never initialized  to None for old models.
Hope it helped,

Hi aviasd!
Thank you very much for pointing out the problem! Because the repository is currently under quick development and typically only support the direct running with runner_mockingjay.py when adding new features. So example_extract.py or example_finetune is not well-tested before pushing the master. We are very sorry for the inconvenience and will fix the issue as soon as possible. Thanks!!

Hi,
I've included your solution into our code: https://github.com/andi611/Mockingjay-Speech-Representation/commit/32502004256773d715a836a43419df1c22c4002a
Thank you for pointing out this error!


feat: re-configure goreleaser

TODO list:

[ ] add LINKEDIN_ACCESS_TOKEN to CICD secrets
[x] create slack app, request an access for it  (done in scope of another MR)
[x] add SLACK_WEBHOOK to CICD secrets (done in scope of another MR)
[x] add TELEGRAM_TOKEN to CICD secrets (done in scope of another MR)
[ ] add TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET to CICD secrets
[x] add CLOUDSMITH_TOKEN to CICD secrets (done in scope of another MR)
[x] create CloudSmith repository (done in scope of another MR)
[x] switch to Goreleaser PRO (we have the license but have to change github action) (done in scope of another MR)
[ ] finish DMG/MSI configuration
[x] Create "release" discussion topic

Updates:

Twitter is cancelled due to paid API
LinkedIn integration is in progress
DMG/MSI configuration is in progress


click anywhere to close slide

Hello,
Would it not be interesting for this (very good!) slide to implement a «click anywhere of the page to close the slide» function? I tried but didn't manage to do it.
Thanks!
Jonas

Heres the code I'm using:
$("a#someexternallink").click(function() {
     $(".nav-toggle .nav").trigger("click");
});

This is actually available as a native feature now by setting the easyClose option to true. My apologies for not posting that here.


Fatal error on quit

After running command CVNBot1 quit in #cvn-bots, CVNBot1 quit as expected. But Cubbie also quit as the same time, which seems rather suspicious.
Syslog for Cubbie:
Jan  6 16:53:01 cvn-app8 CVNBot.exe[15307]: FATAL [Main] CVNBot.Program [Cubbie] Error occurred in Main IRC try clause!#012
System.TypeLoadException: Failure has occurred while loading a type.#012
  at Meebey.SmartIrc4net.IrcClient._Event_PRIVMSG (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x0004f] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012
  at Meebey.SmartIrc4net.IrcClient._HandleEvents (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00162] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcClient._Worker (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs e) [0x0000e] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)#012  at Meebey.SmartIrc4net.IrcConnection.ReadLine (System.Boolean blocking) [0x000b7] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcConnection.Listen (System.Boolean blocking) [0x0000e] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00001] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012
  at CVNBot.Program.Main () [0x009bc] in <b57dca1001394178a439d85f73850da0>:0

Possibly related, when I gave SWBot3 the command to quit, it did leave, but it also logged a fatal error while doing so:
Jan  6 16:53:31 cvn-app8 CVNBot.exe[2312]: INFO  [Main] CVNBot.Program [SWBot3] Krinkle ordered a quit
Jan  6 16:53:31 cvn-app8 CVNBot.exe[2312]: FATAL [Main] CVNBot.Program [SWBot3] Error occurred in Main IRC try clause!#012
System.BadImageFormatException: type 0x00 not handled in do_mono_metadata_parse_type on image /srv/cvn/services/cvnbot/SWBot3/CVNBot.exe#012
File name: 'CVNBot'#012
  at CVNBot.Program.Irc_OnChannelMessage (System.Object sender, Meebey.SmartIrc4net.IrcEventArgs e) [0x00330] in <b57dca1001394178a439d85f73850da0>:0 #012  at Meebey.SmartIrc4net.IrcClient._Event_PRIVMSG (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x0004f] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcClient._HandleEvents (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00162] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcClient._Worker (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs e) [0x0000e] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)#012  at Meebey.SmartIrc4net.IrcConnection.ReadLine (System.Boolean blocking) [0x000b7] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcConnection.Listen (System.Boolean blocking) [0x0000e] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012  at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00001] in <10085ae304b34015a0d4b345e6c4c3d5>:0 #012
  at CVNBot.Program.Main () [0x009bc] in <b57dca1001394178a439d85f73850da0>:0

This may have to do with the fact that I replaced the .exe files on the server as part of a deployment shortly before issuing these commands.

Going to close as I have not seen the problem in a while. Let's re-open if and when we see it again.


Add user agent to StockSnap header and use header in requests by default

Fixes
Fixes #758 and fixes #759 by @AetherUnbound
Description
Returns {} instead of None for next query params, since the increment goes in the url rather than parameters but None will stop the ingestion.
Adds a User-Agent to the stocksnap provider header, and sets up DelayedRequester to use ProviderDataIngester.headers by default.
Testing Instructions
Try running the stocksnap DAG locally, observe no errors and some data. Try running a couple of other API DAGs as well. I tried Cleveland Museum and it went well.
I added tests for the requester, but wasn't 100% sure the best way to do that for ProviderDataIngester, and if it would really be necessary.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Does this addresses #631 without the side effects @krysal mentioned?


add idToken from token response

we need to access the id token in order to call google cloud endpoints
i.e
GoogleCredential credential = GoogleCredential.getApplicationDefault();
credential = credential.createScoped(...);
credential.refreshToken();
credential.getIdToken();

I signed the CLA

gentle ping @google/yoshi-java

Sorry for the delay in getting to this.
I don't think adding id_token parsing to TokenResponse is the correct approach. id_token parsing is already provided by IdTokenResponse and GoogleTokenResponse from google-api-client. The TokenResponse class is a generic implementation for OAuth2 and does not need to include id_token.
I'm also unclear on your usage of this with application default credentials as the id_token is part of the OpenID Connect protocol on top of 3-legged OAuth 2.0.
For a workaround you can use GoogleAuthorizationCodeFlow


Unhandled exception in handlemsg

While debugging LPC546XX, using pyocd 0.12.0, I get the following error.
0000246:WARNING:svd:Failed to load SVD file LPC54608.svd
0000247:INFO:cmsis_dap_core:DAP SWD MODE initialized
0000263:INFO:dap:DP IDR = 0x2ba01477
0000276:INFO:dap:AP#0 IDR = 0x24770011
0000287:INFO:rom_table:AP#0 ROM table #0 @ 0xe00ff000 (designer=43b part=4c4)
0000296:INFO:rom_table:[0]<e000e000:SCS-M4 class=14 designer=43b part=00c>
0000302:INFO:rom_table:[1]<e0001000:DWT class=14 designer=43b part=002>
0000308:INFO:rom_table:[2]<e0002000:FPB class=14 designer=43b part=003>
0000315:INFO:rom_table:[3]<e0000000:ITM class=14 designer=43b part=001>
0000320:INFO:rom_table:[4]<e0040000:TPIU-M4 class=9 designer=43b part=9a1 devtype=11 archid=0000 devid=0:0:ca1>
0000325:INFO:rom_table:[5]<e0041000:ETM-M4 class=9 designer=43b part=925 devtype=13 archid=0000 devid=0:0:0>
0000332:INFO:cortex_m:CPU core is Cortex-M4
0000338:INFO:cortex_m:FPU present
0000345:INFO:dwt:4 hardware watchpoints
0000348:INFO:fpb:6 hardware breakpoints, 4 literal comparators
0000358:INFO:semihost:Telnet: server started on port 4444
0000358:INFO:gdbserver:GDB server started at port:3333
Started by GNU MCU Eclipse
0000803:INFO:gdbserver:One client connected!
0000957:INFO:gdbserver:Semihosting enabled
0001157:INFO:gdbserver:Attempting to load Argon
0001158:INFO:gdbserver:Attempting to load RTX5
0001158:INFO:gdbserver:RTX5 loaded successfully
[---|---|---|---|---|---|---|---|---|----]
[========================================]
0027144:INFO:flash_builder:Programmed 444348 bytes (14 pages) at 17.02 kB/s
0035197:ERROR:gdbserver:Unhandled exception in handleMsg:
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 530, in handleMsg
    reply = handler()
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 964, in getRegisters
    return self.createRSPPacket(self.target_facade.getRegisterContext())
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\context_facade.py", line 55, in getRegisterContext
    vals = self._context.readCoreRegistersRaw(reg_num_list)
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 138, in readCoreRegistersRaw
    inException = self._get_ipsr() > 0
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 195, in _get_ipsr
    return self._parent.readCoreRegister('xpsr') & 0xff
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 87, in readCoreRegister
    regValue = self.readCoreRegisterRaw(regIndex)
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 99, in readCoreRegisterRaw
    vals = self.readCoreRegistersRaw([reg])
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 484, in readCoreRegistersRaw
    return self._regcache.readCoreRegistersRaw(reg_list)
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 111, in readCoreRegistersRaw
    self._check_cache()
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 88, in _check_cache
    if self._context.core.isRunning():
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 630, in isRunning
    return self.getState() == Target.TARGET_RUNNING
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 607, in getState
    dhcsr = self.readMemory(CortexM.DHCSR)
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 441, in readMemory
    result = self.ap.readMemory(addr, transfer_size, now)
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 258, in readMemory
    result = readMemCb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 240, in readMemCb
    res = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\dap.py", line 316, in readAPCb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 663, in read_reg_cb
    res = transfer.get_result()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 119, in get_result
    self.daplink.flush()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 594, in flush
    self._read_packet()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 749, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 419, in decode_data
    data = self._decode_transfer_data(data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 317, in _decode_transfer_data
    raise DAPAccessIntf.TransferTimeoutError()
TransferTimeoutError
0051846:ERROR:gdbserver:Unhandled exception in handleMsg:
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 532, in handleMsg
    reply = handler(msg[msgStart:])
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 753, in vCommand
    return self.vCont(cmd)
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 804, in vCont
    return self.resume(None)
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 676, in resume
    self.target.resume()
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 639, in resume
    if self.getState() != Target.TARGET_HALTED:
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 607, in getState
    dhcsr = self.readMemory(CortexM.DHCSR)
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 441, in readMemory
    result = self.ap.readMemory(addr, transfer_size, now)
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 258, in readMemory
    result = readMemCb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 240, in readMemCb
    res = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\dap.py", line 316, in readAPCb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 663, in read_reg_cb
    res = transfer.get_result()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 119, in get_result
    self.daplink.flush()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 594, in flush
    self._read_packet()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 749, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 419, in decode_data
    data = self._decode_transfer_data(data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 317, in _decode_transfer_data
    raise DAPAccessIntf.TransferTimeoutError()
TransferTimeoutError
0051855:ERROR:gdbserver:Unhandled exception in handleMsg:
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 530, in handleMsg
    reply = handler()
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 964, in getRegisters
    return self.createRSPPacket(self.target_facade.getRegisterContext())
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\context_facade.py", line 55, in getRegisterContext
    vals = self._context.readCoreRegistersRaw(reg_num_list)
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 138, in readCoreRegistersRaw
    inException = self._get_ipsr() > 0
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 195, in _get_ipsr
    return self._parent.readCoreRegister('xpsr') & 0xff
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 87, in readCoreRegister
    regValue = self.readCoreRegisterRaw(regIndex)
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 99, in readCoreRegisterRaw
    vals = self.readCoreRegistersRaw([reg])
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 484, in readCoreRegistersRaw
    return self._regcache.readCoreRegistersRaw(reg_list)
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 111, in readCoreRegistersRaw
    self._check_cache()
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 88, in _check_cache
    if self._context.core.isRunning():
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 630, in isRunning
    return self.getState() == Target.TARGET_RUNNING
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 607, in getState
    dhcsr = self.readMemory(CortexM.DHCSR)
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 441, in readMemory
    result = self.ap.readMemory(addr, transfer_size, now)
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 258, in readMemory
    result = readMemCb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 240, in readMemCb
    res = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\dap.py", line 316, in readAPCb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 663, in read_reg_cb
    res = transfer.get_result()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 119, in get_result
    self.daplink.flush()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 594, in flush
    self._read_packet()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 749, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 419, in decode_data
    data = self._decode_transfer_data(data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 317, in _decode_transfer_data
    raise DAPAccessIntf.TransferTimeoutError()
TransferTimeoutError
0051931:ERROR:gdbserver:Unhandled exception in handleMsg:
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 530, in handleMsg
    reply = handler()
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 964, in getRegisters
    return self.createRSPPacket(self.target_facade.getRegisterContext())
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\context_facade.py", line 55, in getRegisterContext
    vals = self._context.readCoreRegistersRaw(reg_num_list)
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 138, in readCoreRegistersRaw
    inException = self._get_ipsr() > 0
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 195, in _get_ipsr
    return self._parent.readCoreRegister('xpsr') & 0xff
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 87, in readCoreRegister
    regValue = self.readCoreRegisterRaw(regIndex)
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 99, in readCoreRegisterRaw
    vals = self.readCoreRegistersRaw([reg])
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 484, in readCoreRegistersRaw
    return self._regcache.readCoreRegistersRaw(reg_list)
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 111, in readCoreRegistersRaw
    self._check_cache()
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 88, in _check_cache
    if self._context.core.isRunning():
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 630, in isRunning
    return self.getState() == Target.TARGET_RUNNING
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 607, in getState
    dhcsr = self.readMemory(CortexM.DHCSR)
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 441, in readMemory
    result = self.ap.readMemory(addr, transfer_size, now)
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 258, in readMemory
    result = readMemCb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 240, in readMemCb
    res = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\dap.py", line 316, in readAPCb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 663, in read_reg_cb
    res = transfer.get_result()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 119, in get_result
    self.daplink.flush()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 594, in flush
    self._read_packet()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 749, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 419, in decode_data
    data = self._decode_transfer_data(data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 317, in _decode_transfer_data
    raise DAPAccessIntf.TransferTimeoutError()
TransferTimeoutError
0051943:ERROR:gdbserver:Unhandled exception in handleMsg:
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 530, in handleMsg
    reply = handler()
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\gdbserver.py", line 964, in getRegisters
    return self.createRSPPacket(self.target_facade.getRegisterContext())
  File "c:\python27\lib\site-packages\pyOCD\gdbserver\context_facade.py", line 55, in getRegisterContext
    vals = self._context.readCoreRegistersRaw(reg_num_list)
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 138, in readCoreRegistersRaw
    inException = self._get_ipsr() > 0
  File "c:\python27\lib\site-packages\pyOCD\rtos\rtx5.py", line 195, in _get_ipsr
    return self._parent.readCoreRegister('xpsr') & 0xff
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 87, in readCoreRegister
    regValue = self.readCoreRegisterRaw(regIndex)
  File "c:\python27\lib\site-packages\pyOCD\debug\context.py", line 99, in readCoreRegisterRaw
    vals = self.readCoreRegistersRaw([reg])
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 484, in readCoreRegistersRaw
    return self._regcache.readCoreRegistersRaw(reg_list)
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 111, in readCoreRegistersRaw
    self._check_cache()
  File "c:\python27\lib\site-packages\pyOCD\debug\cache.py", line 88, in _check_cache
    if self._context.core.isRunning():
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 630, in isRunning
    return self.getState() == Target.TARGET_RUNNING
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 607, in getState
    dhcsr = self.readMemory(CortexM.DHCSR)
  File "c:\python27\lib\site-packages\pyOCD\coresight\cortex_m.py", line 441, in readMemory
    result = self.ap.readMemory(addr, transfer_size, now)
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 258, in readMemory
    result = readMemCb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\ap.py", line 240, in readMemCb
    res = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\coresight\dap.py", line 316, in readAPCb
    result = result_cb()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 663, in read_reg_cb
    res = transfer.get_result()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 119, in get_result
    self.daplink.flush()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 594, in flush
    self._read_packet()
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 749, in _read_packet
    decoded_data = cmd.decode_data(raw_data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 419, in decode_data
    data = self._decode_transfer_data(data)
  File "c:\python27\lib\site-packages\pyOCD\pyDAPAccess\dap_access_cmsis_dap.py", line 317, in _decode_transfer_data
    raise DAPAccessIntf.TransferTimeoutError()
TransferTimeoutError

@maclobdell How reproducible is this exception? (I've actually never seen a TransferTimeoutError before!)

I am having the same error, running or debugging a simple project on a mbed LPC 1768 board, using GNU MCU Eclipse. Using pyOCD manually to upload and debug works ok.

No exception when using pyOCD 0.10. It seems to be a problem when using pyOCD version 0.11 or later along with GNU MCU Eclipse.

Thanks for the info, @fepz.

@thegecko @maclobdell My guess is that this is another sleep related issue. The Mbed OS app is causing the device to enter sleep and therefore lose debug connectivity. So when pyOCD tries to read the core state, the transaction hangs and times out.
Please try disabling the call to hal_sleep() in sleep_manager_sleep_auto() in platform/mbed_sleep_manager.c. (You should already be building using the Debug profile.)

@flit, disabling the hal_sleep() seemed to have little effect:
Selected port 50000 for debugging
0000845:INFO:board:Target type is lpc1768
0000975:INFO:dap:DP IDR = 0x2ba01477 (v1 rev2)
0001042:INFO:ap:AP#0 IDR = 0x24770011 (AHB-AP var1 rev2)
0001145:INFO:rom_table:AP#0 ROM table #0 @ 0xe00ff000 (designer=000 part=000)
0001181:INFO:rom_table:[0]
0001217:INFO:rom_table:[1]
0001265:INFO:rom_table:[2]
0001341:INFO:rom_table:[3]
0001402:INFO:rom_table:[4]
0001470:INFO:rom_table:[5]
0001574:INFO:cortex_m:CPU core #0 is Cortex-M3 r2p0
0001626:INFO:dwt:4 hardware watchpoints
0001633:INFO:fpb:6 hardware breakpoints, 4 literal comparators
0001660:INFO:server:Semihost server started on port 4444
0001660:INFO:gdbserver:GDB server started on port 50000
Reading symbols from /Users/thegecko/Mbed Programs/mbed-os-example-blinky/BUILD/LPC1768/ARMC6/mbed-os-example-blinky.elf...
done.
0001705:INFO:gdbserver:One client connected!
0x00006b40 in sleep_manager_unlock_deep_sleep_internal () at ./mbed-os/platform/mbed_sleep_manager.c:183
183	    if (core_util_atomic_decr_u16(&deep_sleep_lock, 1) == 0xFFFF) {
0001777:INFO:gdbserver:Attempting to load Argon
0001779:INFO:gdbserver:Attempting to load RTX5
0001780:INFO:gdbserver:RTX5 loaded successfully
Attached to debugger on port 50000
0007545:INFO:loader:Erased chip, programmed 37888 bytes (37 pages), skipped 3072 bytes (3 pages) at 7.06 kB/s
Image loaded: /Users/thegecko/Mbed Programs/mbed-os-example-blinky/BUILD/LPC1768/ARMC6/mbed-os-example-blinky.elf
Note: automatically using hardware breakpoints for read-only addresses.
0007758:ERROR:gdbserver:Unhandled exception in handle_message:
Traceback (most recent call last):
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/gdbserver/gdbserver.py", line 547, in handle_message
    reply = handler()
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/gdbserver/gdbserver.py", line 982, in get_registers
    return self.create_rsp_packet(self.target_facade.get_register_context())
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/gdbserver/context_facade.py", line 69, in get_register_context
    vals = self._context.read_core_registers_raw(reg_num_list)
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/debug/cache.py", line 531, in read_core_registers_raw
    return self._regcache.read_core_registers_raw(reg_list)
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/debug/cache.py", line 133, in read_core_registers_raw
    self._check_cache()
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/debug/cache.py", line 110, in _check_cache
    if self._core.is_running():
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/cortex_m.py", line 943, in is_running
    return self.get_state() == Target.TARGET_RUNNING
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/cortex_m.py", line 920, in get_state
    dhcsr = self.read_memory(CortexM.DHCSR)
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/cortex_m.py", line 605, in read_memory
    result = self.ap.read_memory(addr, transfer_size, now)
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/ap.py", line 564, in _read_memory
    result = read_mem_cb()
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/ap.py", line 546, in read_mem_cb
    res = result_cb()
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/coresight/dap.py", line 276, in read_ap_cb
    result = result_cb()
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/pyocd/probe/cmsis_dap_probe.py", line 307, in read_ap_result_callback
    six.raise_from(self._convert_exception(error), error)
  File "/Library/Application Support/Mbed Studio/mbed-studio-tools/python/lib/python2.7/site-packages/six.py", line 737, in raise_from
    raise value
TransferError

You are running with a different target than @maclobdell. He was using an LPC546xx rather than the LPC1768 you're using. So I think these are separate bugs. Note that different exceptions are raised: TransferError for LPC1768, but TransferTimeoutError for LPC56xx.

Created #745 to cover the LPC1768 issue.

@maclobdell What application were you testing with that caused this issue? Can you reproduce it with mbed-os-example-blinky?


Add support for partially extending WASM stats/metrics.

Add support for partially extending WASM stats/metrics.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


namespace is ignored when used with upgrade command and --install flag

When using the upgrade command, with --namespace  and --install
Then Helm creates resources in default namespace
Expected: use the specified namespace

for existing release (not purged) it was not working. for brand new it works


Abstract base class for analysis functions

Here I introduce an abstract base class AnalysisFunction for built-in analysis functions, which could also be used to create user's analysis functions. The instances of its sub-classes can be evaluated via calculate() method.
It also renames currently available analysis function removing calc_ prefix from them, calc_stetson_J -> stetson_J, calc_sf2 -> sf2.
Closes #200

@dougbrn thank you! BTW, I'm not really happy about this .calculate() method: calc_sf2.calculate sounds weird. How do you think, could we replace it with __call__() or rename calc_sf2 -> sf2 and calc_stetson_J -> stetson_J?

@dougbrn thank you! BTW, I'm not really happy about this .calculate() method: calc_sf2.calculate sounds weird. How do you think, could we replace it with __call__() or rename calc_sf2 -> sf2 and calc_stetson_J -> stetson_J?

Hmm, I'm not sure that __call__() is ideal, as users may be annoyed/confused by the instantiation needed:
class AnalysisFunction:
    def __init__(self):
        print("Instance Created")

   def columns(self):
       return("flux")

    # Defining __call__ method
    def __call__(self, a, b):
        print(a * b)

# Instance created
ans = AnalysisFunction()

# __call__ method will be called
ans(10, 20)

# but we still can't just directly use this as a function...
AnalysisFunction(10,20)

Renaming the calc functions seems more reasonable, it looks like you currently have calc_stetson_J being imported as it's assigned as calc_stetson_J = StetsonJ, can we just let users directly import the StetsonJ class?

I agree, with the only correction: currently calc_stetson_J = StetsonJ(), so calc_stetson_J is a callable object, an instance of StetsonJ class. Both things are importable, but I don't see how the class could be useful, because it has a trivial constructor.

Alternatively, we could define the calculate function as a staticmethod of the class, like this:
class AnalysisFunction:
    def __init__(self):
        print("Instance Created")

    def columns(self):
       return("flux")

    # Defining __call__ method
    @staticmethod
    def analysisfunction(a, b):
        print(a * b)

# Call via Ensemble -- uses the class
ens.batch(AnalysisFunction)

# Call as function independently -- uses the staticmethod
AnalysisFunction.analysisfunction(10,20)

But this may be annoying to users as well that attempt to pass the static method to the ensemble, or try to act on the class like a function.

@dougbrn Should I improve test coverage?

If you have ideas for further tests, feel free to add them. But I don't think that any of the loss in coverage here is especially impactful or merge-preventing

I added a couple of new tests, but not going to add anything more

I talked with @hombit today; and I just reiterate that the main functionality that I want to have preserved is that an user can invoke our ``special functions'' just as StetsonJ or sf2 without invoking the whole TAPE ensemble. I think we all are behind that and understand that. i know that is not the main point of this pull, but I find it so important that I am willing to repeat myself.
In best case scenario the flow is
t = [1, 2, 3]
y = [2, 3, 4]
yerr = [3, 4, 5]
result = tape.sf2(t,y,yerr)

I understand that this pull changes this. I think that I am fine withresult=tape.analysis.sf2.calculate(t, y, yerr) and result=tape.analysis.sf2.sf2(t,y,yerr) . I think in tutorial we want to probably simplify that with invokation of import tape.analysis.sf2 as sf2.

@dougbrn and @nevencaplar. I've just pushed the code to 1) rename functions back to calc_*, and 2) to rename calculate() to __call__, so finally this PR provides no interface change for analysis functions. If you are ok with this, I rebase and merge it

I'm in favor of the change to preserve the current interface for analysis functions. I just have one last question for the ensemble.batch side, doesn't this implementation mean that a user should supply the StetsonJ class to batch, as supplying the calc_stetson_J instance will not be picked up by ensemble.batch's check to see if it's a subclass of AnalysisFunction? If this is the case, we should point this out in the documentation as much as possible, as I can see users easily just using the calc_stetson_J instance with the ensemble.

Actually this PR changes nothing in how we use analysis functions with batch. New batch implementation checks if an input function is an instance of AnalysisFunction, and both calc_sf2 and calc_stetson_J are instances of AnalysisFunction's child classes:
In [2]: from tape.analysis import calc_stetson_J, AnalysisFunction

In [3]: isinstance(calc_stetson_J, AnalysisFunction)
Out[3]: True

Oh! I see, that's really cool.


[Bug]: lemonloader doesn't open

All of the following criteria must be met

[ ] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the game.
[X] Tried reinstalling LemonLoader.
[X] Tried restarting device.

Describe the issue.
so, basically when i open lemonloader its just pure black, and if i wait for too long it crashes.
Did you attach your log file?

[ ] Yes, I attached my log file to the text box above.
[X] No, I could not find a log file at /storage/emulated/0/Android/data/<package name>/files/melonloader/etc/Latest.log

Try giving lemon installer storage permission from settings

It can take awhile to load depending on what games you have installed.


Only works on Overlay Canvases

I have been struggling to make the slider work for any type of canvas other than the overlay one. The click would just not register and the maxSlider would just bump up to its maximum value.

That will be because its using world positions not screen space positions. There will need to be some conversions from world space to camera space. I didn't initially do that because I was a bit lazy, sorry, and it wasn't required for the game I'm working on. Which is where the code comes from.
I am not sure when I will find the time to dig into it though sorry, currently trying to release a game. But will add that support as soon as I can. If you beat me to it, please do PR I would really appreciate contribution.
Thanks

I believe I have fixed it, merge when you can


v5 beta 5: how to completely disable animation

Hi,
Is there a way to completely disable all animation? If not, I would like to enter this as an enhancement request 👍
Now I'm using:
  .animate("enterDelay", 0)
  .animate("enterDuration", 0)

But I assume "some animation code" is still beging executed, potentially causing performance impact which I want to get rid of.
Thanks a lot,
Sander

.animate(false);


Upgrade to angular 14

This PR upgrades to angular 14.
Along the way I had to ditch ngx-gallery, and replace it with swiper: 0d934253a0048a564ba9d1c9c3e05716f25d007c

The infinite scrolling library should be updated, but I saw this issue (and potential fix) and now I really want to get rid of it entirelly. Any objections? Of course, this should be a subsequent PR. I can tackle it.

Want me to take care of this branch @nkoenig ?

The infinite scrolling library should be updated, but I saw this issue (and potential fix) and now I really want to get rid of it entirelly. Any objections? Of course, this should be a subsequent PR. I can tackle it.

Yes, please open a PR to fix this.

Commit https://github.com/gazebo-web/gazebosim-app/pull/8/commits/a0c8c51779ba09070183750f044a9adaed0fa917 removed custom SVGs we were using for the Category and Tags icons.
These were the only use cases, which are now covered (at least in a way) by the regular Material icons. Changed them in https://github.com/gazebo-web/gazebosim-app/pull/8/commits/8e40dd0aeb1c0c820bab152d3fba02199051770a.
Comparison:

New icons
Old icons

Just as a heads-up, I'm working on removing the inifnite scroll. That's the last step of the migration. Once that is ready we can merge this. We can work on modules/standalone components on a subsequent PR.

@nkoenig can we rollback the merge of https://github.com/gazebo-web/gazebosim-app/pull/9 into this PR? Without it, the Angular 14 upgrade is ready to be deployed. I haven't tested the gzweb-related changes, so having it here will block the Angular 14 update.
We can treat the changes of https://github.com/gazebo-web/gazebosim-app/pull/9 as an upgrade to use gzweb via npm, which should not be related to the Angular 14 update.

@nkoenig can we rollback the merge of #9 into this PR? Without it, the Angular 14 upgrade is ready to be deployed. I haven't tested the gzweb-related changes, so having it here will block the Angular 14 update.
We can treat the changes of #9 as an upgrade to use gzweb via npm, which should not be related to the Angular 14 update.

Reverted.


Allowing the warehouse mobile app to be officially used in China

:x: Organization membership check failed
Members of the MicrosoftDocs organization should use the private repo. Please move your changes to https://github.com/MicrosoftDocs/Dynamics-365-Operations, and close this pull request.

Reached out to the author on 1/12/23 to verify the changes can be merged.

@kfend Can you take a look at these changes to see if they are appropriate to merge?


Implement tracing/object logging

It could be useful for felling to support per object logging, this may be referred to as tracing (need to check)
Currently thinking of something like:

class Foo:
    def __init__(self) -> None:
        self.logger = felling.object_logger()

Which will provide Foo its own logger, which will give each instance of Foo its own log file

Alternatively, each object could be given its own handler for the runtime.


Opening the window on idle time popup button click

keep the time   ( no need to bring up the window)
discard (no need to bring up the window)
Add idle time as a new entry ( Bring up the window to add details.)

Edit popup opening when selecting "Add idle time as a new entry" seems to be implemented, but not working properly. Needs to be double checked.

keep time opens on windows, should not

osx works


What is password for client certificate?

Certificate on device requires a password to import it. Didn't see a way that a password was set at creation time.
Using docker-compose and master tag

Thanks for being interesting in this project.
Currently, the PKCS#12 password option is only implemented on the server side, and the client side is hard-coding neko as the passphrase while requesting the server to generate the PKCS#12 bundle.
https://github.com/amphineko/yonagi/blob/81073c2c7558f79dd643b203c7bc4c125978b265/packages/web/app/pki/page.tsx#L116-L119
Also please keep in mind I just merged #8 which moves PKI and its certificate storage into SQLite. This is a breaking change and there is no way to migrate your currently configured certificates. It should the last breaking change that cannot migrate data between versions.

I tried neko and my android device will not install it. Ask for the correct password.

Can you share any description of symptoms, error messages or screenshots?
You may also drop an example .p12 file to my email so I can check if the generated file is broken.

Here is the screenshot

Without an example of generated .p12 bundle, I can't really tell why it's failing.
The PKCS#12 bundle is specifically tuned to be compatible with iOS/macOS/Windows, using RC2-40-CBC and DES-EDE3-CBC for encryption of certificates and private keys. Android devices might already deprecated or prohibits these weak encryption algorithms.

Is there another supported encryption for Android? My primary OSes are Linux and Android.

I found someone has similar issue like you on Stack Overflow: https://stackoverflow.com/a/73512646
First I would suggest you to inspect the p12 file you currently have, it should give you outputs like this:
% openssl pkcs12 -legacy -info -nokeys -in /tmp/<REDACTED>.p12
Enter Import Password:
MAC: sha1, Iteration 1
MAC length: 20, salt length: 64
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
Certificate bag
Bag Attributes
    localKeyID: <REDACTED>
subject=CN = <REDACTED> + O = <REDACTED>
issuer=CN = <REDACTED> + O = <REDACTED>
-----BEGIN CERTIFICATE-----
<REDACTED>
-----END CERTIFICATE-----
Certificate bag
Bag Attributes: <No Attributes>
subject=CN = <REDACTED> + O = <REDACTED>
issuer=CN = <REDACTED> + O = <REDACTED>
-----BEGIN CERTIFICATE-----
<REDACTED>
-----END CERTIFICATE-----
Certificate bag
Bag Attributes: <No Attributes>
subject=CN = <REDACTED> + O = <REDACTED>
issuer=CN = <REDACTED> + O = <REDACTED>
-----BEGIN CERTIFICATE-----
<REDACTED>
-----END CERTIFICATE-----
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048

It seems like your Android devices are probably unhappy with the pbeWithSHA1And3-KeyTripleDES-CBC encrypted key. You can follow the instructions on that SO answer to convert it into pbeWithSHA1And40BitRC2-CBC.

Once you can confirm pbeWithSHA1And40BitRC2-CBC works for you, you can fork my project and change these lines to use pbeWithSHA1And40BitRC2-CBC while generating p12 files.
https://github.com/amphineko/yonagi/blob/81073c2c7558f79dd643b203c7bc4c125978b265/packages/supervisor/src/pki/pkijs/pkcs12.ts#L61-L67
You can refer to these line on how to specify pbeWithSHA1And40BitRC2-CBC.
https://github.com/amphineko/yonagi/blob/81073c2c7558f79dd643b203c7bc4c125978b265/packages/supervisor/src/pki/pkijs/pkcs12.ts#L100-L105

I get this error:
└─[$]> openssl pkcs12 -legacy -info -nokeys -in /tmp/e5d08b996ca5344f550bb0b79af789d0.p12
pkcs12: Unrecognized flag legacy
pkcs12: Use -help for summary.

For your OpenSSL issue, please provide additional information like OpenSSL version.
I guess -legacy can be omitted if your OpenSSL is too old.

Also can you please provide feedback on the rest of my comments?
You should at least let me know if you have tried, or you're unable to do so. Thank you.

@wicadmin Can you try the solution of #10?
The built Docker image is available at ghcr.io/amphineko/yonagi:feat-android-support.

I haven't heard any response from you, assuming you issue has been resolved and closing now.
Re-open if you continue to see any problem.