Can't copy from PS code excerpt | General Copy Code button feature request

File: get-started/07_multi_container.md
Copying code from https://github.com/docker/getting-started/edit/master/docs/tutorial/using-bind-mounts/index.md works but not from https://github.com/docker/getting-started/blob/master/docs/tutorial/multi-container-apps/index.md. Kinda annoying since it's several lines and works elsewhere.
I had a look at source but couldn't work out why.
If you copy from github directly (which also has the Copy Code button) then you don't get this issue.

It appears to have been fixed in https://github.com/docker/docker.github.io/commit/5bf13c7380b25c7a42bcbc4782f79af7114c96cd
If the issue still persists, please let us know.


【MAC】An error occurred building 'hello world' example

I'm trying to build 'hello_world' on MAC, and following error occurred.
System information (Please provide as much relevant information as possible)
ERROR: /Users/wangjunjie/Documents/Github/mediapipe/WORKSPACE:260:13: fetching http_archive rule //external:build_bazel_rules_apple: Traceback (most recent call last):
File "/private/var/tmp/_bazel_wangjunjie/95eda4f7c99f7ddce46cd8d36dd7bed7/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_apple/releases/download/0.32.0/rules_apple.0.32.0.tar.gz] to /private/var/tmp/_bazel_wangjunjie/95eda4f7c99f7ddce46cd8d36dd7bed7/external/build_bazel_rules_apple/temp11825797914784900860/rules_apple.0.32.0.tar.gz: Connection refused (Connection refused)
ERROR: no such package '@build_bazel_rules_apple//apple': java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_apple/releases/download/0.32.0/rules_apple.0.32.0.tar.gz] to /private/var/tmp/_bazel_wangjunjie/95eda4f7c99f7ddce46cd8d36dd7bed7/external/build_bazel_rules_apple/temp11825797914784900860/rules_apple.0.32.0.tar.gz: Connection refused (Connection refused)
INFO: Elapsed time: 12.881s
INFO: 0 processes.
Describe the problem:
seems like the package build_bazel_rules_apple//apple i can't download. But when i copy the link to the web browser, i can visit. Need help~

https://github.com/google/mediapipe/issues/581#issuecomment-899287326


Refactor derive_private_key and derive_ecdsa_pub

This commit removes these two functions in favor of a derive_key_pair function which derives both private and public keys. This is necessary for the Caliptra implementation of the Crypto trait.

Thoughts on passing some sort of an enum to derive_key_pair in order to only compute priv_key or pub_key? currently, in multiple places we call derive_key_pair to use only one of the priv key or pub key, so we could skip some unnecessary work with this.

Ya this makes sense to me. I think a bool would be fine. In Caliptra the public key always gets derived anyway. But in general deriving a public key isn't super fast, so it would be good to avoid deriving it if we can avoid it. And then you can return an Option<EcdsaPubKey>. If the pubkey wasn't requested, can just return None.


chore: remodule ratify package

Description
What this PR does / why we need it:
Test PR to attempt to remodule go packages to new ratify-project org
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

AKS tests pass in my fork: https://github.com/akashsinghal/ratify/actions/runs/9421816503/job/25956727308


⚠ Bofrost.be has degraded performance

In 4e2d9cc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1152 ms

Resolved: Bofrost.be performance has improved in 74214ef.


Hi @marktopper, I never know the request got the segment method as i a newbie. I appreciate that tips. Thank you!

Hi @marktopper, I never know the request got the segment method as i a newbie. I appreciate that tips. Thank you!
I took your approach. In general, everything would be cool. But I have one problem. I can't figure out how to solve it.
This applies to this section of code:

remove index from the resource

    Route::resource('books.book-pages', $namespacePrefix.'VoyagerBreadController',
    [
        'except' => 'index'
    ]);

point resource index to the controller method
Route::get('books/{book}/book-pages', 'BookPageController@index')->name('books.book-pages.index');

For saving - books/{book}/book-pages/create I have a problem.
Form action="...." leads just the same to index -  books/{book}/book-pages/
after saving leads me to - admin/book-pages/
and this is a fail and incorrect work generally.
Can you tell me  how to solve it? Thank you!!!

As the issue template suggests, please ask questions in our Slack group.


Doesn't work in SSR environment?

Describe the bug
got error Missing getServerSnapshot. But works fine when I wrap it with
Your Example Website or App
https://stackblitz.com/edit/remix-run-remix-ui2pcq?file=app/routes/_index.tsx
Originally from twitter: https://x.com/muhajirdev/status/1831550300655907288

I think I can pinpoint the required changes, but not entirely sure how to fix it
https://github.com/pmndrs/zustand/commit/773e2e2919d5367a41f27adaa63fe2ab2e572d07#diff-ca56e63fa839455c920562a44ebc44594f47957bbd3e9873c8a9e64104af2c41
https://github.com/search?q=repo:tinyplex/tinybase usesyncexternalstore&type=code

I think useSyncExternalStore need the 3rd params

You fixed it, you rock star!


[scan] Removing duplicate settings of config

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
Whenever scan or run_tests is used in Fastfile it executes
xcodebuild showbuildsettings two times with same parameters which increases overall build time
https://github.com/fastlane/fastlane/issues/15717
Description
Scan.config is initialized when manager is called here which does the job of using build settings for the parameters from scheme.
I have tested this change with project i am working on where run_tests is 27 times for around 14 schemes in total without any issue.
Testing Steps
scan or run_tests actions with required parameters

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

@googlebot I signed it!

Feedback addressed @joshdholtz .

@googlebot I consent.

@pradyhk Heyyy 👋 I rebased from master and pushed a commit onto here to fix the double scanning of configs. Checking if derived data was empty didn't seem to fix it on my end. I ended up moving the first scan and storing of plist files into the manager. That plist files before can then be referent from the manager in the the run_tests action to do the plist differences.
I also removed the storing of :destination and resetting of it because it wasn't actually doing anything. It didn't look like it was actually doing anything and :destination doesn't actually et reset inside of Scan::DetectValues if its manually set.
If you could pull these changes down and let me know if it works for you that would be 💯 🙏

@joshdholtz awesome 🍾 🎉 . Thanks for merging the PR..


Update msk to use only UQL

Mechanically translates legacy style queries to UQL.

Shared links for review in OTel channels 48 hrs ago. Did not receive negative feedback. Proceeding with merge.


Create compile screen in front-end

On the project editor, when clicking on compile, a compilation screen must be created and connected with Unity to show information about the process

Waiting for input to further develop this


add howfairis action

This Pull request adds a GitHub action to check the compliance with fair-software.eu
Fixes #28

This works fine


[The One Ring 2e] - 3.04.00 - added whisper mode and bonus modifier for useful items

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Added

bonus modifier for useful items
whisper mode for rolls

Character Sheet Info Roll20 Internal Use only.


Cannot Call Static Methods of External Classes [$10]

Hello,
Zephir allows us to create objects that are not currently defined in the project like so:
let someObject = new \Class_From_Elsewhere();

However we cannot call static methods as might be expected:
let someResult = \Class_From_Elsewhere::someMethod("foo");

I'm currently using this as a workaround:
let someResult = call_user_func_array(
   ["\Class_From_Elsewhere", "someMethod"], ["foo"]);

Thank you, Zephir people!
Using Zephir at commit 416c98943db845112825eebafa5ad13acda4ce26 (Wed Apr 22).

---
There is a **[$10 open bounty](https://www.bountysource.com/issues/11993423-cannot-call-static-methods-of-external-classes?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Alternatively: \Class_From_Elsewhere::{"someMethod"}("foo"); should work

I think warning was caused by \Class_From_Elsewhere does not exist
You need to use prototype with autoload for it class
Can you show full compiler exception?

ping @Stormwing

Howdy,
The compiler will produce an error like this:
Zephir\CompilerException: Class name: MyClass does not exist in /home/bear/repos/zephir-sandbox/test/test/Test.zep on line 6

          return \MyClass::method();
        ---------------------------^

ping @Stormwing
Maybe this one will help you.
namespace Utils;

class SomeClass {
     public function getClassName()
     {
     	var className = "NotExists";
     	return {className}::method();
     }
}

#!/usr/bin/env php
<?php

class NotExists
{
	public static function method()
	{
		return "Hello from big Hangout";
	}
}

$a = new \Utils\SomeClass();
var_dump($a->getClassName());

I am having the same problem. Neither of the workarounds work for me.
\Class_From_Elsewhere::{"someMethod"}("foo"); throws a compiler error and the call_user_func_array workaround just throws a class ... not found error during runtime.

@FabianTe To achieve better performance consider use create_instance_params and avoid call_user_func_array as long as you can.

We figured out, that this works, as long as double backslashes are used:
let someResult = call_user_func_array(
   ["\\MyNamespace\\Subnamespace\\MyNormalClass", "someMethod"], ["foo"]);

@sergeyklay Thanks


Merge pull request #30 from ibm-cloud-security/master

Fixed spacing in product name to App ID.

Coverage remained the same at 36.91% when pulling ffb8e34df34ad6d15e47f2bace5c3f839850d134 on development into dc4d46b740f3784f4f0ace1b8323d8be4d8d5010 on master.

Coverage decreased (-0.1%) to 36.805% when pulling 73ce9085f0734472e237db64661dd2d9ff6dc843 on development into dc4d46b740f3784f4f0ace1b8323d8be4d8d5010 on master.


drone-cli: 1.2.1 -> 1.2.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/drone/drone-cli/releases.
meta.description for drone-cli is: "Command line client for the Drone continuous integration server."
meta.homepage for drone-cli is: ""
meta.changelog for drone-cli is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.2.2 with grep in /nix/store/wyznhhzh15i9azjxg4fjdvwr07061s17-drone-cli-1.2.2

directory tree listing: https://gist.github.com/b714e25bb46f9c9cb8e31fdd9d40cce1

du listing: https://gist.github.com/499abb7b2101476a6fc52e91322b21f0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
drone-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wyznhhzh15i9azjxg4fjdvwr07061s17-drone-cli-1.2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A drone-cli https://github.com/r-ryantm/nixpkgs/archive/aafefaa1095f96013e037ea6bb978cceace3da00.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wyznhhzh15i9azjxg4fjdvwr07061s17-drone-cli-1.2.2
ls -la /nix/store/wyznhhzh15i9azjxg4fjdvwr07061s17-drone-cli-1.2.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

drone-cli

Maintainer pings
cc @bricewge @kalbasit for testing.

@zowoq @Mic92 I think it's a bit weird when github actions marks the check-summary as failed just because of a timeout.

@zowoq @Mic92 I think it's a bit weird when github actions marks the check-summary as failed just because of a timeout.

I have a better fix here, but graham is afk right now: https://github.com/NixOS/ofborg/pull/527

Merged in https://github.com/NixOS/nixpkgs/pull/95056


Change User-Agent header

User agent is currently For those about to POST, we salute you.
https://github.com/stephenbasile/vcl_cli/blob/b39d9cc7864f3b65d8ab1719357659b6cd942e5d/lib/vcl/fetcher.rb#L11
Perhaps this can this be changed to something a little more descriptive, eg:
For those about to POST, vcl_cli salutes you
;)

You're no fun at all! :)
Yes, I will change it.

Corrected in https://github.com/stephenbasile/vcl_cli/commit/5fd50a38d72b803fbbaf3c8945d5cdad60b0ca05


Implement NotSerializableException.

added also the relevant tests of the throwables under java.io._

Can one of the admins verify this patch?

Thats all

fixed and rebased ^^

LGTM
Jenkins, test this please

Jekins, test this please

Needs a rebase.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2087/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2702/
Test FAILed.

I've properly separated Throwables test, hope this is appreciated.

LGTM. Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2090/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2706/
Test FAILed.

Jekins, test this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2094/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2710/
Test PASSed.


Add options to suppress warnings from publish-counts

Automatically suppress warnings in production.  Relies on NODE_ENV environment variable.
Suppress all warnings with Counts.noWarnings().
Suppress warnings per call to Counts.publish() with noWarn option.
Update README.
New unit tests to verify suppression of warnings.

@tmeasday @kristijanhusak API review welcome.
Fixes #57

I'd consider using the same name noWarnings for the option

I agree with @dburles.

As you wish.  The option is now noWarnings.  Will verify tests still work later this evening, then publish 0.7.0.
Thanks for the input.


[PE-D] Some commands with invalid formats are used in the UG, under the section describing the  delete commands

e.g.:

list student c\1
list class \m 2

Marked as low sev because:

the commands technically still run (although without the intended effect, i.e. that the list is filtered)
the rest of the sentence ("... deletes the 2nd class group in the filtered class group list (filtered by module index 2) in TAssist.") still holds, as the 2nd class group in the resulting list will still be deleted. (Though the class group list is technically not filtered.)

Labels: severity.VeryLow type.DocumentationBug
original: zhongfu/ped#11

Update slash to forward slash / and \m 2 should be m/2


Simulator Tests in CI

Trying to create carla + bridge.py CI test. Just the start of issue https://github.com/commaai/openpilot/issues/2572
Current test is very basic: First starts Carla, then runs bridge.py. If connection is not made in 50 seconds the test will fail. The simulation and bridge.py will close quitely after 60 seconds.
However, GPU is really needed to run carla so at the moment the tests are failing.

[ ] Cleanup
[ ] Add more test like launching manager

For this PR, let's focus on just writing a test and remove the CI stuff. We'll probably need to run this on our Jenkins machine with a GPU, which I'll setup after this is merged.

Thanks for your feedback. Removed the CI stuff.
Created basic unittests for connecting with Carla without errors and another for running the bridge without errors for 50 seconds.
I moved some functionality in a bridge class which makes it a bit easier to test.


Uncaught (in promise) TypeError: M is not a function

Works fine locally, but not on production.
On create-react-app v5.0.0
Other users having same issue on separate issue : https://github.com/pmndrs/detect-gpu/issues/86#issuecomment-1029333412

Having this same issue

Using:
"gatsby": "4.7.2",
"webpack": "^5.69.1"
"detect-gpu": "^4.0.16"

or with useDetectGPU
"@react-three/drei": "8.20.2"

@TimvanScherpenzeel is there something we can do to help debug this issue? I'm not even sure where to start

Have tracked down this breaking change to version 4.0.0.
3.1.3 works as expected but doesn't report apple M1s correctly.

Hey, I am having the same problem! Is there any solution for this? I tried version 3.1.3 but is not working correctly on apple devices.

same issue here with new version of create react app that uses webpack 5

This issue has been blocking me for a while now too. Did some cursory hunting, and removing the terser plugin from the rollup config seemed to fix the issue for me. Is it necessary? https://github.com/pmndrs/detect-gpu/blob/068151c4dd32c1eea3cd5aeca9a1683ed8aab2f1/rollup/config.lib.ts#L24

@eric-taix Right above your +1 comment someone seems to be pushing commits purporting to fix this issue. How about asking them to open a PR or review the commits yourself and open a PR?

This is one of my coworker who's trying to fix this issue (typically by removing terser as suggested here). And of course if we fix it, we'll open a PR ;-) For now, this is far from being solved.
If a maintainer could give us some advice(s) / idea(s) it would be probably more efficient.


Let WildFlyCli.run(URL, String...) forward the additional args to WildFlyCli.run(Path, String...)

... because othewise the timeout set via wildFlyCli.run(cliUrl, "--timeout=15000") is uneffective.

I'll close this as the fix is already folded into the Elytron work for #2595.


WebSocketServer now sanitize destination peers.

When relaying messages in multiplayer mode.
Could cause a crash in case a malicious client sends a bogus packet and for those cases where a peer has just disconnected and a message arrive from another peer with the disconnected one as destination.
Fixes #31106

Thanks!

Cherry-picked for 3.1.2.


LV: Providing "ma" attribute for NAAT examples

LV
Issue Description

Concerning a QR code for a NAAT test from https://github.com/eu-digital-green-certificates/dgc-testdata/blob/1673a054d2dd874f508ffb0b2f539fdd3616ba56/LV/2DCode/raw/2.json:
{
   "ver":"1.0.0",
   "nam":{
      "fn":"Darbiņš",
      "fnt":"DARBINS",
      "gn":"Kalvis",
      "gnt":"KALVIS"
   },
   "dob":"1974-01-04",
   "t":[
      {
         "tg":"840539006",
         "tt":"LP6464-4",
         "nm":"1copy COVID-19 qPCR Kit",
         "ma":"1drop Inc",
         "sc":"2021-06-02T02:25:00Z",
         "dr":"2021-06-02T03:45:00Z",
         "tr":"260373001",
         "tc":"NVD",
         "co":"LV",
         "is":"Nacionālais veselības dienests",
         "ci":"urn:uvci:01:lv:39d9da8d15e39b93a68b3e095f4f56d9"
      }
   ]
}

The "ma" attribute is dedicated for RAT tests, so it shouldn't be provided in QR code for NAAT tests.
Proposed Solution

Delete the "ma" attribute in NAATs' QR codes.
@ArtursMednis

This is corrected now.


Exclude pyzmq 23.0.0

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

See https://github.com/0rpc/zerorpc-python/issues/251
Was fixed with pyzmq 23.1.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Kafka-clients 3.5.1(fixed snappy-java) to address CVE-2023-34453

CVE-2023-34453

snappy-java is a fast compressor/decompressor for Java. Due to unchecked multiplications, an integer overflow may occur in versions prior to <IP_ADDRESS>, causing a fatal error
Allow to use kafka-clients-3.5.1(uses snappy-java-<IP_ADDRESS>) with spring-kafka

Spring versioning rules do not allow overriding to a new minor (or major) version in a patch release.
We explain in the documentation how to override Boot's prescribed version https://docs.spring.io/spring-kafka/docs/3.0.10-SNAPSHOT/reference/html/#update-deps
If you are not using Spring Boot, you have to override the version of all Kafka jars.
Spring Boot 3.2 will use 3.5.1 (or later).

@garyrussell Will it be possible to use kafka-clients-3.5.1 with 2.9.11 as well?

Yes; you can use 3.5.1 with 2.9.x.

See the matrix on the project home page (it currently shows 3.5.0 and needs to be updated to 3.5.1).
https://spring.io/projects/spring-kafka

@garyrussell Hi, I have tried the approach you have recommended, but I am still facing some issues.
I have following dependencies:
MAIN
org.springframework.kafka.spring-kafka:2.9.10
org.apache.kafka.kafka-clients:3.5.1

TEST
org.springframework.kafka:spring-kafka-test:jar:2.9.10:test
org.apache.kafka:kafka-metadata:jar:3.5.1:test
org.apache.kafka:kafka-streams-test-utils:jar:3.5.1:test
org.apache.kafka:kafka_2.13:jar:3.5.1:test

And when I run my tests with embedded broker
class KafkaConnectorTest {

    @Autowired
    private EmbeddedKafkaBroker kafkaEmbedded;

....

I get this error
java.lang.NoClassDefFoundError: kafka/utils/TestUtils
	at org.springframework.kafka.test.EmbeddedKafkaBroker.<clinit>(EmbeddedKafkaBroker.java:144)
	at org.springframework.kafka.test.context.EmbeddedKafkaContextCustomizer.customizeContext(EmbeddedKafkaContextCustomizer.java:71)
	at org.springframework.boot.test.context.SpringBootContextLoader$ContextCustomizerAdapter.initialize(SpringBootContextLoader.java:333)
	at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:604)
	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:373)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141)
....

The TestUtils class is really not part of org.apache.kafka.kafka_2.13:3.5.1.
Does this really mean that
org.springframework.kafka.spring-kafka-test:2.9.10 is not compatible with the org.apache.kafka.kafka_2.13:3.5.1?

If I only change the org.apache.kafka.kafka-clients:3.5.1 and still use org.springframework.kafka.spring-kafka-test:2.9.10 the tests will use the clients org.apache.kafka.kafka-clients:3.2.3 and I get following error at runtime:
2023-08-08 11:27:46.673 ERROR 3260 --- [er-event-thread] k.c.KafkaController                      : [Controller id=0] Error while electing or becoming controller on broker 0. Trigger controller movement immediately

java.lang.NoSuchMethodError: 'org.apache.kafka.common.feature.Features org.apache.kafka.common.feature.Features.finalizedFeatures(java.util.Map)'
	at kafka.server.BrokerFeatures.defaultFinalizedFeatures(BrokerFeatures.scala:44) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.enableFeatureVersioning(KafkaController.scala:388) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.maybeSetupFeatureVersioning(KafkaController.scala:444) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.onControllerFailover(KafkaController.scala:240) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.elect(KafkaController.scala:1532) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.processReelect(KafkaController.scala:2493) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.KafkaController.process(KafkaController.scala:2538) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.QueuedEvent.process(ControllerEventManager.scala:52) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.ControllerEventManager$ControllerEventThread.process$1(ControllerEventManager.scala:130) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.ControllerEventManager$ControllerEventThread.$anonfun$doWork$1(ControllerEventManager.scala:133) ~[kafka_2.13-3.2.3.jar:?]
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) ~[scala-library-2.13.8.jar:?]
	at kafka.metrics.KafkaTimer.time(KafkaTimer.scala:31) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.controller.ControllerEventManager$ControllerEventThread.doWork(ControllerEventManager.scala:133) ~[kafka_2.13-3.2.3.jar:?]
	at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96) ~[kafka_2.13-3.2.3.jar:?]

When using Boot, it's best to use its dependency management so that all the necessary jar versions are overridden. As I said above:

If you are not using Spring Boot, you have to override the version of all Kafka jars.

We used to spell that out in more detail; perhaps we should re-introduce it.
You need these additional jars (test classification).
dependencies {
    testImplementation "org.apache.kafka:kafka-clients:${kafka.version}:test"
    testImplementation "org.apache.kafka:kafka_2.13:${kafka.version}:test"
}

Here's a link to the older docs: https://docs.spring.io/spring-kafka/docs/2.8.11/reference/html/#update-deps

Okay, lets try again.
I have put together an example repo, which shows the issue that I am facing.
See the repo here: https://github.com/sutr90/spring-kafka-test
In https://github.com/sutr90/spring-kafka-test/blob/master/deps.txt you can see all the dependencies.
In https://github.com/sutr90/spring-kafka-test/blob/master/test.capture.txt you can see the output of the test run, showing the missing class error (different class is missing this time, but whatever)
The exclusions are required to get rid of the kafka-*:3.2.3 stuff coming from the spring-kafka-test as I need 3.5.1.
The repo is a minimal example showing the problem. In reality this whole thing is part of much bigger project under NDA. But this reproducible example should be enough to confirm, if what we want is achievable or not.
Thanks for your time.

You don't need those exclusions - this is the one that's killing you...
                <exclusion>
                    <groupId>org.apache.kafka</groupId>
                    <artifactId>kafka_2.13</artifactId>
                </exclusion>

You are excluding the broker itself.
Here are the dependencies from my 2.9.x smoke test with 3.5.1, which works just fine:
	<properties>
		<java.version>11</java.version>
		<spring-kafka.version>2.9.10</spring-kafka.version>
 		<kafka.version>3.5.1</kafka.version>
	</properties>

	<dependencies>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework.kafka</groupId>
			<artifactId>spring-kafka</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.kafka</groupId>
			<artifactId>spring-kafka-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.kafka</groupId>
			<artifactId>kafka-streams</artifactId>
		</dependency>

	</dependencies>

This <kafka.version>3.5.1</kafka.version> instructs Boot to override all kafka jars (from the bom) to that version.

Thanks, @garyrussell .

@garyrussell With SpringBOM this is easy, I confirm that your example works for me as well.
But I am not using the Spring BOM in my project, and I cannot switch to it. It's a huge legacy project, where spring-kafka is only tiny puzzle piece in the whole picture.
I have been trying various constellations of dependencies, but nothing I was able to put together is working. The project compiles fine, but I always hit a wall with the ClassNotFound exceptions.
I guess we have to wait for migration to Spring Boot 3 then...

As I said; it is this exclusion that is causing the class not found exception:
                <exclusion>
                    <groupId>org.apache.kafka</groupId>
                    <artifactId>kafka_2.13</artifactId>
                </exclusion>

You need to add it back as a <dependency/> with the 3.5.1 version.


[maistra-2.6] Rebase CNI

Please provide a description of this PR:
This is the maistra 2.6 Rebase CNI PR which is following the previous 2.5 one.
ref: https://github.com/maistra/istio/pull/846
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

/test integ-servicemesh-multicluster-2-6

@yxun could you please rebase the CNI commit onto maistra-2.6?

/test integ-security-2-6

/test integ-servicemesh-multicluster-2-6


Backport "HBASE-25745 Deprecate/Rename config hbase.normalizer.min.region.count to hbase.normalizer.merge.min.region.count" to branch-2

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  1s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 17s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 16s
branch-2 passed

+1 :green_heart:
compile
4m 26s
branch-2 passed

+1 :green_heart:
checkstyle
1m 35s
branch-2 passed

+0 :ok:
refguide
4m 11s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotbugs
3m  1s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 41s
the patch passed

+1 :green_heart:
compile
4m 29s
the patch passed

+1 :green_heart:
javac
4m 29s
the patch passed

-0 :warning:
checkstyle
1m 13s
hbase-server: The patch generated 2 new + 11 unchanged - 2 fixed = 13 total (was 13)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+0 :ok:
refguide
3m 38s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
hadoopcheck
13m  1s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
3m 36s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 26s
The patch does not generate ASF License warnings.

58m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3311

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile refguide xml

uname
Linux d22cc198889e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / f7358cd618

Default Java
AdoptOpenJDK-1.8.0_282-b08

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-general-check/output/branch-site/book.html

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
96 (vs. ulimit of 12500)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 36s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 49s
branch-2 passed

+1 :green_heart:
compile
1m 38s
branch-2 passed

+1 :green_heart:
shadedjars
7m 40s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m  8s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 33s
the patch passed

+1 :green_heart:
compile
1m 39s
the patch passed

+1 :green_heart:
javac
1m 39s
the patch passed

+1 :green_heart:
shadedjars
7m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m  4s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 10s
hbase-common in the patch passed.

+1 :green_heart:
unit
201m 51s
hbase-server in the patch passed.

238m 28s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3311

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 6458a1874384 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / f7358cd618

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/testReport/

Max. process+thread count
2428 (vs. ulimit of 12500)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 11s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 54s
branch-2 passed

+1 :green_heart:
compile
1m 21s
branch-2 passed

+1 :green_heart:
shadedjars
6m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 43s
the patch passed

+1 :green_heart:
compile
1m 22s
the patch passed

+1 :green_heart:
javac
1m 22s
the patch passed

+1 :green_heart:
shadedjars
6m 38s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 37s
hbase-server generated 2 new + 16 unchanged - 2 fixed = 18 total (was 18)

_ Other Tests _

+1 :green_heart:
unit
1m 33s
hbase-common in the patch passed.

+1 :green_heart:
unit
209m 46s
hbase-server in the patch passed.

240m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3311

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 1296f5edf7c2 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / f7358cd618

Default Java
AdoptOpenJDK-1.8.0_282-b08

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/artifact/yetus-jdk8-hadoop2-check/output/diff-javadoc-javadoc-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/testReport/

Max. process+thread count
2600 (vs. ulimit of 12500)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3311/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Ian UI d2 1418 cstg keypair data

Currently I have just tested with unit tests and using postman to list, then add,update, relist, etc.

please don't merge this to master until Thomas advises us what to do in Slack

Couple of minor comments but look ok to me. WIll leave it for @mcollins-ttd to review and approve.

Looks ok, please resolve the branch conflict first. And ask @cody-constine-ttd if we should merge these to master at this point after this branch is ready to merge.

Looks like this needs to pull in the latest uid2-shared?
Sorry to be a pain, but would we be able to remove the commented-out/unused code? The code will still be in the commit history if we need it in the future, so can be easily retrieved.
I think this is everything:

PrivateSiteDataSyncJob.java - commented-out code
ClientSideKeypairSyncJob - unused
ClientSideKeypairStoreFactory - unused
PrivateSiteUtil.getClientSideKeypairs - unused
Any tests for the above


EHcache + JDK 17 results test failures but works fine with JDK 11

Hi when i am running my code which uses ehcache 3.8.1 it works fine but with JDK 17 the test's are failing with error :

ERRORS IN TEXT :
02.09.2024 14:00:42.530 *INFO* [org.ehcache.impl.internal.resilience.RobustResilienceStrategy] AbstractResilienceStrategy.java:116 Ehcache key agooddevicetoken recovered from
org.ehcache.spi.resilience.StoreAccessException: java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.util.LinkedHashMap$Entry java.util.LinkedHashMap.head accessible:
module java.base does not "opens java.util" to unnamed module @445b84c0
at org.ehcache.core.exceptions.StorePassThroughException.handleException(StorePassThroughException.java:78) ~[ehcache-3.8.1.jar:3.8.1 a19322e8d4b3f7157e878112c2afc0b6e3090fdd]
at org.ehcache.impl.internal.store.heap.OnHeapStore.put(OnHeapStore.java:382) ~[ehcache-3.8.1.jar:3.8.1 a19322e8d4b3f7157e878112c2afc0b6e3090fdd]
at org.ehcache.core.Ehcache.doPut(Ehcache.java:94) ~[ehcache-3.8.1.jar:3.8.1 a19322e8d4b3f7157e878112c2afc0b6e3090fdd]

I have tried to add --add-opens in JVM args as well but that dosn't work.
Any solution or anything i am doing wrong ?

Added this --add-opens java.base/java.lang=ALL-UNNAMED in jvmArgs as well but that dosn't work at all.
is version 3.8.1 is compatible with JDK 17 ?

Upgrade to 3.9.X or 3.10.X helps 👍 , closing this thread :)


Return values

Hi, currently one SBI call (sbi_console_getchar) returns a value, but the document doesn't explicitly specify how the value is returned (through register a0).
I am specifically interested in a corner case: If an SBI call is specified with the void return type, Is an SBI implementation allowed to set a0 to a dummy value, such as 0?

All SBI calls should be assumed to clobber a0. This should be reflected in the spec.

Thanks. I will update the doc

IIRC just documenting this as being the same as the system call interface (which aside from a7 the same as the function call interface) should cover all these sorts of edge cases.  The intent is that they're all the same to avoid confusion.
That's already documented in the spec, so I'm going to close this.  Feel free to re-open it if my assumption is not actually the case.


testing web hooks

removed "to" from index.md
checking to see if and when it builds the docs

Confirmed no build upon pull request

Confirmed build upon merge - settings work as expected


Typo in folder name sam-app

This should be cd ~/environment/sam-app and not cd ~/environment/sam_app (note: the underscore between sam and app)
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for this contribution. I took this change and migrated it into the new version here:
https://catalog.workshops.aws/complete-aws-sam/en-US/module-2-local/20-run
👍


cannot set flash mode to "on"

Describe the bug
The method setFlashMode() called with {flashMode: 'on'} does nothing on both iOS and Android platforms.
To Reproduce
Steps to reproduce the behavior:

start the camera with `CameraPreview.start()
ensure to have flash mode support by checking that CameraPreview.getSupportedFlashModes() returns an array of supported modes like:

["off", "auto", "on", "torch"]

call CameraPreview.setFlashMode({flashMode: 'on'});
flash remains off

Expected behavior
Flash turns on :)
Smartphone (please complete the following information):

Device: iPhone 7 Plus / Honor 8
OS: iOS 13.5.1 / Android 7.0
Browser wkWebView (Ionic 5 application)

Additional context
I've tried to debug both android and iOS plugin code, setting a breakpoint at the start of the plugin call to setFlashMode(), then executing the code step by step: everything seems fine but the flash doesn't turn on at the end of the code.

I rebuilt the project from scratch and the issue vanished, so probably it was something weird on my machine.


Release balenaOS @ 2.68 for Intel NUC on staging.

Need for balenaOS @ 2.68 for Intel NUC on staging.

This is now in staging


Use of Polymer Elements with Polymer2 (iron-list)

Is it possible to use the Polymer Elements with the Polymer 2 Version?

In general, some elements not using deprecated API could just upgrade their dependencies.
For iron-list and other official elements, please check 2.0-preview branch.

As @web-padawan says, please check for 2.0-preview branches on elements until the final 2.0 release of elements is announced.  See https://github.com/PolymerElements/iron-list/tree/2.0-preview.

Is there an easy way, I could install 2.0preview elements via bower? (so dependencies get also resolved?)


a horizontal scrollview inside this can not work

how to solve the same scroll event ,i try to set when i touchin the child component to set scrolltabview lock = true
but it worked after i touchout  ,the function touchin has a console.log and it already consoled ,but lock = true not work,
neither nor state or mobx's observable .

probably duplication of #510


Add v5 account mgmt guide

The SDK v5 need an analog guide to the account management guide in the Lisdk SDK v4 docs.

Will be moved to Core docs


clearCheckSums fails if databasechangelog table does not exist

Search first

[X] I searched and no similar issues were found

Description
When clearCheckSums is executed on an empty database, Liquibase logs exceptions and exits with a failure code. This is a regression from older versions, e.g. 3.5.1, which would just exit without an error if the table did not exist.
Steps To Reproduce
Execute Liquibase command line with the clearCheckSums command on a database that does not contain a databasechangelog table.
Expected/Desired Behavior
Liquibase should exit without errors.
Liquibase Version
4.26.0
Database Vendor & Version
No response
Liquibase Integration
CLI
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Ubuntu
Additional Context
ClearCheckSumsLog.txt
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

This issue appears to be fixed in 4.28.0.


createMachine signature support for Model seems to change type inference from 4.16.0 to 4.17.1

Description
I just upgraded xstate from 4.16.0 to 4.17.1. Types that were correctly inferred now give type errors.
Expected Result
No type errors.
Actual Result
In my code:
  const [current, send] = useMachine<
    SessionMachineContext,
    SessionMachineEvent,
    SessionMachineTState
  >(sessionMachine, { ... })

I get red squiggles under sessionMachine, and here's the error:
src/library/session/context.tsx:117:38 - error TS2345: Argument of type 'StateMachine<SessionMachineEvent, any, SessionMachineTState, Typestate<TContext>>' is not assignable to parameter of type 'MaybeLazy<StateMachine<SessionMachineContext, any, EventObject, Typestate<SessionMachineContext>>>'.
  Type 'StateMachine<SessionMachineEvent, any, SessionMachineTState, Typestate<TContext>>' is not assignable to type 'StateMachine<SessionMachineContext, any, EventObject, Typestate<SessionMachineContext>>'.
    The types of 'config.context' are incompatible between these types.
      Type 'SessionMachineEvent | (() => SessionMachineEvent) | undefined' is not assignable to type 'SessionMachineContext | (() => SessionMachineContext) | undefined'.
        Type 'AuthzRequestedEvent' is not assignable to type 'SessionMachineContext | (() => SessionMachineContext) | undefined'.
          Type 'AuthzRequestedEvent' is not assignable to type '() => SessionMachineContext'.
            Type 'AuthzRequestedEvent' provides no match for the signature '(): SessionMachineContext'.

This didn't happen with 4.16.0.
I believe it's because there's a different inference in play, possibly due to Model.
My code for creating the machine:
export const sessionMachine = createMachine<
  SessionMachineContext,
  SessionMachineEvent,
  SessionMachineTState
>({ ... })

Looking at xstate's Machine.d.ts:
export declare function createMachine<TModel extends Model<any, any, any>, TContext = ModelContextFrom<TModel>, TEvent extends EventObject = ModelEventsFrom<TModel>, TTypestate extends Typestate<TContext> = {
    value: any;
    context: TContext;
}>(config: MachineConfig<TContext, any, TEvent>, options?: Partial<MachineOptions<TContext, TEvent>>): StateMachine<TContext, any, TEvent, TTypestate>;

export declare function createMachine<TContext, TEvent extends EventObject = AnyEventObject, TTypestate extends Typestate<TContext> = {
    value: any;
    context: TContext;
}>(config: MachineConfig<TContext, any, TEvent>, options?: Partial<MachineOptions<TContext, TEvent>>): StateMachine<TContext, any, TEvent, TTypestate>;

I think TypeScript may be inferring the first createMachine signature. That would put my SessionMachineEvent into the TContext position, which might explain why, in the reported error, it's trying to assign AuthzRequestedEvent to SessionMachineContext etc.
I may of course be entirely wrong. But commenting out the first signature in Machine.d.ts removes the squiggles.
Any ideas how I can force the correct inference path? Or workaround another way?

Please share a runnable repro case - without it it's really hard for us to investigate this.

I appreciate that. It's not a public repo so I'll see what I can do.

https://codesandbox.io/s/yeu96 contains a minimal repro.
There's an additional error (line 39 in the sandbox) that seems significant. In the real code I was unable to make everything typecheck successfully, and added a ts-expect-error directive here.

For the second part, you can workaround the issue by providing the generic context type:
        actions: {
            assignRestart: assign<SessionMachineContext>({
                authzResult: null,
            }),
        },

Ah, that doesn't work in the real code, but
assignRestart: assign<SessionMachineContext, SessionMachineEvent>({ ... }),

does work. I'm sure I tried that before, as I spent a good while trying to get all this to typecheck before I resorted to the escape hatch. Perhaps there were changes to types between versions.
And that change also fixes the original error too, somewhat miraculously.
I can only assume it's tickled something deep in the types to make the stars align, but I have no idea what.
I don't know whether there's anything you need to look at now. I'll leave the issue open in case there is, but feel free to close it.
My one suggestion is to revisit the TypeScript doc, as there's nothing on the "Using TypeScript" page about using generics with assign here.
Thanks!

@avaragado the provided repro errors on 4.16 as well: https://codesandbox.io/s/distracted-architecture-tcd1s?file=/src/index.tsx:839-852 . So if your code has stopped typechecking successfully with 4.17 then I would say that this repro is not really demonstrating your issue - it demonstrates a one (a one we are aware of).

My one suggestion is to revisit the TypeScript doc, as there's nothing on the "Using TypeScript" page about using generics with assign here.

I already know how to fix this so hopefully, no changes to the docs related to this issue will be needed. However, I have some higher priority stuff to handle right now so I can't promise when the fix will get into XState.

I have multiple issue related to this one.
The mistyping happen "randomly" when calling useMachine() with the following TypeScript error.
TS2345: Argument of type 'StateMachine<Events, any, StateSchema, Typestate<TContext>>' is not assignable to parameter of type 'MaybeLazy<StateMachine<Events, any, EventObject, Typestate<Events>>>'.
  Type 'StateMachine<Events, any, StateSchema, Typestate<TContext>>' is not assignable to type 'StateMachine<Events, any, EventObject, Typestate<Events>>'.
    Types of property 'withConfig' are incompatible.
      Type '(options: Partial<MachineOptions<Events, StateSchema>>, context?: Events | undefined) => StateMachine<Events, any, StateSchema, Typestate<...>>' is not assignable to type '(options: Partial<MachineOptions<Events, EventObject>>, context?: Events | undefined) => StateMachine<Events, any, EventObject, Typestate<...>>'.
        Types of parameters 'options' and 'options' are incompatible.
          Type 'Partial<MachineOptions<Events, EventObject>>' is not assignable to type 'Partial<MachineOptions<Events, StateSchema>>'.
            Types of property 'guards' are incompatible.
              Type 'Record<string, ConditionPredicate<Events, EventObject>> | undefined' is not assignable to type 'Record<string, ConditionPredicate<Events, StateSchema>> | undefined'.
                Type 'Record<string, ConditionPredicate<Events, EventObject>>' is not assignable to type 'Record<string, ConditionPredicate<Events, StateSchema>>'.
                  Index signatures are incompatible.
                    Type 'ConditionPredicate<Events, EventObject>' is not assignable to type 'ConditionPredicate<Events, StateSchema>'.

It is also happening when using the assign() function.
removeActiveFilter: assign({
  searchTerm: () => '',
  value: () => '',
  activeFilter: () => null,
}),

TS2322: Type 'AssignAction<{ searchTerm: string; value: string; activeFilter: null; }, Events>' is not assignable to type 'ActionObject<Context, Events> | ActionFunction<Context, Events>'.
  Type 'AssignAction<{ searchTerm: string; value: string; activeFilter: null; }, Events>' is not assignable to type 'ActionObject<Context, Events>'.
    Types of property 'exec' are incompatible.
      Type 'ActionFunction<{ searchTerm: string; value: string; activeFilter: null; }, Events> | undefined' is not assignable to type 'ActionFunction<Context, Events> | undefined'.
        Type 'ActionFunction<{ searchTerm: string; value: string; activeFilter: null; }, Events>' is not assignable to type 'ActionFunction<Context, Events>'.
          Types of parameters 'context' and 'context' are incompatible.
            Type 'Context' is not assignable to type '{ searchTerm: string; value: string; activeFilter: null; }'.
              Types of property 'activeFilter' are incompatible.
                Type 'FilterContract | null' is not assignable to type 'null'.
                  Type 'FilterContract' is not assignable to type 'null'.

If needed, I can provide my entire machine (270 LOC).

@RomainLanz could you open a new issue about this that would contain the full reproduction of the problem?

Yes, I will create a new issue with the minimum amount of code to reproduce the problem.
However, this has to wait a little bit. I do not believe I will have time before mid-august if that is ok for you.

Any updates about this issue?

I've rechecked with<EMAIL_ADDRESS>and the reported problem seems to be gone. If you experience any typing problems with the current version - please open new issues with the appropriate repro cases.


Deal with intermediate files

coming with version 0.22

Check https://github.com/SciLifeLab/NGI-RNAseq/issues/30


stdlib: fix build for non-ObjC targets

When building the stdlib for Windows, we would see the following error:
swift/stdlib/public/core/RuntimeFunctionCounters.swift:95:19: error: '(UnsafeRawPointer, Int64) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(c)'
@convention(c) (_ object: UnsafeRawPointer, _ functionId: Int64) -> Void
^
Add a case around it to permit building the stdlib.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @jrose-apple

Build failed
Swift Test Linux Platform
Git Sha - a093e001109016cd1674a2831efc640169633fd5

Yeah, they do have different conventions.  I think that we may want to alter the diagnostic emitted to make it more useful at some point.
error: '(UnsafeRawPointer, Int64) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(c)'

That should be equivalent to void ()(void *, long long int) on Windows I believe.  Could it be the long long throwing something in the ClangImporter for a loop?

That code doesn't go through the importer at all; it's all in ASTContext::getForeignRepresentationInfo. Maybe CLongLong isn't defined correctly on Windows yet?

The types are in the stdlib ... so, I'm not sure about that.
// %swift -frontend -target x86_64-unknown-linux-gnu -parse-stdlib -S -o - %s
// %swift -frontend -target x86_64-unknown-windows-msvc -parse-stdlib -S -o - %s

public typealias Void = ()

public struct S {
}

public struct T {
  public typealias U = @convention(c) (_: S) -> Void
}

error: '(UnsafeRawPointer) -> Void' (aka '(UnsafeRawPointer) -> ()') is not representable in Objective-C, so it cannot be used with '@convention(c)'

That one's correct. Swift structs can't be used in @convention(c) functions.
The C types are indeed in the stdlib, but some of them need to be platform-specific. (Did you change CLong to be Int32 on Windows instead of Int64?) I wouldn't expect that to be the issue, though.

@jrose-apple hmm, but aren't UnsafeRawPointer and Int64 technically structs?  They should be convertible obviously.  The mapping for CLong and CLongLong occurs in the ASTContext right?  That uses the size rather than the name AFAICT.  Am I looking at the wrong area?

Yes, they're all structs, but some structs are special-cased.

Whoops, I may have pointed you to the wrong place. getForeignRepresentable in Type.cpp is also relevant.

Some theories: If none of the C* defines correspond to Int64 on Windows, there's a possibility we don't recognize it as representable in C. There's also the possibility of circularity issues when checking these traits in the standard library in particular; if we happen to be validating decls in a "wrong" order or not validating some of the Int* decls in a TU, we possibly wouldn't recognize them as being C compatible.

@jckarter well, I think you may be on to something.  I was just looking at the definitions of CLong and CLongLong and this gets confusing.
CLong -> Int32
CLongLong -> Int
Int is assumed to be Int64.
Mapping CLongLong to Int64 doesn't work, as we no longer have the backwards mapping from Int to a C* type, which is needed for the stdlib build at least.
I'll double check if it is actually the Int64 which is failing to be mapped.

It's possible that other code in the standard library will have to change to support an LLP64 platform. I'm not sure how pervasively we assume long is pointer-sized.

We may have to introduce and bless new typedefs for CIntPtr/CUIntPtr.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - a093e001109016cd1674a2831efc640169633fd5

Build failed
Swift Test Linux Platform
Git Sha - a093e001109016cd1674a2831efc640169633fd5

For this specific case, we could also bless Int and UInt directly. CLongLong should probably just be Int64, not Int, even on LLP64 platforms.

We could try making CLongLong always be Int64. I wonder how much that breaks.

@jckarter @jrose-apple that triggers an assertion because its unable to map Int back to a clang type.  But, I agree, that would be much clearer.

@swift-ci please test linux platform

Using Int here seems like an acceptable hackaround for now. Good thought.

By the way, if you don't plan to investigate the rest of it now, would you mind filing a bug so we get back to it later?

Yeah, I think that I want to try to get the Windows builds solid first.  I'll file a SR.


Added assert to Runtype. Added typecheck script.

addresses #110.

Coverage increased (+0.002%) to 99.217% when pulling 331adce68ccff988e0d96bf067dea98252b36297 on schicks:110_assert into 3885a64178499869f39f001d65e10ec42955f6c0 on pelotom:master.


autosave config param

Merge activity

Aug 26, 12:37 PM EDT: @jlewitt1 started a stack merge that includes this pull request via Graphite.


Promote wexplorer

[x] Meet with Slim during June visit to put together mailing list
[x] Work through who email should come from

Dunzo!


Web Resources folder names delimiter should be slash

Consulo collapses chain of empty packages in Sources folder using dot as delimiter. For Web Resources delimiter should be a forward slash:

Flatten packages shound skip this source roots (no flatten for web roots)

This bug exists in *resources roots too


Prevent Overflow of Text from Header

Signed-off-by: Deborah Udoh<EMAIL_ADDRESS>This PR fixes issue #238.
An easy, straightforward solution to prevent the content of <section class="hero"> from overflowing, is to give it a height of auto, rather than a fixed height.

Please review this and suggest additional changes where necessary. Thank you!

@yochannah & @bebatut
Do kindly review this when you get a chance. Thanks!

Nice! Thanks @NPDebs!

Nice! Thanks @NPDebs!

Thank you, @bebatut ! 🚀😊


update overview page layout and actions

Fixes
https://issues.redhat.com/browse/HAC-3128
https://issues.redhat.com/browse/HAC-3130
Description
Makes overview page responsive.
Changes the + Create an application action to go to the import wizard instead of the application list view.
Add action View my applications to go to the application list view. This action will only appear if the user has at least one application.
Type of change

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

Screen shots / Gifs for design review

How to test or reproduce?
Visit the overview page with 0 or more applications.
Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/retest

/retest

/retest

/retest

/retest

/retest


Access http api /v3alpha/kv/txn failed.

curl -L http://x.x.x.x:2379/v3alpha/kv/txn -X POST -d '{"success":[{"request":{"request_put":{"key":"aGlwcG9fdGVzdF9mb3JfZXRjZA==","value":"aGlwcG9fdGVzdF9mb3JfZXRjZA=="}}}]}'
return:
{"Error":"json: cannot unmarshal object into Go value of type etcdserverpb.isRequestOp_Request","Code":3}
Do I use wrong json string? I am confused for how to spell json string for oneof field.

Can any one help see this issue, I have try and search for a lot of time. But still can not solve it.
Thanks very much.

@SwordHoly
Try
curl -L http://localhost:2379/v3alpha/kv/txn -X POST -d '{"success":[{"request_put":{"key":"aGlwcG9fdGVzdF9mb3JfZXRjZA==","value":"aGlwcG9fdGVzdF9mb3JfZXRjZA=="}}]}'

with master branch?

@SwordHoly The command above works for me (when run with master branch).
Please feel free to reopen if there's still an issue.
Thanks.


Remove line setting renderer to browser

Plotly has a way to check where the user is running the code and it
will set the renderer accordingly.
This also removes the dimensions for the figure of the rotor.
We used to define the figure width and height, but plotly has a way to
identify the dimensions of the place where the user is plotting
(notebook, browser etc.) and it will plot the figure with a proper
dimension.
Closes #575.

Codecov Report

Merging #577 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #577      +/-   ##
==========================================
- Coverage   88.52%   88.51%   -0.02%
==========================================
  Files          24       24
  Lines        5047     5041       -6
==========================================
- Hits         4468     4462       -6
  Misses        579      579

Impacted Files
Coverage Δ

ross/results.py
78.18% <ø> (-0.08%)
:arrow_down:

ross/rotor_assembly.py
88.80% <ø> (-0.03%)
:arrow_down:

ross/api_report.py
84.33% <100.00%> (-0.06%)
:arrow_down:

Continue to review full report at Codecov.

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


Fix Windows 7 'api-ms-win-core-winrt-string-l1-1-0.dll' error

What does the pull request do?

Add a check before creating any HStringInterop in the WinRTApiInformation class.
What is the current behavior?

HStringInterop class is instantiated even when WinRTMethods is not available on the current Windows version.
What is the updated/expected behavior with this PR?

HStringInterop class won't be instantiated, therefore it won't try to load 'api-ms-win-core-winrt-string-l1-1-0.dll' which causes crash on Windows 7.
How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

https://github.com/AvaloniaUI/Avalonia/issues/14309

@dotnet-policy-service agree

Alternatively, we could make this a one-line PR by checking for the Windows version here. Although the behavior would be more implicit, I prefer doing the checks in the methods.
https://github.com/AvaloniaUI/Avalonia/blob/88967de49e083992e9ee748d7767d7a999e42f41/src/Windows/Avalonia.Win32/WinRT/NativeWinRTMethods.cs#L124

Thank you! Current changes look good for me. Changing HString code would be more invasive, as it would affect WinRT Compositor code, which doesn't need additional version checks.

Just fyi @david-szabo97 if you add the keyword fixes #xxxx then the issue will close automatically.
Thanks for your contribution 🙏


Remove version: CrystalDewWorld.CrystalDiskInfo version 8.17.12

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://osdn.net/frs/redir.php?m=ipconnect&f=crystaldiskinfo%2F78031%2FCrystalDiskInfo8_17_12.exe
Response Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
(Automated message - build 923)


Editor breaks when pasting valid table syntax into the markdown editor

Describe the bug
Editor breaks when pasting valid table syntax into the markdown editor
To Reproduce
Steps to reproduce the behavior:

Open markdown view
Paste this valid HTML markdown code

| H1 | H2 | H3 |
| --- | --- | --- |
| Bold text | Normal text | Inline code |

Try clicking on list or task icons in toolbar - nothing happens

Desktop (please complete the following information):

OS: Ubuntu 20.04
Browser Google Chrome 92
Editor version 3.0.3

@martinszeltins
I think It's not a bug, it's an enhancement.
GFM Markdown's table does not accept list syntax, so nothing happens when clicking the list toolbar.
We should make the list toolbar disabled state to display the unavailable in the markdown table.


MVP eligibility checker for teacher misconduct

Context
We've just launched the MVP for Teacher Misconduct and this is the main post about what we've just pushed live
Changes proposed in this pull request
A new post to cover the changes in the MVP that has been launched
Guidance to review
This is my first design history post in TRA so I may have missed some of the processes. I'm unsure if the checklist is relevant so happy to have a run through if there are some things missing from this post.
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

Content and BA review and updated based on feedback


Can I extend 3rd, 4th turns using pre-generated magpie-mt dataset?

Using https://huggingface.co/datasets/Magpie-Align/Magpie-Llama-3.1-Pro-MT-500K-Filtered, Can I extend it to 3rd, 4th, ... turns? Thanks.

Yes, you can. Simply use exp/gen_mt.py and set num_turns to 3 or 4.


how to get contactPair.shape[1] in simulationEventCallbackImpl.onContact?

simulationEventCallbackImpl.onContact = (pairHeaderPointer, pairsPointer, nbPairs) => {
      const px = this._px;
      console.log(`onContact nbPairs:${nbPairs}`);

      const nativeArrayHelper = this._px.NativeArrayHelpers.prototype;
      for (let i = 0; i < nbPairs; i++) {
        const pair = nativeArrayHelper.getContactPairAt(pairsPointer, i);
        // pair.shape is defined as "PxShape* shapes[]" in source code but get likely "the pointer of pair.shapes[0]" here.
        console.log('contact pair.shapes', pair.shapes);
        const event = pair.events;

        // correct shape0
        const nativeShape0 = nativeArrayHelper.getShapeAt(pair.shapes as any, 0) as any;
        // always equals nativeShape0's ptr + 16
        const nativeShape1 = nativeArrayHelper.getShapeAt(pair.shapes as any, 1) as any;

        // if pair.shapes is PxShape**, it will works here, but pair.shapes looks like "PxShape*"
        const s0 = nativeArrayHelper.getU32At(pair.shapes as any, 0);
        const s1 = nativeArrayHelper.getU32At(pair.shapes as any, 1);
        const aaa = (this._px as any).wrapPointer(s0, this._px.PxShape) as PhysX.PxShape;
        const bbb = (this._px as any).wrapPointer(s1, this._px.PxShape) as PhysX.PxShape;
        console.log(aaa, bbb, nativeShape0, nativeShape1);
      }
    };

Physx.ContactPair.shapes  is PxShape**,  but the pair.shapes in simulationEventCallbackImpl.onContact is likely the pointer of px.shape[0]. It confused me a lot.

When SimpleSimulationEventCallback is used? It's seems only defined on PhysxJniGlue.h and has no reference.
How to get two shapes which particular in collision in OnContact?

You need to register your simulationEventCallback on scene creation with sceneDesc.set_simulationEventCallback(simulationEventCallback).
You can get the colliding actors via the pair header. I'm this here
It's written in kotlin but uses the js lib under the hood, so it should translate to native js fairly well.

You need to register your simulationEventCallback on scene creation with sceneDesc.set_simulationEventCallback(simulationEventCallback).
You can get the colliding actors via the pair header. I'm doing this here
It's written in kotlin but uses the js lib under the hood, so it should translate to native js fairly well.

But I need to know which two shapes  collided, not only two rigidActors.

I figure out that the shapes in contactPair definitely the shapes[0] shows in phys-js-webidl.js.
_emscripten_bind_PxContactPair_get_shapes_2 and _emscripten_bind_PxContactPair_set_shapes_1 are missing in phys-js-webidl.js.

demo's here
test.zip

Finally I figuare out. pair.shapes means pari.get_shapes(undefined). Should never use pair.shapes. Instead, use pair.get_shapes and pair.set_shapes

get_shapes and set_shapes in c++ (glue.cpp) like this:


VS2013 update 5 base address.

Is anyone having problems on vs2013 update5 I can't get the base address to work in the sample photoService.js is not getting jquery
photoService.js contains a script loader file reference (url = ../jquery.js, type = text/javascript) that could not be loaded because the path could not be resolved.

vpn.pilots.jets


AutomountServiceAccountToken property implemented

Added new property "automountServiceAccountToken" in ServiceAccounts and Deployments necessary for restricted environments.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] README is updated with new configuration values (if applicable)

Fixes #

Hey,
I'm looking for information about this feature and I can't find any clear use case (or most probably, I'm not understanding them).
Could you explain your use case?

@JorTurFer Hi. Our UseCase is as follow:
In general Kubernetes automounts service account credentials which allows any compromised pod to run API commands against the cluster. We are restricted to stop this behaviour by specifying automountServiceAccountToken: false in ServiceAccount. This is a global rule so we cannot whitelist the helm chart.
As Keda and metrics deployments/pods need API access we need to opt in for these two with automountServiceAccountToken: true in both deployment.yamls
When you set both ServiceAccount and Deployments automountServiceAccountToken: true it's the same like not specifying at all so I am not sure if it makes sense to specify it in the installation.yaml. We need it in Helm Chart as said to disable default ServiceAccount behaviour and ensure functionality.
Also see:

https://github.com/kubernetes/kubernetes/issues/57601
https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Grundschutz/IT-GS-Kompendium_Einzel_PDFs_2022/06_APP_Anwendungen/APP_4_4_Kubernetes_Edition_2022.pdf;jsessionid=831EB9783FD3996CD80511A21925E8EE.internet482?__blob=publicationFile&v=3#download=1

I got the reasons (I don't understand the document in German but I guess that it's an official regulation).
My doubt is, how will KEDA work without its service account? I mean, KEDA needs its service account with the proper given permissions or basically KEDA doesn't work.
I understand that common pods without any interaction with the API don't neet that service account, but KEDA needs it to work, Am I missing something? Are you enabling/injecting it in any other way?

@JorTurFer Do you need more informations from my side or do we wait for more opinions by other maintainers? In general you can disable it in ServiceAccount and enable it in Deployments hardcoded. But then everybody who would use the Keda ServiceAccount perhaps for other deployments could not longer access API. This was the reason why I decided to implement a switch in values.yaml for ServiceAccount.

I think it is okay to have an optional switch, ie. default to the existing behavior.

@JorTurFer Yes absolutely it keeps current behaviour. Would be great if anybody could merge it for next release. Thank you.

Would love to have a sign-off of @zroubalik or @JorTurFer as well though

Thank you @ph311o and sorry for being slow on our end!


command-enter does not work on Firefox on mac

steps

navigate to dpaste.de
enter text
click command-enter, notice nothing happens

The variable event is not defined.
environment
Firefox: 57.0b8

Tested it in FF and it works for me now. Thank you for the report and patch.

great, sure thing!


Do not hash target frameworks and rename ProjectGuid->ProjectId

On the extension we would like to align it with the VS behavior so we need to call it "ProjectId" instead of "ProjectGuid"


Support dark mode

The Dasher Version Six user interface (UI) should support dark mode.
The control panel and other parts of the UI that are like a web page should have a CSS colour scheme that changes based on the current preference, for example by including a @media (prefers-color-scheme: dark) query. The pagebuilder.css file from the Captive Web View project already has colour scheme that is mostly suitable.
The zooming part of the UI should also have different colours in light and dark modes. One approach could be as follows.

In light mode, same colours as current.
In dark mode, no fill colours but show white outlines and white text.

Yeah. I think this is wise. Particularly given its now pretty integral to most OS’
@sjjhsjjh  we have a colour theme for dasher. Do we make this part of that system ? Like change both overall UI and interface ?


[Pipe Tables Extension] Rendering tables when delimiter row is invalid

I found another aspect where the pipe tables extension is doing things differently than what GitHub-flavored Markdown suggests. While we're at it, maybe we can get another tweak in for a more GFM-compliant way of processing? 🙂
This is the example I'm talking about:

The header row must match the delimiter row in the number of cells. If not, a table will not be recognized

In other words, a table like this should not be recognized as a table because the delimiter row doesn't match the number of header cells.
| abc | def |
| --- |
| bar |

Markdig would still render the structure given above as a table with two columns.
With the new gfm-pipetables mode in place I managed to get a failing test to reproduce the issue but I'm unsure where to get the fix in. In my mind, the check would go somewhat like this:

tokenize header row
tokenize delimiter row
compare length of both and bail if the length isn't equal

There might be another way to do this that's more in line with the current architecture, though. I'm happy to work on a fix for this issue but would appreciate some ideas to get started.

Gonna be on holidays for the upcoming 3 weeks, so don't worry If I'm not super responding or not able to merge PR quickly 😉


Column->Block, uppercase BUTTON captions

Fixes https://github.com/flutter/flutter/issues/2148

Fixes https://github.com/flutter/flutter/issues/2149

LGTM
Travis failure looks like a driver flake @yjbanov .  I've retried it.  Not sure how to get the old log.  Was a null point exception trying to get the length of something.  I've seen it before.  Will try to capture next time.


How do we run the code? please provide Trained model

The pre-trained model can be found at: https://github.com/yulinliu101/DeepTP/tree/master/src/nn/session
Currently some paths to the data in the Run_RNN_model_Lite.py have not been changed and you may want to alter them. Also, inference is currently only possible for flights from 2013/08/16 12:00 -- 18:00 UTC due to the significant size of the wind dataset. However the training process can be done without much alternations in the code.


PSR-6 Compatibility

It is necessary to make this lib compatible with PSR-6 Caching Interface to ensure compatibility with other libraries.
The details of the PSR-6 standard can be found here:
http://www.php-fig.org/psr/psr-6/
@at15 @arrowrowe @xsfour @LukeXuan

0.0 so? need someone handle this?

yeap

somehow, I felt I should drop this burden to the young man, I am too old to do this, and should spend more time on looking for gf \w/

@Bluemit Would you please finish this task? thx.

some libraries that could be used for reference

https://github.com/tedious/Stash
https://github.com/PHPSocialNetwork/phpfastcache
https://github.com/bernardphp/bernard/tree/master/src/Driver

Since this PSR is of much conflict, we just need to make it work at present without considering its performance with such a complex interface... The current version might work now...

....sad


DM column (all accounts) buttons are not working

The buttons on the dm column(all accounts) don't work. Haven't try the normal dm column for one account yet.

Seems to be working for now.

They seem to work at random

Whoops it turns out I had the column set to dms for one account, not all


Updates Code Used to Get The Last & First Date of the Previous Month

The previous implementation was not giving us the last & first date of the previous month

Sorry I missed this

No problem.


CSRF

Hi,
The plugin is great!. Awesome work!
I would like to know if is it possible to enable CSRF protection when the amazon post data is received?
Thanks!

Thanks, glad you're finding it useful. Please feel free to submit a pull request if you manage to address this issue.


Handling HTTP error statuses

The docs recommend handling HTTP error statuses by throwing an error so the consumer can handle them within Promise.prototype.catch() -- https://github.com/github/fetch/tree/v0.10.1#handling-http-error-statuses
Whilst this is more familiar to people experienced with jQuery.ajax I'm not sure it's the best approach as, unlike jQuery.ajax, window.fetch uses es6 promises meaning runtime errors in the success handler will result in the catch handler being called. e.g.
window.fetch('https://api.github.com/users/richardscarrott/repos')
    .then(checkStatus) // throws if status is outside 200-299
    .then(parseJSON)
    .then(function success(data) {
        console.log('request succeeded with JSON response', data);
        data.foo.bar; // throws as foo is undefined
    }).catch(function error(error) {
        console.log('request failed', error); // error could either be a network or a runtime error
    });

I'm struggling to see how es6 promises can be used to express the semantics between a network error and a runtime error...

That section of the documentation is less of a recommendation and more of an acknowledgement that many, probably most, people beginning to use fetch are switching from jQuery. The pattern described there is what we've used at GitHub to transition our legacy jQuery usage over to fetch.
Most fetch calls don't need to distinguish between a network failure and an error code from the server. For those that do, we use something like this:
fetch('/').then(checkStatus).then(function(response) {
  // Success handler.
}).catch(function(error) {
  // Treat network errors without responses as 500s.
  const status = error.response ? error.response.status : 500
  if (status === 404) {
    // Not found handler.
  } else {
    // Other errors.
  }
})

Error objects sent to the catch handler without a response property signal a network failure that was never able to receive a response from the server.

@dgraham I'm not concerned about distinguishing between a network error and an error code from the server, I'm concerned about distinguishing between an error code from the server and a runtime error in the success handler (the latter should bubble up to window.onerror).
To be fair, this is perhaps a topic for Stack Overflow more than here as it's re: window.fetch, not this polyfill, but I wanted to get your thoughts on it as I've recently come across an app which swallows rendering errors as a result of copy and pasting the checkStatus code from this readme.

Copy and paste in the grand JavaScript tradition!

The promises tutorial describes the complexities of asynchronous error handling well.
The second argument to then is an error handling function that is invoked when the promise is rejected, as with a fetch network error.
var done = (response) => console.log(response)
var fail = (error) => console.log('fail', error)
Promise.reject(42).then(done, fail).catch(e => console.log('catch', e))
// => fail 42

Notice the catch handler was not invoked, because the second argument handled the error. If we didn't provide the fail function, the error would fall through into the catch handler.
When the promise is resolved with a fetch response, and the success handler throws an exception while handling the response, the fail function is not invoked, but the catch handler is.
done = (response) => { throw 'boom' }
Promise.resolve(42).then(done, fail).catch(e => console.log('catch', e))
// => catch boom

So we can use the second argument to then to deal with fetch network errors, and we can use the catch handler to deal with rendering errors.
The simple case, where we just handle successful fetches in then, and allow a catch block to handle network errors, non-200 responses, and bugs in 200 response handling code, is sufficient when we want to show the user a "This didn't work. Please try again." message regardless of its cause.
Hope that helps!

To be honest I had never considered .then(done, fail) behaving differently to .then(done).catch(fail) but now you've explained it, it makes sense and is exactly what I'm after -- it would be the same as doing:
var req = fetch()
    .then(checkStatus)
    .then(parseJson);

req.then(done);
req.catch(fail);

Personally I feel it would be better for the docs to show an example with .then(done, fail) to demonstrate handling network errors codes but I perhaps thats just my preference.
Thanks for your help!


clientconfig package

This commit introduces the clientconfig package. clientconfig
is based on the Python os-client-config library and will offer
convenience functions for creating OpenStack clients.

@jrperritt This PR started as an attempt to port https://github.com/gophercloud/gophercloud/pull/44. My intention was to make a single simple function that read and parsed a clouds.yaml file. But in order to do that correctly, it made sense to try to make a Go/Gophercloud version of os-client-config.
I've attempted to recreated a small portion of it here. I left out areas which aren't applicable to Gophercloud (either at all or not yet supported).
This is pretty much the bare minimum required to do anything useful with clouds.yaml+gophercloud.
IMO, this has a lot of potential. It can enhance Gophercloud usage by abstracting certain nuances with client creation. From the opposite direction, it can handle things like SSL options, providing a single way doing that for all/most applications.
Let me know what you think.

Thanks! It's got enough functionality to create a client. I'm going to begin integrating it into Terraform. There might be a few follow-up patches required.
Question: The findAndReadYAML function is utilizing the github.com/Wessie/appdirs package. This package detects system and user config directories across Mac, Linux, and Windows, so there's a good amount of stuff going on to warrant not implementing the work locally. Should this be vendored?

Thanks for pointing that out; I'd missed it. I'll take a look

OK, I just took another look at the bit that's using the appdirs package. How do feel about forgoing that bit for now, possibly adding it later? Though I understand searching all these "special" directories may be convenient for many users, I'm not too keen on magic like that. Namely, my preference (as a user) is to provide the directory I want it to search (though I recognize that OpenStack will search the current directory, ~/.config/openstack, and /etc/openstack by default).

I am in full agreement with not searching special directories (or any hard-coded directory) for something that goes in gophercloud/gophercloud.
The Python os-client-config package searches all of the directories specified in this PR, which is why I included it here (In fact, the choice of github.com/Wessie/appdirs was because its advertised as a clone of the Python appdirs which os-client-config uses).
I'm personally not a fan of appdirs, either. Even if I was using a Windows workstation, I'd do whatever was possible to have a unix-style configuration structure. But that's me and people who end up using an application which consumes this might be different.
How about a compromise of dropping appdirs for now, but still searching the directories which do not require appdirs? If there's enough feedback to include the full suite of directories, we can look at adding it back.
If there are users in the meantime who are left out, they can still set the OS_CLIENT_CONFIG_FILE environment variable to the specific full path to the file.
Another thing to keep in mind is that os-client-config has the ability to merge/nest configuration files to a certain extent. This is not implemented here (yet. maybe never), but that might be one reason why so many directories are searched. I can see an organization which works on several clouds have staff use workstations which are maintained by a central IT support department. Provisioning of those workstations includes deployment of a base clouds.yaml in one of the appdirs directories.
I'm only imagining that scenario as a possible reason why there are so many directories. I feel like, at least right now, the chances of that scenario being used for gophercloud/utils is quite improbable. So it's quite safe to leave out for now.

How about a compromise of dropping appdirs for now, but still searching the directories which do not require appdirs?

Yes, I think we agree, I just didn't explain myself well enough: searching current directory, ~/.config/openstack, and /etc/openstack is fine. I'm only suggesting removing the appdirs bit.

@jrperritt Ping

This should be squashed, but I want to make sure @raphink's initial work makes it into the git history.

Thanks for the intention @jtopjian


Create example app

We need an example application that showcases the usage of the framework. Ideally we should actually create 2 of them, one react-native based, one web based.

https://github.com/mdimovska/girders-elements-demo-react

https://github.com/mdimovska/girders-elements-demo-react-native


Don't check for root at initialization

Right now it looks like libmraa checks whether it's in a process with effective uid 0 at initialization. In order to implement least-privilege access control, I'd like to restrict access to I/O managed by libmraa to just members of a specific group.
It really shouldn't be libmraa's job to perform this check, especially pre-emptively. Since this check was probably added to help troubleshooting, the same goal could be achieved by logging the permissions when libmraa fails to open a device file due to EPERM.

@arfoll, @tingleby I'd be curious to have your opinion here gentlemen, but my personal understanding is that it's currently not feasible to run mraa as non-EUID 0, because that would mean a lot of messing up with [at least] permissions on GPIO files for the user. That's why we've added it in the first place.

I was under the impression that it it wouldn't be possible to setup permissions under the sysfs to use gpio for non root users to write into it.
There would be more luck in the modules that use /dev/ (i2c/spi) to run as non root with permissions set.

Right, that's what I had in mind as well. So @eschaton it looks like it's simply not possible to do that.
If you have any specific scenario in mind, please share and let's see if something could be done here and generalized for the benefit of more use cases.

@eschaton I agree it's not really our job, we do it because it makes our debugging life much easier :) I guess it should just log it as a warning and see how far we can go. But I'd be really interested in how you can setup your system to handle not running as root, could you detail that so we can maybe document it for our users?
@tingleby that's not entirely true, AFAIK you can chown/chmod sysfs properties. The problem is that created nodes will still be under the default perms root:root. This means you'd need a rather complex and dodgy udev rule to run on every gpio export (for example). When it comes to writing to /dev/mem or /dev/uio as we do for mmaped gpio giving non root access to those is basically the same as giving the keys away IMHO and there is a kernel capability for that. As you say i2c/spi is all good (as long as we have no muxing), we only really have this issue with gpio & pwm.

@arfoll Yes making it a bit dodgy. What I would be afraid of would be users with permissions twiddling a gpio that shouldn't be touched. Ones that could reset/damage a system.

Thanks everyone for the feedback!
@arfoll I haven't actually set it up that way, I was going to try setting it up just by doing a chown of the sysfs files to a gpio group and running the process as a user which is a member of that group.
@alext-mkrs Mainly I want privilege separation, and I figured that without capabilities that user/group would be the next logical mechanism. I really don't want a process interfacing with the real world and possibly the network running as root if I can help it.
I don't know much about things like Linux sysfs so I'm not sure about the gymnastics that would be needed to actually make user/group access control work with it. However, I'd really only expect file-based access to work with user/group access control, and that to be sufficient for a lot of uses.
For memory mapped I/O, I'd expect the driver to support some sort of query where it can hand back to the user process a limited chunk of memory it (and only it) can manipulate, and for doing so to involve an access control check. I wouldn't expect to have access to the entire memory map. (If you can't tell yet, I've mostly worked with what you might call "Darwin-based" systems…)

@eschaton You convinced me, it's not our job to do this check. It's removed with baa1a0ae03aca521d2fb5a3e043fe5ef02a52b36
As for mmaped IO sadly alot of the drivers we find don't do things in 'sane' ways so setting up non root access to the IO may be more difficult on some platforms than others. Personally I'd recommend abstracting your IO at a high-ish level with a daemon running itself as root with something like dbus to talk to it from a non priviliged process, that should give you a decent amount of flexibility without having to run everything as root.


feat(firestore-bigquery-export): add TimePartitioning on selected Firestore Document field

DO NOT MERGE
#859 NEED TO BE PUBLISHED FIRST AND VERSION OF firestore-bigquery-extension-tracker  ON package.json NEED TO BE UPDATED BEFORE MERGING.
partly-fix: #794  - RangePartioning is being considered
Feature

add partitioning on selected top-layer Firestore Document field (Firestore Timestamp or DATE, DATETIME, TIMESTAMP BigQuery format) that will be imported to schema and new Partition Table will be TimePartitioned on with firestore-bigquery-change-tracker.

Jobs

[x] add 3 new optional Time Partitioning parameters to extension.yaml
[x] add params timePartitioning`(changed from tablePartitioning), `timePartitioningField`, `timePartitioningFieldType`, `timePartitioningFirestoreField in config.ts
[x] make manual tests screenshots with published update on firestore-bigquery-change-tracker

Tests
Update Engine

Test for Firestore Timestamp or BigQuery TIMESTAMP field partitioning

Firestore Timestamp results

BigQuery TIMESTAMP result

Test BigQuery DATE field partitioning

BigQuery DATE result

Test BigQuery DATETIME field partitioning

BigQuery DATETIME result

OLD settings test (no new optional fields)

OLD settings result

Codecov Report

Merging #863 (831c9eb) into next (3b1cf99) will decrease coverage by 0.01%.
The diff coverage is 66.67%.

:exclamation: Current head 831c9eb differs from pull request most recent head d8e205d. Consider uploading reports for the commit d8e205d to get more accurate results

@@            Coverage Diff             @@
##             next     #863      +/-   ##
==========================================
- Coverage   50.19%   50.19%   -0.00%
==========================================
  Files          30       30
  Lines        1329     1331       +2
  Branches      197      199       +2
==========================================
+ Hits          667      668       +1
- Misses        661      662       +1
  Partials        1        1

Impacted Files
Coverage Δ

firestore-bigquery-export/functions/src/index.ts
100.00% <ø> (ø)

firestore-bigquery-export/functions/src/config.ts
81.82% <66.67%> (-7.07%)
:arrow_down:

Closed via https://github.com/firebase/extensions/pull/891


Fix golint warnings from goreportcard

Issue #, if available:
Description of changes:
Fix a few comments to satisfy golint checker
❯ docker run -it --rm -v ~/dev/pike/cluster-api-provider-cloudstack:/cluster-api-provider-cloudstack  docker.io/jenner/goreportcard-cli:latest /bin/sh -c "cd /cluster-api-provider-cloudstack && goreportcard-cli -v"
Testing performed:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

@wongni hey, can we close this PR?