Invoke-sqlcmd slowness in PS7

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I am experiencing slowness when using invoke-sqlcmd in PS7.  I have run the exact same script in PS5 and PS7 from multiple machines with the same result.
I have a script that loops over multiple instances and runs a SQL query to grab a bunch of records.
Expected behavior
When run in PS5.1 the script runs in about 20 seconds

Actual behavior
When run in PS7.1.3 or PS7.3.5 the script runs in around 10 minutes

Error details
No response
Environment data
PS5 versions
Name                           Value
----                           -----
PSVersion                      5.1.14393.4583
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.4583
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Name                           Value
----                           -----
PSVersion                      5.1.14393.5582
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.5582
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

PS7 versions
Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.14393
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Name                           Value
----                           -----
PSVersion                      7.3.5
PSEdition                      Core
GitCommitId                    7.3.5
OS                             Microsoft Windows 10.0.14393
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

I presume this is an MS SQL database. Is this a remote database? It may be that the connection establishment to the database is taking the time..
Can you compare with using a direct PowerShell script to make the connection and perform a sample query. For example create the connection with
$connection = New-Object System.Data.SqlClient.SqlConnection -ArgumentList $ConnectionString

then test with something like
$CommandText = 'SELECT @@VERSION AS VERSION'

try
{
	$Connection.Open()

	$Command = $Connection.CreateCommand()

	$Command.CommandText = $CommandText

	$Reader = $Command.ExecuteReader()

	try
	{
		$DataTable = New-Object System.Data.DataTable

		$DataTable.Load($Reader)

		$DataTable | Format-Table
	}
	finally
	{
		$Reader.Dispose()
	}
}
finally
{
	$Connection.Dispose()
}

This should highlight any difference regarding the connection establishment of the underlying transport.

Yes, this is connecting to a MS SQL DB on a remote server.
I tried changing to what you have above, and it yielded similar results.
PS5 took around 20 seconds while PS7 took around 10 minutes.
Both the PS5 and PS7 scripts were ran from the same machine and ran against the same set of SQL instances.  The scripts were ran multiple times with the same results.

Can you share the result of Get-Command Invoke-Sqlcmd on both PowerShell 5.1 and PowerShell 7. I know Invoke-Sqlcmd can come from two different module SQLServer and SQLPS https://learn.microsoft.com/en-us/sql/powershell/sql-server-powershell?view=sql-server-ver16 and https://learn.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-ver16. You want to make sure you are using the SQLServer variant as that is a newer module that can load natively in the process. There's a good chance the one from SQLPS is using an implicit proxied import where a new Windows PowerShell process is being started, the module is loaded there, and any input and output is serialized between the two processes adding a lot of overhead causing it to be slower.

I tried changing to what you have above, and it yielded similar results.
PS5 took around 20 seconds while PS7 took around 10 minutes.

That code should run pretty much instantaneously. (For one server / connection string). If it is taking 20 seconds in PS5 it sounds like something is wrong already and things are worse in PS7  (which may be a .NET thing rather than a PowerShell one).
Have you tried single stepping through the commands to see where the delay is ?

20 seconds isn't bad.  The script is looping over the same roughly 70 instances in both cases.

Really want to know why PS7 is so much slower.

I am just speculating here, how are you addressing the remote server, by DNS name or by IP address? There may be either some problem with the resolution or perhaps it is trying IPv6 first, failing and then using IPv4.
If you did this on Linux you could use strace to see what operating system calls are actually being made, where the time is spent and what errors occur along the way.


replace all uses of innerHTML assignment that are only intending to deal with text with textContent assignment

Most of these uses of innerHTML are harmless, but a couple of them are using innerHTML to insert translated strings. (And arguably, the ones that aren't using translated strings probably should be).
After this, there are only three instances of innerHTML assignment in this project:
$ git grep innerHTML
core/ui/contract_editor/contract_editor.js:  this.contractDiv_.innerHTML =
core/ui/function_editor.js:  this.container_.querySelector('#paramEditingArea').innerHTML =
core/ui/function_editor.js:  this.contractDiv_.innerHTML =

and all of them are actually being used to insert HTML. Followup work will involve making those safe.

Codecov Report

Merging #186 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
- Coverage   59.23%   59.23%   -0.01%
==========================================
  Files          95       95
  Lines       11543    11543
==========================================
- Hits         6838     6837       -1
- Misses       4705     4706       +1

Impacted Files
Coverage Δ

core/ui/contract_editor/x_button.js
20% <0%> (ø)
:arrow_up:

core/ui/contract_editor/contract_editor.js
84.1% <100%> (ø)
:arrow_up:

core/ui/contract_editor/example_view.js
95.87% <75%> (ø)
:arrow_up:

core/ui/block_space/block_space.js
64.64% <0%> (-0.22%)
: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 eab44ff...a69d40a. Read the comment docs.


TextureAtlasBuilder now respects insertion order

Objective
TextureAtlases are commonly used to drive animations described as a consecutive range of indices. The current TextureAtlasBuilder uses the AssetId of the image to determine the index of the texture in the TextureAtlas. The AssetId of an Image Asset can change between runs.
The TextureAtlas exposes get_texture_index to get the index from a given AssetId, but this needlessly complicates the process of creating a simple TextureAtlas animation.
Fixes #2459
Solution

Use the (ordered) image_ids of the 'texture to place' vector to retrieve the packed locations and compose the textures of the TextureAtlas.

@alice-i-cecile There is actually one subtle change that I did not think about. If you add the same image multiple times to the TextureAtlasBuilder it would only be added once to the TextureAtlas. Now it will appear multiple times (the atlas texture itself will still contain the image data only once, but there are additional indices that will point to the same part of the atlas texture).

Hmm. I'm really not sure if that's desired behavior or not.


Not work if account have password

Cannot sign in with password

Valid point, thanks!
I'll fix this as soon as I can


How to dynamically set the text of the indicator？

I want to change the text on the indicator to percentage. Is there any way to change it?

Have you tried this?
app:isb_text_array="@array/seekbar
<array name="seekbar_lugares">
        <item>5%</item>
        <item>10%</item>
        <item>20%</item>
        <item>50%</item>
</array>

@xjhh @EstebanC02 hi, the lastest version is supported this easily. you could do this by java code：seekbar.setIndicatorTextFormat("${PROGRESS} %")，more details please refer to the newest readme.md

Hi, for cases like format money #.###,00 I try but don't works


Add support for Envers dynamic entities

Envers generates dynamic entity models that have no class representation which is currently a problem. We should make sure we use the JPA metamodel wherever we can and handle the fact that the java type can be null. Also, we need to add a method to allow querying by EntityType rather than class.

Merged by f892e33


Alembic DB migration error in Langflow v0.6.0 with PostgreSQL

Describe the bug
While attempting to upgrade to Langflow v0.6.0 and running it with PostgreSQL, an error occurs during Alembic DB migration. The error is as follows:
$ langflow migration

alembic.util.exc.AutogenerateDiffsDetected: New upgrade operations detected: [('add_constraint', UniqueConstraint(Column('id', NullType(), table=))), ('add_constraint', UniqueConstraint(Column('id', NullType(), table=))), ('add_constraint', UniqueConstraint(Column('id', NullType(), table=)))]

 RuntimeError: Something went wrong running migrations. Please, run `langflow migration --fix`

When trying to force the migration using --fix:
$ langflow migration --fix

InternalError: (psycopg2.errors.InFailedSqlTransaction) current transaction is aborted, commands ignored until end of transaction block

[SQL: UPDATE alembic_version SET version_num='2ac71eb9c3ae' WHERE alembic_version.version_num = 'fd531f8868b1']

This does not work even with a fresh new installation of v0.6.0.
Browser and Version

Version: 0.6.0

To Reproduce
Here is a docker-compose file to reproduce:
version: '3'

services:
  init-db:
    build:
      context: .
      dockerfile: Dockerfile
    environment:
      LANGFLOW_DATABASE_URL: postgresql://langflow:langflow@db:5432/langflow
    command: echo y | langflow migration --fix  # Tried also: `langflow migration`
    depends_on:
      - db

  langflow:
    build:
      context: .
      dockerfile: Dockerfile
    environment:
      LANGFLOW_DATABASE_URL: postgresql://langflow:langflow@db:5432/langflow
    ports:
      - "7860:7860"
    command: langflow run --host <IP_ADDRESS>
    depends_on:
      - db
      - init-db
  db:
    image: postgres:13
    ports:
      - 5432:5432
    volumes:
      - postgres_data:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: langflow
      POSTGRES_PASSWORD: langflow
      POSTGRES_DB: langflow

volumes:
  postgres_data:

Additional context
Please note that there is no issue when using SQLite DB.

Hey @yassineselmi
I'm going to reproduce it here and I'll get back to you. Thanks for pointing it out.


hex.pm version is outdated

There seems to be version 1.9.0 and 1.9.1 on hex.pm but it's from 2021 while 1.9.0 and 1.9.1 on github release is from earlier this year. will these version be published to hex as well?

@isubasti I will investigate but have you confirmed the 1.9.1 in Hex isn't the 1.9.1 here? If we review the git history there was never a 1.9.1 in 2021. This feels like a hex bug or a configuration issue 🤔


Could I have the four datasets?

Hi, I am wondering if I could get the four datasets in the paper?

longitudes
longlat
lognormal
YCSB
The given sample dataset is only 200M, which is part of the longitudes dataset.
I have also tried to extract the dataset from the open street map, but I assume that there must be a strategy that you use to select the longitudes or the latitudes. Could you mention a little about this strategy? Thanks.

You can now find links to the datasets in the README.
The longitude and latitude values should be GPS coordinates from randomly-selected locations in OSM. But I did not generate the longitude and latitude values myself, so I don't know the exact selection procedure.

Thanks a lot!

Dear Jialing,
I found that the lognormal dataset and YCSB dataset cannot be run properly if you bulk load them. Could you double-check if the two datasets are the original ones in the paper?
For the lognormal dataset, there are 190M keys.

If you want to bulk load the lognormal dataset with less than 629,145 keys, everything is fine.
But if I bulk load the lognormal dataset with more than 629,145 keys, ALEX suddenly goes out of control.
To be specific, I have tested the following amount of keys to bulk load:
bulk load the lognormal dataset with 600,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the lognormal dataset with 620,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the lognormal dataset with 630,000 keys, ALEX has 855 model nodes and 856 data nodes, and the maximum depth is 855.
bulk load the lognormal dataset with 700,000 keys, ALEX cannot run with an error message: Segmentation fault (core dumped).

For the YCSB dataset, there are 200M keys.

If you want to bulk load the YCSB dataset with less than 629,145 keys, everything is fine.
But if I bulk load the YCSB dataset with more than 629,145 keys, ALEX suddenly goes out of control.
To be specific, I have tested the following amount of keys to bulk load:
bulk load the YCSB dataset with 600,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the YCSB dataset with 620,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the YCSB dataset with 630,000 keys, ALEX has 856 model nodes and 857 data nodes, and the maximum depth is 856.
bulk load the YCSB dataset with 700,000 keys, ALEX cannot run with an error message: Segmentation fault (core dumped).

I thus debug the code to see what has happened. The problem is at Line 731 of 'alex.h'. The if condition will decide if num_keys <= derived_params_.max_data_node_slots * data_node_type::kMinDensity_.
derived_params_.max_data_node_slots is 1,048,576, and the data_node_type::kMinDensity_ is 0.6, thus less than 1,048,576 * 0.6 = 629,145.6 keys are fine for bulk loading, but if there are too many keys in lognormal or YCSB, ALEX cannot handle.
The weird thing is that I test the same amount of keys on longitudes and longlat, everything is fine.

bulk load the longitudes dataset with 630,000 keys, ALEX has 8 model nodes and 8823 data nodes, and the maximum depth is 2.
bulk load the longlat dataset with 630,000 keys, ALEX has 791 model nodes and 22404 data nodes, and the maximum depth is 3.

I thus doubt if the lognormal dataset and YCSB dataset are correct? Or should set some parameters specifically for the two datasets? Thanks.

Dear Jialing,
I found that the lognormal dataset and YCSB dataset cannot be run properly if you bulk load them. Could you double-check if the two datasets are the original ones in the paper?
For the lognormal dataset, there are 190M keys.

If you want to bulk load the lognormal dataset with less than 629,145 keys, everything is fine.
But if I bulk load the lognormal dataset with more than 629,145 keys, ALEX suddenly goes out of control.
To be specific, I have tested the following amount of keys to bulk load:
bulk load the lognormal dataset with 600,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the lognormal dataset with 620,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the lognormal dataset with 630,000 keys, ALEX has 855 model nodes and 856 data nodes, and the maximum depth is 855.
bulk load the lognormal dataset with 700,000 keys, ALEX cannot run with an error message: Segmentation fault (core dumped).

For the YCSB dataset, there are 200M keys.

If you want to bulk load the YCSB dataset with less than 629,145 keys, everything is fine.
But if I bulk load the YCSB dataset with more than 629,145 keys, ALEX suddenly goes out of control.
To be specific, I have tested the following amount of keys to bulk load:
bulk load the YCSB dataset with 600,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the YCSB dataset with 620,000 keys, ALEX has 0 model nodes and 1 data node, and the maximum depth is 0.
bulk load the YCSB dataset with 630,000 keys, ALEX has 855 model nodes and 856 data nodes, and the maximum depth is 855.
bulk load the YCSB dataset with 700,000 keys, ALEX cannot run with an error message: Segmentation fault (core dumped).

I thus debug the code to see what has happened. The problem is at Line 731 of 'alex.h'. The if condition will decide if num_keys <= derived_params_.max_data_node_slots * data_node_type::kMinDensity_.
derived_params_.max_data_node_slots is 1,048,576, and the data_node_type::kMinDensity_ is 0.6, thus less than 1,048,576 * 0.6 = 629,145.6 keys are fine for bulk loading, but if there are too many keys in lognormal or YCSB, ALEX cannot handle.
The weird thing is that I test the same amount of keys on longitudes and longlat, everything is fine.

bulk load the longitudes dataset with 630,000 keys, ALEX has 8 model nodes and 8823 data nodes, and the maximum depth is 2.
bulk load the longlat dataset with 630,000 keys, ALEX has 791 model nodes and 22404 data nodes, and the maximum depth is 3.

I thus doubt if the lognormal dataset and YCSB dataset are correct? Or should I set some parameters specifically for the two datasets? Thanks.

I can't reproduce these errors. Can you try running the benchmark executable, as described in the README?  I used int64_t before, so I could not succeed. When change int64_t to uint64_t, everything is fine. Thank you.

Dear Jialing,
I want to replicate the experiments of Table 2 in the paper.

In section 6.1.2, the paper stated that:

For a given dataset, we initialize an index with 100 million keys.

And I need help with the following 3 problems:

Q1: Does Avg depth denote the average depth of [all nodes(model nodes and data nodes)] or simply [data nodes]?
Q2: I assume Table 2 means bulk loading only 100 million keys for 4 datasets, right?
Q3: I tried to replicate the experiments in Table 2, but got different statistics, could you have me check if there is something I miss? (or maybe the later commits have slightly changed some features?)

For Q3, I used the benchmark to test them and get different statistics. I set both init_num_keys and total_num_keys to 100M, so that benchmark will only bulk-load 100M keys. For example,

./build/benchmark
--keys_file=[path to location of a given dataset]
--keys_file_type=binary
--init_num_keys=100000000
--total_num_keys=100000000
--batch_size=100000
--insert_frac=0.5
--lookup_distribution=zipf
--print_batch_stats

For longitudes, I bulk-load 100M keys. The results are as follows:

For longlat, I bulk-load 100M keys. The results are as follows:

For lognormal, I bulk-load 100M keys. The results are as follows:

For YCSB, I bulk-load 100M keys. The results are as follows:

Thank you so much for your time.


[C4GT] Develop UI + Backend SDK Framework for BAPs

Project Details
Beckn protocol is a set of open specifications aimed to create a common language, that is machine-readable and enables interoperability for economic transactions between disparate platforms of any size and form - be it a cab reservation, or booking a stay, or confirming a doctor’s appointment, and many more. Thus it enables the creation of inclusive and equitable open networks offering a multitude of choices to the citizens, while at the same time negating the dependence on intermediaries to freely operate and generate economic transactions of value. It is akin to what SMTP is to E-mails or HTTP is to the Internet.
Since its inception in 2019 as a set of specifications, Beckn has been adopted across geographies in sectors such as mobility, retail, hyperlocal logistics, healthcare, skills, agriculture sectors, etc. Few notable examples of open networks built on the Beckn protocol are Open Network for Digital Commerce (ONDC), Namma Yatri at Bangalore, Kochi Open Mobility Network (KOMN), Unified Health Interface (UHI), etc.
The BAP Boilerplate SDK is a generic full-stack NodeJS + React-native SDK that allows developers to quickly beckn-enabled consumer-facing applications (BAPs) via a boilerplate codebase. This consists of a base source-code when complied generates a basic BAP application with all APIs and screens for each state that is encountered during a typical order lifecycle like disovery, ordering, fulfillment and post-fulfillment. Developers can then modify these screens according various UI flowspertaining to different sector-specific experiences like mobility, health, retail, etc
Features to be implemented

UI Framework
Backend API Framework and Network Interface

What exists

Beckn protocol sandbox at : https://github.com/beckn/beckn-sandbox
Beckn protocol specifications at  : https://github.com/beckn/protocol-specifications
Beckn protocol tech overview on Youtube : https://www.youtube.com/watch?v=7Otfcy37-NE&list=PLBC6c8MLy9uVUIb1BOgdOa8tP4rX6c4aK

What needs to be built

Open-source codebase with installation guide and developer docs
Downloadable apk

Learning Path
Complexity
Medium
Skills Required

Open API 3.0
JSON Schema
NodeJS
JavaScript
React Native
MongoDB

Name of Mentors:
Product Understanding

@ravi-prakash-v
@faizmagic

Protocol Specification Design

@ravi-prakash-v

Project Setup and Guidance

@faizmagic
@hemant-eminds
@nikhil2128
@ujjwal502

Product Setup

@nikhil2128
@ujjwal502

Product Architecture

@ravi-prakash-v
@nikhil2128

Frontend Development

@ujjwal502

Backend Development

@nikhil2128
@emindsajay
@zoyaashik

Deployment and Devops

@prasad-takale-eminds

Testing and QA

@SushanthKJ

Project size
8 Weeks
Project Setup Guide
To set up this project, please connect with the Project Setup and Guidance mentor for this project and follow their instructions
Product Set Up
To set up this project, please connect with the Product Setup and Guidance mentor for this project and follow their instructions
Acceptance Criteria

Demonstration of a mobility transaction through an Android app built on this SDK
Demonstration of a retail transaction through an Android app built on this SDK
Demonstration of a stay and tourism transaction through an Android app built on this SDK

Out of Scope

iOS app

Milestones

Understanding beckn protocol
Detailed product requirements document
UI Framework source-code architecture
UI Framework development
Backend Framework source-code architecture
Backend Framework development

Hello @ravi-prakash-v and mentors! I'm Aman Kumar, a third-year undergraduate student at IIT Kharagpur. After reviewing the project description, I feel confident in my skills across all the tech stacks mentioned. I'm eager to submit a proposal for it. Could you please guide me on where to begin?

👋 Hey @ravi-prakash-v, I'm really looking forward to submitting my proposal for this project! 🚀

@ajaman190 @harshikagoyal14 @Sumitmaithani, It's great to see your interest in this project, you can make an active contribution via issue creation and by submitting your Pull Requests.
For support from fellow contributors, Join Beckn Open Collective server :https://bit.ly/bocWebInvite


correct spelling errors in LICENSE noted by Debian lintian

Debian Lintian suggest the proposed fixes for typos in LICENSE file.
trivial contribution
this is my first "pull request" :-)

Checklist

Thanks for the effort.  Unfortunately, the project inherited that license and we believe (including comments from one of the original authors) that it must be unchanged.  So we can't make the change.  On the good news side, we're working to move that to APL license, which doesn't have the typo's (among other things :).

Ah yes, I forgot "the immutable bit".  Thanks.


Move some classes out of model-core to base-asm and core-api project

We move some of classes out of model-core, so we can use them in annotation processor and instrument core-api.
We move to base-asm:

AsmClassGenerator
AsmClassGeneratorUtils
BytecodeFragment
ClassGeneratorSuffixRegistry
ClassVisitorScope
MethodVisitorScope

We move to core-api:

ListPropertyView
SetPropertyView
MapPropertyView

Also don't use MethodVisitorScope as API of generated classes.
Relates to https://github.com/gradle/gradle/issues/26544
Based on https://github.com/gradle/gradle/pull/28578

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test this

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test QF

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedback build

@bot-gradle test this

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


Tindog: Startup Website

Title and Issue number

Title :Tindog: Startup Website
Issue No. : 35
Code Stack : HTML, CSS, Bootstrap
Close #35

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have updated the Index.html file for my contribution

Bro i have again raised the PR, after resolving some problem,please review it.
Thanks

Bro i have again raised the PR, after resolving some problem,please review it. Thanks

the deployment link isn't working could you remove the ./css/ part as there is no such css folder present:

@RAGHAVS1304 looks good! Thanks for contributing!

Thanks sir, for your support.👍
I am willing to make more contributions in future.


Flake - test/v1alpha1 TestPipelineTaskTimeout

PR #4406 reported a alpha integration test failure:
init_test.go:135: Create namespace arendelle-llsp7 to deploy to
    init_test.go:163: Verify SA "default" is created in namespace "arendelle-llsp7"
    timeout_test.go:347: Creating Tasks in namespace arendelle-llsp7
    timeout_test.go:407: Waiting for Pipelinerun pipeline-task-timeout-rwwwhmvi in namespace arendelle-llsp7 to be started
    stream.go:238: Invalid log format for pod tekton-pipelines-controller-85bcd8b8d5-sh6bk: {"level":"debug","ts":"2021-12-14T21:07:14.591Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:419","msg":"Adding to queue arendelle-llsp7/pipeline-task-timeout-rwwwhmvi (depth: 2)","commit":"5e4bf68","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/key":"arendelle-llsp7/pipeline-task-timeout-rwwwhmvi"}
    stream.go:238: Invalid log format for pod tekton-pipelines-controller-85bcd8b8d5-sh6bk: {"level":"info","ts":"2021-12-14T21:07:15.393Z","logger":"tekton-pipelines-controller","caller":"pipelinerun/pipelinerun.go:799","msg":"Creating a new TaskRun object pipeline-task-timeout-rwwwhmvi-pipelinetask1 for pipeline task pipelinetask1","commit":"5e4bf68","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/traceid":"b8adb48d-20b0-4fac-8349-70fb3c6cbe84","knative.dev/key":"arendelle-llsp7/pipeline-task-timeout-rwwwhmvi"}
    stream.go:238: Invalid log format for pod tekton-pipelines-controller-85bcd8b8d5-sh6bk: {"level":"debug","ts":"2021-12-14T21:07:15.554Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:419","msg":"Adding to queue arendelle-llsp7/pipeline-task-timeout-rwwwhmvi (depth: 3)","commit":"5e4bf68","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.pipelinerun.Reconciler","knative.dev/kind":"tekton.dev.PipelineRun","knative.dev/key":"arendelle-llsp7/pipeline-task-timeout-rwwwhmvi"}
    stream.go:238: Invalid log format for pod tekton-pipelines-controller-85bcd8b8d5-sh6bk: {"level":"debug","ts":"2021-12-14T21:07:15.554Z","logger":"tekton-pipelines-controller","caller":"controller/controller.go:419","msg":"Adding to queue arendelle-llsp7/pipeline-task-timeout-rwwwhmvi-pipelinetask1 (depth: 9)","commit":"5e4bf68","knative.dev/controller":"github.com.tektoncd.pipeline.pkg.reconciler.taskrun.Reconciler","knative.dev/kind":"tekton.dev.TaskRun","knative.dev/key":"arendelle-llsp7/pipeline-task-timeout-rwwwhmvi-pipelinetask1"}

The detailed report can be found here.

I am wondering about the invalid log format at the same 🤔

/kind flake

seen the same flake in integration tests, but in beta this time: https://tekton-releases.appspot.com/build/tekton-prow/pr-logs/pull/tektoncd_pipeline/4462/pull-tekton-pipeline-integration-tests/1480631379413700608/

Appears to have occurred in this pull request too: https://github.com/tektoncd/pipeline/pull/4634
Link to the test output: https://tekton-releases.appspot.com/build/tekton-prow/pr-logs/pull/tektoncd_pipeline/4634/pull-tekton-pipeline-alpha-integration-tests/1498740584272105472/

Closing this as v1alpha1 PipelineRun is now gone, and the more general issue is covered by #5127.


Rendering partial is not working, must add html_safe

In my mailer.html.inky I am trying to render a partial header.html.inky.
The following code merely renders the escaped html:
<container>
  <%= render(partial: "my_mailer/header") %>
</container>

By adding html_safe to my render method it works fine:
<container>
  <%= render(partial: "my_mailer/header").html_safe %>
</container>

Is this expected behaviour?

I too am having this issue.

This has been fixed in the develop branch along many other annoying bugs waiting in PRs, but it seems the project is not moving for a few weeks, so I have to run on a forked repo for now.

Indeed, fixed in master, please release...

Merged, expect a release imminently

Just released <IP_ADDRESS> :smile:


Workaround for GtkWindow::set-focus parameter nullability

Closes #985. Current master seems to be broken, but I tested this patch applied on the 0.8.1 tag and it worked there.

Current master seems to be broken

Broken in what regard?

Broken in what regard?

I assume you mean https://github.com/gtk-rs/gir/issues/901#issuecomment-612860781

Sorry, never got back to you on how master was broken. That does look like the issue I was having. I figured you probably already knew about something so blatantly broken on master.


Wrapper for 3D engine: enhancement for Unity 3D

I think that is very important to create a wrapper for 3D Engine: Unity 3D will be the perfect 3D engine to start.
It is possible to start a Patreon campaign where I would like to contribute.

I think this is a good idea, but I need to finish the yojimbo in C++ first before we can consider how it is used in C# from Unity. I will re-open this at the appropriate time. Stay tuned.

the VR devs strongly need it. it could boost the current social VR comunity!

Great idea!

These is some tutorials how to create a plugin for Unity:

http://www.alanzucconi.com/2015/10/11/how-to-write-native-plugins-for-unity/
http://ericeastwood.com/blog/17/unity-and-dlls-c-managed-and-c-unmanaged

If somebody would like to take this on as a project, I'm all for it, but I won't have time to do this myself anytime soon.

I work in Unity 3D daily as a game developer and would be happy to take a peek into this, albeit I only have a tiny amount of spare cycles per week and I don't anticipate us using this for our projects anytime soon (darn :))
A good point to start with this is getting it simply importing into Unity and then getting a super basic example to work. Correct?
It's a bit harder because unmanaged C++ types can't be directly utilized within managed C# code, but we can always resort to passing through primitive types with a nice Unity wrapper to facilitate.
Let me know if anyone has any recommendations, suggestions, or wants and I'll try to take a look sooner than later.
Thanks!

I am very interesting to the project, but I don't have the correct skill :-( I write some advise here: https://github.com/networkprotocol/yojimbo/issues/53#issuecomment-315987864
See also:
https://docs.unity3d.com/Manual/PluginsForDesktop.html
If you want a Beta Tester I am here!

@codemaster I think the biggest challenge here is that the message serialization for yojimbo is based around C++ template metaprogramming, and would not port easily to C#. The trick would be working out how people in C# read and write serialize functions in C#, such that they work properly with the rest of the yojimbo runtime in C++. Non-trivial.

Thanks for the info, @gafferongames.
My thoughts so far is that we could potentially convert C# objects to a byte array using BinaryFormatter and submit this byte array directly into the serializer/stream or via a special object/wrapper. Do you think this may work?
What additional strategies do you think we can utilize to bridge that C#/C++ gap on serializing messages to the stream?

Well it would work, but it wouldn't be really efficient. Part of what makes yojimbo good is the bitpacker for messages that lets you serialize small message data really efficiently. It would be a shame to pad that up to bytes.

Thanks for the quick response.
Let me do a bit of reading to see if this is possible, I would hate to not take advantage of the nice templating that you provided.
I know C++ objects in C# are mostly a no-no, but I wonder if C# objects can be used a bit easier in C++ :)

I think you could provide a way to implement C# objects that are wrapped by a C++ message type, and  then implement serialize read/write/measure in C#. The question is then, how to best do that, since C# generics are not as efficient as C++ templates in optimizing code, but it's still good to write one serialize function vs. separate read/write/measure functions. Code generation?

Basically, the problem is how to implement unified serialization in C#, is it possible without code generation while still providing optimized read/write/measure serialize functions as efficient as hand-crafted code? I'm not sure.

Closing this out. I support people who would like to do this, but I don't have time to do it myself.

@codemaster I'd like to follow, and potentially participate, if this project is going to happen.

@ItsAustinK thanks! :)
Happy work on this, but I think @gafferongames mentioned a really good, difficult limitation: having objects cross that C# -> C++ barrier and take advantage of the templated functions. So far, I have yet to think of or find any good solutions to this :(

@codemaster Jackson Dunstan is doing a series about how to write everything in C++ instead of C# and he uses Object Handles there to pass objects from C# to C++ so maybe that can be usable.
Object Handles http://jacksondunstan.com/articles/3908
Whole series link http://jacksondunstan.com/articles/3938

Honestly, if serialization is the only problem, couldn't you just define a quick serialization paradigm?  Obviously, you don't want to use JSON.  It's too verbose, but you could serialize a string, and map it to a message.  Fortunately, Yojimbo has a cleanly defined format for messages.  I'm just getting into the library, but at a high level, I think it's very doable.  I would need to dig in and understand the message format better.   If you could cleanly define the packet format (Header, Crypto, Message, Footer, etc), then you could receive a byte array on the server that gets mapped to a common object, and then processed in order.  If you can define a reasonable message structure, then you don't need a hard dependency between the server and client stream object.  Again, I know very little about the message structure right now, but I'd be happy to help build this, if @gafferongames is available to consult on some of the nitty gritty details of the library.  Campfire Studios is also looking at this to be the game server implementation for our Ignition Engine.

Hi @richterk
If you have anytime you can check this repo https://github.com/netcode-io/yojimbo.net.
It is a wrapper for C# and I have created a simple game client and server with that repo for Unity. The result is perfect, it works. May be it helps you.
Here you can find the example repos.
https://github.com/erdinckaya/prometheus - for Client
https://github.com/erdinckaya/themis - for Server
Last time I checked, the only thing that is missing is yojimbo.net didn't implemented secure connection, however you can define your secure server to establish secure connection.


Order both Campus Division and Collection Facet results on Objects by number of results descending (from 1863)

Problem Description:  The Collection Facet on objects currently displays results in a seemingly arbitrary order.   The same is true for Campus Division. Other facets display results in descending number of results
Expected Behavior:  Collections and Campus Division should also show results by number of results, descending.  This is a MarkLogic Issue.  These two facets are different than other facets.
Needed:

[x] Decision - see expected behavior.

Links:

https://www.bugherd.com/projects/284041/tasks/1772
https://lux-front-tst.collections.yale.edu/view/results/objects/?q={"text"%3A"yosemite"%2C"_lang"%3A"en"}&sq=yosemite

@prowns I am closing this issue as it was discussed with Peter that this change will be made in ML.


Unnecessary repeated epoch transitions when node is stuck

Describe the bug
Due to the invalid head state root issue, our Prater node got stuck for a few days in limbo, memory is stable. However, many epoch transitions are done per epoch (32-50). Maybe the regen is not caching the state after advancing it? Or doesn't know how to query it.
Check in the REST API metrics the only external interaction with the node is getProposerDuties, there was no gossip received during that period.

Note: prometheus query for epoch transitions per epoch
increase(lodestar_stfn_epoch_transition_seconds_count[384s])

Expected behavior

Steps to Reproduce

Screenshots

Desktop (please complete the following information):

OS:
Version:
Branch:
Commit hash:

Closing issues for specific incidents on old versions of Lodestar, please re-open if it happens with latest stable


[QUESTION] How do I move objects within a section?

Question
Hello, everyone!
I have read the documentation but could not find an answer to a rudimentary question. How can I move objects within a section? That is, let's say I want to move the most recent object a little higher, that is, make it the penultimate.
To do this, edit conf.yml and rearrange objects in an array? Is it possible to do this through editing mode?
Category
Configuration
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

在编辑配置中，拖动配置树可以改变排序

From the UI, under the config menu there is a JSON editor Edit Config, with built-in validation, documentation and advanced options. You can use that to sort, not arrange, sections and items according to criteria like description, icon, name, id, etc...
There's also the ability to insert, append and remove, which might give you a more arranging capabilities. Yes, it's a GUI but cumbersome, honestly it's faster the use an easy to use text editor to edit the conf.yml file.


Add a Vuex-to-Pinia Migration Guide to documentation

What problem is this solving
Looking at this discussion https://github.com/posva/pinia/discussions/787 highlights that a lot of people are converting Vuex stores to Pinia stores. A common thing to do in Vuex is write getters that return state of the same name, of course this is pointless in Pinia. There are a few other gotchas like that when converting from Vuex to Pinia that aren't always obvious.
Proposed solution
Include a section in the documentation, something like "Vuex Migration Guide", which highlights some of the main steps to do and some of the common gotchas. A rough idea of what a step-by-step guide could look like:

Namespacing, usage of id instead, if using other stores with rootState/rootGetters convert those first
Convert state, now a function (if it wasn't already)
Convert getters, remove useless getters (as in the above discussion), link to type gotchas already documented
Convert actions, using this instead of context
Convert mutations, replace with actions or just assign directly to the store
Convert usages of store within components, using helpers or in setup (already documented)

Describe alternatives you've considered
There are some notes at https://pinia.esm.dev/introduction.html#comparison-with-vuex-3-x-4-x and in other places too, but a more step-by-step guide could be beneficial, even if most of it links to already existing documentation.
Another alternative would be to add warnings for these edge cases (for example in the above discussion, when adding getters do a check that it doesn't name collide with any of the state, and warn if it does)
I'd be happy to help in either case, I'm interested in your thoughts on the best approach for handling things like this @posva

I think this is a very good idea and I will definitely welcome a PR on this 💚 It's also something that could be used for Vuex 5 docs.
I do have thoughts on how to approach it but I will probably give this a look in a few weeks. I see you already worked on some sections and I think a good way to push this forward is to write up the different sections as isolated ones so they can be reorganized and reused later


#271 Added check for self and window objects + tests

Coverage increased (+0.01%) to 97.927% when pulling c99e4ec32cd14d83776f2bdcc5a4e7384131c1b1 on alexindigo:master into ebee8412f79798b87fd3ebed44748c1ca06fc1ac on form-data:master.

bitHounds is just broken again, everything else is fine.


Adding AYON_LOG_NO_COLORS into prelaunch hooks.

Is there an existing issue for this?

[X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?
Hiero on Windows prints the Ayon logs in the console, but the logs appear colored. The console doesn't interpret the control sequences correctly, making the logs unreadable.
How would you imagine the implementation of the feature?
Adding AYON_LOG_NO_COLORS into default environments via prelaunch hook
{
    "AYON_LOG_NO_COLORS": "1"
}

Are there any labels you wish to add?

[X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:
No response
Additional context:
No response

Duplicated issue of https://github.com/ynput/ayon-nuke/issues/24 for Hiero


Git clone fails when not currently in a repo

I may be hitting a user error, but simply trying to clone a repo such as git@github.com:Hammerspoon/hammerspoon.git failed with: "Unable to determine Git repo path." (traceback below)
I answered first prompt with the repo URI, and the second prompt with a local path. It seems I MUST be on some kind of git repo, either bare or other. We can probably avoid this requirement for the git clone command at least.
Traceback (most recent call last):
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 126, in git
    cwd=working_dir or self.repo_path,
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 213, in repo_path
    return self._repo_path()
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 246, in _repo_path
    return invalid_repo()
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 230, in invalid_repo
    raise ValueError("Unable to determine Git repo path.")
ValueError: Unable to determine Git repo path.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/commands/init.py", line 131, in do_clone
    self.git("clone", self.git_url, self.suggested_git_root)
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 134, in git
    raise_error(e)
  File "/Users/pavel/Library/Application Support/Sublime Text 3/Packages/GitSavvy/core/git_command.py", line 112, in raise_error
    raise GitSavvyError(msg)
GitSavvy.core.exceptions.GitSavvyError: Unable to determine Git repo path.

Hmm, that is stage I did just cloned it and it works. See here http://recordit.co/i8j8wIXrZ7
I changes it to be async recently so if it take longer to clone a repo you don't much of a feedback before it is done.

It only fails when you run the command outside of a repo, e.g open a new window first.

It enter an infinite loop trying to find the working tree. So by simply passing a valid path to the git command with it should prevent it. PR at #616


Sources are not included in the NPM distribution, which makes the source mapping URLs useless.

Hi,
I have a step in my webpack build that checks for sourcemaps in include node modules - this helps if I end up debugging an issue that takes me deep into library code for whatever reason.
The react-from-dom library has sourcemaps, but the sourcemaps reference sources that aren't included in the final package, which means that the sourcemaps can't be used, as they reference code that I can't use (unless I download the sources from Github and somehow manually link them into the right place!)
My recommendations would be to either:

Remove sourcemaps entirely from the NPM package - they are currently useless
Include the sources in the distribution by adding them to the "files" list in NPM
Include the sources directly in the sourcemaps by using the inlineSources TypeScript parameter.

Personally, I think the second option is probably the easiest and the best - the package shouldn't increase significantly in size, and the sources won't be included in downstream bundles anyway.
I can create a pull request for any of these if you want, but they should all be a one-line change anyway.
Thanks for maintaining this library!

Hey!
Added the src in 0.4.1
Thanks

No worries, thanks for adding that!


Size and color section option when I download the icon

There should be popup appear when I download the icon.

Selecting file format - png and svg
Size selection - 16px, 24px, 32px, 64px, 128px
Color picker - default color pallet with hex code option
Add to collection (Future request)

Inspiration

Hi, Rrishishah, your requestions were already in our dev plan, all the UI design has been finished, but the codes still need time (God bless Weny). You may see these features in the version 2.0. (cool smile)

We've launched v2.0.0 of our website. You can find the new features you need easily from the new website.
www.remixicon.com
Sorry for a 2-month waiting (we've been busy in our work in the past months and we can only spare little time to maintain Remixicon).


Issue #4856 - easyform date picker should accept java date, not just string

also, only date components should take Date objects.
if you try to set a regular text field to a date, it should error out.


Hiding/removing likes,rt,comment option

How to remove likes/rt/comment from display when using fxtwitter.com?
g.fxtwitter.com not working.

Duplicate of #581


Regression: obsolete constructors are not considered last

In commit ff51d7da5600914b2e24a0558c94fb6f4cef9354 in Riok.Mapperly.Descriptors.MappingBodyBuilders.NewInstanceObjectMemberMappingBodyBuilder.BuildConstructorMapping the ObsoleteAttribute  accidentally got changed to MapperConstructorAttribute (ThenBy ordering). This should be changed back to restore the documented constructor ordering. Ensure this behaviour is covered by unit tests.

Duplicate of #893


Add htop to packages

At the very least this would be good to have when a desktop is not available. A useful tool for viewing cpu and memory usage overall and per process.

Sounds good to me.

Added with 9672113cf9255994b8b967bfb9c881c84ba6c0d9 on PR #69. Tested and working.

Merged with 7759da8198ec11e695964253217a879d7455ab5f.


chore(package): update description

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.297%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
526

Relevant Lines:
529

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.297%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
526

Relevant Lines:
529

💛  - Coveralls


Update README

Update the readme to list out the following

[ ] License
[ ] Code of conduct
[ ] Contributing

You can follow these:

https://github.com/himanshusharma89/flutterx100
https://github.com/smaranjitghose/girlscript_app

@himanshusharma89 ,
Can you assign me please.

Sorry @AmjadNoor, we really appreciate your enthusiasm for contributing to this open-source project. However, This issue is reserved only for GSSOC 2021 participants.
Can you please take a look at some other issues without 'GSSOC' label, or a much better way could be to create and file your own issue and we'll assign it you.
Happy Hacking! ✨

Ok

@AmjadNoor if you want to contribute you can check out our other projects

Ok

@himanshusharma89 I had a doubt, can I be assigned or can I start working on the issue right now or should I comment for assignment from tomorrow i.e. when the coding period for Gssoc start?

@Saransh-cpp You need to comment on a particular issue and then when you get assigned for it, you can start working on it.

@Saransh-cpp You need to comment on a particular issue and then when you get assigned for it, you can start working on it.

Can I get assigned now, as it is 8th? I will comment on the issues

Sure @Saransh-cpp

Sure @Saransh-cpp

Should I add the GIFs from the repositories mentioned above or should I just add a single line for each of the topic, linking the respective .md file?

@Saransh-cpp I have shared the reference you can follow it to create the contributing.


chore: release main

:robot: I have created a release beep boop
meowhq-redis: 1.19.0
1.19.0 (2024-03-18)
Features

dx-117: added new value (2e739f7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/apentsak-vitech/meowhq-helm-charts/releases/tag/meowhq-redis-v1.19.0 :sunflower:


[#465] Create composer version of WaterfallSkillBotDotNet - Fix FileUpload dialog

#minor
Description
This PR fixes the text in the FileUpload dialog of ComposerSkillBotDotNet to avoid the tests to fail.
Detailed Changes

Added a missing period in FileUploadDialog.en-us.lg to match the text with the rest of the bots.

Testing
This image shows the FileUpload scenario with all its tests passing.

Promoted to MS in PR# 556


cuelang.org: cmd/cue help texts' inclusion is managed manually

What page were you looking at?
https://cuelang.org/docs/reference/cli/
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/93a7d9c0e6fd5deff732fa8bbb25f68daea190df
What did you do?
I tried to find the help text emitted by cue help modules.
What did you expect?
That the version of CUE used to define the site would have its cue help texts exhaustively documented under https://cuelang.org/docs/reference/cli/.
What did you see instead?
No entry for cue help modules or cue modules.
NB whilst this appears similar in scope to #2914, this issue tracks the potential desync of the help texts included in the version of CUE that the site documents, from the site itself. Fixing the omission of cue help modules isn't the anticipated fix for this issue.

To no longer manually maintain this, we could add a bit of code to cmd/cue such as cue help --json which could dump a JSON with all the known commands, sub-commands, and help topics. Then the website code can consume this to render the sections automatically.


Question about events or push notification

Hello,
For simplicity, I have got 1 server and 1 client. From time to time, server need to send notification(or precisely events which it receives from other module) to the client.
Quick skim through the docs tell me that I can use a async client -> server method, where in server will block until the event. Once server receives event, it will unblock and return with the event info. Client would have to post new request to read next event. I verified this functionality with simple test program however have some concerns with performance.

There will always be a blocking threads(irrespective of events which are async in nature), one in client and one at server (that to a gRPC thread which might affect gRPC framework).
would there any timeouts at client/server in such scenario ?

In other words, I was looking for callbacks or equivalent for my solution.
I would like to know if this can be done in any other way with in gRPC, more efficiently ?
Are there any serious downsides of above method which I can't ignore ?
Thanks

Yea, also interested about push notification mechanic with gRPC

Usually best to create a long-lived stream from client -> server to receive
notifications on. The server does writes whenever there's new stuff, and
the client keeps reading.
On Tue, Jan 10, 2017 at 11:33 AM Eugene<EMAIL_ADDRESS>wrote:

Yea, also interested about push notification mechanic with gRPC
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/8718#issuecomment-271674408, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJpudSfxwok0PRNV-618-nr7xnPzB5CAks5rQ90lgaJpZM4Kunaf
.

This may be relevant using grpc for push notification.

Hope grpc can support push notification ASAP

Does this push notification be supported now ?

gRPC has always supported a way to do push notifications. As @ctiller mentioned above, the client should start a long-lived streaming RPC from the server and keep reading on it. Any time the server wants to send a push notification, it should just do a write on that stream.

https://github.com/itisbsg/grpc-push-notif
this is one implementation of push notifications use case with long lived streams.. probably what @vjpai, @ctiller are referring to.


Cocoapods support for Privacy Manifest

Actually there's the same issue as in Flutter. The fix in the iOS repo: https://github.com/RevenueCat/purchases-ios/pull/3772
So, the point is - please integrate the 4.40.0 iOS version into Capacitor plugin, which has fixed the privacy manifest being absent in the app bundle when integrating via Cococapods.

Hey folks, thanks for reporting! The good news is that we're already on it!
#239 updates our iOS SDK to 4.40.0, which in turn adds the Privacy Manifest. It should go out in the next couple of days.

Great, thanks! looking forward to it!

This is published already and can be closed correct?

@EinfachHans yes, correct


the example/scheduling-with-mcs-api doesn't work

What happened:
It did not create derived service.

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Clusternet version:

Clusternet-agent version (user clusternet-agent --version=json):
Clusternet-hub version (user clusternet-hub --version=json):

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Others:

yep, It's v0.15.0+

@xjbdjay What's the version of Clusternet? Starting from v0.15.0, a feature gate MultiClusterService should be set explicitly.
cc @lmxia Please take a look. And please help update the documentation to enable feature gate MultiClusterService since v0.15.0.

how to enable feature gate MultiClusterService since v0.15.0.

how to enable feature gate MultiClusterService since v0.15.0.

This feature gate is set on both clusternet-controller-manager and clusternet-agent side. You can enable it by changing the parameter --feature-gates=xxx,xxx,MultiClusterService=true of deployments clusternet-controller-manager and clusternet-agent.

how to enable feature gate MultiClusterService since v0.15.0.

This feature gate is set on both clusternet-controller-manager and clusternet-agent side. You can enable it by changing the parameter --feature-gates=xxx,xxx,MultiClusterService=true of deployments clusternet-controller-manager and clusternet-agent.

this issue still exists. Is there any clue?

@xjbdjay The feature gate MultiClusterService should be set on clusternet-agent side as well.

@xjbdjay The feature gate MultiClusterService should be set on clusternet-agent side as well.

agent also be set

agent has some err log:

Those rbac rules have been set on clusternet-agent side.
https://github.com/clusternet/clusternet/blob/6ed51a2cdcf133b6ddc41d54d89f195fa0bf392c/deploy/agent/clusternet_agent_rbac.yaml#L26-L59
Please help check whether those rbac settings are created in your cluster.

update

fix the agent err after updating rbac. however, the service is still absent.

any detailed logs/events that can help us investigate what's going on?
cc @lmxia

agent log:

controller-manager log:

@dixudx  can u have a try with examples/scheduling-with-mcs-api ? I suspect whether the serviceimport_controller functions.

there is no log handling serviceimport in controller-manager,

ServiceImport is purely handled on clusternet-agent side.
kindly ping @lmxia for this issue.

I will check, sorry for my latency.

I found there is a log
successfully synced Manifest clusternet-reserved serviceimports.default.my-svc so propabally you did create serviceimport with subcommand clusternet, if it's true, just
 kubectl clusternet delete -f examples/scheduling-with-mcs-api/service-import.yaml
and kubectl create -f examples/scheduling-with-mcs-api/service-import.yaml

@xjbdjay

Close this issue, feel free to reopen it  if the issue not resolved.


How to install program in Win98?

Sorry if this has been asked before but I couldn't find it. How can I install a game in Win98? I want to have a game installed by default

Games can't be easily installed in v86, due to the volatility of the disk image and #54.
What you can do instead is to download a Windows 98 image from winworldpc.com (currently down, should be back up soon) or a similar website, install it in qemu and then boot the resulting disk image in v86.
Feel free to reopen if you have more questions.

wow so it is possible, that would be awesome. I will try to build my own image with qemu! Just one more question, say I want something simpler customization like including some text files in the Linux image, would the process be the same or is there an easier method? Thanks!

Yes, for Linux the process would be the same.


Promote Jochen Ehret to CAPI Approver

I'd like to be promoted from Reviewer to Approver for the CAPI group. Here's a list of PRs I worked on:
https://github.com/cloudfoundry/capi-ci/pull/105
https://github.com/cloudfoundry/capi-ci/pull/103
https://github.com/cloudfoundry/capi-ci/pull/80
https://github.com/cloudfoundry/capi-ci/pull/75
https://github.com/cloudfoundry/capi-ci/pull/69
https://github.com/cloudfoundry/capi-ci/pull/61
https://github.com/cloudfoundry/capi-ci/pull/51
https://github.com/cloudfoundry/capi-release/pull/472
https://github.com/cloudfoundry/capi-release/pull/407
https://github.com/cloudfoundry/cloud_controller_ng/pull/3992
https://github.com/cloudfoundry/cloud_controller_ng/pull/3742
https://github.com/cloudfoundry/cloud_controller_ng/pull/3733
https://github.com/cloudfoundry/cloud_controller_ng/pull/3732
https://github.com/cloudfoundry/cloud_controller_ng/pull/3192
https://github.com/cloudfoundry/cloud_controller_ng/pull/2588
https://github.com/cloudfoundry/cloud_controller_ng/pull/2583
https://github.com/cloudfoundry/cloud_controller_ng/pull/2133
https://github.com/cloudfoundry/cloud_controller_ng/pull/2087
https://github.com/cloudfoundry/cloud_controller_ng/issues/3119
https://github.com/cloudfoundry/cloud_controller_ng/issues/3544
https://github.com/cloudfoundry/cloud_controller_ng/issues/2582
https://github.com/cloudfoundry/cloud_controller_ng/issues/2010
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/371
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/370
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/369
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/368
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/349
https://github.com/cloudfoundry/app-runtime-interfaces-infrastructure/pull/47
https://github.com/cloudfoundry/cf-performance-tests/pull/22
https://github.com/cloudfoundry/cf-performance-tests/pull/9
https://github.com/cloudfoundry/cf-performance-tests/pull/6
https://github.com/cloudfoundry/cf-performance-tests/pull/1
https://github.com/cloudfoundry/cf-performance-tests-release/pull/2
https://github.com/cloudfoundry/cf-performance-tests-release/pull/1
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/62
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/61
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/59
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/58
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/57
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/56
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/55
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/46
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/45
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/41
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/25
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/18
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/10
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/6
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/5
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/4
https://github.com/cloudfoundry/cf-performance-tests-pipeline/pull/1

cc @cloudfoundry/wg-app-runtime-interfaces-capi-approvers

Welcome @jochenehret as CAPI approver.


docker races with udev on device symlink handling when dm.use_deferred_removal is enabled

As I commented on  #4036, docker(actually libdevicemapper used by docker) may race with udev on device symlink creating/deleting when dm.use_deferred_removal is turned on , and it eventually leads to a docker start/diff fail.Following is the reproducing procedure:
docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 2
Server Version: 1.11.1
Storage Driver: devicemapper
 Pool Name: docker-252:1-58724678-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 883.9 MB
 Data Space Total: 107.4 GB
 Data Space Available: 35.03 GB
 Metadata Space Used: 2.146 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.145 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null
Kernel Version: 3.10.0-327.22.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.86 GiB
Name: jzl-dev0010
ID: U4ZX:62TO:YRGL:CNDH:6UZN:VNYX:3R2W:ZCWF:4TJS:54BS:O4AK:NLYY
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

way to reproduce
make sure all containers  removed
# NOTE!!! this command is dangerous, don't execute it on any non-experimental node.
docker rm -f  `docker ps -aq`

get image ready
a busybox image would be sufficient, docker pull busybox
get script ready
A Python script is needed to eagerly detect and open any docker created non-init  dm devices:
import os
import time

while True:
    try:
        for line in os.listdir('/dev/mapper'):
            if 'init' in line:continue
            if len(line) >= 80:
                filename=os.path.join('/dev/mapper/',line)
                f = open(filename)
        print 'got it %s' % filename
        time.sleep(3*10**7)
    except Exception:
        pass

make sure all container or image related dm devices removed
run dmsetup info to list all dm devices on your node, and run dmsetup remove <name> to remove all devices whose name starts with docker- and ends with a uuid or <uuid>-init, such as docker-252:1-58724678-3c96b9d15c41b49816eab1faaa0cb6eaa7cdffe5decd45f2bd48ae72f32e16f5
run the script and reproduce the issue
following is one sample of my reproducing logs:
# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
# dmsetup info
Name:              docker-252:1-58724678-pool
State:             ACTIVE
Read Ahead:        8192
Tables present:    LIVE
Open count:        0
Event number:      0
Major, minor:      253, 0
Number of targets: 1

# python opendm.py &
[1] 3757
# cid=`docker create -it busybox sh`
got it /dev/mapper/docker-252:1-58724678-097a341a6a5f17cc86f9d83ebdff35b8da86fd8ab6d614ac8445f3fabe1d6e25
# docker diff $cid
# docker start $cid
Error response from daemon: open /dev/mapper/docker-252:1-58724678-097a341a6a5f17cc86f9d83ebdff35b8da86fd8ab6d614ac8445f3fabe1d6e25: no such file or directory
Error: failed to start containers: d3cbd8f86704136511b5d4cfdafeb1398a46f962ff9af7389ec7368f8472433e

the essential commands are:
python opendm.py &
docker diff $cid
docker start $cid

get the corrupted container back to normal
# kill %1
# dmsetup remove docker-252:1-58724678-097a341a6a5f17cc86f9d83ebdff35b8da86fd8ab6d614ac8445f3fabe1d6e25
[1]+  Terminated              python opendm.py
# ls /dev/dm-*
/dev/dm-0
# ls /dev/mapper/
control  docker-252:1-58724678-pool
# docker start $cid
d3cbd8f86704136511b5d4cfdafeb1398a46f962ff9af7389ec7368f8472433e

the essential operations to recover the container include:

kill the background process python opendm.py
remove the container's dm device.

After some digging into code of lvm2 and docker, I got a hypothesis for the cause of the issue:

for dm device removal, libdevicemapper checks the existence of cookie in a dm_task to determine whether or not relying on udev to create/delete device symlink(code is here.
in pkg.devicemapper.RemoveDeviceDeferred, no cookie is set in the dm_task.
since no cookie is set, libdevicemapper will delete the corresponding symlink , no matter the device-removal is a deferred one or direct one.If it is a deferred device-remove, and the device is busy, kernel will not remove it immediately, once the syscall ioctl returns, /dev/dm-x' exists, but the correspongding symlink under /dev/mapperis deleted bylibdevicemapper`.
next time docker tries to activate the device,  docker only need to cancel the deferred removal, no 'UDEV ADD' event would be generated, neither udevd nor libdevicemapper will create the symlink.
After cancelDeferredRemove, docker will try to mount the device by its symlink, which is already deleted by libdevicemapper for the last call to RemoveDeviceDeferred, thus docker will complain on a failure no such file or directory.

After some digging into code of lvm2 and docker, I got a hypothesis for the cause of the issue:

for dm device removal, libdevicemapper checks the existence of cookie in a dm_task to determine whether or not relying on udev to create/delete device symlink(code is here.
in pkg.devicemapper.RemoveDeviceDeferred, no cookie is set in the dm_task.
since no cookie is set, libdevicemapper will delete the corresponding symlink , no matter the device-removal is a deferred one or direct one.If it is a deferred device-remove, and the device is busy, kernel will not remove it immediately, once the syscall ioctl returns, /dev/dm-x' exists, but the correspongding symlink under /dev/mapperis deleted bylibdevicemapper`.
next time docker tries to activate the device,  docker only need to cancel the deferred removal, no 'UDEV ADD' event would be generated, neither udevd nor libdevicemapper will create the symlink.
After cancelDeferredRemove, docker will try to mount the device by its symlink, which is already deleted by libdevicemapper for the last call to RemoveDeviceDeferred, thus docker will complain on a failure no such file or directory.

ping @rhvgoyal @runcom PTAL
@jizhilong I see you prepared a PR, but didn't open yet? https://github.com/jizhilong/docker/commit/e1383aad902f0a3af8830698ae55188ce96be72c

@thaJeztah https://github.com/jizhilong/docker/commit/e1383aad902f0a3af8830698ae55188ce96be72c is not ready at documentation, I'll get it done and open it later.


Showcase Submission for challenges/78-simple-particle-system

Thank you Riyyan for your contribution! A member of the Coding Train team will review it shortly.

rainbow balls
Riyyan

dupe #1588


Test test_acknowledge_failed  failed after upgrading C++ client to 3.4.0

I created a PR to upgrade the C++ client to 3.4.0, but the CI failed:
+ python3 pulsar_test.py
2023-11-15 00:23:08.410 INFO  [140130423730624] ClientConnection:188 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2023-11-15 00:23:08.410 INFO  [140130423730624] ConnectionPool:109 | Created connection for pulsar://localhost:6650
2023-11-15 00:23:08.412 INFO  [140130379408960] ClientConnection:398 | [[::1]:49850 -> [::1]:6650] Connected to broker
2023-11-15 00:23:08.416 INFO  [140130379408960] HandlerBase:83 | [persistent://public/default/test_acknowledge_failed, ] Getting connection from pool
2023-11-15 00:23:08.447 INFO  [140130379408960] ProducerImpl:216 | [persistent://public/default/test_acknowledge_failed, ] Created producer on broker [[::1]:49850 -> [::1]:6650]
2023-11-15 00:23:08.447 INFO  [140130423730624] Client:86 | Subscribing on Topic :test_acknowledge_failed
2023-11-15 00:23:08.449 INFO  [140130379408960] HandlerBase:83 | [persistent://public/default/test_acknowledge_failed, sub1, 0] Getting connection from pool
2023-11-15 00:23:08.468 INFO  [140130379408960] ConsumerImpl:297 | [persistent://public/default/test_acknowledge_failed, sub1, 0] Created consumer on broker [[::1]:49850 -> [::1]:6650]
2023-11-15 00:23:08.469 INFO  [140130423730624] Client:86 | Subscribing on Topic :test_acknowledge_failed
2023-11-15 00:23:08.472 INFO  [140130379408960] HandlerBase:83 | [persistent://public/default/test_acknowledge_failed, sub2, 1] Getting connection from pool
2023-11-15 00:23:08.4[80](https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161#step:9:81) INFO  [140130379408960] ConsumerImpl:297 | [persistent://public/default/test_acknowledge_failed, sub2, 1] Created consumer on broker [[::1]:49850 -> [::1]:6650]
2023-11-15 00:23:08.510 INFO  [140130379408960] HandlerBase:[83](https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161#step:9:84) | [persistent://public/default/test_acknowledge_failed, sub, 2] Getting connection from pool
2023-11-15 00:23:08.510 INFO  [140130379408960] HandlerBase:83 | [persistent://public/default/test_acknowledge_failed-another, sub, 3] Getting connection from pool
2023-11-15 00:23:08.516 INFO  [140130379408960] ConsumerImpl:297 | [persistent://public/default/test_acknowledge_failed, sub, 2] Created consumer on broker [[::1]:49[85](https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161#step:9:86)0 -> [::1]:6650]
2023-11-15 00:23:08.516 INFO  [140130379408960] MultiTopicsConsumerImpl:304 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0
2023-11-15 00:23:08.527 INFO  [140130379408960] ConsumerImpl:297 | [persistent://public/default/test_acknowledge_failed-another, sub, 3] Created consumer on broker [[::1]:49850 -> [::1]:6650]
2023-11-15 00:23:08.527 INFO  [140130379408960] MultiTopicsConsumerImpl:304 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0
2023-11-15 00:23:08.527 INFO  [140130379408960] MultiTopicsConsumerImpl:146 | Successfully Subscribed to Topics
2023-11-15 00:23:08.527 ERROR [140130423730624] MultiTopicsConsumerImpl:663 | MessageId without a topic name cannot be acknowledged for a multi-topics consumer
2023-11-15 00:23:08.527 INFO  [140130423730624] ClientImpl:612 | Closing Pulsar client with 1 producers and 3 consumers
2023-11-15 00:23:08.527 INFO  [140130423730624] ProducerImpl:791 | [persistent://public/default/test_acknowledge_failed, standalone-0-0] Closing producer for topic persistent://public/default/test_acknowledge_failed
2023-11-15 00:23:08.527 INFO  [140130423730624] ConsumerImpl:1258 | [persistent://public/default/test_acknowledge_failed-another, sub, 3] Closing consumer for topic persistent://public/default/test_acknowledge_failed-another
2023-11-15 00:23:08.527 INFO  [140130423730624] ConsumerImpl:1258 | [persistent://public/default/test_acknowledge_failed, sub, 2] Closing consumer for topic persistent://public/default/test_acknowledge_failed
2023-11-15 00:23:08.527 INFO  [140130423730624] ConsumerImpl:1258 | [persistent://public/default/test_acknowledge_failed, sub2, 1] Closing consumer for topic persistent://public/default/test_acknowledge_failed
2023-11-15 00:23:08.527 INFO  [140130423730624] ConsumerImpl:1258 | [persistent://public/default/test_acknowledge_failed, sub1, 0] Closing consumer for topic persistent://public/default/test_acknowledge_failed
2023-11-15 00:23:08.535 INFO  [14013037940[89](https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161#step:9:90)60] ProducerImpl:755 | [persistent://public/default/test_acknowledge_failed, standalone-0-0] Closed producer 0
2023-11-15 00:23:08.535 INFO  [140130379408960] ConsumerImpl:1244 | [persistent://public/default/test_acknowledge_failed-another, sub, 3] Closed consumer 3
2023-11-15 00:23:08.535 INFO  [140130379408960] ConsumerImpl:1244 | [persistent://public/default/test_acknowledge_failed, sub, 2] Closed consumer 2
2023-11-15 00:23:08.535 INFO  [140130379408960] ConsumerImpl:1244 | [persistent://public/default/test_acknowledge_failed, sub2, 1] Closed consumer 1
2023-11-15 00:23:08.535 INFO  [140130379408960] ConsumerImpl:1244 | [persistent://public/default/test_acknowledge_failed, sub1, 0] Closed consumer 0
2023-11-15 00:23:08.536 INFO  [140130018915[90](https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161#step:9:91)4] ClientConnection:1319 | [[::1]:49850 -> [::1]:6650] Connection disconnected (refCnt: 1)
2023-11-15 00:23:08.536 INFO  [140130018915904] ClientConnection:268 | [[::1]:49850 -> [::1]:6650] Destroyed connection to pulsar://localhost:6650
.terminate called after throwing an instance of 'std::bad_weak_ptr'
  what():  bad_weak_ptr
2023-11-15 00:23:08.536 INFO  [140130423730624] ProducerImpl:748 | Producer - [persistent://public/default/test_acknowledge_failed, standalone-0-0] , [batching  = off]

Test failures:

https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18635326092?pr=161
https://github.com/apache/pulsar-client-python/actions/runs/6848544221/job/18687459291?pr=161

The core dump stack trace:
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140123919167936) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140123919167936) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140123919167936, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f7124716476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f71246fc7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007f7122e47b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007f7122e5320c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f7122e521e9 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007f7122e52959 in __gxx_personality_v0 () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f7124001884 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#10 0x00007f7124001f41 in _Unwind_RaiseException () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#11 0x00007f7122e534cb in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f71233d0c54 in std::__throw_bad_weak_ptr () at /usr/include/c++/11/bits/shared_ptr_base.h:93
#13 0x00007f71233d8b99 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (this=0x7ffebcd6ee98, __r=...) at /usr/include/c++/11/bits/shared_ptr_base.h:873
#14 0x00007f71234b95a9 in std::__shared_ptr<pulsar::ClientConnection, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<pulsar::ClientConnection, void> (this=0x7ffebcd6ee90, __r=...)
    at /usr/include/c++/11/bits/shared_ptr_base.h:1178
#15 0x00007f71234b33b5 in std::shared_ptr<pulsar::ClientConnection>::shared_ptr<pulsar::ClientConnection, void> (this=0x7ffebcd6ee90,
    __r=std::weak_ptr<pulsar::ClientConnection> (empty) = {...}) at /usr/include/c++/11/bits/shared_ptr.h:326
#16 0x00007f71234ae357 in std::enable_shared_from_this<pulsar::ClientConnection>::shared_from_this (this=0x55e805fc0a50) at /usr/include/c++/11/bits/shared_ptr.h:808
#17 0x00007f71234a8808 in pulsar::ClientConnection::weak_from_this (this=0x55e805fc0a50) at /code/pulsar-client-cpp/lib/ClientConnection.h:136
#18 0x00007f712343c98d in pulsar::ClientConnection::close (this=0x55e805fc0a50, result=pulsar::ResultAuthenticationError, detach=false)
    at /code/pulsar-client-cpp/lib/ClientConnection.cc:1327
#19 0x00007f71234300fe in pulsar::ClientConnection::ClientConnection (this=0x55e805fc0a50, logicalAddress="pulsar+ssl://localhost:6651",
    physicalAddress="pulsar+ssl://localhost:6651", executor=std::shared_ptr<pulsar::ExecutorService> (use count 3, weak count 1) = {...}, clientConfiguration=...,
    authentication=std::shared_ptr<pulsar::Authentication> (empty) = {...}, clientVersion="Pulsar-CPP-v3.4.0-pre", pool=...)
    at /code/pulsar-client-cpp/lib/ClientConnection.cc:219
#20 0x00007f7123566e26 in pulsar::ConnectionPool::getConnectionAsync (this=0x55e805ca4240, logicalAddress="pulsar+ssl://localhost:6651",
    physicalAddress="pulsar+ssl://localhost:6651") at /code/pulsar-client-cpp/lib/ConnectionPool.cc:98
#21 0x00007f71233f6ef8 in pulsar::BinaryProtoLookupService::getPartitionMetadataAsync (this=0x7f711c004090,
    topicName=std::shared_ptr<pulsar::TopicName> (use count 3, weak count 0) = {...}) at /code/pulsar-client-cpp/lib/BinaryProtoLookupService.cc:112
#22 0x00007f71234e64b5 in pulsar::RetryableLookupService::getPartitionMetadataAsync(std::shared_ptr<pulsar::TopicName> const&)::{lambda()#1}::operator()() const (
    __closure=0x55e805f4dc50) at /code/pulsar-client-cpp/lib/RetryableLookupService.h:61

From your dump, the client version is still "Pulsar-CPP-v3.4.0-pre". Did you use the v3.4.0 tag? Also it's weird to see the logical address is pulsar+ssl://localhost:6651 if you ran test_acknowledge_failed.
Did you test this single method
python3 ./tests/pulsar_test.py PulsarTest.test_acknowledge_failed

or the whole test?
python3 ./tests/pulsar_test.py

I tested the pulsar_test.py on macOS with the C++ library built from source. No test failed.
I believe there is something wrong with the DEB package or the Ubuntu test environment in CI. I will test on Ubuntu later.

I could only reproduce it by running the whole test: python3 ./tests/pulsar_test.py

Did you use the v3.4.0 tag?

I need to check it further. But the test could also fails in CI which uses v3.4.0 tag.

Sorry there is something wrong with my installation. I have installed both the libpulsar from HomeBrew and the C++ client locally. So the Python extension links to the system libpulsar when running.
So I linked the correct path via
export DYLD_LIBRARY_PATH=$HOME/softwares/pulsar-client-cpp/lib

and reproduced the error:
...
======================================================================
ERROR: test_auth_junk_params (__main__.PulsarTest.test_auth_junk_params)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/pulsar-client-python/tests/pulsar_test.py", line 519, in test_auth_junk_params
    client.subscribe("my-python-topic-auth-junk-params", "my-sub", consumer_type=ConsumerType.Shared)
  File "/opt/homebrew/lib/python3.11/site-packages/pulsar/__init__.py", line 946, in subscribe
    c._consumer = self._client.subscribe(topic, subscription_name, conf)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: bad_weak_ptr

The test failure should be test_auth_junk_params, not `test_acknowledge_failed.

Here are the stacks on macOS (lldb)
  * frame #0: 0x000000018272ec54 libc++abi.dylib`__cxa_throw
    frame #1: 0x000000011003ca14 libpulsar.dylib`std::__1::__throw_bad_weak_ptr[abi:v15006]() at shared_ptr.h:139:5
    frame #2: 0x000000011003c9cc libpulsar.dylib`std::__1::shared_ptr<pulsar::AckGroupingTracker>::shared_ptr[abi:v15006]<pulsar::AckGroupingTracker, void>(this=0x000000016fdfb188, __r=nullptr) at shared_ptr.h:636:13
    frame #3: 0x000000011003c92c libpulsar.dylib`std::__1::shared_ptr<pulsar::AckGroupingTracker>::shared_ptr[abi:v15006]<pulsar::AckGroupingTracker, void>(this=0x000000016fdfb188, __r=nullptr) at shared_ptr.h:634:5
    frame #4: 0x00000001100a45e0 libpulsar.dylib`std::__1::enable_shared_from_this<pulsar::ClientConnection>::shared_from_this[abi:v15006](this=0x000000010102b800) at shared_ptr.h:1729:17
    frame #5: 0x00000001100a2c30 libpulsar.dylib`pulsar::ClientConnection::close(this=0x000000010102b800, result=ResultAuthenticationError, detach=false) at ClientConnection.cc:1326:17
    frame #6: 0x00000001100a1128 libpulsar.dylib`pulsar::ClientConnection::ClientConnection(this=0x000000010102b800, logicalAddress="pulsar+ssl://localhost:6651", physicalAddress="pulsar+ssl://localhost:6651", executor=std::__1::shared_ptr<pulsar::ExecutorService>::element_type @ 0x0000600003704198 strong=3 weak=2, clientConfiguration=0x0000000101029f78, authentication=nullptr, clientVersion="Pulsar-CPP-v3.4.0", pool=0x0000000101029f78) at ClientConnection.cc:219:13
    frame #7: 0x00000001100a39d4 libpulsar.dylib`pulsar::ClientConnection::ClientConnection(this=0x000000010102b800, logicalAddress="pulsar+ssl://localhost:6651", physicalAddress="pulsar+ssl://localhost:6651", executor=<unavailable>, clientConfiguration=0x0000000101029f78, authentication=nullptr, clientVersion="Pulsar-CPP-v3.4.0", pool=0x0000000101029f78) at ClientConnection.cc:187:19
    frame #8: 0x000000011020ba0c libpulsar.dylib`pulsar::ConnectionPool::getConnectionAsync(this=0x0000000101029f78, logicalAddress="pulsar+ssl://localhost:6651", physicalAddress="pulsar+ssl://localhost:6651", keySuffix=0) at ConnectionPool.cc:99:23
    frame #9: 0x000000011005d3dc libpulsar.dylib`pulsar::ConnectionPool::getConnectionAsync(this=0x0000000101029f78, logicalAddress="pulsar+ssl://localhost:6651", physicalAddress="pulsar+ssl://localhost:6651") at ConnectionPool.h:82:16
    frame #10: 0x000000011005d078 libpulsar.dylib`pulsar::BinaryProtoLookupService::getPartitionMetadataAsync(this=0x0000600003300298, topi


Update project version

Kaa core version must be bumped before this.

actual version for sample apps is 2.0.0 and kaa.version is 0.10.0. Please update.

Looks good for me


Add missing closing tag for code block

The closing tag for code block was missing, which broke the layout of the page.

:+1:

Thanks for this! But it was fixed at https://github.com/mautic/documentation/pull/112 already.


[Feature Request] Allow on Mobile

With the advent of the Obsidian mobile app's public release it would be fantastic if this plugin could be made to work on mobile.

@iamrecursion Hi! Thank you for your feedback!
Obsidian Mobile is unsupported yet. Please follow #16  for more information.


Feature/purchasing events

This PR addresses issues #130, #131, #132 with the following:

Refactors PartialDate model logic as a mixin used in two models and easily extendable to any that we wish to have such logic in the future.
Refactors admin form validation for PartialDate as a forms.ModelForm subclass
Add partial dates and footnotes to Purchase
Enables Purchase editing in admin and adds Purchase inline to Account change form.

Codecov Report

Merging #133 into develop will decrease coverage by 0.01%.
The diff coverage is 98.15%.

@@             Coverage Diff             @@
##           develop     #133      +/-   ##
===========================================
- Coverage    98.77%   98.75%   -0.02%
===========================================
  Files          105      106       +1
  Lines         4909     4997      +88
===========================================
+ Hits          4849     4935      +86
- Misses          60       62       +2

Impacted Files
Coverage Δ

mep/dashboard.py
100% <ø> (ø)
:arrow_up:

mep/accounts/tests/test_accounts_models.py
100% <100%> (ø)
:arrow_up:

mep/accounts/tests/test_accounts_admin.py
100% <100%> (ø)
:arrow_up:

...ounts/migrations/0022_add_partial_date_purchase.py
100% <100%> (ø)

mep/accounts/admin.py
96.87% <95.91%> (-0.75%)
:arrow_down:

mep/accounts/models.py
98.47% <97.43%> (+0.12%)
:arrow_up:

Continue to review full report at Codecov.

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


error in box.jl example

I am keen to learn how to use this library and I decided to start by running the example.
Below you can see that I have only the barebones installed for testing purposes.
Unfortunately, I seem to get an error with Clock.  Any idea what might have gone wrong here?
(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
  [a49af516] OceanBioME v0.10.2
⌅ [9e8cae18] Oceananigans v0.90.14
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

julia> include("box.jl")
ERROR: LoadError: MethodError: no method matching Clock(::Float64, ::Int64, ::Int64)

Closest candidates are:
  Clock(::TT, ::DT, ::Int64, ::Int64) where {TT, DT}
   @ Oceananigans ~/.julia/packages/Oceananigans/aI5AQ/src/TimeSteppers/clock.jl:16

Stacktrace:
 [1] top-level scope
   @ ~/Software/OceanBioME.jl/examples/box.jl:28
 [2] include(fname::String)
   @ Base.MainInclude ./client.jl:489
 [3] top-level scope
   @ REPL[18]:1
 [4] top-level scope
   @ ~/.julia/packages/CUDA/jdJ7Z/src/initialization.jl:206
in expression starting at /home/fpoulin/Software/OceanBioME.jl/examples/box.jl:28

I see that clock was updated in #3508 back in March where a new argument was added to clock.

I should add that when I run it with julia with the following libraries it fails
(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
  [a14bc488] ArtifactWrappers v0.2.0
  [6eacf6c3] CLIMAParameters v0.9.1
⌃ [13f3f980] CairoMakie v0.11.11
  [63c18a36] KernelAbstractions v0.9.19
⌃ [85f8d34a] NCDatasets v0.13.2
  [a49af516] OceanBioME v0.10.2
⌅ [9e8cae18] Oceananigans v0.90.14
  [f27b6e38] Polynomials v4.0.8
  [1fd47b50] QuadGK v2.9.4
⌃ [49b00bb7] SurfaceFluxes v0.9.4
  [b60c26fb] Thermodynamics v0.12.6
  [de0858da] Printf
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated`

However, when I run it with julia --project it does run, with the following packagges
(OceanBioME) pkg> status
Project OceanBioME v0.10.2
Status `~/Software/OceanBioME.jl/Project.toml`
⌃ [79e6a3ab] Adapt v4.0.3
⌃ [052768ef] CUDA v5.2.0
⌃ [033835bb] JLD2 v0.4.46
⌃ [63c18a36] KernelAbstractions v0.9.18
⌃ [9e8cae18] Oceananigans v0.90.11
⌃ [f2b01f46] Roots v2.1.2
  [09ab397b] StructArrays v0.6.18
Info Packages marked with ⌃ have new versions available and may be upgradable.

Note that it fails with Oceananigans v0.90.14 but runs with v0.90.11.

Also, this shows the problem.  If we add an Inf into the argument it works fine, but at the moment boxmodel.jl only has three arguments, and that produces an error, as you can see below.
I can suggest a PR if people like?
julia> using Oceananigans: Clock

julia> Clock(0.0, Inf, 0, 1)
Clock{Float64, Float64}: time = 0 seconds, last_Δt = Inf days, iteration = 0, stage = 1

julia> Clock(0.0, 0, 1)
ERROR: MethodError: no method matching Clock(::Float64, ::Int64, ::Int64)

Closest candidates are:
  Clock(::TT, ::DT, ::Int64, ::Int64) where {TT, DT}
   @ Oceananigans ~/.julia/packages/Oceananigans/aI5AQ/src/TimeSteppers/clock.jl:16

Stacktrace:
 [1] top-level scope
   @ REPL[3]:1

The change wasn't breaking to the initialisation function:
https://github.com/CliMA/Oceananigans.jl/blob/c91df929ac50b5200b72118424db0ed3478faa9d/src/TimeSteppers/clock.jl#L32-L36
but here we directly make the struct. There is about to be another change to the clock so after that is merged I'll update OceanBioME to the latest version.

Note that it fails with Oceananigans v0.90.14 but runs with v0.90.11.

I gather from this that the Project currently has compats that it works with then right?

Thank you @jagoosw !
Yes, when I run OceanBIOME from the folder I cloned, it works well.
I am happy to help if I can but it sounds like you have this under control.


Typo

Just  a minor issue:
https://github.com/rhuss/jolokia/blob/master/src/docbkx/agents/jvm.xml#L100 (and other places in the docu) spell the param as "agentDecription" instead of "agentDescription" as is correctly in the source. Still can steal some time when copy/paste'ing ;-)

Thanks, will fix this for the next version ;-)


Add new street address in Berlin.

Signed-off-by: Kurt Garloff<EMAIL_ADDRESS>

I removed the extra whitespace. Also fixed the phone number.

Sorry, my review was ambiguous. The whitespaces at the end of the lines need to stay as they add a line break. Some whitespaces were removed in the first commit of this PR. I'll fix this tomorrow!


Adding some info to conservative sync errors

Just a couple of minor changes.  Some additional output (src/dest LP, etc) was requested for lookahead violation and another conservative mode errors. Also added in a command line option to set g_tw_lookahead.

If this merge represents a feature addition to ROSS, the following items must be completed before the branch will be merged:

[ ] Document the feature on the blog (See the Contributing guide in the gh-pages branch).
Include a link to your blog post in the Pull Request.
[ ] One or more TravisCI tests should be created (and they should pass)
[ ] Through the TravisCI tests, coverage should increase
[ ] Test with CODES to ensure everything continues to work

Codecov Report

Merging #125 into master will increase coverage by 0.56%.
The diff coverage is 42.85%.

@@            Coverage Diff            @@
##           master    #125      +/-   ##
=========================================
+ Coverage   75.24%   75.8%   +0.56%
=========================================
  Files          32      32
  Lines        4039    4046       +7
  Branches      752       0     -752
=========================================
+ Hits         3039    3067      +28
- Misses        973     979       +6
+ Partials       27       0      -27

Impacted Files
Coverage Δ

core/tw-setup.c
84.21% <ø> (ø)
:arrow_up:

core/tw-sched.c
85.97% <0%> (-0.23%)
:arrow_down:

core/ross-inline.h
73.58% <50%> (+10.12%)
:arrow_up:

core/tw-event.c
87% <66.66%> (ø)
:arrow_up:

core/lz4.c
38.82% <0%> (-0.34%)
:arrow_down:

models/phold/phold.c
80.26% <0%> (+6.57%)
:arrow_up:

core/tw-eventq.h
96.66% <0%> (+7.33%)
:arrow_up:

core/gvt/mpi_allreduce.h
94.11% <0%> (+11.76%)
:arrow_up:

core/ross-kernel-inline.h
73.33% <0%> (+13.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Improve the documentation related to overriding GUI theme items

Overriding theme items is a common point of confusion. Hopefully, these code samples should clear things up.
Note: When cherry-picking this to the 3.2 branch, replace add_theme_color_override with just add_color_override. Same for get_theme_color which should be just get_color. This should also be done for the stylebox equivalents of these methods.

Is there a guideline for examples? For instances, notes are formatted like so:

We don't have a guideline for example blocks yet, but I typically go with Example of :

Thanks!
We should probably define a guideline for things like [b]Note:[/b], [b]Example:[/b], etc. indeed, and in general for bold and italic usage in the docstrings.

Cherry-picked for 3.2.3.


changing protobuf directory to match Python package name

Public-Facing Changes
None
Description
Simplify Python protobuf schema generation by matching directory structure to Python package name

I briefly tested the generated Python package locally, and this still works:
from foxglove_schemas_protobuf.CompressedImage_pb2 import CompressedImage

However I'm not entirely confident this change maintains full backward compatibility with the existing package.

I see that the imports are now import "foxglove_schemas_protobuf/foo.proto";  Is that sort of naming scheme common among third-party protobuf packages? The built-in ones look like import "google/protobuf/duration.proto";  so one might expect to see import "foxglove/protobuf/foo.proto"; — but I'm wondering what is done most commonly in third-party packages?

No, I doubt that this is common, and is the reason I didn't make this PR originally: it ties our *.proto files to the somewhat arcane Python package naming conventions (to say nothing about the possibility of eventually adopting a global foxglove implicit namespace).
Another option might be to generate a secondary set of *.proto files specifically for the Python package?

Another alternative might be to use https://github.com/danielgtaylor/python-betterproto which I believe provides more flexibility in specifying package names, among other things. (ref: FG-6783)

closing experimental PR


Failing doc-tests

Describe the bug
As discussed in #88, while running cargo test doctests seem to fail. This seems to be because one of two reasons:

The required module is not imported, and the code snippet is unable to compile
The API behind using a method has been changed. (For e.g. I came across an error where app.add_window API required 1 argument and was supplied 2 arguments, not sure why that's the case as it looks like the 2nd argument takes an Option<T> 🤷 )

NOTE: Inspite of using the no_run attribute, rust still tries to compile the examples. As mentioned by @wusyong we could use the ignore attribute instead, but there's a slight chance that the docs become out-of-date .

Steps To Reproduce
Run cargo test in the root.
Expected behavior
Doctests should ideally work to ensure https://docs.rs/wry/0.5.1/wry/ stays correct.
Platform and Versions (please complete the following information):
OS: macOS 11.2.1
Rustc: rustc 1.52.0-nightly (94736c434 2021-02-27)
Would you assign yourself to resolve this bug?

[x] Yes
[ ] No

Closed it with all doc codes are now with ignore attributes.


Is this package compatible with Lycoris LoRAs

Hello, I see that in the read me that stable-fast supports LoRAs out of the box. Does anyone know if it's possible to use Lycoris LoRAs with this package? The Nvidia TensorRT extension for A1111 seems have questionable support for them.

Hello, I see that in the read me that stable-fast supports LoRAs out of the box. Does anyone know if it's possible to use Lycoris LoRAs with this package? The Nvidia TensorRT extension for A1111 seems have questionable support for them.

Can you share your desired use case and script with me so that I can test if it works?

Reading up, it's a whole family of algorithms similar to lora:
https://github.com/KohakuBlueleaf/LyCORIS/blob/main/docs/Algo-List.md
The diffusers framework mentions partial support for some of them:
https://huggingface.co/docs/diffusers/v0.25.1/en/using-diffusers/loading_adapters#kohya-and-thelastben
"LyCORIS checkpoints aren’t fully supported. The load_lora_weights() method loads LyCORIS checkpoints with LoRA and LoCon modules, but Hada and LoKR are not supported."

Reading up, it's a whole family of algorithms similar to lora:
https://github.com/KohakuBlueleaf/LyCORIS/blob/main/docs/Algo-List.md
The diffusers framework mentions partial support for some of them which means they probably already work?
https://huggingface.co/docs/diffusers/v0.25.1/en/using-diffusers/loading_adapters#kohya-and-thelastben
"LyCORIS checkpoints aren’t fully supported. The load_lora_weights() method loads LyCORIS checkpoints with LoRA and LoCon modules, but Hada and LoKR are not supported."

It should.