Failed to bypass, returning failure

Error:
2023-12-31T15:24:39.491150+0000 Headless Mode detected
2023-12-31T15:24:40.705166+0000 Headless mode driver initialized
2023-12-31T15:24:40.709029+0000 Collected userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
2023-12-31T15:24:41.774868+0000 Driver initialized
2023-12-31T15:24:47.040430+0000 Just a moment...
2023-12-31T15:24:47.040547+0000 Bypass mode enabled: True
2023-12-31T15:24:47.054935+0000 Finding element: ('tag name', 'body')
2023-12-31T15:24:50.080783+0000 Finding element: ('tag name', 'body')
2023-12-31T15:24:53.156033+0000 Finding element: ('tag name', 'body')
2023-12-31T15:24:58.254653+0000 Click bypass Timeout
2023-12-31T15:24:58.258023+0000 Scanning windows
2023-12-31T15:24:58.261764+0000 cur: Just a moment...
2023-12-31T15:24:58.262590+0000 Waiting for cloudflare...
2023-12-31T15:24:59.266377+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:05.567839+0000 Click bypass Timeout
2023-12-31T15:25:05.570271+0000 Scanning windows
2023-12-31T15:25:05.575760+0000 cur: Just a moment...
2023-12-31T15:25:05.576709+0000 Waiting for cloudflare...
2023-12-31T15:25:06.579766+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:11.670999+0000 Click bypass Timeout
2023-12-31T15:25:11.673962+0000 Scanning windows
2023-12-31T15:25:11.678092+0000 cur: Just a moment...
2023-12-31T15:25:11.678805+0000 Waiting for cloudflare...
2023-12-31T15:25:12.682452+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:18.795810+0000 Click bypass Timeout
2023-12-31T15:25:18.799366+0000 Scanning windows
2023-12-31T15:25:18.804430+0000 cur: Just a moment...
2023-12-31T15:25:18.805235+0000 Waiting for cloudflare...
2023-12-31T15:25:19.808491+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:24.903002+0000 Click bypass Timeout
2023-12-31T15:25:24.906131+0000 Scanning windows
2023-12-31T15:25:24.911581+0000 cur: Just a moment...
2023-12-31T15:25:24.912451+0000 Waiting for cloudflare...
2023-12-31T15:25:25.916437+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:31.008763+0000 Click bypass Timeout
2023-12-31T15:25:31.011298+0000 Scanning windows
2023-12-31T15:25:31.015379+0000 cur: Just a moment...
2023-12-31T15:25:31.016112+0000 Waiting for cloudflare...
2023-12-31T15:25:32.019670+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:37.103373+0000 Click bypass Timeout
2023-12-31T15:25:37.106214+0000 Scanning windows
2023-12-31T15:25:37.110343+0000 cur: Just a moment...
2023-12-31T15:25:37.111061+0000 Waiting for cloudflare...
2023-12-31T15:25:38.115086+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:43.318887+0000 Click bypass Timeout
2023-12-31T15:25:43.322045+0000 Scanning windows
2023-12-31T15:25:43.327979+0000 cur: Just a moment...
2023-12-31T15:25:43.329089+0000 Waiting for cloudflare...
2023-12-31T15:25:44.333311+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:49.442753+0000 Click bypass Timeout
2023-12-31T15:25:49.446107+0000 Scanning windows
2023-12-31T15:25:49.449823+0000 cur: Just a moment...
2023-12-31T15:25:49.450550+0000 Waiting for cloudflare...
2023-12-31T15:25:50.455736+0000 Finding element: ('tag name', 'body')
2023-12-31T15:25:55.546990+0000 Click bypass Timeout
2023-12-31T15:25:55.550634+0000 Scanning windows
2023-12-31T15:25:55.554963+0000 cur: Just a moment...
2023-12-31T15:25:55.555665+0000 Waiting for cloudflare...
2023-12-31T15:25:56.556848+0000 Failed to bypass, returning failure

This is my code:
import CFSession
from CFSession import cfDirectory, Options, cf, cfSession, cfCookieHandler, Proxy
import os

cf.DEBUG = True
if __name__ == "__main__":
    dir = cfDirectory(cache_path="cache", session_name=("cookie.json","ua.json"))
    pro = Proxy({'https':'http://proxy'},resolve_by_proxy=True)
    opt = Options(proxy=pro,headless=True, ignore_cert_errors=True)
    with CFSession.cfSession(options=opt, directory=dir) as session:
        res = session.get("targeturl")
        print(res.content)

When i tried the proxy from browser it's successful

Proxies has been really tricky to work with as they significantly reduce the bypass rates (Bad IP rep, high latency, slow proxies). In my test I used a VPS using danted to self-host a socks5 proxy, and it was pretty successful with some couple of failures although it resulted in a 2 failures on 10 test attempts which is roughly 80% success rates.
(disabling headless mode also helps).
Can't really do much but increase the attempts of bypass with cfSession(tries=<number of tries>).
and use this setup to further increase the odds Proxy({'https':'http://proxy', 'http:"http://proxy"}

Is it possible to configure the timeout time during the bypass process?

@Kinuseka I have this problem as well if I run it on production, locally it works fine. Why it can be that?

Can you tell me what is exactly do you mean by production and local?
The success rate is also determined by your IP reputation.
When it loops like that it means that it never passes the Cloudflare challenge.
headless-mode can also influence the success rate and if so then please disable that and use this method on the documentation
proxies can also influence the success rate, according to my tests using no proxies significantly increases the chances of being able to pass through cloudflare.


mysql branch

could you create a mysql branch so I can do a pull request from https://github.com/lastlink/jwt-spring-security-demo/tree/mysql.
Main reason as the minor changes break h2 memory database support.

@lastlink I think, I don't want to maintenance two branches in the future. The scope of this project doesn't lie in implementations for specific databases. I just want to study how JWT can be used and configured for Spring Boot and Spring Security in general. It's more a kind of template that other people can adapt for their requirements. I hope this is understandable ;)
Do you have interesting changes, that are not MySQL-related?

this change was specifically for bringing in the mysql support. I suppose it could be just commenting out the dependency in the xml pom file & everything will still work being able to just uncomment to start using mysql.


Make write timeout configurable

Make the write timeout (defined as "the maximum amount of time to wait for a panic to be written to output before handling the panic") configurable.

We need to update the test helper resetHandlers() to restore the default WriteTimeout (we reset all globals at the start of each test):
Let's add it before SetOutput(nil):
https://github.com/charlievieth/panics/blob/e18839390df8a8e431b61fb8d227f75d8123fb3f/panics_test.go#L65

@ramasai1 lets add this test to your PR then we're good to go:
func TestHandlePanicNoWriteTimeout(t *testing.T) {
	testSetup(t)

	const delay = 10 * time.Millisecond

	WriteTimeout(-1) // Wait for the write to complete

	ops := make(chan string, 4)
	SetOutput(WriterFunc(func(p []byte) {
		ops <- "write: start"
		time.Sleep(delay)
		ops <- "write: complete"
	}))

	ch := testNotify(t)
	go func() {
		defer func() {
			ops <- "capture: complete"
			close(ops)
		}()
		Capture(func() {
			ops <- "capture: start"
			panic(testErr)
		})
	}()

	start := time.Now()
	select {
	case <-ch:
		if d := time.Since(start); d < delay {
			t.Fatalf("Capture returned before write completed: %s", d)
		}
	case now := <-time.After(delay * 5):
		t.Fatal("timed out after:", now.Sub(start))
	}

	want := []string{
		"capture: start",
		"write: start",
		"write: complete",
		"capture: complete",
	}
	var got []string
	if n := len(ops); n != len(want) {
		t.Fatalf("expected %d ops; got: %d", len(want), n)
	}
	for s := range ops {
		got = append(got, s)
	}
	if !reflect.DeepEqual(got, want) {
		t.Fatalf("invalid order of ops: %q; want: %q", got, want)
	}
}

Note: I hacked up the test in https://github.com/charlievieth/panics/pull/1#issuecomment-1901755844 pretty quickly so please give it a review / let me know if it missed anything


Process explorer flickers when updating and prevents hover

The process explorer seems to replace its entire HTML content every second resulting in:

flicker
you cannot hover over an item to see the command line because hover goes away

Can we switch to a model where only the text inside each cell is updated, but the HTML structure otherwise left as is?

Closing as a duplicate of https://github.com/microsoft/vscode/issues/104013


Name for Interactive #1

It would be clear if I can name the tab

Thanks for the suggestion.
If you use a # %% comment to start the interactive window, it will name it automatically like so:

If that doesn't work, how would you like to name it?
I can think of two ways that would be possible:

A command that allows you to rename it. It brings up a quick pick like so:

A default name for all interactive windows you set in the settings.json

"jupyter.interactiveWindow.prefix": "Interactive "
```

Thanks for the suggestion.
If you use a # %% comment to start the interactive window, it will name it automatically like so:

If that doesn't work, how would you like to name it?
I can think of two ways that would be possible:

A command that allows you to rename it. It brings up a quick pick like so:

A default name for all interactive windows you set in the settings.json

"jupyter.interactiveWindow.prefix": "Interactive "
```

Option 1 would be nice
Yes, I`m using # %% in a  named file, but it starts as Interactive #1.
Is it because I enable multiple interactive window?

Option 1 would be nice
Yes, I`m using # %% in a  named file, but it starts as Interactive #1.
Is it because I enable multiple interactive window?

Yes sorry didn't remember that 'perFile' is required for it to name the interactive window with the file name.

Yes sorry didn't remember that 'perFile' is required for it to name the interactive window with the file name.

closing for lack of votes


remove --log-dir from runner

The example tf-cnn-benchmark runner has a required --log-dir argument, this is not user friendly as it requires user to change their custom runner codes. We can remove this argument, and maybe provide a environment variable pointing to the auto mounted volume instead.

/priority p2

This has been addressed.


WFLY-19591 Upgrade SmallRye OpenAPI to 4.0.4.

https://issues.redhat.com/browse/WFLY-19591

@pferraro Please change the target of this PR to 'main'. The mp-7-wip branch has been merged.

Closing to rebase on main.


Confused by num_hits

I've been trying to understand the meaning of num_hits as it relates (if at all) to num_matches. I understand now that when I get an alert, the num_hits is pretty meaningless as it only says what were the number of hits for the latest query.
But what I don't understand is how, for a given timeframe, say 2021-11-29 22:06 UTC and 2021-11-29 22:16 UTC, reported num_hits is 121, while directly viewing the data in Kibana shows 89 hits. As I understand, hits refers to documents retrieved in a single query, so how can this be possible? from what I gather, num_hits should be at most 89 in this case, but I wouldn't be surprised if I'm wrong.
For reference/context I'm attaching some properties of my rule:
type: frequency
timeframe:
  minutes: 10
num_events: 1
use_count_query: true
doc_type: logs
top_count_keys: ["some_attr"]
top_count_number: 100

Please do not write an issue as this repository is dead.


docs: Added missing cosine declaration

Added missing cosine declaration to code listing that already included
imports for dot and norm function it uses.

Signed-off-by: mr.Shu<EMAIL_ADDRESS>
@honnibal Thanks a ton for a great library!
While reading the index document I kind of skipped the previous declarations of cosine. It seemed strange not to find them here since the imports were already in place.

Thanks!

@honnibal may I ask why did you just close this and the other pull request? Especially with this one I thought you'd be inclined to merge it in. Is there something wrong with it?

Argh. I was supposed to merge. I thought I'd merged it, and then I also
needed to close it.
On Mon, Jan 26, 2015 at 4:25 AM, Marek Šuppa<EMAIL_ADDRESS>wrote:

@honnibal https://github.com/honnibal may I ask why did you just close
this and the other pull request? Especially with this one I thought you'd
be inclined to merge it in. Is there something wrong with it?
—
Reply to this email directly or view it on GitHub
https://github.com/honnibal/spaCy/pull/3#issuecomment-71382133.


Unexported field error typo fix

Fixed typo in unexported field error message: Flied -> Feild

Coverage remained the same at 89.628% when pulling a48f4d216d445bbace7a6ce0da4e16d49cbec542 on unixblackhole:unexported-field-error-typo-fix into f90a5e0dd64a1186a25434af077ac83acf710daf on containous:master.

Oops :speak_no_evil:
Thank you @unixblackhole :angel:
LGTM :smile:


Replace Identifier with Product

Fixes https://github.com/dstansby/sunpy-soar/issues/12

Codecov Report

Merging #19 (e96ff58) into main (93a3683) will increase coverage by 0.38%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   96.52%   96.91%   +0.38%
==========================================
  Files           4        4
  Lines         144      162      +18
==========================================
+ Hits          139      157      +18
  Misses          5        5

Impacted Files
Coverage Δ

sunpy_soar/attrs.py
88.63% <100.00%> (+1.79%)
:arrow_up:

sunpy_soar/client.py
100.00% <100.00%> (ø)

sunpy_soar/tests/test_sunpy_soar.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


openssl cms -sign/-verify do not handle binary input properly (including DER)

The binary input is copied to signedData.encapContentInfo.eContent only up to the first octet equal to zero, the rest gets lost. The -binary flag has no effect on this.
Sample command line:
```
$ openssl version
OpenSSL 1.0.2r  26 Feb 2019
$ alias _dd="dd if=/dev/random count=1 2>/dev/null"
$ alias _sign="openssl cms -sign -md sha256 -signer cert.pem -inkey key.pem"
$ alias _verify="openssl cms -verify -CAfile ca.pem 2>/dev/null"
$ for _i in {1..3}; do _dd bs=512 | _sign | _verify | wc -c; done
     351
      36
     244
$
```

DESCRIPTION
The cms command handles S/MIME v3.1 mail. It can encrypt, decrypt, sign
and verify, compress and uncompress S/MIME messages.

Well,

The cms(1) manpage states that openssl cms might as well be used with DER-encoded messages, and the -encrypt command actually produces such messages if invoked with an -outform DER argument. A DER-encoded message would always contain zeros.

As a matter of fact, the same behaviour reproduces if you supply cms -sign with an output of cms -encrypt -outform DER.

Even if cms -sign could only process S/MIME format, the right way to implement that is probably to check if the input is, in fact, S/MIME, and to fail otherwise. Not to silently generate a truncated response which would then result in cryptic error messages when supplied as an input to cms -verify (as it is now).

           this specifies the input format for the CMS structure. The default
           is SMIME which reads an S/MIME format message. PEM and DER format
           change this to expect PEM and DER format CMS structures instead.
           This currently only affects the input format of the CMS structure,
           if no CMS structure is being input (for example with -encrypt or
           -sign) this option has no effect.

I agree that verifying format will be a good idea.

Fine. I will leave the issue open for now in case checking the input would be treated necessary later.

The error report itself is flawed.
Piping random binary data, as done in the given example easily yields to truncation already the the shell level.
Therefore already the input to openssl cms went wrong.

Here is a better example:
dd 2>/dev/null if=/dev/zero count=1 bs=512 of=zeros.bin
openssl cms -sign -md sha256 -signer test/certs/p384-root.pem -inkey test/certs/p384-root-key.pem -in zeros.bin -out zeros.signed.bin
openssl cms -verify -CAfile test/certs/p384-root.pem 2>/dev/null -in zeros.signed.bin -out zeros.verified.bin
ls -l zeros.*

which yields
-rw-r--r-- 1 david david  512 Sep 22 12:27 zeros.bin
-rw-r--r-- 1 david david 1689 Sep 22 12:27 zeros.signed.bin
-rw-r--r-- 1 david david    0 Sep 22 12:27 zeros.verified.bin

So what actually gets truncated by OpenSSL is the binary output of openssl cms -verify as soon as a zero byte is present.

It turns out that this 'bug' is due to insufficient usage of CMS CLI options,
also due to poor documentation and user guidance regarding binary input.
One needs to add binary -outform der or -binary -outform pem to the sign call
and -binary -inform der -content text_zeros.bin or  -binary -inform der -content text_zeros.bin to the verify call:
openssl cms -sign -md sha256 -signer test/certs/p384-root.pem -inkey test/certs/p384-root-key.pem -in text_zeros.bin -out text_zeros.signed.bin -binary -outform der
openssl cms -verify -CAfile test/certs/p384-root.pem -in text_zeros.signed.bin -out text_zeros.verified.bin -binary -inform der -content text_zeros.bin

Then it works as expected:
Verification successful
-rw-r--r-- 1 david david   10 Sep 22 15:09 text_zeros.bin
-rw-r--r-- 1 david david 1269 Sep 22 15:09 text_zeros.signed.bin
-rw-r--r-- 1 david david   10 Sep 22 15:09 text_zeros.verified.bin

Actually it should be possible to use binary input simply with -binary but without -outform der or -outform pem.
I'll provide a fix for that,
also improving the documentation and adding a warning in case the -binary option should have been used.

Fix provided in #12959.
Thanks @ximaera for reporting this issue and leaving it open until this is (hopefully) sorted out now.

Should finally be fixed now :smile:


Tests and linting

Resolves https://github.com/lukechilds/onionoo-node-client/issues/3

Changes Unknown when pulling 9be56b3164f1963fba002322e9147c7cc33a1238 on tests into ** on master**.

Changes Unknown when pulling 28f4203ffb3dab7deff797aa45d8e579487462d1 on tests into ** on master**.

Changes Unknown when pulling 473e52f057d5c07a47013f7bc66aefcc3f6ec3df on tests into ** on master**.

Changes Unknown when pulling 1324b2d99c467359ab2ac975fa418f7615693136 on tests into ** on master**.

Changes Unknown when pulling d7b541e1721669b0e6ec4c4fdc849d9869b6a99e on tests into ** on master**.

Changes Unknown when pulling 21b89318ba0eff858beaead97cb61de63aedc9b7 on tests into ** on master**.


Adding a GPUParticles3D programmatically does not work as expected

Godot version
4.1 dev 3
System information
Windows 11 Pro, Processor	Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz   2.59 GHz Installed RAM	16.0 GB (15.8 GB usable) Device ID	B0DAAC34-BB15-4A0C-9366-F05D4280FC30 Product ID	00330-53817-11120-AAOEM System type	64-bit operating system, x64-based processor Pen and touch	Pen support
Issue description
I have a project that involves adding a GPUParticles3D at runtime. For some reason, when I create the mesh, attach the script, and set the parameters via code, but create the GPUParticles3D node manually beforehand (no parameters were adjusted), the particle system performs as expected and spawns a mesh at each position; however, when I spawn the GPUParticles3D via code as the child of another Node3D, it doesn't do what I want (spawn a mesh at each input position). I have also tried adding an editor-generated GPUParticles3D with the code as the child of a blank Node3D and that works. I tried replacing parts of the code, such as where the material/shader/textures/mesh are set, with saved resources, and it still performs like this.
Steps to reproduce

Create a GPUParticles3D
Create a node3D and write code to generate a GPUParticles3D as a child of that node
Write code to generate meshes/shaders/textures/materials for both
Write a process material shader like the one in the example

The minimum reproduction project should have this done.
Minimal reproduction project
proj_copy.zip

In your main script you are creating the particles, but never adding them to the scene, actually adding the particles to the scene makes it appear as it should
Please consult the other community channels if you are unsure if something is a bug or you have an error in your code (like this case)

Hi there! I did post on the Godot Discord and a few other places but received no response, so thank you for your reply! I did indeed forget to write "add_child(particles)" in Test2.gd; however, it seems that even with this addition, it is only rendering one of the particles. Attached is a screenshot of what I am getting after adding add_child(particles) vs. what I expect:
Result after adding add_child:

Result I want, which I am getting from the GPUParticles3D:

Thank you so much for your help! It is very much appreciated

Worked for me so not sure what's wrong

Worked for me so not sure what's wrong

Odd, must be something weird on my end. I'm not sure why none of the other PlaneMeshes are displaying as they should

This is not a platform to come to for project support. This space is reserved for bug reports only.
As AThousandShips has already pointed out the error in your code and directed you to the community channels, I will be closing this issue.
In the future, please only create a bug report for reporting a bug in the engine, do not open a bug report to receive help with your project.


Challenge:Uncomment HTML

Can't seem to pass the lesson after deleting all trailing comments.  Is there something specific I'm missing?

Hello World

CatPhotoApp

Hello Paragraph

You still have a comment (which includes the closing tag) at the top of the page. Remove that and the tests will pass.
Closing as not an issue with the tests. In the future please ask for help in the Gitter Help Channel before filing a bug.
Thanks and happy coding!


CAMEL-12931 - Upgrade jBPM component to use 7 series with consumer ca…

…pability to react to produced events by jBPM

@oscerd thanks for pointing that out, will look into it directly and update PR once done

Thanks for your contribution!

@oscerd features updated and verified with CamelJbpmTest

Awesome! I'll merge this afternoon, thanks a lot for this!

excellent, will work on a blog article about this. Any plans to have release v2.23?

You're just in time, we'll start the cut of 2.23.0 next weekend probably :-)

Thanks this has been merged.

Can you please take a look also at the camelJbpmTest in camel-itest-spring-boot? Thanks for your time. It can be part of a different PR. I'm closing this one. Thanks again @mswiderski


Unable to have more than one css type in a blazor component

For example, for the Counter component, for class, if I enter "btn and space
then when i choose btn-primary and choose it, the btn disappears.
However, if I enter btn-primary then move my cursor to the beginning and type btn to choose, then the btn-primary disappears.
This does not happen when using standard inputs like <input class
Are there plans to fix the intellisense so even if you have a custom component and you use classes, then the intellisense will work the same and allow multiple css classes to be chosen for a component and not just for an html control.

@jimmylewis @ToddGrun is this a TextEdit from your side?

I've just submitted a fix for this, which is sitting in the 17.1 Preview 3 train.  Progress (i.e. release announcement) can also be followed at https://developercommunity.visualstudio.com/t/Css-Classes-in-CShtml-files-have-problem/1560328.


Is there a plan to support play 2.8.0

I tried, but get an error:
error] D:\Projekte\EstimationControl\conf\routes:130:1: type CallbackController is not a member of package org.pac4j.play
[error] GET         /callback                   @org.pac4j.play.CallbackController.callback()

Yes, we will support Play 2.8.0, but I'm not sure when. Are you sure your error is related to Play v2.8.0? It seems strange...

we have an issue when using this with Play Java v2.8.0, since Play Java delete the deprecated API of play.mvc.Http.Context and related API, when we create org.pac4j.play.PlayWebContext object, it throws a ClassNotFoundException

I made a pr that upgrades this project to pac4j v4 #267
Hope it helps in the upgrade process.

play-pac4j v9 which is based on Play 2.7 and pac4j v4 has been cleaned from the deprecated Http.context class: it should work for Play 2.8. Can you give it a try? Thanks

play-pac4j v9 which is based on Play 2.7 and pac4j v4 has been cleaned from the deprecated Http.context class: it should work for Play 2.8. Can you give it a try? Thanks

I am seeing AnonymousProfile in my list of profiles. The comment say that pac4j tries to omit this profile from the list, and it has in previous versions. Is the AnonymousProfile there on purpose now?

The code has been moved to ProfileHelper.flatIntoOneProfile on which the ProfileManager.get relies.
The AnonymousProfile should be there if it's the only profile. Otherwise, it will be omitted.

The code has been moved to ProfileHelper.flatIntoOneProfile on which the ProfileManager.get relies.
The AnonymousProfile should be there if it's the only profile. Otherwise, it will be omitted.
Aha. In my application, it is the only profile, when the other clients i configured cannot resolve to a profile, is this what you mean with the only profile? Or do you mean that is has to be the only Client aswell?

Yes, one profile, not one client. There was a reason behind that, but I can't remember it.
You can override the ProfileManager with a new one and set it via Config.defaultProfileManagerFactory. I don't think this is a good idea though. You should certainly find another way.

is play-pac4j v9 is available? I cannot see it in releases.

Not yet. I plan the release at the end of this week or at the beginning of next week.
Currently, you need to add the Sonatype snapshots repository to get the play-pac4j v9.0.0-RC3-SNAPSHOT.

play-pac4j v9 for Play 2.7 and play-pac4j v10 for Play 2.8 have been released.


Change select option value

I am trying to scrape a site using splash, and at some point  it is needed to change a select dropdown value and also to trigger the change event.
I have tried to do this in two ways with no success:

by using element.mouse_click() - which I couldn't even open the select

by using element:form_values

This second way gave me some results but only when I used {values='list'} as parameter, which allowed me to change only the first element found in the Dom
 local forms = splash:select('#step2form')    local formValues =  assert(forms:form_values{values='first'}) formValues .muntinBarType = 'my value'   assert(forms:fill(formValues))
The problem is that on some pages I need to control many select(s) that share the same name (muntinBarType) and so I must change the values parameter:
 local formValues =  assert(forms:form_values{values='auto'})
The formValues looks like this:
  formValues: Object 	handle: "hasper" 	height: Array[4] 		0: "string:98.0" 		1: "98.0" 		2: "49.0" 		3: "49.0" 	muntinBarType: Array[2] 		0: "string:no" 		1: "string:no"
And, in this case, the  forms:fill(formValues) return this error:
{     "info": {         "message": "Lua error: [string \"function main(splash, args)\r...\"]:12: LuaError('cannot change a protected metatable',)",         "error": "LuaError('cannot change a protected metatable',)",         "line_number": 12,         "type": "LUA_ERROR",         "source": "[string \"function main(splash, args)\r...\"]"     },     "error": 400,     "type": "ScriptError",     "description": "Error happened while executing Lua script" }
An ex. of page is:
https://www.tindevindu.no/vinduer/kombinasjonsvindu/1/2/#/48/98/0-0-sidehengslet/0-1-sidehengslet

I used to be able to change the select value with:

click the select
splash:send_keys("<Down>")
splash:send_keys("<Enter>")

my practice:

click the select
splash:send_text("text")(text is the option value you want to select)
splash:send_keys("")

so it worked! many thank for Lucy Wang!


(Fix) Service desired count description

Currently the description for service_desired_count implies that
multiple services will be created, where in reality it's the number of
tasks that will be launched into the service
https://www.terraform.io/docs/providers/aws/r/ecs_service.html#desired_count

Should probably update this is the variables.tf too


Fix find-builds -k rpm

Slurping a generator for a second time makes one inhale nothingness rather than
consume content. With this change, rpms will be attached to the advisory.

Codecov Report

Merging #195 (0b70d4f) into master (781aa79) will increase coverage by 23.28%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #195       +/-   ##
===========================================
+ Coverage        0   23.28%   +23.28%
===========================================
  Files           0       44       +44
  Lines           0     3757     +3757
  Branches        0      762      +762
===========================================
+ Hits            0      875      +875
- Misses          0     2851     +2851
- Partials        0       31       +31

Impacted Files
Coverage Δ

elliottlib/cli/find_builds_cli.py
32.03% <0.00%> (ø)

elliottlib/attach_cve_flaws.py
0.00% <0.00%> (ø)

elliottlib/cli/advisory_drop_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/rpmdiff_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/change_state_cli.py
0.00% <0.00%> (ø)

elliottlib/tarball_sources.py
32.96% <0.00%> (ø)

elliottlib/openshiftclient.py
16.66% <0.00%> (ø)

elliottlib/resultsdb.py
0.00% <0.00%> (ø)

elliottlib/cli/tarball_sources_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/verify_attached_bugs_cli.py
0.00% <0.00%> (ø)

... and 35 more

Continue to review full report at Codecov.

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


Do you have an imported method for shaders from shadertoy.com?

Do you have an imported method for shaders from shadertoy.com in Godot?
This can be a good tutorial ...

Hi! Thanks for reaching out ;) I'm not sure what method do you have in mind ... Is there some API that the website provides? Or do you mean just uploading the shaders from this repo to shadertoy?

Closing due to inactivity ;)


About DoReFa-Net

How did you get the FLOPs about DoReFa-Net, 4694M？ What is the calculating rule？

Hi! Thank you for your interest in our work. All the FLOPs and #Params in our paper is calculated by a PyTorch package called pytorch-OpCounter. You can easily use it to get the results we reported in the paper. BTW, in order to calculate for DoReFa-Net (and also TWN), you need to register custom layers and define their FLOPs as described in their README file. Since we use 4-bit quantization for both network weights and activations, we simply define the FLOPs for a DoReFa-Conv layer to be 1/8 of a full-precision Conv layer.


PR for #98 - Add a new object type of CloudService

Fixes #98

Closing this, instead merging it into #97


host of the symbiont disease status - for Symbiont-associated (SA) package

New term details
Term name - host of the symbiont disease status
Structured comment name -symb_host_disease
Definition - List of diseases with which the host of the symbiotic organism has been diagnosed; can include multiple diagnoses. The value of the field depends on host; for humans the terms should be chosen from the DO (Human Disease Ontology) at https://www.disease-ontology.org, non-human host diseases are free text.
Expected value - disease name or Disease Ontology term
Value syntax - {termLabel} {[termID]}|{text}
Example - rabies [DOID:11260]
Packages(s) - symbiont-assiociated
Already assigned MIXS ID - MIXS:0001319

Additional context
Term created as part of Symbiont associated package.

Update as per agreed-upon pattern.
Term name - host of the symbiotic host disease status
Structured comment name - host_of_host_disease
Definition - List of diseases with which the host of the symbiotic host organism has been diagnosed; can include multiple diagnoses. The value of the field depends on host; for humans the terms should be chosen from the DO (Human Disease Ontology) at https://www.disease-ontology.org, non-human host diseases are free text.
Expected value - disease name or Disease Ontology term
Value syntax - {termLabel} {[termID]}|{text}
Example - rabies [DOID:11260]
Packages(s) - symbiont-assiociated
Already assigned MIXS ID - MIXS:0001319

spreadsheet updated

Confirmed in MIxS v6 Term Updates sheet and included in v6 update log


SQL dependencies do not work with Microsoft.Data.SqlClient in 2.11 with ASP.NET MVC 5 app

If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps

Create a new ASP.NET MVC 5 application running on .NET Framework 4.7.2
Add Application Insights using Visual Studio
Add a NuGet reference to Microsoft.Data.SqlClient
Add a NuGet reference to Dapper (optional, just used here for simplicity)
Trigger the following code to run, for example in the Index action on the HomeController (add your appropriate SQL connection values).

public ActionResult Index()
{
    using(SqlConnection conn = new SqlConnection("Server=localhost;Database=master;Trusted_Connection=True;"))
    {
        string[] names = conn.Query<string>("SELECT name FROM sys.tables").ToArray();
        return View();
    }
}

Actual Behavior
An error can be seen in the Debug output window, with the following information:
ERROR: Exception in Command Processing for EventSource Microsoft-AdoNet-SystemData: Event BeginExecute is givien event ID 2 but 1 was passed to WriteEvent.
Expected Behavior
SQL dependency is properly picked up and reported, without errors.
Version Info
SDK Version : 2.11
.NET Version : .NET Framework 4.7.2
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS : VisualStudio
Hosting Info (IIS/Azure WebApps/ etc) : IIS

Is there any update on this?  I just got done upgrading all of our projects to EF Core.  I didn't realize this was an issue until now.

If you are using Microsoft.Data.SqlClient, you should be fine if you upgrade to the latest release (1.1.0 as of this comment).

This issue was fixed with this PR: https://github.com/dotnet/SqlClient/pull/241


Update go-github to v39

Updates the version of go-github to latest v39 that was recently released. https://github.com/google/go-github/releases/tag/v39.0.0

go.sum should be updated.
You forgot to run go mod tidy, didn't you?

Nice catch! Fixed :)

@wlynch do you mind taking a look when you get a chance? Thanks!

LGTM. Thanks!


perf: Improved performance and reduced memory consumption

Hi. Applying all the same optimizations as here https://github.com/vueform/multiselect/pull/411. In this world, a little optimization never hurt anyone 😅
In addition to the previous PR, the watchers are grouped here to reduce the number of effectScope created. And since we don't need to make all nouislider properties reactive, it's better to leave this job to shallowRef().

These changes would be greatly appreciated as the destroy() function in src/composables/useSlider.js calls slider$.value.off() but slider$.value is sometimes null.


Failed to install 'cordova-plugin-firebasex': Error: pod: Command failed with exit code 1

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines

[x] I confirm this is a suspected bug or issue that will affect other users

[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[x] I have read the documentation thoroughly and it does not help solve my issue.

[x] I have checked that no similar issues (open or closed) already exist.

Current behavior:
i can't install this plugin after the update. i  tried versions of this plugin (15.0.0 - 16.0.0 and 16.1.0) i get always same issue. when i try the repo install on platforms/ios folder  i get this error
CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In snapshot (Podfile.lock):
GTMSessionFetcher/Core (= 1.7.2, ~> 1.1)
In Podfile:
Firebase/Functions (= 10.2.0) was resolved to 10.2.0, which depends on
FirebaseFunctions (~> 10.2.0) was resolved to 10.2.0, which depends on
GTMSessionFetcher/Core (< 4.0, >= 2.1)
GoogleMobileVision/BarcodeDetector (~> 1.1) was resolved to 1.6.0, which depends on
  GoogleMobileVision/Detector (= 1.6.0) was resolved to 1.6.0, which depends on
    GTMSessionFetcher/Core (~> 1.1)

GoogleSignIn (= 6.2.4) was resolved to 6.2.4, which depends on
  GTMSessionFetcher/Core (< 3.0, >= 1.1)

Environment information

Cordova CLI version

cordova -v  12.0.0<EMAIL_ADDRESS>

Cordova platform version

cordova platform ls ios 6.3.0

Plugins & versions installed in project (including this plugin)

cordova plugin ls
cordova-background-geolocation-lt 4.9.3 "BackgroundGeolocation"
cordova-gmv-barcode-scanner 1.3 "cordova-gmv-barcode-scanner"
cordova-open-native-settings 1.5.5 "Native settings"
cordova-plugin-3dtouch 1.3.8 "3D Touch"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
cordova-plugin-app-version 0.1.14 "AppVersion"
cordova-plugin-background-fetch 7.1.2 "CDVBackgroundFetch"
cordova-plugin-bluetooth-peripheral-usage-description 1.0.1 "Bluetooth Peripheral Usage Description"
cordova-plugin-bluetoothle 6.6.2 "Bluetooth LE"
cordova-plugin-camera 6.0.0 "Camera"
cordova-plugin-device 2.1.0 "Device"
cordova-plugin-doze-optimize 0.1.3 "DozeOptimize"
cordova-plugin-file-transfer 2.0.0-dev "File Transfer"
cordova-plugin-file 8.0.0 "File"
cordova-plugin-firebasex 15.0.0 "Google Firebase Plugin"
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-power-optimization 0.0.3 "PowerOptimization"
cordova-plugin-preview-any-file 0.2.9 "Preview Any File"
cordova-plugin-speechrecognition 1.1.2 "Speech Recognition"
cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine"
cordova-plugin-wkwebview-file-xhr 3.1.0 "Cordova WKWebView File XHR Plugin"
cordova-plugin-wkwebview-inject-cookie 1.0.2 "WKWebViewInjectCookie"
cordova-plugin-x-socialsharing 6.0.4 "SocialSharing"
cordova.plugins.diagnostic 6.1.0 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"

Dev machine OS and version, e.g.

OSX

sw_vers

macOs

13.1 (22C65)
-pod -v 1.12.1

Runtime issue

Device details

e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator

OS details

e.g. iOS 12.2, Android 9.0

Android build issue:

Node JS version

node -v

Gradle version

ls platforms/android/.gradle

Target Android SDK version

android:targetSdkVersion in AndroidManifest.xml

Android SDK details

sdkmanager --list | sed -e '/Available Packages/q'

iOS build issue:

Node JS version

node -v v18.17.0

XCode version

Console output

console output

Installing "cordova-plugin-firebasex" for ios
Running command: pod install --verbose
Failed to install 'cordova-plugin-firebasex': Error: pod: Command failed with exit code 1
    at ChildProcess.whenDone (/Users/user/project/node_modules/cordova-common/src/superspawn.js:136:25)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:323:12)

same here

you try again step by step

ionic cordova plugin add cordova-plugin-firebasex —force

npm install @ionic-native/firebase-x --force

Looks like the cordova-gmv-barcode-scanner is requesting a pod which depends on a different version of GTMSessionFetcher pod than the version of the GoogleSignIn pod requested by this plugin.
Use the IOS_GOOGLE_SIGIN_VERSION  plugin variable to specify which version of the GoogleSignIn pod this plugin will request in order to align the GTMSessionFetcher pod version with the other plugin.
Build the example project to validate your build enviroment and confirm this plugin builds correctly in isolation.

I try install with this command :
cordova plugin add cordova-plugin-firebasex --variable IOS_GOOGLE_SIGIN_VERSION=6.1.0
but in Podfile, I have :
pod 'GoogleSignIn, '6.2.4'
How can I ensure that the variable is correctly taken into account during installation?

Looks like the cordova-gmv-barcode-scanner is requesting a pod which depends on a different version of GTMSessionFetcher pod than the version of the GoogleSignIn pod requested by this plugin.
Use the IOS_GOOGLE_SIGIN_VERSION  plugin variable to specify which version of the GoogleSignIn pod this plugin will request in order to align the GTMSessionFetcher pod version with the other plugin.
Build the example project to validate your build enviroment and confirm this plugin builds correctly in isolation.

I try install with this command :
cordova plugin add cordova-plugin-firebasex --variable IOS_GOOGLE_SIGIN_VERSION=6.1.0
but in Podfile, I have :
pod 'GoogleSignIn, '6.2.4'
How can I ensure that the variable is correctly taken into account during installation?


Use custom Session to run migrations

I'm using a custom skunk Session builder to connect to Postgres via Unix Sockets on Google Cloud Run. Dumbo unfortunately doesn't expose a way to run migrations with my own Session, so I'm currently unable to run migrations in production environments.

hi @taig I'll have a think about that, should be doable...
Migrations worked previously by passing a skunk.Session instead of connection config, I changed it because some session configs needed to be set in dumbo like search_path and typer strategy, but those could be set otherwise. The other idea was also not to expose the skunk interface as the underlying database library could potentially be a different one.

Makes perfect sense. Personally, I wouldn't mind a public unsafe method that expects the Session to fulfill the necessary preconditions.

I wouldn't mind a public unsafe method that expects the Session to fulfill the necessary preconditions.

I think it doesn't need to be marked as unsafe. The typer strategy actually doesn't matter for migrations, you should not need to set it to anything else other than BuiltInOnly, but it will also work with the other.
One thing of concern would be the search_path you can set via session parameter. This setting will be relevant when you are working with schemas other than the default one (public) or multiple schemas.
It seems that you can verify and override it after the session was initiated via SHOW / SET command.
I added this step in the PR with a hint in the logs that you may want to pass it as session parameter instead before overriding. Should also be all covered with tests.
Updated the docs with how to use it with a custom session. Feel free to drop any questions or comments in the PR if you have time to go over it. I think I am going to merge it soon.

@rolang Thank you very much for tackling this. I just checked out your PR locally and gave it a try. I couldn't test it in the actual production environment, but locally the new API worked just fine.
I still got a couple more questions that are not directly related:

I have a bunch of SQL sample data that I have to send to the database sometimes. I noticed that you had a similar problem feeding the migration files into postgres via skunk. So I'm planning to take your code as a starting point to solve that. I'm just mentioning this in case you think it could make sense to expose APIs for this in dumbo (it's probably a bad idea).
I find dumbo's macro based resource loading with Scala 3 a bit confusing. Is there a technical limitation that requires this? I actually ended up scanning the classpath for resources myself and then using the Dumbo.withResources builder. I have migration files that are embedded in dependencies and I couldn't load them with the macro API.

Custom session constructor is released with v0.5.0.
Will close this issue.

I have migration files that are embedded in dependencies and I couldn't load them with the macro API

Raised https://github.com/rolang/dumbo/issues/86 for that.

Thank you very much for the release. I'm looking forward to adapting dumbo in the next days and get rid off all the jdbc & flyway cruft 🙏

Running my sample files through session.executeDiscard seems easy enough (-:
In my case, I definitely would appreciate having the Scala 2 implementation available for the JVM. But I got it working already, so it's no big deal either.


Ensure if working on mac that we enter this block

Background
When running the test Octopus.E2ETests.API PackageTransferTestScript on a mac. the test would fail with the bellow error
Step 1: TransferPackage - Failed
        --------------------------------
        Fatal: The step failed: Activity TransferPackage on listening-tentacle failed with error 'The remote script failed with exit code 2'.

                listening-tentacle - Failed
                ---------------------------
                Info: Transferring staged package '/var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Files/Acme.Service<EMAIL_ADDRESS>                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: line 1: =: command not found
                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: command substitution: line 3: syntax error near unexpected token `"/var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/PackageTransfer",'
                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: command substitution: line 3: `[IO.Path]::Combine("/var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/PackageTransfer", "Acme.Service.1.9.3.nupkg")'
                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: line 3: =: command not found
                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: line 5: syntax error near unexpected token `{'
                Error: /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/1/listening-tentacle/Work/20210929065851-8-2/Bootstrap.sh: line 5: `if (Test-Path $FullTransferPath) {'
                Fatal: The remote script failed with exit code 2
                Fatal: The action TransferPackage on listening-tentacle failed

After
After some splunking, it was noticed that it was trying to run powershell commands as a bash file where this specific line of code looked suspect
if (PlatformDetection.IsRunningOnNix || PlatformDetection.IsRunningOnNix)

https://github.com/OctopusDeploy/OctopusTentacle/blob/56ab573fc4b8217b6ea959e3f10e[…]1ad62/source/Octopus.Tentacle/Services/Scripts/ScriptService.cs
Changing to
if (PlatformDetection.IsRunningOnNix || PlatformDetection.IsRunningOnMac)

Will hopefully force the script into this code block and can pass the error.
Review
Firstly, thanks for reviewing this pull request! :tada:
Can reviewer run this change locaaly and ensure that the cause is fixed!
Checks

[ ] :green_heart: All automated builds and tests are passing
[ ] Scripts that automate Tentacle installation and configuration will continue working after updating to this version of Tentacle
[ ] Existing installations will continue working after updating to this version of Tentacle
[ ] I have considered the changes to public documentation needed to reflect this change
[ ] I have considered the changes to the project wiki needed to reflect this change

@casstait it might help if you include a quick guide on how to ensure this tentacle is used in an E2E test run? Happy to check locally for you.

Thanks @cailyoung for showing me how to run this change locally!
The output from the test now shows
[INF]() -------------------------------------------------------------------------------
[INF]() Test run complete! Executed 14 tests across 1 test scripts
[INF]() 13/14 tests passed
[INF]() -------------------------------------------------------------------------------
[INF]() 1/14 tests failed:
[INF](1) PackageTransferTestScript executed in partition 1. Refer to /var/folders/tn/qz5ypy4x7sz8zt30plvm78m40000gn/T/OctopusTest/Api Test/E2E Test Partition 1.log for more details.
[INF]() PackageTransferTestScript.CalamariWasInvolved failed
Strings differ at 410.
Received:ckage Acme.Service v1.9.3 was found in cache. No need to download from feed.
        Info: All packages have been acquired

                listening-tentacle - Success

                        Upload package Acme.Service v1.9.3 - Success
                        Error: ls: -d: No such file or directory
                        Error: usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
                        Error:  [-e pattern] [-f file] [--binary-files=value] [--color=when]
                        Er
Approved:ckage Acme.Service v1.9.3 was found in cache. No need to download from feed.
        Info: All packages have been acquired

                listening-tentacle - Success

                        Upload package Acme.Service v1.9.3 - Success
                        Info: No earlier versions of Acme.Service were found on the target so we can't perform a delta upload.
                        Info: Uploading package Acme.Service (7.323 KB)...
                        Info: Beginning streaming transfer of Ac
Exiting with code 0

I believe its at a point where it was doing a compare against a log message it was expecting to see but got extra lines. from an ls -d check.
I will do extra digging to see if this is something I can update quickly and ensure this test runs fully on osx as part of this PR. If Unsuccessful will merge the approved change as it has resolved the first issue encountered.


Add MANY support for ABCI ledger application

This could probably be abstracted into an MANY-ABCI adapter that does everything, given an ABCI app and a list of methods / signatures.

We have a many-abci adapter that does exactly this.
@hansl I'm closing this.


Enable metric_relabeling during remote-write

Signed-off-by: ArthurSens<EMAIL_ADDRESS>Description

Adds the possibility to configure metrics relabeling during remote-write. This will be used to filter all unnecessary metrics from preview environments when remote-writing to core-dev
Related Issue(s)

Fixes https://github.com/gitpod-io/ops/issues/2763
How to test

Run make deploy-satellite && make deploy-central to spin up a KinD cluster with both monitoring-satellite and monitoring-central installed
You'll notice that in prometheus logs that there are some networking problems between prometheus -> victoriametrics, BUT you won't see any relabeling errors!! 😅

I'm going ahead with the merge because I wanted to get metrics from previews into core-dev until today 😅


Callumhaslam mac

Documents reviewed.
(1) Added and checked all links for MAC and TSM in both governance documents.
(2) Ran several word doc comparisons for spelling
(3) Added link to TSM-Program-Governance.pdf (mining.ca) to governing authority section of the TSM Summary Report credential document.

Needing to update, will create a new branch.


Unifi integration no longer has bandwidth sensors ( rx_bytes, tx_bytes, etc)

Home Assistant release with the issue:
0.97
Last working Home Assistant release (if known):
0.96.x
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
Unifi
Description of problem:
The old Unifi integration creates various sensors for things like bandwidth.  That is, I could do the following:
     monitored_conditions:
       - last_seen
       - rx_bytes
       - rx_bytes-r
       - tx_bytes
       - tx_bytes-r

and I would get a sensor for these for each tracked entity.
Now those sensors are gone.  Please either bring back the sensors or add rx_bytes, rx_bytes-r, tx_bytes, and tx_bytes-r as attributes.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Hi!
We can't keep them as part of the default attributes of client trackers. See this issue for details: https://github.com/home-assistant/home-assistant/issues/25782
We can't allow configuration of extra attributes due to this architectural decision: https://github.com/home-assistant/architecture/blob/master/adr/0003-monitor-condition-and-data-selectors.md

I'm not familiar with the Unifi API, so I presume based on your comment that you have to make separate API calls to get things like rx_bytes and thus violate the architectural decision.
If so, what's wrong with letting people use monitored_conditions: to specify the stuff that needs a separate API call?  It can't be "because we don't want to send the user to configuration.yaml because that's already needed for everything other than entering server/user/pass.
I think the issue here is that the 'new' Unifi integration is a downgrade in functionality and it, IMO, was pre-mature to move everyone over when all previous functionality wasn't in the new integration - or at least preserve the option to configure the 'old' way until such time as the new one is brought to parity.

No it is all in one API call. The reason why it can't be enabled by default is the amount of extra data that it generates when doing extra logging.
This change regarding monitored conditions would have happened sooner or later when moving integrations in line with architectural decisions.
What Im trying to do now is to move forward and find suitable solutions on making as many people happy as possible. Feel free to chime in on how to solve this.

Ive had a talk with balloob about ways to solve this. He will add gui support for config entry options, after that I can implement enabling this.

Any news / issue we can follow to get an idea when this will be fixed?

Its on my list, can't say when it will be done yet

I've started implementing support for client bandwidth sensors now. Do you really need all 4 rx_bytes, rx_bytes-r, tx_bytes, and tx_bytes-r?

Well, I personally do not need the -r variants...


Integrate with SMI conformance GitHub action

Please describe the Improvement and/or Feature Request
Use SMI conformance GitHub action, to run SMI conformance tests. Would love some feedback from the community on how often this should be done. On every merge to main, every PR or every release?
https://github.com/layer5io/meshery-smi-conformance-action
cc/ @navendu-pottekkat who is available for a walk through and any questions
Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [X ]
Demo                       [ ]
Project Release            [X ]

Possible use cases
Tells us and the community if OSM is conformant with SMI and which parts.

Every release sounds like a good starting point.
I can open up a PR to add the workflow if I can coordinate with someone from the OSM team to add repository secret, setup an official account to automatically publish test results to the SMI Conformance Dashboard it would be helpful.
You can use these docs to familiarise with the action and SMI Conformance with Meshery:

Running SMI Conformance Tests
Meshery and SMI
Service Mesh Interface Conformance with Meshery GitHub Action

Meshery is SMI's official tool for validating conformance. Learn more at smi-spec.io.

@michelleN FYI, I have opened up a PR.


AEDT doc landing page - Remove PyEDB card?

Given that the PyEDB API Reference section is no longer part of the PyAEDT documentation should the doc landing page be edited to:

Rename the card with the title "AEDT API reference" to "API reference" as in the doc for all other PyAnsys libraries.
Remove the card with the title "EDB API reference" given separate PyEDB documentation now exists. (If desired, the renamed "API reference" section could add a note with a link to the "API reference" in the EDB documentation.)
Relabel the cheat sheets for each of these libraries according and then display them in the left navigation pane of their respective doc landing pages. This would also include removing the text content and links in the README and in the doc because cheat sheets would be so much more visible. (Or, would we want to wait until cheat sheets are redone using Markdown source files and the PyAnsys Quarto Cheat Sheet extension?)

@MaxJPRey and @maxcapodi78 If you agree with any or all of these recommended changes, let me know which to pursue and assign me this issue.

@PipKat I fully agree with your 3 suggestions.
Maybe at some point, we could add a link in the PyAEDT doc toward the PyEDB doc because they are related.
Adding @SMoraisAnsys  for visibility.

Great suggestions ! If you want to do it, I would gladly let you handle items 1 and 2.
For the last one, we might try to work with pyansys quarto but it could be done in a second group of changes / PR.


Missing build-dependency for plansys2_tools

I've tried to compile plansys2 within a Dockerfile and while doing I faced the problem that compilation of plansys2_tools failed with the error
#7 221.6
#7 221.6   Could not find a package configuration file provided by "Qt5Widgets" with
#7 221.6   any of the following names:
#7 221.6
#7 221.6     Qt5WidgetsConfig.cmake
#7 221.6     qt5widgets-config.cmake
#7 221.6
#7 221.6   Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
#7 221.6   "Qt5Widgets_DIR" to a directory containing one of the above files.  If
#7 221.6   "Qt5Widgets" provides a separate development package or SDK, be sure it has
#7 221.6   been installed.
#7 221.6 Call Stack (most recent call first):
#7 221.6   /opt/ros/foxy/share/rqt_gui_cpp/cmake/rqt_gui_cppConfig.cmake:41 (include)
#7 221.6   CMakeLists.txt:10 (find_package)
#7 221.6
#7 221.6
#7 221.6 ---
#7 221.6 Failed   <<< plansys2_tools [1.64s, exited with code 1]
#7 224.9 Aborted  <<< plansys2_planner [4.94s]

I had to manually install qtbase5-dev qtbase5-dev-tools and  libqt5widgets5  to successfully compile it.
I believe that adding
  <depend>qtbase5-dev</depend>
  <depend>qtbase5-dev-tools</depend>
  <depend>libqt5widgets5</depend>

to the respective package.xml  will solve the issue (not yet tried), but for sure this package depends from these ones.

Thanks for finding this. May you make a PR with this, please?

Yes, I'll do later today.

Fixed with PR #220


Main Site: Fix an issue where we cannot obtain cid correctly on bangumi page

Calling getVideoInfo API on bangumi now results a -404 status, which breaks the Cid obtain code.
Added code to detect -404 return status, and fallback to use the Cid provided by initState.
Disclaimer: I did not test all scenarios. Tested on a bangumi program and a regular program, and it works properly.

Fixes #479.


Altering Catalog Schemas dynamically - Remove specific entries

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2692
Originally created by @vischous on 2021-04-01 21:51:11

With some taps they generate schemas for numbers that contain things like "multipleOf: 1e-35
re:
https://github.com/singer-io/target-csv/issues/31
https://github.com/andyh1203/target-jsonl/issues/2
I ran into issues pushing to target-csv and target-jsonl due to bugs with both.
To work around those quickly I wanted to remove "multipleOf" lines from the catalog. I did this in my text editor as it was a one time thing (for now I think), but it would be useful to be able to do this in Meltano.

View 3 previous comments from the original issue on GitLab


Add using filestore as database to feature status page

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

Thank you.
/approve


Fixed Hosted Link

material.indigo-pink.min.css wasn't loading, so removed the indigo-pink to get a valid hosted css file.

I signed it!

In general all 1.0.5 hosted links with color schemes in it seem to be broken :-(

In general all 1.0.5 hosted links with color schemes in it seem to be broken :-(

What exactly does broken mean? They may need to be uploaded/made public. That is what needs to be addressed over changing the documentation link.

'broken' means that it returns a 404 when trying to load the hosted resources.
But all documentation on e.g. getmdl.io gives (already) the 1.0.5 links

Yes, something went wrong with our publishing process. That file is supposed to be there, but it evidently isn’t :confused:
I’m going to close this PR as this is not the fix we want. If you want to stay up to date on the underlying issue, subscribe to #1664.


like operator support for more text types

I would like to be able to use the like operator on more than the PGText type it currently supports (e.g. PGCitext). The obvious way to do this seems to be to add a PGString class (or some appropriate name) with instances for all of the text-like types, similar to the PGOrd class, and switch the constraint on like to require this class. Full disclosure, I haven't yet attempted to make this change and play with it; I'm sure this is not the only way to handle this problem (or the only time this will come up), so I would appreciate some opinions.

Hi @c-lewis, this isn't the official opaleye repository, but our layer on top. So you might be better off filing this in the official repo, which also contains PGOrd.

Thanks! I was aware this isn't the official repository, but for some reason I got it stuck in my head that your library was providing the PGOrd facility. I'll post this issue to the Opaleye repository.
I'm a big fan of the layer you guys have built. Thank you.


update composer.json for laravel 7 support

Gives the laravel 7 support

Hi, i'll have a look today :) I have a few ajustments to make for Laravel 7.
I'm working on a new version with default themes for Bootstrap / Tailwind / Foundation .. could you be interested in ?
I haven't had much feedback on this package so i don't know if it can be usefull for some people ..

well i just saw the package 12 days ago, and i sent the pr :) i think its very usefull, i dont like anymore boostrap, and change everything to tailwind :).

Ok :) Same here btw. I just updated the whole package, with some themes. But the idea is to customize the default theme at your convenence. Don't hesitate to give me your feedback or open a PR !
Have a nice day.


support i2p

Hello!
I would suggest an feature request. Please support the I2P Project (https://geti2p.net/de/), so that we can build up electrum server in this network.
Thanks a lot!

@burton1982 @evoskuil  i've already built an electrum server on i2p =]


gi.ts rework & merge help 2

Again a helper PR for #144:

Resolved merge conflicts again (no idea why this was necessary again)
Fix generation of NPM package for the base gjs module
Removed support for tsconfig.alias.json generation

My plan is to go in the direction of NPM Package Generation only. Anyone who wants to generate the types locally can use the NPM Workspace feature and include them that way. This should make the code much clearer.
Next, I will adapt the examples to this.
@ewlsh It's amazing how fast the parser is now, good work 👍

@ewlsh can be merged


Re-work FetchPushDown into a two-step rewrite

This changes the way query-then-fetch plans are created for simple
selects. This is a preparation to make it easier to propagate fetch in
nested subqueries.
Previously the QueriedDocTableFetchPushDown already created
InputColumn instances and FetchReferences, that's too early for
fetch-propagation to work.
The new FetchRewriter now does a simply relation mutation:
`select x, y, z from t`

Is changed into:
`select _fetchid from t`

And there is an additional FetchDescription which contains all information necessary to add a fetchProjection & phase on top of the sub-plan created from select _fetchid from t.
The information in FetchDescription is in a raw format which will make it possible to propagate it later in in simple subqueries.

Codecov Report

Merging #5419 into master will increase coverage by 0.07%.
The diff coverage is 97.75%.

@@             Coverage Diff              @@
##             master    #5419      +/-   ##
============================================
+ Coverage     82.29%   82.37%   +0.07%
- Complexity    11272    11274       +2
============================================
  Files          1358     1358
  Lines         44245    44246       +1
  Branches       5556     5549       -7
============================================
+ Hits          36410    36446      +36
+ Misses         5225     5191      -34
+ Partials       2610     2609       -1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/io/crate/planner/fetch/FetchPushDown.java
89.18% <ø> (-2.65%)
2 <0> (-2)

.../crate/planner/consumer/QueryAndFetchConsumer.java
92.79% <100%> (+1.48%)
15 <1> (+1)
:arrow_up:

...ain/java/io/crate/planner/fetch/FetchRewriter.java
96.66% <96.66%> (ø)
10 <10> (?)

...arch/indices/recovery/BlobStartPrefixResponse.java
66.66% <0%> (-33.34%)
3% <0%> (-2%)

.../operation/udf/DropUserDefinedFunctionRequest.java
77.14% <0%> (-17.15%)
8% <0%> (-3%)

...a/io/crate/operation/join/NestedLoopOperation.java
82.85% <0%> (-11.43%)
14% <0%> (-1%)

.../io/crate/analyze/symbol/MappingSymbolVisitor.java
90% <0%> (-10%)
5% <0%> (-1%)

.../java/io/crate/analyze/symbol/ParameterSymbol.java
87.5% <0%> (-6.25%)
6% <0%> (-1%)

...src/main/java/io/crate/jobs/NestedLoopContext.java
66.66% <0%> (-5.56%)
7% <0%> (-1%)

...o/crate/planner/node/dql/join/NestedLoopPhase.java
77.1% <0%> (-3.62%)
21% <0%> (-2%)

... and 28 more

Continue to review full report at Codecov.

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


Do not return empty object on null

I ran over a bug where the exchange converted a null to {}.
This change fixes that.

Hey, thanks for the PR. I think that is the first PR I have ever received! How exciting. 🤩
Code looks all good, I'll merge and release tomorrow. If you feel like it, could you add a unit test to ensure it won't break in the future?

So, I'm not very proficient with using jest, so I just expanded the tests a little. The big diff is prettier's fault :shrug:

Just published version 0.1.3. Thanks again for the PR.


p2p-governor: fix acounting of established peers

@dcoutts by the end of the day I will put here all the changes that now in coot/connection-manager.   Then I'll be able to work on this branch to update the tests (going through all patches).  This pr should be a draft.


CNI live migration - Openshift

Hello all,
First of all, thanks for the great work.
We have several production openshift clusters, some using OpenshiftSDN CNI and others using OpenshiftOVN CNI. We want to migrate all these clusters to cilium.
In the documentation, I only found how to create an openshift cluster with Cilium from scratch.
I found out this: https://cilium.io/blog/2020/10/06/skybet-cilium-migration/ for vanilla kubernetes clusters but nothing for openshift.
Can you help with this?
Thanks

I also have several OpenShift-SDN production clusters that I'd like to migrate to cilium.  This step-by-step would be incredibly helpful.

any updates on this?

Hi, it's a bit of a grey area, Red Hat doesn't really explain or provide guidance on moving your existing running clusters to a third party CNI, even if it's fully certified by themselves.
I've jotted down the steps I had working in a lab, but this is at your own risk etc etc
https://veducate.co.uk/migrate-red-hat-openshiftsdn-ovn-kubernetes-cilium/


Modify header addresses to match receive endpoint host

Since containers have brought a bunch of cases where IP address, vs. localhost, vs. FQDN are used to access RabbitMQ, consider rewriting the header addresses in cases where the host/port do not match the DestinationAddress, remap based upon the receive endpoint input address so that responses can be delivered to the proper host.

Should also resolve #542


Copy build file outputs to output dir

This is another of my basic questions, but I'm using crane to build a workspace. This is what I tried.
  vidette = craneLib.buildPackage (commonArgs // {
            inherit cargoArtifacts;
            pname = "vidette";
            buildPhaseCargoCommand = "cargo leptos build --release";
            installPhaseCommand = ''
            cp $self/target/release/vidette_server $out/bin/
            cp -r $self/target/site $out/bin/
            '';
            # Prevent cargo test and nextest from duplicating tests
            doCheck = false;
            # ALL CAPITAL derivations will get forwarded to mkDerivation and will set the env var during build
            SQLX_OFFLINE = "true";
            APP_ENVIRONMENT = "production";
          });

If i omit installPhaseCommand it complains that it can't find the JSON file output of the buildPhaseCargoCommand, so I tried that, but I don't really know where it's building the outputs to.
Basically I need to do two things(I think)

Copy target/server/release/vidette_server to the output/bin folder
Copy the target/site folder to the same dir, so probably output/bin.
Any tips?

It complains that it can't find json, because by overwriting buildPhaseCargoCommand you are overwriting the default https://github.com/ipetkov/crane/blob/953b70da2813fb882c39890f2514e7db76fc8843/lib/buildPackage.nix#L41 which has an argument to produce the file. You probably want to only overwrite cargoBuildCommand

Hi @benwis, adding on to what @dpc said, you might want also to use a post-install hook to run whatever additional code you need but without overwriting the default install behavior!
vidette = craneLib.buildPackage (commonArgs // {
            inherit cargoArtifacts;
            pname = "vidette";
            cargoBuildCommand = "cargo leptos build --release";
            postInstall = ''
            cp $self/target/release/vidette_server $out/bin/
            cp -r $self/target/site $out/bin/
            '';
            # Prevent cargo test and nextest from duplicating tests
            doCheck = false;
            # ALL CAPITAL derivations will get forwarded to mkDerivation and will set the env var during build
            SQLX_OFFLINE = "true";
            APP_ENVIRONMENT = "production";
          });

BTW. all crane commands are almost always 1:1 stored under lib and most of them are relatively short and simple, so I've learned to just read their source whenever I'm confused about anything.


Merge pull request #15 from whoami-anoint/main

Probe: This is a special tool for bug hunter for automated recon process smoothly.

Probe: This is a special tool for bug hunter for automated recon process smoothly.


await/async error in vite.js breaks build

Describe the bug
Hello there,
using nodejs 12.22 and npm 7.5 on a Debian Bullseye arm64 machine to build an application with vite 3.1.8 as dependency breaks the build, because /bin/vite.js is using an await without async in line 7.
Thanks for looking into this - I'd love to get a clean build.
Reproduction
https://github.com/nuehm-arno/axolotl/tree/arm64-workflow/axolotl-web
Steps to reproduce
npm is called via github workflow (WIP)
System Info
Docker image of Debian Bullseye (arm64)

Used Package Manager
npm
Logs

vite build

file:///home/runner/work/axolotl/axolotl/axolotl-web/node_modules/vite/bin/vite.js:7
await import('source-map-support').then((r) => r.default.install())
^^^^^
SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
npm ERR! code 1
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Vite 3.1.8 does not support Node.js 12.22.
https://github.com/vitejs/vite/blob/675bf07a093c2af5c928bdd1a8458dc235cc442d/packages/vite/package.json#L34-L36


Add playbook for Netdata install

netdata is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards.

Demo: http://my-netdata.io/#demosites
netdata by default listens on all IPs on port 19999, so you can access it with: http://this.machine.ip:19999/
To stop netdata, just kill it, with: killall netdata
To start it, just run it: /usr/sbin/netdata
Uninstall script generated: ./netdata-uninstaller.sh
Update script generated   : ./netdata-updater.sh
netdata-updater.sh can work from cron. It will trigger an email from cron only if it fails (it does not print anything when it can update netdata).

Inspired by #64

I don't speak ansible, but installing stuff using random shell scripts and git repos downloaded (at least it's HTTPS) from around the web looks like fun. YOLO 👍

Installation is performed according to the official software documentation: https://github.com/firehol/netdata/wiki/Installation

I don't doubt it. It's still not particularly good practice and is often frowned upon. But for smaller or newer projects, it's often what we're stuck with 🤷♂

:+1:


how to compress the modules chuck of  require.ensure

I use wepack 1.13.1 and 1.14.0
Do you want to request a feature or report a bug?
I want to report a bug, or there is a solution I won't find out.
What is the current behavior?
When I use require.ensure echarts modules,it makes a chunk of that,but this chunk is not compressed.
so this chunk is too big.

If the current behavior is a bug, please provide the steps to reproduce.
require.ensure([
    "echarts/echarts.js",
    "echarts/chart/pie.js",
    "echarts/chart/radar.js",
    "echarts/chart/line.js"
],function(){
    require("echarts/echarts.js");
    require("echarts/chart/pie.js");
    require("echarts/chart/radar.js");
    require("echarts/chart/line.js");
},"echartscomponent");

What is the expected behavior?
I want to compress the chunk made by require.ensure.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.
Window7, firefox 47, chrome 52, node v4.4.5

Have you tried this in webpack 2 yet?

I won't try webpack 2 until now.because webpack2 is still beta version.It is not stable version.

With compress you mean minimize?
Run webpack -p

I have Run webpack -p，but still not compress


Email Authentication

Also fix email link on teaching page to use contact modal with cistom recipient.

Also fix email link on teaching page to use contact modal with cistom recipient.


WIP Email / reference validation

New references validate properly, some issues getting the validation rules to run on edit.

Hold off on merging this, I've also been working on validating references in another branch.

This functionality and more in #668


Add Windows 11 22H2 support

Please add Windows 11 22H2 support
https://www.microsoft.com/en-us/download/details.aspx?id=104593

Already added in development, will commit soon


The on-board LEDS

It would be useful to have through hole pad options for the on board LEDS, once the PCB is in an enclosure the LED's are no longer visible, I can obviously modify the hardware to provide these PTH holes, it's a 2 minute job, but I figure that it might be a useful thing for other people since an enclosure protects the PCB, so I figured I'd ask here to see if threres any interest in providing these pads in the origin repo.  I could solder coil wire directly to the SMD pads, but my concern there would be that it would be relatively easy to rip the pad off during later disassembly if I forget about it.
The pictures here show my case design, I could put the leds on a surface on the main body or on the end caps.
Many thanks for the brilliant project!

For this design, I don't really want to do anything with the LEDs. In my case I relied on the gray plastic being transparent, and it works well enough. LEDs here are not all that useful anyway, and I don't want to create a hardware revision just for that.
I hate working with through hole LEDs, so I avoid them in my designs, but since I'm also making 3D printed cases, it does become an issue. And I'm trying to figure out how to address this. But my experiments are focused on making clam shell cases and printing in holes for the light pipes or something like this.

No problem, I figured that since they weren’t there then that would be the answer!  I’ll just modify it myself (thanks for the open source design!)
It wasn’t so much about actually mounting PTH LED’s directly onto the board, it was purely just providing a PTH hole so that the location of the LED's don’t need to be tied to a specific location on the PCB, with a test point the wires could just as easily connect to a daughter board that has a bunch of SMD LED’s arranged is a coherent order.
It’s just a sanity check for me since my USB cables often work themselves loose on my laptop, so looking at the LED’s is an easy confirmation that at least power is getting to the device from the host.
Adrian
On 22 Nov 2023, 23:04 +0000, Alex Taradov @.***>, wrote:

For this design, I don't really want to do anything with the LEDs. In my case I relied on the gray plastic being transparent, and it works well enough. LEDs here are not all that useful anyway, and I don't want to create a hardware revision just for that.
I hate working with through hole LEDs, so I avoid them in my designs, but since I'm also making 3D printed cases, it does become an issue. And I'm trying to figure out how to address this. But my experiments are focused on making clam shell cases and printing in holes for the light pipes or something like this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@fizzyade Hi Adrian, I like your take on the case very much, would you mind sharing the case files?

Yeah no problem, I will upload them later to printables, remind me tomorrow if I haven't replied with the link.

@fizzyade Hi Adrian, I like your take on the case very much. ~would you mind sharing the case files~? Already found it here https://www.printables.com/model/657228 - thanks for sharing.

Yeah, I couldn't log in earlier and when I just managed to get in I realised I'd already shared it!


Add subauction grant description

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "subauction.md") and updated.
[x] A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).
[x] The grant will only be announced once we've successfully delivered the first milestone.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the application, Petr. We will look into it as soon as possible.
In the meatime, can you sign the CLA?

Thanks, @semuelle, already signed.

Thanks for the new application @pmensik.
A couple of comments I'd also made to the General Grants application:

If you could you link to a specification/reference/pseudocode for the auction types, that'd be appreciated.
Please describe the deliverables in greater detail, especially the content curation and governance DAO (milestone 2).
I really don't see how M1 could be so expensive. I'd currently estimate the implementation effort at around 1 person, 1 week tops. Perhaps I'm missing something here.

@pmensik, @green-jay also needs to sign the CLA.

@pmensik, @green-jay also needs to sign the CLA.

done

@alxs Hello, sorry for the delay, I was on the vacation this week so I couldn't reply. We have updated the description of the proposal (mainly added a few sections about governance)

M1 now contains auction types description together with diagrams
added a new governance section describing the ways we reason about it at the moment
regarding the pricing - the main problem is getting the randomness right in case of the candle auction. There are several options we need to explore and therefore it will take a more time than simply reworking the English auction mechanics.

Thank you for the updates. I actually meant the pricing of M0, sorry about that.
M1 sounds about right, $2k give or take. One of my colleagues will probably leave a few comments later today and might have something to say about adapting candle auctions from parachain auctions to this. He thought it should be doable.

@alxs Regarding the M0, the issue here is that we want to introduce abstract types that would generalize all auction types and redesign our whole PoC project to be more flexible in order to allow for more auction types to come in the future. So that's why we priced it higher, implementing concrete auctions on top of this abstract type would be actually a lot easier than design the whole thing. We have actually tried to do it during the hackathon (where we started SubAuction) but eventually didn't have time and it proved to be much harder than we expected - so this pricing is based on our experience.
Yes, I suppose we will get inspired by parachain candle auctions heavily, however, not everything might be really applicable so we will have to dive into the whole process and make some implementation choices. But the cost seems to pretty reasonable right now

How about pricing the first two milestones both at $6k? That's something I could get behind anyway, if you insist on $12k I'm happy to share it with the rest of the team but I have to say I'd be reluctant to accept it myself.
Fully agree regarding candle auctions.

@alxs We have discussed that and it probably makes sense to lower the pricing for the M0. The thing here is that we have already tried to do some re-design during the hackathon and then we rather focused on finishing the PoC because it didn't prove that easy. But yeah, it won't be that bad once we jump into it :-)
So what about having M0 for 8k (because I still think we will have to put more effort into designing everything right) and M1 for 6k? Is that something you would be fine with?

Hi, I find your project very interesting. I have some comments/questions, mainly about the auctions: (1) In dynamic auctions, like the English auction that you propose to implement, sniping is often an issue. As you write correctly, sniping is one of the reasons why the Polkadot parachain auctions use a candle mechanism. Another remedy that is sometimes used is extending the clock whenever sniping occurs. But this might invite malicious bidders to prevent the auction from ending. How do you deal with sniping in your implementation? If you have a remedy, then you could put that in your application. (2) Have you also thought about implementing sealed-bid auctions? I think here the state of the art is to use commit-and-verify schemes, but I am not an expert. In any case, good luck with your application.

Hi @SamuelHaefner, thank you for the interest in our project.

English Auction type has already been implemented in the POC solution. Sniping has been addressed by the exact mechanism that you described. An auction can be concluded only after certain period of time since the last bid. That means if a bid occurs too close to the conclusion, the auction gets prolonged accordingly.
Sealed-bid is certainly one of the auction types we would like to introduce as part of the follow-up grant later this year. A commitment scheme is something we will most likely need to implement also for other types of auctions (e.g. Amsterdam Auction)

@pmensik feel free to update the application and I'll share it with the rest of the team. I would still consider it very expensive no matter what you finally decide on, but it's up to you. To put things into context, have a look at some recently accepted applications and what teams usually deliver at what price.
I would also caution you against launching your own token as long as it's not absolutely necessary and encourage you to find a project who is willing to sign on integrating your pallets. I think having your own token could prove a burden for this purpose.

Hi @alxs, thank you for your inputs.
I have updated the application to be in line with your previous suggestion to lower the pricing and set the first two milestones to 6k.
Regarding our own token - as we want to integrate with multiple parties (3 big projects already showed interest) but at the same time have our own unified governance model we will probably have no better choice but to introduce one. We have thought of multiple scenarios like smart contracts or chain-specific governance but these would be less favorable options for us. But we will certainly appreciate your thoughts on this.
If you feel that the application is acceptable for you please pass it forward to the rest of the team.

Thanks all for taking your time to review our application.

@green-jay @pmensik are you still interested in this grant? Your repositories look inactive and the delivery is overdue - unless you're actively working on the project, we will terminate the agreement in the coming days.

hi @alxs, would it be possible to extend the deadline for this grant to Q3? it is still valuable to the ecosystem and teams are interested in having this incorporated as well but due to different priorities we as a grant team were not able to continue working on this during last 2 months (all 3 of us got new jobs at the same time and it proves to be quite challenging in the blockchain space) During the summer we are still very busy (parachains are getting live) and some of us leave for vacation. In Autumn we would be able to push this forward.

Fully agree and it's good to hear that you're still interested. That shouldn't be a problem, could you submit a PR to amend the expected timeline?

sure thing, we added a PR with updated timeline, thanks!

Good news regarding this project. Sorry for the delay.
As the other 2 members could not continue working on it, I am assembling a new team. Currently I have one more developer on board. Ideally there would be one more. I want to finalize the roster by the end of next week and then I'll update the application accordingly. Things will start moving soon.

@green-jay what's the status here? Are you still planning to submit the remaining milestones and if so, could you please amend the timeline again?

@green-jay what's the status here? Are you still planning to submit the remaining milestones and if so, could you please amend the timeline again?

hi @alxs, yes will do. we are basically done with the next milestone, currently polishing docs, will be submitting this or early next week.


DBZ-2288 Events in exported snapshot no longer filtered by LSN

https://issues.redhat.com/browse/DBZ-2288

@gunnarmorling Comments addressed

@jpechane, what's still unclear to me: does this only fix the case when we create the slot, or also when it already exists (both with exported only, of course)?

@gunnarmorling See https://issues.redhat.com/browse/DBZ-2288?focusedCommentId=14242107&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14242107
Also the test verifies the situation when the slot already exists. We would not be able to tests the situation when we create the slot with automated tests unless we provide some hook into the connector code

@jpechane, ah one more thing: it'd be good to put a note to the docs to prefer exported snaphots and the risk associated to not using them. Could also say that exported will be the default in a future version.


Fix SelectionChanged event unsubscribtions

What does the pull request do?
That change fix very tricky bug. Our case:
We have DataTemplate that contains DataGrid inside it. And Datagrid has an AttachedProperty (that deserve us to observe changes in Datagrid's SelectedItems). which  work through event subscription. Memory leaks happen (and the logic for observe selected items breaks) when DataTemplate switches DataContext.

@dif-sam thanks for figuring this out!

@maxkatz6 do you think we should also backport it? It's an easy one I guess.

You can test this PR using the following package version. 11.0.999-cibuild0026508-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Register hydrax.is-a-frontend.dev

Added hydrax.is-a-frontend.dev using the CLI.

The DNS Validation failed and I don't know how to redo it??

The DNS Validation failed and I don't know how to redo it??

Nevermind It's fixed. :D


support multiple version jar generation

To support Jar generation in the specified output directory based on
the parameter passed.
In Jrugged-examples, spring version has been changed to 4.3.3
updated the unit test cases.

To generate the Jar with Spring version 4.3.20 , pass as command line arguments
-Dspring.version and specify the output directory "-Dtarget.directory.name". With the inclusion of "maven-jar-plugin" the jar will be generated with version passed as argument inside the output directory. This way help us to achieve multiple jar generation based on the version passed.
The compatibility of versions are cross validated.
We can also use systemd service and the maven command line arguments to be passed to ExecStart.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.mthang033 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Increase version of MarkupSafe

Version 1.0 of MarkupSafe fails to build with the latest version of setuptools (see https://github.com/pallets/markupsafe/issues/116). Shifting to 1.1.1 doesn't seem to break the code and resolves this build issue.

this should be merged :m


Cache invalidation manual

first of all i set cache prefix then in manual cache invalidation i need to get table name from cache prefix i can do it by set prefix for each query but is there any feature to set or get table name from prefix
somehing like this: _https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor#3--setting-up-the-cache-invalidation_

this task just needs to save the table name in the key and provide a method to get table names and remove them from the cache is it acceptable? i want to start doing the task

I don't understand what the purpose of this feature is, if it's not a universal solution I'm sorry I can't accept it. If you need a custom cache key you can implement the ICacheKeyBuilder interface.
 services.AddDapperCachingInRedis<MyCustomCacheKeyProvider>(new RedisConfiguration
 {

 });


[FEATURE] [GSSOC' 21] Adding google auth to the project

Is your feature request related to a problem? Please describe.

It would be great if users would have an option to have a one-tap log in with google as it is frustrating to fill lengthy signup forms and verify their email after manual signups.

Describe the solution you'd like

I would like to add a log in with google feature to this project with google's OAuth login API

Describe alternatives you've considered

NA

Additional context

NA.
@swapnilsparsh @sakshikhachane

@Aditya201551 Work on it.


Add test option to preview

Set TEST=1 to print what would be sent without actually sending it.
$ TEST=1 CSV=survey/communities.csv TEMPLATE=survey/template.txt ./mailmerge
Date: Tue, 11 Apr 2017 23:59:08 -0700
From: GitHub Open Source Team<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Subject: Share the Open Source Survey
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi Lee,

Thanks for your interest in having the Atom community participate in the Open Source Survey. We are ready to start running the survey for your community. Please share the link in the email template below. The survey will conclude on April 28.
…

Let's call it PREVIEW rather than TEST since the wording "test" conflicts with the test.csv and test.txt files, which could be confusing.

Also: I :heart: this

👍 done


*: use master branch for docs

The README and user-guide will now expect the SDK to be installed from the master branch for all commands to work as expected.

LGTM


Cleanup setInterval in account fetch cache to avoid hanging Node process

https://discord.com/channels/404106811252408320/1097632035155214567/1242201684487307384

I'll add context for those who can't click on the Discord link:
Summary
Calling getPendingRewards() in the @helium/distributor-oracle appears to set up a background process that prevents nodejs from exiting when the current process/task is complete. On further investigation, the culprit appears to be an eternally repeating interval timer that is set up for an internal AccountFetchCache that is created using the singleton pattern.
To Reproduce

Run any script which calls getPendingRewards. Example (Hotspot chosen at random):

import { init, lazyDistributorKey } from "@helium/lazy-distributor-sdk";
import { getPendingRewards, formTransaction } from "@helium/distributor-oracle";
import * as anchor from "@coral-xyz/anchor";
import { PublicKey } from<EMAIL_ADDRESS>import {
    init as initHem,
    keyToAssetKey,
} from "@helium/helium-entity-manager-sdk";
import { daoKey } from "@helium/helium-sub-daos-sdk";
import { HNT_MINT } from "@helium/spl-utils";
import yargs from "yargs";

async function run (args: any = process.argv) {
    const yarg = yargs(args).options({
        wallet: {
            alias: "k",
            describe: "Anchor wallet keypair",
            type: "string",
            required: true,
        },
        url: {
            alias: "u",
            describe: "Solana RPC API endpoint",
            default: "https://api.mainnet-beta.solana.com",
        },
    });

    const argv = await yarg.argv;
    const hotspotB58 = "11F65cECrtEQksuH7HZQamRfGipL4xT4SX5anFy1uyw56Nmxe6h";

    process.env.ANCHOR_WALLET = argv.wallet;
    const providerConnection = anchor.AnchorProvider.local(argv.url);

    anchor.setProvider(providerConnection);
    const provider = anchor.getProvider() as anchor.AnchorProvider;
    const program = await init(provider);
    const hemProgram = await initHem(provider);

    const iotMintId = "iotEVVZLEywoTn1QdwNPddxPWszn3zFhEot3MfL9fns";
    const iotMint = new PublicKey(iotMintId);
    const hntMint = daoKey(HNT_MINT)[0];
    const lazyDistributorPkey = lazyDistributorKey(iotMint)[0];

    const [keyToAssetK] = keyToAssetKey(hntMint, hotspotB58);
    const keyToAsset = await hemProgram.account.keyToAssetV0.fetch(keyToAssetK);
    const asset = keyToAsset.asset;
    const rewards = getPendingRewards(program, lazyDistributorPkey, hntMint,
                [hotspotB58]);
    return rewards;
}

run().then(function (results) { console.log(results); });

Notice that the script never exits, but instead hangs after printing the results.

Additional Info
Using the nifty package why-is-node-running (at https://github.com/mafintosh/why-is-node-running) one can see that there's a dangling timer still present at task completion:
# Timeout
...

./node_modules/@helium/account-fetch-cache/lib/cjs/accountFetchCache.js:81 - this.missingInterval = setInterval(this.fetchMissing.bind(this), missingRefetchDelay);
./node_modules/@helium/account-fetch-cache/lib/cjs/accountFetchCache.js:31 - singletons[endp + commitment] = new AccountFetchCache({
./node_modules/@helium/distributor-oracle/lib/cjs/client.js:66             - const cache = yield (0, account_fetch_cache_1.getSingleton)(hemProgram.provider.connection)

Workaround
While not stable in the long run, you can use process.exit(0); at the end of your script to force the process to exit.
The danger in using this method is that it is not a stable long-term pattern to use. This method could cause future versions of the code to perform badly if they spawn important subprocesses that need to complete before shutdown.


Proguard build failure after upgrading from 1.07 -> 1.1.2

After upgrading from 1.0.7 to 1.1.2, I started getting this release build failure.
Information:Gradle tasks [:EvergreenApp:assembleStagingRelease]
Warning:com.evernote.android.job.v24.JobProxy24: can't find referenced method 'android.app.job.JobInfo getPendingJob(int)' in library class android.app.job.JobScheduler
Warning:com.evernote.android.job.v24.JobProxy24: can't find referenced method 'android.app.job.JobInfo$Builder setPeriodic(long,long)' in library class android.app.job.JobInfo$Builder
Warning:there were 2 unresolved references to library class members.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ':EvergreenApp:transformClassesAndResourcesWithProguardForStagingRelease'.
> java.io.IOException: Please correct the above warnings first.

What's your compile SDK version? Probably 24 or 25 is necessary.

Yes, updating to compileSdkVersion 25 solves the problem. Thanks.


Bump version to 1.9.1

@bquorning fyi

Added to the releases page: https://github.com/backus/rubocop-rspec/releases/

Thanks!