The API NewEmergingIssuesClient.NewListPager() throws unmarshalling error

Bug Report

import path of package with versiin :

github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0

output of go version

go version go1.21.4 darwin/arm64

I was trying to list the Resource Heath Emerging Issue for my tenant, some how the SDK is throwing the following error

2024/01/18 19:54:06 failed to advance page: unmarshalling type *armresourcehealth.EmergingIssueListResult: unmarshalling type *armresourcehealth.EmergingIssueListResult: struct field Value: unmarshalling type *armresourcehealth.EmergingIssuesGetResult: struct field Properties: unmarshalling type *armresourcehealth.EmergingIssue: struct field RefreshTimestamp: parsing time "\"2024-01-18 14:18:54Z\"" as "\"2006-01-02T15:04:05.999999999Z07:00\"": cannot parse " 14:18:54Z\"" as "T"
The SDK is not able to parse the value 2024/01/18 19:54:06 to time stamp.
However, I am able to get the result from API explorer

What should you Expect?
The API EmergingIssuesClient.NewListPager should return the result instead of error
How can we reproduce it?

Just make the API call EmergingIssuesClient.NewListPageras follows

package main

import (
   "context"
   "fmt"
   "log"

   "github.com/Azure/azure-sdk-for-go/sdk/azidentity"
   "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth"
)

// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/b74978708bb95475562412d4654c00fbcedd9f89/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/examples/EmergingIssues_List.json
func main() {
   cred, err := azidentity.NewDefaultAzureCredential(nil)
   if err != nil {
   	log.Fatalf("failed to obtain a credential: %v", err)
   }
   ctx := context.Background()
   clientFactory, err := armresourcehealth.NewClientFactory("", cred, nil)
   if err != nil {
   	log.Fatalf("failed to create client: %v", err)
   }

   pager := clientFactory.NewEmergingIssuesClient().NewListPager(nil)
   for pager.More() {
   	page, err := pager.NextPage(ctx)
   	if err != nil {
   		log.Fatalf("failed to advance page: %v", err)
   	}
   	for _, v := range page.Value {
   		// You could use page here. We use blank identifier for just demo purposes.
   		fmt.Printf("Name : %s", *v.Name)
   	}

   	if page.NextLink == nil {
   		break

   	}

   }
}

Anything we should know about your environment.

N/A

It appears that the service is returning the date-time in the wrong format.

Hey @jhendrixMSFT, is there any update on this one?

Somebody from the service team will have to comment on why the service returns the time in an invalid format. @stephbaron are you the correct person?

@jhendrixMSFT,  is it possible for our SDK to be more robust for different format of the datetime?  https://ijmacd.github.io/rfc3339-iso8601/

We can, but the question is, should we? This is the first time I've ever seen a service send time in this format. Do the other languages handle it?
@JeffreyRichter the time is coming back as 2024-01-18 14:18:54Z. Note the missing T between the date and time. While it's easy enough to handle, and for compat reasons we might have to, should services be using this format?

Ugh. Azure should be using RFC3339 dates/times which requires a T or t. https://datatracker.ietf.org/doc/html/rfc3339.
But there is a note at the bottom of page 8 that says this about the more lenient iso 8601:
  NOTE: ISO 8601 defines date and time separated by "T".
  Applications using this syntax may choose, for the sake of
  readability, to specify a full-date and full-time separated by
  (say) a space character.

So, I think our SDK should support parsing space for older azure services where forcing them to add the t now may break customers.

The fix will be in v1.4.0-beta.2 released later today.


chore: Update .github/workflows/rustdoc.yaml in `artichoke/strftime…

…-ruby`
Managed by Terraform.
Contents
---
name: Documentation
"on":
  push:
    branches:
      - trunk
  pull_request:
    branches:
      - trunk
  schedule:
    - cron: "0 0 * * TUE"
concurrency:
  group: docs-${{ github.head_ref }}
jobs:
  rustdoc:
    name: Build Rust API docs
    runs-on: ubuntu-latest
    env:
      RUSTDOCFLAGS: -D warnings -D rustdoc::broken_intra_doc_links --cfg docsrs
      RUST_BACKTRACE: 1

    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Install Rust toolchain
        uses: artichoke/setup-rust/rustdoc@v1

      - name: Check docs with no default features
        run: cargo doc --workspace --no-default-features

      - name: Clean docs
        run: cargo clean

      - name: Build Documentation
        run: cargo doc --workspace

      - name: Deploy Docs
        uses: peaceiris/actions-gh-pages@v3
        if: github.ref == 'refs/heads/trunk'
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./target/doc
          publish_branch: gh-pages
          user_name: artichoke-ci
          user_email<EMAIL_ADDRESS>          # only have the most recent docs in the `gh-pages` branch
          # https://github.com/artichoke/artichoke/issues/1826
          force_orphan: true

@x-hgg-x I'll be making some changes to the GitHub Actions config and how it sets up Rust toolchains to address Node.js 12 GHA runtime deprecations because the actions-rs actions appear to be unmaintained. I'll be replacing these with the family of composite actions in https://github.com/artichoke/setup-rust.

https://github.com/artichoke/project-infrastructure/issues/265

admin merging to bypass clippy lint breakage on latest stable. will fix in a followup.


View PDF end-point should preserve encoded chars (including commas)

TODO: Fill this out

This is all testing well right now. I'm going to look at whether we have / need some tests to cover this.


Duplicate environment cards in details page (#1354)

Signed-off-by: Keith Chong<EMAIL_ADDRESS>What type of PR is this?
/kind bug
What does this PR do / why we need it:
Duplicate cards in the front end is misleading to the user. Quality issue.
Have you updated the necessary documentation?
N/A
Which issue(s) this PR fixes:
See Jira 1354
How to test changes / Special notes to the reviewer:
I tested this fix and it resolves the problem.

/lgtm
/approve


Tests within a class raise instance has no call method error

I'd like to be able to group my tests under classes, However test cases fail due to call error is raised
This code shows the issue

class TestClass:
    def testInClass1(File):
        assert 1

    def testInClass2(File):
        assert File("/").exists

In a class method, first parameter should be self
class TestClass:
    def test_method(self, File):
        assert File("/").exists

I'm happy to update some of the docs for this - I'll try and raise a PR soon


ENH: stats: Add nan_policy optional argument for stats.rankdata

Reference issue

fix #11790
What does this implement/fix?

I added nan_policy optional argument for stats.rankdata based on A Design Specification for nan_policy and its test.
Additional information

This PR is a reviving #13215

Thank you for reviewing.

Is that true for all the different comparison methods?

Do you mean the comparison methods are the method arguments?

I'd like to write a more comprehensive property-based test

Do you mean the property-based test is using @pytest.mark.parametrize?

Thank you for the detailed explanations. I think omit and raise are supported now.

We should treat all NaNs as identical like we now do in mode
I agree. But I'm not sure NaN's rank should be the biggest rank or smallest, or NaN in propagate.
I think it should be NaN in propagate. This means omit and propagate will be same behavior.
What do you think?

It would also be reasonable if propagate were to cause all other elements to be NaN, actually: if a NaN's rank relative to another element is undefined, then the other element's rank relative to the NaN is undefined.

OK. I would like to hear other options. Current options are:
input:
rankdata([0, 2, 3, 2, np.nan, np.nan], nan_policy='propagate')
output options:

1: [1.  2.5 4.  2.5 5.  5. ]
2: [2.  3.5 5.  3.5 1.  1. ]
3: [1.  2.5 4.  2.5 nan.  nan. ]
4: [nan  nan nan  nan nan.  nan. ]

First thoughts: I agree with @AtsushiSakai. Keeping nan's rank as nan when nan_policy='propagate' is more intuitive (option 3). I also had similar thoughts for stats.mode where too the behavior of nan_policy='propagate' and nan_policy='omit' became exactly identical.
After thinking about it a bit, it also makes sense to just return all nans since nans "propagate". A middle ground between expected and correct behavior would be to change the default value of nan_policy to 'omit' so the users get the intuitive result by default. We can then change the output of nan_policy='propagate' to return all nan (option 5) and add a note in docs so users opting for it know what they would get. What do you think @mdhaber @AtsushiSakai?

Thank you for your comment. I like this idea:

just return all nans since nans "propagate". change the default value of nan_policy to 'omit'

CI failures looks _contains_nan starts using isnan in #16209, and isnan does not support string type array. I will consider a good solution.

@AtsushiSakai Would you post that fix of _contains_nan as a separate PR and add a unit test? It is conceptually distinct from this PR, and I want to make sure it makes it into the next release even if this doesn't. When that new PR merged into main, please merge main here (not rebase). Thanks!


Update to helm version: 3.55.0  -> version: 3.62.0 broken service definition

When upgrading chart version, broke links between service definition and pods.

could you show what is wrong here?


[Snyk] Security upgrade numpy from 1.21.3 to 1.22.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

⚠ Warning
rdflib 6.3.2 has requirement importlib-metadata<5.0.0,>=4.0.0; python_version >= "3.7" and python_version < "3.8", but you have importlib-metadata 6.7.0.
pandas 1.3.5 requires numpy, which is not installed.
fosslight-util 1.4.31 requires numpy, which is not installed.
fosslight-util 1.4.31 has requirement xlrd==1.2.0, but you have xlrd 2.0.1.
fosslight-binary 4.1.25 requires numpy, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Issue
Upgrade
Breaking Change
Exploit Maturity

NULL Pointer Dereference SNYK-PYTHON-NUMPY-2321964
numpy:  1.21.3 -> 1.22.2
No
Proof of Concept

Buffer Overflow SNYK-PYTHON-NUMPY-2321966
numpy:  1.21.3 -> 1.22.2
No
No Known Exploit

Denial of Service (DoS) SNYK-PYTHON-NUMPY-2321970
numpy:  1.21.3 -> 1.22.2
No
Proof of Concept

Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 NULL Pointer Dereference
🦉 Denial of Service (DoS)

Direct required package가 아닌 사항으로 close합니다.


python3 ldpred CLI tool issue

I am using a python3 environment and I can run ldpred, the tests pass (thanks for the python3 compatibility) but the CLI seems broken.
I am not sure if I am doing something wrong or whether it's a python3 thing. Any thoughts?
ldpred
Traceback (most recent call last):
  File "/data/scratch/user/vincent/env-precisionhealth/bin/ldpred", line 11, in <module>
    load_entry_point('LDpred==1.0.0', 'console_scripts', 'ldpred')()
  File "/data/scratch/user/vincent/env-precisionhealth/lib/python3.6/site-packages/pkg_resources/__init__.py", line 487, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/data/scratch/user/vincent/env-precisionhealth/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2728, in load_entry_point
    return ep.load()
  File "/data/scratch/user/vincent/env-precisionhealth/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2346, in load
    return self.resolve()
  File "/data/scratch/user/vincent/env-precisionhealth/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2352, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'LDpred'

Hi Vincent,
Thanks for reporting this.  I'm not sure what causing this.  Could it be that you're trying to install it using pip, or some other package manager?  Would you mind sharing the command that produced the issue.
I have no problems running LDpred.py using either python 2.7.x, or python 3.6.x
I hope this helps.
Best,
Bjarni

mmm... I am doing a
python setup.py  install

which I suppose is the way to go? This is really strange because I see the LDpred egg file. I really am puzzled by the python package management system, and I must be doing something wrong.

Ok, that explains it.  I recently updated the version, and I haven't packaged it properly yet.  Hence, please don't use setup.py.
Until that is fixed, please just clone the repository and then you should be able to just run LDpred by writing
python LDpred.py -h
I hope this helps.  Alternatively, I plan tp fix the setup.py, and LDpred available on pip, later this week.
Cheers,
Bjarni
ps. fight on

Ah yes I may not have been clear. I can run ldpred in general, only the CLI interface (i.e. calling ldpred outside of the repo) crashes. As long as you are aware of the CLI limitation, all is well. Thanks.
And I had not noted that you were a USC grad... Fight on indeed.

Should be fixed now.  Thanks for reporting.


[BUG] Remove description revealing popup (and show it in a tooltip)

Description
Why display a popup upon clicking it? Simply hovering over it should reveal the description, and opening a popup on click seems like unnecessary complexity.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)
[ ] I am participating in Hacktoberfest 2023

@aftabrehan
Where are you seeing this?
It is visible on hover, you dont need to click on it.

Oh! I understand. Yeah, it does simplify the user experience. Definitely worth proceeding.

@CBID2, can I work on this issue?
cc @Anmol-Baranwal

@CBID2, can I work on this issue?
cc @Anmol-Baranwal

Let's focus on the other issue you raised

@CBID2
Let him work on this. No issue has been assigned to him, and he is working closely on discord.
@aftabrehan
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me @Anmol-Baranwal or @CBID2 if you require any assistance.


Installed on cloud9

Nice one!
I just installed it on cloud9 and the frontend is working perfectly.
But when I try to access /admin
It shows not found

It's admin/
Thanks for this great startup app in YII2.

Welcome @hdushku, and thx for a good comment about this repo.
As for this issue, maybe you'll have to improve your nginx or apache config.


[ARITH] Bugfix: check arg positiveness for mod rules

This is a bugfix which adds additional positiveness checks for several mod-related rewriting rules.
@tqchen @derisavi please review

Thanks, @sgrechanik-h


Suppress "Error exists after running preLaunchTask" dialog

I am using vscode with C#, for now when build fails it will show the dialog "Error exists after running preLaunchTask 'build'." with the following options:

Open launch.json
Show Errors
Cancel
Debug Anyway

It will be great if I will be able to specify to always "Show Errors" in launch.json, this way the dialog is not gonna pop up every time build fails (like it is in Visual Studio 2017).

Yes! Id rather a popup/toast notification for this.

Yeah, we should provide more fine grained options. Assigning to september so we tackle this some time in the future.

I have changed the dialog such that it now has a checkmark to remember the choice.
If the checkmark is checked the following setting will be written to user settings:
"debug.onTaskErrors" it can have three values, the default prompt, debugAnways and showErrors
We have decided against writing this in workspace storage and launch configuration because we never write automatically in lanuch configurations and this feels more like a task thing. The downside of writing into workspace sotrage is that it is hard for hte user to revert this behavior.
Try it out in vscode insiders and let us know what you think. Thanks

To verify:

Generate a new Typescript VSCode extension
Create some error in extension.ts
Start debugging -> verify you get a dialog as shown in the picture above


Tf 0.9.4

This adds support for the new init command in terraform. It accepts and sets most of the options for the command.
With introduction of the init, the remote config command was removed from terraform 0.9.x

Thanks for the PR.  I haven't played with 0.9 at all yet.  Had some questions.

If I have a remote tfstate generated from 0.8 will using this still work with the "old" tfstate?
Have you tested this in a pipeline?

From looking at the changes themselves it LGTM so far.

re 1. Yes. How the remote stats work did not change. What changed is how TF defines the location of those state files.
re 2:
This is how I use the plugin:
pipeline:
  deploy:
    image: msuterski/drone-terraform:0.6-0.9.4
    plan: true
    init_options:
      backend_config: "path=terraform.tfstate"
    when:
      event: push

Output from drone 0.6
$ rm -rf .terraform
time="2017-05-11T15:11:50Z" level=info msg="Drone Terraform Plugin Version" Revision=
$ terraform init -backend-config=path=terraform.tfstate -input=false
Initializing the backend...
Successfully configured the backend "gcs"! Terraform will automatically
use this backend unless the backend configuration changes.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your environment. If you forget, other
commands will detect it and remind you to do so if necessary.

$ terraform get
$ terraform validate
$ terraform plan -out=plan.tfout

Error loading state: [WARN] Error retrieving object<redacted>/terraform.tfstate: googleapi: got HTTP response code 403 with body: Caller does not have storage.objects.get access to object <redacted>/terraform.tfstate.
time="2017-05-11T15:11:52Z" level=fatal msg="Failed to execute a command" error="exit status 1"
...

Trying to figure the GCP key thing now...

Got the secrets thing working. That's what is happening when one can not read...
$ rm -rf .terraform
$ terraform init -backend-config=path=<redacted>/terraform.tfstate -input=false
time="2017-05-11T15:43:56Z" level=info msg="Drone Terraform Plugin Version" Revision=
Initializing the backend...
Successfully configured the backend "gcs"! Terraform will automatically
use this backend unless the backend configuration changes.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your environment. If you forget, other
commands will detect it and remind you to do so if necessary.
$ terraform get
$ terraform validate
$ terraform plan -out=plan.tfout
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

fastly_service_v1.marcin: Refreshing state... (ID: <redacted>)
No changes. Infrastructure is up-to-date.

This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, Terraform
doesn't need to do anything.
$ rm -rf .terraform

@msuterski Are you done making changes?  You feel this is ready to merge?  So far I'm 👍

Yes. I'm done with the changes. I've added the plugin to our pipelines and works fine.
Thanks a lot.

Thank you!


Proxy argument causing issue with requests

Have just installed the package through pip. Simply trying to ping the server to make sure I have it installed correctly and that it is working. Clearly has something to do with the proxy field created and included in the request on line 139 of bittrex_requests.py. I don't have a tonne of experiences with REST APIs and requests, what is the purpose of this field?
Expected Behavior
Status 200 OK response
Current Behavior
TypeError: request() got an unexpected keyword argument 'proxy'
Full stacktrace:
https://api.bittrex.com/v3/ping
Traceback (most recent call last):
  File "d:/Study/Projects/Crypto_Trader/crypto_trader.py", line 3, in <module>
    print(bittrex.v3.ping())
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\bittrex_api\v3.py", line 73, in ping
    return self.__request(
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\bittrex_api\v3.py", line 1619, in __request
    return self.requests.request(
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\bittrex_api\utils\bittrex_requests.py", line 75, in request
    self.__request(
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\bittrex_api\utils\bittrex_requests.py", line 139, in __request
    resp = requests.get(url, params=params, headers=headers, proxy=proxy)
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "D:\Study\Projects\Crypto_Trader\venv\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
TypeError: request() got an unexpected keyword argument 'proxy'

Steps to Reproduce
from bittrex_api.bittrex import Bittrex
bittrex = Bittrex('key', 'secret', debug_level=3)
print(bittrex.v3.ping())

Context

Python 3.8.5, 64-bit
Windows 10

Hey! Just updated the code and published it on pip. it should work now. Bittrex limits your requests to 20/minute to block scraping, the proxy field is added to avoid blocking. If you don't plan to make more than 20 request (without token), then there is no need for it.

Hey! Just updated the code and published it on pip. it should work now. Bittrex limits your requests to 20/minute to block scraping, the proxy field is added to avoid blocking. If you don't plan to make more than 20 request (without token), then there is no need for it.

Thanks!

Thanks!


Rewrite the README

Need help with formatting. Also welcoming additional information and content, such as better installation and startup instructions

I can help you re-design your readme file.

Yes please, that would be much appreciated! :)
I'll assign you.

I have rewrote it and created a pull request waiting for your approval 👍

Thank you! I'll still leave the issue open for possible future modifications :)


S. cerevisiae ortholog IDs to fix

These SGD IDs aren't loading for SPAC869.07c in chromosome1.contig:
FT                   /controlled_curation="term=orthologous to S. cerevisiae
FT                   SGD:S000029663 and SGD:S000029664 and SGD:S000029665 and
FT                   SGD:S000029662; date=19700101"

I think SGD have solved this problem for us.
From the recent newsletter:
https://wiki.yeastgenome.org/index.php/SGD_Newsletter,_Fall_2021#New_systematic_nomenclature_for_yeast_genes_not_in_the_reference_genome
"This new systematic nomenclature is similar to, but distinct from, that used for ORFs and that used for ncRNAs. Non-reference genes are designated by a symbol consisting of three uppercase letters and a four-digit number, as follows: Y for "Yeast", SC for "Saccharomyces cerevisiae", and a four-digit number corresponding to the sequential order in which the gene was added to SGD. We currently have 55 of these genes in SGD, some of which are old favorites like MAL21/YSC0004 and MATA/YSC0046, while others are more recent additions like XDH1/YSC0051"

[ ] a) As  a first step I will update the names we use from the SGD:ID to the new systematic nomenclature. This might be enough.
[ ] b) If A is not sufficient to fix https://curation.pombase.org/dumps/latest_build/logs/identifier_problems.txt
@kimrutherford will need to check that the additional names are imported

I added the systematic IDs, so this part needs checking.

still in logs, so presumably a file from SGD needs updating:
mRNA SPAC869.07c.1: can't find feature for: YSC0021
mRNA SPAC869.07c.1: can't find feature for: YSC0024
mRNA SPAC869.07c.1: can't find feature for: YSC0025
mRNA SPAC869.07c.1: can't find feature for: YSC0019

I've updated the SGD data file but not in time for the load.  The new one contains those four IDs.  I'll check the logs on Wednesday morning.

https://curation.pombase.org/dumps/latest_build/logs/ortholog_problems.txt
mRNA SPAC869.07c.1: ortholog (YSC0021) not found
mRNA SPAC869.07c.1: ortholog (YSC0024) not found
mRNA SPAC869.07c.1: ortholog (YSC0025) not found
mRNA SPAC869.07c.1: ortholog (YSC0019) not found

https://curation.pombase.org/releases/pombase-2019-03-01/logs/ortholog_problems.txt
now has:
mRNA SPAC869.07c.1: ortholog (SGD:S000029663) not found
mRNA SPAC869.07c.1: ortholog (SGD:S000029664) not found
mRNA SPAC869.07c.1: ortholog (SGD:S000029665) not found
mRNA SPAC869.07c.1: ortholog (SGD:S000029662) not found

The problem was that those genes have a different feature type in the SGD data.  They aren't ORFs like the other genes.  I've fixed the load script to include them for Saturday night's load and I'll check on Sunday.

This is fixed now but there are new warnings: #913

reopening because the linked ticket does not seem to correspond to this issue
https://curation.pombase.org/dumps/latest_build/logs/identifier_problems.txt
mRNA SPAC869.07c.1: can't find feature for: YSC0021
mRNA SPAC869.07c.1: can't find feature for: YSC0024
mRNA SPAC869.07c.1: can't find feature for: YSC0025
mRNA SPAC869.07c.1: can't find feature for: YSC0019

https://curation.pombase.org/dumps/latest_build/logs/identifier_problems.txt

Sorry!  That was another old log file.  I've removed it now.
Those orthologs are definitely on the page: https://www.pombase.org/gene/SPAC869.07c


print_standup_data should be part of the standup data structure

It would make more sense for standup to impl its own printing mechanism. Maybe through std::fmt::Display ?

Asking not to question your idea but to better understand. Can you elaborate on why this would make more sense? This project is a platform for me to learn Rust. Feel free to leave as much detail as possible.

There's a couple of reasons I think this makes sense
1- From a software design pov, we are doing extra I/O (opening the same file multiple times ) with no actual benefits. For example, add_item will call data_file::write_to_file(file, self) and then print_standup_data(file) which both open file handles on the filesystem. By using the data already loaded in Standup, you get improved performance. Obviously for such an app this is very little concern but it still bothers me :>
You could simply pass your standup instance to your print_standup_data function but that leads me to point 2  ->
2- Traits are an important part of rust and you get to practice working with traits ! You can use standard printing using println!(standup) which is kinda cool I guess.

Excellent, thank you! I'll be working on this update soon.

@loginn - Hey, would you be willing to review the PR attached to this branch? I'm curious if you have any suggestions for my implementation.
One thing I'm curious about is this:
❯ cargo check
warning: unused variable: `f`
  --> src/standup.rs:68:19
   |
68 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
   |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: `laydown` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s

I used the example from the Rust docs around implementing Display but I deviated slightly. I was able to get the results I wanted using print() instead of write() and I didn't have a need for the f: &mut fmt::Formatter<'_> argument. This leads me to believe that perhaps my implementation isn't ideal. Curious about your thoughts.


Text change on Level 2 and Level 3 after completion of previous level..

-When level 2 or 3 not setup (not for level 1), “Share the Recovery Key(s) to upgrade your backup to Level 2”

@cakesoft-nikhita When level 1 is complete and Level 2 is not complete: replace "Setup/upgrade your backup"  with “Share the Recovery Key(s) to upgrade your backup to Level 2”

-Verified this issue on dev app v1.6.0(265)


BOFT training

Based on the training speed, sample generation speed, and final file size compared to Diag-OFT, it appears that BOFT-training has switched to float32. Is there a possibility to implement mixed precision?
upd: It doesn't seem that the issue is related to switching to float32 or disabling mixed precision. The problem is likely due to the algorithm itself or its unoptimized implementation. BOFT training is approximately 1.8 times slower than Diag-OFT and more than twice as slow as regular LoRa.
Can we expect any improvements on this?

BOFT itself is very large. few times larger than OFT if you use same block size.
Plz check their paper and you know what I'm talking about
I will add some more option for detailed control on how many layer you want instead of always give out dense mat.
But I need to say, if you are asking "improvements on speed" for same config. It is almost impossible.
If you are asking "improvements on more options so user can get smaller/faster BOFT" then it is possible.
But I need to say what you encountered is expected. BOFT can be seen as multi stage Diag-OFT. It should be way slower/larger than Diag-OFT.


Feature: Types

Add Types model and  api - similar to Priority and StatusChange
Types includes but not limited to:

Bug
IT
Security
Server
Other

Add types to database seeds

Recent develop push closes this.
Added Types into the database.


Added Antorum Feburary content

Hmm, it appears that my linter is changing some other lines, should I leave it on or turn it off?

It's better to revert "[rust]" and "---" ones, other changes are fine.

Done :ok_hand:


[Enhancement] Set default value of chunk_reserved_bytes_limit to 0

Why I'm doing:
What I'm doing:
ChunkMemAllocator is designed to solve the problem of  tcmalloc CentralHeap lock caused by frequent memory allocator and release.
However, jemaloc itself is already a CoreAllocater, and ChunkMemAllocater is also a CoreAllocater. The two are conflicting.
ChunkMemAllocater will reserves 2G of memory, which can lead to memory waste in small memory machines. ChunkMemAllocater will occupy the memory of other core arena, which is not friendly to numa models
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

[ ] This is a backport pr

Bugfix cherry-pick branch check:

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

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@Mergifyio rebase main

https://github.com/Mergifyio rebase main

https://github.com/Mergifyio rebase main

https://github.com/Mergifyio rebase main

https://github.com/Mergifyio rebase main


[Parsers] xssecurestore

xssecurestore parser
https://help.sap.com/viewer/0991e2320f5940d988ed32b995d28a44/1.4/en-US/cad0ff3df0fb4ec5b769e4b63e00f73f.html

Module:
https://github.com/SAP/xsk/tree/main/modules/engines/engine-core/src/main/java/com/sap/xsk/xssecurestore

Module:
https://github.com/SAP/xsk/tree/main/modules/engines/engine-core/src/main/java/com/sap/xsk/xssecurestore

More details are needed about the exact usage of this artifact.

not relevant - xssecurestore is an empty artifact and does not have specific meaning in hana cloud


core: release 0.3.5

What in tarnation is this failing test

https://github.com/langchain-ai/langchain/issues/26273


Updates to archived atmospheric variables

Standard and detailed sets are saving 3,229 VAP FROM SOIL SURF -AMOUNT KG/M2/TS. This is just a scaled version of 3,296 EVAP FROM SOIL SURF : RATE   KG/M2/S so is both useless and confusing.

Use extra variables for daily
3,217
3,234
8,234
8,235

@blimlim could you add some info about what those variables are, so we have an audit trail of what was added.


[TVM][WIP] Relay-to-Python translation

For a simple testing utility, @jroesch and I decided that it would be useful to have a translation of Relay programs into equivalent Python code that we could use as an oracle for fuzzing.
Here I have written an attempt at such a translation. The Python code it produces is meant to match the intended semantics of Relay very closely rather than be performant, so there are some ineffeciencies that a smarter implementation could eliminate through analysis (translating let bindings as functions, for example). Again, the point is for the Python code to be evidently correct rather than an implementation that we would use for anything other than testing purposes.
There are a couple of open issues though:

[ ] Tests for the translation
[x] Handling ASTs

There's a rather annoying issue in handling ADTs: ConstructorValue uses a relay.Constructor object for representing ADT values -- if we want to use this translation for differential testing, that would require those constructor objects to match by pointer equality!
This makes it really hard to build ADT values in this translation. Granted, I could pass the Relay module as a variable directly to exec() and get the constructors from the module that way. However, it seems better in the long run for us to take this opportunity to decide on a better representation for ConstructorValue that does not rely on having objects from the module in the value representation.
A simple approach would be a string tag (e.g., '{name of ADT}{name of constructor}{index in ADT definition}'), but there are other choices. I think simplifying the representation would be better for future interoperability (like with @MarisaKirisame's ahead-of-time compiler).

I would appreciate reviews, if possible: @jroesch, @MarisaKirisame , @zhiics, @wweic

I still dont get the problem. Cant you just take that constructor value? I thought they are only constructed when adt is decclard.

LGTM

Well it's not a "problem" in that I can pass the module into the generated Python program (as I describe in my above comment), but I would prefer not to have to do that.

I'll post a review today.

Yes, I will be adding ADTs today, along with tests.

Unfortunately it looks like Python's ast library is really insistent that all expr and statement nodes include a lineno and col_offset attribute, which means I will either have to manually construct the whole translated program as AST nodes or construct it as a string and parse it, but not mix parsing and manually assembled ASTs (the line numbers and column offsets won't be consistent). I will see which reworking will be easier (probably the manually constructed ASTs)

Next on the agenda: adding tests, as I have resolved the issue of lineno and col_offset and have all of Relay's features represented.

@MarisaKirisame I followed the approach of your AoT compiler for lowering op calls, I would appreciate if you could look at that code. This has let me eliminate the call to Relay's interpreter from inside the generated code, so I will now be able to move the changes to attr nodes to their own PR because I don't use them here.

@slyubomirsky I will looked later today/tmr morning.
Also, what is the reason behind calling this a translation instead of compilation? This is clearly a compilation and I think we should call it as such.

Yeah, fair enough on calling it a compilation. I called it a translation because I expected it to be much more modest in scope than it ultimately was. I can rename the file accordingly

Now I have tests running for just about every feature of the translation; I will continue to add them but think it's worth looking over in greater detail. The conversion has ended up being substantially more complicated than I was hoping it would be, so I hope it is not self-defeating in that regard.

@MarisaKirisame do you know if there's any way I could avoid running fusion but still be able to lower operators? I'd prefer this compiler not to have to depend on complicated Relay passes because its purpose is to test Relay

@slyubomirsky fuse with opt-level = 0

Good idea, I'll do that too.

@zhiics @wweic please do another round of review and https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly

Sorry for missing this. I will do another review tonight.

Thank you for the feedback!

@jroesch please manage this PR

I'll see about the conflict here

@jroesch any word?

@jroesch @zhiics Now updated to use the pass manager

Can you address some minor nits?

Will do, thanks


GFProgressBar giving out error

** I get the following error when calling the GFProgressBar **
════════ Exception caught by animation library ═════════════════════════════════════════════════════
The following _TypeError was thrown while notifying listeners for AnimationController:
type 'int' is not a subtype of type 'double'

When the exception was thrown, this was the stack:
#0      _GFProgressBarState.initState.<anonymous closure>.<anonymous closure> (package:getwidget/components/progress_bar/gf_progress_bar.dart:139:17)
#1      State.setState (package:flutter/src/widgets/framework.dart:1240:30)
#2      _GFProgressBarState.initState.<anonymous closure> (package:getwidget/components/progress_bar/gf_progress_bar.dart:138:15)
#3      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:137:19)
#4      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:798:5)
...
The AnimationController notifying listeners was: AnimationController#778da(▶ 0.000)
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: type 'int' is not a subtype of type 'double'

════════ Exception caught by animation library ═════════════════════════════════════════════════════
type 'int' is not a subtype of type 'double'
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: type 'int' is not a subtype of type 'double'

════════ Exception caught by animation library ═════════════════════════════════════════════════════
type 'int' is not a subtype of type 'double'
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: type 'int' is not a subtype of type 'double'

════════ Exception caught by animation library ═════════════════════════════════════════════════════
type 'int' is not a subtype of type 'double'
════════════════════════════════════════════════════════════════════════════════════════════════════

My code
GFProgressBar(                         animateFromLastPercentage: true,                         animation: true,                         progressBarColor: Colors.greenAccent,                         circleStartAngle: 0.0,                         type: GFProgressType.circular,                         progressHeadType: GFProgressHeadType.circular,                         circleWidth: 90.0,                         percentage: 0.5,                         width: 100,                         radius: 90,                         backgroundColor : Colors.black26,                       ),
Pls help i have had this for nearly a week now

This issue has been fixed in new release 1.2.3


The pool keeps saying 'Daemon has donwloaded 100.00% of blocks' but won't start

[2022-02-01 00:03:26.2681] [I] [Core] Version <IP_ADDRESS>-master [630d39dd897b89fbf4a06aa1f39c53b82cb5209f]
[2022-02-01 00:03:26.2962] [I] [Core] Runtime .NET 6.0.1 on Linux 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 [X64]
[2022-02-01 00:03:26.2962] [W] [Core] Running as root is discouraged!
[2022-02-01 00:03:26.3042] [I] [Core] Prometheus Metrics <IP_ADDRESS>:4000/metrics
[2022-02-01 00:03:26.3042] [I] [Core] WebSocket notifications streaming <IP_ADDRESS>:4000/notifications
[2022-02-01 00:03:28.5397] [D] [Host] Hosting starting
[2022-02-01 00:03:28.6241] [I] [ShareRecorder] Online
[2022-02-01 00:03:28.6241] [D] [MessageBus] Listening to Miningcore.Mining.StratumShare:
[2022-02-01 00:03:28.6631] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.TelemetryEvent:
[2022-02-01 00:03:28.6675] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification:
[2022-02-01 00:03:28.6698] [I] [PayoutManager] Online
[2022-02-01 00:03:28.6698] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification:
[2022-02-01 00:03:28.6698] [I] [StatsRecorder] Online
[2022-02-01 00:03:28.7672] [I] [Core] 59 coins loaded from '/opt/miningcore/build/coins.json'
[2022-02-01 00:03:28.7863] [I] [eth1] Starting Pool ...
[2022-02-01 00:03:28.7918] [I] [eth1] ExtraNonceProvider using 4 bits for instance id, 12 bits for 4095 values, instance id = 0x7
[2022-02-01 00:03:28.7982] [I] [Core] API Access to /api/admin restricted to <IP_ADDRESS>,::1,::ffff:<IP_ADDRESS>
[2022-02-01 00:03:28.7982] [I] [Core] API Access to /metrics restricted to <IP_ADDRESS>,<IP_ADDRESS>,::1,::ffff:<IP_ADDRESS>
[2022-02-01 00:03:28.7982] [I] [eth1] Starting Job Manager ...
[2022-02-01 00:03:28.8022] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockFoundNotification:
[2022-02-01 00:03:28.8022] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockUnlockedNotification:
[2022-02-01 00:03:28.8022] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockConfirmationProgressNotification:
[2022-02-01 00:03:28.8022] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:03:28.8062] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.NewChainHeightNotification:
[2022-02-01 00:03:28.8062] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PaymentNotification:
[2022-02-01 00:03:28.8062] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.HashrateNotification:
[2022-02-01 00:03:28.8789] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:03:28.8918] [I] [Lifetime] Now listening on: http://<IP_ADDRESS>:4000
[2022-02-01 00:03:28.8918] [I] [Lifetime] Application started. Press Ctrl+C to shut down.
[2022-02-01 00:03:28.8918] [I] [Lifetime] Hosting environment: Production
[2022-02-01 00:03:28.8918] [I] [Lifetime] Content root path: /opt/miningcore/build/
[2022-02-01 00:03:28.8918] [D] [Host] Hosting started
[2022-02-01 00:03:38.8786] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:03:38.8786] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:03:43.6839] [I] [StatsRecorder] Performing Stats GC
[2022-02-01 00:03:43.6859] [D] [StatsRepository] DeletePoolStatsBeforeAsync()
[2022-02-01 00:03:43.7156] [D] [StatsRepository] DeleteMinerStatsBeforeAsync()
[2022-02-01 00:03:43.7156] [I] [StatsRecorder] Stats GC complete
[2022-02-01 00:03:48.8799] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:03:48.8799] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:03:58.8785] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:03:58.8785] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:08.8797] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:08.8797] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:18.8793] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:18.8793] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:28.8784] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:28.8784] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:38.8805] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:38.8826] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:48.8821] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:48.8821] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:04:58.8859] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:04:58.8859] [I] [eth1] Waiting for daemons to come online ...
[2022-02-01 00:05:08.8877] [D] [eth1] ExecuteAsync(eth_getBlockByNumber)
[2022-02-01 00:05:08.9626] [I] [eth1] All daemons online
[2022-02-01 00:05:08.9626] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:08.9661] [I] [eth1] Waiting for daemon to connect to peers ...
[2022-02-01 00:05:18.9683] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:18.9701] [I] [eth1] Waiting for daemon to connect to peers ...
[2022-02-01 00:05:28.5749] [D] [DefaultHttpClientFactory] HttpMessageHandler expired after 120000ms for client ''
[2022-02-01 00:05:28.9706] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:28.9706] [I] [eth1] Waiting for daemon to connect to peers ...
[2022-02-01 00:05:38.5787] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:05:38.5787] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0326ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:05:38.9705] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:38.9705] [I] [eth1] Waiting for daemon to connect to peers ...
[2022-02-01 00:05:48.5818] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:05:48.5818] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0031ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:05:48.9705] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:48.9744] [I] [eth1] Waiting for daemon to connect to peers ...
[2022-02-01 00:05:58.5837] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:05:58.5837] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0022ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:05:58.9775] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:58.9816] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:05:58.9831] [I] [eth1] Daemon is still syncing with network. Manager will be started once synced.
[2022-02-01 00:05:58.9831] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:05:58.9874] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:05:58.9874] [I] [eth1] Daemon has downloaded 99.99% of blocks from 1 peers
[2022-02-01 00:06:03.9874] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:03.9874] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:03.9874] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:03.9899] [I] [eth1] Daemon has downloaded 100.00% of blocks from 1 peers
[2022-02-01 00:06:08.5842] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:08.5842] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0079ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:08.9911] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:08.9911] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:08.9911] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:08.9911] [I] [eth1] Daemon has downloaded 100.00% of blocks from 1 peers
[2022-02-01 00:06:13.9903] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:13.9903] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:13.9945] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:13.9945] [I] [eth1] Daemon has downloaded 100.00% of blocks from 1 peers
[2022-02-01 00:06:18.5830] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:18.5830] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.002ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:18.9958] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:18.9958] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:19.0011] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:19.0020] [I] [eth1] Daemon has downloaded 100.00% of blocks from 1 peers
[2022-02-01 00:06:24.0023] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:24.0023] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:24.0023] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:24.0023] [I] [eth1] Daemon has downloaded 100.00% of blocks from 1 peers
[2022-02-01 00:06:28.5819] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:28.5819] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0014ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:29.0023] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:29.0023] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:29.0023] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:29.0023] [I] [eth1] Daemon has downloaded 100.00% of blocks from 2 peers
[2022-02-01 00:06:34.0031] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:34.0031] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:34.0031] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:34.0062] [I] [eth1] Daemon has downloaded 100.00% of blocks from 2 peers
[2022-02-01 00:06:38.5835] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:38.5835] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.002ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:39.0061] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:39.0061] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:39.0061] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:39.0061] [I] [eth1] Daemon has downloaded 100.00% of blocks from 2 peers
[2022-02-01 00:06:44.0115] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:44.0115] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:44.0115] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:44.0115] [I] [eth1] Daemon has downloaded 100.00% of blocks from 2 peers
[2022-02-01 00:06:48.5884] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:48.5884] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0013ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:49.0151] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:49.0151] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:49.0151] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:49.0151] [I] [eth1] Daemon has downloaded 100.00% of blocks from 2 peers
[2022-02-01 00:06:54.0160] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:54.0160] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:54.0178] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:54.0178] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:06:58.5926] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:06:58.5926] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0013ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:06:59.0200] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:59.0200] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:06:59.0272] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:06:59.0272] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:07:04.0267] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:04.0267] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:04.0267] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:07:04.0267] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:07:08.5912] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:07:08.5912] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.1985ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:07:09.0279] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:09.0279] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:09.0279] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:07:09.0303] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:07:14.0310] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:14.0310] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:14.0310] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:07:14.0310] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:07:18.5917] [D] [DefaultHttpClientFactory] Starting HttpMessageHandler cleanup cycle with 1 items
[2022-02-01 00:07:18.5917] [D] [DefaultHttpClientFactory] Ending HttpMessageHandler cleanup cycle after 0.0015ms - processed: 0 items - remaining: 1 items
[2022-02-01 00:07:19.0343] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:19.0343] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:19.0343] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:07:19.0343] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers
[2022-02-01 00:07:24.0361] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:24.0361] [D] [eth1] ExecuteAsync(eth_syncing)
[2022-02-01 00:07:24.0361] [D] [eth1] ExecuteAsync(net_peerCount)
[2022-02-01 00:07:24.0361] [I] [eth1] Daemon has downloaded 100.00% of blocks from 3 peers

The pool waits for geth to return false from eth_syncing. This can take ages sometimes.

The pool waits for geth to return false from eth_syncing. This can take ages sometimes. You can verify this yourself by opening a geth console and type eth.syncing.

I fixed this problem by setting geth --snapshot=false

I think this is an issue that lies with geth instead of the pool. I use HDD to do the testing hence the low IOPS makes the state syncing last almost forever.

I think this is an issue that lies with geth instead of the pool. I use HDD to do the testing hence the low IOPS makes the state syncing last almost forever.

Exactly, geth needs fast I/O.


Improve Android bindings

This PR fixes the Android bindings and gets them to a state where BetterInfo (the most important mod) is fully functional

android-awesomer

me when PAD -> void* m_unk


chore: update train_fsdp.py

Reponse -> Response

thanks for your suggestion! we'll do some cleanup soon


CM-32255 - Fix commit history scan for secrets via scan service

@MichalBor I'll close this PR if the fix is presented by backend

@MarshalX if not relevant please close

I'm closing for now. I expect a fix from BE side


Revert "Improve AOT snapshot input verification + cleanup (#17136)"

Broke some iOS devicelab tests during AOT compile.
This reverts commit 100be23a341a4206a76e19087bd899a1b1fe2b5e.

TBR=yjbanov@


[WFCORE-3971] Referral mode should be an enumeration

https://issues.jboss.org/browse/WFCORE-3971

@jmesnil did I break all those tests? I can't login to the CI server?

There should be a "Log in as guest" link that will allow you to see it. But yes it breaks the build. It looks like previously some configurations use THROW which isn't allowed with the new constraints to lowercase only.

There was an additional issue that model serialization would generate ALL-CAPS values.

Core - Full Integration Build 7679 outcome was FAILURE using a merge of d56d9705f82be566af6d8778848a92504a2c0ede
Summary: Tests failed: 1 (1 new), passed: 4419, ignored: 144 Build time: 01:44:21
Failed tests
org.wildfly.test.integration.elytron.realm.LdapRealmTestCase: 	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:184)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:162)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:91)
	at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:244)

@marschall In that case we might not be able to do this or we're going to have to allow for both upper/lower case. Otherwise we break compatibility.

Yeah updating the schema is Ok as that is a new schema.
We can update the code now to always write using lowercase, that will be fine as the write always uses the latest schema.
But we must continue to support older configuration which may use upper or lower case.

+1 to what @darranl says. It should just be the parser that needs to be updated.

@darranl I'm not that familiar with the model and the parsers, how do I change it so that lower case values are written?
Also I don't understand why both setAllowedValues and .setValidator(EnumValidator) are called.
Currently a .toUpperCase() is already performed so it looks as if the values are already case insensitive
https://github.com/wildfly/wildfly-core/blob/master/elytron/src/main/java/org/wildfly/extension/elytron/DirContextDefinition.java#L194

@marschall I am just jumping in real quick without really remembering how this works, or having looked much at the failure. But in case it helps take a look at https://github.com/wildfly/wildfly/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/subsystem/StrictMaxPoolResourceDefinition.java#L75 which accepts lower case values https://github.com/wildfly/wildfly/blob/master/ejb3/src/main/resources/subsystem-templates/ejb3.xml#L16. The magic seems to be in the DeriveSize enum

I think changing ReferralMode.toString() to return getValue() will solve this with no need to change the management code.

closing this PR as it is superseded by #3523


AccessDenied error when trying to flash firmware to Technic hub from Windows

I'm pretty sure this is a bug in the LEGO bootloader combined with the way the Windows Bluetooth stack works combined with the way Bleak works. So we might be able to work around this by fixing Bleak.
Running the command
pybricksdev flash .\bricks\technichub\build\firmware.zip -d5

gives
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\david\Documents\GitHub\Pybricks\pybricks-micropython\.venv\Scripts\pybricksdev.exe\__main__.py", line 7, in <module>
  File "c:\users\david\documents\github\pybricks\pybricks-micropython\.venv\lib\site-packages\pybricksdev\cli\__init__.py", line 326, in main    loop.run_until_complete(subparsers.choices[args.tool].tool.run(args))
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2288.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "c:\users\david\documents\github\pybricks\pybricks-micropython\.venv\lib\site-packages\pybricksdev\cli\__init__.py", line 198, in run
    await updater.connect(device)
  File "c:\users\david\documents\github\pybricks\pybricks-micropython\.venv\lib\site-packages\pybricksdev\ble.py", line 139, in connect
    await self.client.connect(disconnected_callback=self.disconnected_handler)
  File "c:\users\david\documents\github\pybricks\pybricks-micropython\.venv\lib\site-packages\bleak\backends\dotnet\client.py", line 243, in
connect
    await self.get_services()
  File "c:\users\david\documents\github\pybricks\pybricks-micropython\.venv\lib\site-packages\bleak\backends\dotnet\client.py", line 464, in
get_services
    raise BleakDotNetTaskError(
bleak.exc.BleakDotNetTaskError: Could not get GATT characteristics for Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService: AccessDenied

Windows Bluetooth capture.
bth_hci.zip
In the Bluetooth capture, we can see that the hub claims that it claims that it has a Service Changed characteristic with indications
Frame 44: 17 bytes on wire (136 bits), 17 bytes captured (136 bits)
Bluetooth
Bluetooth HCI H1 Rcvd ACL Data
Bluetooth HCI ACL Packet
Bluetooth L2CAP Protocol
Bluetooth Attribute Protocol
    Opcode: Read By Type Response (0x09)
    Length: 7
    Attribute Data, Handle: 0x0002, Characteristic Handle: 0x0003, UUID: Service Changed
        Handle: 0x0002 (GATT Characteristic Declaration)
        Characteristic Properties: 0x20, Indicate
        Characteristic Value Handle: 0x0003 (Service Changed)
        UUID: Service Changed (0x2a05)
    [UUID: GATT Characteristic Declaration (0x2803)]
    [Request in Frame: 42]

Windows tries to enable indications on this characteristic
Frame 51: 13 bytes on wire (104 bits), 13 bytes captured (104 bits)
Bluetooth
Bluetooth HCI H1 Sent ACL Data
Bluetooth HCI ACL Packet
Bluetooth L2CAP Protocol
Bluetooth Attribute Protocol
    Opcode: Write Request (0x12)
    Handle: 0x0004 (Service Changed: Client Characteristic Configuration)
    Characteristic Configuration Client: 0x0002, Indication
        0000 0000 0000 00.. = Reseved: 0x0000
        .... .... .... ..1. = Indication: True
        .... .... .... ...0 = Notification: False

But the hub replies with an error.
Frame 53: 13 bytes on wire (104 bits), 13 bytes captured (104 bits)
Bluetooth
Bluetooth HCI H1 Rcvd ACL Data
Bluetooth HCI ACL Packet
Bluetooth L2CAP Protocol
Bluetooth Attribute Protocol
    Opcode: Error Response (0x01)
    Request Opcode in Error: Write Request (0x12)
    Handle in Error: 0x0004 (Service Changed: Client Characteristic Configuration)
    Error Code: Write Not Permitted (0x03)

There are a few more characteristic enumeration packets sent back and forth after this, but I have a feeling that this error bubbles up in Bleak which causes the connect method to fail since the connect method also enumerates services (and I suppose characteristics)

I've seen this error, but it went away after I rebooted Windows.

Same here. So maybe the solution is to add a better error message when this happens to tell the user to try rebooting.

I got this again today. I had previously connected to the device in a web browser. Even though the device was no longer connected i the web browser, apparently, it still had a handle on it. After closing the web browser (all windows), I was able to use pybricksdev without restarting the computer.


Java compatibility for Android

Currently Android Studio only supports Java 7, and many Android devices are still stuck with Java 6 runtime environment. To support running in these older environments, it would be ideal if the jnats implementation could retain Java 6 runtime compatibility.

to avoid crashing cause by current jnats, I have to set the minimum Android SDK version to 18. but it turned number of supported devices from more than 10,000 to almost 6,000.

Due to a documented error, using jnats on older devices cause this error:
java.lang.NoClassDefFoundError: java.util.concurrent.Phaser
at io.nats.client.ConnectionImpl.(ConnectionImpl.java:156)
at io.nats.client.ConnectionFactory.createConnection(ConnectionFactory.java:257)
at io.nats.client.ConnectionFactory.createConnection(ConnectionFactory.java:249)

As a side note, Java 8 is supported on Android N.

@pires yes, but it is SDK 23. there are more than 4,000 devices which doesn't support even SDK 18.

@remotegun I didn't nor do disagree. It was just a side note for (who knows?) future reference.

@remotegun  @pires
I have changed the NATS parent pom to default to java 1.7, and made the necessary code changes for now. I'm extremely reluctant to drop back to Java 6. Farzad can you please test this?
If needed, I can get rid of the Phaser usage, which was only experimental to begin with.

@mcqueary the current pom.xml isn't changed recently. were should I get the new version you were working on it?

The change is in the nats-parent-pom.

mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.classifier: osx-x86_64
[WARNING] Failed to inject repository session properties.
java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/eclipse/aether/RepositorySystemSession;
at kr.motd.maven.os.RepositorySessionInjector.injectRepositorySession(RepositorySessionInjector.java:22)
at kr.motd.maven.os.DetectExtension.injectSession(DetectExtension.java:148)
at kr.motd.maven.os.DetectExtension.afterProjectsRead(DetectExtension.java:107)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building NATS Parent POM 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-default) @ nats-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ nats-parent ---
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (default-prepare-agent) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (pre-unit-test) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:report (post-unit-test) @ nats-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ nats-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) @ nats-parent >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-default) @ nats-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ nats-parent ---
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (default-prepare-agent) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (pre-unit-test) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) @ nats-parent <<<
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ nats-parent ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.847s
[INFO] Finished at: Sat Jun 25 20:24:44 IRDT 2016
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------

You need to mvn install and then build jnats.

What specific Android versions are you targeting?

INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.classifier: osx-x86_64
[WARNING] Failed to inject repository session properties.
java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/eclipse/aether/RepositorySystemSession;
at kr.motd.maven.os.RepositorySessionInjector.injectRepositorySession(RepositorySessionInjector.java:22)
at kr.motd.maven.os.DetectExtension.injectSession(DetectExtension.java:148)
at kr.motd.maven.os.DetectExtension.afterProjectsRead(DetectExtension.java:107)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building NATS Parent POM 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-default) @ nats-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ nats-parent ---
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (default-prepare-agent) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (pre-unit-test) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:report (post-unit-test) @ nats-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file:/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ nats-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) @ nats-parent >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-default) @ nats-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ nats-parent ---
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (default-prepare-agent) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:<IP_ADDRESS>505241946:prepare-agent (pre-unit-test) @ nats-parent ---
[INFO] surefireArgLine set to -javaagent:/Users/Farzad/.m2/repository/org/jacoco/org.jacoco.agent/<IP_ADDRESS>505241946/org.jacoco.agent-<IP_ADDRESS>505241946-runtime.jar=destfile=/Users/Farzad/Downloads/nats-parent-pom-master/target/coverage-reports/jacoco-ut.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) @ nats-parent <<<
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ nats-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ nats-parent ---
[INFO] Installing /Users/Farzad/Downloads/nats-parent-pom-master/pom.xml to /Users/Farzad/.m2/repository/io/nats/nats-parent/1.0-SNAPSHOT/nats-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.356s
[INFO] Finished at: Mon Aug 01 17:59:08
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------

do you have any hints for me to fix it?

@remotegun  I have created a branch https://github.com/nats-io/jnats/tree/long-exception you can try with your client. The parsing code was throwing the NumberFormatExceptions, and killing your client. The branch will initiate a reconnect. Let me know if this solves the issue on your side.

Closed by #55

Yes, it’s working from android >= 18

On Dec 7, 2018, at 11:52 AM, KORuL<EMAIL_ADDRESS>wrote:
Any result for android api < 26?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/nats-io/java-nats/issues/24#issuecomment-445157776, or mute the thread https://github.com/notifications/unsubscribe-auth/AKV5pAwv3_mtswwTN-DCSNdyXcfDvkBnks5u2iVPgaJpZM4Is581.

@remotegun I try it yesterday, but get this error
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Duration;
    at io.nats.client.Options.<clinit>(Options.java:80)
    at io.nats.client.Options$Builder.<init>(Options.java:390)
    at com.example.aniketbapat.demoapp.MainActivity$ConnectServer.doInBackground(MainActivity.java:70)
    at com.example.aniketbapat.demoapp.MainActivity$ConnectServer.doInBackground(MainActivity.java:60)
    at android.os.AsyncTask$2.call(AsyncTask.java:304)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    at java.lang.Thread.run(Thread.java:762)`

try this version and let me know the result:
compile 'io.nats:jnats:0.7.3'

On Dec 7, 2018, at 7:35 PM, KORuL<EMAIL_ADDRESS>wrote:
@remotegun https://github.com/remotegun I try it yesterday, but get this error
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Duration;
at io.nats.client.Options.(Options.java:80)
at io.nats.client.Options$Builder.(Options.java:390)
at com.example.aniketbapat.demoapp.MainActivity$ConnectServer.doInBackground(MainActivity.java:70)
at com.example.aniketbapat.demoapp.MainActivity$ConnectServer.doInBackground(MainActivity.java:60)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/nats-io/java-nats/issues/24#issuecomment-445279002, or mute the thread https://github.com/notifications/unsubscribe-auth/AKV5pG1L7-5QazhcIWLAg1HOyiY3m0AOks5u2pG0gaJpZM4Is581.

implementation 'io.nats:jnats:1.0' work fine with gnatsd Release v1.3.0 on android > 18
Thanks a lot!
I create Issue for others people #198

Good to hear that.
Good luck

On Dec 8, 2018, at 2:30 PM, KORuL<EMAIL_ADDRESS>wrote:
implementation 'io.nats:jnats:1.0' work fine with gnatsd Release v1.3.0 on android > 18
Thanks a lot!
I create Issue for others people #198 https://github.com/nats-io/java-nats/issues/198
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/nats-io/java-nats/issues/24#issuecomment-445450668, or mute the thread https://github.com/notifications/unsubscribe-auth/AKV5pFCeD6mrThzbYXHzHke8hMVjGrFKks5u25vRgaJpZM4Is581.


Introduce ShadCN UI via the DropdownMenu component set

This PR adds ShadCN-Svelte to the repository, starting with the DropdownMenu component set.
Specifically, I've:

Followed the ShadCN-Svelte manual installation docs
Added the Dropdown Menu component set via: npx shadcn-svelte@latest add dropdown-menu
Created a few Storybook stories to showcase some examples

This PR will be followed by a PR that uses this new dropdown menu in the Cloud UI (#3737).

No real problems so far using this to update a few of the other menus throughout the app. Will submit those as a PR today. Solved an issue with the way we were handling portals as well.


BUG(v1.4.2) - Unsupported query "SELECT * FROM abc WHERE key = :id" for List return type. It should be SELECT, since DELETE, UPDATE, INSERT returns int type.

Sorry I don't have an example but with the latest version v1.4.2 I see the new error:
Unsupported query "SELECT * FROM abc WHERE key = :id" for List return type. It should be SELECT, since DELETE, UPDATE, INSERT returns int type.
from https://github.com/pinchbv/floor/commit/f4650850999bc4a945316f924d762eac7c83bb7f
I'm unsure why it is not parsed as a SelectStatement but the query is clearly a SELECT SELECT * FROM abc WHERE key = :id

This is the actual code that generates the issue:
@Query('SELECT * FROM Profile WHERE key = :id')
Future<Profile?> getById(String id);

This is the actual code that generates the issue:
@Query('SELECT * FROM Profile WHERE key = :id')
Future<Profile?> getById(String id);

hmm, I'm not sure if this method causes the error, because the error is related to the List return value type. Just checked the example project with
@Query('SELECT * FROM task WHERE id = :id')
  Future<Task?> findTaskById(int id);

as a sample - it works fine. No errors are appearing when the method is invoked.

@royston-c
could you share the entire Profile DAO code?

Same error.
import 'package:floor/floor.dart';
import 'package:spellingbee/models/plan.dart';

@dao
abstract class PlanDao {
  @Query("SELECT * FROM Plan ORDER BY id DESC")
  Future<List<Plan>> findAllPlans();

  @insert
  Future<int> insertPlan(Plan plan);

  @delete
  Future<void> deletePlan(Plan plan);
}

Errors:

Workaround: lock to floor 1.4.1

The table name plan is a predefined token in SqlParser, which means that it cannot be used as a valid table name. This conflict results in incorrect parsing of query requests, causing the SqlParser to malfunction.
With table name plan_table, everything works fine.

Looks like the issue has been sorted out and resolved. Closing the issue.

same here. Changing index to index_column fixed it.

Same here. Changing match to match_table fixed it.


boards: Move 802.15.4 SOC configuration from Nordic boards to SOCs

IEEE 802.15.4 is available for each board with Nordic SOC implementing
this protocol. Because of that protocol configuration shall be tied to
SOC instead of board.
Signed-off-by: Hubert Miś<EMAIL_ADDRESS>

Please add: Fixes: #27293. in the commit message.

@carlescufi , actually, it does not fix #27293, but merging this PR is blocked by #27293 .

@hubertmis why is this not enabled for nRF53 Series as well? Don't we yet have a driver/protocol support on this platform?

@ioannisg , we are working on the 802.15.4 driver for nRF53. When we add it, we'll update SoC support.


Removing redundant unique call before making Set

Removing a call to unique before making a Set of the local tags.

Thank you!


WASAPI built-in resampler: Add AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM flag

I discovered that there is a built-in resampler in WASAPI that allows to use any wave format with WASAPI.
It is turned on by AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM flag , see
https://docs.microsoft.com/en-us/windows/win32/coreaudio/audclnt-streamflags-xxx-constants
The flag is succesfully used in miniaudio and portaudio C++ open source libraries.
Adding this option to NAudio WASAPI implementation would greatly simplify the life of Windows-based developers as manual resampling is cumbersome and sometimes results in pretty much unpredictable results. Use of something built-in instead looks like a more reliable and simple option.
I was wondering if it works in NAudio. I was able to change the NAudio code inserting the flag into NAudio lib+disabling IsFormatSupported() call for NAudio.Wasapi/WasapiCapture.cs.
This allowed me to specify any format for WasapiCapture even if it is not supported by the endpoint device.
For this, I changed  AudioClientStreamFlags() code:
        protected AudioClientStreamFlags GetAudioClientStreamFlags()
        {
            // autoresampling flags. works starting from Win8
            uint AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM = 0x80000000;
            uint AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY = 0x08000000;
            uint streamFlags = AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM | AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY;
            return (AudioClientStreamFlags)streamFlags;
        }

and deleted IsFormatSupported() check from https://github.com/naudio/NAudio/blob/fb35ce8367f30b8bc5ea84e7d2529e172cf4c381/NAudio.Wasapi/WasapiCapture.cs#L127
Let me know how to proceed: propose a patch or let you incorporate this flag in a way you prefer (e.g. having a separate class, or  whatever that suits NAudio code design)

Wow, didn't know that was in there, and would be great to get in there (especially if this works for playback too)
In terms of fitting with NAudio design - a couple of thoughts

I'd probably make auto-resampling optional but on by default. e.g. a class property that you can change before beginning capture
I still think you need to check if the format is supported since the user could have asked for something unusual like MP3 format

Thanks for sharing the thoughts:

Agreed. I think changing the default behaviour posses some risk in terms of backward-compatbility but I can hardly imagine a client code that seeks for the best fitting format by simply trying out all the possible formats within a loop or something.
Well, a sanity check for PCM\IEEE floating is needed indeed.

Sorry it took me so long to get round to this, but finally have implemented it and it will be in the next NAudio release. Many thanks for making me aware of this capability - it makes WASAPI so much easier to work with.
Sadly, you can't use it with WASAPI exclusive mode playback, but that's not too surprising.


use Snopes search via the Algolia API

The previous snopes search system wasn't working as expected.
It didn't seem to return results for known correct queries.
Instead, this change the makes use of the search system that the
snopes website uses - Algolia.

@rmmh alternatively, I can remove the snopes plugin as it's just not working.

looks like an alternative implementation was implemented, closing this one

Sorry, forgot about this one!
On Wed, Aug 8, 2018, 15:06 James Ward<EMAIL_ADDRESS>wrote:

The previous snopes search system wasn't working as expected.
It didn't seem to return results for known correct queries.
Instead, this change the makes use of the search system that the
snopes website uses - Algolia.
You can view, comment on, or merge this pull request online at:
https://github.com/rmmh/skybot/pull/179
Commit Summary

use Snopes search via the Algolia API

File Changes

M plugins/snopes.py
https://github.com/rmmh/skybot/pull/179/files#diff-0 (73)

Patch Links:

https://github.com/rmmh/skybot/pull/179.patch
https://github.com/rmmh/skybot/pull/179.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rmmh/skybot/pull/179, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM7nHd-Z0A5cu0wrnYXOznWD_bL_eObks5uO2DggaJpZM4V0vN-
.


QR code drawn on incorrect position

Hi,
I am testing the BinaryKits Viewer label image generator. And I found a problem with the QR code drawing. I used the next ZPL code
^XA
^FT20,122^BQ,2,3
^FH^FDLA,123456789012^FS
^FT111,52^A0N,23,23^FH^FDTest^FS
^XZ

BinaryKits viewer produces the next label:

If I use the same ZPL code in the labelary service or try to print on the real label printer I get the next label

Looks like the BinaryKits viewer does not use correctly ^FT command before the ^BQ command. In case I change the ^FT command with ^FO in labelary I get the same image as the BinaryKits viewer.

Thanks for the bug report. You're correct that ^FT is not being passed to QR Code elements.


⚠ PassThePopcorn has degraded performance

In ff18ef5, PassThePopcorn ($PTP) experienced degraded performance:

HTTP code: 502
Response time: 3608 ms

Resolved: PassThePopcorn performance has improved in 873a3ae after 6 minutes.


3033 setup benchmarking performance test

Context
We have performance issues on some endpoints. As part of the work to address this we want to run performance regression tests as part of the staging deploy pipeline. The thresholds in theses tests will be reduced as we improve performance.
The tests are intended to warn (but not block) during deployment. They haven't been added to the pipeline yet as this will need to be merged before they can be added.
Changes proposed in this pull request
Add spec/performance/pre_deploy_spec.rb that runs multiple requests against specified endpoints and compares their average response against a predefined threshold.
Guidance to review
The tests can be run locally as per the docs.
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Setup benchmarking / performance test


Question:  Access to ClientId

Hi Team,
I am looking to add theming.
What is the best way of getting access to the ClientId in _layout.cshtml?

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use StackOverflow for that. This has the advantage that questions and answers can be easily found by search engines, and that there are more people answering questions than just us.
For IdentityServer3
https://stackoverflow.com/questions/tagged/?tagnames=identityserver3&sort=newest
For IdentityServer4
https://stackoverflow.com/questions/tagged/?tagnames=identityserver4&sort=newest
For commercial support
https://identityserver.io/


Fix issue with unsigned compare peep in dead code.

The unsigned compare peep optimization, after being changed to have
the bytecodeuses instruction emitted after the compare instead of before
it, had issues with lowering of code hidden behind a bailonnoprofile, in
that it would have conflicts on lifetimes due to the loss of atomicity
of the bytecodereg use and generation of the compare. This patch attempts
to restore that by aggregating the bytecodeuse information for a single
instruction into once place.

Hi @Penguinwizzard, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Derek Morris). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@LouisLaf

@dotnet-bot test Ubuntu ubuntu_linux_release_static please
@dotnet-bot test Ubuntu ubuntu_linux_test_static please


Africa Countries: Kosovo classified to be In Africa

Bringing to your attention that Kosovo is not in Africa, but in rather in Europe. Kindly rectify accordingly

Thanks - do you have a suggestion about what might be causing this issue? We are using UN regions and linking to country names.

Dear Sam,
I appreciate, perhaps  my guess could be a mix of classification of region
where Kosovo is lamp to africa region, and that require correction the
names in json file or shapefile.
Yuster Ronoh |  Mobile +254724305899/ +254733573770 | Skype: yronoh
On Mon, Apr 20, 2020 at 12:35 PM Sam Abbott<EMAIL_ADDRESS>wrote:

Thanks - do you have a suggestion about what might be causing this issue?
We are using UN regions and linking to country names.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/epiforecasts/covid/issues/41#issuecomment-616462312,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLADL45EFK5UOGASXGDQ2TRNQQQXANCNFSM4ML2724A
.

Right should be fixed in the version that has just gone live - let me know if this is not the case. Thanks for flagging.