Develop Nearby Locations Section

Build the "Check out what’s near you" section, including the title, location cards, and associated details (location name, distance, rating, visit prompt, experience sharing link, and favorite icon). The section should be scrollable and dynamically display nearby locations.
Check this figma file and this figma file

@TheHappyBaloney  Can you please assign this to me.


SessionWithContext.BeginTransaction on a new session fails with error "invalid state 3, expected: [0]"

Calling SessionWithContext.BeginTransaction on a newly created session returns this error:
invalid state 3, expected: [0]

This is the assertion that fails:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/internal/bolt/bolt4.go#L303-L305
This session seems to be reused from the pool after previously being used to execute explicit transactions, and to have not been reset property when returned into the pool.
The implementation of bolt4.TxBegin seems to deal specifically with auto-commit queries, but not with explicit transactions:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/internal/bolt/bolt4.go#L294-L301
I think this logic should be extended to deal with explicit transactions as well? Maybe replace:
	if b.state == bolt4_streaming {

with:
	if b.state == bolt4_streaming || b.state == bolt4_streamingtx {

???
I was previously using v5.0.0-preview where this bug didn't occur. This is a regression.
Neo4j Version: 4.4.15-enterprise
Neo4j Mode: Single instance
Driver version: Go driver 5.8.x
Operating System: Ubuntu 16.10 on AWS

I tried changing if b.state == bolt4_streaming { into if b.state == bolt4_streaming || b.state == bolt4_streamingtx {, I don't see the previous error, but now I observe that some sessions can be in yet another state in the pool ("transaction pending"):
invalid state 2, expected: [0]

I.e. after reading the pending explicit transaction's stream, the transaction is still pending.

A cleaner to implement this change would be replace:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/internal/bolt/bolt4.go#L294-L301
with:
	// Makes all outstanding streams invalid
	b.discardAllStreams(ctx)

The bug is that ForceReset does not wait anymore for the response to the reset message, and that causes connections in the tx / streamingtx state to be returned into the pool.
The implementation of ForceReset now waits for any message, but doesn't verify anymore that that message is a response to the reset:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/internal/bolt/bolt4.go#L817-L823
Unlike in 5.0.0-preview, where the implementation does wait explicitly for a reset response:
https://github.com/neo4j/neo4j-go-driver/blob/ca573bc36a8c721cfd8e0fc236eb6b9aaeed5555/neo4j/internal/bolt/bolt4.go#L889-L907

Hello, I cannot reproduce your initial scenario:
package main

import (
	"context"
	"fmt"
	"github.com/neo4j/neo4j-go-driver/v5/neo4j"
)

func main() {
	ctx := context.Background()
	auth := neo4j.BasicAuth("neo4j", "letmein!", "")
	driver, err := neo4j.NewDriverWithContext("neo4j://localhost", auth)
	if err != nil {
		panic(err)
	}
	defer closeNeo4jResource(ctx, driver)
	session := driver.NewSession(ctx, neo4j.SessionConfig{})
	defer closeNeo4jResource(ctx, session)
	tx, err := session.BeginTransaction(ctx)
	if err != nil {
		panic(err)
	}
	result, err := tx.Run(ctx, "CREATE (:Node)", nil)
	if err != nil {
		panic(err)
	}
	summary, err := result.Consume(ctx)
	if err != nil {
		panic(err)
	}
	fmt.Printf("Nodes created: %d\n", summary.Counters().NodesCreated())
	if err := tx.Commit(ctx); err != nil {
		panic(err)
	}
}

func closeNeo4jResource(ctx context.Context, closeable interface{ Close(context.Context) error }) {
	if err := closeable.Close(ctx); err != nil {
		panic(err)
	}
}

Would you be able to adapt the above sample to create a reproducer?

I could not reproduce the issue even when using goroutines:
package main

import (
	"context"
	"fmt"
	"github.com/neo4j/neo4j-go-driver/v5/neo4j"
	"sync"
)

func main() {
	ctx := context.Background()
	auth := neo4j.BasicAuth("neo4j", "letmein!", "")
	driver, err := neo4j.NewDriverWithContext("neo4j://localhost", auth)
	if err != nil {
		panic(err)
	}
	defer closeNeo4jResource(ctx, driver)
	session := driver.NewSession(ctx, neo4j.SessionConfig{})
	defer closeNeo4jResource(ctx, session)
	goRoutines := 5
	var group sync.WaitGroup
	group.Add(goRoutines)
	for i := 0; i < goRoutines; i++ {
		go func(i int) {
			defer group.Done()
			tx, err := session.BeginTransaction(ctx)
			if err != nil {
				panic(err)
			}
			result, err := tx.Run(ctx, "CREATE (:Node)", nil)
			if err != nil {
				panic(err)
			}
			summary, err := result.Consume(ctx)
			if err != nil {
				panic(err)
			}
			fmt.Printf("Nodes created in run %d: %d\n", i, summary.Counters().NodesCreated())
			if err := tx.Commit(ctx); err != nil {
				panic(err)
			}
		}(i)
	}
	group.Wait()
}

func closeNeo4jResource(ctx context.Context, closeable interface{ Close(context.Context) error }) {
	if err := closeable.Close(ctx); err != nil {
		panic(err)
	}
}

I can reproduce the bug 100% reliably with one test suite in our non-public codebase. But it doesn’t trigger anymore whenever I comment out any test case, so I’ve not been able to reduce the reproducer yet.
The good news is that I can try out solutions and debug.
This doesn’t seem to be a multi-threading issue. Our test suite uses a single goroutine. That one goroutine begins and commits/rollbacks multiple explicit transactions concurrently, all to the same single Neo4j server.

Our particular test case that causes a failure does something like:

New session1
session1.BeginTransaction
session1.Run
New session2
session2.Run
session2.Commit
session2.Close
session1.Rollback
session1.Close

Both sessions seem to share the same connection somehow. The driver’s state seems to be erroneous before this code/test case is executed.

Thanks for the additional details, there are similar stress tests in the Go driver for this, but I'll see if I can reproduce the problem with the described setup.

So, I updated the first sample to follow more closely the scenario you described:
package main

import (
	"context"
	"fmt"
	"github.com/neo4j/neo4j-go-driver/v5/neo4j"
)

func main() {
	ctx := context.Background()
	auth := neo4j.BasicAuth("neo4j", "letmein!", "")
	driver, err := neo4j.NewDriverWithContext("neo4j://localhost", auth)
	panicOnErr(err)
	defer closeNeo4jResource(ctx, driver)
	session1 := driver.NewSession(ctx, neo4j.SessionConfig{})
	tx1, err := session1.BeginTransaction(ctx)
	panicOnErr(err)
	result1, err := tx1.Run(ctx, "CREATE (:Node)", nil)
	panicOnErr(err)
	session2 := driver.NewSession(ctx, neo4j.SessionConfig{})
	tx2, err := session2.BeginTransaction(ctx)
	panicOnErr(err)
	result2, err := tx2.Run(ctx, "CREATE (:Node)", nil)
	panicOnErr(err)
	printNodesCreated(ctx, result2)
	panicOnErr(tx2.Commit(ctx))
	closeNeo4jResource(ctx, session2)
	printNodesCreated(ctx, result1)
	panicOnErr(tx1.Rollback(ctx))
	closeNeo4jResource(ctx, session1)
}

func printNodesCreated(ctx context.Context, result neo4j.ResultWithContext) {
	summary1, err := result.Consume(ctx)
	panicOnErr(err)
	fmt.Printf("Nodes created: %d\n", summary1.Counters().NodesCreated())
}

func closeNeo4jResource(ctx context.Context, closeable interface{ Close(context.Context) error }) {
	panicOnErr(closeable.Close(ctx))
}

func panicOnErr(err error) {
	if err != nil {
		panic(err)
	}
}

Unfortunately, I still cannot reproduce the issue.
Could you please try adapt this specific sample, see if you can reproduce the issue and share the resulting program? Thanks a lot!

More debugging.
At the point of failure, I observe that the driver's busy and idle queues contain a total of 3 connections:

busy contains bolt-0
idle contains bolt-0 and bolt-1

So bolt-0 is duplicated in busy and idle, which should never happen.

In other points, I see idle for the server containing bolt-1 once and bolt-0 twice.

Here's how to reproduce: Call Run on a transaction/session that is already closed. That causes the session to be added again into the idle queue.
	session := driver.NewSession(ctx, neo4j.SessionConfig{
		DatabaseName: "neo4j",
		AccessMode:   neo4j.AccessModeRead,
	})

	tx, err := session.BeginTransaction(ctx)
	if err != nil {
		panic("failed to begin transaction: " + err.Error())
	}

	_, err = tx.Run(ctx, "MATCH (n) RETURN count(n) as nodeCount", nil)
	if err != nil {
		panic("failed to execute query: " + err.Error())
	}

	err = tx.Commit(ctx)
	if err != nil {
		panic("failed to commit transaction: " + err.Error())
	}

	err = session.Close(ctx)
	if err != nil {
		panic("failed to close session: " + err.Error())
	}

	// Execute the query again on the closed tx/session.
	// This returns an error as expected.
	//
	// ***** This causes the session to be added incorrectly twice into the idle queue. *****
	//
	_, _ = tx.Run(ctx, "MATCH (n) RETURN count(n) as nodeCount", nil)

	// Start two new sessions and begin a transaction in each.
	// Those will share the same connection.
	session1 := driver.NewSession(ctx, neo4j.SessionConfig{
		DatabaseName: "neo4j",
		AccessMode:   neo4j.AccessModeRead,
	})

	session2 := driver.NewSession(ctx, neo4j.SessionConfig{
		DatabaseName: "neo4j",
		AccessMode:   neo4j.AccessModeRead,
	})

	tx1, err := session1.BeginTransaction(ctx)
	if err != nil {
		panic("failed to begin transaction on session1: " + err.Error())
	}

	// ***** This transaction incorrectly shares the same connection as tx1. *****
	tx2, err := session2.BeginTransaction(ctx)
	if err != nil {
		panic("failed to begin transaction on session2: " + err.Error())
	}

	_, err = tx1.Run(ctx, "MATCH (n) RETURN count(n) as nodeCount", nil)
	if err != nil {
		panic("failed to execute query in tx1: " + err.Error())
	}

	err = tx1.Rollback(ctx)
	if err != nil {
		panic("failed to commit tx1: " + err.Error())
	}

	err = session1.Close(ctx)
	if err != nil {
		panic("failed to close session1: " + err.Error())
	}

	// This unexpectedly fails with error "invalid transaction handle"
	// because the shared connection has been reset.
	_, err = tx2.Run(ctx, "MATCH (n) RETURN count(n) as nodeCount", nil)
	if err != nil {
		panic("failed to execute query in tx2: " + err.Error())
	}

The problem seems to be that the onClosed function set on each explicitTransaction by SessionWithContext unconditionally calls Pool.Return for the connection even when is has already been returned, and Return doesn't seem to be idempotent:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/session_with_context.go#L339-L345
The onClosed function is called on every error, incl. when explicitTransaction.Run fails:
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/transaction_with_context.go#L70-L76

Pool.Return unconditionally calls server.returnBusy for the connection, and that is not idempotent.
https://github.com/neo4j/neo4j-go-driver/blob/0f1f1e867c614b688394d50e8a9dff16c25f0569/neo4j/internal/pool/pool.go#L471

Rewriting server.returnBusy to check for duplicates does fix this bug:
// Returns a busy connection, makes it idle
func (s *server) returnBusy(c db.Connection) {
	s.unregisterBusy(c)

	// Don't re-add the connection into idle if it is already idle.
	for e := s.idle.Front(); e != nil; e = e.Next() {
		if c == e.Value.(db.Connection) {
			return
		}
	}

	s.idle.PushFront(c)
}

The same probably needs to be done for Bolt3 and Bolt5.

Thanks @rlenglet for the detailed analysis, we'll work on a fix today.

@rlenglet 5.9.0 is now out with this fix: https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog#v590


[package_info] Implement Windows support

I'm not familiar with how Windows application metadata is managed, but this will presumably require some changes at the Runner level to make sure the necessary information is available in the binary.

How can I help with this? I know a bit about the pe headers etc.

This should be very straightforward now; VERSIONINFO was added to the template to support path_provider_windows, and there's existing code there to extract some of it, so almost everything needed for this now already exists.
Implementing package_info_windows should just involve extracting and restructuring [that path_provider_windows code] into a new plugin. (Once it's published we can actually remove all of that code from path_provider_windows and have it just depend on package_info_windows.)
I'm happy to review patches for that. If you're interested in doing this, the basic roadmap (since there's not a good overview document for how to bring up a new federated plugin implementation yet) is:

Make a PR that just implements/tests package_info_windows.

This PR shouldn't change package_info at all.
It will need to do use the same conditional import stubbing that path_provider_windows currently does.

Get that reviewed/landed/published
Make another PR for package_info that endorses the now-published package_info_windows, including doing the manual Dart registration (again, like path_provider).
Get that reviewed/landed/published

I think I need to go one step back, since I have no experience with testing of c++ code. I need find some samples and learn that first. But I'm interested in that topic, I will look what I can do.

There won't be any C++ code involved here; the code to read VERSIONINFO via Dart FFI calls to Win32 APIs is already written (per my link above). You can look at path_provider_windows to see what the unit and integration testing look like for a plugin like this.

However I added that Windows plugin as dependency of the main plugin. I'm not sure if that is the right way to implement this.

It is currently the only way to implement a Dart-only plugin (which is why my outline above includes "including doing the manual Dart registration").

I guess that will include transitive dependencies which are only relevant on Windows.

Yes, unfortunately. See https://github.com/flutter/flutter/issues/67402, for instance.

Should I open a preview PR for you to check my changes?

As described in the outline above, there need to be two separate PRs.

Closing as package_info is deprecated in favor of package_info_plus.


Do not override default docker image

Override the docker images allows us to:

Quickly test new changes (without the need to rebuild a docker image)
Improve CI workflow times

Inconveniences:

Quickly accumulating docker images in the local system
Confusing newcomers to the project
Caused some errors testing with older tutor versions

We need to remove the override for the default docker image but keeping the CI test times

It's been long enough that I no longer remember... since we're having to rebuild the openedx image in CI anyway, where are the savings coming from?

At the docker cache layer introduced in tutor 16. Some CI builds are lowered to 2 mins:
https://github.com/openedx/tutor-contrib-aspects/actions/runs/6162466774/job/16724002165?pr=372#step:8:1
https://github.com/openedx/tutor-contrib-aspects/actions/runs/6162466774/job/16724002385?pr=372#step:8:1


Fixed grammar issues to help readability

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@jonathan-grah I made the changes you requested on behalf of the user with the exception of changing the folder from loop to loops and resolved all the merge conflicts.  Since the majority of the content for Loops is already in the loop directory, maybe we should merge this one in the loop directory and then I will create a separate PR which replaces the existing index.md in the loops folder with this index.md.  The loops index.md does not have much info in it, so this should not be a problem.  If you agree, please merge this one and let me know and I will create the other PR.
Once you merge this one, there are two other existing PRs (# and #31136) for this same file which I have already reviewed/approved which I will merge before I create the new PR.
Thanks.


Remove unnecessary else statements in src/Illuminate/Foundation/Exceptions/Handler.php

I use the else because it gives visual distinction via indentation.


Bro, when you are going to accept Discord friends invite?

How I can help you in development of this project? maybe you want some things, but you don't have time? let me know :)

Sorry @kopeek I did not receive any invitation on discord and I don't see any pending.
My time is limited and I'm adding things little by little, it's not really a project I have. If you want to contribute you can open pull requests and I'll check as soon as I can.

I send invite to ninetailsrabbit

I send invite to ninetailsrabbit

Ops sorry, my discord name actually is n9rabbit


RHIDP-3246 Configuring plugins in RHDH: Consolidate sections 2.4 and 2.5

Version(s):
1.2, 1.3
Issue:
RHIDP-3246
Link to docs preview:

Reviews:

[x] SME: @ mention assignee
[ ] QE: @ mention assignee
[x] Docs review: @hmanwani-rh

Additional information:

/cherrypick 1.2.x


Marshalled JSON includes attributes with Present: false

In the provided code, when unmarshalling the JSON the Weight attribute is correctly set to present: false, valid: false as "Weight" isn't specified in the JSON.
However, when marshalling the struct back to JSON the output includes the Weight attribute with a value of null. This is unexpected as I would assume Present: false would omit the attribute from the marshalled JSON (and that the marshalled JSON should match the original JSON).
Steps to Reproduce

Run the following code: (modified from this example in the project README.md)

package main

import (
	"encoding/json"
	"fmt"

	"github.com/LukaGiorgadze/gonull"
)

type MyCustomInt int
type MyCustomFloat32 float32

type Person struct {
	Name    string
	Age     gonull.Nullable[MyCustomInt]     // present: true,  valid: true
	Address gonull.Nullable[string]          // present: true,  valid: false
	Height  gonull.Nullable[MyCustomFloat32] // present: true,  valid: false
	Weight  gonull.Nullable[string]          // present: false, valid: false
}

func main() {
	jsonData := []byte(`{"Name":"Alice","Age":15,"Address":null,"Height":null}`)

	var person Person
	err := json.Unmarshal(jsonData, &person)
	if err != nil {
		panic(err)
	}
	fmt.Printf("Unmarshalled Person: %+v\n", person)

	marshalledData, err := json.Marshal(person)
	if err != nil {
		panic(err)
	}
	fmt.Printf("Marshalled JSON: %s\n", string(marshalledData))
}

Expected Behavior
The marshalled JSON should not include the Weight attribute as it was not present in the original JSON (Present: false):
{
  "Name": "Alice",
  "Age": 15,
  "Address": null,
  "Height": null
}

Actual Behavior
The marshalled JSON includes the Weight attribute with a value of null:
{
  "Name": "Alice",
  "Age": 15,
  "Address": null,
  "Height": null,
  "Weight": null // <-- not expected, this should not be included
}

Environment

Go version: 1.22
gonull version: 1.2.0
OS: The Go Playground

Additional Context
This issue was discovered while testing the unmarshalling and marshalling of JSON data with optional fields in the Go Playground. The expected behavior is based on the assumption that Present: false should result in the attribute being omitted from the marshalled JSON.

+1 for this, it also doesn't seem to work correctly when omitempty is specified and it's not a pointer to a gonull.Nullable.


spring-ai-starter-stability-ai is not managed in the BOM

Hello!
The stability-ai-starter is not managed in the BOM.
I think that's an oversight.

I've added it in 14e4a6cccf6027ab1499f2f6b6240096213c8808


Upgrade to cursor pagination

Upgrades from the old page/perPage pagination to new pageCursor pagination

Merged: https://github.com/cortezaproject/corteza-webapp-admin/commit/64419843c087b89a8ea5583f47e07460ddbd00f1


Why Nebula graph studio needs docker

Why not just provide a binary for running Nebula graph? Why docker is required?

It's our fist beta version of Nebula Studio, which to touch some users giving some feedback. We are planning to move it online as a SaaS, it's comming soon.

Nebula graph Studio will not be a free and opensource product right?

Nebula graph Studio will not be a free and opensource product right?

No, the Nebula graph Studio itselft is free. you can deploy it yourself. But we will include it as our part service of saas, the saas will be charged according to your need.

Ok Got it Thanks.


Fix Let's Encrypt on staginglb

certbot doesn't currently support haproxy, so we need to update the certificate manually.

The Android pay support team
Https://support.google.com/Androidpay/issuere/econtact/default.


Fix typo

Thanks!
PS: Sorry for leaving the repo with broken code.
Got a new notebook and haven't set Android dev tools yet :/


Better error handling

added codecov
added proper error handling around fetch and graphql-request

This change is

src/client.ts, line 201 at r2 (raw file):
Previously, jeremie-stratumn (Jeremie Dayan) wrote…
I tested this behavior and you cannot try rsp.json() then rsp.text(), it will complain saying the rsp was already consumed or something...
I could always use rsp.text() if you prefer?

This is weird... Does it say that at compile time with TS or at runtime ?
I feel like we already did something similar in the past no ?

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use serde_json APIs instead relying on value enum

The goal of this PR is to decouple (as much as possible) from serde_json.
This is mostly needed to simplify the integration of json-trait-rs (#30).
I'm publishing this for initial review as it will be the base of the work for testing json-trait-rs.
I'm very sorry for the size of the PR ... :(

I'm very sorry for the size of the PR ... :(

No probs :)
I see that it does some negative impact on performance (however it is small in absolute numbers), e.g. with some type benches it has >+100% time change. I understand that it might be a cost to support non-serde case, but is there any way to avoid this? Or what ways do we have to improve it in the future?

I was noticing the performance hit, but overall absolute number were very low.
Still I'm not 100% sure that json-trait-ts integration is feasible and reasonable. So I would eventually suggest to not merge this yet until some further tests are done

Yep, let's take a look at how it could work performance-wise in comparison with other approaches.
I opened drafts #53 and #54 for comparison (I'd be glad if you can take a look). Will try to clean them up so it could be measured better
Cheers

@Stranger6667 I'm going to drop this for now as it does have a massive amount of merge conflicts as well as #86 might also simplify this effort as it would require a very localised diff and not on all the keywords.


M-ADA

Hello, thank you for your contribution to the Single Source Domain Generalization Institute. I have a question want to ask you, you can compare the precision of the method of M - ADA is how to get, I'm not found in the code for the implementation of this method.

Hi @scabcd1234, we did not compare with M-ADA, but we did compared with ME-ADA, and for that I modified the original implementation and ran on our benchmark. Here is the link: https://github.com/garyzhao/ME-ADA

Ok,tanks


libGlutin crash on startup

Command line:
vmph/pharo Pharo.image eval --no-quit --interactive 'GtWorld open'

Base Image: Build information: Pharo-7.0.4+build.168.sha.ccd1f6489120f58ddeacb2cac77cd3a0f0dcfbe6 (64 Bit)
OS: unix linux-gnu x86_64
Bloc: 7c6a702
Pharo 8.1.0 built on Aug 18 2019 12:31:33 Compiler: 5.4.0 20160609
Built from: e7a940c - Commit: e7a940c - Date: 2019-08-18 12:08:10 +0200
crash.txt

I get a 500 when trying to open crash.txt. Can you add the dump again?

Tried building a new image today and got the, different, attached crash.
terminal.txt
Base Image: Build information: Pharo-7.0.4+build.168.sha.ccd1f6489120f58ddeacb2cac77cd3a0f0dcfbe6 (64 Bit)
OS: unix linux-gnu x86_64
Bloc: a2c12d1
Pharo 8.1.0 built on Aug 19 2019 10:05:35 Compiler: 5.4.0 20160609
Built from: b75bbb4 - Commit: b75bbb4 - Date: 2019-08-19 09:58:32 +0200
The same crash also happens with the last known good headless VM:
Pharo 8.1.0 built on Aug 18 2019 12:31:33 Compiler: 5.4.0 20160609
Built from: e7a940c - Commit: e7a940c - Date: 2019-08-18 12:08:10 +0200

Hi @maenu,
I'm able to download the file, maybe a temporary problem?  Anyway, here it is again...
crash.txt

should work now 👍


Select and Alias directives

Better URL construction (did not escape the strings)
Added @alias directive
Added @select directive
Added concurrent resolver support to the result transform middleware

Aren't the two operations similar?
Maybe:
@select(field:String)
@selectPath(path:[String])

They definitely are, at first I mistakenly used just select before realising they are actually different
This is why I don't like making them so similar though - it can be confusing to use.
How about @select(path: [String]) and @from(field: String)?

How about @property?

Just a thought, if you want to go out of your way for this directives.
You can merge them under a single name, then use either the leaf or the result_transformer depending on if there's already a leaf directive on the field.

I think having two nullable fields and making you choose between them seems just as confusing as two similar names, but with more places you can go wrong in, like passing in two nulls :X
@property sounds good but... Is kind of really abstract and doesn't really mean anything I guess?
I'm gonna rename to @from because it's already miles better than @alias

I think having two nullable fields and making you choose between them seems just as confusing as two similar names

Use a single field. There's no reason both use-cases can't use with a composite path. It makes the Lead case more versatile.

Having one directive act in two different ways sounds like something that can easily become hard to understand
Using a single array field makes no sense - you'll never need to alias a deep field because that would mean it's inside a whole other type

I'm going to drop @from for now, since it has some buggy interactions with sibiling resolvers, which can make it very confusing to use.
For example, when @from and @http on two sibiling fields, the @http resolver can't use the target field name of the @from'd field, only the original field name.
This is a fundamental issue because resolvers can rely on the parent resolver, not on sibiling resolvers.


Add some third-party packages to pub.dartlang.org

Right now, pubsite doesn't have a UI for letting normal users upload their own packages, and won't until after launch. We do want to have some third-party packages on their at M1, though. So we should hand-select a couple, work with their owners and manually add them to pub.dartlang.org on their behalf.

This issue has been moved to dart-lang/pub#98.


Disable test while we investigte

Disable test until fixed because we've also seen it fail on RA simulator build.
rdar://90373022

@swift-ci please smoke test

Merging to unblock the build.


RFC: remove simpCtorEq from the default simprocs

Proposal
Currently simp only simplifies an equality a = b to False, if a and b are different constructors for an inductive type.  This is apparently done by the Meta.Simp.simpCtorEq simproc.
Would it be possible to turn off this simproc in simp only, while still keeping it in the set of rules used by simp?  Here are three arguments in favour of this change:

This simproc can cause unpredictable behaviour.  For example,

example : (1:Nat) = 0 := by
  simp only -- goal `False`

example : (1:Int) = 0 := by
  simp only -- "simp made no progress"

example : (-1:Int) = 0 := by
  simp only -- goal `False`

The simpCtorEq simproc is applicable to the first and last of these goals but not to the middle one.

This simproc can cause inefficient behaviour.  For example (from @kmill):

example : 2^10000 = 2^9999 := by
  simp (config := Lean.Meta.Simp.neutralConfig) only
/-
exponent 10000 exceeds the threshold 256, exponentiation operation was not evaluated,
use `set_option exponentiation.threshold <num>` to set a new threshold
-/

There are use cases where unambiguously this simproc is undesirable, so it's awkward to have it baked into simp only, where it is (AFAICT) impossible to turn off.  For example, the simp tactic is used internally in the Mathlib ring tactic to clean up failures before they are presented to the user.  This simproc actually cleans up some failures too aggressively, so that the information to the user is lost!

import Mathlib

-- simproc does not act, user gets useful error message
example (x : ℤ) : x + 1 - x = 0 := by ring
/-
error: unsolved goals
⊢ 1 = 0
-/

-- simproc acts, user does not get useful error message
example (x : ℤ) : x - 1 - x = 0 := by ring
/-
error: unsolved goals
⊢ False
-/

Community Feedback
Discussion at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/simp.20only.20on.20numeric.20goals
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

Side note: ring could likely be fixed by adjusting Methods.post in the simp call


License and Reference

Hi author,
I just encounter your repo and find it is intriguingly similar to my repo that was open-sourced two years ago.
I am fine and glad if you use my code base for the purpose of study. But I should highlight my code was published under MIT license which means others can copy and reuse the code under the condition of "the copyright notice and this permission notice shall be included in all copies or substantial portions of the Software".
Thus, please add MIT license to your code base and make reference and link to the origin repo. Thank you.

Hi,
Thank you for bringing this to my attention. I apologize for any confusion or inconvenience my actions may have caused. I understand that your code was published under the MIT License, and I should have included a copyright notice and reference to your original repository.
I want to assure you that I have not intentionally used your code without permission and I am glad to comply with your request. I will add the appropriate licensing information, as well as a reference and link to your repository, to my project as soon as possible.
Please let me know if there is anything else I can do to rectify this situation. Thank you again for bringing this to my attention.
Best regards,
Kedreamix

Thanks for the quick response. It is important to explicitly clarify the origin of the code rather than a vague reference.
For example, you can state in the readme that the repo is translated and commented upon https://github.com/IcarusWizard/MAE.

I will take your suggestion into consideration and update the readme file to explicitly state that the repository at https://github.com/IcarusWizard/MAE is a translation and has been commented upon. I believe this will provide valuable context for anyone interested in the code.
Again, thank you for bringing this to my attention and for your helpful suggestion. Please let me know if you have any further feedback or concerns.

I think you are doing in the correct way. Thanks for your cooperation.


Refactor to pull out actions

Pull out actions to relevant files like _click, _write etc from taiko.js.

Prefer all the api in on file for documentation and easy reference when using Taiko in IDE's. I believe other refactoring done recently had broken down Taiko into a reasonable structure.


dart migrate asks me to run a command after I already ran it

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I am running
> dart pub outdated --mode=null-safety

Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.

All your dependencies declare support for null-safety.

> dart pub upgrade --null-safety
No dependencies changed.
1 package is discontinued.
148 packages have newer versions incompatible with dependency constraints.
Try `dart pub outdated` for more information.

No changes to pubspec.yaml!

> dart pub get

And then ran dart migrate, got the following output:
Analyzing project...
[---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\]Bad state: Error: package has unmigrated dependencies.

Before migrating your package, we recommend ensuring that every library it
imports (either directly or indirectly) has been migrated to null safety, so
that you will be able to run your unit tests in sound null checking mode.  You
are currently importing the following non-null-safe libraries:

(a list of files in my app like: package:opengames/presentation/widgets/not_found_screen.dart)

Please upgrade the packages containing these libraries to null safe versions
before continuing.  To see what null safe package versions are available, run
the following command: `dart pub outdated --mode=null-safety`.

To skip this check and try to migrate anyway, re-run with the flag
`--skip-import-check`.

Why is this happening? I already ran dart pub outdated --mode=null-safety
Expected results
dart migrate should work after running dart pub outdated --mode=null-safety
Actual results
dart migrate asks me to re-run dart pub outdated --mode=null-safety
Code sample
N/A
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.10.5, on macOS 13.2 22D49 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.2)
[✓] IntelliJ IDEA Community Edition (version 2021.2.4)
[✓] VS Code (version 1.76.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

@jpiabrantes
I think this will need to be reported in dart-lang repo : https://github.com/dart-lang/sdk/issues
Closing from here. If you disagree, write in comments and I'll reopen it.


Change In UI in Socials Section

This is a:

[x] Update to an existing Animated Button
[ ] Any Error
[x] Proposal to the Repository
[ ] Documentation / README.md changes

Details:

I want to change the link buttons on socials section more eye-comforting. Can you assign me the task under "GSSoC'23" ?

@adity2911 The similar issue is created and assigned.
You can start working on something else.


HBASE-25587 [hbck2] Schedule SCP for all unknown servers

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Prechecks _

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

+0 :ok:
prototool
0m  0s
prototool was not available.

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

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

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 43s
master passed

+1 :green_heart:
compile
5m 30s
master passed

+1 :green_heart:
checkstyle
1m 44s
master passed

+1 :green_heart:
spotbugs
6m 33s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
6m  7s
the patch passed

+1 :green_heart:
cc
6m  7s
the patch passed

+1 :green_heart:
javac
6m  7s
the patch passed

+1 :green_heart:
checkstyle
0m 10s
The patch passed checkstyle in hbase-protocol-shaded

+1 :green_heart:
checkstyle
0m 29s
The patch passed checkstyle in hbase-client

+1 :green_heart:
checkstyle
1m 16s
hbase-server: The patch generated 0 new + 19 unchanged - 1 fixed = 19 total (was 20)

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

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

+1 :green_heart:
hbaseprotoc
2m  2s
the patch passed

+1 :green_heart:
spotbugs
6m 55s
the patch passed

_ Other Tests _

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

67m  3s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux cda3e8eb4d23 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5fa15cfde3

Default Java
AdoptOpenJDK-1.8.0_232-b09

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

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=3.1.12

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
4m 19s
master passed

+1 :green_heart:
compile
2m 33s
master passed

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

+1 :green_heart:
javadoc
1m 23s
master passed

_ Patch Compile Tests _

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

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

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

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

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

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

_ Other Tests _

+1 :green_heart:
unit
0m 58s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m  6s
hbase-client in the patch passed.

+1 :green_heart:
unit
132m 29s
hbase-server in the patch passed.

168m 10s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5fa15cfde3

Default Java
AdoptOpenJDK-11.0.6+10

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

Max. process+thread count
4112 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
4m  7s
master passed

+1 :green_heart:
compile
2m 11s
master passed

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

+1 :green_heart:
javadoc
1m 13s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m 13s
the patch passed

+1 :green_heart:
javac
2m 13s
the patch passed

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

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

_ Other Tests _

+1 :green_heart:
unit
0m 47s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m  8s
hbase-client in the patch passed.

+1 :green_heart:
unit
206m 35s
hbase-server in the patch passed.

241m 48s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 43d12ba0f8bf 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5fa15cfde3

Default Java
AdoptOpenJDK-1.8.0_232-b09

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

Max. process+thread count
3685 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 30s
Docker mode activated.

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
5m 47s
master passed

+1 :green_heart:
compile
2m 56s
master passed

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

+1 :green_heart:
javadoc
1m 28s
master passed

_ Patch Compile Tests _

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

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

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

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

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

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

_ Other Tests _

+1 :green_heart:
unit
1m  6s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m 37s
hbase-client in the patch passed.

-1 :x:
unit
14m  4s
hbase-server in the patch failed.

59m 54s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 20157d66507d 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5d9a6ed1fe

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2978/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt

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

Max. process+thread count
755 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

+0 :ok:
prototool
0m  0s
prototool was not available.

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

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

_ master Compile Tests _

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

-1 :x:
mvninstall
4m 56s
root in master failed.

+1 :green_heart:
compile
6m 23s
master passed

+1 :green_heart:
checkstyle
1m 53s
master passed

+1 :green_heart:
spotbugs
7m 34s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
6m 17s
the patch passed

+1 :green_heart:
cc
6m 17s
the patch passed

+1 :green_heart:
javac
6m 17s
the patch passed

+1 :green_heart:
checkstyle
0m 11s
The patch passed checkstyle in hbase-protocol-shaded

-0 :warning:
checkstyle
0m 30s
hbase-client: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
checkstyle
1m 16s
hbase-server: The patch generated 0 new + 19 unchanged - 1 fixed = 19 total (was 20)

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

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

+1 :green_heart:
hbaseprotoc
2m  2s
the patch passed

+1 :green_heart:
spotbugs
7m 22s
the patch passed

_ Other Tests _

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

75m 20s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux 63ee466a806c 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5d9a6ed1fe

Default Java
AdoptOpenJDK-1.8.0_282-b08

mvninstall
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2978/2/artifact/yetus-general-check/output/branch-mvninstall-root.txt

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2978/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

Max. process+thread count
86 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=3.1.12

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
4m 35s
master passed

+1 :green_heart:
compile
2m 42s
master passed

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

+1 :green_heart:
javadoc
1m 28s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m 52s
the patch passed

+1 :green_heart:
javac
2m 52s
the patch passed

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

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

_ Other Tests _

+1 :green_heart:
unit
1m  1s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m  9s
hbase-client in the patch passed.

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

174m 55s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5d9a6ed1fe

Default Java
AdoptOpenJDK-11.0.10+9

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

Max. process+thread count
3858 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
4m 16s
master passed

+1 :green_heart:
compile
2m 43s
master passed

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

+1 :green_heart:
javadoc
1m 21s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m 42s
the patch passed

+1 :green_heart:
javac
2m 42s
the patch passed

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

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

_ Other Tests _

+1 :green_heart:
unit
1m  3s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m  7s
hbase-client in the patch passed.

+1 :green_heart:
unit
135m  2s
hbase-server in the patch passed.

171m 46s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5d9a6ed1fe

Default Java
AdoptOpenJDK-11.0.10+9

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

Max. process+thread count
4367 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 57s
master passed

+1 :green_heart:
compile
2m 12s
master passed

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

+1 :green_heart:
javadoc
1m  9s
master passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m  9s
the patch passed

+1 :green_heart:
javac
2m 10s
the patch passed

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

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

_ Other Tests _

+1 :green_heart:
unit
0m 46s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
1m  7s
hbase-client in the patch passed.

+1 :green_heart:
unit
217m 41s
hbase-server in the patch passed.

252m 47s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux aeaa43d2a9fb 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 5d9a6ed1fe

Default Java
AdoptOpenJDK-1.8.0_282-b08

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

Max. process+thread count
3690 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.


Scope support for Azure Functions module to AMD64

We made a decision to deprecate support for ARM32 Azure Functions modules because of usage metrics / complications maintaining Azure Functions base image for ARM32 support. In this PR I have scoped support for Azure Functions module to AMD64 only.

@and-rewsmith : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@and-rewsmith : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@and-rewsmith : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Websites links broken

The links in README are broken. Are there a new ones?
Thanks in advance.

the libsvm site will be back in maybe a few hours
On 2020-04-29 17:37, Constantino Álvarez Casado wrote:

The links in README are broken. Are there a new ones?
Thanks in advance.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2]. [ { "@context": "http://schema.org", "@type": "EmailMessage",
"potentialAction": { "@type": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/165", "url":
"https://github.com/cjlin1/libsvm/issues/165", "name": "View Issue" },
"description": "View this Issue on GitHub", "publisher": { "@type":
"Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/165
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHWCQDZ7N7ODK7ROFHDRO7YM5ANCNFSM4MTR55ZQ

Thanks Chih-Jen! I was guessing it was a server issue, but just in case I wanted to tell it. :D

the website broken again,looks like https://www.csie.ntu.edu.tw can not be access

Our department server is under maintenance today. Please wait until
later today or tomorrow. Sorry about that
On 2024-08-17 21:58, might wrote:

the website broken again,looks like https://www.csie.ntu.edu.tw can
not be access
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you commented.Message ID:
@.> [ { @.":
"http://schema.org", @.": "EmailMessage", "potentialAction": {
@.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/165#issuecomment-2294867536",
"url":
"https://github.com/cjlin1/libsvm/issues/165#issuecomment-2294867536",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { @.***": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/165#issuecomment-2294867536
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHV56HIYM73DI7XLDNDZR5JHHAVCNFSM6AAAAABMVOHMAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHA3DONJTGY


removeLayer with map option maxZoom : over 18 not working

js_includes_sp.jsx?v=01-29-2017_2025&lp=Tue_Jul_11_11_57_19_PDT_2017&c=2_42:11973 TypeError: Cannot read property 'removeObject' of undefined
at e._removeFromGridUnclustered (x_mpany_core.leaflet.markercluster-src.j.jsdbx:683)
at e._removeLayer (x_mpany_core.leaflet.markercluster-src.j.jsdbx:732)
at e.removeLayer (x_mpany_core.leaflet.markercluster-src.j.jsdbx:173)
at Object.map.unloadMarker (eval at providers (js_includes_sp.jsx?v=01-29-
To reproduce:
Step 1: generate a leaflet map with map options of: minZoom: 4
Step 2: addLayer to marker cluster
Step 3: removeLayer from marker cluster

sorry also add leaflet option of : minZoom: 3

after some troubleshooting it looks like the minZoom option is the cause for the crash you can set maxZoom over 18.

Hi,
Please can you provide consistent details (minZoom or maxZoom?) and a live reproduction case, so that it is possible to investigate?
I am unable to reproduce your issue with the given steps:
http://playground-leaflet.rhcloud.com/sizu/1/edit?html,output

I can confirm that problem occurs. In my case when minZoom for map is set. However, I can't reproduce it with fiddle you provided.

Please create a new issue with a jsfiddle that reproduces it.

Had this happen when I temporarily changed my zoom bound from 15 to 1 to debug, not sure about much else but I just put the bound back at 15 and it fixed. This might help someone down the road.


Environment setting problem

Hello, TAs.
When I tried to set up my environment by
            conda create --name py3d --file requirements.txt

However, I suffered from the below errors:

It seems like I do not have some channels, or maybe something else,  so that anaconda cannot find these packages, thus cause the error.
Below is my channel list:

Conda version:
conda 4.12.0
I've googled for some docs trying to solve this issue, but I didn't find a way out.
I wanna know what else do I need to complete this environment setting.
Thank you!

Some fo packages are actucally install via pip install, you can make another requirements.txt just for pip install and use this command to install those pip packages:
pip install -r /path/to/requirements.txt

As, for pytorch related packages, such as  torchvision, torchaudio, etc.
don't install it from pip install, use this command instead:
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

Thanks for reply!
So we need to
First Step: delete these two lines from requirement.txt:
                torchaudio=0.11.0=py310_cu113
                torchvision=0.12.0=py310_cu113

Second step:
pip install -r /path/to/requirements.txt
Third step:
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
Are the above steps correct?

Yes, this should do.
Fell free to ask more if it doesn't solve the problem.

Hello again
I have tried the above steps, but when I tried:
             pip install -r requirement.txt

It shows the below error:
                  ERROR: Invalid requirement: '_libgcc_mutex=0.1=main' (from line 4 of requirements.txt)

                  Hint: = is not a valid operator. Did you mean == ?

After some searching, I found this article:

This suggests that the requirement.txt  we now have is a yml file that only fits "conda create", but not fits "pip install" command.
And the problem now is that, maybe we either need:
                1. The anaconda channels that TAs used to solve the PackageNotFoundError, so that we can directly use the "conda create" command to build the environment.

                2. Some other ways to solve this issue.

Above is the problem, thank you!

@egghead2630 I have replace requirements.txt to requirements.yml, see the commit: #9151182.
See the rewrote readme section too.
This should work flawlessly, but it will take some time. Just be patient.

Hello!
I've tried the revised command and requirement.yml.
Everything goes fine until installing xatlas.
xatlas failed to build wheel and shows below error:

I've also tried
               /anaconda3/envs/py3d/bin/pip install xatlas==0.0.6

Same errors show up.
Is there any way to solve this problem?  Thank you again!

Next time try to put the logs in the code block too.
Using images to show logs is not a preferred way.

I just installed xatlas on another machine and it worked.
❯ pip install xatlas
Collecting xatlas
  Downloading xatlas-0.0.6-cp36-cp36m-manylinux2010_x86_64.whl (207 kB)
     |████████████████████████████████| 207 kB 1.5 MB/s
Installing collected packages: xatlas
Successfully installed xatlas-0.0.6

Maybe you need this too:
sudo apt-get install python3-dev build-essential

Sorry for the images, I would notice that next time.
By the way, I try to directly
               pip install xatlas

in the py3d environment.
This time it's installed all good, so I wonder it a python 3.10 issue or somewhat.
Thank you for the advises

I don't think it's a python3.10 issue, since I just reproduced the conda env with the exact same requirements.yml which is py3.10.
I think you just got bad luck got the corrupted .whl file when downloading it due to internet issue.
I suggest you create your own requirements.yml from your conda env and see if that matches the requirements.yml I provided, in case anything goes wrong.

Hi, TA
I have modified the requirements.yml that delete only
                     xatlas==0.0.6

Then everything goes fine.
However when I tried to install it manually by
                    /anaconda3/envs/py3d/bin/pip install xatlas

or update the environment by
                   conda env update --name py3d --file requirements.txt

These two ways failed, errors are just like above posts.
Then I also tried the above commands:
                    sudo apt-get install python3-dev build-essential
                    /anaconda3/envs/py3d/bin/pip install --upgrade pip setuptools wheel

It didn't work either.
However, in py3d env, when I use merely
             pip install xatlas

It's installed nicely without a problem, but this command install xatlas at environment "base" but not "py3d"
I have also tried to install pyproject.toml, not working.
Since Above is a cmake failed, I wonder if this a cmake failed or gcc problem, here I provided my version for you to check, maybe I could catch up with TA's version and try it again:
           gcc: GNU 5.4.0
           cmake:  3.23.0-rc2

Above I have tried my best fixing this problem, but I am still stuck.
Could you provide some ideas fixing this? Thank you.

Nice work! You did devote a lot of effort in it. Gotta give you credit for debugging this. 👏

However, in py3d env, when I use merely
pip install xatlas
It's installed nicely without a problem, but this command install xatlas at environment "base" but not "py3d"

That's weird. If you're already in the py3d conda env and you pip install XXX in it, then it should be in the py3d env when you called which XXX. Did you modify something in your .bashrc file? like adding something to PATH?

I have also tried to install pyproject.toml, not working.

You don't need to install that. .toml is a file type, not a package.

gcc: GNU 5.4.0
cmake:  3.23.0-rc2

Could you provide some ideas fixing this? Thank you.

My gcc, cmake, pip:
$ gcc --version # system level
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
gcc (Ubuntu 8.4.0-3ubuntu2) 8.4.0 # on another server

$ cmake --version # system level
cmake version 3.16.3

$ pip --version # in conda env: py3d
pip 22.1 from /home/{user}/anaconda3/envs/py3d/lib/python3.10/site-packages/pip (python 3.10)
$ which pip # in conda env: py3d
/home/odie/anaconda3/envs/py3d/bin/pip

If you solve the problem, please share your result and close the issue, thanks.

Oh! sorry for this,
I got a little busy these two days.
I've tried another way to solve the problem, not working though.
I will commit a final sum up for this issue maybe on Monday, and close the issue simultaneously.
Since I've tried every way I could on this problem, I think I would install the environment on another computer or workstation.
Thank you for your patience on this weird problem.
Best.

Autcally I don't think it's necessary to install xatlas, as I recall this assignment only needs yaml but not toml.
The reason why xatlas is in the env might because hydra can take both yaml and toml; therefore xatlas is installed by hydra.
Since I only wrote hydra configs in yaml, toml releated packages might not needed.
Despite the packages is not needed, I bet you learned a lot when you tried to solve the issue. And the skills you learned will serve you well when you start your own research in the upcoming future.
Happy coding! :)

Oh that's a good news,
I forget to check the train.py and eval.py
there are actually no xatlas , maybe now I can finally start this :)
I will still give a sum-up on Monday, thank you TA.
By the way, do we need a good GPU for this project?

Nice!
The voxel part might take a lot of vram, but I think you can cut the batch_size to make it trainable.

This commit is a sum-up for the environment problem, hope to be helpful.
After the revised requirement.yml coming out, I have met the below problem when creating environment.
                       xatlas building wheel failed error

Here I list every way I have tried to solve this problem.

use some alternative way to install xatlas:
            /anaconda3/envs/py3d/bin/pip install xatlas
            conda env update --name py3d --file requirements.txt

It failed reasonably.

Follow the advises, update the build tools:
             sudo apt-get install python3-dev build-essential
             /anaconda3/envs/py3d/bin/pip install --upgrade pip setuptools wheel

Somehow it didn't work, not quite know why.

Since my base environment install xatlas smoothly, I export my base environment as .yml and manually install the dependencies in my py3d environment, note that this takes "a lot of" time that I don't suggest you to follow this.

This way didn't work either, thus I give up installing xatlas in py3d, fortunately this package is really not necessary.
The reason why I didn't try to update my gcc and cmake version is that, since I have successfully installed xatlas in my base environment, I guess it's not the problem.
Above is the sum-up,  I have to thank TA here for trying to solve this problem together with me, that's a great encouragement.

great sum up!👏


Escape special characters in program lists

Special chars like underscore and star (Markdown) need to be escaped in the generated program lists, see e.g. here: https://loda-lang.org/list1/
The code for this is located in OeisMaintenance::generateLists().

fixed already


gRPC listeners do not terminate on core IRC client disconnection

Implementing gRPC cancellation of all listeners when the core disconnects should fix this.

This might be a "run" versus "run_until_complete" mixup on Chloresolver


Flask-Angular issue for Uploading file through api call

You need to provide details instead of just leaving the placeholder. Also, if Flask-Angular is broken use their issue tracker since it's most likely not a Flask problem.


Feature Request: Support Hyperopt

Hello -
Can I request hyperopt (an SMBO based python library) be supported by dask? Currently, hyperopt authors support parallelization via Mongo that adds a layer of additional dependency.
Below is some additional information -
hyperopt: https://github.com/hyperopt/hyperopt
documentation: http://hyperopt.github.io/hyperopt/
Current Parallelization Methods: https://github.com/hyperopt/hyperopt/wiki/Parallelizing-Evaluations-During-Search-via-MongoDB
Thanks so much for all the wonderful work!
AD

Hi @superaja , thanks for the suggestion.  I suspect that this work would probably need to be done in the hyperopt library rather than in the dask library.  Perhaps it would be better to raise an issue there and link to that issue here?

Makes sense, Matt.
Let me do it and update this thread.
AD

@mrocklin - you had a comment in a hyperopt issue thread (#282) in 2017. I have updated that issue with my comment. hopefully, they can address.
https://github.com/hyperopt/hyperopt/issues/282
AD

Thanks @superaja. Closing, as this should be handled elsewhere and not in the core dask library.


getting these errors in tensorflow.contrib, TfPoseEstimator etc. while running the command "python run_webcam.py --model=mobilenet_thin --resize=432x368 --camera=0" . I have build the pafprocess c++ files swig successfully, but also I'm getting the errors

Traceback (most recent call last):
File "run.py", line 6, in
from tf_pose import common
File "D:\tf-pose-estimation\tf_pose_init_.py", line 5, in
from tf_pose.runner import infer, Estimator, get_estimator
File "D:\tf-pose-estimation\tf_pose\runner.py", line 8, in
from tf_pose import eval
File "D:\tf-pose-estimation\tf_pose\eval.py", line 14, in
from tf_pose.networks import model_wh, get_graph_path
File "D:\tf-pose-estimation\tf_pose\networks.py", line 6, in
from tf_pose.network_mobilenet import MobilenetNetwork
File "D:\tf-pose-estimation\tf_pose\network_mobilenet.py", line 5, in
from tf_pose import network_base
File "D:\tf-pose-estimation\tf_pose\network_base.py", line 8, in
import tensorflow.contrib.slim as slim
ModuleNotFoundError: No module named 'tensorflow.contrib'

@jangalasriramd7,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Thanks!

Also, please go through issue #40802, with a similar error and let us know if it helps. Thanks!


FIX: Mask fieldmap before fitting spline field [backport gh-396]

Straightforward backport. Would still be good to get a test. To anybody willing:
$ git clone https://github.com/effigies/sdcflows.git
$ git -C sdcflows checkout bp/2.5.x/396
$ pipx run "fmriprep-docker==23.1.4" [usual arguments] --patch sdcflows=$PWD/sdcflows/sdcflows

@oesteban WDYT about this backport? I'm considering dropping it in and making a final bug-fix release of 23.1.x so the fix can be available for people before 23.2 is finalized


[Fix] HTTPError when downloading vaccination data and PCR test data

Summary
urllib.error.HTTPError: HTTP Error 403: Forbidden was raised when downloading vaccination data and PCR test data from "Our World In Data" when using CovsirPhy with a command line tool.
Codes
import covsirphy as cs
# Dataset preparation
data_loader = cs.DataLoader("input")
data_loader.vaccine()
data_loader.pcr()

Outputs
urllib.error.HTTPError: HTTP Error 403: Forbidden
Environment

CovsirPhy version: 2.16.2-alpha
Python version: 3.9.1
Installation: poetry
System: WSL (Ubuntu)

URL will be changed

from https://ourworldindata.org/coronavirus
to https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/


How to handle rsgi app startup and graceful shutdown?

It seems the RSGI interface doesn't have lifespan support like asgi?

At the moment (RSGI 1.4) there's just support for an initialization method.
Your app can have an __rsgi_init__ method which should accept loop as the only argument.
You can take a look at emmett (https://github.com/emmett-framework/emmett/blob/v2.5.9/emmett/app.py#L439-L440) for an example.
There are currently no plans to support a shutdown event, unless specific use-cases emerge for that.


HWY-271: Log synchronizer queue size.

https://casperlabs.atlassian.net/browse/HWY-271

Adds logging of synchronizer's queue lengths.
Periodically sends LatestPanorama message for the latest era to its peers.

You've committed an empty file by mistake, BTW

Yeah, I don't see it locally though :/

Closing in favor of multiple smaller PRs.


🐞[bug]: Forgot Password shows incorrect email FORMAT

Is there an existing issue for this?

[x] I have searched the existing issues

Describe the bug
The "Forgot Password" feature currently displays an error message indicating "incorrect email format" when the user enters an invalid email format.
suggestions:
Real-Time Validation: Add client-side validation using HTML5 (type="email") or JavaScript regex patterns to check the email format as the user types. This helps users catch and fix errors immediately, reducing submission delays and avoiding unnecessary server-side error messages.
Clear Error Messaging: Update the error message to be more specific, e.g., “The email format is invalid. Ensure it includes ‘@’ and a domain name (e.g., user@example.com).” Additionally, use a placeholder like<EMAIL_ADDRESS>in the email field to guide users on the correct format.
Expected behavior
1.As users type in the email field, real-time validation highlights any format issues, prompting immediate correction without needing to submit the form.

If an invalid format is entered, a clear and specific error message appears (e.g., “The email format is invalid. Ensure it includes ‘@’ and a domain name”), and the field shows a helpful placeholder (e.g<EMAIL_ADDRESS>to guide users on the correct input format.

Add ScreenShots

What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Anjaliavv51 kindly assign this issue to me.

@Anjaliavv51 kindly assign the issue level1 and gssoc-ext labels


AUR 404

The link for the AUR tarball https://aur.archlinux.org/packages/pi/pick/pick.tar.gz gives a 404.

Hey @camoy, thanks for reporting this.
The AUR installation instructions need to be updated in accordance to https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages for installing this package: https://aur.archlinux.org/packages/pick/
If you'd like to work on this please feel free to do so. If not, I'll get to it as soon as I have time.


Implementation of K-Nearest Neighbor algorithm in Python and Java

This pull request introduces an implementation of the KNN algorithm in various programming languages: Python and Java. Each implementation follows the same logic and functionality, allowing users to apply the KNN algorithm for binary classification and multiclass classification tasks.
Issue #1072
👨💻 Changes proposed

Added code to fit the KNN classifier in Python.
Created a KNN Classifier class with methods for fitting and predicting in Java.

✔ Check List (Check all the applicable boxes)
[✅] My code follows the code style of this project.
[✅] This PR does not contain plagiarized content.
[✅] The title of my pull request is a short description of the requested changes.
📄 Note to reviewers
Please review the changes in each implementation and provide feedback on the code structure, algorithm implementation, and any potential improvements.
Thank you for your time and valuable feedback.
Best regards,
Sanket Patil

Is this code generated by ChatGPT?


App doesnt respond to hide keyboard shortcut

On MacOS -- pressing the global command + H does't hide the app.

Thanks for letting me know. I'll fix this soon.


Incorrect function definition

At least in method server_start (as well as in another methods, for example, server_destroy) there is no subid argument which causes NameError.
Also I believe subid argument in server_list method should be optional.

Thanks for the report. Feel free to submit a PR for the issue. I'll try to
get to it by the end of the week, but I'm still working out some issues
with Travis and the tests that require an API Key and those that don't.
ᐧ
On Fri, May 15, 2015 at 8:06 AM, senseysensor<EMAIL_ADDRESS>wrote:

At least in method server_start (as well as in another methods, for
example, server_destroy) there is no subid argument which causes NameError
.
Also I believe subid argument in server_list method should be optional.
—
Reply to this email directly or view it on GitHub
https://github.com/spry-group/python-vultr/issues/14.

--
Darrel O'Pry
The Spry Group, LLC.
http://www.spry-group.com
718-355-9767 x101


circt: 1.71.0 -> 1.72.0

Description of changes
https://github.com/llvm/circt/releases/tag/firtool-1.72.0
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Thanks for the PR.
I think this is a duplicate of #302528

Closed by #302528.


would it be possible to add the limit/threshold in the Damerau Levenshtein?

Can we add a parameter like threshold or limit, if distance is above the threshold then just stop calculation and return? if would be really helpful in some cases, where you need compare the distance in real-time and you don't want waster time if distance is too large.

I do like this idea. Let me think on how this would be implemented.
Note that I'm quite busy these days at work, so I won't be able to get to this right away. A PR would be much appreciated.


GSoC Idea: Implement Conversion Rate Metric in CHAOSS Software

Conversion Rate
Question: What are the rates at which new contributors become more sustained contributors?
Microtasks
For becoming familiar with Augur, you can start by reading some documentation. You can find useful information at in the links, below. Grimoirelab also has a set of installation instructions and documentation here: https://chaoss.github.io/grimoirelab-tutorial/
Once you're familiar with Augur, you can have a look at the following microtasks.
Microtask 0:
Download and configure Augur, creating a dev environment using the general cautions noted here:
Augur
https://oss-augur.readthedocs.io/en/dev/getting-started/installation.html and the full documentation here:
https://oss-augur.readthedocs.io/en/dev/development-guide/toc.html
Grimoirelab
https://chaoss.github.io/grimoirelab-tutorial/
Microstask 1:
Work on any Augur or Grimoirelab Issue that's Open
Microtask 2:
Identify new issues you encounter during installation.
Microstask 3:
Explore data presently captured, develop an experimental visualization using tools of your choice. If Jupyter Notebooks against an Augur database/API endpoint collection, use https://github.com/chaoss/augur-community-reports for development.
Microtask 4:
Anything you want to show us. Even if you find bugs in our documentation and want to issue a PR for those!
Description
The conversion rate metric is primarily aimed at identifying how new community members become more sustained contributors over time. However, the conversion rate metric can also help understand the changing roles of contributors, how a community is growing or declining, and paths to maintainership within an open source community.
Objectives (why)

Observe if new members are becoming more involved with an open source project
Observe if new members are taking on leadership roles within an open source project
Observe if outreach efforts are generating new contributors to an open source project
Observe if outreach efforts are impacting roles of existing community members
Observe if community conflict results in changing roles within an open source community
Identify casual, regular, and core contributors

Implementation
This project could be implemented using either the CHAOSS/Augur, or CHAOSS/Grimoirelab (including stack components noted in references) technology stacks.
The aims of the project are as follows:

Implement the Conversion Rate Metric in CHAOSS Software

After discussion, consider which CHAOSS Software Stack you wish to work with
In collaboration with mentors, define the technology framework, and initial path to a "hello world" version of the metric
Iterative development of the metric

Assist in the deployment of this metric for a pre-determined collection of repositories in a publicly viewable website linked to the CHAOSS project.
Advance the work of the chaoss metrics models working group.

Difficulty: Medium
Requirements: Knowledge of Python is desired. Some knowledge of Javascript or twitter/bootstrap is also desired. Key requirement is a keenness to dig into this challenge!
Recommended: Python experience.
Mentors: Sean Goggins, Daniel Izquerdo

Filters (optional)

Commits
Issue creation
Issue comments
Change request creation
Change request comments
Merged change requests
Code Reviews
Code Review Comments
Reactions (emoji)
Chat platform messages
Maillist messages
Meetup attendance

Visualizations

Source: https://chaoss.github.io/grimoirelab-sigils/assets/images/screenshots/sigils/overall-community-structure.png

Source: https://opensource.com/sites/default/files/uploads/2021-09-15-developer-level-02.png
Tools Providing the Metric

GrimoireLab
Augur
openEuler Infra

Data Collection Strategies
The following is an example from the openEuler community:

A group of people who attended an offline event A held by the community, can be identified as Group A. Demographic information of Group A could be fetched from an on-line survey when people register for the event. To identify the conversation rate of these participants:
Some people from Group A started watching and forking the repos, indicating they have shown some interest in this community. We marked them as subgroup D0 (Developer Level 0) as a subset of Group A.
Conversion rate from the total number of people in Group A to the number of people in subgroup D0 is: D0/Group A
Some people from subgroup D0 make more contributions beyond just watching or forking, including creating issues, making comments on an issue, or performed a code review. We marked them as subgroup D1 (Developer Level 1) as a subset of D0.
Conversion rate from the total number of people in Subgroup D0 to the number of people in subgroup D1 is: D1/D0.
Some people from subgroup D1 continue to make more contributions, like code contributions, to the project. This could include creating merge requests and merging new project code. We marked them as subgroup D2 (Developer Level 2) as a subset of D1.
Conversion rate from the total number of people in subgroup D1 to the number of people in subgroup D2 is: D2/D1.

Definition:

Developer Level 0 (D0) example: Contributors who have given the project a star, or are watching or have forked the repository
Developer Level 1 (D1): Contributors who have created issues, made comments on an issue, or performed a code review
Developer Level 2 (D2): Contributors who have created a merge request and successfully merged code
Conversion Rate (Group A -> D0): CR (Group A -> D2) = D0/Group A
Conversion Rate (D0 -> D1): CR (D0 -> D1) = D1/D0
Conversion Rate (D1 -> D2): CR (D1 -> D2) = D2/D1

References

https://opensource.com/article/21/11/data-open-source-contributors
https://github.com/chaoss/augur
https://gitee.com/openeuler/website-v2/blob/master/web-ui/docs/en/blog/zhongjun/2021-09-15-developer-level.md
https://chaoss.github.io/grimoirelab-sigils/common/onion_analysis/
https://mikemcquaid.com/2018/08/14/the-open-source-contributor-funnel-why-people-dont-contribute-to-your-open-source-project/

Contributors

Yehui Wang
Clement Li
zhongjun
Xiaoya Xia
Matt Germonprez
Sean Goggins
King Gao

Hello, @sgoggins! I'd like to contribute to the project, but I can't seem to find any microtasks that will allow me to do so.
Kindly point me in the right direction.

Hi, @sgoggins.
My name is Taiwei Wu (also fine to call me Tieway) and I am a graduate student from Shanghai, China. Lately, I've been running grimoirelab examples in my own server with my friends and schoolmates. I don't have enough knowledge of Augur or openEuler Infra, so I am still not sure which one could be best.
I contacted some of the matrix contributors (Yehui and Xiaoya) for model details, and I have got enough programming skills in Python. I'd like to dig into this challenge and contribute to CHAOSS.

Hi @TieWay59 : If you want to do this for the Google Summer of Code, then all you need to do is complete the microtasks and proposals!  Same for you @purna135 !!

@purna135 @TieWay59 It's great that you are showing the interests on this task, if you got any any questions, just put it here. I will try to give you the support as I can.

hello @eyehwan and @sgoggins, Thank you very much for your guidance.
I'm looking for advice on:

Which Tech Stack should we use?
What are the project's microtasks?

@purna135 Hi Purna, I prefer Grimoirelab, that I am more familiar with , it also means that I could give more support from technical poit of view. But if you prefer Augur, it is fine, then @sgoggins would give you the support.
About project's microtasks, @sgoggins  could you give some hints on it?
BR//Yehui.

Thank you, @eyehwan; now we'll wait for @sgoggins.

@sgoggins Hi I am Shivangi!  I am passionate about this project and I started going through the documentation and I am having a few doubts.

Can you tell me why we are creating the project in python?
Why we can't do development in windows OS for Augur Documentation Inclusivity

Thanks

Hello, @sgoggins and @vchrombie, I'm trying to read the actual code of the hole architecture of grimoirelab, this really slows me down because I can't find some kind of document explaining which repo invokes the others.
I have gone through the grimoirelab docs and I figure out that it's grimoirelab-sirmordred which actually holds the whole program.
Now my question can be summed up as follow:

How to set up a local dev-env of grimoirelab? (AFAIK, the main repo of grimoirelab stores the configs, and the project itself is pulled from docker hub which contains images of other sub-repos. And yes, It's very nice to use the docker-compose for exploration, I've done it long ago.)
Is it correct (for local dev) to set up grimoirelab-sirmordred, which requires me to clone most other sub-repo into some folders (according to Getting-Started.md)

Plz feel free to correct me if I mistake for sth, and your kind further information will help me quite a lot! ♥

Hi @TieWay59, thanks for showing your interest in this GSoC idea and GrimoireLab.

I'm trying to read the actual code of the hole architecture of grimoirelab, this really slows me down because I can't find some kind of document explaining which repo invokes the others.

You can read about the different components in the GrimoireLab toolset in the docs/components/workflow/. You can also learn the step by step scenario of how GrimoireLab works from docs/components/scenarios/. Please let us know if you need more help.

I have gone through the grimoirelab docs and I figure out that it's grimoirelab-sirmordred which actually holds the whole program.

Yes, you are right in a way. SirMordred orchestrates the whole process (collection, enrichment, identities, panels, etc.)

* How to set up a local dev-env of grimoirelab? (AFAIK, the main repo of grimoirelab stores the configs, and the project itself is pulled from docker hub which contains images of other sub-repos. And yes, It's very nice to use the docker-compose for exploration, I've done it long ago.)

Yes, you are right. The docker-compose configurations are present in the main repo. If you want to just use GrimoireLab as user, you can use the docker-compose method which is pretty simple and quick to use.

* Is it correct (for local dev) to set up grimoirelab-sirmordred, which requires me to clone most other sub-repo into some folders (according to [Getting-Started.md](https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md))

You are right, if you are looking to set up GrimoireLab as a developer, you need to check the Getting-Started.md and follow the steps accordingly.

Thanks for your quick response @vchrombie ♥.

Covertion rate has been added as one CHAOSS metric: https://github.com/chaoss/wg-evolution/blob/main/focus-areas/community-growth/conversion-rate.md

Hi Mabel,
Conversion rate has been added as one CHAOSS metric:
https://github.com/chaoss/wg-evolution/blob/main/focus-areas/community-growth/conversion-rate.md,
here are some definitions of different roles of conversion rate.
BR//Yehui
On Thu, Apr 7, 2022 at 4:22 PM Mabel @.***> wrote:

Hi @sgoggins https://github.com/sgoggins or @germonprez
https://github.com/germonprez - I'm seeking some clarification on the
statement above in order to flesh out the conversion rate calculation:
"Identify casual, regular, and core contributors" - specifically the
definition of "casual" contributors for a typical open source software
community? I don't find it in the metrics definitions although I did find
"occasional contributors". Is "casual" the same as "occasional" (as seen in
the Occasional Contributors metric)?
Also, how about the differences between "regular" vs. "sustained" vs.
"repeat" (I saw this term in the community reports) definitions? How much
do they overlap? My thinking is regular and repeat are similar in
definition, but I need some more info on the difference between regular &
sustained. I'm also thinking core contributors might be by definition
always considered sustained.
Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/chaoss/community/issues/305#issuecomment-1091289497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALW6DC63PXMXJ5BWJBAOSTVD2LNBANCNFSM5PRVOT7A
.
You are receiving this because you were mentioned.Message ID:
@.***>

@mabelbot
Hi Mabel,
Union and conversion rate are related, but not exactly same.
Union is used to describe current contributors distribution status upon contribution amount, percentage of roles is used to evaluate the robustness of the community. One example is bus factor: https://github.com/chaoss/wg-risk/blob/main/focus-areas/business-risk/bus-factor.md, also there are two papers( related to pareto principle ) :

Revisiting the applicability of the pareto principle to core development teams in open source software projects
A Health Index of Open Source Projects Focusing on Pareto Distribution of Developer's Contribution

Conversion rate is used to descibe the community's ability to attract and retain contributors. It is very common for people to come in community because of some event and then disappear within a month, like running water in a stream. How to make running water stored in a reservoirs？Coversion rate is a proxy metric for that capability. There are also some papers related to it, for exmaple:
Sustainability of Open Source software communities beyond a fork: How and why has the LibreOffice project evolved?
Hoping it will help.
BR//Yehui.

Congrats to @mabelbot @TieWay59 for getting selected for this project! :tada:
We appreciate the efforts of the other applicants too, who worked really hard on the applications and microtasks. We would love to see you around, contributing to CHAOSS. Please feel free to reach out to us in case you have any concerns.


Fix Style/RedundantCondition cop error on parentheses and modifier if

echo 's ? s : (s.succ unless $VERBOSE)' | rubocop --stdin /bin/true --only Style/RedundantCondition -d

An error occurred while Style/RedundantCondition cop was inspecting /bin/true:1:0.
undefined method `line' for nil
lib/rubocop/cop/mixin/comments_help.rb:88:in `find_end_line'
lib/rubocop/cop/mixin/comments_help.rb:22:in `comments_in_range'
lib/rubocop/cop/mixin/comments_help.rb:15:in `contains_comments?'

Since I had to patch global CommentHelper to fix the bug I tried to keep it somewhat local so it does not break something accidentally.

Before submitting the PR make sure the following are checked:

[X] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[X] Wrote good commit messages.
[X] Commit message starts with [Fix #issue-number] (if the related issue exists).
[X] Feature branch is up-to-date with master (if not - rebase it).
[X] Squashed related commits together.
[X] Added tests.
[X] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[X] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Build Error

When attempting to build the app, the following error is thrown:
Attempted import error: 'OIDCProvider' is not exported from '@facilelogin/oidc-react'.
I've tried digging through the package (in node_modules) but I'm not seasoned enough to know how to resolve this

I am seeing this as well. Have you found a workaround?

It looks like they really meant: Auth0Provider, replace the 3 instances of OIDCProvider  in the sample code with Auth0Provider


CRDs are unable to be created "resource not found"

The crd manifests themselves are created. kubectl apply -f and kustomize build all work correctly. It just seems that kustomization is unable to find the correct resource version though they are correctly defined.
Error: github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceCreate: apiVersion: "cilium.io/v2", kind: "CiliumClusterwideNetworkPolicy", namespace: "kube-system" name: "default": timed out waiting for apiVersion: "cilium.io/v2", kind: "CiliumClusterwideNetworkPolicy" to exist: couldn't find resource (21 retries)

  on bootstrap.tf line 79, in resource "kustomization_resource" "p1":
  79: resource "kustomization_resource" "p1" {

Error: github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceCreate: apiVersion: "cert-manager.io/v1alpha2", kind: "ClusterIssuer", namespace: "infra" name: "letsencrypt-staging": create failed: the server could not find the requested resource

  on bootstrap.tf line 79, in resource "kustomization_resource" "p1":
  79: resource "kustomization_resource" "p1" {

Error: github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceCreate: apiVersion: "cert-manager.io/v1alpha2", kind: "ClusterIssuer", namespace: "infra" name: "letsencrypt-production": create failed: the server could not find the requested resource

  on bootstrap.tf line 79, in resource "kustomization_resource" "p1":
  79: resource "kustomization_resource" "p1" {

Error: github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceCreate: apiVersion: "constraints.gatekeeper.sh/v1beta1", kind: "K8sRequiredLabels", namespace: "" name: "ns-must-have-owner": timed out waiting for apiVersion: "constraints.gatekeeper.sh/v1beta1", kind: "K8sRequiredLabels" to exist: couldn't find resource (21 retries)

  on bootstrap.tf line 79, in resource "kustomization_resource" "p1":
  79: resource "kustomization_resource" "p1" {

ClusterIssuers are not namespace scoped. I'm assuming the same to be true for CiliumClusterwideNetworkPolicy. Long story short, unlike kubectl this provider does not fix mistakes in the manifests. Namespace scoped resources have to specify a namespace. Resources that are not namespaced scoped, may not define a namespace.
I understand the returned error is not particularly helpful. I haven't found a better solution yet, I'm open for suggestions in form of a pull request.
If after fixing this, you still encounter errors check the explicit depends on example and explanation: https://registry.terraform.io/providers/kbst/kustomization/latest/docs/resources/resource#explicit-depends_on-example

Hi there are no namespaces defined though. In fact my example is the same as you do in testing: https://github.com/kbst/terraform-provider-kustomization/blob/a53737d8b4005a7bdeb360d19c6ec94243c187a0/kustomize/test_kustomizations/crd/initial/co.yaml#L8
What I don't understand is what the difference is between your test-case and mine?
kind: ConstraintTemplate
metadata:
  name: k8srequiredlabels
spec:
  crd:
    spec:
      names:
        kind: K8sRequiredLabels
      validation:
        # Schema for the `parameters` field
        openAPIV3Schema:
          properties:
            labels:
              type: array
              items: string
  targets:
    - target: admission.k8s.gatekeeper.sh
      rego: |
        package k8srequiredlabels

        violation[{"msg": msg, "details": {"missing_labels": missing}}] {
          provided := {label | input.review.object.metadata.labels[label]}
          required := {label | label := input.parameters.labels[_]}
          missing := required - provided
          count(missing) > 0
          msg := sprintf("you must provide labels: %v", [missing])
        }

oh boy you are right.. we add a namespace during kustomize with namespace! thanks for the help and thank you for your time!


Unreact can have no visual effect

If you remove a reaction after an initial sync, the UI still show you that you made this reaction.
This is a SDK bug where there is two sources of truth for aggregated data. The one from the original event and the one from the aggregation DB.
If the aggregation DB is empty, which is the case after the unreact, we look at the original event data.

Related SDK test: testUnreactAfterInitialSync