Chorebcprov-jdkon15 migration to bcprov-jdkon18

Abstract
The bcprov-jdk15on library is primarily used for providing encryption and decryption algorithms. The vesoft-client and metastore-client-hive3 modules, which are dependencies of the FE module, both rely on bcprov-jdk15on to write keys and other objects to files. Additionally, the arrow-flight-jdbc module in version 2.1 also depends on this package. Migration to bcprov-jdkon18
Since bcprov-jdk15on is no longer being maintained and bcprov-jdkon18 is fully compatible with it, we can replace bcprov-jdk15on with bcprov-jdkon18. This will ensure continued support and security for our applications.
FYI https://www.bouncycastle.org/latest_releases.html

run buildall

run p0


TP-1041: Enable selective workbasket xml export

TP-1041: Selective workbasket xml export
Why
At the moment, the management command in dump_transactions.py automatically picks up workbaskets with an APPROVED status.
In the context of HS22, where we may want to lump several workbaskets with EU commodity change imports and MTPO create measures imports, we need to also allow users to select the specific workbaskets they want to package for publishing
What

Tweak Command() in  the dump_transactions management script to accept a list of comma-separated workbasket id-s as an additional optional argument
Tweak the django db query to fetch the custom workbaskets if the optional argument is provided, and APPROVED workbaskets (existing default behaviour) if not

Codecov Report

Merging #415 (42e22e0) into master (76e1279) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage   91.26%   91.14%   -0.12%
==========================================
  Files         276      277       +1
  Lines       16566    16726     +160
  Branches     1346     1365      +19
==========================================
+ Hits        15119    15245     +126
- Misses       1209     1243      +34
  Partials      238      238

Impacted Files
Coverage Δ

measures/forms.py
45.02% <0.00%> (-3.93%)
:arrow_down:

geo_areas/forms.py
45.76% <0.00%> (-2.46%)
:arrow_down:

measures/urls.py
100.00% <0.00%> (ø)

settings/common.py
76.92% <0.00%> (ø)

common/tests/test_models.py
100.00% <0.00%> (ø)

quotas/tests/test_models.py
100.00% <0.00%> (ø)

measures/tests/test_views.py
100.00% <0.00%> (ø)

conftest.py
95.09% <0.00%> (+0.03%)
:arrow_up:

measures/models.py
92.54% <0.00%> (+0.12%)
:arrow_up:

commodities/models/dc.py
79.48% <0.00%> (+0.15%)
:arrow_up:

... and 4 more

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 76e1279...42e22e0. Read the comment docs.


Add NFC for IoT Sample

This change adds an NFC sample for IoT Core, based on the Phone NFC application, but targetting NTAG216 NFC tags.

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

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

TTYL, MSBOT;


Add time stamps to log entries and use text payload

Release note:

NONE

/lgtm
/approve no-issue
/dogscience

@sebastienvas @kyessenov
This PR is to address https://github.com/istio/istio/issues/528
After this PR, logs are recorded in the following format (excerpt from istio-ingress.log)
...
[2017-08-03 03:50:23.445][16][warning][main] external/envoy/source/server/server.cc:129] initializing epoch 0 (hot restart version=8.2490552)
[2017-08-03 03:50:23.457][16][warning][main] external/envoy/source/server/server.cc:285] starting main dispatch loop
[2017-08-03 03:50:23.460][16][warning][main] external/envoy/source/server/server.cc:280] all clusters initialized. initializing init manager
[2017-08-03 03:50:23.465][16][warning][upstream] external/envoy/source/server/lds_api.cc:79] lds: fetch failure: Failed to load certificate '/etc/istio/ingress-certs/tls.crt'
...

It is worth noting that the beginning of each log file contains config information and does not have timestamps. For actual log entries, timestamps are included.
Let me know if additional info should be recorded as well, or if different format is preferred.

the date is probably unnecessary (time is enough) ?
what is [16][warning][main]
can it be [16 W main]

Since stackdriver aggregates logs from many pods, you should add pod IP into prefix as well.

ps: please avoid force pushing, it's not great to have what I approved or commented on just disapear

PTAL
Turns out istio-ingress is not a good example to give, since the timestamps and severity etc are included in the payload directly, which is not the case for other logs on mixer, discovery, prometheus, etc. The following is an example from mixer.log.
[2017-08-04 13:40:29 -0700 PDT] attempting to acquire leader lease...
[2017-08-04 13:40:29 -0700 PDT] successfully acquired lease demo-test-b4e03742835b4e93987ee6e2e64/istio-ingress-controller-leader-istio
[2017-08-04 13:40:29 -0700 PDT] new leader elected (istio-pilot-1473650018-fk9d6)
[2017-08-04 13:40:29 -0700 PDT] I am the new status update leader
[2017-08-04 13:40:29 -0700 PDT] Event add: key "demo-test-b4e03742835b4e93987ee6e2e64/istio-pilot-1473650018-fk9d6"
[2017-08-04 13:40:30 -0700 PDT] Event add: key "demo-test-b4e03742835b4e93987ee6e2e64/istio-ingress-controller-leader-istio"

Also, when each log entry was recorded to stackdriver, the pod IP was not included with the log, so when I fetch from stackdriver there is no way for me to access such information. If the IP is super important we might want to put it in log payload when the log is generated, but that would be out of the scope of this PR.

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
9d4f26e7dedbb0b59c17d032968f23d2e7e452d4
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

PTAL

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
d590a0a66f65008cddf504f963fdd25cd417b9db
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f04e8a8d11ef0b909fc2c6008df9a7784f7508fc
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
91876da31d7b1ff8262fe87542e8a210a419f6f6
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@chxchx should we merge this ? (/why not?)

@ldemailly Yes. It is ready.

I meant why didn't you click :-)  now i needs rebase again

/lgtm

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
49914d6169aea06f74f0627f7ef73fbab8755d00
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
49914d6169aea06f74f0627f7ef73fbab8755d00
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
49914d6169aea06f74f0627f7ef73fbab8755d00
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
49914d6169aea06f74f0627f7ef73fbab8755d00
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all


Dependency "parse" could not be installed

After installation via Package Manager I can not access any Pipenv commands. The Console shows me the following messages:
Package Control: The dependency 'requests' is not currently installed; installing...
Package Control: The dependency 'requests' has successfully been installed or updated
Package Control: The dependency 'parse' is not currently installed; installing...
Package Control: The dependency 'parse' is not available
Package Control: The dependency 'parse' could not be installed or updated

It seems the "parse" dependency can not be found. Is this a bug or is there a workaround I am not aware of?

Looking at the package, it has a dependencies.json which sublime plugins can use to specify which other external dependencies their package has and sublime will install them (from package control). Request exists, but parse does not.
Looks like @kennethreitz actaully bundled the source for these two dependncies in with the source in a vendor folder, along with some others, and was using them instead.
So, all that needs doing is to delete the dependencies.json. I forked the repository and deleted the dependencies.json added my own repository to sublime and installed the package. pipenv doesn't show up in the PATH that sublime sees currently, for myself, but that's a different issue, the package is installed and commands are available.


Accordion cannot be used on its own or as a single child in a group

Well, it can be but the styles are all messed up. Accordion should function as a stand-alone component with proper styles.

This feature needs #15 to be completed first.


uadk_engine: some bugfix and cleanup

This patchset contains some bugfix and cleanup.
Hao Fang (6):
uadk_engine: cipher/digest: fixes for priv address check
uadk_engine: ec: add BN_new memory check
uadk_engine: rsa: fix mem leak for from_buf
uadk_engine: uadk_rsa: fix to free from_buffer
uadk_engine: uask_async: fix thread_attr res leak
uadk_engine: async: fix add async send timeout
Qi Tao (3):
cipher: uadk_e_bind_ciphers function is optimized
cipher: UADK_CIPHER_DESCR is optimized
uadk_engine/v1: fix g_sec_ciphers_info[] error
Weili Qian (2):
uadk_engine: add device initialization status
sm2: fixup switching soft sm2 decrypt problem
Zhiqi Song (6):
ecc: optimize sm2 sign check function
digest: fix the address of async op
uadk_engine: fixup resource management issues
ecc: add check of siglen
v1/pkey: add check of qlist
v1/pkey: fix uninitialized variable

/lgtm


2.5.0 deb files have version set to 0.0.0-dev for Ubuntu 22.04 and 20.04

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
When trying to install a download of
https://github.com/Chatterino/chatterino2/releases/download/v2.5.0/Chatterino-Ubuntu-22.04.deb on Ubuntu 23.10
it gives the warning:
dpkg: warning: downgrading chatterino from 2.4.5 to 0.0.0-dev
The version given in the deb file is 0.0.0-dev
dpkg -I Chatterino-Ubuntu-22.04.deb

 new Debian package, version 2.0.
 size 12000742 bytes: control archive=558 bytes.
     868 bytes,     9 lines      control
 Package: chatterino
 Version: 0.0.0-dev
 Architecture: amd64
 Maintainer: Mm2PL<EMAIL_ADDRESS> Depends: libc6, libstdc++6, libglx0, libopengl0, libpng16-16, libharfbuzz0b, libfreetype6, libfontconfig1, libjpeg-turbo8, libxcb-glx0, libegl1, libx11-6, libxkbcommon0, libx11-xcb1, libxkbcommon-x11-0, libxcb-cursor0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render-util0, libxcb-shm0, libxcb-sync1, libxcb-xfixes0, libxcb-render0, libxcb-shape0, libxcb-xkb1, libxcb1, libbrotli1, libglib2.0-0, zlib1g, libicu70, libpcre2-16-0, libssl3, libgraphite2-3, libexpat1, libuuid1, libxcb-util1, libxau6, libxdmcp6, libbrotli1, libffi8, libmount1, libselinux1, libpcre3, libicu70, libbsd0, libblkid1, libpcre2-8-0, libmd0
 Section: net
 Priority: optional
 Homepage: https://github.com/Chatterino/chatterino2
 Description: Ubuntu package built for 22.04

(Also the size of the new 2.5.0 file is significantly larger: 11.4mb compared to 3.4mb for a v2.4 deb file which worried me a little when this didnt install but I guess this is intentional, extra icons etc)
Screenshots
No response
OS and Chatterino Version
Chatterino 2.4.4 Running on Ubuntu 23.10

This is probably because this the CI checkout does not include tags.
It's worth noting that we've had packaging issues with deb since forever. Now that I'm looking at this: deb packaging generates way more problems than it needs to. We shouldn't ever have been packaging Chatterino for Ubuntu ourselves.

The stuff with not including tags should already be handled by the fetch-depth: 0 option we've specified for the actions/checkout action inside the workflow file, so I guess there is something else too.
But we could try setting fetch-tags to true additionally (https://github.com/actions/checkout/blob/main/README.md).

(Also the size of the new 2.5.0 file is significantly larger: 11.4mb compared to 3.4mb for a v2.4 deb file which worried me a little when this didnt install but I guess this is intentional, extra icons etc)

We now statically link to Qt & Boost - this is what has caused the file size increase
https://github.com/Chatterino/docker is the repo that contains the two docker images we use to build Chatterino here (the readme is bad, the github workflow in the main c2 repo actually show how they can be used)


perl: verify_SSL=>1 by default in HTTP::Tiny

Description of changes
Perl's core HTTP::Tiny module does not verify TLS/SSL connections by default. This PR applies a proposed patch from Debian by @jmdh that turns on verification by default.

Patch: https://salsa.debian.org/perl-team/interpreter/perl/-/commit/1490431e40e22052f75a0b3449f1f53cbd27ba92
Discussion: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954089

Upstream has decided against changing the default due to potential backwards compatibility concerns. So this is opinionated patch which would break insecure uses of HTTP::Tiny that doesn't explicitly set verify_SSL=>0.

https://github.com/chansen/p5-http-tiny/issues/68
https://github.com/chansen/p5-http-tiny/issues/134

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build perl

Some thoughts:
It's likely that this will break stuff, like tests that connect to TLS servers with self signed certificates. I'll keep an eye on Hydra for this when it reaches staging-next.
But, breakage from modules/tools that connect to (invalid) HTTPS resources will be harder to catch since our tests are network isolated. But breaking insecure HTTPS usage would be a good thing, imho.


Release the rating-update RC as a full release

It's probably had enough testing by now.
Could probably do to put instructions related to it in the readme too, since that and ungabunga are the only reasons to really use totsugeki now.

It needs to be updated with Bridget support though.

https://github.com/optix2000/totsugeki/releases/tag/v1.10.0
New build here. Will move to stable soon.

https://github.com/optix2000/totsugeki/releases/tag/v1.10.1
Stable build released.


files/folders in roles/ directory causing problems in GitKraken

The roles/samba and roles/docker directories are causing me some issues. GitKraken (on Windows) thinks they are supposed to be submodules, but I can't see a .git directory in there at all.
Regards,
CJ

Doh, I see what's happened here. I used to load in the roles via git submodules but changed it a while back  to use ansible-galaxy instead. Looks like my last commit accidentally added part of the submodule config back in :man_facepalming:

Should be sorted.


Incorrect Batch Change Error Message

• Scenario: User tries to update a record which isn't in the Vinyldns database, but does exist on the backend.
• Desired behavior: An error message saying that the zone needs to be synced
• Actual behavior: The record data entered doesn't exist. Please enter the correct record data or leave the field empty if it's a delete operation. This message is listed twice.

I think this issue is related to PR https://github.com/vinyldns/vinyldns/pull/1361

Possible duplicate to https://github.com/vinyldns/vinyldns/issues/1388


how to properly delete cc.Value("s")?  cc.Value("s") = nil ?

Describe the Question
would like to clear all cc context.Contxt values. how to do so?
cc.Value("s") = nil?
or is there a better way or recommended way?
tried below and not working. i would like to clear all cc.Value inside. make cc into nil if possible. no idea why it's not working.
func FWProxyHandlerHertz(cc context.Context, ctx *app.RequestContext) {
   cc = context.WithValue(context.Background(), "s", nil) // not working with subsequent request. value still around. using http2

Delete or Clear()

@Duslia how to property update the values of context? sorry i cant seem to get it to work as expected using http2

@Duslia pass by reference or value etc not working. no matter what i do, it's not clearing
@li-jin-gou
how to resolve this?
my final final final area need resolve for production testing. pls help. thx
func FWProxyHandlerHertz(cc *context.Context, ctx *app.RequestContext) {
 //*cc = nil
		(*cc) = context.WithValue(context.Background(), "s", nil)

i think firstly you can use stackoverflow or google search，it is a golang question.


2.1 is not published yet

I am just curious if there is a reason 2.1 has not been published yet as I did see it in the Changelog :) I am using the 2.1.0 branch now so I get the sliding cookie functionality.

@doomspork. Can you add me to hex, then I will publish this version

@doomspork. Can you add me to hex, then I will publish this version

Sorry about that @MarkNijhof! @Hanspagh I added you to guardian just now. I'll work on the rest of the packages this evening.

This is now resolved


Replace Bad Behavior

Bad Behavior is long overdue for an update/overhaul but until then this drops it from core.  I did replace the function with two checks access header and honey pot.  From log trolling these two checks accounted for 90+ percent of the blocks.  I also added caching to the honey pot calls.

Codecov Report

Merging #3523 (0162697) into development (6f6744d) will decrease coverage by 7.95%.
The diff coverage is 13.72%.

@@                Coverage Diff                @@
##             development    #3523      +/-   ##
=================================================
- Coverage          30.31%   22.35%   -7.96%
+ Complexity         15773    15526     -247
=================================================
  Files                417      392      -25
  Lines              74034    68786    -5248
=================================================
- Hits               22441    15377    -7064
- Misses             51593    53409    +1816

Impacted Files
Coverage Δ

sources/ElkArte/AdminController/Admin.php
70.62% <ø> (-10.45%)
:arrow_down:

sources/ElkArte/AdminController/AdminLog.php
17.91% <0.00%> (+0.10%)
:arrow_up:

sources/ElkArte/Errors/Errors.php
26.21% <0.00%> (-12.75%)
:arrow_down:

sources/ElkArte/Request.php
27.04% <0.00%> (-42.14%)
:arrow_down:

...ElkArte/ScheduledTasks/Tasks/WeeklyMaintenance.php
0.00% <ø> (-44.35%)
:arrow_down:

sources/Security.php
25.28% <0.00%> (-24.80%)
:arrow_down:

sources/ElkArte/AdminController/ManageSecurity.php
34.84% <75.00%> (+2.06%)
:arrow_up:

sources/Load.php
34.72% <100.00%> (-26.95%)
:arrow_down:

sources/ElkArte/Errors.php
0.00% <0.00%> (-100.00%)
:arrow_down:

sources/ElkArte/PrivacyPolicy.php
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 186 more

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 6f6744d...0162697. Read the comment docs.


⚠ ClamAV has degraded performance

In 676823c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 52 ms

Resolved: ClamAV performance has improved in f91c17f after 5 minutes.


refactor(timetable-row):  remove service product logic

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:

Browsers
I tested the build on the following browsers:

[ ] Firefox Desktop
[ ] Chrome Desktop
[ ] Edge Desktop
[ ] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[ ] VoiceOver Safari Desktop
[ ] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@3eefbea). Click here to learn what that means.

:exclamation: Current head 1aafb74 differs from pull request most recent head 0d6a968. Consider uploading reports for the commit 0d6a968 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2509   +/-   ##
=======================================
  Coverage        ?   93.71%
=======================================
  Files           ?      298
  Lines           ?    24315
  Branches        ?     2016
=======================================
  Hits            ?    22788
  Misses          ?     1498
  Partials        ?       29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


server: add tags

Report server tags to PD for replica constraints.

PTAL @siddontang @BusyJay

Do we need to define the valid format for the tag? Like https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels

I think any strings will work.

LGTM

PTAL @hhkbp2 @BusyJay

can we close it? @huachaohuang


WebClient does not support consensus service topic subscription

Description
WebClient does not support consensus service subscription because it does not implement setMirrorNode properly.
Steps to reproduce
Just use the following code from the example with React or any frontend framework Vue, Angular
//Create the query to subscribe to a topic
new TopicMessageQuery()
    .setTopicId(topicId)
    .subscribe(client, null, (message) => {
        let messageAsString = Buffer.from(message.contents, "utf8").toString();
        console.log(`${message.consensusTimestamp.toDate()} Received: ${messageAsString}`);
    });

and will get the following error
TopicMessageQuery.js:371 Uncaught TypeError: Cannot read properties of undefined (reading '_mirrorNetwork')
    at TopicMessageQuery._makeServerStreamRequest (TopicMessageQuery.js:371:1)
    at TopicMessageQuery.subscribe (TopicMessageQuery.js:336:1)
    at subscribeTopic (ConsensusService.jsx:24:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4157:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4206:1)
    at invokeGuardedCallback (react-dom.development.js:4270:1)
    at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:4284:1)
    at executeDispatch (react-dom.development.js:9011:1)
    at processDispatchQueueItemsInOrder (react-dom.development.js:9043:1)
    at processDispatchQueue (react-dom.development.js:9056:1)

Additional context
NodeClient does not have this problem.
Hedera network
testnet
Version
v2.13.1
Operating system
macOS

Not a bug. The mirror nodes do not support gRPC-web and browser usage.


Ran the rake task to pull in the latest jsoneditor assets (5.24.6).

Javier,
I have followed the instructions to bring in the latest jsoneditor assets. Please let me know if anything else is required.
Thank you!
-Mike

@mjrudowsky awesome thanks! 🙌🏻 I'll get this out shortly in a new release for you. Thanks again for contributing!

@mjrudowsky I released jsoneditor-rails 1.0.2 for you. Give it a try and let me know how it works out. Thanks again! 👍🏻

@javierjulio Just a note to let you know it's working great! Thanks for the effort and quick response!

@mjrudowsky awesome thanks! No problem at all, happy to help. 😄


Playing With Cell Phones via Wireless ADB

this issue thread is for wireless fun with the phones. we know it's possible, now let's do it in the lab instead of at my desk.
we'll need a router.

I got a modem, basically the same thing right?


Use single API constructor

Part of my fix for mailhog/MailHog#58
Individual public constructors for each API version were removed in GREsau/MailHog-Server@e7f979c845de6e9404a91875861a69cca2847f58 to clean up the interface and create a goroutine to forward new messages to both APIs for broadcasting.

Thanks @GREsau, awesome PR's :+1:


Unable to use extension, Logs & Config Provided in Description

Hi,
I followed the setup carefully & the extension is running without any errors. But, none pf the feature seems to work.
/* .gqlconfig */
{
    schema: {
        files: 'schemas/*.graphql'
    },
    query: {
        files: [ /* define file paths which you'd like  the gql parser to  watch and give autocomplete suggestions for */
            {
                match: ['server/src/**/*.js', 'server/src/**/*.ts'],
                parser: ['EmbeddedQueryParser', { startTag: 'gql`', endTag: '`' }]
            }
        ]
    }
}

Logs from the plugin
[2020-05-12T22:28:27.673] [INFO] gql-language-server - running in node v12.8.1 (/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer))
[2020-05-12T22:28:27.677] [INFO] load-gql-service - loading @playlyfe/gql...
[2020-05-12T22:28:27.917] [INFO] load-gql-service - using @playlyfe/gql from path /Users/bar/Developer/work/foonodeweb/node_modules
[2020-05-12T22:28:27.920] [INFO] gql-language-server - starting gql service...
[Watch established (gqlSchemaFiles)]
	basePath: /Users/bar/Developer/work/foonodeweb
	RelativePath: undefined
	Files: "schemas/*.graphql"
[Watch established (gqlQueryFiles-0)]
	basePath: /Users/bar/Developer/work/foonodeweb
	RelativePath: undefined
	Files: [
  "server/src/**/*.js",
  "server/src/**/*.ts"
]
[2020-05-12T22:28:28.162] [INFO] gql-language-server - gql service started
[2020-05-12T22:28:28.162] [INFO] gql-language-server - gql-language-server started
[2020-05-12T22:28:28.166] [INFO] gql-language-server - Dynamically registering capabilities for documents matching [
  {
    "scheme": "file",
    "pattern": {
      "base": "/Users/bar/Developer/work/foonodeweb",
      "pattern": "**/*.{graphql,js,ts}"
    }
  }
]

The project structure is as follows
foonodeweb/.gqlconfig
foonodeweb/server/src/helpers/*.js
Let me know if more info is needed. Will appreciate any help

Hi, do you have schemas defined and put in the foonodeweb/schemas folder? If they are in a subfolder within schemas, you'd also need to change the gqlconfig.schema.files config to schemas/**/*.graphql. Please let me know

@kumarharsh I have only one shema file under schemas.
schemas/schema.graphql

@kumarharsh The schema contains description comments. Is it possible that it is causing any issues?
type Account {
  """
  List of owners in the account. There should be only one primary account owner
  which is mentioned in their role_type.
  """
  individualOwners: [IndividualOwner]!

  """
  Business entity of the account
  """
  businessEntity: Business

  """
  An array of PayPal products to which the partner wants to onboard the customer.
  """
  products: [ProductCode]

  """
  An array of operations to perform for the customer while they share their data.
  """
  operations: [Operation]

  """
  Agreements associated with the account
  """
  agreements: [Agreement]

  """
  The partner's unique identifier for this customer in their system which
  can be used to track user in PayPal.
  """
  trackingId: String

  """
  Email address of the customer used to create the account
  """
  email: String
  capabilities: [Capability]
  processView: ProcessView

  """
  The country identifier for the country the account will be based under
  """
  legalCountry: CountryCode

  """
  The primary currency code of the account.
  """
  primaryCurrencyCode: String!
  id: String!
}

I found some more information here https://github.com/graphql/graphql-js/pull/927. A flag is required to properly parse schema with such description comments.

Yeah, that's a limitation of this extension - being tracked at https://github.com/Mayank1791989/gql/issues/143. Right now, I can't give a timeline on when it'll be fixed. See if converting to the older # prefixed descriptions fix this issue?

Seem the projects are abandoned


Altervista database not working

Altervista database not working

After sending an email, the client doesn't sync with the database.

As stated in the README:

Altervista has some problems with syncing the database, in my local environment (and possibly other hosting websites) it works fine. I won't fix this as I moved on from PHP.


refactor/skill_init_wizardry

follow up to #65
do not require skills in the wild to be updated to accept **kwargs in their __init__ method in order to be fully initialized
this allows all skills to use self.skill_id and self.bus after calling super() in __init__ method
related discussion https://github.com/MycroftAI/mycroft-core/pull/2855

@forslund do you have any feedback here? we previously incorporated part of your ideas already, this PR takes it a step further. doing some magic in __new__

by "here" do you mean the base classes living in ovos_workshop? this has been the case for some time now, originally so we could ship updates to classic core but nowadays the framework evolved enough that we have fully standalone skills in their venv if needed  (fallback skill support WIP)
in fact ovos-docker is shipping skills in their own individual containers, only needs ovos_workshop installed!

Oh sorry for being unclear. I mean "here" as by the __new__() method (class-function?).
I meant that the logic could have been in the location where the skill is launched but instead it is in the __new__(). And since the new is more or less magic to many, it would be a good thing to have in the docstring for the method why the logic is placed there especially since there is a skill_launcher.py file that sounds like the place to look for how the skill is started.

the skill_launcher.py used to be skill_loader-py in mycroft-core
for launching skills one can use skill_launcher.py to run them standalone (eg, docker), but the main objective is to make skills work more like proper python objects and allow usage of the class directly   (note we have a FakeBus class to allow this)
the considerations are:

most skills in the wild dont expose kwargs, so dont accept skill_id or bus
most skills expect a loader class to set up the bus and skill_id after object creation
skills can not do pythonic things in init, instead of doing things after super() devs are expected to use initialize() which is a mycroft invention and non-standard
main concern is self-settings and self.file_system, or anything depending on skill_id being set, can not be used in init method
this PR uncouples the skill init from a helper class, making skills work like regular python objects
the magic in __new__ is just so we dont break everything in the wild, since we cant start requiring skill_id an bus args without bricking all skills in the wild

will add some notes to a docstr about this :+1:


Feat/improve samm mapping

Description

ProductStockSammDto now supports MeasurementUnit enum instead of String representation
Mapping Annotation added to MeasurementUnit
Stock and its sub classes now support Sites and Addresses
Incoming data from ProductStockSammDto's will now be merged with other PartnerProductStocks if locationId, locationIdType and MeasurementUnit are matching

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

@eschrewe plese merge the conflicts for the backend dependencies with the main branch

Done


racket: support aarch64-darwin

Motivation for this change
According to https://reviews.llvm.org/D96164, aarch64-darwin executables
require at least an ad hoc signature.
The build tool from the racket repo tries to sign $out/bin/racket but
errors out, because that binary already has a signature.
It is not clear yet at which stage the signature was introduced. This
patch removes the existing signature always before calling
add-ad-hoc-signature to circumvent that error.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/732

https://github.com/NixOS/nixpkgs/pull/159682 should be backported first


ouster-release: 0.1.6-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ouster-release to 0.1.6-0:

upstream repository: https://github.com/CPFL/ouster.git
release repository: https://github.com/CPFL/ouster-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: null

ouster_driver
* Renamed ouster_ros to ouster_driver

See https://github.com/ros/rosdistro/pull/20555#discussion_r265099339 .  Also, CI failed because autoware_version doesn't appear to be a valid tag or branch on the upstream source repository.


Learn HTTP publisher address from announce message

Populate the http peer store with the address communicated via announce
messages when the announcer is indeed a HTTP publisher.
Otherwise, subscriber falls back on libp2p host
peerstore when no other address is given during an explicit sync call
and would end up using dtsync for a HTTP publisher.
Fixes #132

Codecov Report

Merging #133 (56fd994) into main (c937477) will increase coverage by 0.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   63.50%   64.20%   +0.70%
==========================================
  Files          21       21
  Lines        2244     2249       +5
==========================================
+ Hits         1425     1444      +19
+ Misses        645      633      -12
+ Partials      174      172       -2

Impacted Files
Coverage Δ

subscriber.go
73.09% <100.00%> (+1.13%)
:arrow_up:

httpsync/sync.go
74.55% <0.00%> (+5.32%)
:arrow_up:

Captured this for build failure on MacOS caused during codecov coverage upload.


Ruby 3.1 support

it's not currently in test matrix (ruby-head is 3.2-to-be but not treating it as blocker)
Locally with 3.1.0 on linux, bundle install works but tests fail with:File does not exist: net/smtp

Apparently spun out to 'net-smtp' gem.  Not sure why we depend on it (real fix probably belongs in some library we depend on that imports it).
Tests print many deprecations.

Currently the only deprecations message I see in 3.1 runs is:
/Users/runner/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:370: warning: assigned but unused variable - pathlen
/Users/runner/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:51: warning: method redefined; discarding old initialize
/Users/runner/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_cert
/Users/runner/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_file
/Users/runner/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_path

which is nothing we can fix here.  I guess I saw more in the past and they got fixed in various gems? :shrug:


pvf silently fails

according to https://www.reaper.fm/sdk/js/advfunc.php#js_advanced,
sliderchange(...)

can accept any slider as a parameter. This works fine, however it can also accept a bitmask of which sliders to toggle. When passing in a bitmask, the neutron compiler silently fails, leaving an empty .cb file of 0 bytes.
Expected behavior: bit masks work fine, or in the meanwhile, an error is raised and the codebase file is not produced.

it works fine with this short test:
sliderchange(2^3)
i now remember that slider mask is used in at least one of the examples plugins and works fine.
can you show the code with the problem ?

mouse_cap & 2 ? rmb = 1 : (
    rmb > 0.5 ? (
        rmb = 0;
        // right mouse up
        30 <= mouse_y && mouse_y <= 80 ? (
        // right click on keyboard, set to this major scale
            key = floor(mouse_x/gfx_w*12);
            key == 0 ? (
                // C major
                slider10 = slider12 = slider14 = slider15 = slider17 = slider19 = slider21 = 1;
                slider11 = slider13            = slider16 = slider18 = slider20 = 0;
            );
            key == 1 ? (
                // C# major
                slider11 = slider13 = slider15 = slider16 = slider18 = slider20 = slider10 = 1;
                slider12 = slider14            = slider17 = slider19 = slider21 = 0;
            );
            key == 2 ? (
                // D major
                slider12 = slider14 = slider16 = slider17 = slider19 = slider21 = slider11 = 1;
                slider13 = slider15            = slider18 = slider20 = slider10 = 0;
            );
            key == 3 ? (
                // D# major
                slider13 = slider15 = slider17 = slider18 = slider20 = slider10 = slider12 = 1;
                slider14 = slider16            = slider19 = slider21 = slider11 = 0;
            );
            key == 4 ? (
                // E major
                slider14 = slider16 = slider18 = slider19 = slider21 = slider11 = slider13 = 1;
                slider15 = slider17            = slider20 = slider10 = slider12 = 0;
            );
            key == 5 ? (
                // F major
                slider15 = slider17 = slider19 = slider20 = slider10 = slider12 = slider14 = 1;
                slider16 = slider18            = slider21 = slider11 = slider13 = 0;
            );
            key == 6 ? (
                // F# major
                slider16 = slider18 = slider20 = slider21 = slider11 = slider13 = slider15 = 1;
                slider17 = slider19            = slider10 = slider12 = slider14 = 0;
            );
            key == 7 ? (
                // G major
                slider17 = slider19 = slider21 = slider10 = slider12 = slider14 = slider16 = 1;
                slider18 = slider20            = slider11 = slider13 = slider15 = 0;
            );
            key == 8 ? (
                // G# major
                slider18 = slider20 = slider10 = slider11 = slider13 = slider15 = slider17 = 1;
                slider19 = slider21            = slider12 = slider14 = slider16 = 0;
            );
            key == 9 ? (
                // A major
                slider19 = slider21 = slider11 = slider12 = slider14 = slider16 = slider18 = 1;
                slider20 = slider10            = slider13 = slider15 = slider17 = 0;
            );
            key == 10 ? (
                // A# major
                slider20 = slider10 = slider12 = slider13 = slider15 = slider17 = slider19 = 1;
                slider21 = slider11            = slider14 = slider16 = slider18 = 0;
            );
            key == 11 ? (
                // B major
                slider21 = slider11 = slider13 = slider14 = slider16 = slider18 = slider20 = 1;
                slider10 = slider12            = slider15 = slider17 = slider19 = 0;
            );
            0 <= key && key < 12 ? (
                sliderchange(slider10);
                sliderchange(slider11);
                sliderchange(slider12);
                sliderchange(slider13);
                sliderchange(slider14);
                sliderchange(slider15);
                sliderchange(slider16);
                sliderchange(slider17);
                sliderchange(slider18);
                sliderchange(slider19);
                sliderchange(slider20);
                sliderchange(slider21);
            );
        );
    );
);

works fine,
mouse_cap & 2 ? rmb = 1 : (
    rmb > 0.5 ? (
        rmb = 0;
        // right mouse up
        30 <= mouse_y && mouse_y <= 80 ? (
        // right click on keyboard, set to this major scale
            key = floor(mouse_x/gfx_w*12);
            key == 0 ? (
                // C major
                slider10 = slider12 = slider14 = slider15 = slider17 = slider19 = slider21 = 1;
                slider11 = slider13            = slider16 = slider18 = slider20 = 0;
            );
            key == 1 ? (
                // C# major
                slider11 = slider13 = slider15 = slider16 = slider18 = slider20 = slider10 = 1;
                slider12 = slider14            = slider17 = slider19 = slider21 = 0;
            );
            key == 2 ? (
                // D major
                slider12 = slider14 = slider16 = slider17 = slider19 = slider21 = slider11 = 1;
                slider13 = slider15            = slider18 = slider20 = slider10 = 0;
            );
            key == 3 ? (
                // D# major
                slider13 = slider15 = slider17 = slider18 = slider20 = slider10 = slider12 = 1;
                slider14 = slider16            = slider19 = slider21 = slider11 = 0;
            );
            key == 4 ? (
                // E major
                slider14 = slider16 = slider18 = slider19 = slider21 = slider11 = slider13 = 1;
                slider15 = slider17            = slider20 = slider10 = slider12 = 0;
            );
            key == 5 ? (
                // F major
                slider15 = slider17 = slider19 = slider20 = slider10 = slider12 = slider14 = 1;
                slider16 = slider18            = slider21 = slider11 = slider13 = 0;
            );
            key == 6 ? (
                // F# major
                slider16 = slider18 = slider20 = slider21 = slider11 = slider13 = slider15 = 1;
                slider17 = slider19            = slider10 = slider12 = slider14 = 0;
            );
            key == 7 ? (
                // G major
                slider17 = slider19 = slider21 = slider10 = slider12 = slider14 = slider16 = 1;
                slider18 = slider20            = slider11 = slider13 = slider15 = 0;
            );
            key == 8 ? (
                // G# major
                slider18 = slider20 = slider10 = slider11 = slider13 = slider15 = slider17 = 1;
                slider19 = slider21            = slider12 = slider14 = slider16 = 0;
            );
            key == 9 ? (
                // A major
                slider19 = slider21 = slider11 = slider12 = slider14 = slider16 = slider18 = 1;
                slider20 = slider10            = slider13 = slider15 = slider17 = 0;
            );
            key == 10 ? (
                // A# major
                slider20 = slider10 = slider12 = slider13 = slider15 = slider17 = slider19 = 1;
                slider21 = slider11            = slider14 = slider16 = slider18 = 0;
            );
            key == 11 ? (
                // B major
                slider21 = slider11 = slider13 = slider14 = slider16 = slider18 = slider20 = 1;
                slider10 = slider12            = slider15 = slider17 = slider19 = 0;
            );
            0 <= key && key < 12 ? (
                sliderchange(2096640);
            );
        );
    );
);

doesn't

sliders:
slider10:1<0,1,1>-C
slider11:1<0,1,1>-Db/C#
slider12:1<0,1,1>-D
slider13:1<0,1,1>-Eb/D#
slider14:1<0,1,1>-E
slider15:1<0,1,1>-F
slider16:1<0,1,1>-Gb/F#
slider17:1<0,1,1>-G
slider18:1<0,1,1>-Ab/G#
slider19:1<0,1,1>-A
slider20:1<0,1,1>-Bb/A#
slider21:1<0,1,1>-B

perhaps it's running into an issue with so many bits set that it runs out of some resource?

the problem is that pvf (and also I) can not see that this is a mask. it thinks it's a slider index
i wonder if this works in reaper becuase the help says that is should be like this
(2 ^ xxx)
anyway i will check why it cause a bug.
for now and probably for ever i don't change pvf behave
and mask should be written always like this: 2^xxx

the help is written a little confusingly, how I interpret it is that "mask" refers to the fact that each bit in the bitmask controls whether or not to update a slider, and 2 ^ sliderIndex is just there to show how to determine which bit to set for any one individual slider. It appears as if the logical or of multiple bits seems to produce the right result with ReaJS. 2096640 is the binary equivalent of 0b1111111111110000000000 .

and what if you want to set two sliders 1 and 2
you write it like this: sliderchange(3)
but this is the same if you want to set slider 3
correct ?

if you want to set slider3, you would write
sliderchange(slider3) or sliderchange(2^2)

note how the documentation specifies that slider1 == 1, slider2 == 2, etc.

so, sliderchange(3) would update sliders 1 and 2

that reminds me of the sample access, spl(2) is the third channel. That may be the example you are thinking of?

no i remember it was a slider function.
any way i need to leave now
i might send later today a new fixed bug version
thank you very much

fixed


archive release-1.12 version doc

What type of PR is this?
/kind documentation

What this PR does / why we need it:
archive release-1.12 version doc
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

/hold
wait for #728

Why not update the reference doc with a separate PR?


Error while processing rearrange-reduction pattern

Code:
import torch
from cm3.model import CM3

model = CM3(
    depth=24, dim=1536
)
model_gpu = model.to('cuda:0')

img = torch.randn(1, 3, 256, 256)
text = torch.randint(0, 20000, (1, 1024))
output2 = model_gpu(text, img)

Error:
Failed in forward method:  Error while processing rearrange-reduction pattern "b c (h p1) (w p2) -> b (h w) (p1 p2 c)".
Input tensor shape: torch.Size([1, 1024]). Additional info: {'p1': 32, 'p2': 32}.
Expected 4 dimensions, got 2
EinopsError                               Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/einops/einops.py in reduce(tensor, pattern, reduction, **axes_lengths)
411         recipe = _prepare_transformation_recipe(pattern, reduction, axes_lengths=hashable_axes_lengths)
--> 412         return _apply_recipe(recipe, tensor, reduction_type=reduction)
413     except EinopsError as e:
8 frames
EinopsError: Expected 4 dimensions, got 2
During handling of the above exception, another exception occurred:
EinopsError                               Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/einops/einops.py in reduce(tensor, pattern, reduction, **axes_lengths)
418             message += '\n Input is list. '
419         message += 'Additional info: {}.'.format(axes_lengths)
--> 420         raise EinopsError(message + '\n {}'.format(e))
421
422
EinopsError:  Error while processing rearrange-reduction pattern "b c (h p1) (w p2) -> b (h w) (p1 p2 c)".
Input tensor shape: torch.Size([1, 1024]). Additional info: {'p1': 32, 'p2': 32}.
Expected 4 dimensions, got 2

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@rsxdalv this issue has been eliminated


ggml-metal.m - GGML_ASSERT: ne00 % 4 == 0 when generating images of dimensions 640x640

./bin/sd -m models/gsdf/Counterfeit-V2.5/Counterfeit-V2.5_pruned.safetensors -p "a cat" --steps 2 -H 640 -W 640
ggml_metal_init: allocating
ggml_metal_init: found device: Apple M2 Max
ggml_metal_init: picking default device: Apple M2 Max
ggml_metal_init: default.metallib not found, loading from source
ggml_metal_init: GGML_METAL_PATH_RESOURCES = nil
ggml_metal_init: loading 'stable-diffusion.cpp/build/bin/ggml-metal.metal'
ggml_metal_init: GPU name:   Apple M2 Max
ggml_metal_init: GPU family: MTLGPUFamilyApple8  (1008)
ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003)
ggml_metal_init: GPU family: MTLGPUFamilyMetal3  (5001)
ggml_metal_init: simdgroup reduction support   = true
ggml_metal_init: simdgroup matrix mul. support = true
ggml_metal_init: hasUnifiedMemory              = true
ggml_metal_init: recommendedMaxWorkingSetSize  = 22906.50 MB
[INFO ] stable-diffusion.cpp:142  - loading model from 'models/gsdf/Counterfeit-V2.5/Counterfeit-V2.5_pruned.safetensors'
[INFO ] model.cpp:676  - load models/gsdf/Counterfeit-V2.5/Counterfeit-V2.5_pruned.safetensors using safetensors format
[INFO ] stable-diffusion.cpp:164  - Stable Diffusion 1.x
[INFO ] stable-diffusion.cpp:170  - Stable Diffusion weight type: f32
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =   469.45 MiB, (  471.33 / 21845.34)
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =  2155.34 MiB, ( 2626.67 / 21845.34)
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =    94.47 MiB, ( 2721.14 / 21845.34)
[INFO ] stable-diffusion.cpp:306  - total params memory size = 1408.32MB (clip 469.44MB, unet 2155.33MB, vae 94.47MB, controlnet 0.00MB)
[INFO ] stable-diffusion.cpp:310  - loading model from 'models/gsdf/Counterfeit-V2.5/Counterfeit-V2.5_pruned.safetensors' completed, taking 1.03s
[INFO ] stable-diffusion.cpp:327  - running in eps-prediction mode
[INFO ] stable-diffusion.cpp:1374 - apply_loras completed, taking 0.00s
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =     1.41 MiB, ( 2722.55 / 21845.34)
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =     1.41 MiB, ( 2722.55 / 21845.34)
[INFO ] stable-diffusion.cpp:1413 - get_learned_condition completed, taking 69 ms
[INFO ] stable-diffusion.cpp:1429 - sampling using Euler A method
[INFO ] stable-diffusion.cpp:1433 - generating image: 1/1 - seed 42
ggml_backend_metal_buffer_type_alloc_buffer: allocated buffer, size =  1320.61 MiB, ( 3572.30 / 21845.34)
GGML_ASSERT: stable-diffusion.cpp/ggml/src/ggml-metal.m:2034: ne00 % 4 == 0
GGML_ASSERT: stable-diffusion.cpp/ggml/src/ggml-metal.m:2034: ne00 % 4 == 0
zsh: abort      ./bin/sd -m  -p "a cat" --steps 2 -H 640 -W 640

Also asserts for every square image dimensions except for
512x512, 768x768, and 1024x1024 ( haven't tested past 1024x1024).

This seems to be an issue with the implementation of the ggml Metal backend. You can try removing the corresponding assets to see if the issue persists.

Same assert for me, but on v2-1_768-ema-pruned.safetensors model on M1 Pro. No image dimensions work.
Any suggestions on workaround/fix?

Same issue, after commenting out the assert line in ggml-metal.m it just works with no noticeable difference.


Lost my writing

Hi there.
I created a document in Norka a few days ago then I edited it today. When I finished editing, I fiddled around with exporting options. Markdown was good but after exporting the document as pdf I realized that it exported the few days earlier version. I checked it on Norka and it was reverted to that earlier version there as well. I couldn't replicate it again, but I thought it would be good to state this here because it is very critical if it is a bug.
Platform: eOS 6.1
Norka version is the latest one available on Appcenter
No custom modifications applied to the system

@MakeGnomeWebFaster oh, I'm so sad to read this. I'm working on enabling autosave more often than now.

Since I couldn't replicate, I am closing this. Maybe it was something I did earlier. Anyway, thanks for this app!

Should I reopen this ticket or create a new one? I am being hit by this issue when my whole session gets taken down (usually for running OOM, all those tabs...). Even if I have stopped writing for hours, the contents will not have been saved.
It's good to know about C-s, but it would be great to have some visual indication so I don't just become a paranoid doing C-s all the time. Did you end up finishing that work to enable autosave more often @amka? I think just saving a couple seconds after the last key stroke should work well enough, as it should not harm the interactivity of the app. I have 1.0.1. Thank you for Norka!

Oh, snap! So sorry about this. It pushes me to make it more often and clear to the user.


RELATED: WEB-3993 Fix search meta tag

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-docs-theme-oss-check/67/ : SUCCESS in 3s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-docs-theme-oss-check/68/ : SUCCESS in 3s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-docs-theme-oss-check/69/ : SUCCESS in 3s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-docs-theme-fossa-scanning-oss-zuul/40/ : SUCCESS in 49s (non-voting)
https://checklist.intgdc.com/job/compliance/job/gooddata-docs-theme-merge-compliance-check/25/ : SUCCESS in 9s


feat: add NuxtLinkLocale component

🔗 Linked issue
#2222

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #2222
Adds a new component <NuxtLinkLocale /> which is built on top of <NuxtLink />, this component will internally use the localePath function to resolve a localized <NuxtLink />. It also supports passing a locale prop to force the localization to resolve the link with the passed language.
I will add documentation and tests later, please try/check it out and let me know if it works as expected! 😄

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@dargmuesli @ineshbose
If you have the time, please review.
we'd like to get more feedback from you!

The CI checks kept failing so I added the following npm script "postinstall": "nuxi prepare" to generate the types used when importing from #imports. This is similar to the official project starter, I saw the official module starter uses types generated from inside the playground directory, I felt that wouldn't make much sense in the context of a CI job.

I've added a simple components page to the docs describing the component and its usage. I also reordered the api pages, so that the components page comes second, similar to the official Nuxt docs, I can revert this reorder if preferred (it's hardly a necessary change in hindsight 🫣).

This component forcefully removes trailing slashes. Is there a way to add trailing slashes to it?


question about search model code?

Hi Buddy, Thanks for your great work!
Do you plan to share your search model code ?  and what time about it? looking forward to your answer !

Hi, @qinb , we just released the searching codes for TAS (https://github.com/D-X-Y/NAS-Projects#network-pruning-via-transformable-architecture-search). We will release SETN and GDAS soon.

Awesome work.

@qinb Please find the searching codes here: https://github.com/D-X-Y/NAS-Projects#usage-2


Airdrop

Why can not I take part in the airdrop?

My username zzzoleh

The airdrop goes in alphabetical order so you’ll be reallllllly late on getting your drop, they haven’t gotten to me yet and I’m a Tr

i have a badge and my username is roxiel but i dont recieve nothing :( why?

How do you check if you have your badge?

i check on my profile where is my picture profile ! Where it has always been :(

If it's saying qualified and then unqualified it means you're banned :/ Apparently they banned tons of account in the process banning all accounts that have used a vpn, so if you were signed into to keybase on your phone app and turned a vpn on it blacklisted you, same with your pc. Keybase staff won't reach out to anyone about this issue :/

Go on, have you seen the trending theme where a person is called Ugamez,
Ugamezz, Ugamezzz, Ugamezzzz?  to that if they have given it to me, I have
gone from legal and I have joined many of my friends since October, uni
github when it was more difficult so I was "pre-verified" it is impossible
for me to be blacklisted because I still have my  medal, however my letter
"r" has passed and I have not received mada, however the bot is stupid and
has not recognized some names that are sure to be multi-accounts, this is
badly done and this is not professional.
El mié., 20 nov. 2019 4:55, trixxyz<EMAIL_ADDRESS>escribió:

If it's saying qualified and then unqualified it means you're banned :/
Apparently they banned tons of account in the process banning all accounts
that have used a vpn, so if you were signed into to keybase on your phone
app and turned a vpn on it blacklisted you, same with your pc. Keybase
staff won't reach out to anyone about this issue :/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/21112?email_source=notifications&email_token=AKLXRBQXZUOTY5HOESLJ7ODQUSYKNA5CNFSM4JPJMQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQTXJY#issuecomment-555826087,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLXRBRN6Y6VHGRY3X37BJTQUSYKNANCNFSM4JPJMQAQ
.


apt --fix-broken install libpcre2-dev

Describe the bug
libpcre2-dev : Depends: libpcre2-8-0 (= 10.39-3+ubuntu20.04.1+deb.sury.org+2) but 10.40-1+ubuntu20.04.1+deb.sury.org+1 is to be installed
Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[x] v2
[ ] v1

Runners
https://github.com/SkyAPM/SkyAPM-php-sdk/runs/7403830696?check_suite_focus=true

[x] GitHub Hosted
[ ] Self Hosted

@heyanlong
I refreshed the cache we have. Please re-run your workflow and let me know if this is fixed.


Create a Secure Home Connection Using Pi-hole and Docker

Create a secure home connection using a Pi-hole and Docker
Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #3005

@neshmacharia
Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

@neshmacharia
Create a secure home connection using a Pi-hole and Docker #3286.pdf
👋 Good afternoon - I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.

@hectorkambow and @collins-a I have corrected the plagiarism. Thank you

@hectorkambow and @collins-a I have corrected the plagiarism. Thank you

Hi @neshmacharia, great! I'll complete your review by week's end

Hello @collins-a I am done correcting requested changes. Please check
Thank you

Hey @collins-a I have done the requested changes.

Please go over my final edits this article was quite difficult to read a certain times.
@neshmacharia
Please do the same to improve future articles and reviews
cc @collins-a

@hectorkambow noted sir. Thank you


Chromely Crossplatform Demo crashes on Fedora 31 Linux

When trying to run the Chromely crossplatform example on Fedora Linux using dotnet run, it crashes and displays the following error message:
[0423/123654.046190:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
It would be nice if someone could help me with this issue.
Thanks!

I am aware of issue #163 , however, even after I set the runtimeidentifier and changed the config file, it didn't run.

The error you see is common and does not stop the app from running.

Please follow the readme for guide - https://github.com/chromelyapps/demo-projects/edit/master/README.md

I will suggest you delete the config file, when this was done it was for ubuntu - may have an impact. Also please try using Visual Studio Code to debug, this way it will tell you if you are missing some packages.
Also you can upgrade nugets. There have been a few changes since we published the demos. I will find time over the weekend to upgrade the demos.
I personally have not tested on Fedora Linux. If all this does not help you can attach logs here and we can take it from there.
Thanks.

@mattkol Thanks for your answer!
I know took a look at the guide again and after seeing now issues with the code, I tried debugging the application using VSCode like you suggested.
Weirdly, the Debug Console only returned
[INFO] Running Linux chromium 77.0.3865.120
The program '[5955] crossplatform.dll' has exited with code 0 (0x0).
Are there other logs I could provide you with, to help solving this issue ?

Seems weird.
You have:
    <!-- <RuntimeIdentifier>win-x64</RuntimeIdentifier>-->
    <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
    <!-- <RuntimeIdentifier>osx-x64</RuntimeIdentifier>-->
    <Platforms>x64</Platforms>

and the following:

Download and install .NET Core 3 Runtime binaries. You will need .NET Core 3 runtime installed. You can install directly if you know what is required. Or you start with building and running and see what is missing.

dotnet restore
dotnet build
dotnet run
Also check to see that Microsoft supports the Linux distro you are using. Seems to me that Fedora will be part of it.
Please look for the files in the folder Logs in the app directory.
If you did all that, and still there is a problem then we may have to look at Fedora closely.

May be this will help.
https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-fedora31

@mattkol alright, after making sure that I have the .NET Core runtimes installed, I took a look at the log file and discovered an output stating that Chromely is unable to load the libcef library or one of its dependencies, any suggestions ?

That is good then.
Unless you remove the option, CEF binaries should start downloading after that. There should be a window browser message message saying download as started. Of course you need internet for that.
If you do not see that, then something else is still wrong, and you may have to do that manually - https://github.com/chromelyapps/Chromely/blob/master/Documents/cef_binaries_download.md

@mattkol okay, so the download finished successfully, but there is still no window opening even if I debug using vs code or use dotnet run, I'm starting to think that might be a Fedora specific issue

@mattkol alright, what in the world, I now found out that it is an issue with GNOME, as soon as I tried to run the application using XFCE and Gnome Classic it worked perfectly. What a strange behaviour....

Nice!
Good its working. But that is something we need to study closely so we can advise other developers in future. Maybe some dependencies missing.
Will keep that in mind.
Thanks.


Design doesn't fit on OrangeCrab FPGA

I'd really like to be able to run this on the OrangeCrab, which has an EPC5 LFE5U-25F. Unfortunately, it uses 20,360 TRELLIS_SLICE blocks, but the board only has 12,144 of them. Are there any optimizations that could be made to fit this onto a smaller FPGA? Is the Rocket core the smallest possible that is capable of running Linux? Could more functionality be optionally removed from it and emulated in BBL?

Hi @cjearls -- There is a "standard" rocket variant in Litex which comes without an MMU, and therefore can't run Linux, but might fit within fewer TRELLIS_SLICEs and run bare-metal programs. I don't think it's fewer enough slices for a 25k ECP5 though, unfortunately.
As it is, the "linux"-capable variant barely fits into a 45k ECP5 (on the Versa board) -- including litedram and liteeth, which is useful. There'd clearly be no room left for e.g. sdcard gateware, if anyone ever figured out how to hook up an sdcard reader to the Versa.
Not sure about other 64-bit RISC-V options (besides Rocket) and Linux, it might be worth a few minutes to investigate, if only to rule out the idea...
With a 25K ECP5 you might be forced to stick to 32-bit CPUs.
Another thing worth a few minutes of research would be to figure out how much better placement is with the vendor toolchain (Diamond) as opposed to yosys/trellis/nextpnr. I don't expect it to be better by enough to fit a rocket-capable litex soc into 25K slices, but since I'm grasping at straws here, I figured I'd throw it in...
Sorry I don't have a better answer...

Thanks for your help!


dependsOn not working

I'm using laravel nova v4 and this package v4. noticed dependsOn not working.
Current Behavior:
there's no File (nova-video) upload field when I select "Upload a File" from the Select.
Expected Behavior:
there's File (nova-video) upload field when I select "Upload a File" from the Select.
https://github.com/mostafaznv/nova-video/assets/22522638/b1f87c4e-6434-413d-97f7-5f434e811c4e

Hi @handhikadj,
You are using v4 , and the Dependent Fields feature has been added to this package since 5.1.0.
If you'd like to use this feature, I recommend upgrading to the latest version or, at the very least, version 5.1.0.


Fix ar translation issue

I'm not an Arabic speaker. I just fixed the format. Feel free to suggest the translation.
This PR will fix #1345 .

Thanks for fixing this bug @asispts.


Earthquakes (scaled)

This adds some scaling options to the model, such that the model author can pretend the width of the model is different from what it actually is, and the time scale is different.
One way to play with it is to set up a model such as in #255, run it, and then after it has run change

The actual width of the model
The apparent width of the mode
The apparent year scaling

The first option will change the curvature of the lines and the shape of the triangle, as the actual simulation will have been run closer to or further from the fault line. The second two options will only change the scale label and the year label.
The year scaling will also come into play when users can step through the model year by year in code.
This also adds the ability to hide the year label altogether.
https://geocode-app.concord.org/branch/earthquakes-scaled/index.html

@sfentress are we off by a factor of 10 in the apparent width that is in the authoring and displayed in the deformation model?

@mklewandowski The scale marker is like a map's scale marker: the distance is from one end of the line to the other.
If I'm being dense and missing what you're saying, LMK. Otherwise I think this is fine, and will bring it in.

Got it.  My confusion.


driver: Enhance method-not-found errors when not using JUnit 5

This adds a new note to the error message that appears when the @FuzzTest is used, but JUnit 5 is not set up / the dependency junit-jupiter-engine in missing in version 5.

@fmeum: There is a very similar message in src/main/java/com/code_intelligence/jazzer/replay/Replayer.java but I was not sure whether we support the @FuzzTest annotation for the replayer as well. Should I add the same change, there?

@fmeum: There is a very similar message in src/main/java/com/code_intelligence/jazzer/replay/Replayer.java but I was not sure whether we support the @FuzzTest annotation for the replayer as well. Should I add the same change, there?

No, we do not support the replayer for JUnit 5, @FuzzTest has this capability built in.


Possibility to use a different directory

Hi,
I'm trying to use coreos-osx by putting the folder on an external drive ( symlinking it ), but it can't launch ( core01 not found or dead ).
Is there a way to use another directory ?
Thanks

@julienmarie I have not tested to symlink the whole folder, but guys have success to symlink the data.img file to another location

closing in favour of #30


Implement Validate Method for Yandex Lockbox provider

Hey @gusfcarvalho , is this still up for grabs ? Would be interested if so as a good first issue :)

Sure, you can have it :)
Let us know if you have questions, we're happy to help


Add Tschuprow's T and Pearson's Contingency Coefficient

What does this PR do?
Fixes #1299
fixes #1335
This MR adds Tschuprow's T, and (very similar) Pearson's Contingency Coefficient
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@Borda please re-review :]


Support for non-numeric classes

Currently, it seems that DiCE only supports numeric classes. Are you planning to support non numeric classes as well?

@shreyakhandelwal07 could you elaborate more on numeric classes bit?
Regards,

For instance, my dataset has  3 classes - 'Car', 'Truck', 'Bike'. DiCE expects the desired class for the counterfactuals to be numeric.
if desired_class_input == "opposite":             if num_output_nodes == 2:                 original_pred_1 = np.argmax(original_pred)                 target_class = int(1 - original_pred_1)                 return target_class             elif num_output_nodes > 2:                 raise UserConfigValidationException(                     "Desired class cannot be opposite if the number of classes is more than 2.")         elif isinstance(desired_class_input, int):             if desired_class_input >= 0 and desired_class_input < num_output_nodes:                 target_class = desired_class_input                 return target_class             else:                 raise UserConfigValidationException("Desired class not present in training data!")         else:             raise UserConfigValidationException("The target class for {0} could not be identified".format(                                                 desired_class_input))

Thanks for raising this @shreyakhandelwal07 Agree, this can be a useful feature for classification models. However, it may require specific logic for handling strings in many places. We will look to support it in a future release.


tcpflow: new package added

Would be nice to have tcpflow as a network traffic recorder to capture and decode HTTP traffic from multiple TCP connections (flows). It might be useful for debugging purposes. Unfortunately, it requires boost-devel >= 1.53.0, so I temporary brought RPMs from ENETRES repository (there is no SRPMS). I need your opinion: should we build yet another boost and put it into EK repository?

Boost is a big pack of libraries and this is very hard work to keep it up-to-date. We can build this package only for CentOS 7 which contains boost-devel 1.53.0 in base repository.

Look at this spec.

It sounds reasonable. I do not mind to build the package only for CentOS 7.


document how to create/manage secrets for protected data source

Goal
Document how to use secrets to access each supported data source (Prometheus, Dynatrace, Datadog)
Problem
Dynatrace and Datadog have worked with secrets for some time; https://github.com/keptn/lifecycle-toolkit/issues/2128 adds support for using secrets to access a Prometheus data source.  The KeptnMetricsProvider CRD reference page shows the syntax for using secrets but we do not document how to implement the secrets.
The process is different for each data provider and we will need to add this information for other data providers we may support in the future.
Options:

~Add a page to the "User guides" section that explains how to add secrets for all supported data providers~
Add section "Metric Providers" to "Implementing Keptn applications" section about implementing secrets for data providers with subpages for each supported data provider with these instructions

This option has the advantage of giving us a place to document other information that may be needed for each data provider, such as which version of the data provider works with which versions of Keptn, known issues, maybe information about forming queries (or a pointer to the provider's documentation about forming queries)
Also gives a descrete file that a data provider contributor can modify without impacting information about other data providers

DoD

Doc about how to create and manage secrets for Dynatrace
Doc about how to create and manage secrets for Prometheus
Doc about how to create and manage secrets for Datadog
Links from KeptnMetricProvider page to these documents, both in the discussion of calling secrets and in the "See also" section

The secrets for the providers should look the following:
apiVersion: v1
kind: Secret
metadata:
  name: prometheus
data:
  password: password
  user: user
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
  name: datadog
data:
  DD_CLIENT_API_KEY: api-key
  DD_CLIENT_APP_KEY: app-key
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
  name: dynatrace
data:
  myCustomKey: my-token
type: Opaque


[SPARK-16362][SQL][WIP] Support ArrayType and StructType in vectorization Parquet reader

What changes were proposed in this pull request?
Vectorization parquet reader now doesn't support nested types such as ArrayType, MapType and StructType. We should support it to extend the coverage of performance improvement introduced by vectorization parquet reader. This patch is to add ArrayType and StructType first.
How was this patch tested?
Existing unit tests.

Submitted to see jenkins test results. Benchmark will be run later.

retest this please.

Test build #61720 has started for PR 14045 at commit d5e5a60.

Test build #61718 has started for PR 14045 at commit d5e5a60.

Test build #61720 has finished for PR 14045 at commit d5e5a60.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61720/
Test FAILed.

Test build #61718 has finished for PR 14045 at commit d5e5a60.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61718/
Test FAILed.

Test build #61740 has started for PR 14045 at commit 5c4c1c8.

Test build #61740 has finished for PR 14045 at commit 5c4c1c8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61740/
Test FAILed.

Test build #61743 has started for PR 14045 at commit 114a69b.

Test build #61743 has finished for PR 14045 at commit 114a69b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61743/
Test FAILed.

Test build #61813 has started for PR 14045 at commit 4dca939.

Test build #61814 has started for PR 14045 at commit ded41b2.

Test build #61813 has finished for PR 14045 at commit 4dca939.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61813/
Test FAILed.

Merged build finished. Test FAILed.

Test build #61814 has finished for PR 14045 at commit ded41b2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61814/
Test FAILed.

Test build #61828 has started for PR 14045 at commit bf61a75.

Test build #61828 has finished for PR 14045 at commit bf61a75.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61828/
Test FAILed.

ok. 3 failed tests remaining...

Test build #61900 has started for PR 14045 at commit d719480.

Test build #61902 has started for PR 14045 at commit a8f121b.

Test build #61902 has finished for PR 14045 at commit a8f121b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61902/
Test FAILed.

Test build #61900 has finished for PR 14045 at commit d719480.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61900/
Test FAILed.

Test build #62094 has started for PR 14045 at commit 9a8b062.

Test build #62094 has finished for PR 14045 at commit 9a8b062.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62094/
Test PASSed.

Test build #62130 has started for PR 14045 at commit 42f53de.

ping @liancheng @yhuai @rxin I think this is ready now. Can you review this?

Test build #62130 has finished for PR 14045 at commit 42f53de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62130/
Test PASSed.

Test build #62244 has started for PR 14045 at commit 17f3b82.

Test build #62244 has finished for PR 14045 at commit 17f3b82.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62244/
Test PASSed.

Test build #62363 has started for PR 14045 at commit 1788d4c.

Test build #62363 has finished for PR 14045 at commit 1788d4c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62363/
Test FAILed.

Test build #62370 has started for PR 14045 at commit 3b8c3ce.

Test build #62370 has finished for PR 14045 at commit 3b8c3ce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62370/
Test PASSed.

Merged build finished. Test PASSed.

Test build #62573 has started for PR 14045 at commit 545a57a.

Test build #62576 has started for PR 14045 at commit cc35cab.

Test build #62573 has finished for PR 14045 at commit 545a57a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62573/
Test PASSed.

ping @liancheng @yhuai @rxin Can you review this? I think that we should support complex types in vectorization to extend the coverage of performance improvement. Thanks!

Test build #62576 has finished for PR 14045 at commit cc35cab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62576/
Test PASSed.

@viirya Thanks for your work! This would be very useful. I'll help review this one soon after finishing my 2.0 tasks at hand!

@liancheng Thank you!

I am going to refactor this a lot.

Closed this PR in favor of the refactored one: #14388.


Tasks not reorganized when moved to a different project

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

When I create a new project and move a task from lets say page 3 of another project (which has 5 pages) to the new one, I expect the task would appear on page 1 of the new project. Instead I see 5 pages have been created and the task appears on page 3 but the rest of the pages are empty.
Similarly, when I move all the tasks present on one page of the project to a different project, I expect the number of pages should decrease by 1 i.e. the tasks reorganize in the dashboard however I can still see the empty page.
Current Behaviour

Tasks do not reorganize in the viewing dashboard
Steps to Reproduce (for bugs)

Create 'project A' with enough tasks to fill 3 pages.
Create a new 'project B'
Move task on page 2 of 'project A' to 'project B'
The task will appear on page 2 of 'project B' while page 1 and 3 are empty
Move all tasks from page 2 of 'project A' to 'project B'
Page 2 of 'project A' will appear empty

@klakhov
Could you please investigate the issue?

@mbirkhez Hello, I tried to reproduce the issue but everything woked fine for me.
Maybe I'm doing something wrong?

Tried to reproduce it on last develop version 9e67bcb53c4f434c636a90f80f49294088dda6bd. What version are you using? Maybe issue was fixed.


Add documentation for using SOCI as a CMake subdirectory

Fixes #792.
As explained in my answer to issue #792, placing SOCI in a subdirectory of your project and simply including it with CMake is possible. This PR adds documentation how to do it.
I haven't used SOCI extensively enough to say whether both static and dynamic linking is possible this way. In my tests, I was only able to get the statically linked library running.

Nice, thanks! I can merge it like this but I wonder if we could (should?) build this example as part of the CI builds to make sure that it not only works now, but also continues working in the future? If you can modify appveyor.yml and/or .github/workflows/ci.yml to do it, it would be great!

Sure thing :) I tried to add it as non-invasive as possible.

Looks great, thanks! Will merge in a moment.


Drop to depend on gnome-keyring for ssh agent integrations

https://github.com/NixOS/nixpkgs/blob/db6ef5d786ca0ae8bb3213565a088a1a0cbacdbc/pkgs/development/libraries/gcr/default.nix#L75-L76
https://gitlab.gnome.org/GNOME/gnome-keyring/-/commit/25c5a1982467802fa12c6852b03c57924553ba73
https://github.com/NixOS/nixpkgs/issues/140824
https://www.linuxfromscratch.org/blfs/view/svn/gnome/gcr4.html
https://github.com/kachick/dotfiles/issues/262
https://github.com/joaojacome/bitwarden-ssh-agent
https://github.com/quexten/goldwarden

How about enable ssh support in gpg-agent?
https://wiki.gnupg.org/AgentForwarding
https://wiki.archlinux.jp/index.php/GnuPG#SSH_.E3.82.A8.E3.83.BC.E3.82.B8.E3.82.A7.E3.83.B3.E3.83.88
https://discourse.nixos.org/t/gpg-smartcard-for-ssh/33689/2
https://www.soum.co.jp/misc/individual/gpg-agent/
https://blog.n-z.jp/blog/2022-10-05-gpg-agent-forwarding.html

💭 I know someone saying PGP/GPG is dead and push to use age...

Bitwarden merged part of a ssh-agent feature https://github.com/bitwarden/clients/pull/10293

https://wiki.gnupg.org/GnomeKeyring

https://github.com/NixOS/nixpkgs/issues/8356


add rest of missing components to kichen sink

related to #7661

For the grid examples, can you have separate examples and live code? The samples shouldn't have the .display class in them; that's our docs-specific class.
Basically use html instead of html_example, and copy and paste the example below.

@gakimball i did update on the docs. will it be OK?

Looks great! Thanks again.


[Fix bug 1131009] Change wording for API keys management.

Coverage remained the same at 93.03% when pulling 31c2072d681c20666c86d932035b64591ecb2dad on johngian:fix-wording into efe3515c2fe79af270e9af5bc5c43dd957f657ea on mozilla:master.

@comzeradd r? please

r+wc :beer:


fix: electron update error

Description
We have a data race when user click "check for updates" with auto-update set to true, causing the updating fail (#5549).
This PR let manual-update can continue auto-update progress.

if auto update is downloading, when click "check for updates" will show the progress.
if auto update is downloaded, when click "check for updates" will show quit-and-start modal.

Task Item
close #5551

Screenshots

When auto update is downloading.

When auto update is downloaded.

Coverage increased (+0.008%) to 55.093% when pulling 10a3255cdf5978ecd5dad435c8302401e05858cd on zhixzhan/electron-update into 1aa2c8acf7173709f82a9eb182aaf99c1c0a43cc on main.

Coverage increased (+0.008%) to 55.093% when pulling 10a3255cdf5978ecd5dad435c8302401e05858cd on zhixzhan/electron-update into 1aa2c8acf7173709f82a9eb182aaf99c1c0a43cc on main.