feat(storage): add watermark cache to state_table [WIP] [IGNORE ME]

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
https://github.com/risingwavelabs/risingwave/issues/11320
The related PR https://github.com/risingwavelabs/risingwave/pull/10895 tries to avoid table scan.
However, even if no table scan, we will still have build up of DeleteRanges, which slow down every sst access.
This PR will avoid DeleteRanges from being generated under the right conditions.

[x] Parameterize state table, with and without watermark cache.
[x] Add unit tests for cache.
[x] Add unit tests for state table with cache.
[x] Test asc / desc pk should be OK
[x] Use TopNCache instead.
[ ] Optimization: Ignore values older than prev cleaned watermark?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR contains user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

Can review code first. Still doing benchmark.

For state table without watermark cache, there is a slight regression of 3-5%. It is likely within write_chunk where we construct vnode_and_pks with the original key as well.
We can optimize this later, as part of https://github.com/risingwavelabs/risingwave/issues/11377.
Otherwise if we parameterize this branch, it will make the code unnecessarily complicated for little benefit.
Bench Results

state_table/benchmark_inserts
                        time:   [692.62 ns 694.53 ns 697.09 ns]
                        change: [+3.1411% +3.8392% +4.6145%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild

Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.50_deletes_0.50: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.50_deletes_0.50: Collecting 10 samples in estimated 7.1208 s (5state_table/benchmark_chunks_visibility_0.50_inserts_0.50_deletes_0.50
                        time:   [26.308 ms 26.657 ms 27.331 ms]
                        change: [+3.1825% +5.3619% +7.8063%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 2 outliers among 10 measurements (20.00%)
  2 (20.00%) high severe

Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.90_deletes_0.10: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.2s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.90_deletes_0.10: Collecting 10 samples in estimated 7.1609 s (5state_table/benchmark_chunks_visibility_0.50_inserts_0.90_deletes_0.10
                        time:   [25.490 ms 25.682 ms 25.985 ms]
                        change: [+2.5305% +3.6079% +4.8236%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.99_deletes_0.01: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_0.99_deletes_0.01: Collecting 10 samples in estimated 7.1128 s (5state_table/benchmark_chunks_visibility_0.50_inserts_0.99_deletes_0.01
                        time:   [25.422 ms 25.536 ms 25.731 ms]
                        change: [+2.0074% +2.7070% +3.3627%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_1.00_deletes_0.00: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.50_inserts_1.00_deletes_0.00: Collecting 10 samples in estimated 7.1225 s (5state_table/benchmark_chunks_visibility_0.50_inserts_1.00_deletes_0.00
                        time:   [25.400 ms 25.495 ms 25.672 ms]
                        change: [+1.0064% +1.8227% +2.7269%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild

Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.50_deletes_0.50: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.9s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.50_deletes_0.50: Collecting 10 samples in estimated 7.8782 s (5state_table/benchmark_chunks_visibility_0.90_inserts_0.50_deletes_0.50
                        time:   [38.695 ms 38.800 ms 38.917 ms]
                        change: [-0.2802% +0.3763% +1.0555%] (p = 0.31 > 0.05)
                        No change in performance detected.

Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.90_deletes_0.10: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.8s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.90_deletes_0.10: Collecting 10 samples in estimated 7.7917 s (5state_table/benchmark_chunks_visibility_0.90_inserts_0.90_deletes_0.10
                        time:   [38.248 ms 38.364 ms 38.488 ms]
                        change: [-6.4478% -4.0933% -1.6124%] (p = 0.01 < 0.05)
                        Performance has improved.

Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.99_deletes_0.01: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.8s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_0.99_deletes_0.01: Collecting 10 samples in estimated 7.8461 s (5state_table/benchmark_chunks_visibility_0.90_inserts_0.99_deletes_0.01
                        time:   [38.291 ms 38.507 ms 38.850 ms]
                        change: [+0.5160% +1.1869% +1.8812%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild

Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_1.00_deletes_0.00: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.9s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.90_inserts_1.00_deletes_0.00: Collecting 10 samples in estimated 7.8758 s (5state_table/benchmark_chunks_visibility_0.90_inserts_1.00_deletes_0.00
                        time:   [38.385 ms 38.606 ms 38.987 ms]
                        change: [+0.9245% +1.7048% +2.7218%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high severe

Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.50_deletes_0.50: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.50_deletes_0.50: Collecting 10 samples in estimated 8.0571 s (5state_table/benchmark_chunks_visibility_0.99_inserts_0.50_deletes_0.50
                        time:   [41.671 ms 41.759 ms 41.889 ms]
                        change: [+1.1826% +1.5878% +1.9476%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.90_deletes_0.10: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.0s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.90_deletes_0.10: Collecting 10 samples in estimated 7.9757 s (5state_table/benchmark_chunks_visibility_0.99_inserts_0.90_deletes_0.10
                        time:   [41.040 ms 41.227 ms 41.337 ms]
                        change: [-0.2077% +0.7211% +1.4614%] (p = 0.13 > 0.05)
                        No change in performance detected.

Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.99_deletes_0.01: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.9s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_0.99_deletes_0.01: Collecting 10 samples in estimated 7.9410 s (5state_table/benchmark_chunks_visibility_0.99_inserts_0.99_deletes_0.01
                        time:   [40.677 ms 40.850 ms 41.050 ms]
                        change: [+0.2704% +0.6797% +1.0886%] (p = 0.01 < 0.05)
                        Change within noise threshold.

Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_1.00_deletes_0.00: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_0.99_inserts_1.00_deletes_0.00: Collecting 10 samples in estimated 8.1141 s (5state_table/benchmark_chunks_visibility_0.99_inserts_1.00_deletes_0.00
                        time:   [41.680 ms 42.159 ms 42.735 ms]
                        change: [+2.2003% +3.7481% +5.2738%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.50_deletes_0.50: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.50_deletes_0.50: Collecting 10 samples in estimated 8.0544 s (5state_table/benchmark_chunks_visibility_1.00_inserts_0.50_deletes_0.50
                        time:   [42.538 ms 43.426 ms 44.947 ms]
                        change: [+2.9232% +5.4312% +8.9977%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild

Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.90_deletes_0.10: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.1s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.90_deletes_0.10: Collecting 10 samples in estimated 8.1214 s (5state_table/benchmark_chunks_visibility_1.00_inserts_0.90_deletes_0.10
                        time:   [42.118 ms 42.766 ms 43.690 ms]
                        change: [+3.6670% +5.7426% +7.8158%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.99_deletes_0.01: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.0s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_0.99_deletes_0.01: Collecting 10 samples in estimated 7.9731 s (5state_table/benchmark_chunks_visibility_1.00_inserts_0.99_deletes_0.01
                        time:   [41.276 ms 41.435 ms 41.655 ms]
                        change: [+1.6329% +2.2282% +2.7914%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_1.00_deletes_0.00: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 8.0s or enable flat sampling.
Benchmarking state_table/benchmark_chunks_visibility_1.00_inserts_1.00_deletes_0.00: Collecting 10 samples in estimated 7.9847 s (5state_table/benchmark_chunks_visibility_1.00_inserts_1.00_deletes_0.00
                        time:   [41.125 ms 41.416 ms 41.920 ms]
                        change: [+1.8732% +2.6079% +3.5804%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild


Tab not working with append-to-body="true"

Steps:

Open append-to-body example html file in browser.
Open a select box and type a letter.
Without selecting hit tab
Now the first button on the page is focussed ("Enable ui-select" button)

Issue:
On the fourth step the next select box should be focussed.

An ugly workaround in case you need one, you can add an event listener on the dropdown that will handle tab manually:
//elem is the dropdown element. you can write a directive that wraps it.
elem[0].addEventListener('keydown', preserveTabBehaviorHandler, true);

var preserveTabBehaviorHandler = function(event) {
	if (event.keyCode !== uiGridConstants.keymap.TAB) {
		return;
	}
	if (!isAppendToBody()) {
		return;
	}

	// Use $timeout to make sure that UI-Select first performs their default behavior
	// (e.g. selecting the value) then we kick in and tab to the next element
	// We use 10ms as interval just to make sure it waits something.
	$timeout(function() {
		// Focus on the next tabbable element once the dropdown is closed.
		if (!$select.focusser || !$select.focusser[0]) {
			return;
		}
		var tabbables = angular.element(':tabbable');
		var index = _.indexOf(tabbables, $select.focusser[0]);
		if (index === -1) {
			return;
		}
		var nextElement = tabbables[event.shiftKey ? --index : ++index];
		if (nextElement) {
			nextElement.focus();
		}
	}, 10);
};

hello @hadason
Where would you put your code-fix if I may ask ?

Note : This is not an issue when  Multiple choices are allowed. Only on normal, single-choice  ui-select.

You can create a directive on top of 'ui-select' and add the functionality there.
something like:
angular.module('myModule').directive('uiSelect', function() {
  require: 'uiSelect',
  link: function(scope, elem, attrs, $select) {
    // Code Above
  }
}


The solution doesn't build

There is a missing DTOs: LogDto

Please try now?

There is a missing DTOs: LogDto

Please try now?

problem is solved


webhook to patch pod spec

Initial commit for webhook to patch pod spec to add SYS_RESOURCE capability.

@ibrokethecloud I rebased: https://github.com/harvester/pcidevices/pull/8/files, let me know if it looks right. It builds correctly, I'm doing a test now

ignore in favor of: https://github.com/harvester/pcidevices/pull/9


Document: simplify macro expression by removing brackets

The macros are a little hard to read, so i removed some of the brackets that could be removed. Specs pass.


Use old version of mutter

context: https://github.com/pop-os/shell/issues/1542#issuecomment-1308686877

install command: sudo pacman -U https://archive.archlinux.org/packages/m/mutter/mutter-43.0-1-x86_64.pkg.tar.zst
disable mutter update in pacman conf

Not needed as of mutter 43.2-1


monitor.getItem is not a function

hello i have a problem i have this error monitor.getItem is not a function
here is what my file looks like, reacts dnd work before without migration to hooks
https://pastebin.com/WBqAQjun

What did you see, alexandrebouttier???

Anyone else who may come here with a similar problem, make sure you double check the expected method arguments. For example, I had:

  const [{ isOver }, drop] = useDrop(
    () => ({
      accept: reviewItemType.CARD,
      drop: (monitor) => {
        const projectId = monitor.getItem().uuid;
        updateProjectState({ projectId });
      },
    }),
  );

But checking the docs, the correct signature is drop(item, monitor). So I changed to:
      drop: (item) => {
        const projectId = item.uuid;
        updateProjectState({ projectId });
      },

@elliott-king  very helpful, thanks!


Buildings which are not highlighted, like the student village, could be clickable

Right now colored outline === building.  Student village buildings are not outlined (because they are less important - not needed for academic map) but it would be nice if they were clickable or in a different color.
We should add an outline to them.  It could be a different color, or it could be transparent so it's just clickable but not visable...

I would prefer another colour - if it's transparent, the user has no indication of what is clickable and what isn't.

Yeah, I agree.  Something that doesn't stand out too much.

I've sort of done this last night.  student village buildings are blue.  There should probably be a third color for somewhat related buildings (VTT?) which are not core Aalto buildings.  Colors could be revised.
There is a UI bug where: when you click to zoom on another object (smaller than a building), once you zoom out, the student buildings have changed color.  This is caused by the "reset highlight" logic and requires a bit of function splitting, but should be fixable.

Check now.  Everything is clickable, and also there are different colors for buildings of different importance.  Right now the scheme is:
red=core university buildings
blue=auxiliary buildings of interest to big parts of the university community (e.g. AYY, shopping center, hotels)
gray=things of minor significance to Aalto community
very light purple = student housing
What do you think?  I didn't put much thought into the color scheme or other design, so if anyone has suggestions, please let me know or implement them.


Release Notes - relevent Projects 12-05-2023 - 12-12-2023

Your Item for LWKD
Release Notes of Relevant Projects listed in #265 for the Week of 12-05-2023 - 12-12-2023
Latest Releases for 2023-12-05
kubernetes-csi/csi-driver-nfs
kubernetes-csi/csi-driver-host-path
kubernetes-csi/csi-driver-smb
cri-o/cri-o
cri-o/ocicni
i## etcd-io/etcd
Release notes for v3.5.11
2023-12-07 Please check out CHANGELOG for a full list of changes. And make sure to read upgrade guide before upgrading etcd (there may be breaking changes).
For installation guides, please check out play.etcd.io and operating etcd. Latest support status for common architectures and operating systems can be found at supported platforms.
Linux
ETCD_VER=v3.5.11

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version

# start a local etcd server
/tmp/etcd-download-test/etcd

# write,read to etcd
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo

macOS (Darwin)
ETCD_VER=v3.5.11

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version

Docker
etcd uses gcr.io/etcd-development/etcd as a primary container registry, and quay.io/coreos/etcd as secondary.
rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
  docker rmi gcr.io/etcd-development/etcd:v3.5.11 || true && \
  docker run \
  -p 2379:2379 \
  -p 2380:2380 \
  --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
  --name etcd-gcr-v3.5.11 \
  gcr.io/etcd-development/etcd:v3.5.11 \
  /usr/local/bin/etcd \
  --name s1 \
  --data-dir /etcd-data \
  --listen-client-urls http://<IP_ADDRESS>:2379 \
  --advertise-client-urls http://<IP_ADDRESS>:2379 \
  --listen-peer-urls http://<IP_ADDRESS>:2380 \
  --initial-advertise-peer-urls http://<IP_ADDRESS>:2380 \
  --initial-cluster s1=http://<IP_ADDRESS>:2380 \
  --initial-cluster-token tkn \
  --initial-cluster-state new \
  --log-level info \
  --logger zap \
  --log-outputs stderr

docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcd --version
docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcdctl version
docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcdutl version
docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-v3.5.11 /usr/local/bin/etcdctl get foo

grpc/grpc
golang/go
coredns/coredns
containernetworking/cni
containerd/containerd
Release notes for containerd 1.7.11
2023-12-08Welcome to the v1.7.11 release of containerd!
The eleventh patch release for containerd 1.7 contains various fixes and updates including
one security issue.
Notable Updates

Fix Windows default path overwrite issue (#9440)
Update push to always inherit distribution sources from parent (#9452)
Update shim to use net dial for gRPC shim sockets (#9458)
Fix otel version incompatibility (#9483)
Fix Windows snapshotter blocking snapshot GC on remove failure (#9482)
Mask /sys/devices/virtual/powercap path in runtime spec and deny in default apparmor profile (GHSA-7ww5-4wqc-m92c)

Deprecation Warnings

Emit deprecation warning for AUFS snapshotter (#9436)
Emit deprecation warning for v1 runtime (#9450)
Emit deprecation warning for deprecated CRI configs (#9469)
Emit deprecation warning for CRI v1alpha1 usage (#9479)
Emit deprecation warning for CRIU config in CRI (#9481)

See the changelog for complete list of changes
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors

Samuel Karp
Derek McGowan
Phil Estes
Bjorn Neergaard
Danny Canter
Sebastiaan van Stijn
ruiwen-zhao
Akihiro Suda
Amit Barve
Charity Kathure
Maksym Pavlenko
Milas Bowman
Paweł Gronowski
Wei Fu

Changes
39 commits

[release/1.7] Prepare release notes for v1.7.11 (#9491)

dfae68bc3 Prepare release notes for v1.7.11

[release/1.7] update to go1.20.12, test go1.21.5 (#9352)

0d314401d update to go1.20.12, test go1.21.5
1ec1ae2c6 update to go1.20.11, test go1.21.4

Github Security Advisory GHSA-7ww5-4wqc-m92c

cb804da21 contrib/apparmor: deny /sys/devices/virtual/powercap
40162a576 oci/spec: deny /sys/devices/virtual/powercap

[release/1.7] Don't block snapshot garbage collection on Remove failures (#9482)

ed7c6895b Don't block snapshot garbage collection on Remove failures

[release/1.7] Add warning for CRIU config usage (#9481)

1fdefdd22 Add warning for CRIU config usage

[release/1.7] Fix otel version incompatibility (#9483)

f8f659e66 Add HTTP client update function to tracing library
807ddd658 fix(tracing): use latest version of semconv

[release/1.7] Add cri-api v1alpha2 usage warning to all api calls (#9479)

dc45bc838 Add cri-api v1alpha2 usage warning to all api calls

[release/1.7] cri: add deprecation warnings for deprecated CRI configs (#9469)

9d1bad62e deprecation: fix missing spaces in warnings
51a604c07 cri: add deprecation warning for runtime_root
8040e74bf cri: add deprecation warning for rutnime_engine
99adc40eb cri: add deprecation warning for default_runtime
afef7ec64 cri: add warning for untrusted_workload_runtime
6220dc190 cri: add warning for old form of systemd_cgroup

[release/1.7] runtime/v2: net.Dial gRPC shim sockets before trying grpc (#9458)

80f96cd18 runtime/v2: net.Dial gRPC shim sockets before trying grpc

[release/1.7] tasks: emit warning for v1 runtime and runc v1 runtime (#9450)

f471bb2b8 tasks: emit warning for runc v1 runtime
329e1d487 tasks: emit warning for v1 runtime

[release/1.7] push: always inherit distribution sources from parent (#9452)

4464fde12 push: always inherit distribution sources from parent

[release/1.7] Update tar tests to run on Darwin (#9451)

7e069ee25 Update tar tests to run on Darwin

[release/1.7] ctr: Add sandbox flag to ctr run (#9449)

5fc0e4e61 ctr: Add sandbox flag to ctr run

[release/1.7] Windows default path overwrite fix (#9440)

31fe03764 Fix windows default path overwrite issue

[release/1.7] snapshots: emit deprecation warning for aufs (#9436)

625b35e4b snapshots: emit deprecation warning for aufs

Dependency Changes

github.com/felixge/httpsnoop                                   v1.0.3 new
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp  v0.45.0 new

Previous release can be found at v1.7.10
Release notes for containerd 1.6.26#### 2023-12-08Welcome to the v1.6.26 release of containerd!
The twenty-sixth patch release for containerd 1.6 contains various fixes and updates.
Notable Updates

Fix windows default path overwrite issue (#9441)
Update push to inherit distribution sources from parent (#9453)
Mask /sys/devices/virtual/powercap path in runtime spec and deny in default apparmor profile (GHSA-7ww5-4wqc-m92c)

Deprecation Warnings

Emit deprecation warning for AUFS snapshotter usage (#9448)
Emit deprecation warning for v1 runtime usage (#9468)
Emit deprecation warning for CRI v1alpha1 usage (#9468)

See the changelog for complete list of changes
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
Contributors

Samuel Karp
Derek McGowan
Kohei Tokunaga
Phil Estes
Bjorn Neergaard
Sebastiaan van Stijn
Brian Goff
Charity Kathure
Kazuyoshi Kato
Milas Bowman
Wei Fu
ruiwen-zhao

Changes
30 commits

[release/1.6] Prepare release notes for v1.6.26 (#9490)

ac5c5d3e0 Prepare release notes for v1.6.26

Github Security Advisory GHSA-7ww5-4wqc-m92c

02f07fe19 contrib/apparmor: deny /sys/devices/virtual/powercap
c94577e78 oci/spec: deny /sys/devices/virtual/powercap

[release/1.6] update to go1.20.12, test go1.21.5 (#9472)

7cbdfc92e update to go1.20.12, test go1.21.5
024b1cce6 update to go1.20.11, test go1.21.4

[release/1.6] Add cri-api v1alpha2 usage warning to all api calls (#9484)

64e56bfde Add cri-api v1alpha2 usage warning to all api calls

[release/1.6] tasks: emit warning for v1 runtime and runc v1 runtime (#9468)

efefd3bf3 tasks: emit warning for runc v1 runtime
7825689b4 tasks: emit warning for v1 runtime

[release/1.6] snapshots: emit deprecation warning for aufs (#9448)

7cfe7052f snapshots: emit deprecation warning for aufs

[release/1.6] cherry-pick/backport: Update golangci lint (#9455)

a1ae572a2 Fix linter error with updated linter
b638791d6 ci: bump up golangci-lint to v1.55.0
2370a2842 Fix linter issues for golangci-lint 1.54.2
8a65e2e31 Bump up golangci-lint to v1.54.2
969f8feb2 Bump up golangci-lint to v1.52.2

[release/1.6] push: inherit distribution sources from parent (#9453)

66959fdf5 push: inherit distribution sources from parent
b4dcffcfb content: add InfoProvider interface
bef4145c1 Change PushContent to require only Provider

[release/1.6] Bump google.golang.org/grpc to v1.58.3 (#9408)

a5fc21060 vendor: google.golang.org/grpc v1.58.3
4fa05b3d8 Upgrade github.com/klauspost/compress from v1.11.13 to v1.15.9

[release/1.6] Windows default path overwrite fix (#9441)

ede0ad5e1 Fix windows default path overwrite issue

Dependency Changes

cloud.google.com/go/compute/metadata  v0.2.3 new
github.com/cespare/xxhash/v2          v2.1.2 -> v2.2.0
github.com/golang/protobuf            v1.5.2 -> v1.5.3
github.com/klauspost/compress         v1.11.13 -> v1.15.9
go.opencensus.io                      v0.23.0 -> v0.24.0
golang.org/x/oauth2                   2bc19b11175f -> v0.10.0
golang.org/x/sync                     v0.1.0 -> v0.3.0
google.golang.org/grpc                v1.50.1 -> v1.58.3
google.golang.org/protobuf            v1.28.1 -> v1.31.0

Previous release can be found at v1.6.25
containerd/nerdctl
kubernetes/kops
kubernetes/kubeadm
Section:

[ ] Developer News
[ ] Release Schedule
[ ] Featured PRs
[ ] Other Merges
[ ] Version Promotions/ Graduates
[ ] Deprecated
[ ] Version Updates
[x] Related Projects
[ ] Not Sure / Other

To include updates from projects other than Kubernetes and Kubernetes/sigs, please refer to the list of projects we accept submissions from.

/assign @jberkus @fykaa @sreeram-venkitesh
AS discussed in Slack for now the Release notes as Issue

Thanks to @mfahlandt for the script! The issue for week ending with December 10 was published thanks to the data scraped by the script!


Potential bug: Unexpected Exception for Null Response in Gorse.NET

Hi @zhenghaoz,
I encountered an issue when using the GetRecommend(string userId) method, which calls "api/recommend/" + userId endpoint in the Gorse.NET library. When the Gorse server returns a null response, the library throws a GorseException with the message "unexpected empty response."
Here’s the relevant code:
throw new GorseException
{
    StatusCode = HttpStatusCode.InternalServerError,
    Message = "unexpected empty response"
};

Expected Behavior:
If the Gorse server returns a null response, I believe it would be more appropriate for the library to return null rather than throwing an exception. This change would allow end users to handle null responses more gracefully according to their specific requirements.
Should I open a pull request to fix this problem?

Thank you! Pull requests are welcome😁

From: Nebiyou Hailemariam @.>
Sent: Thursday, October 24, 2024 8:23
To: gorse-io/Gorse.NET @.>
Cc: zhenghaoz @.>; Mention @.>
Subject: [gorse-io/Gorse.NET] Potential bug: Unexpected Exception for Null Response in Gorse.NET (Issue #11)
Hi @zhenghaozhttps://github.com/zhenghaoz,
I encountered an issue when using the GetRecommend(string userId), which calls "api/recommend/" + userId whimethod in the Gorse.NET library. When the Gorse server returns a null response, the library throws a GorseException with the message "unexpected empty response."
Here’s the relevant code:
throw new GorseException
{
StatusCode = HttpStatusCode.InternalServerError,
Message = "unexpected empty response"
};
Expected Behavior:
If the Gorse server returns a null response, I believe it would be more appropriate for the library to return null rather than throwing an exception. This change would allow end users to handle null responses more gracefully according to their specific requirements.
Should I open a pull request to fix this problem?
—
Reply to this email directly, view it on GitHubhttps://github.com/gorse-io/Gorse.NET/issues/11, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACE4T2H5LHWMB53M6XLOSDDZ5A4ZVAVCNFSM6AAAAABQP5NGY6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTAMBZG4YDQMY.
You are receiving this because you were mentioned.Message ID: @.***>


Optimize code efficiency

Hi @wey-gu would you like me to review your code and enhance it? cox i think i can do something to refactor and update some changes.

For sure, it's more than welcomed! Sorry for the late response.
Feel free to drop brief proposal in issues :).


GnuPG.Gpg4win version 3.1.16

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Note: manifests\g\GnuPG\Gpg4win\3.1.16 is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

PR functionality merged in #17373.


Stream error (entry: carniferou.club)

Hey! I got a tip that liveonscore.tv's videos aren't working. After a little check, it seems so.

I tracked every log process and finally, it seems that @@||cdn.carniferou.club^ entry fixed it. I think that that respective rule should be deleted (per #1354). Thanks! :blush:

Hi Armyn @ArmynC  when I go to liveonscore.tv — I'm not linking that — I get a cluster of popups and other such scumbaggery.

Closing.

Hi Armyn @ArmynC  when I go to liveonscore.tv — I'm not linking that — I get a cluster of popups and other such scumbaggery.

Closing.


(maint) Merge 5.5.x to 6.4.x

Conflicts were related to https://github.com/puppetlabs/puppet/commit/690c4e6fb7043498fe03180cbea71fe4a1247120
I've made the assumption that currently on Puppet6 we still want to use to_hierayaml instead of the new to_hiera_hash and that the change will be done in a future commit

CLA signed by all contributors.

The resource application should call to_hiera_hash in puppet6.


Setup Liveliness, Readiness Probes for OpenShift for FOI-Flow (aka Health checks or probes)

Title of ticket:  Setup Liveliness, Readiness Probes for OpenShift for FOI-Flow
Description
Setup livelinessProbe, readinessProbe, etc, in the deployment-configs.yaml
This task is related to the High Availability for FOI flow task.  No direct dependency too, but the features combine.
Dependencies
Are there any dependencies?
DOD

[ ] Probes in in API
[ ] Probes in web
[ ] If any redis/camunda probes, enable, but those are likely pre-configured and we can't do much.
[ ] Kibana

We might need to refer #427 as well while doing this - related to OC Readiness proble.

Completed during last sprint


fix: website updates for 3.1 release

• added new image for homepage
• replaced sketch image and text on homepage with figma
• updated homepage css to have cards at the top be better aligned
Signed-off-by: Scott Mathis<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?
Website changes

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
Issue Number: #4417
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

We're missing the figma link on the v3+ release notes pages instead of sketch.

Okay if I do that when I do the release notes?


Content Classification Violations

Required Information

[x] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.4.1
[x] ACS AEM Commons Version: 3.19.0
[x] Reproducible on Latest? yes

Expected Behavior
ACS Commons should fully comply with the Content Classification rules being outlined at https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/sustainable-upgrades.html
Actual Behavior
If you verify the according health-check at /libs/granite/operations/content/healthreports/healthreport.html/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/SlingContentHealthCheck you get a lot of warning due to ACS Commons violating content classification.

Steps to Reproduce
Just open /libs/granite/operations/content/healthreports/healthreport.html/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/SlingContentHealthCheck on AEM 6.4+ and check the warnings.
Links
https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/sustainable-upgrades.html

@kwin I think it would be better to create specific issues for each violation. When I review the list, I see a lot of things which appear to be invalid. The first one in your screenshot is a good example of this.

Well, the first ones are issued because https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/content/src/main/content/jcr_root/apps/acs-commons/components/workflow/watson-audio-transcription/.content.xml derives from cq/workflow/components/model/external_process which has mixin granite:FinalArea. That means according to the Adobe documentation

Defines a node as final. Nodes classified as final cannot be overlaid or inherited. Final nodes can be used directly via sling:resourceType. Subnodes under final node are considered internal by default

You are clearly violating that guideline. So I don't think this is a false positive.

On the other hand https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/workflows-customizing-extending.html#CreatingCustomWorkflowStepComponents clearly states

To inherit from one of the (existing) base step components, add the following property to the cq:Component node:
Name: sling:resourceSuperType
Type: String
Value: One of the following paths that resolves to a base component:
cq/workflow/components/model/process
cq/workflow/components/model/participant
cq/workflow/components/model/dynamic_participant

Again, we should have this discussion in an "violation"-specific issue. But I'm quite confident that this is a false positive since otherwise there is no way to create an External Workflow Process. This is a documentation gap.

The workflow-related supertypes have been acknowledged meanwhile as false-positive and the fix is being tracked in CQ-4249019 (fixed with AEM 6.5). The only other types being reported as violations are

inheriting from {{granite/ui/components/foundation/form/select}} and
inheriting from  {{granite/ui/components/foundation/form/pathbrowser}} and
inheriting from {{cq/cloudserviceconfigs/templates/configpage}}

About those I am not too sure. @justinedelson Do you know whether those are false-positives as well or whether those are just no longer allowed to be inherited.

I believe #3 is a false positive. Using this supertype is explicitly documented at https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/extending-cloud-config.html
I'm not sure about #1 and #2.

Just checked again on AEM 6.5 (/libs/granite/operations/content/healthreports/healthreport.html/system/sling/monitoring/mbeans/org/apache/sling/healthcheck/HealthCheck/SlingContentHealthCheck) and with acs-aem-commons no content classification issues are reported any longer!

Outstanding issues tracked in #1511


how to get .ovpn file

hi im in troble to get .ovpn file i know this file in root folder but i cant download with winscp.
thank you.

You need to copy/move it to your home directory and change the permissions/owner to yourself so you can download it.
Example:
sudo cp *.ovpn ~
sudo chown  *.ovpn
Or you could run cat and copy and paste the contents if you're stuck.

found my own trouble im using aws ec2 and aws not allowing root login so i enable it and succes.
thank you

For googlers: no need to allow root login, the install script gives you the path of the .ovpn, ex.

The client configuration is available in: /root/iphone14.ovpn

then it's as simple as sudo cat /root/iphone14.ovpn


Update KeyVault workbook

Fixed cross-table join.
Add Key Vault auditing coverage.
Add Key Vault monitoring.

@yoweiz - workbook validation failed with error message - logo image file github.svg under the Workbooks/Images/Logos directory. Can you please fix this


Push to full view from Panmodel

Description
while pushing from panmodel , i m able to push but it remain inside panmodel, i need it to push to full view and if i pop back from their i will go back to panmodel. can any one let me know how can i do this ?
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[ x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x ] I've read and agree to the Code of Conduct.
[x ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
PanModal version:
iOS version:
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

??


Finding Corresponding Route ID Based on Given Pathname

Describe the problem
I have a -guard.ts file in some of my routes, responsible for determining whether a user can access a route or not. However, when checking in my sidebar whether a user can access a certain route, I need the corresponding route ID to access the -guard.ts for that route.
Describe the proposed solution
I would like to have a feature that allows me to find the route ID for various pathnames within my application. For example, given the pathname "/account/sessions", the corresponding route ID might be "(panel)/account/sessions", or for "/users/32", the route ID might be "/users/[id]".
Alternatives considered
Right now, I'm doing things the old-fashioned way with lots of if statements to check each route individually. It gets the job done, but it's not exactly cutting-edge or flexible. Having a feature that automatically figures out the route ID based on the pathname would be way cooler and save me a ton of time and hassle.
Importance
would make my life easier
Additional Information
N/A

This would be the inverse of https://kit.svelte.dev/docs/modules#$app-paths-resolveroute

Yes, right now I tried something that works for now. While my approach to solving my problem works, it may lead to some inefficiencies and complexities. Still, it would be a good idea to have this feature so I can find the route IDs much faster and reliable.

Closing as duplicate of #11746


[Issue 316] Adding metaphor search api as another web searching option.

Added langroid/agent/tools/metaphor_search_tool.py and to handler the request from agent.
Added metaphor_search method in langroid/langroid/parsing/web_search.py to make a POST request to Metaphor search API.
All checks passed.

let's use this metaphor python client instead of making a raw POST request: https://github.com/metaphorsystems/metaphor-python
make this an "extra" dependency in pyproject.toml
import this only within the function that uses it
don't add the METAPHOR_API_KEY instructions in the README (trying not to overload the README setup too much). Instead, add the instructions in the chat-search example that uses it.
add a test similar to test_google_search_tool.py but it under tests/extra, so that it is not run automatically in github actions.


Firefox Portable with Selenium Profile

Hi I am using firefox potable version which works fine. However I am not able to set the profile as the profile directory is being ignored.
Declarations
Private assert As New assert
Private driver As New Selenium.FirefoxDriver
Portable Firefox Location. as per the help.
driver.SetProfile ("G:\Software - Portable\FirefoxPortable37\Data\profile")
driver.SetBinary ("G:\Software - Portable\FirefoxPortable37\FirefoxPortable.exe")
This runs the firefox portable, but ignores the profile made.

I managed.
driver.SetProfile ("G:\Software - Portable\FirefoxPortable37\Data\profile") should be followed by a True
driver.SetProfile ("G:\Software - Portable\FirefoxPortable37\Data\profile"),True


TestPyPI Not Accepting Packages With OSL License Classifier

Describe the bug

When trying to upload a package to TestPyPI using the classifier "License :: OSI Approved :: Open Software License 3.0 (OSL-3.0)", I receive the error below:
HTTPError: 400 Client Error: Invalid value for classifiers. Error: 'License :: OSI Approved :: Open Software License 3.0 (OSL-3.0)' is not a valid choice for this field for url: https://test.pypi.org/legacy/
Expected behavior

My package to be accepted by TestPyPI.
To Reproduce

Add the OSL license classifier to a project and attempt to submit to TestPyPI
My Platform

Additional context

I've just run into this issue: In general the classifiers listed at https://test.pypi.org/classifiers seem to be different from the ones at https://pypi.org/classifiers.
The classifier I was trying to use (Framework :: AiiDA) is rather new, so maybe this is a synchronization issue.

I've made sure both those classifiers are available on test.pypi.org.

Sweet, thank you.


Otel logs

Which problem is this PR solving?
Added Logs in this framework
Added LogExpoter, Provider, Logger object,  protobuffer
Checklist:

[x] Unit tests have been added

Security Insights
No security relevant content was detected by automated scans.
Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@provRushabhShah  please run make analyze.

can we move forward this log feature?


VIEW and COLORS

Hey mate :) 2 Questions:
How can I get colors in the module like u have?
and how can I get these Mon, Tue, Wed ... format like the bottom of your screenshot?
Thank U for help! :)
Toby

did you ever find the answer?
Was it just taking what was in the css and adding it to the custom.css and changing the colors to match?


Update Buffy_or_Angel.html

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

I just changed the box size of the combat manuever fields on the NPC page. It is now possible to show double digits.


Founder appears as separate user

Seems like I'm showing up twice, once as michael and once as ~michael when that's actually just me as the founder. The channel reports that the nicks are different when I checked. I triggered this by registering the channel and then rejoining the channel. Did I do something wrong or is this behavior unexpected?

Hmm, this sounds quite strange. Just curious, what client are you using? I'll take a look and see if I can reproduce this issue, thanks for the report!

I'm using weechat, let me know if you need my configs or anything else.
On Thu, Nov 1, 2018, 05:44 Daniel Oaks<EMAIL_ADDRESS>wrote:

Hmm, this sounds quite strange. Just curious, what client are you using?
I'll take a look and see if I can reproduce this issue, thanks for the
report!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oragono/oragono/issues/298#issuecomment-435002572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnx-vQ54yFSEL7DPKIRyzt5C-HNBhndks5uqtB9gaJpZM4YFzP3
.

If you have time, the raw protocol input and output might help: https://weechat.org/blog/post/2015/08/24/Hex-dump-in-IRC-raw-buffer

Looks like this is a weechat problem, I'll close this for now

I don't think this is a weechat-only problem as Textual suffers from the same issue.

@iptq here's where we're at with this: I can't find any incorrect responses sent by oragono at the wire level, but the behavior (duplicated nicknames in the channel membership list, one with a ~ prefix) has been seen with weechat, Textual, and irssi.
Were you able to clarify that this is not an oragono issue? Did this get filed as a weechat bug?

@slingamn just curious, have we either captured the raw traffic from the server-side or sat something in the middle of Ora and weechat/textual/irssi/etc and seen exactly what those clients do upon joining the channel? from my looks there's nothing wrong with how we're sending out the on-join responses, but maybe those clients do e.g. a NAMES or some other command that we're returning incorrect responses to. that many broken clients signals that it's likely something weird on our end, maybe mixed with a bit of clients being less than 1000% safe with how they process incoming numerics.

Yeah, we've looked at the raw traffic and it looks correct. This is redacted:
:server.name 353 joiner = #chname :~joiner ~OtherFounder
:server.name 366 joiner #chname :End of NAMES list

The one thing I can think of is that these clients are expecting their own nick to be unprefixed in the 353 RPL_NAMREPLY line, and only recognize their owner/founder status when they receive a subsequent MODE +q line. So when they get their name with the ~ prefix in the 353 line, they get confused?

I tried to reproduce this with irssi trunk (1c6f2560989f4), weechat trunk (d6e4bbf24447), and the latest binary release of Textual (7.1.0). I couldn't reproduce it in any of these clients via the following procedure: connect, authenticate to an account with NickServ, then join a channel of which that account is the registered founder.
If this can still be reproduced, it would help to have a complete dump of the i/o from the oragono side, e.g., with this logging config:
logging:
    -
        method: stderr
        type: "*"
        level: debug

I'm going to close this because we couldn't reproduce it and in any case it may have been fixed by #353


Add install-fedora-on-zfs

The project https://github.com/Rudd-O/install-fedora-on-zfs has the ability to build a bootable disk image that boots from ZFS (and LUKS beneath it, if so desired).  I do not know how buildbot works so I can't at this time produce a pull request to do it, but here's the details:

script source: master branch from the above URL
script inputs: --with-prebuilt-rpms=path/to/splandzfs/rpms/ --releasever=fedora-releasever
script output: root.img (positional parameter)

The script will boot-cycle the root.img two times — one to test that the no-hostonly initrd works fine, and another to test that the hostonly initrd works fine.  This happens automatically within QEMU and requires no intervention (but, in the event that the boot process fails, QEMU will be killed after 12 minutes by the script).
Everything the script does is logged in detail, so diagnosing and reproducing any issue is trivial after that.

I cannot browse to your project. Is it a private repository? I can try and take a look at this sometime this week.

Here a sample the command line that I use for my own testing:
sudo ./install-fedora-on-zfs --use-prebuilt-rpms=rpms/ --releasever=24 --yum-cachedir=/var/cache/privyumcache --host-name=localhost.localdomain --pool-name=test_24_RPMs --vol-size=6144 --swap-size=256 --root-password=password --luks-password=password --chown=rudd-o --chgrp=rudd-o root.img

Take a look at this?
https://github.com/Rudd-O/zfs-buildbot/commits/master

Awesome! I glanced at it and I see what you're going for. I will look into trying to get this working in a test environment soon. I'll post back with questions.


Skip image uploading confirmation if you clicked "Yes, don't ask again" in the alert

Checklist

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

Describe your issue
Now, if you select "Yes, don't ask again" in the alert, the next time you upload a picture, you'll be asked for confirmation again.
I'm pretty sure that by clicking on "Yes, don't ask again" you uncheck the option:

Screenshots

OS and Chatterino Version
Chatterino 2.4.5 (commit 05a72d33) built with Qt 6.5.0 Running on macOS 14.1, kernel: 23.1.0

Can't reproduce
https://github.com/Chatterino/chatterino2/assets/962989/0d900ce6-193b-4e71-9e8a-d688e88c22aa

I can reproduce on macOS - investigating

I've confirmed that this will be fixed by https://github.com/Chatterino/chatterino2/pull/5011 - thanks for reporting the issue!


TypeError: Cannot read property 'string' of undefined  at eval

TypeError: Cannot read property 'string' of undefined
at eval (file:///C:/Users/xxxx/Desktop/xxxx/node_modules/react-document-title/index.js:24:28)
Please find my below dependencies and dev dependencies
"dependencies": {     "bootstrap": "^3.3.7",     "css-loader": "^0.23.1",     "extract-text-webpack-plugin": "2.1.2",     "file-loader": "^0.9.0",     "fixed-data-table": "^0.6.3",     "flux": "^2.1.1",     "font-awesome": "^4.7.0",     "gel-bootstrap-3": "^0.6.23",     "google-maps-react": "^1.0.19",     "invariant": "^2.2.1",     "less": "^2.7.1",     "less-loader": "^2.2.3",     "loader-utils": "^1.1.0",     "lodash": "^4.16.6",     "moment": "^2.14.1",     "moment-timezone": "^0.5.6",     "promise": "^7.1.1",     "prop-types": "^15.5.8",     "react": "^16.0.0",     "react-bootstrap": "^0.31.0",     "react-document-title": "^2.0.2",     "react-dom": "^16.0.0",     "react-esri-map": "0.1.19",     "react-flexbox": "^3.1.1",     "react-hotkeys": "^0.10.0",     "react-infinite-scroller": "^1.0.4",     "react-overlays": "^0.6.10",     "react-router": "^4.1.1",     "react-router-bootstrap": "^0.23.1",     "react-router-transition": "0.0.5",     "react-scroll": "^1.5.4",     "style-loader": "^0.13.1",     "url-loader": "^0.5.7",     "whatwg-fetch": "^0.11.0"   },   "devDependencies": {     "babel": "^6.5.2",     "babel-core": "^6.10.4",     "babel-loader": "^6.2.4",     "babel-preset-es2015": "^6.9.0",     "babel-preset-react": "^6.11.1",     "babel-preset-stage-2": "^6.11.0",     "babel-register": "^6.14.0",     "better-npm-run": "0.0.8",     "chai": "^3.5.0",     "chai-enzyme": "^1.0.0-beta.0",     "cheerio": "^1.0.0-rc.2",     "copy-webpack-plugin": "^2.1.1",     "enzyme": "^3.1.1",     "enzyme-adapter-react-16": "^1.0.4",     "eslint": "^3.19.0",     "eslint-plugin-react": "^5.2.2",     "eventsource-polyfill": "^0.9.6",     "globule": "^1.0.0",     "h2o2": "^5.4.0",     "hapi": "^13.3.0",     "hapi-webpack-plugin": "^1.3.0",     "html-webpack-plugin": "^2.29.0",     "inert": "^4.1.0",     "isomorphic-fetch": "^2.2.1",     "json-loader": "^0.5.4",     "mocha": "^2.5.3",     "mocha-junit-reporter": "^1.11.1",     "nodemon": "^1.11.0",     "nyc": "^7.1.0",     "react-addons-perf": "^15.4.2",     "react-addons-test-utils": "^15.4.2",     "react-hot-api": "^0.4.5",     "react-hot-loader": "^1.3.0",     "webpack": "^2.6.1",     "webpack-dev-server": "^2.4.5",     "webpack-hot-middleware": "^2.6.0"   } }

Having the same issue. Probably this happens with React 16+ which removed the PropTypes object ( now you have to install a prop-types separated module ). Is this fix on the roadmap? Thanks


VnV Review

Dear @DeeshaPatel
My VnV is ready to be reviewed.
Thank you.

Dear @MinMah23. You did a great job! I have done my review.


Superuser managment using manage.py

Patch modifies superuser creation and password management.
Reason:
When I run playbook from master branch, I got the next error:
stderr: IntegrityError: Problem installing fixture '/tmp/graphite_dbdump.json': Could not load contenttypes.ContentType(pk=8): UNIQUE constraint failed: django_content_type.app_label, django_content_type.model

Tested on CentOS 6.5, Debian 7.6 and Ubuntu Trustry.
I got IntegrityError: column user_id is not unique first time I tried to login on CentOS, but everything works. I think this was a pre-existing problem so I will ignore it :)
Thank you!


fix(attrs): check key on setAttr

verify if key is invalid then catch error
fix #11040

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks for the commit! I don't understand how this fixes the issue though? Doesn't this just suppress the warning message?

looks like yes


Ability to change path by overriding task

Hey @mikstime, thank you for this PR!
Code looks good, but I need help understanding why is it needed - can you elaborate a bit more on what and why is happening here 😅 ? (I've already read through your comment)

Hey @mikstime, thank you for this PR!
Code looks good, but I need help understanding why is it needed - can you elaborate a bit more on what and why is happening here 😅 ? (I've already read through your comment)

I didn't want to change plugin's behaviour but wanted to integrate this plugin with mochawesome reporter. By overriding after:screenshot hook and changing imgPath it is possible to do so.
Posibile implementation presented bellow.
const pathMapping = {};
const on2 = (action, handler) => {
    if (action === 'after:screenshot') {
        const newHandler = async props => {
            const originalPath = props.path;

            const newProps = await handler(props);
            if (newProps) {
                await fs.copyFile(newProps.path, originalPath);
                pathMapping[originalPath] = newProps.path;
            }
        };
        on(action, newHandler);
    } else if (action === 'task') {
        handler.getPath = ({ path }) => pathMapping[path];
        on(action, handler);
    } else {
        on(action, handler);
    }
};

initPlugin(on2, config);

It is useful to know that by changing code above it is possible to replace image in the report file e.g combine screenshot and diff file together. I might or might not publish this as a separate package in the near future

If I understand correctly your code is just copying over the image files back to the original directory, right?

It's been a while since I finished with this problem. I believe that is exactly what it does.
I've tried implementing a proper solution for this problem and ended up rewriting plenty of code since there was a lot of unclear logic related to absolute/relative paths. Currently i can't share my solution.

I'm just wondering - currently there is a possibility to leave the images in the original screenshots directory by using imagesPath configuration option. Can you confirm if that could already help with a mock awesome situation?

Sorry, short on time currently. Won't try this one on my own.


Updated OOPs Content

#16

Hey try to link your files to the markdown

will try in some time...
I will be adding more content to the folder.

Oh okay sounds perfect


httpie-desktop: init at 2024.1.2

Description of changes
Desktop app for httpie

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

> nix build .#httpie-desktop
> tree result/
 result
└──  bin
   └──  httpie-desktop

@nbraud Done!


Tycho cannot perform Jake Farrell's free focus when stressed

** Fly Casual Release Version**
Latest 2.5.20240223.03
Describe the bug
Jake Farrell's (A-Wing) pilot ability can provide a free focus action to another ship. When Tycho Celchu (A-Wing) is stressed, they should still be able to perform this focus action as per their own pilot ability. This is not the case.
To Reproduce
Steps to reproduce the behavior:

Start a game with a squad containing 2 A-wings piloted by Jake Farrell and Tycho Celchu.
Use the first round to stress Tycho while keeping Jake behind Tycho near Range 1.
In the next round, fly Jakes's maneuver to him within Range 1 of Tycho, ideally either in front or behind with room for reposition.

On trigger of Jake's pilot ability, attempt to give free action to Tycho. Action will not be granted.

Expected behavior
Expect Tycho to be able to perform a focus action as per Tycho's pilot ability, since Tycho has fewer than 3 stress tokens.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform/Device (please complete the following information):

MacOS
Sonoma 14.5

Additional context
I cannot find a ruling on this, but it appears it should be true for both rules-as-written and rules-as-intended.

I'm having trouble replicating this. The one instance where I had an issue was actually correct--I had an Evade Action triggered before Jake's action tried to give me another one.
Note, this is really tough to test in isolation, I'm having troubles giving an A-Wing enough stress (doable, but each test is 30~ min, miss a step I have to start over).
Can you provide some concrete examples of when this is failing? I'll keep testing as I work through other bugs.

It did happen repeatedly at the time, but I can't reproduce it now either. I have several versions of the list to try again, including one that had custom Gina who might have interacted weirdly. I'll close for now and let you know if I can replicate again.


eight small changes

Mostly explained in the commit messages.
re. logging timestamps: someone was debugging an issue that turned out to be client-imposed send delays. The debugging process was impeded by oragono's log only offering second resolution for logline timestamps, hence the upgrade to millisecond resolution.

Nice, great set of changes :)


Connect to wallet after pairing is established

Once the dapp has a pairing (either by generating a new pairing or using an existing pairing), the Dapp will need to generate a Sign.Params.Connect object and pass it to the SignClient.connect
method and passed to SignClient.connect to connect to a wallet
The Sign.Params.Connect will need to contain

a map of type Map<String, Sign.Model.Namespace.Proposal> for requiredNamespaces
a map of type Map<String, Sign.Model.Namespace.Proposal> for optionalNamespaces
a map of type Map<String, String for properties
the selected pairing for pairing
(Logic can be copied from the ConnectViewModel file in the Sign:Dapp sample)

Once the wallet responds with either an approval or rejection of the session proposal, the DappDelegate will emit an event on the onSessionApproved or onSessionRejected methods respectively.

On approval, the dapp should navigate to an "Selected Session" screen similar to the SessionFragment in the Sign:Dapp sample.
On rejection, the dapp should navigate the user back to screen to the chain selection screen

Along with the screen to select chains, the dapp will also need another screen available at the same navigation level. This new "All Active Sessions" screen will allow users to see a list of all the active sessions
available through the SignClient.getListOfActiveSessions which will be displayed as a list. This method is blocking and must be called from a background thread. This list of active sessions must always be up to date. When
the DappDelegate.onSessionDelete is emitted, the dapp should refresh the list of active sessions.
Each item in the list will show the wallet name and the wallet icon.
If at any point there's an error, log it to the console and to Firebase

Closing. Already done in sample dapp


[Question] Bot Builder resources for portuguese language

System Information (Required)

SDK Language: .NET/C#
SDK Version: 3.8.1
Development Environment: LOCALHOST

Issue Description
I'd like to know if there a way to add the portuguese language to the available languages included in the SDK.
I mean, I've already downloaded a version from the repository, added the corresponding "Microsoft.Bot.Builder.pt.xlf" file to the project (with all text translated) and now, if I reference into my bot project with "custom" sdk, it works, but what if the sdk is updated?
I'd like to have the language already included.
I can send you the file, if you want it.
Regards,
Adrián

Hi @dirugadr
The Bot Builder is open source, and a Portuguese contribution would be appreciated.  Please review the Microsoft Open Source Code of Conduct. Then, fork the repository, switch to the develop branch, and add your "Microsoft.Bot.Builder.pt.xlf" to ./CSharp/Library/Microsoft.Bot.Builder/MultilingualResources. Also add the appropriate .resx in ./CSharp/Library/Microsoft.Bot.Builder/Resource  Then make a pull request and the Bot Framework engineers will review.
Thanks for using the Microsoft Bot Builder!

Contribution workflow:

Fork this repository (BotBuilder)
Create a new feature branch in your fork
Check-in your changes to your feature branch in your fork
Submit a Pull Request (PR) from your feature branch in your fork, back to BotBuilder/master
BotBuilder team will review PR and merge changes


Pagination just show 2 pages

Hi there,
sorry for writing here, but I'd like to make a pagination with instant meilisearch (js) like this << < 1 2 3 4 5 6 7 8 ... > 100.
I tried to work with the templates. for example last() { return }. It is return with the full function rendered in words.
I'm sure that I'm lame.
Can you help, how can I manipulate these widget to look like the example, and show more than two page number?
Thanks for your answear
Peter

Finally I wrote a custom pagination, but still 2 pages return, how can I set, how many pages return.
In addition I use infinite hits.

I accidentally closed it. I just wanted to wrote, that finally I wrote a custom pagination, but it still return with 2 pages. How can I set to show it more pages?

Other, if I try to set finitePagination true, I get this in console: MeiliSearchApiError: Json deserialize error: unknown field hitsPerPage, expected one of q, offset, limit, attributesToRetrieve, attributesToCrop, cropLength, attributesToHighlight, showMatchesPosition, filter, sort, facets, highlightPreTag, highlightPostTag, cropMarker, matchingStrategy at line 1 column 78

Hello @kamopeter,
Based on the error message, it appears that there is a version incompatibility between the installed instant-meilisearch and Meilisearch. Please keep in mind that the most recent version of instant-meilisearch (v0.10.1) is only compatible with Meilisearch v0.30. Resolving this incompatibility should fix the issue.
Thanks.

Thanks for your answear. I think a solved the problem.
Thanks a lot


ModuleNotFoundError: No module named 'agentless.fl'

Dear team, currently I tried to set up and run Agentless project in my local laptop.
But I faced the issue that ModuleNotFoundError: No module named 'agentless.fl'
Here is the log:
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ conda activate agentless
(agentless)
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ which python
/c/Users/DELL/anaconda3/envs/agentless/python
(agentless)
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ echo $PYTHONPATH
C:\Users\DELL\anaconda3\envs\agentless
(agentless)
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ export PYTHONPATH=$PYTHONPATH:$(pwd)
(agentless)
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ echo $PYTHONPATH
C:\Users\DELL\anaconda3\envs\agentless:/d/nau/Master/Term/Winter-2025/projects/Agentless
(agentless)
DELL@nhatminhdell MINGW64 /d/nau/Master/Term/Winter-2025/projects/Agentless (main)
$ python agentless/fl/localize.py --file_level --related_level --fine_grain_line_level \ --output_folder results/location --top_n 3 \ --compress \ --context_window=10
Traceback (most recent call last):
File "D:\nau\Master\Term\Winter-2025\projects\Agentless\agentless\fl\localize.py", line 9, in
from agentless.fl.FL import LLMFL
ModuleNotFoundError: No module named 'agentless.fl'
(agentless)
Could you please see the issue and show me the correct way ?

For your reference, I attached my images. I am using laptop DELL ( Windows 11):

For this error, I can solve it by setting PYTHONPATH point to the path where agentless folder is located.
For example, in my case, agentless folder is stored in Agentless project ( folder) so it would be:
export PYTHONPATH=/d/nau/playground/Winter-2025/projects/Agentless


Provide support to ingest data from a single data source into multiple Metadb instances

We are currently sychronizing a Metadb Test instance with our FOLIO Test application server. We would like guidance on sychronizing our FOLIO application server data to two Metadb instances. This does not appear to be covered in the metadb documentation at https://metadb.dev/doc/ at this time.

This is not currently supported, but I think it can be done if you are willing always to resync both Metadb instances together.

@hutchinsonca


telemetry causing performance issues

From a user on Slack:

have a Jupyter notebook that was using ipython-sql, sqlalchemy 1.4 and oracledb. I upgraded sqlalchemy to 2.x and I installed jupysql. The notebook is now extremely slow. A select from dual takes more than 20 seconds. What could be the problem? I am on VPN so I suspected that maybe a library is performing a network request and timing out. I defined the https_proxy in my shell; that made no difference.

In the slow notebook: 44s to create the connection. 21s to perform a query from dual

We need to ensure that the telemetry times out quickly and if it cannot communicate with the server, it should not attempt to do so again.

Update: I ran some tests on my laptop. I blocked posthog.com using littlesnitch and I couldn't reproduce the problem. The user's feedback suggested that our telemetry calls were taking too much time to time out but that wasn't my experience.
So we have to dig deeper into this. I actually didn't check what endpoint the posthog python library is hitting (so perhaps the domain isn't posthog.com?)

@edublancas Did you run anything specific? I ran some local tests on Windows and it works fine. Maybe it's something with the internet connectivity?

So we have to dig deeper into this. I actually didn't check what endpoint the posthog python library is hitting (so perhaps the domain isn't posthog.com?)

I used mitmproxy and it's app.posthog.com. Also, I don't think that our telemetry calls should affect the query execution.
thoughts?

did you block app.posthog.com with mitmproxy and found no issues?

If blocking isn't the problem it might be that some enterprise VPNs are throttling the connection?

yeah so looks like we're unable to reproduce the issue. I'll close it


yyyy.MM.dd

Can't parse "2018.09.30":
$ dateparse "2018.09.30"
fatal: parsing time "2018.09.30": hour out of range
$ dateparse "2018.09.30 00:37:43.234"
fatal: parsing time "2018.09.30 00:37:43.234" as "2006.09.20060:37:43.234": cannot parse "0:37:43.234" as "2006"

thanks for the report, will try to get to it soon.

sorry about being so slow


Multi line secret text?

Is there a way to do a multi line secret text block?
If i do this, it works:
@secret[this works]
If I do this, it doesn't work:
@secret[this
does not
work]

I will look into extending the regex to include multiple lines

Due to the way foundry parses the text for HTML Enrichment multiline isn't possible at this time


Make mktemp --tmpdir's argument optional

This matches GNU mktemp which has an optional argument for --tmpdir

Except it applies to both the short and longopt.
$ mktemp -p
mktemp: option requires an argument -- 'p'
Try 'mktemp --help' for more information.
$ ./mktemp -p
bash: ./mktemp: No such file or directory

Ahem: that second one should obviously be:
$ ./mktemp -p
/tmp/tmp.XXXXqDjUXU


Saved password not used upon disconnect

I have a SSH session with a saved password. When I exit the session and close Terminus cleanly, there is no issue and I can reconnect without re-entering the password.
However, when the session is interrupted (for example because the computer goes to sleep), I am asked again for the password when I reconnect the session.
This behaviour was observed in Terminus for Windows.

Please retry with the latest release, thanks.

Just tried with 1.0.79, the same behavior still persists:

I connect to a server using a saved password.
I trigger a connection error by disabling my network interface.
The connection is lost.
Upon reconnect, the stored password is wiped and the software asks for it again.


US17: On the menu screen, a "Leaderboard" button is displayed.

Closed with commit c2b6b012c40bb24167a785c6b7d584d98805a4a5


update GE tests scraper to use page 4 and 6 for PCR test data

@metaodi do you think this is fine?
a more reasonable approach could be to go through all the pages and check if the expected title is found and parse the page then...

@metaodi do you think this is fine?
a more reasonable approach could be to go through all the pages and check if the expected title is found and parse the page then...

It's just very likely that this code must be adapted later. Especially for GE, which changes it's documents quite regularly. I'm fine with merging it like that, because GE will always require special care 😉

@metaodi do you think this is fine?
a more reasonable approach could be to go through all the pages and check if the expected title is found and parse the page then...

It's just very likely that this code must be adapted later. Especially for GE, which changes it's documents quite regularly. I'm fine with merging it like that, because GE will always require special care wink

Sure, I've updated the PR. I hope that this robust enough for now...


Add BuildContext.size as a convenience getter

Developers need to get the size of the BuildContext sufficiently often
that we should provide a convenient getter for the value. Having this
getter is also an opportunity to catch common mistakes and provide
useful error messages that guide developers towards better patterns.
Fixes #2321

@Hixie

LGTM


wl_registry@2: error 0: invalid version for global wl_data_device_manager (4): have 2, wanted 3

BTW, I can see that the repo is moving today, but it hasn't moved yet.
I don't exactly know how these versions work and all that (not much info on the web), but it seems to be related to wlc/src/compositor/seat/data.c line 174 and line 235.
If someone could give some hints as to how I could implement it myself, I'd be glad too.

Needs more context. What were you doing when you encountered this problem?

This is BTW on with wlc 0.0.10, sway 0.14, and it happens when running an SDL program using the wayland videodriver.

I've only tested it with Natural Selection 2 (a game). Will be hard for you to reproduce, which is why I think it would be best if I implemented it myself.

Alright, fair enough. This ticket belongs on wlc, can you open a new one there?

sure


drivers: dma: sam0: fix macro definition

Fix the definition of DMA_SAM0_IRQ_CONNECT
pre-processor directive, so that it does not
pass an extra argument ('priority') to the
DT_INST_IRQ_HAS_IDX macro.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

Actually not sure yet about the fix - hang on.


[OTHER] Landing Page Design Improvements

What would you like to share?

Different Colors for Landing Page Login Buttons (Club and User)  Club -> Purplish, User -> Bluish
Parallax Effect on the Landing Page hero Image with Gradient Overlay.

Additional information

Not Exactly this, but something like this would look better.
🥦 Browser
Google Chrome
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

@stereogon The parallax effect issue has been assigned to someone else
You can make changes to the buttons and make a PR
After they have made the Parallax effect, and if there's any bug/broken stuffs you can always make another issue !


how to get value from act_data in action_trace table for act_name='transfer'?

I would like to receive detailed information on transfers for the account

You need to use an abi deserializer, such as abieos or eosjs

@tbfleming maybe it makes sense to save the result of this action immediately in storage (postgresql) when filling out the scheme?

@tbfleming

You need to use an abi deserializer, such as abieos or eosjs
hm, i just tried eosjs...

const fromHexString = hexString => new Uint8Array(hexString.match(/.{1,2}/g).map(byte => parseInt(byte, 16)));
const { Api, JsonRpc, RpcError } = require('eosjs');
const fetch = require('node-fetch');
const { TextEncoder, TextDecoder } = require('util');
const rpc = new JsonRpc('http://<IP_ADDRESS>:8888', { fetch });
const api = new Api({ rpc, textDecoder: new TextDecoder(), textEncoder: new TextEncoder()});
/**

   receiver   | act_account  | block_num |                          transaction_id                          | action_ordinal |                                                         act_data
--------------+--------------+-----------+------------------------------------------------------------------+----------------+--------------------------------------------------------------------------------------------------------------------------
 eosio.token  | eosio.token  |  17833498 | 5713A31DA5EFFDAB86AB618B800B88C0115DBD9DBF5C6CFA2274CCEF0C1EF5DE |              2 | \x3042a6875e7a90c310b2b9062173b239e80300000000000004454f530000000000
**/
api.rawAbiToJson(fromHexString('3042a6875e7a90c310b2b9062173b239e80300000000000004454f530000000000'));

node index.js
/home/duo/sources/eosjs_test/node_modules/eosjs/dist/eosjs-serialize.js:133
            throw new Error('Read past end of buffer');
            ^

Error: Read past end of buffer
    at SerialBuffer.getUint8Array (/home/duo/sources/eosjs_test/node_modules/eosjs/dist/eosjs-serialize.js:133:19)

rawAbiToJson converts an abi, not action data

converts an abi, not action data
so
how to get value from act_data in action_trace table for act_name='transfer'?

@tbfleming if I understood everything correctly, it is necessary to retrieve this data before inserting it into the database using this method:
https://github.com/EOSIO/eos/blob/master/libraries/chain/include/eosio/chain/controller.hpp#L273

fill-pg leaves it in binary to save space and to save fill time. JSON conversion expands the size by large factor. Some applications work better with data in its binary format; e.g. wasm-ql. Applications which need the data in json, but only need a small subset (e.g. transfers) are better off not having the overhead of the remaining data converted to json.
If the database will only be used by apps which need a small subset of the data, then a custom-written filler that works in place of fill-pg will probably be a better match.


Change default subcluster type to "primary" always

Change default subcluster type to primary always
Remove the auto case conversion for the type string (so now when a user provides a type string with upper-case letters, e.g. Primary, an error will be reported)

Do we support multiple primaries? If no, what happens if there are more than one subcluster with omitted type?

Do we support multiple primaries? If no, what happens if there are more than one subcluster with omitted type?

We do support multiple primaries, indeed this default to primary behavior is the same as that in v1beta1 where we set isPrimary to true by default.


ci: Add rocksdb to ignore audit (for now)

Problem
There's a security advisory out for rocksdb, and audit is failing.
Solution
Ignore RUSTSEC-2022-0046 until we update to the newest Solana 1.11 crates.

Audit passed, gonna merge early


Update account.json

also, are the keys supposed to say "pricacy" and not "privacy"?

also, are the keys supposed to say "pricacy" and not "privacy"?

should be privacy, pricacy is a spelling error


Fix broken 'bin/import-repository-collaborators.rb` script

Fix syntax error and update outdated calls.

Some of the checks fail for this PR because it's from a fork, rather than a branch.
I'll temporarily disable branch protection and merge it.

Some of the checks fail for this PR because it's from a fork, rather than a branch.
I'll temporarily disable branch protection and merge it.


Add goals

I'll try to add some people to a deadends of labyrinth. They will be like a some goals for player. After collecting all of them game will be wined

Take lever and dynamite -> Take can -> Open path by destroing the wall -> Fill the generator -> Leave the mine

I added all the goals. All that's left is ui


Bug: any modification to root files triggers VSCode extension reload

This paired with #1540 is pure nightmare fuel.
OS: Linux (GitHub Codespaces), but I can replicate this behavior on macOS as well
VSCode:  1.71.0
UnoCSS extension: v0.45.15
Vite config:
import { defineConfig } from 'vite'
import unocss from 'unocss/vite'

export default defineConfig({
  // Must pass an option or else the extension won't load
  //               ↓
  plugins: [unocss({})]
})

Demo:
https://user-images.githubusercontent.com/44045911/188325144-35d645e5-ba61-4b90-af66-078950c8de5d.mov

fixed by #1546, this issue could be closed.


JIRA "next-gen" project: creation issue

Bug description
So it seems that so-called Next-Gen JIRA projects are different... when wanting to push a jira issue from dojo to such a project, I got
celeryworker_1  | [2020-07-21 10:23:12,040: ERROR/ForkPoolWorker-44] Task add_issue_task[f51792c7-7886-436f-993e-66d9b4468159] raised unexpected: IndexError('list index out of range',)
celeryworker_1  | Traceback (most recent call last):
celeryworker_1  |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
celeryworker_1  |     R = retval = fun(*args, **kwargs)
celeryworker_1  |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
celeryworker_1  |     return self.run(*args, **kwargs)
celeryworker_1  |   File "/app/dojo/tasks.py", line 268, in add_issue_task
celeryworker_1  |     add_issue(find, push_to_jira)
celeryworker_1  |   File "/app/dojo/utils.py", line 1398, in add_issue
celeryworker_1  |     if 'duedate' in meta['projects'][0]['issuetypes'][0]['fields']:
celeryworker_1  | IndexError: list index out of range

Closing, will not try to validate now. Turns out next-gen projects within the instance don't even share issue types, so... no time to test that.

We could do a simple check when someone creates/saves a JIRA config to make sure we can retrieve the metadata. Wouldn't be to much work and makes it clear early on that it won't work.


For WebAppSec, use  for spec metadata (as CSS WG does)

This is already the header-ED file, so no need for an include-if=ED on it; it'll always be true.

This is already the header-ED file, so no need for an include-if=ED on it; it'll always be true.

oofs — thanks, fixed now


Create PR/branch/ami jobs for ovn-kubernetes project

Signed-off-by: Rajat Chopra<EMAIL_ADDRESS>@stevekuznetsov PTAL
I still don't have a great idea about what is going on here. Please review this attempt.

Closing this in favour of https://github.com/openshift/aos-cd-jobs/pull/1119


🐛 [firebase_messaging] Failed to register a ServiceWorker for scope ('http://localhost:/firebase-cloud-messaging-push-scope') with script ('http://localhost/firebase-messaging-sw.js'): The script has an unsupported MIME type ('text/html')

Bug report
Describe the bug
I've made a setup with flutterfire config, where currentPlatform was generated with FirebaseOptions for the web. However, I'm encountering an error when trying to get the token:
"Error during device token receiving on app init: FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope ('http://localhost/firebase-cloud-messaging-push-scope') with script ('http://localhost/firebase-messaging-sw.js'): The script has an unsupported MIME type ('text/html'). (messaging/failed-service-worker-registration)."
Sample project
run flutter create {project_name}
remove all platforms except web
run the script on the root of the project
#!/bin/bash

flutterfire config \
  --project=YOUR_PROJECT \
  --platforms=web \
  --out=lib/firebase_options/firebase_options_tst.dart \
  --yes

Update main.dart
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter/material.dart';
import 'package:{project_name}/firebase_options/firebase_options_tst.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  FirebaseMessaging.instance.getToken(); // give or not give vapidKey error will be the same

  runApp(const MaterialApp(
    home: Scaffold(body: Center(child: Text('text'))),
  ));
}

Flutter doctor
Run flutter doctor and paste the output below:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.6 22G120 darwin-arm64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources
! Doctor found issues in 1 category.
Click To Expand
Error: FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope ('http://localhost:50252/firebase-cloud-messaging-push-scope') with script ('http://localhost:50252/firebase-messaging-sw.js'): The script has an unsupported MIME type ('text/html'). (messaging/failed-service-worker-registration).
2

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 327:10  createErrorWithStack
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 337:28            _throw
dart-sdk/lib/core/errors.dart 120:5                                           throwWithStackTrace
dart-sdk/lib/async/zone.dart 1386:11                                          callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                              _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                               _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:15           <fn>

Flutter dependencies
Click To Expand
Dart SDK 3.1.2
Flutter SDK 3.13.5
tmp 1.0.0+1

dependencies:
- cupertino_icons 1.0.6
- firebase_analytics 10.5.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 2.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.3.7 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 14.6.9 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]

dev dependencies:
- flutter_lints 2.0.3 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]

transitive dependencies:
- _flutterfire_internals 1.3.7 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- collection 1.17.2
- fake_async 1.3.1 [clock collection]
- firebase_analytics_platform_interface 3.7.1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.5+1 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.8.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.8 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.5.8 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.9.1
- path 1.8.3
- plugin_platform_interface 2.1.6 [meta]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.6.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- vector_math 2.1.4
- web 0.1.4-beta

Hi @aliaksei-liavonik, some extra setup is required for you to get this working properly.
Create a firebase-messaging-sw.js file in your web directory and add the following. Replace the placeholder values with the values for your firebase project.
importScripts("https://www.gstatic.com/firebasejs/9.10.0/firebase-app-compat.js");
importScripts("https://www.gstatic.com/firebasejs/9.10.0/firebase-messaging-compat.js");

firebase.initializeApp({
  apiKey: 'xxx',
  appId: 'xxx,
  messagingSenderId: 'xxx',
  projectId: 'xxx',
  authDomain: 'xxx',
  databaseURL:'xxx',
  storageBucket: 'xxx',
  measurementId: 'xxx',
});
// Necessary to receive background messages:
const messaging = firebase.messaging();

// Optional:
messaging.onBackgroundMessage((m) => {
  console.log("onBackgroundMessage", m);
});

@danagbemava-nc , I know that this will be working, but what is the point of generation if I still need to provide these things by hand, I have 5 flavors in the app, so doing every change in the Firebase I need to make manual changes to these keys. So why flutterfire config doesn't generate firebase-messaging-sw.js?
Also, I didn't find out how to make firebase-messaging-sw.js with flavors, can I specify the path to the firebase-messaging-sw.js file?

Hi @aliaksei-liavonik, the cli for generating the files lives in a different repo. There's an issue requesting that it generate the file in https://github.com/invertase/flutterfire_cli/issues/215 and there's also an issue requesting flavor support for the cli in https://github.com/invertase/flutterfire_cli/issues/14.
Kindly follow these issues for updates. For now you'll have to manually make those changes yourself.
I'll be closing this since the cli tool lives in a different repo.
Thank you


Add rainbow esp mode

added a hue shifting rainbow esp mode that lets you speed up or slow down the speed that it hue shifts

uhhh this was not supposed to also contain the other commits that had to do with keybinds


Use Fibers to handle IO concurrently

This prepares us to use fibers to handle a physics clock
Use queue_packet to queue a packet via a fiber
Use send_packet! if you must override this behavior

sometimes you need to send two or more packets in the right order to not trigger anticheat. Does queue_packet guarantee that order? Or would you need do something like
spawn do
  client.send_packet! SwingArm.new
  client.send_packet! PlaceBlock.new
end

I'm 85% sure it'll end up being reliable scheduling, but I can use Channels instead if we need a 100% guarantee.
This queuing mechanism is a little more efficient than using channels


[🐛 BUG] Can't build docs because of missing material.extensions module for mkdocs

What went wrong? 🤔
I tried building the docs by git cloning the taipy-doc repo, creating a clean virtual environment and following the installation steps (https://github.com/Avaiga/taipy-doc/blob/develop/INSTALLATION.md)
When I do mkdocs serve, I get this error:
Error: MkDocs encountered an error parsing the configuration file: while constructing a Python object
cannot find module 'material.extensions.emoji' (No module named 'material.extensions')
  in "C:\Users\asaju\Desktop\taipy-doc\mkdocs.yml", line 318, column 20

I tried to redo the installation from scratch, I tried pip install mkdocs-material-extensions and I still get this error. When I remove this requirement from mkdocs.yml I get another error message while it is building the docs
How do I solve this?
Expected Behavior
No response
Steps to Reproduce Issue

A code fragment
And/or configuration files or code
And/or Taipy GUI Markdown or HTML files

Solution Proposed
No response
Screenshots

Runtime Environment
No response
Browsers
No response
OS
No response
Version of Taipy
No response
Additional Context
No response
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

The bug fixed itself today without me changing anything, wtf


Store TST id in session for OAuth 1.0 delegated clients

@mmoayyed this is a 2nd issue that I ran into with twitter delegated login - the TST ticket id was lost when twitter redirected back to CAS.  As a starting point I'm proposing storing the ticket id in the Session Cookie.

I'm not sure why you want to keep the state parameter, but in the pac4j spirit, it should go into the authentication attributes of the user profile.

@leleuj thanks for the comment - in the latest changes, CAS is generating a TransientSessionTicket for a delegated client login request.  For other protocols, eg oauth2, it uses the state param to pass the TST id back through to the login callback.  For Oauth 1 providers (eg Twitter), the latest CAS version would fail logging in because the TST id wasn't available after the callback.  In the absence of a way of receiving the TST id in the callback from the OAuth1 provider (though I'd be happy to hear of a way of achieving this, I don't think the UserProfile applies as the user isn't logged in yet), I've add a simple work around by storing the TST ID in the session, similar to the way it is already done for the SAMLClient (which will be serialised to a cookie later in the DelegatedClientNavigationController).
Note that I've also added a change to rename the constants for clarity.

LGTM.
I am quite sure this design needs to be revisited later, as I especially am not in favor of instanceof checks, but it's perfectly good for now.


drivers: spi_bitbang: Add support for SPI_TRANSFER_LSB flag

The SPI bitbang driver now supports LSB-first transfers. Additionally, when SPI_LINES_OCTAL flag is set, the driver will yield an error.
Transfer without SPI_TRANSFER_LSB:

Transfer with SPI_TRANSFER_LSB (the result of this pull request):

up

@teburd could you give this one a look? Thanks