End run-p process from within process

I'm writing a ci test that needs to run two commands in parallel, one is the server, the other is the test.
Using run-p start test I can start the server and run the test. There's a notable issue with getting that working here.
https://stackoverflow.com/questions/37466757/how-do-i-run-postmans-newman-in-ci-environment
But after all is said and done, and the test process finishes I need to exit the entire run-p process. Is there away to end the process from within the process?
What I need is sort of like.
run-p start "test && kill {this}"

Thank you for this issue.
Interesting.
Maybe --race option solves this.
When one script finished, npm-run-all/run-p kills other scripts.

@mysticatea Is --race an option? I'm getting ERROR: Invalid Option: --race. Is it implemented yet?
  "scripts": {
    "echo-hi": "echo 'hi'",
    "sleep-15": "sleep 15",
    "sleep-10": "sleep 10",
    "sleep-100": "sleep 100",
    "sleep-1": "sleep 1",
    "start": "run-p sleep-1 sleep-100 --race"
  },

Yup, I will add the option if it solves your problem :)

Is this released yet on npm? I am also getting the error saying the option doesn't exist.


Can I publish the track in Muted?

my application need to publish track muted by default.  but I cant find option controll muted in TrackPublicationOptions
so, I want to add muted option to SDK  like below
// localparticipant.go

func (p *LocalParticipant) PublishTrack(track webrtc.TrackLocal, opts *TrackPublicationOptions) (*LocalTrackPublication, error) {
	if opts == nil {
		opts = &TrackPublicationOptions{}
	}
	kind := KindFromRTPType(track.Kind())
	// default sources, since clients generally look for camera/mic
	if opts.Source == livekit.TrackSource_UNKNOWN {
		if kind == TrackKindVideo {
			opts.Source = livekit.TrackSource_CAMERA
		} else if kind == TrackKindAudio {
			opts.Source = livekit.TrackSource_MICROPHONE
		}
	}

	pub := NewLocalTrackPublication(kind, track, *opts, p.engine.client)
	pub.onMuteChanged = p.onTrackMuted

	req := &livekit.AddTrackRequest{
		Cid:        track.ID(),
		Name:       opts.Name,
		Source:     opts.Source,
		Type:       kind.ProtoType(),
		Width:      uint32(opts.VideoWidth),
		Height:     uint32(opts.VideoHeight),
		DisableDtx: opts.DisableDTX,
		Stereo:     opts.Stereo,
		Stream:     opts.Stream,
		Muted:      opts.Muted,     <- add here
	}
	if kind == TrackKindVideo {
		// single layer
		req.Layers = []*livekit.VideoLayer{
			{
				Quality: livekit.VideoQuality_HIGH,
				Width:   uint32(opts.VideoWidth),
				Height:  uint32(opts.VideoHeight),
			},
		}
	}

and, change TrackPublicationOptions
// publication.go

type TrackPublicationOptions struct {
	Name   string
	Source livekit.TrackSource
	// Set dimensions for video
	VideoWidth  int
	VideoHeight int
	// Opus only
	DisableDTX bool
	Stereo     bool
	// which stream the track belongs to, used to group tracks together.
	// if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together
	Stream string
	Muted bool    <- add here
}

That's not possible currently. The track will need to send a few packets in order to be registered correctly.

@davidzhao
thank you for your reply. If that's the case, I don't have a choice, I'll try to publish and then mute.


Cannot specify extdir in launch.json for mobile projects.

My project is using ANEs. Is it possible to specify extdir in launch.json?

Native extensions are not supported yet!
Duplicate #60


Consolidate version specific javascript-node/typescript-node definitions into two

This is the next update in https://github.com/microsoft/vscode-dev-containers/issues/294
Moves from a total of 6 definitions with versions for Node.js to 2 - javascript-node and typescript-node that use a build arg instead. Still generates all 6 images.

LGTM! (Can't "approve" anymore since it is already merged.)


Use new control-plane taint toleration

This PR adds a new toleration for the node-role.kubernetes.io/control-plane taint to occurrences where the old one already exists.

I am not sure how to test these changes.
Could you help me out here @giantswarm/team-clippy ?

this should be tested through mc-bootstrap CI
I will run a test and update here

test succeded


How to Adjust "Speaking Style" for Neural Voices

Is there a way to adjust the "Speaking Styles" in SSML for the Neural Voices like Andrew, similar to how it can be done for voices like Jason?

# Define the SSML with the voice style parameters
ssml_string = """
<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xml:lang='zh-CN'>
  <voice name='zh-CN-XiaoxiaoNeural'>
    <mstts:express-as style='poetry-reading'>
      登鹳雀楼
      王之涣〔唐代〕
      白日依山尽，黄河入海流。
      欲穷千里目，更上一层楼。
    </mstts:express-as>
  </voice>
</speak>
"""

Andrew voice doesn't support style. You can find a list of voice that support style here.
https://learn.microsoft.com/azure/ai-services/speech-service/language-support?tabs=tts#voice-styles-and-roles

Okay, thank you!


deploy:release - mkdir: cannot create directory ‘****/releases/1’: No such file or directory

Q
A

Issue Type
Question

Deployer Version
v6.4.3

Local Machine OS
macOS 10.14 (but shouldn't be relevant in this case)

Remote Machine OS
Debian 9

PHP Version
7.0.33

Description
Hello! I have a problem when I run the deployment process to production environment.
In the "deploy:release" it returns the failed command:
The command "cd public_html && (mkdir public_html/releases/1)" failed.

Exit Code: 1 (General error)

mkdir: cannot create directory ‘public_html/releases/1’: No such file or directory

The ssh user has all the privileges (the user is not root), it is an ssh connection of my server for one project.
I think there is a problem for non-root users. If I run the same recipe with the root user, everything works correctly, but I need to run with the specific project user
The following command is executed successfully:
cd public_html && (mkdir releases/1)

Should "deploy_path" be deleted?
Manually execute the two commands with the user not "root" from the folder where I connect and the deployer command does not work.
Why?
Steps to reproduce
Nothing, only run dep deploy pro
Content of deploy.php
<?php
declare(strict_types=1);

namespace Deployer;

require 'recipe/common.php';

// Project name
set('application', 'wp-****');

// Project repository
set('repository', '****');

// Basic configurations
set('allow_anonymous_stats', false);
set('timezone', 'Europe/Madrid');
set('keep_releases', 4); // Number to keep releases

set('ssh_type', 'native');
set('ssh_multiplexing', true);
set('git_tty', true); // Allocate tty for git clone. Default value is false.

// Windows Compatibility
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
	set('ssh_multiplexing', false);
	set('git_tty', false);
}

// WordPress configurations
set('writable_mode', 'chown'); // chmod, chown, chgrp or acl.

// Shared files/dirs between deploys
set('shared_files', [
	'public/.htaccess',
	'public/wp-config.php'
]);
set('shared_dirs', [
	'public/wp-content/uploads'
]);

// Writable dirs by web server
set('writable_dirs', [
	'public/wp-content/uploads'
]);

// Delete directories or files
set('clear_paths', ['deploy.php']);
set('cleanup_use_sudo', true); // Use sudo for cleanup function

// Hosts
localhost('localhost')
	->stage('local')
	->set('http_user', 'www-data')
	->set('deploy_path', '/app/www/{{application}}');

host('pro')
	->stage('pro')
	->hostname('****')
	->port(22)
	->user('****')
	->set('http_user', '****')
	->forwardAgent(true)
	->multiplexing(true)
	->set('writable_use_sudo', false) // Using sudo in writable commands?
	->set('branch', 'master')
	->set('deploy_path', 'public_html');

// Tasks
desc('Deploy your project');
task('deploy', [
	'deploy:info',
	'deploy:prepare',
	'deploy:lock',
	'deploy:release',
	'deploy:update_code',
	'deploy:shared',
	'deploy:writable',
	'deploy:vendors',
	'deploy:clear_paths',
	'deploy:symlink',
	'deploy:unlock',
	'cleanup',
	'success'
]);

// If deploy fails automatically unlock.
after('deploy:failed', 'deploy:unlock');

Output log
➤ Executing task deploy:release
[pro] > cd public_html && (if [ -h release ]; then echo 'true'; fi)
[pro] > cd public_html && (if [ -d releases ] && [ "$(ls -A releases)" ]; then echo 'true'; fi)
[pro] > cd public_html && (if [ -d public_html/releases/1 ]; then echo 'true'; fi)
[pro] > cd public_html && (date +"%Y%m%d%H%M%S")
[pro] <<PHONE_NUMBER>1030
[pro] > cd public_html && (echo '20190306161030,1' >> .dep/releases)
[pro] > cd public_html && (mkdir public_html/releases/1)
[pro] < mkdir: cannot create directory ‘public_html/releases/1’: No such file or directory

Exception trace:
 () at /app/vendor/deployer/deployer/src/Ssh/Client.php:99
 Deployer\Ssh\Client->run() at /app/vendor/deployer/deployer/src/functions.php:304
 Deployer\run() at /app/vendor/deployer/deployer/recipe/deploy/release.php:131
 Deployer\Deployer::Deployer\{closure}() at n/a:n/a
 call_user_func() at /app/vendor/deployer/deployer/src/Task/Task.php:105
 Deployer\Task\Task->run() at /app/vendor/deployer/deployer/src/Executor/SeriesExecutor.php:60
 Deployer\Executor\SeriesExecutor->run() at /app/vendor/deployer/deployer/src/Console/TaskCommand.php:142
 Deployer\Console\TaskCommand->execute() at /app/vendor/symfony/console/Command/Command.php:255
 Symfony\Component\Console\Command\Command->run() at /app/vendor/symfony/console/Application.php:953
 Symfony\Component\Console\Application->doRunCommand() at /app/vendor/deployer/deployer/src/Console/Application.php:133
 Deployer\Console\Application->doRunCommand() at /app/vendor/symfony/console/Application.php:248
 Symfony\Component\Console\Application->doRun() at /app/vendor/symfony/console/Application.php:148
 Symfony\Component\Console\Application->run() at /app/vendor/deployer/deployer/src/Deployer.php:331
 Deployer\Deployer::run() at /app/vendor/deployer/deployer/bin/dep:126

Should "deploy_path" be deleted?

No. And try acl.

No. And try acl.

Edit to set('writable_mode', 'acl'); but the command failed.
Do I have an error in my recipe?
Output log with acl
➤ Executing task deploy:release
[pro] > cd public_html && (if [ -h release ]; then echo 'true'; fi)
[pro] > cd public_html && (if [ -d releases ] && [ "$(ls -A releases)" ]; then echo 'true'; fi)
[pro] > cd public_html && (if [ -d public_html/releases/1 ]; then echo 'true'; fi)
[pro] > cd public_html && (date +"%Y%m%d%H%M%S")
[pro] <<PHONE_NUMBER>3524
[pro] > cd public_html && (echo '20190306173524,1' >> .dep/releases)
[pro] > cd public_html && (mkdir public_html/releases/1)
[pro] < mkdir: cannot create directory ‘public_html/releases/1’: No such file or directory

THis command is incorrect: cd public_html && (mkdir public_html/releases/1)
Should be without public_html

->set('deploy_path', 'public_html');

Change to full path: 	->set('deploy_path', '/var/.../public_html');

->set('deploy_path', 'public_html');

Change to full path:  ->set('deploy_path', '/var/.../public_html');

Yes, I edit to ->set('deploy_path', '~/public_html'); and the process run successfully
Thank you very much!


Wallpaper does not display

I'm very new to Arch, but just got a fresh install running today, installed Hyprland and hyprpaper, and created the following config in ~/.config/hypr/hyprpaper.conf:
preload = ~/landscape.jpg
wallpaper = eDP-1, ~/landscape.jpg

splash = true

It will not display for me, despite the fact hyprpaper is definitely running after starting Hyprland. I ended up removing it from exec-once in Hyprland.conf and executed hyprpaper manually after Hyprland started. It successfully preloaded my image, but froze and did not update the wallpaper after outputting [LOG] hyprpaper socket started at /tmp/hypr/some path/.hyprpaper.sock (fd: 4)
I am using the hyprpaper-git package from the AUR. Does anyone know a fix?

Same to me

Have you tried removing the space before your wallpaper path when setting it?
ie wallpaper = eDP-1,~/landscape.jpg

Mine is like this and works pretty well. Try to put the images into folders. I test with images direct in ~ and works too.
hyprland.conf:
exec-once = hyprpaper

hyprpaper.conf:
preload = ~/Wallpapers/background3.jpg
wallpaper = eDP-1,~/Wallpapers/background3.jpg

I also had this problem it took me an hour to realize that hyprpaper wasn't even installed


Fix ScoreMethod.CVSSV31 serialization

The CycloneDX schema for both JSON and XML defines the possible values for the field that uses ScoreMethod as its type:
https://cyclonedx.org/docs/1.5/json/#vulnerabilities_items_ratings_items_method
https://cyclonedx.org/docs/1.5/xml/#type_scoreSourceType
In both of these cases the correct representation of CVSS v3.1 seems to be the string "CVSSv31". For some reason, the library serializes this as "CVSSv3.1", and thus generated files fail schema validation.

@coderpatros Could you help me with merging this?


New Feature: Now Playing

Hi,
is there an ETA for the "Now Playing" feature?

Hi @Butzlabben,
Unfortunately, there is no ETA for Now Playing feature. If you would like to contribute, you're always welcome to Discord Server.
Thank you,
Oguzhan


sim: add bootstrap test

This should fix bootstrap in swap-move along with other fixes.
@d3zd3z After some issues I've found working on this PR, I think we should just remove the MCUBOOT_OVERWRITE_ONLY_FAST option and make it the default behavior when doing overwrite-only, what do you think?
Fixes #706, #738

I don't think commit 738c8b7 is quite right. If I'm not mistaken, "BOOT_CURR_IMG(state)" doesn't mean primary/secondary, but rather which image is being checked. So, if trying to bootstrap an image that isn't the first one -- which I happen to be currently doing -- this will fail. Removing that check lets me bootstrap my second image.
Wouldn't it be sufficient to only have the erased header check there?

Wouldn't it be sufficient to only have the erased header check there?

Yes I agree, it was a mess-up on my part, I think it's safe to remove the check you mentioned. Have you tried bootstrapping a multi-image test in the simulator?

I haven't used the simulator, and we're behind quite a bit from master since we're close to release. But, for what it's worth, I did try a series of real-world tests, and removing the check did allow me to bootstrap the primary slot in my second image.

I haven't used the simulator, and we're behind quite a bit from master since we're close to release. But, for what it's worth, I did try a series of real-world tests, and removing the check did allow me to bootstrap the primary slot in my second image.

Ok, what MCU did you use for testing? Please send a PR.


Add Bandwidth Hero to built with Semantic UI list

Bandwidth Hero is a browser extension I've build using Semantic UI React for its popup interface.

Codecov Report

Merging #2284 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2284   +/-   ##
=======================================
  Coverage   99.73%   99.73%
=======================================
  Files         152      152
  Lines        2652     2652
=======================================
  Hits         2645     2645
  Misses          7        7

Continue to review full report at Codecov.

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

Thank you!

Released in<EMAIL_ADDRESS>


Ember Server - Delayed Processing with TLS Requests

I switched my kinesis-mock to use the Ember backend per a discussion w @djspiewak and @ChristopherDavenport. After doing so, one of my functional tests started failing non-deterministically: https://github.com/etspaceman/kinesis-mock/blob/main/src/fun/scala/kinesis/mock/DescribeStreamSummaryTests.scala#L42-L56
This will run 11 requests in parallel and check the response. In successful iterations, this test takes about 1.5 seconds in total (including the test setup). In the failed scenarios, it times out after 30 seconds.
I did some research into what is happening. Attached the logs from one of my CI runs. If you do a search for "2021-06-20 15:50:14", you'll find the logs from the server when the test starts. 10 of the 11 streams get processed at this timestamp. stream7, however, isn't processed until "2021-06-20 15:50:45". So almost exactly 30 seconds later.
There is a ShutdownTimeout in Ember that is set to 30 seconds, which might be a clue. I'm kind of grasping at straws here though.
I have also only seen this on TLS enabled servers. Might be a coincidence. I'll mention if I see it on a plain-text server.
6_Print Docker Logs.txt

I've started witnessing this issue on non-parallel tests as well. So far this is only occurring on the TLS server so I'm betting it has to do with the TLS setup in http4s.

@etspaceman just to validate the 30 second shutdown timeout theory, could you maybe raise or lower that to another value and see if the processing time changes ?

Random thought: given that this is CE2, we probably have to consider fairness here. Anything that bounces into TLS land would hold a thread for a long period of time. 30 seconds though does seem a bit extreme.

That is a good callout @djspiewak - I'm using ExecutionContext.global in Blaze but not in Ember (which would use the fixedThreadPool from IOApp). That would explain a couple of things:

Why its only showing up in the Ember server
Why I cant recreate it locally

I believe this was resolved with a recent update from FS2. Closing.


VSCode image diff should show previous and new image

VSCode Version: 1.11.1
OS Version: Mac OS Sierra

Steps to Reproduce:

Replace a jpg/png with new image
Go to diff view

You'll see new image, but old image is forced to text version with lots of unreadable characters.

#12304


Traefik in docker swarm cluster mode:  Traefik not running on the manager node

CONTEXT
Our swarm cluster mode setup is 1 drain manager node + 4 active worker node.  Our manager node is drain because we do not want to overload the manager with container which can lead to losing the manager and losing the complete swarm. Because the manager is in drain mode we cannot use Traefik. quote in the documentation:
"The only requirement for Træfik to work with swarm mode is that it needs to run on a manager node - we are going to use a constraint for that."
FEATURE
Would it be possible to run traefik not in the manager mode?
WORKAROUND

Using another type of swarm cluster mode (example: 3 active manager node + 1 active worker node).  The issue our company do not want to change the cluster setup
Active the manager node (1 active  manager node + 4 active worker node) and adding  constraint in containers that only the traefik container node is allow to run on the manager node.

Hello @TingShingIp .
Many thanks for interest in the project.
Træfik needs to listen to the Docker Swarm API to update its configuration.
Unfortunately, today Docker Swarm does not allow to listen to its API from the worker nodes.
That's why we cannot do this feature.
I close the issue but feel free to join our Slack workspace for more community #support.


Create a development workflow inside Azure DevOps. This workflow will be used to start automated tests and bounce each of them against our Azure subscription

Issues should have a description.


exportFlattenedVector does not support nested encoding and non-scalar types

Description
In https://github.com/facebookincubator/velox/commit/98308143adc593fabbbf23f1b9a12c02d462fed6, flattenDictionary and flattenConstant are set as true for Parquet write, which relies on Bridge to convert Velox vector as Arrow array. When VectorFuzzer generates nested dictionary-encoded vector or non-scalar types, exporting to Arrow fails at below checks.
https://github.com/facebookincubator/velox/blob/dc561a358016692d32e34b29fcf3aa38c8fe643f/velox/vector/arrow/Bridge.cpp#L884-L889

CC: @Yuhta
@rui-mo Does this imply that ParquetWriter cannot create files for tables with columns of type array/map/struct?

@mbasmanova I think only when the vector is dictionary-encoded, we cannot create Parquet for tables with complex types. If not, they are supported as below in Bridge.
https://github.com/facebookincubator/velox/blob/e2c0014b219f30cc007a665b5722ae8d218e391a/velox/vector/arrow/Bridge.cpp#L985-L1001

@rui-mo If Parquet writer can handle all types, but only flat encodings, then we can simply flatten data before writing to Parquet in the Fuzzer.

@mbasmanova Got it. I will try as you suggested. Thanks.

This issue could be resolved by flattening data before writing into Parquet.


Fix missing_value for 'Set' field.

@ksuess does this need review? I haven't run through this training, so I'm not deeply familiar with it and don't feel qualified. Maybe @pbauer? If you're happy with it, then please merge.


expcertificates: add keymanager controller

What this PR does / why we need it:
Adds the keymanager controller which handles generating and managing 'next private keys' with the new 'experimental' certificates controller design.
Special notes for your reviewer:
With this PR, the controller currently always generates a new private key upon re-issuance, a departure from what we do today. It needs extending to default to the current behaviour with an option to enable rotation.
Release note:
NONE

/lgtm

/kind feature


Unable to get jQuery UI Dialog on top of map

Z index has no affect with position set when in any full screen option

same here...

Is this a problem you're facing with the fullscreen control only? Or Leaflet in general? If it is the latter then this should be closed, see https://github.com/Leaflet/Leaflet/issues/3690 instead.

Is this a problem you're facing with the fullscreen control only? Or Leaflet in general? If it is the latter then this should be closed, see Leaflet/Leaflet#3690 instead.

Fullscreen only... Popup is there for input then when I hit fullscreen it covers the popup.

Does setting contain: paint (or other stricter value such as content, strict) on leaflet-container help?

I've reworked the code to not use the $ dialog boxes, instead having a div
slide over the map.
Would be nice to be able disable map click while this open though.  No
matter what map gets click events even if div is higher index and shown
over map.
On Sun, Apr 10, 2022, 10:23 AM Robert Linder @.***>
wrote:

Does setting contain: paint
https://developer.mozilla.org/en-US/docs/Web/CSS/contain (or other
stricter value such as content, strict) on leaflet-container help?
—
Reply to this email directly, view it on GitHub
https://github.com/Leaflet/Leaflet.fullscreen/issues/113#issuecomment-1094285764,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOPRDWYKVYU2NLQE2AFF63VELP6LANCNFSM4N5DYWRQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@patrickgodinho can you try CSS containment?


Fix: Indent lines didn't aline at the bullet with custom tab size

Reverse-engineered the calculation of the position on the left, and now the indent line uses the same logic of native lines and works with any custom setting.

@vslinko look pls!


chore: update eslint deps

Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[X ] Docs / tests / types / typos

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[X ] My code follows the developer guidelines of this project
[X ] I have performed a self-review of my own code
[X ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@ppusapati is it still valid or is it abandoned?

Yes, have tested it and its still valid.
<EMAIL_ADDRESS>"^1.7.3",
"eslint-plugin-qwik": "^1.7.3",
"eslint": "^9.8.0",

I'm going to close this, but feel free to open a new PR with eslint updated.


fix: display claimable rewards only in defi aggregation table

Description
Brings up discrimination between the claimable and unclaimable rewards, so that we only display the ones that are actually claimable.
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A
Risk

Testing

Ensure the DefiAggregation flag is on
Go to DeFi Earn
With either the "By Provider" or "By Position" table selected, only the total of claimable rewards from opportunities with claimable rewards should be displayed, e.g THORChain should never have claimable rewards, but ETH/FOX staking rewards should always account for the total. If it appears on the individual rows, then it should account for the total of that provider
This shouldn't bring regressions in the actual amounts e.g Net Worth

Engineering

☝🏽

Operations

☝🏽

Screenshots (if applicable)

Force merging after Graphite restack


Make it actually runnable

Can one of the admins verify this patch?

This is ok to test.

Triggering build using a merge of b6375ce7921664a39ba2483d65f7a26176756281 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/mod_cluster-1.3.x-pull-player-executor/

Build 162 outcome was SUCCESS using a merge of b6375ce7921664a39ba2483d65f7a26176756281 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/mod_cluster-1.3.x-pull-player-executor/162
Public: https://hudson.jboss.org/hudson/job/mod_cluster-1.3.x-pull-player-executor/162


GCP deploy on next@beta throws TypeError

Hello! When running now for a GCP deployment I'm running into:
⠋ Building and bundling your app…> Error! An unexpected error occurred!
  TypeError: builders[desc.type] is not a function
    at build (/snapshot/now/dist/now.js:1590:29)
    at deploy (/snapshot/now/dist/now.js:5960:25) TypeError: builders[desc.type] is not a function
    at build (/snapshot/now/dist/now.js:1590:29)
    at deploy (/snapshot/now/dist/now.js:5960:25)

Has anyone else seen this issue? I'm using 8.0.0-beta.8.

This issue was moved to zeit/now-cli#757


Display WoT score beside users

https://coracle.social/help/web-of-trust
and also the respective options/config in settings

On the surface I like this idea. but I need to think about it a lot more and how it could be useful.
Going to put this one on the back burner till I have to think it through

I strongly support to mark those who are followed by my follows in some way as that makes it harder for imposters but I would prefer two numbers over a formula. The linked document describes the score as
numberOfMyFollowsFollowingThem - pow(2, log(numberOfMyFollowsMutingThem)). While I don't understand why they use exp(log(n)), I would very much prefer the two plain numbers over some formula giving me a grand total. If half my follows follow them and the other half have them muted, the person would be much different to somebody not noticed by any of my follows, yet such a score would come to the same conclusion - zero.
Overall I would wish for

always seeing if I follow them
some hint at them being followed by my follows
some hint at them being muted by my follows

With hint I mean it can be an icon for >0, >5% and > 10% of my follows, with details on hover. With these three tiers - 4 if you take the =0 case, you could show two icons stacked, one representing followers the other muters.

Overall, WoT needs to be incorporated more. I often try to estimate if somebody is the real John or an impersonator but there is no quick way of telling from looking at their profile picture or even their full profile.
Please, in the list of people (follows, followers), sort people by my WoT, ignoring muting for a start. When I look at John's profile followers, show me my follows first, then my follows follows and then the rest or not at all. I don't care if somebody has a million followers among people I have no relation with whatsoever. For all I care they might just be a million sock puppets of the account itself.

I don't know where to show the WOT score ( or easily calculate it for that matter ) but sorting the followers by their WOT score is super easy.
Pushed a change to next.nostrudel.ninja :+1:

Looking at my followers for example, I see some sorting is going on as avatars shift around a lot now but still, the first followers are not followed by me, so it's not what I would consider optimal. Or would you argue that somebody many of my follows follow but not me should have a higher trust than some people that only I follow?

Looking at the followers of accounts I still wonder what I asked in the last comment. I want to see my follows before anything else wherever groups of accounts are shown that don't have any other more important sorting to be used. As I literally couldn't care less about people outside my "WoT" and the WoT fitting in memory, it should also be possible to instantly load all followers that I also follow as their profiles should be loaded already anyway, right?


More test coverage

#921  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Add version: Microsoft.Edge version 120.0.2210.133

Pull request has been created with WinGet Automation 🪟📦🤖
Microsoft Reviewers: Open in CodeFlow

1603 might indicate that "a reboot is required".


feat: Migrate to firebase and small fixes

This PR does 4 things:

Migrate the db-client from using oracle database to firebase cloud firestore
Change the frontend to read from localhost:3000 to allow for local testing and development since we no longer have our server running
Make endpoints wait for database writes to finish before returning
Change the root user (spotify cl account) id from 0 to the id of the CL spotify account

Test plan:

run yarn dev inside the packages/@aurgy/server directory
run yarn dev inside the packages/website directory
Go to localhost:3000 and sign in with spotify and create a lobby

Looks like there are linter errors, can you try running yarn run lint --fix


AIRSDK_<IP_ADDRESS>6/bin/adl: No such file or directory

Hello, suddenly apm stops working. When I type apm command I'm getting the error message: No such file or directory

Did you resolve this?


Individual-level line plots - mock up

Make mockups for what the individual-level line plots (ie, MALED-o-grams) will look like
Include idea to be able to facet by IDs at different entity levels (ie, plot weight over time and (i) facet by individual vs (ii) facet by household, with error bars for mean)

https://www.figma.com/file/SZwh2ZJnAG7ffRnR8tXZZs/Individual-Summaries?node-id=101%3A536

To be discussed in a future EDA UX meeting:
Viz tool name?

Timeline plot vs Individual line plot

Variable constraints:

[x-axis, y-axis], facet, rug
EXCEPT!! here x-axis and y-axis must be the same entity, which isn't a typical requirement for constraints defined this way.
also x-axis and y-axis must both be repeated measures, which is a new constraint
its possible if we don't have two repeated measure nodes on the same branch ever that the forced equivalency of the axes in the constraints isn't a problem...

Plot modes:

Must modes other than "raw" are disabled for non-aggregated plots that are also un-binned?
For MALED (& other studies with daily data collection) binning of non-aggregated plots would be useful & would activate mean/median plot mode options

Plot controls (X-axis binning):
Option 1:

Disabled for plots with categorical x-axis variables
Disabled when plot mode is Raw
Allowed when the x-axis variable is continuous and the plot mode is mean or median

Option 2:

Disabled when plot mode is Raw
Allowed when the plot mode is mean or median, regardless of whether the x-axis variable is continuous or categorical

Annotation properties

Are any additional annotation properties required?
is_temporal will need to be re-annotated for all studies

Implementation will be dependent on reload to get the updated temporal annotations


Automated cherry pick of #1860: 添加同步安全组日志

Cherry pick of #1860 on release/2.9.0.
#1860: 添加同步安全组日志

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.9.0@8b5d44c). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff               @@
##             release/2.9.0   #1865   +/-   ##
===============================================
  Coverage                 ?   7.68%
===============================================
  Files                    ?     336
  Lines                    ?   53973
  Branches                 ?       0
===============================================
  Hits                     ?    4147
  Misses                   ?   49438
  Partials                 ?     388

Flag
Coverage Δ

#aFlag
7.68% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/cloudsync.go
0% <0%> (ø)

pkg/compute/models/secgroupcache.go
1.49% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


Don't retrieve bugs which are definitely not regressions

We download them, but then we definitely won't mark them as regressions, so we might as well just avoid downloading them altogether.

Coverage remained the same at 28.401% when pulling 5269d6203951c5162c60411280974da09f8d0527 on marco-c:no_feature_meta into 28717ab018a4d12bffbe19d4ce6e33baeec423c8 on mozilla:master.

Maybe we should remove enhancement bugs too.

Maybe we should remove enhancement bugs too.

Once we have the bug type, I'll remove enhancement and task.

We could use severity != "enhancement" for now.

We could use severity != "enhancement" for now.

Unfortunately this one is not used consistently, some use severity 'enhancement' for minor bugs.
Anyway, we'll have the bug type soon enough, so we'll be able to exclude these more precisely soon.


Fix a few documentation links to GitHub :)

Links into GitHub refs (for directories & code) were failing 404 due to missing some path bits.

Thanks! LGTM :green_apple:


No value qualifiers not handled properly (causes TypeErrors)

The primary sources tool doesn't properly handle no value qualifiers, as it assumes all qualifiers to have a data value at https://github.com/google/primarysources/blob/8bdb7f995a923390400814e02b2f88cf1f7b1834/frontend/freebase2wikidata.js#L1031
Causes TypeError: undefined is not an object (evaluating 'dataValue.type') on for example https://www.wikidata.org/wiki/Q5593

The actual source of the error is located. herehttps://github.com/google/primarysources/blob/8bdb7f995a923390400814e02b2f88cf1f7b1834/frontend/freebase2wikidata.js#L1043. Needs further investigation.


Where is public thread created

Where is public thread created? as we would like to integrate code to limit the public thread creator to be limited to admin. Also is there a way to allow few users to create the public thread?

First you should get the token:
    // Get the token
    RXPromise * tokenPromise = [RXPromise new];
    [firebaseUser getTokenWithCompletion:^(NSString * token, NSError * error) {
        if (!error) {
            [tokenPromise resolveWithResult:token];
        }
        else {
            [tokenPromise rejectWithReason:error];
        }
    }];

Then call authenticateWithDictionary on [BNetworkManager sharedManager].a.auth passing in the following Dictionary:
@{bLoginTypeKey: @(bAccountTypeCustom), bLoginCustomToken: @"TOKEN"}

Hi @Lavii7,
Just to extend @bensmiley's answer:
Currently we do not have administrator functionality for the Chat SDK. We are looking at implementing something along these lines but the functionality you are talking about would be different again.
If I am not mistaken you want to:

Have a number of admin users
Admin users have additional privileges - creating public groups

To do this you need the app to be able to recognise your user as an admin user. You can then have the app check the admin status of the user and enable/disable the UI for them. There are a number of ways you can do this:

Manually add the entityID of admin users in Firebase. The app will then check the current admin entityIDs and will then let them do additional things. The disadvantage of this is that you have to manually find the users and add them to the admin branch.
Have a different login for admin users. You could add a new button in login called "admin login" - the user would then have to enter an admin password to access it (you would tell your users this specific password to allow them to login). We could then add an admin flag to their account meaning they could then access the additional features.

Hopefully this makes sense? Let me know if you have any additional questions,
Simon

Yup this helps thanks


Fixed Search Cancel button issue  #627

Related Issue
Fixed issue no:- #627
There was no search cancel button in the search bar.
Description
I added a search cancel button in the search bar for best user experience.
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

Issue no #627 has been resolved. Please merge it with appropriate label.

There have some conflict issue check it once. and work on the updated website. ok


Logging if the D3D12 folder with DLLs do not exist

The problem
During replay some traces required agility SDK's D3D12 folder with dlls for it. We need a warning mechanism to notify the user.
The solution
I created VerifyAgilitySDKRuntime function in dx12_util that retrieves executable folder and checking that Agility SDK runtime is in place.
Result
Tested with replaying captures. Warning issues during replay if Agility SDK runtime is missing. Also optimizing process tested and warning issued when --dxr option was used.

CI gfxreconstruct build queued with queue ID 12557.

CI gfxreconstruct build # 2383 passed.

CI gfxreconstruct build # 2397 running.

CI gfxreconstruct build # 2397 passed.

CI gfxreconstruct build queued with queue ID 34823.

CI gfxreconstruct build # 2496 running.

CI gfxreconstruct build # 2496 passed.

CI gfxreconstruct build queued with queue ID 51041.

CI gfxreconstruct build # 2601 running.

CI gfxreconstruct build # 2601 passed.

CI gfxreconstruct build # 2633 running.

CI gfxreconstruct build # 2633 passed.


Another memory leak in simple code despite using !/0

Consider this:

q.
q.

p :- q, !, p.

I expected a query ?- p. runs in constant memory.
At the moment this is not like that.
There seems to be a problem reclaiming memory in code with deep-cuts.

Yes there is.
On Sat, 14 Jan 2023, 06:10 stefan-kral, @.***> wrote:

Consider this:
q.
q.
p :- q, !, p.
I expected a query ?- p. runs in constant memory.
At the moment this is not like that.
There seems to be a problem reclaiming memory in code with deep-cuts.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSETFZAAGRALYVJQLER3WSGZDFANCNFSM6AAAAAAT2YZBRY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

IMO solving this problem should be doable for someone who knows the nuts and bolts of Traella Prolog (-> not me).
But if this is not important to you now, I'd be willing to the issue so the list of open issues is shorter...

No, I hope to address it. I think once it did handle it.
On Sat, 14 Jan 2023, 19:58 stefan-kral, @.***> wrote:

IMO solving this problem should be doable for someone who knows the nuts
and bolts of Traella Prolog (-> not me).
But if this is not important to you now, I'd be willing to the issue so
the list of open issues is shorter...
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/103#issuecomment-1382704203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEWTAZ2SR4LLZE3GCGTWSJ2FPANCNFSM6AAAAAAT2YZBRY
.
You are receiving this because you commented.Message ID:
@.***>

Fix is just for the trivial case as above.
On Sat, Jan 14, 2023 at 6:10 AM stefan-kral @.***>
wrote:

Consider this:
q.
q.
p :- q, !, p.
I expected a query ?- p. runs in constant memory.
At the moment this is not like that.
There seems to be a problem reclaiming memory in code with deep-cuts.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/103, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSETFZAAGRALYVJQLER3WSGZDFANCNFSM6AAAAAAT2YZBRY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

OK, more comprehensive cutting would be better. But if the fix doesn't break anything, I consider it better. Closing...


How to add custom components?

Hello,
I'm wondering what the workflow is for adding additional components to this system. I've got the original Avatar Library open in Sketch, but I'm not clear on how to export components into the React Component format used to store the individual elements in this project. Any help would be greatly appreciated!!! Thanks for making this, it's awesome!

Wondering the same. Would love to be a able to add custom pieces.
Looks like the current design has no hooks to do that though?

We ended up forking the app to add our own SVG for the logo shirt.

You can use Sketch, right click on the component you want to export, click "Copy SVG". Then paste into the HTML file I created here
https://github.com/fangpenlin/avataaars-generator/blob/master/tools/component-extractor.html
to make it generate the corresponding react component for you.

Can you clarify what you mean by pasting into that html file. I cloned the avataars-generator and got the component extractor up but I'm not sure what's supposed to happen.

That was my trying to copy the vomit mouth and paste it into the component extractor...

I've just added a new component, an open mouth to src/avatar/face/mouth as Open.tsx, and updated the mouth/index.tsx to include a reference to it. What do I do now to rebuild the project so that my new addition is included in the dist?

I'm used to seeing scripts defined in package.json but I don't see any for this project...

Alright. Apologies for being so green. Realized I needed to install typescript to compile the project - just got it working.


Implement language switching functionality

Readers should be able to switch between languages when reading a section of the book. The language switcher should determine which languages are available for a given section and present these options to the reader. The reader's latest choice should be remembered and considered the default.

Grabbing this to knock out a quick POC.


[ISSUE #1982] Add integrated test for sofa plugin

Ref #1982 .

Codecov Report

Merging #2158 (f7014a5) into master (0d79da5) will decrease coverage by 0.03%.
The diff coverage is n/a.

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

@@             Coverage Diff              @@
##             master    #2158      +/-   ##
============================================
- Coverage     60.14%   60.10%   -0.04%
- Complexity     4045     4049       +4
============================================
  Files           607      607
  Lines         18087    18087
  Branches       1728     1728
============================================
- Hits          10878    10871       -7
- Misses         6324     6328       +4
- Partials        885      888       +3

Impacted Files
Coverage Δ

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.75% <0.00%> (-6.80%)
:arrow_down:

Continue to review full report at Codecov.

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


New enum

In addition to what is above, there is a test, test_enumerating_sqs_with_lower_order_subl_raises, in line 268 of the SQS tests module.
I think this should not raise and that enumerating an [[A,B,C], [A]] SQS with sublattice model [[A,B], [A]] should properly return the unique combinations such as
[[A,A,B], [A]]

I think that fits in the scope of this PR and then we can consider the enumeration finished.

I think if you swap in the code in the loop for what I suggested (with any reasonable modifications you like), then this is ready to merge

Looks great. Thanks!


support IntelliJ IDEA use icon which we can click to navigate to the corresponding autowired dependency

Support IntelliJ IDEA use  in the gutter, which we can click to navigate to the corresponding autowired dependency.

Recommend using install this plugin which supports recognition of Dubbo Beans if you are using IntelliJ IDEA: https://plugins.jetbrains.com/plugin/20938-apache-dubbo-in-spring-framework/
FYI, the IDEA team is working on adding more features to this plugin, https://plugins.jetbrains.com/plugin/20938-apache-dubbo-in-spring-framework/


Add circuit breaker support for file cache

Description

Adds circuit breaker logic for file cache
The logic re-utilizes one of the child circuit breakers to check if the parent has gone over the threshold defined as a part of HierarchyCircuitBreakerService

Two possible solutions were assessed -

Add a new child memory breaker which will keep track of memory usage by the file cache
Use a pre-existing child breaker to keep track of total memory usage (tracked by the parent breaker)

Approach 1 would be ideal if there was a fixed size of an entry for the cache, but it varies depending on the platform architecture, OS, JVM variations.
Approach 2 solves the problem by keeping tracking of total memory usage instead of individual entries, and checking the breaker as soon as an entry is added.

Issues Resolved

Resolves #6540

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #6591 (7828373) into main (add1871) will increase coverage by 0.13%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #6591      +/-   ##
============================================
+ Coverage     70.69%   70.83%   +0.13%
- Complexity    59101    59137      +36
============================================
  Files          4804     4804
  Lines        283101   283107       +6
  Branches      40813    40814       +1
============================================
+ Hits         200144   200537     +393
+ Misses        66565    66084     -481
- Partials      16392    16486      +94

Impacted Files
Coverage Δ

.../main/java/org/opensearch/env/NodeEnvironment.java
75.56% <100.00%> (+0.21%)
:arrow_up:

...search/index/store/remote/filecache/FileCache.java
92.59% <100.00%> (+1.28%)
:arrow_up:

...index/store/remote/filecache/FileCacheFactory.java
93.75% <100.00%> (ø)

server/src/main/java/org/opensearch/node/Node.java
83.59% <100.00%> (+0.02%)
:arrow_up:

...pensearch/client/cluster/RemoteConnectionInfo.java
0.00% <0.00%> (-73.18%)
:arrow_down:

...a/org/opensearch/client/cluster/SniffModeInfo.java
0.00% <0.00%> (-58.83%)
:arrow_down:

...a/org/opensearch/client/cluster/ProxyModeInfo.java
0.00% <0.00%> (-55.00%)
:arrow_down:

...ava/org/opensearch/action/NoSuchNodeException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...a/org/opensearch/tasks/TaskCancelledException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...adcast/BroadcastShardOperationFailedException.java
55.55% <0.00%> (-44.45%)
:arrow_down:

... and 496 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

The problem with this implementation is that I could have zero active usage of the file cache, but non-active usage of a bajillion, and the circuit breaker would start to fail things but there would be nothing to start evicting the non-active entries in the cache even though they are eligible for eviction.

In that case, we will be designing for two size constraints - storage (defined by capacity of the cache) and heap memory.
My idea here was that we will start failing requests for the client to notice and fix the heap config (upsizing ideally).
If we want the auto fixing behavior, we have no other choice than to track the size of entries going into the cache, which is how I had it designed originally.
I think it will be something on the lines of -
put() {
try {
circuitBreaker.addEstimateBytesAndMaybeBreak(<estimated_entry_size>, "filecache_entry");
} catch (CircuitBreakingException e) {
 this.prune();
}
...
...
}

The really messy part about it is the size of an entry - which could vary based on the platform/JVM/OS etc.

@reta Any thoughts on this?

Backport PR: #7011


Breast Cancer using all machine learning models

I would like to provide a detailed flow of creating different ML models. So that we can have a clear understanding of how each model contributes in detecting Breast Cancer and also can find the best accurate one.

I am a GSSOC'23 contributor and I would like to contribute on this.
Please assign me for this issue. I will be a best beginner friendly solution, and one can compare between models.

Hello, I'm a GSSoC'23 contributor ,can you please assign me this issue.

@ManaswiKasiraju - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.
@Jyotsna1304 - since we are following the first-come-first-serve policy, we will not be able to assign you this issue. However, you can create another issue and use the same algorithm (ANN) on a different dataset.

Hi @khusheekapoor, I am unable to upload my code in the preview section. Could you please help me with that.


Implement onDragGestureEntered / onDragGestureExited in DynamicView

OnMouseEntered not fired by FX while dragging; Needs to be implemented onMouseMoved with own householding


Adds CVT 2018 poster presentation

Summary of changes
Adds poster presentation from CVT October 2018
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Associated Issues and PRs

Issue: #105


Safari viewer display issues

Attach (recommended) or Link to PDF file here: (any PDF)
Configuration:

Safari 14.1.2
MacOS 11.6
PDF.js version: 2.14.305
Is a browser extension: No

Issue does not occur on MacOS 12.4 with Safari 15.5. So issue appears to be on older versions of Safari.
Steps to reproduce the problem:

Embed PDF.js into existing website through iframe

What is the expected behavior?
PDF displays correctly
What went wrong?
Some of the viewer is not hidden, and shows up both while PDF is loading and behind the PDF once it has loaded.

Duplicate of #14995


Polish vcxproj files

-- replace tabs by spaces in vcxproj_defs.include file
-- get rid of warnings: Fixes #4506 and #4508
-- make "Release" configuration of vcxproj files to point to Release version of nuget dependencies (instead of Debug).
Last commit is the regenerated project files.

Green.


New Fedimint Docker Downloader

New Fedimint Downloader, currently points at this branch if you want to try testing it with:
curl -sSL https://raw.githubusercontent.com/Kodylow/fedimint/kl/docker-deploy/docker/downloader.sh | bash

Works for Fedimint Guardians and Gateways on mutinynet and mainnet (couldn't get the testnet one working but can be a follow on)

Some minor things I have noticed. I like the structure of the new script. I still need to play around with it to double check the various scenarios.

I ran this and it went into an infinite loop at the beginning.

are you running it from inside another docker container or something? just retried locally and worked on my mac and nix boxes fine. it's looping for all the configurations to require your input match one of the enum options, if you're running as a background or outside an interactive shell that might be causing it?

I'm running it in a digital ocean shell

This one works, might have to remove the loop checking then, piping into bash directly doesn't start interactive:
curl -sSL https://raw.githubusercontent.com/Kodylow/fedimint/kl/docker-deploy/docker/downloader.sh > downloader.sh && chmod +x downloader.sh && ./downloader.sh

actually bash has a -i that works:
curl -sSL https://raw.githubusercontent.com/Kodylow/fedimint/kl/docker-deploy/docker/downloader.sh | bash -i

Neither of those work. Doing it from my own terminal instance through ssh doesn't work either.

@TonyGiorgio sorry I'm an idiot just had to move the echo out of the loop in a couple places, fixed

right after clicking the first yes

1 more time, missed a </dev/tty

After saying yes to the alpha disclaimer

I verified in a new vm that the setup script works using mutinynet for both the guardian and gateway.
curl -sSL https://raw.githubusercontent.com/Kodylow/fedimint/kl/docker-deploy/docker/downloader.sh | bash

From call: closing in favor of new fedimint-docker repo


No production canister_ids.json found.

When I entered npm start I get an error that says:
No production canister_ids.json found. Continuing with local
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
at Command.<anonymous> (/Users/cleogao/IC-Projects/hello/node_modules/@webpack-cli/serve/lib/index.js:146:35)

at async Promise.all (index 1)

at async Command.<anonymous> (/Users/cleogao/IC-Projects/hello/node_modules/webpack-cli/lib/webpack-cli.js:1672:7)

my npm verison is 8.5.5
my node verison is 16.5.0 (I used a 14.0.0 version it gave me more errors)
and my dfx is 0.9.3
I tried to change webpack to 4.10.0 but that doesnt work either...
please helpp

changed webpack-cli to 4.10.0 problem sovled


Add an Edition's state to the local transaction export CSV

Duplicates were appearing in the output of this because it was
checking all editions and not differentiating between published and
archived editions. As per
https://github.com/alphagov/publisher/pull/398#discussion_r34978263,
display the state of an edition to guard against this confusion and
provide opportunities for filtering.

Could this utilise the Reports generation code? https://github.com/alphagov/publisher/pull/387

@boffbowsh This was meant to be a one-off thing, but I added a rake task just in case it needed to be done in different environments - I don't think it needs that much work. :confused: See #398.


Unchecked accesses can be out-of-bounds

https://github.com/trailofbits/lms-go/blob/c7cd3adfe891e90a504025011b6a0e04921b7d68/lms/lms/signature.go#L47-L51
https://github.com/trailofbits/lms-go/blob/c7cd3adfe891e90a504025011b6a0e04921b7d68/lms/lms/private.go#L167-L167
https://github.com/trailofbits/lms-go/blob/c7cd3adfe891e90a504025011b6a0e04921b7d68/lms/lms/private.go#L172-L172
https://github.com/trailofbits/lms-go/blob/c7cd3adfe891e90a504025011b6a0e04921b7d68/lms/lms/public.go#L138-L139

https://github.com/trailofbits/lms-go/blob/c7cd3adfe891e90a504025011b6a0e04921b7d68/lms/ots/public.go#L109-L111


fixed some typos and links

added alternative text if image does not exist, fixed some typos

The linux-banner is not showing up. Please check on that


SMA in the snap starting/stopping services is not persistent

Currently, in the snap when we one uses the SMA to start/stop services, it is an ephemeral change - it doesn't persist across upgrades or reboots. We could easily change this by also setting the configuration for that service to on/off using snapctl set SVC=on|off here:
https://github.com/edgexfoundry/edgex-go/blob/e34f2681076b036c3f9b55d9e3aafaaba931e687/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh#L36
However it's not clear to me whether we want stopping/starting services to be persistent when using the SMA. I think it should be, but perhaps that's not the intention of the SMA.

@akramtexas @jpwhitemn can either of you comment on this? When a service is stopped by the SMA in docker or when deployed with native containers, is that service meant to be persistent or is it just a "stop this service right now" with the understanding it could be restarted again if a machine gets rebooted.

Hi Ian,per earlier discussion on this, we had said it would be just "stop" - with no persistence.  This seems to have parallels to some of the parameter string ideas for the enable/disable restart of services on restart of reboot (documented below in one of our Sys Mgmt meetings) brought forth before.  Is this revisiting the same idea with new insight??
Parameter strings provided by configuration and passed from the SMA through to the executor can be used to provide platform or environmental indicators to the Executor. For example, in some environments, there is the ability to enable/disable restart of services on restart or reboot of the underlying platform. The parameters list would be separated by a space if there was more than one.
We are going to be relooking the start/stop/restart functionality for Geneva.  We are going to be making things more async and we need persistence to address what happens when the SMA is restarted as one of the services and there is a need to call back to the original client (covered in our meeting this morning).  So this is a requirement we could re-explore, but I'd like to know more about what differs from before.
Jim
On Tuesday, September 3, 2019, 2:01:27 PM CDT, Ian Johnson<EMAIL_ADDRESS>wrote:
@akramtexas @jpwhitemn can either of you comment on this? When a service is stopped by the SMA in docker or when deployed with native containers, is that service meant to be persistent or is it just a "stop this service right now" with the understanding it could be restarted again if a machine gets rebooted.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jpwhitemn That answers my question and the current behavior in the snap is correct - it doesn't persistently stop services. This bug was simply about whether the snap should interpret a "stop" as a persistent stop or not.

Re-opening this since #770 is done, we can now support persistently starting/stopping services in the snap with parameters.
The snap executor at https://github.com/edgexfoundry/edgex-go/blob/master/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh should be updated to understand a third argument of enable/disable and if present, pass that along to snapctl.

@anonymouse64 - still a Fuji release item?  Label Geneva?

If someone ever desires to re-open this and make the snap executor disable services persistently, here is the patch which I wrote that does so (this patch also performs validation on the arguments provided to the executor as per some of the discussion on https://github.com/edgexfoundry/edgex-go/issues/1851):
From 78eb022fdc24698f024e8558e91d4411a9068343 Mon Sep 17 00:00:00 2001
From: Ian Johnson<EMAIL_ADDRESS>Date: Mon, 30 Sep 2019 18:13:02 -0500
Subject: [PATCH] sys-mgmt-agent-snap-executor.sh: support enable/disable
 parameters

Also perform validation that the operation provided is either start or stop.

Signed-off-by: Ian Johnson<EMAIL_ADDRESS>---
 .../bin/sys-mgmt-agent-snap-executor.sh       | 47 +++++++++++++++----
 1 file changed, 39 insertions(+), 8 deletions(-)

diff --git a/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh b/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh
index 0bd3b1a6..c038ce34 100755
--- a/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh
+++ b/snap/local/runtime-helpers/bin/sys-mgmt-agent-snap-executor.sh
@@ -2,9 +2,9 @@

 # the first argument is the service
 # the second argument is the operation, one of "stop", "start", "restart"
-# TODO: handle enable/disable when those paramaters are provided
+# the third optional argument is an enable/disable parameter

-if [ "$#" -ne 2 ]; then
+if [ "$#" -lt 2 ] || [ "$#" -gt 3 ]; then
     echo "invalid number of arguments"
 fi

@@ -17,21 +17,52 @@ case "$#" in
         echo "the operation must be provided"
         exit 1
         ;;
-    2)
+    2|3)
         # correct - do nothing
         ;;
     *)
         echo "too many arguments provided"
-        echo "only the service and the operation must be provided"
+        echo "only the service, the operation and optionally the parameter to the operation must be provided"
         exit 1
         ;;
 esac

-
 # note this prefix is in edgex-go, as go code, and if it changes we don't have
 # a good way to pull that here so if this breaks go look for changes there
 svcName=${1#"edgex-"}

-# the operation type maps 1:1 to the snapctl service operations
-snapctl "$2" "$SNAP_NAME.$svcName"
-
+if [ -n "$3" ]; then
+    case "$3" in
+        enable)
+            if [ "$2" = "start" ]; then
+                snapctl start --enable "$SNAP_NAME.$svcName"
+            else
+                echo "invalid parameter $3 for operation $1"
+            fi
+            ;;
+        disable)
+            if [ "$2" = "stop" ]; then
+                snapctl stop --disable "$SNAP_NAME.$svcName"
+            else
+                echo "invalid parameter $3 for operation $1"
+            fi
+            ;;
+        *)
+            echo "invalid parameter $3"
+            exit 1
+    esac
+else
+    # the operation type is supposed to map 1:1 to the snapctl service operations
+    case "$2" in
+        start)
+            snapctl start "$SNAP_NAME.$svcName"
+            ;;
+        stop)
+            snapctl stop "$SNAP_NAME.$svcName"
+            ;;
+        *)
+            echo "invalid operation $2"
+            exit 1
+            ;;
+    esac
+fi
--
2.20.1


Update enforce-standards-admission-controller.md

It seems comment was set to a wrong field. There is no need to change apiserver.config.k8s.io/VERSION, we need to modify only pod-security.admission.config.k8s.io/VERSION

/easycla

@Alexhha  Please sign EasyCLA

Thanks for the PR, but the comment is correct. The version of the config file depends on the version of the API server and earlier versions of the server required a prerelease version of the config file

/close

/reopen
Apologies, you are correct. I misread the description as applying to the version of the pod security labels

/lgtm
/approve

/approve


Multiprocessing is droped

In bc69cd0 the multiprocessing support for parallel runs is dropped in favor of having the first dimension of a particle encode different runs. There might be situations where this not applicable, so probably mp should be reintroduced. However, it would be good to have an example, where the $M\times N\times d$ multirun strategy fails.
The solver class still implements multiruns, just not in parallel.

This issue doesn't directly apply to the current version.


Add parentheses around power operations

Ours:
self.assertRaises(IndexError, lambda: b[-10**100])

Black:
self.assertRaises(IndexError, lambda: b[-(10**100)])

We should implement the same rules as black to add parentheses around power operations.

Is this documented anywhere in the style guide?

Maybe this? https://github.com/psf/black/pull/909


fix: MD031/blanks-around-fences

Fenced code blocks should be surrounded by blank lines

Docs Build status updates of commit 165db67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/multitenant-identity/key-vault.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The circle is contractible

As of 5803350 on the connections branch, the following typechecks:
module uhoh where

import prelude

S1 : U
hdata S1 = base | loop @ base ~ base

uhoh : Id (Id S1 base base) loop (comp S1 base base base loop loop)
uhoh = refl (Id S1 base base) loop

I think 6c1dbbe is where this becomes possible.

Yes the order in

where (ts',indep) = Map.partition (isIndep k i) ts

is not correct; it should be

where (index,ts') = Map.partition (isIndep k i) ts

On Apr 20, 2015, at 4:53 AM, Tom Jack wrote:

As of 5803350 on the connections branch, the following typechecks:
module uhoh where
import prelude
S1 : U
hdata S1 = base | loop @ base ~ base
uhoh : Id (Id S1 base base) loop (comp S1 base base base loop loop)
uhoh = refl (Id S1 base base) loop
I think 6c1dbbe is where this becomes possible.
—
Reply to this email directly or view it on GitHub.

Fixed


Remove unnecessary extra parameter

Fixes #5144

This was only used to get the output for connecting to debugpy during IW debugging. IW debugging works without it.

Codecov Report

Merging #9178 (1941ef1) into main (a58f741) will increase coverage by 0%.
The diff coverage is 0%.

@@          Coverage Diff           @@
##            main   #9178    +/-   ##
======================================
  Coverage     71%     71%
======================================
  Files        382     382
  Lines      24845   24845
  Branches    4031    4031
======================================
+ Hits       17731   17825    +94
+ Misses      5495    5392   -103
- Partials    1619    1628     +9

Impacted Files
Coverage Δ

src/client/datascience/jupyter/kernels/kernel.ts
79% <0%> (ø)

src/client/datascience/jupyter/kernels/helpers.ts
50% <0%> (-1%)
:arrow_down:

...lient/datascience/kernel-launcher/kernelProcess.ts
63% <0%> (+<1%)
:arrow_up:

src/client/datascience/commands/commandRegistry.ts
41% <0%> (+<1%)
:arrow_up:

...science/jupyter/kernels/kernelConnectionWrapper.ts
27% <0%> (+<1%)
:arrow_up:

src/client/datascience/errors/errorHandler.ts
65% <0%> (+<1%)
:arrow_up:

src/client/datascience/jupyterDebugService.ts
17% <0%> (+1%)
:arrow_up:

src/client/datascience/webviews/webviewHost.ts
83% <0%> (+1%)
:arrow_up:

...t/datascience/notebook/vscodeNotebookController.ts
81% <0%> (+1%)
:arrow_up:

...client/datascience/commands/activeEditorContext.ts
94% <0%> (+1%)
:arrow_up:

... and 24 more


python(2) vs. python3

On many Linux systems, /usr/bin/python is traditionally Python 2.x, while Python 3.x is /usr/bin/python3.
On Debian 11, Python 2.x is now optional. So #!/usr/bin/env python may not work even though there is a working Python (3.x) interpreter installed. I would expect that to be also the case on new (non-LTS) Ubuntu and maybe Fedora systems.
The simple fix is to change the hashbang line to #!/usr/bin/env python3. That would break on systems which only have Python 2.x installed. Are those still a concern?

Without prejudice, i'd like to note the cross-link to https://github.com/diafygi/acme-tiny/pull/240 "Set interpreter to 'python3'"

Link to https://github.com/diafygi/acme-tiny/pull/240 as that PR probably solves this issue. (notify @hjp )

Fixed in 5.0.1 release


Using/ generating test passes during test kit reg (care homes)

Prototypes add for 'Organisational/test-pass'


fix: 🐛 Remove sq version insert at start

Description
CI was failing due to unpushed changes.
Breaking Changes

JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 9.7.0-alpha.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


scalabilty problems

Checklist:
What happened:
I submitted a workflow with 2000 steps (two steps that loop over 1000 input files each)

the Argo UI hangs and crashes

"argo watch" tries to display 2000 lines on a single screen and scrolls wildly back and forth

containers that are waiting to be scheduled are described as "Unschedulable"; that term suggests that the container is permanently impossible to schedule, instead of waiting

the only distinction in the text output between running and completed containers is in the colorization; status information is available only with json or yaml output, making grep impossible

What you expected to happen:
Sensible output for "argo watch" and user interface..
Generally, I'd suggest:

change "Unschedulable" to "Waiting to be scheduled"
append "Waiting", "Running", "Succeeded", or "Failed" to the output of each line in "argo get" so that it's possible to grep for status
do something about the web UI to deal more sensibly with thousands of pods (displaying graphs with thousands of nodes is easy for modern JS)
provide summary views for the text and web UI for large numbers of jobs

How to reproduce it (as minimally and precisely as possible):
Generate a workflow with a few thousand tasks.
Anything else we need to know?:
There are also issues with the workflow execution itself, with pods failing for various reasons. I'll submit a separate report.
Environment:

Argo version:

$ argo version

argo: v2.6.0
  BuildDate: 2020-02-28T23:32:26Z
  GitCommit: 5d3bdd56607eea962183a9e45009e3d08fafdf9b
  GitTreeState: clean
  GitTag: v2.6.0
  GoVersion: go1.13.4
  Compiler: gc
  Platform: linux/amd64

Kubernetes version :

$ kubectl version -o yaml
clientVersion:
  buildDate: "2020-02-06T03:29:33Z"
  compiler: gc
  gitCommit: f5757a1dee5a89cc5e29cd7159076648bf21a02b
  gitTreeState: clean
  gitVersion: v1.14.10-dispatcher
  goVersion: go1.12.12b4
  major: "1"
  minor: 14+
  platform: linux/amd64
serverVersion:
  buildDate: "2020-01-17T23:10:13Z"
  compiler: gc
  gitCommit: bdceba0734835c6cb1acbd1c447caf17d8613b44
  gitTreeState: clean
  gitVersion: v1.14.10-gke.17
  goVersion: go1.12.12b4
  major: "1"
  minor: 14+
  platform: linux/amd64

Other debugging information (if applicable):

workflow result:

argo get <workflowname>

executor logs:

kubectl logs <failedpodname> -c init
kubectl logs <failedpodname> -c wait

workflow-controller logs:

kubectl logs -n argo $(kubectl get pods -l app=workflow-controller -n argo -o name)

Logs
argo get <workflowname>
kubectl logs <failedpodname> -c init
kubectl logs <failedpodname> -c wait
kubectl logs -n argo $(kubectl get pods -l app=workflow-controller -n argo -o name)

Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

could you provide your YAML so I can investigate?

I'm not sure what difference the YAML makes; the problems I listed are general problems with large numbers of jobs executing in parallel. Anyway, here you go. The generate-seg stage generates a list with 1000 elements.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: segmentation-
spec:
  entrypoint: segmentation
  arguments:
    parameters:

  templates:

  - name: segmentation
    steps:

    - - name: generate-seg
        template: generate-seg

    - - name: extract-seg
        template: extract-seg
        arguments:
          parameters:
          - name: shard
            value: "{{item}}"
        withParam: "{{steps.generate-seg.outputs.result}}"

  - name: generate-seg
    script:
      image: tmbdev/ocr-prep
      command: [python3]
      source: |
        import os, re, simplejson
        inputs = [s.strip() for s in os.popen("gsutil ls gs://bucket-g1000-temp/g1000-ocr-*.tar").readlines()]
        ishards = [re.search(r"g1000-ocr-(....)", s).group(1) for s in inputs]
        outputs = [s.strip() for s in os.popen("gsutil ls gs://bucket-g1000-temp/g1000-seg-*.tar").readlines()]
        oshards = [re.search(r"g1000-seg-(....)", s).group(1) for s in outputs]
        missing = set(ishards)-set(oshards)
        missing = sorted(missing)
        # missing = missing[:10]
        print(simplejson.dumps(missing))
      resources:
        limits:
          cpu: 1
          memory: 2G

  - name: extract-seg
    inputs:
      parameters:
        - name: shard
    script:
      image: tmbdev/ocr-prep
      command: [bash]
      source: |
        set -x
        shard="{{inputs.parameters.shard}}"
        input="gs://bucket-g1000-temp/g1000-ocr-$shard.tar"
        output="gs://bucket-g1000-temp/g1000-seg-$shard.tar"
        source venv/bin/activate
        ocropus4 seg hocr2seg "pipe:gsutil cat $input" --output="pipe:gsutil cp - $output" --skip-missing=True --ignore-errors=skip || sleep 3600
      resources:
        limits:
          cpu: 2
          memory: 4G

thank you - this is perfect

Questions:

the Argo UI hangs and crashes

Which part? We've made a small improvement to rendering in the DAG in the UI, and tested with 4500 node DAG. It is slow, but not unusabled.

"argo watch" tries to display 2000 lines on a single screen and scrolls wildly back and forth

Have you tried argo wait?

containers that are waiting to be scheduled are described as "Unschedulable"; that term suggests that the container is permanently impossible to schedule, instead of waiting

Is this just a comment on choice of terminology?

the only distinction in the text output between running and completed containers is in the colorization; status information is available only with json or yaml output, making grep impossible

Are we talking about argo wait? What do you need from the output?

displaying graphs with thousands of nodes is easy for modern JS.

Are you able to tell us which frameworks might work better?

provide summary views for the text and web UI for large numbers of jobs

What would you need in such a summary?

@tmbdev I've created a development build of the UI for you to try out:
docker pull argoproj/argocli:feat-svg

Please let me know if this works for you large workflows.

the Argo UI hangs and crashes

Which part? We've made a small improvement to rendering in the DAG in the UI, and tested with 4500 node DAG. It is slow, but not unusabled.

Thanks, I'll give it a try.

"argo watch" tries to display 2000 lines on a single screen and scrolls wildly back and forth

Have you tried argo wait?

That's a useful option. I'm just saying that "argo watch" probably shouldn't try to scroll but rather simply cut off the list of jobs; it's likely a quick and simple fix.

containers that are waiting to be scheduled are described as "Unschedulable"; that term suggests that the container is permanently impossible to schedule, instead of waiting

Is this just a comment on choice of terminology?

I'm suggesting changing the terminology in the UI, since the current terminology seems misleading to me. "Unschedulable" suggests a permanent condition, while "waiting" or "pending" suggests something temporary.

the only distinction in the text output between running and completed containers is in the colorization; status information is available only with json or yaml output, making grep impossible

Are we talking about argo wait? What do you need from the output?

Kubernetes commands generally have JSON output and list output. List output generally contains most of the same information as JSON output, just formatted differently. That makes it easy to grep for things or write commands like "command | grep Completed | wc -l" etc. I think it would be good if Argo also had a greppable output with all the important information represented in words.

displaying graphs with thousands of nodes is easy for modern JS.

Are you able to tell us which frameworks might work better?

I use frameworks for data visualization, but they are for numerical, unstructured data; they scale and probably do more computation than you need, but they wouldn't be suitable for this task. You probably need something that at least lets you describe a hierarchy and containment. The old Graphviz library let you do that, but it's not JavaScript based.
I'm not sure that a general graph visualization library is even the right choice since it won't respect the structure of a workflow. You might be better off with an interactive implementation of a GANTT chart or UML diagram, or even a tree widget with some components, mirroring the tree structure of the job description. It would be good to be able to let users collapse a large number of jobs at a certain stage into a single summary node.

provide summary views for the text and web UI for large numbers of jobs

What would you need in such a summary?

Number of jobs by state and stage; average time to completion for each stage; estimated remaining time. Just enough to fit onto one screen.

@tmbdev I've created a development build of the UI for you to try out:
docker pull argoproj/argocli:feat-svg

Please let me know if this works for your large workflows.

Thanks, I'll give it a try!

Can we close this?


[Fill component] Possibility to change/select categories

With the previous category wizard, something like this appeared:

We have doubts how to achieve that with the new fill component.
cc @javisantana @javierarce

Talking with @xavijam we think we could use this solution:

That was the one that was designed :)
2016-05-23 18:22 GMT+02:00 Javier Arce<EMAIL_ADDRESS>
Talking with @xavijam https://github.com/xavijam we think we could use
this solution:
[image: screen shot 2016-05-23 at 18 18 31]
https://cloud.githubusercontent.com/assets/4933/15477111/47ff4534-2113-11e6-929a-78ad8b284307.png
—
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/7451#issuecomment-221022348

--
Sergio Alvarez Leiva

We will need to add a new property in order to store the categories, so:
{
  fill:  {
    size: …,
    color: {
      attribute: 'countries',
      ramp: ['#CCC', 'red', 'blue', 'purple'],
      domain: ['_', 'Albania', 'Andorra', 'Luxemburg'], // Remember first value will be 'Others'/rest
      …
    }
  }
}

@juanignaciosl (editing migragion wiki right now).
cc @rochoa & @javisantana

Ok', i'll add support in the style generation


Fixed ProtectedMemberInFinalClass rule reporting valid JVM finalize

Fixes https://github.com/detekt/detekt/issues/5660
Added check that declaration does not match JVM finalize signature:

name == "finalize"
parameters are empty

Something odd happened with codecov not updating coverage, will close and reopen new one


Search plugin totalDocs returns incorrect value

Describe the Bug
When using the search plugin filtering by more than one field, results can return a totalDocs value higher than reality. Sometimes even higher than docs that exist.
Link to the code that reproduces this issue
https://github.com/TimLanzi/payload-search-bug
Reproduction Steps

Create a new Payload project with the website template
Create your account and seed your database
Create the category 'Dive' (I tried to pick a word that would show up in at least 2 of the posts) and add it to the post "Dollar and Sense"
Edit the file /src/app/(frontend)/search/page.tsx to add a filter on category.title:

  const posts = await payload.find({
    collection: 'search',
    depth: 1,
    limit: 12,
    ...(query
      ? {
          where: {
            or: [
              {
                title: {
                  like: query,
                },
              },
              {
                'meta.description': {
                  like: query,
                },
              },
              {
                'meta.title': {
                  like: query,
                },
              },
              {
                slug: {
                  like: query,
                },
              },
              + {
              +  'categories.title': { like: query },
              + },
            ],
          },
        }
      : {}),
  })

Add following JSX to the same file to view totalDocs on the page:

Search

          <Search />

        +
{posts.totalDocs}

Go to search page on the local website and search 'dive'. You should see 2 results in the archive block but the totalDocs should read 3.

Which area(s) are affected? (Select all that apply)
plugin: search
Environment Info
Binaries:
  Node: 22.7.0
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: 9.8.0
Relevant Packages:
  payload: 3.0.2
  next: 15.0.3
  @payloadcms/db-postgres: 3.0.2
  @payloadcms/email-nodemailer: 3.0.2
  @payloadcms/graphql: 3.0.2
  @payloadcms/live-preview: 3.0.2
  @payloadcms/live-preview-react: 3.0.2
  @payloadcms/next/utilities: 3.0.2
  @payloadcms/payload-cloud: 3.0.2
  @payloadcms/plugin-form-builder: 3.0.2
  @payloadcms/plugin-nested-docs: 3.0.2
  @payloadcms/plugin-redirects: 3.0.2
  @payloadcms/plugin-search: 3.0.2
  @payloadcms/plugin-seo: 3.0.2
  @payloadcms/richtext-lexical: 3.0.2
  @payloadcms/translations: 3.0.2
  @payloadcms/ui/shared: 3.0.2
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
  Platform: linux
  Arch: x64
  Version: #202405300957~1732141768~22.04~f2697e1 SMP PREEMPT_DYNAMIC Wed N
  Available memory (MB): 31971
  Available CPU cores: 8

I just wanted to update with another finding. Looking at this again, it doesn't seem to be exclusive to the search plugin. In my project, I have a Resources collection with a similar structure to the search collection in my original issue. I created 2 resources and queried on the resources collection instead of the search collection. I searched "economic" where one resource has that keyword as a category and in the title and the other resource only has it as a category. Search results return 2 resources, but the pagination totalDocs returns 3.

Another finding. I ran one of the raw queries to see if the rows returned would reflect results on the app. Here are the results:

It looks like it can return duplicate rows depending on categories/other relation fields.

Similar to this, is a simpler case, might be the same issue although I'm not sure
If you have a collection with an array field / relationship field with hasMany: true, and you want to search for documents having at least one item in the array field, the same document is counted multiple times if its field has multiple items.
payload.find's totalDocs counts duplicated docs when searching in array
How to test:
Collection config
import { CollectionConfig } from 'payload';

export const Test: CollectionConfig = {
  slug: 'test',
  access: {
    read: () => true,
    create: () => true,
    update: () => true,
    delete: () => true
  },
  fields: [
    {
      name: 'array',
      type: 'array',
      fields: [
        {
          name: 'string',
          type: 'text'
        }
      ]
    }
  ]
};

Short test script
import { getPayload } from 'payload';
import config from '@payload-config';

async function run() {
  const payload = await getPayload({ config });
  await payload.delete({
    collection: 'test',
    where: {
      id: {
        exists: true
      }
    }
  });

  await payload.create({
    collection: 'test',
    data: {
      array: [
        {
          string: 'a'
        },
        {
          string: 'b'
        }
      ]
    }
  });

  const res = await payload.find({
    collection: 'test',
    where: {
      'array.string': {
        in: ['a', 'b']
      }
    }
  });
  console.log('Total docs', res.totalDocs); // 2 is returned even though only 1 document exists
}

run();

The documents returned in the .docs property are de-duplicated however this issue still messes with pagination


Docker image 'mcr.microsoft.com/mssql-tools' doesnt work when run with random uid

This image does not work when the image is run with a random user who does not exist in /etc/passwd.
If you run this image like 'docker run -u ' the sqlcmd-application fails without any explanation.
I discovered this issue when trying to run it in Openshift.

Hi,
What message returned when you try to run the container with uid? And you would like to refer to Random user IDs when running Docker containers.

This is the error returned:
"Driver's SQLAllocHandle on SQL_HANDLE_HENV failed."
I am gonna read up on the link you sent regarding running docker containers as random users.

@oddbeck thanks for reporting this, I'll share this with the team. This is an issue with sqlcmd trying to authenticate an unnamed user.
Can you try adding the following lines to your dockerfile, right before CMD?
RUN useradd -r -u 1002 appuser
USER appuser

this should unblock you for now.

I am having this issue, too.  Any progress on fixing?
The use of
RUN useradd -r -u 1002 appuser
USER appuser

isn't considered a standard practice.   Especially in systems where the userid is specified from the outside of the container for security reasons.

Another work-around is to specify a UID of an existing user that has a home directory.   For instance, nobody with UID 65534 in some images.   Check /etc/passwd to see what userids are available.
Examples:
docker run --user nobody ...

docker run --user 65534 ...

One last thought.  Using Dockerfile commands like:
RUN useradd -r -u 1002 appuser
USER appuser

is problematic in platforms like OpenShift.
Reason: OpenShift overrides the UID on deployment for security reasons.
Reference: https://cookbook.openshift.org/users-and-role-based-access-control/why-do-my-applications-run-as-a-random-user-id.html
So for mssql-docker to be useful in larger systems in a standard manner, this GitHub issue needs to be fixed.

@docktermj Any workaround for Openshift

@appi147 I haven't tried this on OpenShift.  (I've only done Helm Charts on OpenShift with non-root containers having no actual username.)
There does seem to be a glimmer of hope for manually specifying a UID for containers on OpenShift.  Reference:  https://cookbook.openshift.org/users-and-role-based-access-control/how-can-i-enable-an-image-to-run-as-a-set-user-id.html  So maybe forcing OpenShift to use a specific UID might work.
Caveat: Just a thought;  Haven't tried it.

Might be worth starting SQL with a shell script if it isn't already... and adding another environment variable RUNAS_UID that will do the useradd command if it isn't already present?  At least as a near term way to address this?

That workaround only works if you're root @appi147
I ended up here from a pyodbc issue
The cookbook solution does work, but you need to have an OpenShift admin create a special security group for the user you'll be running as, which you won't have if you move to a cloud provider.

The suggestion does not work.
RUN useradd -r -u 1002 appuser
USER appuser

Error Message

useradd: Permission denied.
useradd: cannot lock /etc/passwd; try again later.

Has anyone found a way to do this?  I'm blocked and questioning how I can include startup scripts during the deployment?

Hi everyone,
I managed to get it working by using the setup used in this[1] and building my own mssql-tools image (it may require copying some bits and modifying it here and there, but he solved the crux of the issue).
I hope this is helpful.
[1] https://github.com/VeerMuchandi/mssql-openshift-tools/tree/master/mssql-client

Hi everyone,
I managed to get it working by using the setup used in this[1] and building my own mssql-tools image (it may require copying some bits and modifying it here and there, but he solved the crux of the issue).
I hope this is helpful.
[1] https://github.com/VeerMuchandi/mssql-openshift-tools/tree/master/mssql-client

I did something similar but using Alpine. I ended up with  the image size is around 17 MBs
Cheers,


Update the instruction on authentication

Extend the intro section with info on authentication ways.
Add a step where users create their app.

Relates-To: OLPEDGE-2122
Signed-off-by: Halyna Dumych<EMAIL_ADDRESS>

Codecov Report

Merging #390 into master will increase coverage by 0.0062%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             master       #390        +/-   ##
================================================
+ Coverage   88.0506%   88.0567%   +0.0062%
================================================
  Files            72         72
  Lines          2452       2470        +18
  Branches        269        271         +2
================================================
+ Hits           2159       2175        +16
  Misses          162        162
- Partials        131        133         +2

Impacted Files
Coverage Δ

...-sdk-dataservice-api/lib/authorization-api-v1.1.ts
92.5082% <0.0000%> (-0.1093%)
:arrow_down:

Continue to review full report at Codecov.

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

Created a new PR.


e2e: switch NewWorkspaceFixture to options

Pre-req for more customization of ClusterWorkspaces in tests (for scheduling), and removal of redundant "Universal" everywhere.

/retest


how to run the demo

Hi guys, great work!
I'm trying to run the demo (I've uncommented cli and relayer workspace members, but the relayer yields an error message:
....
caused by:   failed to load manifest for dependency 'pallet-ibc'
caused by: ... cant read ibc-demo/pallets/ibc/Cargo.toml
no such file
...
Would you give me an easy fix for this? I'd like to create a demo where one substrate-ibc chain speaks with one cosmos-sdk-ibc chain.
Thanks!!

Hi @matiaszabal, thanks for the issue. The demo is outdated. We are developing a new version of substrate-ibc integrated ibc-rs. And the corresponding demo will be made accordingly, in about  2 weeks.
BTW, the official cosmos-sdk-ibc cannot interact with substrate-ibc as it doesn't have a GRANDPA light client. Are you developing a GRANDPA light client for cosmos-sdk-ibc?

Hi @livelybug, thanks for the answer.
I´m a researcher so I won't be directly implementing the light client myself but might propose the project to the team.
So, IBC/TAO is no longer a substrate PALLET?
I'd like to integrate ibc to my substrate experiment, do you think
it will be an easy task once the new code is finished?
One more: is there any telegram/discord I can use to get in touch?
Looking forward to try the demo, thanks again

@matiaszabal
IBC/TAO will still be implemented in the substrate PALLET, but most of the logic is implemented inside module ibc-rs.
You may refer to https://github.com/octopus-network/Astar/tree/dv-ibc-dev for the ibc integration on a parachain, the commits from Nov 26, 2021 are for ibc integration.
We have an ibc channel in discord: https://discord.com/channels/820671513594167336/873018126726467685

maybe this help you. https://github.com/octopus-network/substrate-ibc-deliverable


[Feature Request]: Adapter for Gun.js

Description
It would be lovely to have an adapter for Gun.js
Great work so far!
:)

I won't close this (immediately), but I don't think distributed databases are a great fit for auth. I don't think there's enough interest too

Thanks for not closing it - i'll do it if there is no taste. SEA algorithm is, by far, more secure than OAuth. Gun.js gives us an ability to have reactivity only with an S3 instance, and way cheaper. Look at what the map function does.

Closing this since I'm not sure if there's enough interest for it to be an official adapter


Pagination formatting fix

… provided.
When no sizePerPageList prop is supplied, or if there's only one element, the class on the pageList is now properly set to reduce instances of button overflow.

@k-nilsson, LGTM. Thanks your contribution :+1:

Released on v1.5.4 :)


Add French machine translation

I am experimenting with moving this translation to Weblate. Please ping me via any channel if you want to help.

=> https://hosted.weblate.org/projects/organicmaps/website/fr/

I've triggered automatic translation via Deepl in Weblate. Weblate will get almost the same content in an hour or so.

@Jean-BaptisteC I will integrate your changes manually soon.

@organicmaps/translations-fr, please take a look at https://rt-french.organicmaps.pages.dev/fr/

@rtsisyk this one is important.


Update ironic_pxe container

This is built with the following PR applied:
https://github.com/stackhpc/kolla/pull/93
It brings in the following change to the ironic-pxe container:
https://review.opendev.org/c/openstack/kolla/+/828846
Without this fix, baremetal nodes will fail to chainload iPXE and cannot be provisioned.

Has merge conflicts.

Has merge conflicts.

Fixed.


Based on the previous PR. Fix the cat path in elf-crackme-level3.0.c

Path Fixed
The cat path in the source file was a relative path, the students will have to run the elf in /bin. I change the path to absolute path.

Thank you for your help. ：)


mount point using name instead of UUID

Hello All,
I was reviewing the documentation for https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/oracle/oracle-database-quick-create#prepare-the-vm-environment and on step 9 of Prepare the Environment I see that the fstab file is mounted without UUID.
echo "/dev/sdc1               /u02                    ext4    defaults        0 0" >> /etc/fstab
Without UUID we are seeing VM's that are failing to boot up following a reboot after following the steps due to fstab errors. I think it may need to be annotated that before rebooting the VM in Azure to update the fstab entry to UUID for the mount point.
Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 279359a4-139a-ee4b-027b-4f43c538b90f
Version Independent ID: 950014e2-2457-6045-eefd-865bd1c1fb76
Content: Create an Oracle database in an Azure VM - Azure Virtual Machines
Content Source: articles/virtual-machines/workloads/oracle/oracle-database-quick-create.md
Service: virtual-machines
Sub-service: oracle
GitHub Login: @Dbakevlar
Microsoft Alias: kegorman

@erjarvin
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@Dbakevlar
Can you please check and add your comments on this doc update request as applicable.


"_width of null" Error message when switching from JavaScript to Blocks

Also deletes my sprite image in Blocks

Also deletes my sprite image in Blocks

I can repro this. Drag the snippet from javascript toolbox in javascript and draw in 2 sprites in javascript. Keep switching between blocks & javascript. You will hit the error in couple of round trips.

I can repro this. Drag the snippet from javascript toolbox in javascript and draw in 2 sprites in javascript. Keep switching between blocks & javascript. You will hit the error in couple of round trips.


Using None in xlim/ylim

hv.Curve([0, 1, 2]).opts(xlim=(None, 5))
I would have expected None to set it to the original xlim / minimum.

Seems to work now.


[SPARK-15115][SQL] Reorganize whole stage codegen benchmark suites

What changes were proposed in this pull request?
We currently have a single suite that is very large, making it difficult to maintain and play with specific primitives. This patch reorganizes the file by creating multiple benchmark suites in a single package.
Most of the changes are straightforward move of code. On top of the code moving, I did:

Use SparkSession instead of SQLContext.
Turned most benchmark scenarios into a their own test cases, rather than having multiple scenarios in a single test case, which takes forever to run.

How was this patch tested?
This is a test only change.

cc @davies

Test build #57738 has started for PR 12891 at commit b65505b.

Test build #57738 has finished for PR 12891 at commit b65505b.

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

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

Merged build finished. Test FAILed.

Test build #2968 has started for PR 12891 at commit b65505b.

LGTM

Thanks - merging in master/branch-2.0. The earlier test failure was unrelated.

Test build #2968 has finished for PR 12891 at commit b65505b.

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


Release 0.10.0

Bump giganto-client from 0.4.0 to 0.5.0
Update ingest/publish protocol version

Closes: #364

Codecov Report
Patch and project coverage have no change.

Comparison is base (86f0a20) 68.97% compared to head (073ebf6) 68.97%.

:exclamation: Current head 073ebf6 differs from pull request most recent head e72e322. Consider uploading reports for the commit e72e322 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #370   +/-   ##
=======================================
  Coverage   68.97%   68.97%
=======================================
  Files          20       20
  Lines        2936     2936
=======================================
  Hits         2025     2025
  Misses        911      911

Impacted Files
Coverage Δ

src/ingest.rs
83.81% <ø> (ø)

src/ingest/tests.rs
91.37% <ø> (ø)

src/publish.rs
66.66% <ø> (ø)

src/publish/tests.rs
97.68% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Added convenience methods as requested in #393

Integrated thanks.
I have juts relaxed the bounded parameter to Iterable<? extends CharSequence> to be able to pass  Iterable<String>