Implemented BinaryCrossentropy metric

Updates:

Created BinaryCrossentropy metric
Created basic tests for BinaryCrossentropy metric (passing)
Created docs for BinaryCrossentropy metric
Refactored main docs by balancing files and correcting language typos

Note: when reviewing conflicts, bold text belongs to my uploaded branch.
Please let me know if you approve these writing fixes, so I can resolve the conflicting texts.
Besides, let me know if there is any comment on the BCE metric implementation.
:+1:

This looks good!
@cgarciae
Just wondering what's the difference of having this as a Metric? Because @sebasarango1180 already implemented it as a loss. And the way elegy works, it logs already each loss separately, for example when it returns all losses and metrics as a History object. Tensorboard also will log the each loss.

@charlielito metrics are cumulative while losses are not.

@sebasarango1180 LGTM, I resolved the conflicts in the README.

@sebasarango1180 good to go?


fix readme: ignoredQueryParameters => removeQueryParameters

Hey
thanks for this great lib, i just stumbled across the removeQueryParameters attribute, which in the README example is wrongly named as ignoredQueryParameters.

Thank you :)

thanks, that was quick!


Update gatsby and dependencies

Upgrading to the latest version of gatsby, and updating other dependencies. Hopefully this closes all of the security warnings.

Still lots of dead links to other research notes in my "private collection." 😂
Also, dead image links. Need to fix #6.
But this fixes some important stuff, so :shipit:


feat(commitment): add KZG commitment

Currently, we are using pedersen commitment scheme. To fold circuit that based on kzg commitment like zkEVM circuit, we need also support. the kzg commitment

Here is the background of this issue:
When we create prover object for zkevm circuit:
https://github.com/scroll-tech/scroll-prover/blob/main/integration/tests/inner_tests.rs#L18
It will call this function:
https://github.com/scroll-tech/zkevm-circuits/blob/develop/prover/src/common/prover.rs#L34
As we can see that the parameter object is a binary file encoding information of BTreeMap<u32, ParamsKZG<Bn256>>.And it only accepts KZG format.

pub fn default_value();
pub fn len() -> usize;
pub fn setup(...) -> Self;
pub fn commit(...) -> Result<C, Error>

After I looked into detail, the kzg commitment is not needed for now. We can still use pederson commitment for now.  While we can still add kzg commitment support for its own good, it is not urgent right now.  @cyphersnake


Error from Your Example App

I'm submitting a ...  (check one with "x")
[x ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
Hello,
After I downloaded your ionic 2 example app from this repo and ran "npm install". After that, I am trying to test with "Ionic Serve" cmd got error message like below:

Please fix your repo!
Cheers

We've created a new example here: https://github.com/ngx-translate/ionic-example


replace max_x, max_y initializers in modules/common/math/box2d.h. Usi…

replace max_x, max_y initializers in modules/common/math/box2d.h.
Using std::numeric_limits::lowest() instead std::numeric_limits::min() which is positive. Fixes #7317

 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.

Thank you for the contribution! Please sign the CLA so we can merge it.

CLA Signed, thanks.


[feat] we should have pull request template

implement a pull request template to enable users to review essential steps before submitting a pull request.

Can you assign me this issue with hacktoberfest labels? Thanks!


client-headers-factory option

New option to define ClientHeadersFactory class for @RegisterClientHeaders
Example: quarkus.openapi-generator.codegen.spec.my_openapi_yaml.client-header-factory=org.DummyClientHeadersFactory
Be default AuthenticationPropagationHeadersFactory class is used.
If 'client-header-factory' is set to 'none', @RegisterClientHeaders will be set without any ClientHeadersFactory and default DefaultClientHeadersFactoryImpl will be used.
Related issue: https://github.com/quarkiverse/quarkus-openapi-generator/issues/290

Hi @hbelmiro is there anything else that i need to fix? if not can you please merge it? thanks

@ricardozanini @hbelmiro please check my latest changes and let me know if anything is not ok thanks

@michalsomora please run mvn verify and commit the changes to format the sources and sort the imports correctly.

fix pushed, hopefully the last one :)

@ricardozanini @hbelmiro is there any action i need to perform? if everything is ok can you please merge my changes and create new release?

@hbelmiro @ricardozanini thank you for approvals, but coult you please finally merge this change?

@allcontributors please add @michalsomora for code


Gardena mowers need streaming support

Is your feature request related to a problem? Please describe:

As a user I want to know when changes occur to the mower (ideally) within a few seconds of the change occurring. However because there are polling restrictions on the Gardena website a web socket will need to be used.
Describe the solution you'd like:

I would like something that lets me get near real time feeds of changes to the mower that updates the switches and sensors.
Describe alternatives you've considered:

Additional context:

Mower:

Year:  N/A
Model:  Gardena Smart Sileno 500

Acceptance Criteria

[x] Will need to be able to create multiple service instances (one for each location) and notify the platform of changes in each independently.
[x] The existing Automower stream client should be refactored to extract much of the logic into a base class.
[x] The existing event stream service abstract class should be utilized to provide basic functionality.
[x] The client can provide the access token to open a stream connection to Husqvarna.
[ ] The client has message, error, open, and close callbacks in place (similar to the Automower client) to notify changes in client state.

Associated with #245


Add example to options-transact-sql.md

This query returns a row, displaying a column representing the @@Options bitmask as a string, and a bit-valued column representing each flag. (e.g., "FLAGS.[ARITHABORT]")

Docs Build status updates of commit 283cb7c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/t-sql/functions/options-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@MikeRayMSFT,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rwestMSFT , @uc-msft - Could you review this proposed update?

@sean-bloch This is a great example of viewing the different options, thanks.
Since the article hasn't been refreshed in a while, we'll do an internal PR which includes your changes so that you still get contribution credit. You will see that published in a day or so.

Thanks @rwestMSFT @uc-msft @MikeRayMSFT @jborsecnik .  I was reminded recently that doc PRs are a thing.
Enjoy the day,
-Sean


Closes: #395 Arbitrary start number for ordered list

The CommonMark spec says ordered lists can start with any arbitrary value: https://spec.commonmark.org/0.29/#start-number this PR allows that in Markdown Here.

Except the start attribute is deprecated apparently. Which seems weird to me but there you go. I'll try to do this in the CSS instead.

Except it's been un-deprecated - because it's not about presentation but has meaning: https://w3c.github.io/html-reference/ol.html
So re-opening this!

Stop sending me emails, I unsubscribed so leave me alone
Get Outlook for iOShttps://aka.ms/o0ukef

From: Gav Massingham<EMAIL_ADDRESS>Sent: Wednesday, December 11, 2019 10:43:25 AM
To: adam-p/markdown-here<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [adam-p/markdown-here] Closes: #395 Arbitrary start number for ordered list (#591)
Reopened #591https://github.com/adam-p/markdown-here/pull/591.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/adam-p/markdown-here/pull/591?email_source=notifications&email_token=AJI64U6MMXDGFSQWPPTUKTLQYC743A5CNFSM4JYS7SC2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVNFJJNA#event-2873791668, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJI64U7SJCTOZQUPZBNEZX3QYC743ANCNFSM4JYS7SCQ.

Unfortunately @terigee you're still listed as subscribed when I look on Github. Maybe try unsubscribing again. I just created the pull request. As far as I know I can't unsubscribe you or make Github not send you emails.

sdaasd
asfasfas


Improve REST API testing system

Motivation and context
The current test database initialization strategy for REST API tests uses the cvat_db.sql file, this approach makes it difficult to develop tests in parallel because it is not clear how to perform *.sql file merging. So this PR solve this problem with Django functionality.
This PR suggest to initialize test db in this way:
#Dump
docker exec cvat python manage.py dumpdata --indent 2 >  tests/rest_api/assets/cvat_db/data.json

#Restore
docker container cp tests/rest_api/assets/cvat_db/data.json cvat:data.json
docker exec cvat python manage.py loaddata /data.json

Increase time with new recovery strategy: ~4 sec.

[x] Change confest.py according new approach of initializing test db.
[x] Update JSON assets
[x] Update tests according to new changes
[x] Estimate convenience of merging two branches that update test db.
[x] Reorganize assets directory
[x] Delete all things that relates with old testing system
[x] Update README

How has this been tested?

Checklist

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

License

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

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

If I run tests on a non-empty CVAT instance, it will fail. What do you recommend?
(cvat) nmanovic@nmanovic-pc:~/Workspace/cvat$ pytest tests/rest_api/ -s
====================================================== test session starts =======================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /mnt/data.ssd1tb/workspace/cvat
collected 162 items

tests/rest_api/test_analytics.py Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "authtoken_token_user_id_key"
DETAIL:  Key (user_id)=(10) already exists.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/commands/loaddata.py", line 78, in handle
    self.loaddata(fixture_labels)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/commands/loaddata.py", line 123, in loaddata
    self.load_label(fixture_label)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/commands/loaddata.py", line 190, in load_label
    obj.save(using=self.using)
  File "/opt/venv/lib/python3.8/site-packages/django/core/serializers/base.py", line 223, in save
    models.Model.save_base(self.object, using=using, raw=True, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/base.py", line 776, in save_base
    updated = self._save_table(
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/base.py", line 881, in _save_table
    results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/base.py", line 919, in _do_insert
    return manager._insert(
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/query.py", line 1270, in _insert
    return query.get_compiler(using=using).execute_sql(returning_fields)
  File "/opt/venv/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1416, in execute_sql
    cursor.execute(sql, params)
  File "/opt/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/opt/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/opt/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/opt/venv/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/opt/venv/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: Problem installing fixture '/data.json': Could not load authtoken.Token(pk=3952f1aea900fc3daa269473a71c41fac08858b5): duplicate key value violates unique constraint "authtoken_token_user_id_key"
DETAIL:  Key (user_id)=(10) already exists.

! _pytest.outcomes.Exit: Command failed: docker exec cvat python manage.py loaddata /data.json. Add `-s` option to see more details !

@kirill-sizov , I have a couple of questions:

The PR remotes some directories from cvat_data (e.g., tasks/*). Are you sure that we don't need them? In general a task directory can have raw data, original data, compressed data and some auxiliary files.
How does unziping cvat_data help to resolve conflicts? If somebody creates a task in two parallel PRs, they will have the same primary key (for data, task and jobs). In this case it will be necessary to resolve the conflict manually. Am I right? If so, will it be better to have cvat_data as an archive?

@kirill-sizov , I have a couple of questions:

The PR remotes some directories from cvat_data (e.g., tasks/*). Are you sure that we don't need them? In general a task directory can have raw data, original data, compressed data and some auxiliary files.
How does unziping cvat_data help to resolve conflicts? If somebody creates a task in two parallel PRs, they will have the same primary key (for data, task and jobs). In this case it will be necessary to resolve the conflict manually. Am I right? If so, will it be better to have cvat_data as an archive?

No problem to store other directories if needed, but directory data is enough for now.

You right, the conflict that include same ids should be fixed manually. Storing in unzipped format allow easy to see what changes was maid in commit.

@nmanovic

psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "authtoken_token_user_id_key"
DETAIL:  Key (user_id)=(10) already exists.

I don't exactly know the cause of this problem, but in my case this problem only occurs if my current database was not built with loaddata. To resolve this problem, you can recreate your database:
docker exec cvat_db psql -d postgres -v from:test_db to:cvat -f restore.sql
docker exec cvat_db createdb cvat
docker exec cvat python manage.py migrate

@nmanovic

I decided to keep tar format for data volumes. But we can easily to change this in future, if we will find out some new reasons for storing data volumes in unzipped format.

The problem with exists key error do not occurs in new testing system. This means if your database was create by loaddata then tests will run successfully. For other case need to re-create database as it mentioned in README. If this error will occurs systematically in different cases, I will fix this problem with drop current database before running tests.

@kirill-sizov , I have merged the PR from Andrey. Could you please resolve conflicts?

@kirill-sizov , I have merged the PR from Andrey. Could you please resolve conflicts?

Done

@kirill-sizov , I see cvat_data.tar.bz2 twice in the PR.

@kirill-sizov , could you please double check your PR next time?

@kirill-sizov , I see cvat_data.tar.bz2 twice in the PR.

I see only one cvat_data.tar.bz2:
tree tests/rest_api/ -P *tar.bz2
tests/rest_api/
├── assets
│   └── cvat_db
│       └── cvat_data.tar.bz2
└── utils


Show details per user on master and branch PR state via dashboard

Open/closed in both locations and relevant labels cherrypick-*.
cc @matchstick @lavalamp @eparis @bgrant0607
Moved from https://github.com/kubernetes/kubernetes/issues/27403

To clarify:
This is discussing:
http://cherrypick.k8s.io/#/queue.
https://github.com/kubernetes/contrib/tree/master/mungegithub/cherrypick

This issue was moved to kubernetes/test-infra#1636


Add  possibility to select 2 phases in evcc (instead of only 1 or 3)

I wish to have the possibility to be able to select 2 phases in evcc. My system (and many others) works with 2 phases connected.
I have a Heidelberg (Amperified) Energy Control (Heidelberg works with only 2 instead of 3 phases connected).
My Tesla Model Y also works with 2 phases without any problems.
I have Photovoltaik power of 7 kW at home (former 10kWp limit still reduced to 70% like many others)
To be able to charge only with pv surplus power the selection of 2 phases in evcc would be perfect (in 16A 2 phases is up to 7.4 kW)
Unfortunately at the moment only 1 or 3 phases is possible to select, so calculation can not be correct unfortunately.
Thank you very much in advance.

IEC 62196 is only defined to support 1 or 3 phases at the connector.

Unfortunately at the moment only 1 or 3 phases is possible to select, so calculation can not be correct unfortunately.

well, we face the same issue here even though not really and not right now due to enough surplus or too low EV consumption.
But our solution is a different one , not perfect, but better till someone finds whatever bypass here or somewhere else cause the demand for a better solution than the easy 1 phase or 3 phase is there .
We cut off the 2nd phase by a WiFi Switch. Our Pulsar Plus can then charge from what is available: 1 phase or 2 phases
The decision about surplus from 1 or 2 phases is driven by Home Assistant and manually which means the car is disconnected in the moment of that switch. Not the best solution but the Pulsar Plus itself can turn on/off phases for charging.
Sad but true, at the end it is a workaround for the evening or early morning.

Thanks a lot for feedback. I understand, but to be able to calculate the loading current / power correctly from the surplus it is necessary to select either 1 or 3 phases. So how do you handle that? Otherwise the surplus --> loading current calculationbis not correct.


Adding multiple Kusto Pool resources in Synapse

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Based on the following PR - https://github.com/Azure/azure-rest-api-specs/pull/13484
Should be merged after it

/azp run

/azp run unifiedPipeline

What's the difference between this PR and https://github.com/Azure/azure-rest-api-specs/pull/13874?

#13874 is replacing this PR, moving to draft in the meanwhile


Add ability to use disabled options in select field.

Please, add support for disabled options. Example: http://www.w3schools.com/tags/att_option_disabled.asp

Could you explain what kind of "support" you are looking for? if you just add disabled="disabled" it will behave like a disabled option

Yes, it should just behalf like a disabled option, i.e. when user clicks on disabled option 1) value of select should not be changed 2) drop down should not be closed

Could you tell me what doesn't work on the plugin? I don't see what there is to be done here, the element is still a <select> element and behaves as such

Options with disabled="disabled" don't behave like disabled, you can choose them, which is incorrect. You can test it here: http://codepen.io/anon/pen/ZWzxaj

@SergeiStruk this is not my plugin that you are using, so you should probably log the issue on the right github.


Refresh resources cache when the file changed      It doesn't  take effect

i use  latest 3.3 version， found this issue was not resolved
https://github.com/hishamco/My.Extensions.Localization.Json/pull/87#issue-2206481438

I will check ..

I will check ..

my company's maintenance staff will often change the internationalization prompt, and it is too troublesome to restart the program every time, hope you can fix this bug in the next release

Let me think about it and find a proper way to handle it, unless you have a solution and you are happy to submit a PR


fixing the pipe-overflow in catchup integration test

The pipe-overflow error is caused by we are trying to writing into a synchronized pipe from a buffered pipe.
My solution is just make the pipe (the one that is written to) be buffered.

Discussed in person. The pipe semantics were changed because there was a mismatch in the integration between a strict_pipe and a linear_pipe.


Reduce desscription in action.yml

Description
A brief description of your changes.
Github marketplace requires a description be no longer than 125 chars.

[x] I have performed a self-review of my changes
[x] I have read and understood the contributing guidelines

Note: I also removed OTP 20 and elixir 1.14 from the test matrix. It was failing, but also they are both terribly old now.

Note: I also removed OTP 20 and elixir 1.14 from the test matrix. It was failing, but also they are both terribly old now.

If you wanna do this (I don't think there's a maintenance range in place) I'd suggest getting rid of pre-20 info. in the README, too, as well as some of the unit tests (setup-beam.test.js).


The scope of use of each methods

I have a question about the scope of use of the feature selection methods.
When using machine learning methods such as SVR, I have found the literature where the wrapper method has been introduced.
On the other hand, when using deep learning methods such as LSTM, I did not find any literature that introduced the wrapper method.
Should I use the filter method instead of the wrapper method or the embedding method because of the random bias in deep learning?

Hey there, when using deep learning, I use the filter methods to delete a small number of nonsignificant features. That way, the neural network will have the ability to choose what best will have more impact on the final result on his own (by choosing which weights to each feature in the input methods), and this is the beauty of deep learning.

Thank you for contacting me. Your very clear explanations helped me to understand!


MIAM dataset - new citation details

Hi @lhoestq, I have updated the citations to reference an OpenReview preprint.

Hi !
Looks like there's a unicode error in the new citation in the miam.py file.
Could you try to fix it ? Not sure from which character it comes from though
You can test if it works on your side with
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_miam

Unicode error resolved!


Extend the defer phase state checks in the unit test

Change Overview
This PR attempts to fix the flakiness around the defer phase unit tests by extending the defer phase checks in the unit test to account for states with empty string value.
Following this log from one of the failed CI runs, notice that the defer phase of the test-actionset-sg4qq actionset is set to completed after the test has failed:
[36m[2022-04-21T20:11:25.785Z][0m {"ActionSet":"test-actionset-sg4qq","Container":"container","File":"pkg/output/stream.go","Function":"github.com/kanisterio/kanister/pkg/output.splitLines","Line":46,"Phase":"backupPhaseTwo","Pod":"kanister-job-v4jx8","Pod_Out":"###Phase-output###: {\"key\":\"value\",\"value\":\"mainValueTwo\"}","hostname":"a48311680e48","level":"info","msg":"","time":"2022-04-21T19:54:52.857077971Z"}
[36m[2022-04-21T20:11:25.785Z][0m {"ActionSet":"test-actionset-sg4qq","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).runAction.func1","Line":493,"Phase":"backupPhaseTwo","hostname":"a48311680e48","level":"info","msg":"Completed phase backupPhaseTwo","time":"2022-04-21T19:54:52.926249989Z"}
[36m[2022-04-21T20:11:25.785Z][0m {"ActionSet":"test-actionset-sg4qq","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).executeDeferPhase","Line":516,"Phase":"deferPhase","hostname":"a48311680e48","level":"info","msg":"Executing deferPhase deferPhase","time":"2022-04-21T19:54:52.926303491Z"}

[36m[2022-04-21T20:11:25.785Z][0m ----------------------------------------------------------------------
[36m[2022-04-21T20:11:25.785Z][0m FAIL: controller_test.go:656: ControllerSuite.TestDeferPhase

[36m[2022-04-21T20:11:25.785Z][0m controller_test.go:674:
[36m[2022-04-21T20:11:25.786Z][0m     c.Assert(err, IsNil)
[36m[2022-04-21T20:11:25.786Z][0m ... value *errors.withStack = State 'complete' never reached: Unexpected state:  ("State 'complete' never reached: Unexpected state: ")

[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:53.740559764Z"}

# ....
[36m[2022-04-21T20:11:25.786Z][0m {"Container":"container","File":"pkg/output/stream.go","Function":"github.com/kanisterio/kanister/pkg/output.splitLines","Line":46,"Pod":"kanister-job-4qk5f","Pod_Out":"###Phase-output###: {\"key\":\"value\",\"value\":\"deferValue\"}","hostname":"a48311680e48","level":"info","msg":"","time":"2022-04-21T19:54:59.564795915Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"ActionSet":"test-actionset-sg4qq","File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).executeDeferPhase","Line":553,"Phase":"deferPhase","hostname":"a48311680e48","level":"info","msg":"Completed deferPhase deferPhase","time":"2022-04-21T19:54:59.62929645Z"}

Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[x] :robot: Test

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

@pavannd1 @viveksinghggits I don't quite understand is why the controller log shows that the same blueprint is added multiple times. All of them say Added blueprint test-blueprint-defer-d5hlk. Any idea?
[36m[2022-04-21T20:11:25.785Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:46.738448315Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:53.740559764Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:54.644069197Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:56.373873872Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:59.714220153Z"}
[36m[2022-04-21T20:11:25.788Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:00.648875372Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:03.49233199Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:06.980262243Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:10.743418453Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:14.08697098Z"}

@pavannd1 @viveksinghggits I don't quite understand why the controller log shows that the same blueprint is added multiple times. All of them say Added blueprint test-blueprint-defer-d5hlk. Any idea?
[36m[2022-04-21T20:11:25.785Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:46.738448315Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:53.740559764Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:54.644069197Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:56.373873872Z"}
[36m[2022-04-21T20:11:25.786Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:54:59.714220153Z"}
[36m[2022-04-21T20:11:25.788Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:00.648875372Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:03.49233199Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:06.980262243Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:10.743418453Z"}
[36m[2022-04-21T20:11:25.789Z][0m {"File":"pkg/controller/controller.go","Function":"github.com/kanisterio/kanister/pkg/controller.(*Controller).onAddBlueprint","Line":215,"hostname":"a48311680e48","level":"info","msg":"Added blueprint test-blueprint-defer-d5hlk","time":"2022-04-21T19:56:14.08697098Z"}

I think the problem is, in the handler of blueprint we are just logging that blueprint was added but not marking the object from queue to be done. That is the reason, we are able to see stale objects as well in the queue
func (c *Controller) onAddBlueprint(bp *crv1alpha1.Blueprint) {
	c.logAndSuccessEvent(context.TODO(), fmt.Sprintf("Added blueprint %s", bp.GetName()), "Added", bp)
}

It looks like we are not even maintaining the queue.

Merging - got a :+1: from @pavannd1.


C1 migration

Updated to use NFTStorefrontV2, removed Recipe.cdc which was a copy of the storefront contract code


Feature/selectall orgs filter fix

fix the behavior of selectall checkbox in orgs filter control:
Jquery selector, :visible, also selects for elements that contain inline css of "display: none" - this resulted in all org elements including hidden ones being selected.
The fix is, in the onclick event of selectall checkbox, adding a check for the css property of "display:none" before checking an org element.
Note This will need to be merged after the hotfix has been merged to the develop branch as the hotfix contains admin.js code that does have code that has been added since the last release.

Ivan, yes #1613 needs to be merged first before this PR can be merged.


[TextField type="number"] able to type character 'e' but not others

It blocks me from entering any alpha characters except for 'e' and 'E'; Number is just working great.

I think it allows to enter e or E in order to represent numbers in the form 123.456e+5.

Isn't the expect behavior? That doesn't seems to be linked to Material-UI. I think that we can close this issue.

@oliviertassinari : I agree.


[NEW ICON] Discord

Skill Name
Discord
Why?
Popular chat platform, would be good to add into 'social' parts of GH readmes
Reference Images (optional)
Ref

These are skill icons. Discord isn't a skill (unlike Discord bot programming).

These are skill icons. Discord isn't a skill (unlike Discord bot programming).

Could use it for stuff like Discord Bots, would be fairly useful either way.

Could use it for stuff like Discord Bots, would be fairly useful either way.

Discord bots has a different logo than Discord.
https://discord.com/assets/245b7cb607ba382289c23aa668786c28.svg

Could use it for stuff like Discord Bots, would be fairly useful either way.

Discord bots has a different logo than Discord.

That logo doesn't really represent any meaning, it'd be better to have a Discord logo or a mix of the two to give the icon some meaning.

That logo doesn't really represent any meaning, it'd be better to have a Discord logo or a mix of the two to give the icon some meaning.

What do you mean? That's literally the official icon Discord uses for bot development.

On that note, for Discord brand colors, this could possibly work:

Fixed it being off-center:

Fixed it being off-center:

Looks good, you should make a PR for this and I can just close this issue so it's not flooding the issues board

Fixed by #5

Let's not PR that for now, I'll explain why when I'm free in a bit

Gotcha. I'll revert

Let's not PR that for now, I'll explain why when I'm free in a bit

Fair enough 👍

Added Discord and Discord Bots logo in 28fb8ab


lp_solve: fixed build error due to defining isnan

Things done

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

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Fixes #14037.
cc: @joachifm @vcunat @zimbatm

Thanks. Is the source containing another tarball ? I don't really understand what' going on with the double unpacking.

This package does not use standard setup.nix for some reason, so it unpacks the tarball manually in buildCommand.

I'm not competent to comment on the fix here. But, I wonder, if you're already touching this, perhaps you could 1. change the src url to use  a mirror and 2. fixup the description (removing the package name).
If you're not keen on doing those, I'm fine with taking this as-is, if it works for you.

Updated.

Thank you


Renaming of namespaces & macros? <3

WRT changing namespaces, there is a tool shipped with cte called clang-change-namespace which is designed to do these kinds of refactorings. I'm not entirely sure how it scales for large projects, but if you need to change namespaces that's definitely a good starting point.

WRT changing namespaces, there is a tool shipped with cte called clang-change-namespace which is designed to do these kinds of refactorings. I'm not entirely sure how it scales for large projects, but if you need to change namespaces that's definitely a good starting point.

Would it bwbpossible to make thisvtool accessible through the renaming hot key in VS code/the text editor?

WRT changing namespaces, there is a tool shipped with cte called clang-change-namespace which is designed to do these kinds of refactorings. I'm not entirely sure how it scales for large projects, but if you need to change namespaces that's definitely a good starting point.

Would it possible to make this tool accessible through the renaming hot key in VS code/the text editor?

I think so, but I don't think it's within the scope of Clangd plugin (either VSCode or coc-clangd). There are many great tools out there and integrations would surely be nice but we are focusing on the LSP functionality & Clangd.

WRT changing namespaces, there is a tool shipped with cte called clang-change-namespace which is designed to do these kinds of refactorings. I'm not entirely sure how it scales for large projects, but if you need to change namespaces that's definitely a good starting point.

Would it possible to make this tool accessible through the renaming hot key in VS code/the text editor?

I think so, but I don't think it's within the scope of Clangd plugin (either VSCode or coc-clangd). There are many great tools out there and integrations would surely be nice but we are focusing on the LSP functionality & Clangd.

The thing is, it seems other language extensions interfere with clangd, so features like rename can only be governed by one extension (not entirely sure about rename in particular but I know its like this for most language related features). Otherwise the C/C++ extension by Microsoft does however support renaming of namespaces out of the box but when having Clangd enabled its no longer accessible.

Is there any work in progress on namespace/macro renaming? As mentioned before, other IDE/editor extensions are already supporting this feature.


Documentation Updates

Proposed changes
PR adds better documentation
Types of changes
What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments

This seems fine, I don't think it is well balanced between being detailed and having simplicity.

Is there any improvements i can make to make them better?


Added a Button Container and added the Documentation for it

This closes #1022

I don't understand why packaage.json is deleted. There are also many unrelated changes in here. Please make changes that are only directly related to the pull request.


Unable to set panel ID using PanelBuilder

Hi! It's me again.. this issue might be related to #18 but with different symptoms.
I'm encountering a use case where I need to set the id of the panels in dashboard. However there does not seem to be a generated id() setter for some PanelBuilder, specifically timeseries.PanelBuilder and table.PanelBuilder. The setter is available for RowBuilder though.
Expected behavior:
new timeseries.PanelBuilder()
        .id(thisId)
        .tooltip(buildMultiDescTooltipOptions)
        .legend(defaultLegendOptions)
        .drawStyle(GraphDrawStyle.Line);

More context:
The reason why I would prefer setting the id instead of having Grafana automatically set it is because I'm provisioning alerts that gets attached to these panels and will need to add the panel ID to alerts' annotations. Setting the panel ID in code saves me from querying the Grafana Cloud via HTTP API to get it.

Hey there!
Thanks for the report :)
This PR updates our configuration to stop excluding the id field from panels.
I'll push new releases on this repository today or tomorrow, to make the fix for this issue and #18 available.


Document setting up Snowplow Mini with an ELB for SSL

Not for changelog close when done.

De-scheduling...

Won't fix, in 0.3.0 we are moving to Caddy which handles TLS.


When provisioning a GKE cluster in Rancher, cluster can be created with mismatching k8s versions for nodes/cluster

Setup

Rancher version: 2.5

Describe the bug
When provisioning a cluster with GKE in Rancher, the default k8s version for the cluster is 1.20.11-gke.1801, but the default k8s for the node pool is 1.21.5-gke.1302. Rancher will let you click Create and provision the cluster with these settings.
User could also click into the k8s version under Cluster Options (and select the same k8s version shown or a different one), and then the version for node pool will update to match it. But if the user does not do this and proceeds to try and create the cluster, this mismatch persists and a cluster shouldn't be able to be created as such.
To Reproduce

Add a cluster to Rancher using GKE
Name cluster, enter Google Project ID
I left it at default us-central1-c, but also tested on other zones under cluster location with the same outcome
Under Cluster Options, note the k8s version (1.20.11-gke.1801) and under Node Pools, note the version (1.21.5-gke.1302)
Name the node pool, then click Create

Result
A cluster is able to be created with a mismatch between k8s versions for the cluster and the node pools without any error message.
Expected Result
An error message notifying user to adjust k8s cluster version in dropdown; alternatively, the k8s versions should default to matching versions without having to click the dropdown.
Screenshots

Closing for now until we can repro this.


fix: Fix the Status update for node with synchronization lock

Signed-off-by: Saravanan Balasubramanian<EMAIL_ADDRESS>closes #6481
Tips:

Maybe add you organization to USERS.md.
Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.
If changes were requested, and you've made them, then dismis the review to get it looked at again.
You can ask for help!

yes


Caret is only animated when cursor is moved with arrow keys, not when typing

Type: Bug

Have the "editor.cursorSmoothCaretAnimation" set to true
Move the cursor around with arrows. Animation is there.
Type something. Animation is not there.

 See https://github.com/microsoft/vscode/issues/109787

@alexdima okay, that makes perfect sense. closing.

We have intentionally removed animating the cursor when typing for #109787 which explicitly asks us to do that. But I think some folks actually prefered the old behavior of animating also when typing?

Yes, I love the animating when typing.

A good common ground could be that it becomes a setting to also have the caret animated while typing

Yeah. I like the animation....

I've pushed a change where there will be 3 possible values for cursorSmoothCaretAnimation:

off: Smooth caret animation is disabled
explicit: Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture. This should cover users who don't want it like in issue #109787
on: Smooth caret animation is always enabled

Thank you so much!

@alexdima thank you for the changes. I noticed now cursorSmoothCaretAnimation is turned on by default and can't be turned off at all. Looks like a bug.

@scellige see #169171 which is already fixed.


Pagination: Rename Page Size to "Items per page"

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Rename Page Size to "Items per page"

Motivation and context
usability

Hi @jmecosta
At the moment, we are focusing on Modus Web Components as our top priority and putting Modus React Bootstrap in maintenance mode.
Our suggestion would be to transition to Web components. Additionally, if you are interested in contributing to Modus React Bootstrap, kindly please submit a PR for our review.


Arrow keys dont work in windows terminal window when running yeoman

VSCode Version: 1.2.0
OS Version: Windows 7

Steps to Reproduce:

Install yeoman
Open terminal window
yo

Yeoman pops up, but you cannot use arrow keys to move between options

Possibly related: https://github.com/Microsoft/vscode/issues/7077

I believe this is already fixed (works on Linux), can you see if you can reproduce in the Insiders build?


[ggj][engx] build: Update junit to 4.13.1

Fixes this security vulnerability in 4.13.

The link above shows no alert found in Junit, is it intended to be other links?


Smithy Client cannot be an optional dependency

Motivation and Context
When the client feature was removed, the smithy-client dependency was not made required. This causes compilation failures in workspaces where Smithy-client is not already included (eg. if aws-config is not in tree)
Description
Update smithy-client dep to never be optional
Testing

[x] manually build client with --no-default-features. We should add this to the additional-checks CI

Checklist

[ ] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[ ] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sorry about that


version mismatch exception.

What kind an issue is this?

[ ] Bug report. If you’ve found a bug, please provide a code snippet or test to reproduce it below.
The easier it is to track down the bug, the faster it is solved.
[ ] Feature Request. Start by telling us what problem you’re trying to solve.
Often a solution already exists! Don’t send pull requests to implement new features without
first getting our support. Sometimes we leave features out on purpose to keep the project small.

Issue description
Using the cloudera library results in a version mismatch exception.
Steps to reproduce
Code:
val query =
      df.groupBy("topic", "partition")
        .max("offset")
        .writeStream
        .format("es")
        .outputMode(OutputMode.Complete())
        .trigger(Trigger.ProcessingTime(1, TimeUnit.SECONDS))
        .option(ConfigurationOptions.ES_SPARK_DATAFRAME_WRITE_NULL_VALUES,
                "true")
        .option("checkpointLocation", checkpointLocation)
        .start(s"$topic/offset")

Strack trace:
Spark version mismatch. Expected at least Spark version [2.2.0] but found [2.2.0.cloudera1]. Spark Structured Streaming is a feature that is only supported on Spark [2.2.0] and up for this version of ES-Hadoop/Spark.
org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Spark version mismatch. Expected at least Spark version [2.2.0] but found [2.2.0.cloudera1]. Spark Structured Streaming is a feature that is only supported on Spark [2.2.0] and up for this version of ES-Hadoop/Spark.
	at org.elasticsearch.spark.sql.streaming.StructuredStreamingVersionLock$.checkCompatibility(StructuredStreamingVersionLock.scala:31)
	at org.elasticsearch.spark.sql.DefaultSource.createSink(DefaultSource.scala:119)
	at org.apache.spark.sql.execution.datasources.DataSource.createSink(DataSource.scala:272)
	at org.apache.spark.sql.streaming.DataStreamWriter.start(DataStreamWriter.scala:286)
	at org.apache.spark.sql.streaming.DataStreamWriter.start(DataStreamWriter.scala:222)

Version Info
OS:         :  Ubuntu 16.4
JVM         :  1.8
Hadoop/Spark:  2.6/2.2.0
ES-Hadoop   :  6.0.0-rc2
ES          :  5.6.2

Feature description

Thanks for the report @realrnjs. This was a quick fix and a good one to find while 6.x is still in RC.

Thank you.


[Help Request] Windows auth login failed

Using Parallels on MacBook Pro M1. Installed using Sql2022Developer.bat (let it download installer).
Installation is complete. The SQL Server service seems to be running.
When connecting to the instance using SSMS or SQLCMD, the error pops up. "Login failed for user "hostname\myuser.name"

I am sure i am missing something small. Could you please point me to a possible resolution?

In Advanced options in the connection dialog there should be something like "Trust server certificate". You have to check it.

That checkbox is ticked in my case. Without that checked, i get a certificate related error.

Opened SSMS as an Admin and viola! The installation needs elevated permissions, so makes sense the connections would too.
Bonus for anyone wandering here in the future - How to make any program always run as an administrator on Windows.


add README

Closes #284
Description

Current behavior (updates)

New behavior

Is this a breaking change (Yes/No):

Additional Information

@illionillion
Hi, thanks for the PR!
There is no need to update the README since the application logo is not yet ready.
Therefore, this PR is closed.


NET/FRR: Add OSPFv3 Firewall Rules to Floating Ruleset

Wrote a first stab at firewall floating rule generation based on the OSPF() model already encoded in the frr.inc. This can probably be made more efficient by:

Rolling the interfaces together into each rule (I'll keep researching, I'm guessing an array of string?)
Using direction as 'both' (I don;t see any examples of that in the code base, hmmm?)

If I've stepped on any toes please let me know. I'll happily mend my ways.

@billgertz you probably need to rebase your branch, there's some acme stuff in there now.

@AdSchellevis Thanks for letting me know.  Then I realized I didn't care about the old fork and just started fresh. A new clean PR has been created. So far, my trial change is working on 23.7 without issues. This is going to need more testing.

@billgertz no problem, I'll try to take a look at the other PR


Processing MQTT error flood the log

Hi there
After the recent HA update, 2021.6, I found this error show up in log every second. However, all functions of this integrator looks good, only this annoying error message keep showing up.
2021-06-14 21:42:16 ERROR (<IP_ADDRESS>_main) [custom_components.xiaomi_gateway3.core.gateway3] Processing MQTT: log/ble b'{"did":"blt.3.12tuogrgo5g01","eid":4100,"edata":"aa00","pdid":1115,"seq":131}'
Traceback (most recent call last):
File "/config/custom_components/xiaomi_gateway3/core/gateway3.py", line 775, in on_message
self.process_ble_event_fix(payload)
File "/config/custom_components/xiaomi_gateway3/core/gateway3.py", line 1018, in process_ble_event_fix
self._process_ble_event(device, payload)
File "/config/custom_components/xiaomi_gateway3/core/gateway3.py", line 1036, in _process_ble_event
for entity in device['entities'].values():
KeyError: 'entities'

Duplicate #323


[upgrader] onOutboundStream handler feature

Version: N/A
Platform: N/A
Subsystem: Upgrader/Muxer

Type: Feature

Severity: Medium
Description:
Some libp2p subsystems might need to track their own streams, like the libp2p pubsub implementations. When this is a need for libp2p users, the current libp2p upgrader provides an onStream handler that allows subsystems to get notified of a new inbound stream in a connection. However, users cannot be informed when and outbound stream is created.
Libp2p should provide a mechanism for users to track what is happening in their protocols. An handler onOutbandStream should be provided by libp2p upgrader for this context.
Steps to reproduce:
Taking into account the pubsub subsystem (from 0.7), when an inbound pubsub stream is opened the previous inbound stream in that connection (if exists) will be replaced by the new one. However, the same will not happen for outbound streams. This can cause issues like the following:
If two libp2p pubsub nodes do more than one libp2p.dialProtocol between them (with the same open connection), the second time only the inbound stream is properly updated. As a consequence, nodes will not be able to properly exchange messages between them. This is an edge case and it should not be done, but it should be protected in case it happens.
cc @wemeetagain

We shouldn't look at adding this as a peer feature to onStream. The onStream logic in the upgrader is explicitly for protocol handling.

If two libp2p pubsub nodes do more than one libp2p.dialProtocol between them (with the same open connection), the second time only the inbound stream is properly updated

While I think there is merit in supporting listeners for inbound and outbound streams, the problem mentioned in this description is a logic bug, as a second outbound stream shouldn't be created. libp2p.dialProtocol should really never be used outside of the application implementing that protocol as it leads to problems like this.

I have found another scenario.
I did not debug it yet, but these 2 tests are failing due to the abort in https://github.com/libp2p/js-libp2p-pubsub/blob/v0.6.x/src/peerStreams.js#L110
There is no dialProtocol afaik in the flows of these tests.


entgql: Duplicate import present in gql_where_input.go

When using entgql, the same import appears on multiple times in the gql_where_input.go generated file.

[X] The issue is present in the latest release.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When using entgql, the same import appears on multiple times in the gql_where_input.go generated file. This causes compilations to fail.
Expected Behavior 🤔
Each import should only appear once.
Steps to Reproduce 🕹
Create a series of schemas that require the same external import. For example, use an enum from another package in multiple fields on different tables.

Ent
master

Entgql
master + 0.3.5

Thanks for reporting this and for the contribution, @Adam-Mustafa ❤. See my comment on the PR: https://github.com/ent/contrib/pull/452/files#r1129643282


SsiMiwOauth2ClientExtension: Error message can be confusing

In the following line, developers can quickly become confused.
https://github.com/eclipse-tractusx/tractusx-edc/blob/7362ca1ee8d375a82ef6198847fa30eff65e5280/edc-extensions/ssi/ssi-miw-credential-client/src/main/java/org/eclipse/tractusx/edc/iam/ssi/miw/SsiMiwOauth2ClientExtension.java#L70
I believe a more suitable message would be as follows: Client secret could not be retrieved.
With the message that the secret could not be found, you can also think that you may not have created it correctly.
But even if the client has no permissions, the same message appears.
Of course, you could solve this more elegantly with error handling, but this must happen in the upstream repo.

Hi @awellnitz-materna
that make sense, can you provide a PR for this?
Thanks


Feature request: hiding (instead of editing/deleting) existing comment

Describe the Feature
Being able to hide comments matching a regex, as an alternative to delete-comment-regex (or edit-comment-regex added in #26).
Expected Behavior
Hiding existing comments, for example by using a hide-comment-regex.
Use Case
Sometimes keeping old comments might make sense for historical/compliance reasons.
Describe Ideal Solution
Not sure, open for thoughts.
Alternatives Considered

delete-comment-regex
edit-comment-regex (added in #26)

But they don't keep the history in an equally accessible way.
Additional Context
...

Hiding comments would be nice.
Although if you want history using edit-comment-regex, couldn't you look at the edit history of the comment?


Identifiers validation failed for dataset Smoke testing - Occurrence

Identifier validation failed for the dataset Smoke testing - Occurrence:

Crawler attempt: 1479
Publishing organization: GBIF Secretariat
Publishing country: null
Installation: GBIF GitHub
Number of occurrences indexed for this dataset at the time of the issue: 2
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 2443, absent records count 444
Step metrics:

uniqueGbifIdsCountAttempted: 2
uniqueIdsCountAttempted: 2
gbifIdRecordsCountAttempted: 2
filteredGbifIdsCountAttempted: 2

Pipelines execution steps: http://api.gbif-dev.org/v1/pipelines/history/execution/813194/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Smoke testing - Occurrence : https://doi.org/10.21373/xyj98r.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Smoke testing - Occurrence:

Crawler attempt: 1479
Publishing organization: GBIF Secretariat
Publishing country: null
Installation: GBIF GitHub
Number of occurrences indexed for this dataset at the time of the issue: 2
Cause: another GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 2443, absent records count 444
Step metrics:

uniqueGbifIdsCountAttempted: 2
uniqueIdsCountAttempted: 2
gbifIdRecordsCountAttempted: 2
filteredGbifIdsCountAttempted: 2

Pipelines execution steps: http://api.gbif-dev.org/v1/pipelines/history/execution/813194/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Smoke testing - Occurrence : https://doi.org/10.21373/xyj98r.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


added gauss-otsu-labeling

Codecov Report

Merging #6 (90c509c) into main (8fd0d7f) will increase coverage by 0.64%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   79.67%   80.31%   +0.64%
==========================================
  Files           2        2
  Lines         246      254       +8
==========================================
+ Hits          196      204       +8
  Misses         50       50

Impacted Files
Coverage Δ

..._and_things_with_membranes/_tests/test_function.py
100.00% <ø> (ø)

...egment_blobs_and_things_with_membranes/__init__.py
79.42% <100.00%> (+0.70%)
:arrow_up:

Continue to review full report at Codecov.

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


Content Block Media is not generating all css

Content Block Media is not generating all css.
Detailed description
Drupal: I am trying to generate the html and css/js for the Content Block Media from 1.5.0-alpha.2918 version but I see html is getting generated properly but not css few of the example css it's missing for these classes - bx--content-group__col   bx--content-group__children

Describe in detail the issue you're having.

Is this a feature request (new component, new icon), a bug, or a general
Bug

Is this issue related to a specific component? Content Block Media (Example Patter)

What did you expect to happen? What happened instead? What would you like to
see changed?

What browser are you working in? Chrome and FF

What version of the IBM.com Library are you using?

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Steps to reproduce the issue

Step one
Step two
Step three
etc.

Additional information

Screenshots or code
Notes

@RobertaJHahn I've gone through this issue with @sridharmula and it should be resolved in #1608

@RobertaJHahn  issue got resolved with @kennylam help with latest release changes. Thanks @kennylam


[Bug]:  dear teachers， after i download spu, i wanna to run "bazel run -c opt //examples/python/utils:nodectl -- up", but i can not find this folder, should i download it from github

Issue Type
Build/Install
Modules Involved
Others
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
0.8.0.dev20240202
OS Platform and Distribution
ubuntu20.04
Python Version
3.8.19
Compiler Version
gcc9.4.0
Current Behavior?
[Bug]:  dear teachers， after i download spu, i wanna to run "bazel run -c opt //examples/python/utils:nodectl -- up", but i can not find this folder, should i download the examples folder from github?
Standalone code to reproduce the issue
print("A bug")

Relevant log output
No response

Bazel is used for building/running from source code. git clone the code from github and refer to this document to prepare required environment and run this command.

Bazel is used for building/running from source code. git clone the code from github and refer to this document to prepare required environment and run this command.

thank you very much, i install the spu through “ pip install spu” before

Server terminated abruptly (error code: 14, error message: 'Connection reset by peer', log file: '/root/.cache/bazel/_bazel_root/caf5b7ace780bc9a154e315494716fe1/server/jvm.out')

feels like oom
thank you very much!!  i think you are right, when i reboot my computer, it load from 497/3725 to 849/3725, it still running more now.
I'm considering leasing a server that offers enhanced CPU performance. could you please give me some advice, i am going to test spu on gpt2_torch version

Server terminated abruptly (error code: 14, error message: 'Connection reset by peer', log file: '/root/.cache/bazel/_bazel_root/caf5b7ace780bc9a154e315494716fe1/server/jvm.out')

feels like oom

dear teachers, when i change a 128G cpu computer, i enter "bazel run -c opt //examples/python/utils:nodectl -- up"
it output as follows:
[2024-06-25 10:13:37,941] [ForkServerProcess-4] Starting grpc server at <IP_ADDRESS>:61923
[2024-06-25 10:13:37,986] [ForkServerProcess-3] Starting grpc server at <IP_ADDRESS>:61922
[2024-06-25 10:13:37,987] [ForkServerProcess-1] Starting grpc server at <IP_ADDRESS>:61920
[2024-06-25 10:13:38,011] [ForkServerProcess-2] Starting grpc server at <IP_ADDRESS>:61921
[2024-06-25 10:13:38,016] [ForkServerProcess-5] Starting grpc server at <IP_ADDRESS>:61924
but in 3pc.json, there are 8 port, the above are only 5 port, how can i use the port
3pc.json:
{
"id": "outsourci.3pc",
"nodes": {
"node:0": "<IP_ADDRESS>:39439",
"node:1": "<IP_ADDRESS>:39440",
"node:2": "<IP_ADDRESS>:39441",
"node:3": "<IP_ADDRESS>:39442",
"node:4": "<IP_ADDRESS>:39443"
},
"devices": {
"SPU": {
"kind": "SPU",
"config": {
"node_ids": [
"node:0",
"node:1",
"node:2"
],
"spu_internal_addrs": [
"<IP_ADDRESS>:39411",
"<IP_ADDRESS>:39412",
"<IP_ADDRESS>:39413"
],
"experimental_data_folder": [
"/tmp/spu_data_0/",
"/tmp/spu_data_1/",
"/tmp/spu_data_2/"
],
"runtime_config": {
"protocol": "ABY3",
"field": "FM64",
"enable_pphlo_profile": true,
"enable_hal_profile": true
}
}
},
"P1": {
"kind": "PYU",
"config": {
"node_id": "node:3"
}
},
"P2": {
"kind": "PYU",
"config": {
"node_id": "node:4"
}
}
}
}

Specify your config file explicitly like this bazel run -c opt //examples/python/utils:nodectl -- --config /path/to/your/json up. Five ports are used for python level nodes orchestration communication, the remaining three ports are used for C++ level MPC communications.

 Five ports are used for python level nodes orchestration communication, the remaining three ports are used for C++ level MPC communications.

dear teachers, i successfully started the nodes, and i try to use spu on gpt2_torch, it report errors as follows:
/usr/lib/python3.11/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
self.pid = os.fork()
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1719329816.021593   14936 cpu_client.cc:405] TfrtCpuClient created.
Traceback (most recent call last):
File "/a-tmp/aa/gg.py", line 20, in
res = ppd.device("SPU")(model)(params, inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/spu/utils/distributed_impl.py", line 896, in call
executable, args_flat, out_tree = self._compile_torch_func(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/spu/utils/distributed_impl.py", line 968, in _compile_torch_func
executable, output_tree, args_flat = spu_fe.torch_compile(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/spu/utils/frontend.py", line 303, in torch_compile
args_params_flat.append(state_dict[loc.name])
~~~~~~~~~~^^^^^^^^^^
KeyError: 'transformer.h.0.attn.bias'
I0000 00:00:1719329817.954742   14936 cpu_client.cc:408] TfrtCpuClient destroyed.
the code is as follows, could you please give me some suggestions, thank you very much!!
import torch
from transformers import AutoTokenizer, GPT2LMHeadModel, GPT2Config
import spu.utils.distributed as ppd
import json
import urllib
from collections import OrderedDict
from jax.tree_util import tree_map
with open("3pc.json", 'r') as file:
conf = json.load(file)
ppd.init(conf["nodes"], conf["devices"], framework=ppd.Framework.EXP_TORCH)
model = GPT2LMHeadModel.from_pretrained("g")
tokenizer=AutoTokenizer.from_pretrained("g")
inputs = tokenizer.encode("Hello, my dog is cute", return_tensors="pt")
params = ppd.device("P1")(lambda input: tree_map(lambda x: x.detach().numpy(), input))(model.state_dict())
inputs= ppd.device("P2")(lambda x: x.detach().numpy())(inputs)
res = ppd.device("SPU")(model)(params, inputs)
logits= ppd.get(res).logits
print(logits)


Deployment of Z2UI5_CL_CORE_HTTP_GET failed

Hi,
during the deployment of the downport framework I´m getting the following errors:

Our system, were we deployed the framework is a SAP Solution Manager with the following releases:

Do you know a solution for this problem?
Thanks and kindly regards
Andre

Hi Andre,
did you already check these manual steps?
https://github.com/abap2UI5/abap2UI5-downport?tab=readme-ov-file#manual-steps--known-issues
You need to delete the ImageMapster class, it is not necessary for the main functionality and just optional.
best regards.

You could copy the source code from the repository and insert it into the class on your system.
Then add ``. result = result && up to 100 lines below the start of the statement.

@cwildt thank you for the hint, i shortened now the http_get method with https://github.com/abap2UI5/abap2UI5/pull/1268 if this is not enough, i recommend to further split the command the way you showed it.
Additionally the imagemapster class is now automatically deleted in the downport branch with
https://github.com/abap2UI5/abap2UI5/pull/1267
I'll close this, just reopen or create a new issue if you have further problems @GA887809


Create a Demo Project

Create a Demo Project to demonstrate its usage.

[x] Editable online in Code Sandbox
[x] Added to the Documentation

Refer Pull Request #8 for commit details.


xSQLServerSetup: Wrong variable is used to call Get-SqlMajorVersion in Set-method

Details of the scenario you try and problem that is occurring:
In my latest PR i introduced a bug that will prevent Get-SqlMajorVersion to get the version. It is called with $path, but should be called with $SourcePath.
This was not caught in tests. I will see if I can tests this scenario as well.
Sorry about this. I'm on this.
The DSC configuration that is using the resource (as detailed as possible):
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Version of the DSC module you're using, or 'dev' if you're using current dev branch:

Okay. I think it is time to take a break... There was no bug. I was reading the code wrongly.
Taking a break now 😆


Worker panics while executing activity

Expected Behavior
No panic should occur while the worker is executing an activity.
Actual Behavior
Worker panics intermittently while executing an activity.
Stack Trace:
external/io_temporal_go_sdk/internal/internal_workflow.go:499 +0xd2
go.temporal.io/sdk/internal.(*syncWorkflowDefinition).Execute.func1({0x2745f38, 0xc000439bc0})
	external/io_temporal_go_sdk/internal/internal_worker.go:741 +0x292
go.temporal.io/sdk/internal.(*workflowExecutor).Execute(0xc0034d6580, {0x2745de8, 0xc0034d6600}, 0x25)
	external/io_temporal_go_sdk/internal/workflow.go:415 +0x166
go.temporal.io/sdk/internal.(*workflowEnvironmentInterceptor).ExecuteWorkflow(0xc00b7ab9f0, {0x2745de8, 0xc0034d6600}, 0xc0045cb7e8)
	external/io_temporal_go_sdk/internal/internal_worker.go:1512 +0x136
go.temporal.io/sdk/internal.executeFunction({0x11802e0, 0xc0003f1ee0}, {0xc001471e08, 0x1, 0xc001420000})
	GOROOT/src/reflect/value.go:339 +0xc5
reflect.Value.Call({0x11802e0, 0xc0003f1ee0, 0x403c6c}, {0xc0045cb800, 0x1, 0x1})
	GOROOT/src/reflect/value.go:543 +0x814
... service backtrace for workflow ...
go.temporal.io/sdk/workflow.ExecuteActivity(...)
	external/io_temporal_go_sdk/internal/workflow.go:455 +0x185
go.temporal.io/sdk/internal.ExecuteActivity({0x2745f38, 0xc000439d70}, {0x11cb080, 0x254c158}, {0xc000474fc0, 0x1, 0x1})
	external/io_temporal_go_sdk/internal/workflow.go:511 +0x782
go.temporal.io/sdk/internal.(*workflowEnvironmentInterceptor).ExecuteActivity(0xc00b7ab9f0, {0x2745f38, 0xc000439dd0}, {0x29d3360, 0x6}, {0xc000474fc0, 0x1, 0x1})
	external/io_temporal_go_sdk/internal/internal_event_handlers.go:463 +0x545
go.temporal.io/sdk/internal.(*workflowEnvironmentImpl).ExecuteActivity(0xc000100e00, {{{0x0, 0x0}, {0xc00004bb00, 0xf}, 0x0, 0x0, 0x1a3185c5000, 0x0, 0x0, ...}, ...}, ...)
	external/io_temporal_go_sdk/internal/internal_event_handlers.go:452
go.temporal.io/sdk/internal.(*workflowEnvironmentImpl).GenerateSequence(...)
	external/io_temporal_go_sdk/internal/internal_decision_state_machine.go:833
go.temporal.io/sdk/internal.(*commandsHelper).getNextID(...)

Steps to Reproduce the Problem
We haven't been able to reproduce this, as it infrequently occurs. The workflow we are running is on a cron schedule and I've edited one of the example workflows to match its behavior:
func SampleBranchWorkflow(ctx workflow.Context, totalBranches int) (result []string, err error) {
	ao := workflow.ActivityOptions{
		StartToCloseTimeout: 10 * time.Second,
	}
	ctx = workflow.WithActivityOptions(ctx, ao)

        var futures []workflow.Future
        for batch := 0; batch < 10; batch++ {
	    for i := 1; i <= totalBranches; i++ {
		future := workflow.ExecuteActivity(ctx, SampleActivity, activityInput)
		futures = append(futures, future)
	    }

            // Block until this batch finishes processing
            for _, future := range futures {
		err = future.Get(ctx, nil)
		if err != nil {
			return
		}
	    }
        }

	// One last sweep to ensure all scheduled activities are complete
	for _, future := range futures {
            err = future.Get(ctx, nil)
	    if err != nil {
		return
	    }
	}
}

The activity we run downloads an archive, processes files within it, and then uploads the result.
I am keeping an eye on our workers for this, to see if I can provide more information and figure out steps to reproduce the issue.
I will also make the recommended changes in https://github.com/temporalio/sdk-go/issues/475 to only check the futures once, and see if the issue still occurs like that.
Specifications

Version: SDK v1.11.1 and Temporal v1.12.3
Platform: Linux

We had this happen on another workflow which has a cron schedule. This one basically the sample cron workflow, and the activity uses a heartbeat:
// SampleCronWorkflow executes on the given schedule
// The schedule is provided when starting the Workflow
func SampleCronWorkflow(ctx workflow.Context) (*CronResult, error) {

	workflow.GetLogger(ctx).Info("Cron workflow started.", "StartTime", workflow.Now(ctx))

	ao := workflow.ActivityOptions{
		StartToCloseTimeout: 10 * time.Second,
	}
	ctx1 := workflow.WithActivityOptions(ctx, ao)

	// Start from 0 for first cron job
	lastRunTime := time.Time{}
	// Check to see if there was a previous cron job
	if workflow.HasLastCompletionResult(ctx) {
		var lastResult CronResult
		if err := workflow.GetLastCompletionResult(ctx, &lastResult); err == nil {
			lastRunTime = lastResult.RunTime
		}
	}
	thisRunTime := workflow.Now(ctx)

	err := workflow.ExecuteActivity(ctx1, DoSomething, lastRunTime, thisRunTime).Get(ctx, nil)
	if err != nil {
		// Cron job failed
		// Next cron will still be scheduled by the Server
		workflow.GetLogger(ctx).Error("Cron job failed.", "Error", err)
		return nil, err
	}

	return &CronResult{RunTime: thisRunTime}, nil
}

The error logs are as follows, had to redact sensitive information but the workflow IDs are the same for all the log lines:
18:22:33 DEBUG ExecuteActivity …redacted… RunID f4c08e61-65c8-4e9a-88a4-3300bed6cafd Attempt 1 …redacted…
18:15:06 INFO  Task processing failed with error WorkerType WorkflowWorker Error Workflow executionsRow not found.  …redacted… RunId: 2c879b3e-45bd-4532-9542-1fb888677a9b
18:15:06 WARN  Failed to process workflow task. …redacted… RunID f4c08e61-65c8-4e9a-88a4-3300bed6cafd Attempt 1 Error Attempt to generate a command before processing WorkflowTaskStarted event
	external/io_temporal_go_sdk/internal/internal_workflow.go:499 +0xd2
go.temporal.io/sdk/internal.(*syncWorkflowDefinition).Execute.func1({0x276a398, 0xc0004a18f0})
	external/io_temporal_go_sdk/internal/internal_worker.go:741 +0x292
go.temporal.io/sdk/internal.(*workflowExecutor).Execute(0xc000be4580, {0x276a248, 0xc000be4600}, 0x25)
	external/io_temporal_go_sdk/internal/workflow.go:415 +0x166
go.temporal.io/sdk/internal.(*workflowEnvironmentInterceptor).ExecuteWorkflow(0xc001373ea0, {0x276a248, 0xc000be4600}, 0xc0012fbb48)
	external/io_temporal_go_sdk/internal/internal_worker.go:1512 +0x136
go.temporal.io/sdk/internal.executeFunction({0x11c8fe0, 0xc0014ef430}, {0xc001088e08, 0x1, 0xc00005e400})
	GOROOT/src/reflect/value.go:339 +0xc5
reflect.Value.Call({0x11c8fe0, 0xc0014ef430, 0x403c6c}, {0xc0012fbb60, 0x1, 0x1})
	GOROOT/src/reflect/value.go:543 +0x814
reflect.Value.call({0x11c8fe0, 0xc0014ef430, 0x7f15f77fb5b8}, {0x13e726c, 0x4}, {0xc0012fbb60, 0x1, 0xa})
... service backtrace for workflow ...
	external/io_temporal_go_sdk/workflow/workflow.go:113
go.temporal.io/sdk/workflow.ExecuteActivity(...)
	external/io_temporal_go_sdk/internal/workflow.go:455 +0x185
go.temporal.io/sdk/internal.ExecuteActivity({0x276a398, 0xc0004a19e0}, {0x11ea880, 0xc000ba46d0}, {0xc000ba46e0, 0x1, 0x1})
	external/io_temporal_go_sdk/internal/workflow.go:511 +0x782
go.temporal.io/sdk/internal.(*workflowEnvironmentInterceptor).ExecuteActivity(0xc001373ea0, {0x276a398, 0xc0004a1a70}, {0x297b409, 0x11}, {0xc000ba46e0, 0x1, 0x1})
	external/io_temporal_go_sdk/internal/internal_event_handlers.go:463 +0x545
go.temporal.io/sdk/internal.(*workflowEnvironmentImpl).ExecuteActivity(0xc000d07600, {{{0x0, 0x0}, {0xc0000b99a0, 0xf}, 0x0, 0x0, 0x6fc23ac00, 0x2540be400, 0x0, ...}, ...}, ...)
	external/io_temporal_go_sdk/internal/internal_event_handlers.go:452
go.temporal.io/sdk/internal.(*workflowEnvironmentImpl).GenerateSequence(...)
	external/io_temporal_go_sdk/internal/internal_decision_state_machine.go:833
go.temporal.io/sdk/internal.(*commandsHelper).getNextID(...)

The run 2c879b3e-45bd-4532-9542-1fb888677a9b ID does not exist in our logs and within the namespace history, the only mention of it anywhere is in that error message.

Sorry it took me a bit to get to this.
Do you do anything besides heartbeat to affect the workflow externally? I know you mentioned no queries, but maybe signals? I wonder if there is an activity cancel or a heartbeat or something that is trying to run on the newly scheduled workflow before it starts.
I do think this may be related #475 (which is pending https://github.com/temporalio/temporal/issues/2300) but may not be specifically concerning queries. Basically it seems something is trying to be processed on the newly-scheduled-but-not-yet-started workflow causing this issue. Have you been able to somewhat-reliably replicate yet? I will attempt to do so as well.

@cretz likewise, apologies on the delayed response.
We do not have any queries or signals running on the workflow, other than the web UI.
We updated our Temporal server from v1.12.3 to v1.14.2 and the issue has disappeared. I looked through the release notes for the server and was unable to find anything that sounds directly related to this. Will keep an eye on our logs and see if it appears again.

:+1: I will leave this open for a bit to see if you can replicate.

Awesome thanks, will continue slow rolling this. if you ever want to clear this out of the issue board no worries, I can open a new one too and refer back to this.
Also I confirmed on another server that this occurs on server v1.13.1. So perhaps something in the upgrade from v1.13 to v1.14 either made this less common or fixed it.


Can't encrypt with Fedora Silverblue 41 + latest flathub version

Describe the bug …
Hi,
I can see the keys without any problems, but when I try to encrypt a file or text it won't process.
The thing is it works with GPG-Frontend, available on flathub so I think the problem don't came from the key.
Thanks for your soft anyway, it's great to be able to encrypt and decrypt through gpg with gtk.
Thanks you!
Which version of Lock are you using?
1.0.2
Source
Flathub
Relevant log output
** (com.konstantintutsch.Lock:2): WARNING **: 19:33:05.620: Failed to encrypt GPGME data from memory: Clef publique inutilisable

My very limited understanding of the French language is telling me that the public key you want to encrypt for is indeed the problem.
I'm guessing that the public key does not contain an encryption subkey. You might want to ask the person from whom you got the key to reexport their keypair's public encryption key :)

Feel free to reopen this issue if that does not fix the problem!

This could have also been imprecise error reporting from GPGME and issues with using untrusted keys for encryption processes.
If you did not trust the key, this should be fixed in b4dce5154b028c1db05497d0ad098590fcc2367b


How to add gradient colors to a mesh?

In Three.js there is a way to add linear-gradients to meshes. See this tutorial: http://www.johannes-raida.de/tutorials/three.js/tutorial03/tutorial03.htm
How can I achieve the same with react-three-renderer?
I want to use this with a plane and I found planes have a colors parameter in the docs. How can I make use of it?
Or is there any other simple way to achieve linear-gradients?

I will create an example with this and implement the features if missing


Updated potemkin to latest verion

This should allow the library to be used with clojure 1.8.0-alpha2

Merged, thanks!

thank you!


tarball: packages.json is missing a couple thousand packages

Describe the bug
A clear and concise description of what the bug is.
The packages.json inside the tarball contains a list of packages in Nixpkgs.

Also see: https://github.com/repology/repology-rules/issues/396
Since, countrary to most other repositories, we're not a flat list but rather a nested set and also contain functions and other non-packages, generating a flat list of packages is a non-trivial task. We have a script for this task but it only recurses into haskellPackages and rPackages currently.
The new NixOS search have adapted this script and made it recurse into a few more sets which should be nearly all packages users might want to search for.
We should at least port this back to Nixpkgs.
As this JSON isn't used for our package search anymore but rather academic purposes like Repology, I think including all named packages available to the user in Nixpkgs might not be a bad idea.
So, I went at it the other way around and started with all attrsets at the top-level and stripped away all the things that aren't package sets, are a copy of the top-level set or can't be evaluated:
https://github.com/NixOS/nixpkgs/issues/102509
Notify maintainers

cc Marketing Team as the list in my local JSON went from 63341 to 71370 and 98640 packages long respectively and I'm sure such large numbers would look nice on Repology and the homepage. ;)
This also means that we're now larger than the AUR, possibly even larger than AUR + Arch repos combined. :)
@edolstra @garbas @samueldr
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Unstable has advanced aaand:

;)

we should probably adjust the repology parser, as almost all of these new packages got added to unique packages.

Seems like it's the emacsPackages, the numbers match up (~5000).
https://github.com/repology/repology-rules/issues/447


did not boot. screen shows ffffff800......errors/states

kernel problem?

ok sorry, i was hoping you know the problem :-)
when iam flash my sd card for example with the image "stretch-openmediavault-rock64-0.6.41-227-arm64.img.xz" the boot sequence looks like this:

anyone can help?

@core66 , I flashed version 226, it seems to work for me.

tried both...not working.
iam new to rock64 board....have i to erase and flash the spi with the given images?

random halt, too

I have the same kind of problem trying to boot from ssd. Even using the u-boot given with the latest stable version.

I have the same problem. I'm booting from sd card and using the serial output

Anyone. I need boot log from uart. I also need the board model that you
have and model of memory chip that your board uses.
On Thu, 24 May 2018 at 16:20, penndennis<EMAIL_ADDRESS>wrote:

I have the same problem. I'm booting from sd card and using the serial
output
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/188#issuecomment-391732667,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTpQaDpHAaElFCcNZPFMmGMzVLwgq9fks5t1sG3gaJpZM4UImVQ
.

Uart
On Thu, 24 May 2018 at 16:25, ulysse132<EMAIL_ADDRESS>wrote:

@ayufan https://github.com/ayufan : How do you get the log ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/188#issuecomment-391734425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTpQfIJNqmCWdh6aD_x9jcnBu889__lks5t1sLmgaJpZM4UImVQ
.

ayufan said :

Uart

I don't understand how to get the required log but if anyone understand what to do, I let him explain or give the result

@ayufan : Let me know if you require anymore or my submissions are insufficient.
Kind Regards,
Penndennis.

@ayufan The Memory Chip - Very faded but
A logo in the shape of an 'S'
Number in the corner 8NP0 (last char could be Q)
Number - PB039-107-BT
The Board
E320008
94v-0
DT-4
1734
ROCK64_V2.0
2017-0713
That's all I could find. Let me know if you need more.
Kind Regards,
Penndennis.

Pytheas54 said :

I have no problem with bionic-minimal-rock64-0.6.41-227-arm64.img.xz
eth0 works fine too

I tried flashing this release on ssd and it worked just fine. I just had to install MATE to have a desktop working.

I confirm that MATE works fine.
But installing GNOME still fails, as I mentioned long ago in an issue that was deleted without solving recently...

Hi @ayufan  @core66
I was able to replicate @btbxbob screenshot error, maybe @ayufan  can answer how and look into the issue....
It looked like the issue is in  u-boot-flash-spi-rock64.img (for example lastest img with md5: AFBB8EF35736C96D36FC5CFE626C8B08), when I flashed this, I got the same error as @@btbxbob's screenshot.
However I erased and flash with u-boot-flash-spi-rock64.img (md5: 136748285FB22F286DB398907C4A9D28) I was able to boot without any issue. This u-boot-flash-spi-rock64.img was created with pre-release version 0.6.34, which I download on April 13th.

Everyone, please test the latest 0.6.44. It seems to be working OK for some.

hi @ayufan
I just correct the md5, please review

@ayufan Thank you so much. Works a treat.

@penndennis You only flashed U-Boot and it worked ?
Write now, I boot on sd and the system work on ssd but I'm not very well with this. I'm worried about the reliability of my sd. But right now, the system is ready and I don't want to reinstall the entire system.

@ulysse132 I installed the latest 0.6.44 on an ssd and I was able to boot Bionic. Until then every version since and including the 0.6.41: jenkins-linux-build-rock-64-227 has failed. For now I'm staying with the previous stable release, I think it's 136

This seems solved.

Solved but not stable.

@penndennis Why you think that?


Update to support modified IMessagePublisher interface

Update to support updated dependent interface with ability to pass in QueueEntryOptions when publishing to a message bus.
See FoundatioFx/Foundatio#268.

 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.

This code is updated now. Thank you!


Copy url is not useful for local files

The extension can know the url to a local file if there's a Github-repo associated with it, which in our case, there is.
However, the "copy url" function produces the following url for any given local file:
vscode://bxantus.mdoc/open/https/github.com/<organization>/<project>.git/./Getting-Started/Sitecore-Install.md

Probably this opens the correct file in VScode, I haven't checked. But regardless, it's not useful. It's not a url to the file, it's a url to opening the file in VScode, if that.
Clearly, it kind of knows where to go (i.e. Github) but it's unable to produce a url that is useful as-is. Instead, I'd expect it to produce a url more along the lines of:
https://github.com/<organization>/<project>/tree/master/Documentation/Getting-Started/Sitecore-Install.md

Because that, in this case, is where the associated git repo says this file is located.
On a sidenote, I also don't understand why the "copy url" button has to be so visually prominent in the breadcrumbs bar. Do you expect folks to use this button quite a lot?

Thanks for the explanation. Makes sense.
My point is mainly on sharing the link to a file with someone who, for any reason, doesn't (or cannot) have mdoc configured in their editor.
This only leaves the copy url button. I think it's a bit too prominent. I feel it serves better as a subtle clickable icon (perhaps a clipboard icon).

Hi,
The implementation of the copy url button could also be conditioned by a setting.
Thanks.


Fix query-history README images

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 41.971%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28775

Relevant Lines:
63671

💛  - Coveralls


GPULightmapper: execute dilate before denoise

Dilate fills gaps that are caused by the rasterization. Previously denoise
was done before dilate which caused the gaps to become filled (non-zero). This
resulted that the gaps were not recognized by dilate and the background color leaked.
This is fixed by executing dilate before denoise.

Background color leaked (before):

After executing dilate before denoise this is fixed:

This is part of the investigation of GPULightmapper artifacts: #51638

Good catch :slightly_smiling_face: It may be worth checking whether the CPU lightmapper's behavior in 3.x is correct.

Ah yes, I encountered the same issue in the CPU lightmapper and fixed it in a similar way. In fact, I was under the impression I already addressed this in the GPU version, but apparently I just opened https://github.com/OpenImageDenoise/oidn/issues/112 in the OIDN repo to see if this could be better handled upstream, and then forgot about it :P The fact that it got absolutely no response probably helped too.
In the 3.x lightmapper I do dilation and seam blending before and after denoising. If we do the dilation only before denoising, we still have some background bleeding on the dilated texels. While those are not sampled directly, they do affect the sampled colors because we use bilinear sampling, so I would do two dilations on the GPu lightmapper as well. I would also add a "seam blending" before denoising, it probably doesn't make much difference, but it's cheap and it won't hurt.


add torchkeras reference

Add torchkeras reference. Maybe someone will like this cute tool.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.