Class not found: AndroidGooglePlayPurchaseManager

I'm getting an exception

11-02 17:06:10.224: D/GdxPay/IAP(28701): Failed to locate purchase manager for GooglePlay (gdx-pay-android-googleplay.jar file not installed)
11-02 17:06:10.224: D/GdxPay/IAP(28701): java.lang.ClassNotFoundException: com.badlogic.gdx.pay.android.googleplay.AndroidGooglePlayPurchaseManager
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at java.lang.Class.classForName(Native Method)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at java.lang.Class.forName(Class.java:309)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at java.lang.Class.forName(Class.java:273)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.pay.android.IAP.(IAP.java:125)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.pay.android.IAP.setup(IAP.java:93)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at java.lang.reflect.Method.invoke(Native Method)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at java.lang.reflect.Method.invoke(Method.java:372)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.utils.reflect.Method.invoke(Method.java:108)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.pay.PurchaseSystem.resolve(PurchaseSystem.java:70)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.pay.PurchaseSystem.getManager(PurchaseSystem.java:90)
11-02 17:06:10.224: D/GdxPay/IAP(28701): 	at com.badlogic.gdx.pay.PurchaseSystem.hasManager(PurchaseSystem.java:99)

in method

PurchaseSystem.hasManager()

after updating gdx-pay to '0.10.3' version (from 0.5.0 version). I run game on real Android device connected to PC with USB cable.
Dependencies seems to be correct, so I think its probably proguard?
The suggested Proguard on wiki start page seems to be not mentioning critical configuration, this page does: https://github.com/libgdx/gdx-pay/wiki/Proguard
If this page resolves your problem, can you please make a pull-request to update gdx-pay README.md? Thanks!

It is a debug version where I'm not using proguard. To be sure I added this line to proguard:
-keep public class com.badlogic.gdx.pay.android.googleplay.AndroidGooglePlayPurchaseManager {   public protected *; }
I added even this line:
-keep class com.badlogic.** {*;}
without succes.

Can you create a minimal sample project?  This is such a project used to reproduce another issue:
https://github.com/jsvitek/gdx_pay_issue118

I'm using Eclipse - is Eclipse support .aar files? When I change the 'android-googleplay' dependency from '.aar' to '.jar' everything works fine...

I have never done any Android development in the pre-Gradle toolchain. So I don't know if aar is supposed to work.
Can you find out if there is some official documentation about aar support of Eclipse? If you find someone, we can extend README.md that eclipse users must use the jar

I cannot find any official documentation but there are some posts on the net about this problem, for example: https://commonsware.com/blog/2014/07/03/consuming-aars-eclipse.html . Some people writes that you have to extract .aar file and there is a 'classes.jar' file which can be used in the eclipse project. I extracted 'gdx-pay-android-googleplay.aar' file and there was 'classes.jar' file but it was smaller and different than original 'gdx-pay-android-googleplay.jar' file so I don't know it is true...

I think the 'gdx-pay-android-googleplay.jar' is an uberjar, containing all gdx-pay dependencies of android-googleplay.

@Berobasket Theoretically it is possible to "convert" aar for eclipse, however I propose to switch to Android Studio. It is much simpler :)

I don't want to switch to Android studio because now I'm able to manage projects for Android, iOS and desktop from one place. This is crucial for me

You mean libgdx desktop / iOS projects? We do so as wel, with Android Studio. As long as you use Gradle, you're fine.

I didn't know about it... So I think that it's time for a change ;)

@Berobasket AndroidStudio works good, to configure and debug desktop you have to setup it like this:

Ok, thanks a lot

I've changed IDE to Android Studio and now everything works fine. I have no more problems with AndroidGooglePlayPurchaseManager class. @keesvandieren and @centy thanks for help - Android Studio works great with Android, iOS and desktop projects :)


Move example graphs into package

Moves the three example graphs arlo_graph, toy_graph and toy_hypergraph into motile.data, similar to e.g. skimage.data. It seems useful to have a one-liner to get some small TrackGraph when prototyping in motile.
Creating and plotting a graph now works as follows:
from motile import data, plot
graph = data.arlo_graph()
plot.draw_track_graph(graph)

Graphs specific to a certain test can live directly in that test module.

Codecov Report

Merging #39 (2fbc861) into main (8defb53) will increase coverage by 0.98%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   77.12%   78.11%   +0.98%
==========================================
  Files          28       29       +1
  Lines         752      786      +34
==========================================
+ Hits          580      614      +34
  Misses        172      172

Impacted Files
Coverage Δ

motile/__init__.py
100.00% <100.00%> (ø)

motile/data.py
100.00% <100.00%> (ø)

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


[KOGITO-2739] Tests: Add CLI support for KogitoRuntime and KogitoBuild

https://issues.redhat.com/browse/KOGITO-2739
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

Based on https://github.com/kiegroup/kogito-cloud-operator/pull/410
Can be merged once base PR is merged and this one is rebased.

So far I left the current tests still being executed using KogitoApp. Transformation of those tests to KogitoRuntime will come in next PR to keep PRs small enough and easier to review.

I have separated holders into types package and mappers (table mapper and CLI mapper) into mappers to provide some structure and to keep packages focused just on one purpose.

Can be rebased.

Ready for review.

Jenkins, test this

Test failure caused by compilation issue in process-springboot-example, as the changes are not propagated to Maven repo yet.

What's this default check? :/

Default is the one I launched in this comment I think: https://github.com/kiegroup/kogito-cloud-operator/pull/444#issuecomment-662316091

Default is the one I launched in this comment I think: #444 (comment)

@Kaitou786 can we change this name to something meaningful?

Jenkins, test this

Jenkins, test this

Default is the one I launched in this comment I think: #444 (comment)

@Kaitou786 can we change this name to something meaningful?

Done, the default and the continuous-integration one will disappear after the commit hash is changed.

Jenkins, test this

Jenkins, test this

Jenkins, test this

Jenkins, test this


chromedp-runner temp directory is not always deleted

What versions are you running?
github.com/chromedp/chromedp v0.5.3
Chromium 83.0.4092.0
go version go1.14.1 darwin/amd64

$ go list -m github.com/chromedp/chromedp
$ google-chrome --version
$ go version

What did you do? Include clear steps.

Passed new context to chromedp and executed actions; relevant invocations:

func GetNumberOfPages(url string) (int, error) {
	ctx, _ := chromedp.NewContext(context.Background())
	defer chromedp.Cancel(ctx)

	var res string
	err := chromedp.Run(ctx,
		chromedp.Navigate(url),
		chromedp.InnerHTML(`:root`, &res, chromedp.NodeVisible),
	)
	if err != nil {
		panic(err)
	}

	re := regexp.MustCompile(`– (\d+) of (\d+) pages"\ssrc="`)
	number, err := strconv.Atoi(strings.Fields(strings.TrimSpace(re.FindString(res)))[3])

	return number, err
}

func GeneratePDF(url string, dest string, width float64, height float64) error {
	paper_width := (width / 96.0) + 2.0
	paper_height := (height / 96.0) + 2.0

	// create context
	ctx, _ := chromedp.NewContext(context.Background())
	defer chromedp.Cancel(ctx)

	var pdfReader io.Reader
	err := chromedp.Run(ctx, chromedp.Tasks{
		chromedp.Navigate(url),
		chromedp.WaitReady("svg"),
		chromedp.ActionFunc(func(ctx context.Context) error {
			buf, _, err := page.PrintToPDF().
				WithPaperWidth(paper_width).
				WithPaperHeight(paper_height).
				WithMarginTop(1.0).
				WithMarginBottom(1.0).
				WithMarginLeft(1.0).
				WithMarginRight(1.0).
				WithPageRanges("1").
				Do(ctx)
			if err != nil {
				return err
			}
			pdfReader = bytes.NewBuffer(buf)
			return nil
		}),
	})

	if err != nil {
		return err
	}

	destFile, err := os.Create(dest)
	if err != nil {
		return err
	}
	defer destFile.Close()

	_, err = io.Copy(destFile, pdfReader)
	if err != nil {
		return err
	}

	return nil
}

Both of these functions are run in a single-thread context (no goroutines); not sure if that affects anything.
What did you expect to see?
The GeneratePDF function is run multiple times in a for loop, and when I watch my temp folders directory having the chromedp-runner* temp directory recreated many times. I would expect that at the end of execution, no chromedp-runner* temp directories remain because the entire cleanup should be contained within the defer chromedp.Cancel(ctx) call (I have tried both defer cancel() and defer chromedp.Cancel(ctx) with the same results).
What did you see instead?
One or more chromedp-runner* temp directories get left behind with the following structure:
❯ tree /private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner028516848
/private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner028516848
└── Default
    └── Cache
        └── index-dir
            └── the-real-index

❯ tree /private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner069103546
/private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner069103546
└── Default
    └── Session\ Storage
        └── CURRENT

❯ tree /private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner760816317
/private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner760816317
└── Default
    └── Session\ Storage
        └── 000003.log

❯ tree /private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner765244031
/private/var/folders/mc/b5bnhqzj05b67zv7chskx2zw0000gp/T/chromedp-runner765244031
└── Default
    └── Session\ Storage
        └── CURRENT

These don't take up a lot of space, but it would be nice if they would not get left behind.
I verified that there were no stray chrome / Chromium processes still running, so I don't believe these are leftovers from orphaned processes left running in the background.

I think I've resolved the issue in my local use-case by simply making all my chromedp invocations share/reuse a single context rather than creating new ones each time. This single context (and associated temp folder) seems to be getting cleaned up properly.

Can you provide a self-contained main.go file to reproduce this issue?

I'm no longer able to reproduce the issue, at least in the original way that I observed it back in March. The temp folders still accumulate while the program is running but all of the temp folders seem to get cleared away when the program exits. The temp folders are not cleared if the program is interrupted (e.g. via Ctrl + C), although I'm not sure if this is expected/intended behavior.
I believe this was indirectly fixed via c661502af30f396c892d1130af3fab7d73211faa but I'm not sure.
Test code:
package main

import (
	"context"

	"github.com/chromedp/chromedp"
)

func main() {
	for i := 1;  i<=10; i++ {
        ctx, _ := chromedp.NewContext(context.Background())
        defer chromedp.Cancel(ctx)

        chromedp.Run(ctx, chromedp.Tasks{
    		chromedp.Navigate("https://google.com"),
    		chromedp.WaitReady("html"),
    	})
	}
}

Is there a way to disable these temp folders from being created at all? We run this library on tens of thousands of agents deployed around the world and cannot always guarantee a graceful shutdown, nor do we have the ability to access the Windows temp folder to clear these folders manually.

I don't think that chrome can run without the user data directory. That said, you can specify the user data directory with chromedp.UserDataDir(), then chromedp won't create it (but chrome will write to the specified directory, and chromedp won't touch it). I'm not sure will this make it better for you.

Since the issue is not longer reproducible, closing.
Please file a new issue with a self-contained reproducer if it happens again.

Hi @ZekeLu ,
This is happening to me, when running constantly it ends up filling more than 50/100 gbs in the tmp directory, leaving my VPS without any memory left and breaking a lot of things. This doesn't happen in my other server running the same thing, not sure what are the reasons of this happening.
If you google "chromedp-runner" there are other people complaining too about the same.

@marcelo321 Thank you for the feedback! Have you tried 0.8.4? It has shipped the commit fb22a3c9e832e0d18aa3838298552563576a46c9, which hopefully will address the issue.

	"github.com/chromedp/chromedp"
)

and I already run the go get command to update it, should be set?

so I deleted the binary of my program and build it again apart from doing go get url to update chromedp, should I do anything else? sorry for the newbi question. is "github.com/chromedp/chromedp" imported ok?

Run go list -m github.com/chromedp/chromedp in the root of your module to get the version of chromedp. If you have run go get then it should have been upgraded to the latest version.
If you can reproduce the issue, please file a new issue with concrete information on how to reproduce it.


How can we get bigger rate limit?

We are building real estate project and want to have transit data from transit.land integrated into our app. But we are faced that we are not able to that since after doing ~ 600-800 requests we got rate limit error.
We are trying to load the data for whole FL state in the USA (system, routes, stops and stops types)
What are required steps to avoid that limit?

@dmitrykinakh Transitland is currently run on donated servers and has constrained resources. Unfortunately, everyone has to stay within the rate limits for now.
Here are two ways to work within the rate limits:

whenever your code detects a 429 Too Many Requests response, retry the request after a delay. One technique for doing this is called "exponential backoff"
revise your code to limit its requests to a max of 6 per second (the Transitland API rate limit). Many HTTP request libraries have a throttling mechanism.

I'll close this issue now, but do feel free to reopen if you have further questions


Install part 2 IOS 12.1.2

Hi i Cant install it says [-] task_swap_mach_voucher returner 46: (os/kern) service NOT supported
Plz help me
Best regards Andreas

And when I just let it do it’s thing the app crashes

Having this issue as well on iPhone 7 Plus running 12.1.2 with unc0ver versions b29-b31 (I've tried them all). Please help. Thanks

Duplicate of #407 , so closing.


Improve reporting form

Add more correct frontend validation
Use an actual Date Picker (still needs better dark mode support)
Use actual loading state instead of setTimeout
Update label copy
Introduce concept of submitting author info after (not complete)
Add conditional logic for "Was released" field

Nice updates 👍


Switch to single watcher for new and cancelled builds

@jim-minter As you suggested.

Thanks @scoheb


Can we remove the UnauthorizedRedeemer error?

Is your feature request related to a problem? Please describe.
If the merkle proof and transaction is valid, why do we limit who can cancel a redeem request?
Describe the solution you'd like
Remove the requirement on cancel_redeem.

If the merkle proof and transaction is valid

On cancel redeem, there is no merkle proof. Not sure if you refer to another function?

why do we limit who can cancel a redeem request?

No other entity other than the user can decide if they want to be reimbursed or retry. If we open cancel_redeem to anyone, we open frontrunning that decision by Vaults and other parties.  So that is not a change that should be made.

 I think I was conflating execute_redeem with cancel_redeem.


USMBA add domain request

Request to add usmba.ac.ma to JetBrains' Universities list.

@gtronous I am sorry, the domain usmba.ac.ma is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Need help with Configuration

Hello, I have tried to set up authLDAP but unfortunately I cannot connect to the Ldap server
LDAP URI:
ldap://uid=username,cn=users,dc=company,dc=com:password@192.168.x.x/dc=company,dc=com
Debug is switched on unfortunately I cannot find Authdebug.log
Error Log:

[php:warn] [pid 78400] [client 192.168.x.x:62876] PHP Warning:  ldap_bind(): Unable to bind to server: Invalid DN syntax in /var/www/html/wp-content/plu>
[php:notice] [pid 78400] [client 192.168.x.x:62876] [AuthLDAP] LDAP authentication failed with exception: bind was not successfull: Invalid DN syntax, r>
[php:notice] [pid 78236] [client 192.168.x.x:62881] [AuthLDAP] User '' logging in
[php:notice] [pid 78236] [client 192.168.x.x:62881] [AuthLDAP] Username not supplied: return false
[php:notice] [pid 78239] [client 192.168.x.x:62906] [AuthLDAP] User 'test' logging in, referer: http://192.168.x.x/wp-login.php
[php:notice] [pid 78239] [client 192.168.x.x:62906] [AuthLDAP] about to do LDAP authentication, referer: http://192.168.x.x/wp-login.php
[php:notice] [pid 78239] [client 192.168.x.x:62906] [AuthLDAP] connect to LDAP server, referer: http://192.168.x.x/wp-login.php
[php:warn] [pid 78239] [client 192.168.x.x:62906] PHP Warning:  ldap_bind(): Unable to bind to server: Invalid DN syntax in /var/www/html/wp-content/plu><

Hey there.
Thanks for getting in contact. Could you provide me with the actual LDAP-URI? (replace sensitive data with x but please leave in special characters if that is possible)
As the error hints towards a problem with the DN syntax I suspect the part between the ldap:// and the :password to be the culprit.
If you do not want to post it here, feel free to send me an encrypted email to andreas [at] heigl [dot] org - find a GPG key at https://andreas.heigl.org/publickey/

Thanks for the replay her the URI is used
ldap://uid=logosldap,cn=users,dc=logos-gleisdorf,dc=at:Password@<IP_ADDRESS>/dc=logos-gleisdorf,dc=at

At first sight that doesn't look suspicious.
Could you perhaps also provide the remaining config? Screenshots should be OK

Hello I have found the problem it now has a connection to the server.
After I set "Do not authenticate existing WordPress-Users"
I was also able to log in via ldap
THX :)


add some more interfaces to BaseInterfaces.jl

This PR adds the start of AbstractSet, AbstractDict, and AbstractArray to BaseInterfaces.jl
Hopefully this will end with interface tests that help people write interfaces for these base types and
know they are correct and complete.
@gdalle thoughts or contributions to the cause would be appreciated!

Codecov Report

Merging #27 (addcfef) into main (74c4148) will decrease coverage by 0.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   81.95%   81.67%   -0.28%
==========================================
  Files           5        4       -1
  Lines         133      131       -2
==========================================
- Hits          109      107       -2
  Misses         24       24

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Wow, large effort! I'll try to review it in the coming days. Just wondering, did you check out other initiatives like https://github.com/JuliaArrays/ArrayInterface.jl?

Yeah, I've been following ArrayInterface for some years.
But ArrayInterface.jl really isn't the same as the base AbstractArray interface. As the docs say:

The purpose of this library is to solidify extensions to the current AbstractArray interface

(emphasis mine)
The idea in BaseInterfaces.jl is just to have a simple definitions of Base Julia interfaces as far as they are documented, or as used in Base where they are not documented. Its a test of Interfaces.jl capacity to represent a range of interfaces, and should be useful for people extending theses interfaces to have a predefined test suit for it. I'm not sure that the @implements declarations will actually be used or useful, but that's ok.
Of course, there will be some overlap in terms of traits as ArrayInterface.jl does include some traits for simple base interface things as well.

Feel free to ping me when this is more or less ready for review!

Any time really, feedback would be good. It will be a work in progress untul we register, so we can merge PRs as we go.

Okay cool, I'll try to take a look

Thanks for the feedback, I've implemented most of these and a bunch more. Also fixed up testing and display a lot and accidentally merged it here! But will merge as-is anyway and more can be added in another PR.


Fix include path

This adjustment to the patch should fix the issue seen in https://github.com/conda-forge/r-strawr-feedstock/pull/4.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

This worked locally so I will be investigating more now as to why this is failing in CI.  It seems $(substr \,/,$(LIBRARY_INC)) is just blank now which is definitely not what we want.


ServiceWorker objects and workers

Why are these not available in shared workers or dedicated workers?

Now they're exposed to workers. Closing.


Add CommandBufferBuilder::[Begin|End]Compute

In the last GPU for the Web we agreed that we should provide explicit bounds for compute vs. blit vs. render work.

@kainino0x this is done right?

Oh, yes, fixed in #70.


[testgrid] timeout and fail

when a test case runs too long, we should timeout and fail (upload the logs, etc)

Hi @marccampbell,
Thank you for raising it. This one is old and seems done already. See:

In this way, I am closing it. However, please feel free to re-open if you see that we still have this need and let us know what in your POV is missing.


log is not defined  Fails on nodejs v4.1.0  ... yet OK on v4.0.0

this error only happens on nodejs  v4.1.0     works fine on any previous node like v4.0.0
http-server
through https
/home/scott/node-v4.1.0/lib/node_modules/http-server/bin/http-server:118
log('\nAvailable on:'.yellow);
^
ReferenceError: log is not defined
at Server. (/home/scott/node-v4.1.0/lib/node_modules/http-server/bin/http-server:118:5)
at Server.g (events.js:260:16)
at emitNone (events.js:67:13)
at Server.emit (events.js:166:7)
at emitListeningNT (net.js:1257:10)
at doNTCallback1 (node.js:418:9)
at process._tickCallback (node.js:340:17)
at Function.Module.runMain (module.js:477:11)
at startup (node.js:117:18)
at node.js:951:3
installed just now using
npm install -g http-server
as per its package.json
"name": "http-server",
"version": "0.8.2",
node --version
v4.1.0
ubuntu 15.04

I'm getting it on 0.12.x and 0.10.x as well. Could it be a change in the dependency chain

Nope. It's https://github.com/indexzero/http-server/commit/352ee1c23c35f36c5d1163b216f18d4548d48fa7 which renames the log function to logger.

This was fixed. Please update.

sweet - all ship shape - keep up the good work
cheers


FCN trained on cityscapes

Hi Mcordts,
Because I want to make a test on the FCN and I find you have trained the FCN on cityscapes in the page of the official benchmark suite ,  I want to ask you whether the model still keep.
If yes, can you release the model?
Thank you!

Hi,
unfortunately, I cannot release the model.
Best,
Marius
2016-10-15 11:53 GMT+02:00 B.C Tsai<EMAIL_ADDRESS>
Hi Mcordts,
Because I want to make a test on the FCN and I find you have trained the
FCN on cityscapes in the page of the official benchmark suite , I want to
ask you whether the model still keep.
If yes, can you release the model?
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mcordts/cityscapesScripts/issues/12, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AJFqlp_6F3vQ6b4E5by_eO_QhAx6wR9Qks5q0KKQgaJpZM4KXqje
.

Hi Mcordts,
Did you train the FCN on cityscapes-dataset with balanced weighting for classes?
Thanks.

Hi,
I did not use weight balancing.
Best,
Marius
2016-11-01 6:42 GMT+01:00 nitahhhh<EMAIL_ADDRESS>
Hi Mcordts,
Did you train the FCN on cityscapes-dataset with balanced weighting for
classes?
Thanks.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mcordts/cityscapesScripts/issues/12#issuecomment-257493301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJFqlnu72_AyiwbFqS5H7brPAjMugqzfks5q5tE_gaJpZM4KXqje
.

Hi Mcordts,
I have tried to train by FCN but the performance was not as good as yours.
Can you share some parameters  such as learning rate.
Thanks.
BR,

Hi,
did you check the parameters and training details that are in the paper,
especially in the supplementary material?
The learning rate was 2.38e-11 with an unnormalized cross entropy loss on
images with size 1024x1024. Note that we split the images into two halves
of size 1024x1234 each and ignored the overlap of 210 pixels in the loss.
Best,
Marius
2016-11-01 15:52 GMT+01:00 nitahhhh<EMAIL_ADDRESS>
Hi Mcordts,
I have tried to train by FCN but the performance was not as good as yours.
Can you share some parameters such as learning rate.
Thanks.
BR,
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mcordts/cityscapesScripts/issues/12#issuecomment-257586837,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJFqltd3zasozi4mQBnAV3QJ1V9rpPwbks5q51IVgaJpZM4KXqje
.

Hi Mcordts,
Cool.
Thank you very much！
BR.

Hi Mcordts,
When training using FCN on cityscapes, was the same learning rate used for the experiment when the images were downscaled by a factor of 2?
Additionally, have you considered training Cityscapes using the "at-once" FCN-8s architecture? I believe this was not released at the time of the paper, but was just wondering your thoughts.
Best regards,
Cody Reading


Would you please increase the extension dependency to 0.5.0?

Hello, can you increase the dependency on extension to 0.5.0? The pdf package I am using conflicts with yours. But I really want to use your bag. Thank you very much.
Resolving dependencies...
Because pdfx >=2.0.1+3 depends on extension ^0.5.0 and flutter_mongodb_realm 2.2.0 depends on extension ^0.4.0, pdfx >=2.0.1+3 is incompatible with flutter_mongodb_realm 2.2.0.
And because no versions of flutter_mongodb_realm match >2.2.0 <3.0.0, pdfx >=2.0.1+3 is incompatible with flutter_mongodb_realm ^2.2.0.
So, because xxx depends on both flutter_mongodb_realm ^2.2.0 and pdfx ^2.3.0, version solving failed.
pub get failed

@jiankun-ks  you can use the dependency_override for now


installing Paypal latest version give MySQL errors

Describe the bug and add screenshots
when i try to install the module in debug mode i get this error
Eccezione lanciata dal modulo paypal su reset. Errore durante la reimpostazione del modulo paypal. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `pr_paypal_webhook` MODIFY `id_state` INT(10) SIGNED NOT NULL' at line 2pr_paypal_webhook

ALTER TABLE `pr_paypal_webhook` MODIFY `id_paypal_order` INT(10) SIGNED NOT NULL;
ALTER TABLE `pr_paypal_webhook` MODIFY `id_state` INT(10) SIGNED NOT NULL;

if i try to enter the module configuration i get this error:

Expected behavior
usually after installation i can configure the module without problems
Steps to reproduce

activate DEBUG
intall paypal v5.7.4
after a while the installation fails with popup error
try to edit the ocnfiguration of the module and the controller AdminPaypalSetup is missing or invalid.

PrestaShop version(s) where the bug happened
<IP_ADDRESS>
PHP version(s) where the bug happened
php7.4

The error arrived because of 'COLLATE=DEFAULT' during table creation here:
https://github.com/202-ecommerce/paypal/blob/develop/vendor/ppbtlib/src/Db/DbTable.php#L97
You can try to remove the using collate there and table will be created.
(This is strange because others tables were created without error although COLLATE=DEFAULT was used)

Uninstalling the module then removing all tables with the name "%paypal%" and installing again the module made the fix for me.

PR available #175


Sync 1.2.x with 1.2.3 release

Purpose
$subject.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[x] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23101 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #23101   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 5eaac94...5593d4b. Read the comment docs.


Can't launch mgr container with env var MGR_DASHBOARD=1

see comment here

Hum, AFAIR the container is always run by root so the script execution shouldn't be a problem. Only the ceph process runs as 'ceph'.

BTW, in 12.1.2 or later version. I have to enable mgr module for showing the dashboard. http://docs.ceph.com/docs/master/mgr/dashboard/#enabling

@mkkie thanks for the pointer!


Don't show packages containing PRIVATE or DEPRECATED in description in search results

@lucacasonato I wold like to pick this up.

We have instead opted to not show packages that are "archived" instead.
Additionally, packages whose description starts with INTERNAL is also not shown in search.


spirv-opt complains about dead branch elimination not having been performed when it has

This archive contains the files necessary to reproduce the issue.
minified.spv was generated from minified.frag using glslang version 7.10.2904.
Running:
spirv-opt --eliminate-dead-branches --merge-return minified.spv -o temp.spv
leads to this error:
error: line 0: Module contains unreachable blocks during merge return.  Run dead
branch elimination before merge return.
Looks like an incorrect error as the order of flags has dead branch elimination before merge return.
Version of spirv-opt used:
SPIRV-Tools v2018.6-dev v2018.5-66-gab45d691
Found using GraphicsFuzz

Fixed by #1983.  Typo in the comment for that commit did not link it to this issue correctly.


ProjectionExpression works with table.scan()

Ability to use ProjectionExpression with dynamodb.scan().
ProjectionExpression is not implemented for table.scan() but is for table.query() - took the majority of my inspiration for this from the query function.
#1491

Coverage decreased (-0.1%) to 92.836% when pulling e50ce7287dedabdb477e726d2289ff0e17e97189 on IVIURRAY:bugfix/scan-projection into 2275c53b3e4c6d21bc3de6d2dee9a02bad7a3491 on spulec:master.

Looks great; thanks!


Bump ecowitt2mqtt to 2022.07.7

Describe what the PR does:
This PR bumps ecowitt2mqtt to 2022.07.7.
Does this fix a specific issue?
N/A
Checklist:

[x] Update README.md with any new documentation.
[x] Update CHANGELOG.md with any new documentation.

hey! just updated to the newest version, 2022.07.7 and I see some errors :)

Jul 31 18:00:11 raspberrypi systemd[1]: Started ECOWITT2MQTT daemon.
Jul 31 18:00:11 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:11,927 | uvicorn.error | INFO | Started server process [891]
Jul 31 18:00:11 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:11,928 | uvicorn.error | INFO | Waiting for application startup.
Jul 31 18:00:11 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:11,929 | uvicorn.error | INFO | Application startup complete.
Jul 31 18:00:11 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:11,930 | uvicorn.error | INFO | Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
Jul 31 18:00:14 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:58978 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:00:15 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:15,510 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
Jul 31 18:00:20 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:56855 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:00:20 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:00:20,542 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
.
.
.
.

Jul 31 18:01:11 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:56859 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:01:11 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:01:11,552 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
Jul 31 18:01:22 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:58983 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:01:23 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:01:23,517 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
Jul 31 18:01:28 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:56860 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:01:28 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:01:28,571 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
Jul 31 18:01:39 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:58984 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:01:40 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:01:40,536 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
Jul 31 18:01:45 raspberrypi ecowitt2mqtt[891]: INFO:     <IP_ADDRESS>:56861 - "POST /data/report HTTP/1.1" 204 No Content
Jul 31 18:01:45 raspberrypi ecowitt2mqtt[891]: 2022-07-31 18:01:45,548 | ecowitt2mqtt | INFO | Published to Home Assistant MQTT Discovery
pi@raspberrypi:~ $

its calling some IP addresses that I never seen before?

@Anto79-ops That's information from Uvicorn – they chose a poor name for their default logger (error). Nothing to be concerned about.

Fantastic! thanks for explaining that.
Just curious, what are these extra lines here in the output? At first I thought they were the IP addresses of my gateways, but, I just checked that they are not in the WS View app.
INFO: <IP_ADDRESS>:56881 - "POST /data/report HTTP/1.1" 204 No Content
INFO:     <IP_ADDRESS>:59003 - "POST /data/report HTTP/1.1" 204 No Content

Actually 138 is one of my Gateways, but not sure what the other IP addresses.

Those are gateway IPs. Unless you've set static IPs for them, they'll have new ones when they disconnect/reconnect to your network.

Thanks! Ok good to know, just when I see new output lines compared to just the regular published to mqtt HASS line, just wanted to double check!
Cheers

thanks again @bachya for being a responsive and creative developer.

Much appreciated, @Anto79-ops!


Terminate the workflow upon LocalOperatorException

Previously, when a workflow runs into an exception during runtime, it will send back the exception and the current tuple to the frontend, and let the frontend decide to skip the tuple / change the logic and resume. However, this behavior confuses the user, and the resume logic might be hard to perform, so the workflow might be better in the terminated state instead of paused state.
This PR removes this logic and terminates the workflow upon receiving and reporting LocalOpeartorException to the frontend.

closing this PR as we are moving to improve this pause and change logic feature with Python UDF V2.


Failed to run the app on Linux Ubuntu 22.04

Hi @MartinHelmut ,
first, thanks for this repo. I'm learning how to develop with ImGui on Linux now.
Preparing a custom font in CMake for ImGui app is quite complicated.
I did git clone and run these commands
cmake -B build
cmake --build build -j

and if I run the app, it returns segmentation fault.
$ build/src/app/App
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
Segmentation fault (core dumped)

Preamble
Hey, you're welcome! It indeed can be a challange :) Regarding building this repository. The SDL3 version of this template still needs some love to really get going. I'm working on a PR to get everything in place. There is also a more stable version of this template using SDL2 here: https://github.com/MartinHelmut/cpp-gui-template-sdl2
Details
Regarding building on Linux: Did you try as suggested in the Quick Start Guide to explicitly set build parameters (e.g. using Ninja for a debug build)?
For me to properly debug I'd love to get some more information from you. E.g.: What Linux are you using in what version? What is your current CMake version? What build tool is installed?
Also, seeing that this is triggered by the address sanitiser, you could try to comment it out. The code for this is here: https://github.com/MartinHelmut/cpp-gui-template-sdl3/blob/main/cmake/StaticAnalyzers.cmake#L16

Thanks @MartinHelmut for the fast reply!
Yes, commenting out that sanitizer cmake block solves the issue. :+1:
I use Ubuntu 22.04, and it has CMake version 3.22.1. I don't use Ninja, just plain CMake with those two commands for building the code.


Intrinsics Request

I am building a point cloud with the Oak-D Lite using the ppx and ppy found in the getCameraIntrinsics.  I have substituted approximate values for fx and fy because I cannot find them.  Can you point me to an interface that can provide fx and fy?  Or build one in a future version of the software.

I'll need @saching13 's help on this.

I'll need @saching13 's help on this.

I found fx and fy in the calibration_util.py.  Thanks for your patience.

Hello @bobdavies2000 ,
fx and fy in the calibration_util.py is only used in calibration routine.
So when using getCameraIntrinsics to fetch the intrinsic matrix we follow the default intrinsic matrix arrangement as in OpenCV. So fx will be at position (0.0) of the matrix and fy would be at (1,1)

Thanks for the details, saching13.  The numbers didn't look right to my untrained eye when I first saw the 3X3 array but the 3X3 matrix is working now.  OpenGL confirms the translation is correct.


Create Struct.sol

Description
Please include a summary of the change and which issue is fixed.
Fixed #36
Type of change

[x] Add a new project

Domain of Contribution

[x] Project using only Solidity

[x] Project Test on the Remix IDE

Checklist ✓

[x] I'm SSOC'22 contributor

Screenshots/Gif (Recommended)

I will add the readme file later.

@TripathiShyaamal  update  your branch to the latest

I have updates the branch to latest

Is there anything more or do I need to raise the PR again ?

@TripathiShyaamal update  branch to the lastest

@TripathiShyaamal Create  a readme file for this also ...

@TripathiShyaamal   why u are rasising the Same P.R twice ?


Fix #17 issue, adding ObservableApplicationVersion class, changing Ap…

@ajnelson-nist I changed the Bundle class in core module, by defining a new "property" self["uco-core:UcoInherentCharacterizationThing"] = [] and adding the append_to_uco_inherent_characterization_thing(self, *args) method. Therefore instead of defining the super classes (UcoThing and UcoInherentCharacterizationThing) I thought that the changes I made could be a simpler solution. If you think it would be better to adopt another solution let me know, I will gladly do so!

@ajnelson-nist A slightly better solution would be to avoid the statement:
self["uco-core:UcoInherentCharacterizationThing"] = []

and change the append_to_uco_inherent_characterization_thing method like this:
if not self.get("uco-core:UcoInherentCharacterizationThing"):
            self["uco-core:UcoInherentCharacterizationThing"] = []

        self._append_observable_objects(
            "uco-core:UcoInherentCharacterizationThing", *args
        )


BuildKit secret mounts broken with userns-remap

I'd like to give a heads up on an issue we encountered today.  We updated to v5.3.1 and noticed  few docker builds started failing with :
 mounting "/var/lib/docker/2000.1001/tmp/buildkit-secrets304880198/mbwwfxmy2aaj4v3czozn8295w" to rootfs at "*******" caused: stat /var/lib/docker/2000.1001/tmp/buildkit-secrets304880198/mbwwfxmy2aaj4v3czozn8295w: permission denied

This issue seems related to the following bug in buildkit:
https://github.com/moby/buildkit/issues/2087
Prior to the update, we had docker 20.10.4 on our hosts and didn't run into any issues. the bug seems present in either docker 20.10.5 or 20.10.6 which impacts the recent release of elastic-ci-stack v5.3.0

Argh, that's a bummer. Thanks for flagging it.
Hopefully if it's a bug that was introduced in a 20.10.x release, then a fix might also arrive in an upcoming 20.10.x release and we can bump the version bundled into the stack.
Is this a blocker for you upgrading to stack v5.3.x?

I am having a similar issue. I can reproduce it by running the following command:
docker buildx build --ssh default .
With the following in the Dockerfile:
#syntax=docker/dockerfile:1
FROM debian:latest
RUN apt-get update && apt-get install -y openssh-client
RUN --mount=type=ssh ssh -T<EMAIL_ADDRESS>
The following workaround in the agent bootstrap script works for me.
sudo chown buildkite-agent:buildkite-agent -R /var/lib/docker/2000.1001
There is a prerequisite that if a user other than dockerremap is specified, then you need to ensure that the user has access to the appropriate directory under /var/lib/docker/.
The workaround works for me, because on the instances of buildkite agent /var/lib/docker/2000.1001 was owned by root. I am not comfortable that this is the correct approach though.

Overwriting /bin/runc with  runc version 1.1.0  seems to make this issue go away


Output an npz file with 20 mutation probabilities

Hi Justas, many thanks for your positive update!
Can ligandMPNN output an npz file similar to ProteinMPNN to obtain the mutation probability of each site?

Hey! It's not available at the moment, but I can easily add this functionality if it's useful.

Yes, I am interested in testing the correlation between the predicted values from ligandMPNN and experimental values. So the mutation probabilities might be very useful. I am looking forward to seeing your code update regarding this matter.
---- Replied Message ----
| From | Justas @.> |
| Date | 01/25/2024 12:43 |
| To | @.> |
| Cc | Ke-Wei<EMAIL_ADDRESS>|
| Subject | Re: [dauparas/LigandMPNN] Output an npz file with 20 mutation probabilities (Issue #2) |
Hey! It's not available at the moment, but I can easily add this functionality if it's useful.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

You can get mutation probabilities by running:
python score.py \
        --model_type "ligand_mpnn" \
        --seed 111 \
        --single_aa_score 1\
        --pdb_path "./outputs/ligandmpnn_default/backbones/1BC8_1.pdb" \
        --out_folder "./outputs/single_aa_score_w_seq" \
        --use_sequence 1\
        --batch_size 1 \
        --number_of_batches 10

This script will output a dictionary per input PDB. The value you are looking for is called out_dict["mean_of_probs"] which will have probabilities for every residue and every amino acid.

Thanks！
---- Replied Message ----
| From | @.> |
| Date | 02/20/2024 12:37 |
| To | @.> |
| Cc | Ke-Wei<EMAIL_ADDRESS>|
| Subject | Re: [dauparas/LigandMPNN] Output an npz file with 20 mutation probabilities (Issue #2) |
You can get mutation probabilities by running:
python score.py
--model_type "ligand_mpnn"
--seed 111
--single_aa_score 1
--pdb_path "./outputs/ligandmpnn_default/backbones/1BC8_1.pdb"
--out_folder "./outputs/single_aa_score_w_seq"
--use_sequence 1
--batch_size 1
--number_of_batches 10
This script will output a dictionary per input PDB. The value you are looking for is called out_dict["mean_of_probs"] which will have probabilities for every residue and every amino acid.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

It should work now with:
python score.py \
        --model_type "ligand_mpnn" \
        --seed 111 \
        --single_aa_score 1\
        --pdb_path "./outputs/ligandmpnn_default/backbones/1BC8_1.pdb" \
        --out_folder "./outputs/single_aa_score_w_seq" \
        --use_sequence 1\
        --batch_size 1 \
        --number_of_batches 10

This script will output a dictionary per input PDB. The value you are looking for is called out_dict["mean_of_probs"] which will have probabilities for every residue and every amino acid.


Mavlink version control per instance

It would be helpful to have more granular control over which version of mavlink is going over which stream, i.e. telem 1 as Mavlink v2, telem 2 as Mavlink v1, etc. This is simply to give specific control over things you may want to integrate in. Something parameter based makes the most sense. I imagine you could achieve this from command line or startup script but this would be easier overall.
@dagar

I'll update the existing MAV_PROTO_VER to be per parameter like MAV_x_MODE, MAV_x_RATE, etc.
MAV_PROTO_VER -> MAV_x_PROTO_VER

That would be great! Thanks

i have flight data from from pixhawk in the for
mate have ulg. that  formate how can convert excel please explain detail

Hi, it would be great to stop specific instance. Now there is only the 'mavlink stop-all' command which stop all instance.

Did this ever get any movement? Or is there a workaround?


3/24 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/vmss.pycliyml
:white_check_mark:Succeeded
View

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


Subtitles working with external URL example please? Code pen

Can someone share a codepen where subtitles from a dropbox or URL stored somewhere on the internet work with this player? Can't seem to be able to get the subtitles to work, and the example shows a subtitle file stored locally.

This should help: https://github.com/cookpete/react-player/issues/443#issuecomment-405489748


SWIFT 4 issue - Type 'UIImageView' does not conform to protocol 'DisplaceableView' URGENT !!!

Please help me - its urgent - my whole project got stuck with this.
Type 'UIImageView' does not conform to protocol 'DisplaceableView'

Have you updated to 3.8.0?

I think update to the latest version should be able to solve this issue.

I updated the pods still showing same error .. why ? Please help

URGENT !!!!!

I updated the pods still showing same error .. why ? Please help
[image: screen shot 2017-10-16 at 10 41 04 am]
https://user-images.githubusercontent.com/1187989/31596219-af94ef68-b25e-11e7-9c8e-dc02a2ccc0b8.png
[image: screen shot 2017-10-16 at 10 41 28 am]
https://user-images.githubusercontent.com/1187989/31596221-b1e41514-b25e-11e7-8de8-9c0bc3adcfdb.png
On Sat, Oct 14, 2017 at 2:02 PM, Bannings<EMAIL_ADDRESS>wrote:

Closed #390
https://github.com/zhangao0086/DKImagePickerController/issues/390.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zhangao0086/DKImagePickerController/issues/390#event-1293327389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIgleGAhe8lbvmaQCS4UHYpDuQrtXLlks5ssHGygaJpZM4P4Dex
.

Please check your Podfile.lock to see the actual version is used:

Its showing 3.8.1.
Please help on that.

@smartsidd Is your main project development based on Swift4? Looks like your project settings are Swift4, but used syntax is old.

@zhangao0086 whats syntax or code to use in swift 4. please help me on that

Can you post your CustomGroupDetailImageCell.swift here?

//
//  CustomGroupDetailImageCell.swift
//  CaraMaps
//
//  Created by Siddhartha DEB on 2017-04-26.
//  Copyright © 2017 Jérémy Peltier. All rights reserved.
//
import UIKit
import DKImagePickerController
class CustomGroupDetailImageCell: DKAssetGroupDetailBaseCell {
class override func cellReuseIdentifier() -> String {
    return "CustomGroupDetailImageCell"
}

override init(frame: CGRect) {
    super.init(frame: frame)

    self.thumbnailImageView.frame = self.bounds
    self.thumbnailImageView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
    self.contentView.addSubview(self.thumbnailImageView)

    self.checkView.frame = self.bounds
    self.checkView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
    self.contentView.addSubview(self.checkView)
}

required init?(coder aDecoder: NSCoder) {
    fatalError("init(coder:) has not been implemented")
}

override var thumbnailImage: UIImage? {
    didSet {
        self.thumbnailImageView.image = self.thumbnailImage
    }
}

fileprivate lazy var thumbnailImageView: UIImageView = {
    let thumbnailImageView = UIImageView()
    thumbnailImageView.contentMode = .scaleAspectFill
    thumbnailImageView.clipsToBounds = true

    return thumbnailImageView
}()

fileprivate lazy var checkView: UIImageView = {
    let checkView = UIImageView(image: DKImageResource.blueTickImage())
    checkView.contentMode = .center

    return checkView
}()

override var isSelected: Bool {
    didSet {
        if super.isSelected {
            self.thumbnailImageView.alpha = 0.5
            self.checkView.isHidden = false
        } else {
            self.thumbnailImageView.alpha = 1
            self.checkView.isHidden = true
        }
    }
}

}

Please help on that .. waiting for you response brother..,

@smartsidd Could you share your project?

yes in your gmail. i sent. please check

Please check your<EMAIL_ADDRESS>- I sent dropbox link for whole project

Hi @smartsidd This issue happens because your protocol DisplaceableView not compatible with Swift4. To fix this, simply rename hidden to isHidden and func convertPoint(_ point: CGPoint, toView view: UIView?) -> CGPoint to func convert(_ point: CGPoint, to view: UIView?) -> CGPoint:
public protocol DisplaceableView {

    var image: UIImage? { get }
    var bounds: CGRect { get }
    var center: CGPoint { get }
    var boundsCenter: CGPoint { get }
    var contentMode: UIViewContentMode { get }
    var isHidden: Bool { get set }

    func convert(_ point: CGPoint, to view: UIView?) -> CGPoint

}

The remaining questions are probably pretty simple to solve.

You can stop the file sharing.


{Role} az role assignment create: Show warning when scope defaults to subscription

Description
Similar to #20965
A temporary warning for #24753
For az role assignment create, --scope defaults to the subscription. Without explicit consent from the user on the --scope, this behavior is considered Elevation of Privilege.
This PR adds a warning if --scope is not specified:
> az role assignment create --assignee 5963f50c-7c43-405c-af7e-53294de76abd --role Reader --resource-group clitest.rgizxewh7npwdc63xpadmmi73hvq5ftcza2acf5wiyulxnjy5fgujpvvqll63kndkru
Starting from Azure CLI 2.47.0, --scopes argument will become required for creating role assignments. Please explicitly specify --scopes.
{
  "canDelegate": null,
  "condition": null,
  "conditionVersion": null,
  "description": null,
  "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/clitest.rgizxewh7npwdc63xpadmmi73hvq5ftcza2acf5wiyulxnjy5fgujpvvqll63kndkru/providers/Microsoft.Authorization/roleAssignments/3a36df35-93c4-4e5b-b605-61e9f9a0f1fc",
  "name": "3a36df35-93c4-4e5b-b605-61e9f9a0f1fc",
  "principalId": "5963f50c-7c43-405c-af7e-53294de76abd",
  "principalName"<EMAIL_ADDRESS>  "principalType": "User",
  "resourceGroup": "clitest.rgizxewh7npwdc63xpadmmi73hvq5ftcza2acf5wiyulxnjy5fgujpvvqll63kndkru",
  "roleDefinitionId": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7",
  "roleDefinitionName": "Reader",
  "scope": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/clitest.rgizxewh7npwdc63xpadmmi73hvq5ftcza2acf5wiyulxnjy5fgujpvvqll63kndkru",
  "type": "Microsoft.Authorization/roleAssignments"
}

Even if --resource-group or --subscription is specified, we still show this warning because as described in #24753, we may drop --resource-group and --subscription, so --scope should always be used as the unified, all-in-one argument for specifying the role assignment scope.

We will also need to refine the conceptual doc: https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli


Obfuscate json body fields using json path or json pointer

I would like to propose a new change to allow to obfuscate json body fields by specifying a json pointer such as /child/elem
Detailed Description
I am proposing a new change so that we can provide the following configuration
logbook:
  obfuscate:
    json-body-fields:
      - /user/name/
    replacement: ZZZ

Which will obfuscate the following payload without issues
{
  "user": {
    "name": "karim"
  },
  "resource": {
    "name": "resource name"
  }
}

Into
{
  "user": {
    "name": "ZZZ"
  },
  "resource": {
    "name": "resource name"
  }
}

Context
This change is useful because currently we are only able to obfuscate by providing name of the field without context about its location so for example we obfuscate all fields with name name instead of only obfuscating the /user/name
Possible Implementation
Changing the implementation of JacksonJsonFieldBodyFilter::filter to JacksonJsonFieldBodyFilter - L63
if (nextToken == JsonToken.FIELD_NAME && fields.contains(parser.getParsingContext().pathAsPointer().toString())) {

Your Environment

Version used: 3.5.0

by specifying a json pointer

I'm not sure a JSON Pointer is the right tool here. A JSON Pointer will always uniquely identify a single node within the JSON tree. As soon as you have arrays you end up in a situation where you can't say something like /users/*/name.
More powerful, for this use case, is JSON Path - for which Logbook already has support: https://github.com/zalando/logbook#jsonpath-body-filtering-experimental


[Feature Request] Add "include" another config file support in JSON config file

Let's say we have a config file which enable TCP, KCP and WebSocket in transport config part.
If we wannt to remove TCP transport support, we have to remove/comment the entire "tcpSettings". Next time if we wannt to add it back, we have to edit the same file again to add/uncomment the "tcpSettings", that is a lot of work if we have dozens of v2ray server/client config file to edit.
It is nice to have "include" feature support in v2ray config file like nginx, dnsmasq etc. So that we can put the common config text or one machine-spesific config text into another config file, and "include" this file in global config.json.
And some of the config require the same configuration in client and server side to make it work like tcpSetting with HTTP header, it is a little hard to maintaining the same common config part in both client.conf and server.conf.
This should make the config file look like this:
Server Side:
{
    "include":
    [
        "outbounds.conf.json",
        "inbounds.conf.json",

        // Chose TCP header as HTTP
        //"transport.tcp.none.conf.json",
        "transport.tcp.http.conf.json",

        // Uncomment this line to add VPS in US spesific config
        //"us.vps.conf.json",
        "jp.vps.conf.json"
    ]
}

Client Side:
{
    "inbounds":
    {...},
    "outbounds":
    {....},

    "include":
    [
        // Chose TCP header as HTTP
        //"transport.tcp.none.conf.json",
        "transport.tcp.http.conf.json",

        // Client Spesific Config Gose Here
        "raspberrypi.conf.json"
    ]
}

Moreover, the v2ray can automatic include each json file in this directory: /etc/v2ray/config.d/*.json
Similar feature request issue can be find here: #1567

see https://github.com/v2ray/v2ray-core/pull/2154

@kslr Oh, I see. I will keep this issue opened until that PR merged.


Removed slice web env database url

This PR removes slice database url in .env files.
when you create a new application WEB_DATABASE_URL is no longer generated.

@AlfonsoUceda Thank you :+1:


Implement Get and List and other improvements

This PR:

Implements the new Get and List docker volume driver methods
Refactors Longhorn significantly
makes some other small changes/fixes

Addresses:

https://github.com/rancher/rancher/issues/3568
https://github.com/rancher/rancher/issues/3671

Overall looks good to me except the one I commented. Can merge it soon.

@yasker Your comment didn't go to a specific line, so I don't have context for it.

Agreed to put a TODO on the longhorn mountpoint issue and otherwise, @yasker said lgtm


Handle subdomains correctly

Fixes #10

Unfortunately it seems that the LE staging servers are currently having some issues, so I'm going to bypass the testing as it tested fine in my environment against LE prod.


pdal-to-stac.py doesn't work out of the box with instructions given

I've followed the instructions in the file itself, but it's missing installing the conda packages gdal and the Python packages json, ogr and osr it seems. Installing gdal and json was not a problem, but I'm not 100% sure where to get the Python packages ogr and osr from. GDAL Python bindings?

Piling on here, once these are installed, pdal-to-stac.py fails when the files are not convertible to WGS84 by PROJ. This is not a point cloud issue, but is surprising when one tries to create a STAC metadata file from a COPC/LAZ file.

pdal-to-stac.py fails when the files are not convertible to WGS84 by PROJ. This is not a point cloud issue, but is surprising when one tries to create a STAC metadata file from a COPC/LAZ file.

Yeah, the script is pretty bare-bones. I'll add a note to https://github.com/stac-extensions/pointcloud/pull/10 that it's not meant for production usage, and point people to https://github.com/stactools-packages/pointcloud/ for more general-use "make STAC from a point cloud file" library?


resolve docstring error

For #364, seems most of the issues in 364 has been resolved.

Codecov Report

Merging #378 into 2.0 will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            2.0   #378   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        33     33
  Lines       979    979
===================================
  Hits        979    979

Impacted Files
Coverage Δ

matchzoo/engine/base_preprocessor.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


koord-scheduler: fix failed scheduling since missing CPUTopology

Signed-off-by: Joseph<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
If there are suitable resources in the cluster but some nodes do not have CPUTopology, the Pod cannot be scheduled.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Deploy koordlet on a subset of nodes in a cluster
Create a LSR Pod
Pod failed scheduling with the message running "NodeNUMAResource" filter plugin: node(s) CPU Topology not found

Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm
/approve


Support return commands from previous decision to save overhead of calling waitUntil

A lot of the waitUntil api is quite simple —- just return a static command request. For those cases, it’s more efficient to return them from the previous state decision

WaitUntilEagerly

The implementation will be similar to https://github.com/indeedeng/iwf/blob/34052f77457a0527984369c0e1757e8e1915ef88/service/interpreter/workflowImpl.go#L546


button.mdx file updated

Solved issue number #70
Button.mdx file updated

On each review, don't forget to click on the Resolve conversation button when you're done fixing it in order to be well organized! 😄

On each review, don't forget to click on the Resolve conversation button when you're done fixing it in order to be well organized! 😄

Ok Sure
I have done the changes
Please review and let me know if any changes required

There are still some reviews that remain unresolved, otherwise all is good for the rest bravo!
Ok
Thanks for reviewing

Thank you @maddy020, for your contribution, you helped us a lot, don't hesitate to give us a star ⭐ it will surely help us to become more popular! 🚀


detailed Windows install command or .bat script within readme.md

(so i can show my friends why to learn how to program)

pip install git+https://github.com/mov-cli/mov-cli this works on windows and on any different system with python installed


Improve grouping of configuration settings

This is a follow-up to #1020.
The asymmetry between the SMS settings and the Call Log settings makes it confusing for some users.
I suggest that the settings be re-arranged into sections:

SIM1, SIM2, etc
Share settings with other SIM

GMail settings
Obvious banner indicating which or both SIMs are being configured
choose account
Explanation that this only applies to calendars, and that IMAP will be needed as well
link & information about GMail XOAUTH being disabled
IMAP connection settings
Obvious banner indicating which or both SIMs are being configured
Protocol, host, port, username, password
Instructions on creating an app password
SMS settings
Obvious banner indicating which or both SIMs are being configured
Enable saving messages to IMAP/GMail?
↳ Choose Folder/Label
Explanation that "IMAP Folder" and "GMail Label" are the same thing
Call Log settings
Obvious banner indicating which or both SIMs are being configured
Enable saving calls to IMAP/GMail?
↳ Choose Folder/Label
Explanation that "IMAP Folder" and "GMail Label" are the same thing
Enable saving calls to Calendar?
↳ Choose Calendar
Call recording settings (proposed feature)
Obvious banner indicating which or both SIMs are being configured
Explanation this would arrange to attach an audio recording to the saved email message, and that this requires a separate app
Enable attachment of recordings?
↳ Path to an SSD directory (so, shared access) where other app deposits call recordings
↳ Filename pattern (eg, look for approximate timestamp in filename)
↳ Delay after call ends before checking for recording [default: 15 seconds]
↳ Remove files once uploaded?

Actions
button: backup now
button: restore now

Scheduling
incoming & outgoing initiation and retry timers;

Troubleshooting
links & information about adjusting power management

Where a device has only one SIM, the items underneath would be raised up a level. Obviously that's assumed until support for multi-SIM is added.

May I suggest that items not likely to be changed, should go near the end of the list, e.g.

Actions
button: backup now -> SIM1, SIM2 or both
button: restore now -> SIM1, SIM2 or both

Scheduling

Settings (even better: put them in a hamburger or cogwheel menu):

SMS settings
...
Call log settings
...
Call recording settings
...
IMAP settings
...
Calendar settings
...

The multi-SIM support could be done by tabs with a checkbox "Use settings from SIM x".
Just an idea ...

@sphh thanks for the suggestion; you have a good point.
I was aiming for putting them in the order that they would need to be configured, but maybe that could be achieved by hiding the settings that rely on other settings that haven't been entered yet.
Or just change the navigation between settings forms so that it's no longer a strict hierarchy, but rather a mesh of links, so that people can navigate it in whichever way makes the most sense to them.

Putting them in the order that they would needed to be configured is also a good idea. But isn't this, why many apps have a first-time configuration wizard which walks the user through the initial steps to get the app up and running?


Typing left square bracket '[' in Insert Mode on large markdown files with syntax on

Steps to reproduce

Have "syntax on" in .vimrc
Have a very long .markdown or .md file with lots of text in it
Enter Insert Mode by typing i
Type [ and observe that the cursor has not moved to the right of the newly typed [, but stays on top of the [ character.
If I typed [ at the end of a line, there is also no way to use right arrows in Insert mode or A or k in Normal mode to get to the other side of this character to type after it.
Additionally, I see several errors (not always all of them, sometimes only Error 1 and 2):
Error 1: E363: Pattern uses more memory than 'maxmempattern'
Error 2: 'redrawtime' exceeded, syntax highlighting disabled
Error 3: Error detected while processing CursorMovedI Autocommands for "*"..function <SNR>18_Highlight_Matching_Pair[135]..CursorMovedI Autocommands for "*"..function <SNR>18_Highlight_Matching_Pair:
I dug into it a little and saw number 18 script is 18: /usr/share/vim/vim90/plugin/matchparen.vim
After the errors show up, they no longer show up for future [ typed during the vim session.

Expected behaviour
I expect to be able to simply type [ without any errors. Additionally, I expect that, after typing [, the cursor moves to the right instead of still covering the [ character. I expect to be able to use right arrows in insert mode as well as A or k to get to the other side of this character. If I get Error 2, then syntax highlighting is disabled and I am then able to type [ without a problem.
Version of Vim
9.0
Environment
macOS version - x86_64
Terminal: iTerm
$TERM: xterm-256color
Shell: bash
Logs and stack traces
No response

See also relevant StackExchange:
https://stackoverflow.com/questions/74035507/error-when-typing-left-square-bracket-in-vim-insert-mode-on-large-markdown-f

How long is a "very long" Markdown file?

Mine is a README.md that is 1357 lines long. I cannot verify this for other lengths, but have tried it on shorter .md files of 20 lines long and this could not be replicated. I cannot provide the exactly .md file here for IP reasons, but any .md file of similar length would cause this issue on my computer.

That's fine; just to have an idea so it can be reproduced; "very long" could mean 100,000 lines or something.
I can reproduce easily with a markdown file that's 3,240 lines long; with 1,311 lines it's a bit slow/awkward but no error.

The problem is markdownLinkText from syntax/markdown.vim; it doesn't really seem related to matchparen.  Running /!\=\[\%(\%(\_[^][]\|\[\_[^][]*\]\)*]\%( \=[[(]\)\)\@= from Vim also fails with that error.
Running :syn clear markdownLinkText should "fix" it for you so you can continue working; or at least, it does for me.
FYI @tpope

#6777

Can confirm that fixes it @tpope; can you send your changes to Bram? The current Vim runtime still has the old version, and it's been a few years since it was fixed.

closing in favor of #11358 then


OAuth2 authentication broken in my multiple-authentication setup from 2.0.6 onwards

I was attempting to update some of the libraries I was using, but when updating spring-security-oauth2, my front-end api calls all started showing as unauthenticated.
My api has multiple authentication so it can be called by web front end using authenticated sessions, and called from external clients using oauth2.
Stepping through versions one at a time, I found the issue occurred between 2.0.5 and 2.0.6.
I then stepped through the commits between 2.0.5 and 2.0.6. I found it first stopped working on commit c5d6f1f, which added a stateless flag. Looking at these changes, it was obvious that I would need to call resources.stateless(false) in my config. I did this, and it worked, however, when I tried with 2.0.6 it had stopped working again.
 Looking through this commit, and having found the above issue, the cause looked likely to be the addition of the line:
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)

to ResourceServerConfiguration (line 142).
Indeed, removing that line got it working for me again.
I might be missing something, but it seems to me that this should not be set to STATELESS if the stateless flag on the ResourceServerSecurityConfigurer is set to false.
As it seems this issue is still present in the latest release (two and a half years after the change was made), I'm wondering if I'm doing something else wrong, or if there is another setting I should be using, as I can't imagine I'm the only person trying to use this in a multi-authentication setup.

Ah, of course, calling http.sessionManagement().sessionCreationPolicy() in my configure() method, to set it to something other that STATELESS gets it working again.
It still doesn't quite seem right that setting the stateless flag to false doesn't, on its own, disable statelessness.


add codecov json format (support region testing)

Fixes #20

Does this look good?
https://github.com/andrewgazelka/cargo-llvm-cov/blob/ed1cb3a0263ba8759039a2bab0fb6cb8c45e8538/tests/fixtures/coverage-reports/real1/all.codecov.json#L1-L48

Looks like it works (at least somewhat?) https://app.codecov.io/gh/getcollective-ai/collective/tree/region-ci

also it works much better when testing in release mode

@taiki-e I rebased :)

Published in 0.5.12.


Token in filename

In version 4.5.1 the token %website% isn't working anymore. I used %website%/%id%.%ext% in Save > filename: Default to divide the files downloaded by different sources. If you are be so nice to get it back working it would be even better to make tokens work in Save: Folder as well.
Edit:
Possibly the same problem: Issue 530. So it wasn't the token after all, but the slash/backslash. But the suggestion to make tokens work under Save: Folder still stands.

Yeah it's definitely the slashes in the filename. Doing this worked in 4.4.1.

Moving to issue #530.
About the suggestion to allow tokens in the folder, I don't see the point. The folder is supposed to be the common root for all "filenames". Since we can (or at least should) use the tokens to create sub-directories using / (or \) in the filename, I don't see what allowing to use them in the folder add (feel free to tell me if you think otherwise though).


Add the ability to drop excessive aggregate event records

This PR adds the functionality to drop redundant AggregateEventRecord instances from the storage.
The "cleaning" occurs on per-AggregateStorage basis, dropping the records which occur before the Nth snapshot for each entity. It's also possible to clip all records older than some date.

@armiol PTAL.

@armiol PTAL again.

@armiol PTAL again.


pamixer: 1.4 -> unstable-2021-03-29

Motivation for this change
Bump pamixer to latest commit on git.
This brings some bugfixes (like a memory leak) and also some new features (like --get-default-sink, --set-limit).
Also add missing manpage.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

/marvin opt-in
/status needs_reviewer

Result of nixpkgs-review pr 139961 run on x86_64-linux 1

2 packages built:

nwg-panel
pamixer


bug: neovim opened in diff mode while having new plugin update opens the second file on the Lazy window

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-1969+g7f9fc2fbf
Operating system/version
CentOS 7.9 / Ubuntu 22
Describe the bug
When we change the lazy setup config to add a new plugin, and then open the editor with nvim -d <file1> <file2> , Lazy will start automatically updating the plugin in its "floating window" as expected. But right after that the <file2> will be opened in the same floating window instead of a separate split window after closing the floating window.
Steps To Reproduce

Open nvim in diffview with the isolated config (nvim -d <file1> <file2> -u test.lua)

Expected Behavior
Open the Lazy floating window showing the progress of plugin updates, closes the floating window when done.
Open <file1> and <file2> on two split windows
Repro
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    'dcampos/nvim-snippy',
})

Sorry, but it's easy enough to just restart your diff.
Closing as won't fix

This was frustrating to me too. I ended up doing this
init.lua
local args = vim.fn.argv()
if #args > 0 or vim.tbl_contains(vim.v.argv, "-c") or vim.tbl_contains(vim.v.argv, "-d") then
    DO_LAZY = false
else
    DO_LAZY = true
end

getlazy.lua (wherever you install lazy.nvim)

-- lazy options
...
    checker = {
        enabled = DO_LAZY,
...
...
    install = {
        missing = DO_LAZY


AMBARI-24240 Admin View: Dashboard link leads to login page

How was this patch tested?
Manually tested.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2971/
Test PASSed.


Add files via upload

Added "Hue White and Color Ambiance LED Outdoor Lightstrip (2m)" LST003 using the measuring script.

@holobeer I just noticed this PR when I did have a look into some insights of my repository for powercalc component.
However you have forked the repo from another fork and also targetted the PR on this other fork.
I don't get any notices about PR's on other repositories than the one I maintain.
I think you can retarget the PR to bramstroker/homeassistant-powercalc instead of adamphillips/homeassistant-powercalc by editing the PR.
Alternatively you can remove the fork, create a new one from https://github.com/bramstroker/homeassistant-powercalc and submit a new PR.


控制台有warning提示，ref使用不正确

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

Check the render method of `Item`.

Has anyone been keeping up with this discussion?

Could you please provide a reproduction and submit the issue to antd?

https://github.com/react-component/virtual-list/issues/195#issuecomment-1953557167
I created a new issue in antd

https://github.com/ant-design/ant-design/issues/47496#issuecomment-1953584557


Ignore Pydantic 'Field name "json" shadows an attribute in parent' warning

Every time user runs DataChain query they've got these warnings, in both CLI and Studio:
/Users/vlad/.virtualenvs/datachain/lib/python3.12/site-packages/pydantic/_internal/_fields.py:200: UserWarning: Field name "json" in "WDSAllFile" shadows an attribute in parent "WDSBasic"
  warnings.warn(
/Users/vlad/.virtualenvs/datachain/lib/python3.12/site-packages/pydantic/_internal/_fields.py:200: UserWarning: Field name "json" in "WDSLaion" shadows an attribute in parent "WDSBasic"
  warnings.warn(

It is noisy and looks suspicious. Also in parallel mode user gets multiple set of these warnings.
The reason why these warnings appears is in WDSAllFile and WDSLaion models we are using json field.
Pydantic BaseModel have deprecated json method, and it will be removed in Pydantic v3.
My suggestion is to suppress these two specific warnings until Pydantic v3 release.

Studio tests fails, not related to this PR.


Clear out free variables of a thunk on updating the value

Beyond the strong references held by local variables, another potential source of a memory leak is the free variables that a thunk holds on to after being evaluated. To fix this, a new method clear() should be defined in StgThunk that is invoked on updateWithIndirection that sets all the free variables to null to allow the GC to work. The default implementation should use reflection and we can have specialised implementations for thunks with between 1-6 free variables.

We should be careful about this actually:
If keepCAFs is true, we must hold onto the free variables at least for restoring the thunk into unevaluated state if the thunk is a CAF (StgIndStatic).

Implemented in the going-stackless branch.


Unable to validate configuration from Configuration and Server control

Home Assistant release with the issue:
0.96.5
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hassio Running on Raspberry Pi3
Component/platform:
Homeassistant
Description of problem:
I am missing the button check my configuration on the Configuration and server control page under settings.
This was working before.
Additional information:

See release notes for 0.96, Advanced Mode:
https://www.home-assistant.io/blog/2019/07/17/release-96/#advanced-mode


Implementation of Android's packed relocation format (APS2) displays offsets incorrectly

Describe the bug
When analysing an Android 11 (ARM32) shared object file (.so), the displayed relocation offsets within the AndroidElfRelocationTable in the .rel.dyn section (SHT_ANDROID_REL) appear to be incorrect. Specifically, this is evident when the relocation's group_flags has the value zero.
To Reproduce

Load an Android .so into Ghidra and allow auto-analysis.
Navigate to the .rel.dyn section
Expand the 'AndroidElfRelocationTable' and first 'AndroidElfRelocationGroup'
Verify that group_flags is zero
Calculate reloc_offset_0 manually (signed LEB128 decode) and compare to displayed value (DAT_xxxx)
The values will differ and subsequent displayed values will also be incorrect.

Expected behavior
The ReadOnlyDataTypeComponent (DAT_xxxx) labelled reloc_offset_N (where N is a 0-based index), should increase from an initial sleb128 encoded value, by a delta offset encoded in the next reloc_offset_N element. So in the example provided below, the value of reloc_offset_0 should be DAT_0004d004, but the displayed value is DAT_0009a008.
A secondary problem is that Ghidra uses a default image base of 0x10000. Ideally, the displayed value would account for this load bias so that auto-analysis can pick up any cross references. The reloc_baseOffset should account for this, but it remains at 0 - presumably the dynamic linker would modify this to reflect the load address, but I'm not sure what the best strategy for Ghidra would be (modify the binary or simply account for the current load address and add a comment to reflect this).
Screenshots

Attachments
N/A
Environment:

OS: Pop!_OS 21.04 (Linux)
Java Version: openjdk <IP_ADDRESS>
Ghidra Version: 10.0.3
Ghidra Origin: Official ghidra-sre.org distro

Additional context
Interestingly, the stored value of reloc_offset_N (as opposed to the displayed value), appears to be correct. The code responsible for creating the ReadOnlyDataTypeComponent can be found in the getAllComponents method of the AndroidElfRelocationGroup class.
As the internal model information appears correct, this could suggest that the local variable relocOffset should be passed as the 5th parameter to the ReadOnlyDataTypeComponent constructor instead of the sleb128.offset value (as shown below):
sleb128 = LEB128Info.parse(reader, true);
relocOffset += sleb128.value;
DataTypeComponent dtc = new ReadOnlyDataTypeComponent(
    new AndroidElfRelocationOffset(dataMgr, relocOffset), this,
	sleb128.byteLength, list.size(), sleb128.offset, "reloc_offset_" + i,
	null);
list.add(dtc);

Note: The 5th argument of ReadOnlyDataTypeComponent is the relative byte offset from the start of the containing AndroidElfRelocationGroup datatype.

I have identified and corrected various issues related to the ELF Android relocation markup.  I have also added missing support for ELF Arm32 RELR.   These changes are in review but will hopefully appear in Ghidra 10.1.  Ticket will close when changes have been pushed to master branch.

Fast work! Thank you


fix a refresh bug with sammy.js

fixes refresh bug by checking for /rural-or-underserved-tool/ and empty context.path
@jimmynotjim when pushing to dev and staging I noticed that it was auto-refreshing the /rural-or-underserved-tool/ path was being caught by sammy and redirecting.

👍


Opt-out number autocast (instead of opt-in)

Changing the compiler flag "number_autocast" to "no_number_autocast".
Ref: https://github.com/crystal-lang/crystal/pull/11431#issuecomment-983820698

I'm removing the breaking-change label since we don't really have evidence that it's actually breaking something.


node-sass 4.8.1 doesn't have linux download package https://github.com/sass/node-sass/releases/download/v4.8.1/linux_musl-x64-57_binding.node

Sorry. This is fixed now.


ServiceMonitor not working

Describe the bug:
ServiceMonitor is not getting created. Reason is capabilities check in the resource definition here:
https://github.com/cert-manager/cert-manager/blob/d53c0b9270f8cd90d908460d69502694e1838f5f/deploy/charts/cert-manager/templates/servicemonitor.yaml#L1
Issue is capabilities can only be checked during helm install and if using helm template to generate manifests that are applied, as we are doing with Argo plugin, ServiceMonitor will never get created.
Can we remove this check and leave it as:
{{- if and .Values.prometheus.enabled .Values.prometheus.servicemonitor.enabled }}

Expected behaviour:

prometheus.enabled: true and prometheus.servicemonitor.enabled: true creates ServiceMonitor.
Steps to reproduce the bug:

Run helm template with prometheus.enabled: true and prometheus.servicemonitor.enabled: true.
Anything else we need to know?:
Environment details::

Kubernetes version:
Cloud-provider/provisioner:
cert-manager version:
Install method: e.g. helm/static manifests

/kind bug

FYI, helm template --api-versions will help you get the similar behavior against .Capabilities.APIVersions.Has

Yes, I think we'll need to revert that change. We (I) did not consider installation with GitOps tooling when merging that PR https://github.com/cert-manager/cert-manager/pull/4844

Awesome.

This should now be fixed in v1.8.1 https://github.com/cert-manager/cert-manager/releases/tag/v1.8.1


Add label for Input wrapper Blade components

Description
This pull request introduces labels for the Input Wrapper Blade component, as this is currently not supported. By clearly associating text labels with input fields, we enhance user experience, making forms more intuitive and easier to navigate.

Code style
Simply add the new label attribute to the <x-filament::input-wrapper> component.

[x] composer cs command has been run.

Testing

[x] Changes have been tested.

Documentation

[x] Documentation is up-to-date.

The label isn't the responsibility of the input wrapper component.
Instead, it's part of the field wrapper.
I'm not sure if it's currently possible to use the field wrapper as a Blade component instead of using Filament Forms, but you could give it a try.
If it doesn't work, I'm happy to review a PR that adds support for using it standalone. 🙂

In that case, wouldn't it make more sense to have the Field wrapper available as core component?


[v2] Child styling inside parent selector not applied

Version
2.0.0-4
Reproduction
http://www.webpackbin.com/4J6emfuFG
Steps to reproduce
This is the same issue as 481 but with any other selector. Styling like this worked on 1.4:
const List = styled.ul`
  .root-wrapper & {
    background-color: red;
    li {
      color: white;
    }
  }
`;

In this snippet we should be seeing white text on a red background, but the <li> elements are not being styled because of this possible bug.
Expected Behavior
Essentially, I would expect it to output CSS like this .root-wrapper ul li { color: white;} but it doesn't.

Yes it should yield .root-wrapper ul li { without using& li, patched upstream(stylis)

Any idea when we could get this into a new 2.0 release? @thysultan I assume you fixed the issue with stylis, right?

@seanevd Yes.

Will publish a new release soon!


Capture better load date representing data

Details
Currently the .sql script sets the ts value in osm.pgosm_flex table (by alter table ... add column ....  If a historic PBF is imported it still gets marked as today, requires manual UPDATE query post-import to fix.  Would be better to handle that during the initial processing steps instead of requiring an additional one.
Current best idea
Add check for env var PGOSM_DATE.  If not set, today's date would be the default.  Easy to implement, low overhead, easy to change later if desired.
Anticipated Steps

[ ] Add check for env var
[ ] Move ts creation to Lua
[ ] Implement default logic when env var doesn't exists
[ ] What else?

Other approaches considered
Look at the meta-data in the PBF for the latest dates, but files downloaded from Geofabrik public site (for one example) do not contain any timestamps.  Technically would be possible from files requiring login, but a) I don't want to do that, and b) this idea would likely add significant overhead to processing in one form or another.
For Geofabrik, could scrape the download page at time of download.  There is the text:

This file was last modified 1 day ago and contains all OSM data up to 2021-01-27T21:42:03Z. File size: 10.1 GB; MD5 sum: 1022690e4b7ab6b8529948b1e09d28f7.

Maybe this can be added on later (add on to the ENV VAR idea?) as a bonus.  As an initial implementation, it ties this project to Geofabrik downloads.  Not good for historic, not good for other sources of OSM data.

Storing a full timestamp doesn't make sense.  Using date instead.

Storing a full timestamp doesn't make sense.  Using date instead.

Resolved via #69

Resolved via #69


More on Debian packaging

The lintian error on standard version 4.6.1 being the latest is wrong, the Debian policy changed more quickly than lintian :)
Extended the description of the package, please kindly proofread(+extend/fix?) that.
The changelog now got a ref to an ITP (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027457) that I submitted earlier today. From Debian's perspective all releases that have not made it to the official channels are unreleased. I changed d/changelog accordingly, but this may not be what you want.
Concerning the firmwares I like to see them moving to another place. The same holds for the PDFs, I think. I am just uncertain if too many people are unhappy when they have only a single Ethernet slot and just connected the Mesa card to it when they then learn that some file is missing.

I'm adding instructions in the manual on how to download and install firmware if the user does not have an internet connection on the machine.
Thanks
JT


Implement Jitsi Meet Remote control in Rocket.Chat.Electron

Hello!
As I see, jitsi-meet-electron is the only client, that supports Remote Control feature in Jitsi Meet call.
I think it would be very useful for a lot of Rocket.Chat with Jitsi integrated users if native desktop Rocket.Chat client could support that feature.
So, please Implement Jitsi Meet Remote control in Rocket.Chat.Electron
Thanks!

Remote control would be genius, next feature after this one would be shared whiteboard

@tassoevan but please make that feature manageable with config files.
Our security department not so happy about that functionality itself.

~Remote control~ (currently disabled)

🤔  I'm not familiar with this feature. I guess it has been disabled for security reasons very alike the ones we mitigated going to the version 3.0.0 (i.e. Electron's preload script without isolation context).

I guess it has been disabled for security reasons very alike the ones we mitigated going to the version 3.0.0 (i.e. Electron's preload script without isolation context).

So, if it disabled in Jitsi itself, I close that issue.
Thank you, Tasso!

Context
JSA-2020-0001
and "no short term plans to bring it back"


Formatting for application/xml body

Describe the bug
Request body in applicaiton/xml is formatted as JSON in samples/request.
Is this a bug or xml is not (and will not) be supported ?
To Reproduce

Given this OpenAPI document

openapi: 3.0.1
info:
  title: Super API
paths:
  /api/post:
    post:
      summary: Submit somthing
      operationId: writtenItem
      requestBody:
        description: request
        content:
          application/xml:
            schema:
              $ref: '#/components/schemas/Deposit'
        required: true
      responses:
        "200":
          description: Returns an `OK` response on success
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/Deposit'
        "400":
          description: Returns an `NOK` response on failure
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/Deposit'
components:
  schemas:
    Deposit:
      required:
      - itle
      - lang
      - text
      type: object
      properties:
        Title:
          type: string
          description: "The title"
          example: Super Title
        lang:
          type: string
          description: "ISO ISO 639 alpha-2 code"
          example: de
        text:
          minLength: 1
          type: string
          description: The text
      description: A request for submission

See error (screenshot below)

Expected behavior
Request in XML ex.
<deposit>
   <title>Super Title</title>
   <lang>de</lang>
   <text>string</text>
</deposit>

Screenshots

Any movement on this?

I would also appreciate this!

Any likelihood this will be built out anytime soon?

This would be very helpful for us as well


3 Snapshot strategies required for the Aavegotchi AGIP-37 voting power DAO decision

Requesting the merge of 3 new Snapshot strategies required for the Aavegotchi AGIP-37 voting power DAO decision

aavegotchi-agip-37-gltr-staked-lp
aavegotchi-agip-37-wap-ghst
erc20-tokens-per-uni

https://github.com/snapshot-labs/snapshot-strategies/pull/848
https://github.com/snapshot-labs/snapshot-strategies/pull/849
https://github.com/snapshot-labs/snapshot-strategies/pull/850
i have raised 3 pull requests (1 for each strategy).


kmeans2: "ValueError: unknown init method uniform"

There is a discrepancy between the docstring and the implementation of kmeans2. The method uniform does not seem to be implemented.

Which doc are you reading?  mastercorrectly documents that it is not supported here.

I might have missed the (unsupported) but why is it even listed then?
This is confusing...

That is a fair point.  I suspect it's because they're planning to implement at some point?

I think it should be removed. Clearly the original author never got around to this and is not going to implement this anymore.


ciao-storage: do not use rbd import

Instead of using rbd import to create volumes from images,
use qemu-img convert.
Signed-off-by: Kristen Carlson Accardi<EMAIL_ADDRESS>

Coverage decreased (-0.02%) to 66.584% when pulling c2f12687289f571279a5add7156b0e0a5c34251a on kaccardi:topic/fix-image-import into d307462aa07c267db28eea6a7511813c7315ac15 on 01org:master.

I did some experimenting yesterday and I can get drastic speed differences in rbd import and qemu-img convert depending on the -S sparse setting.  In all cases, after uploading the rbd and qemu-img reported size of the rbd image as the same.  It would be good to know if one or the other is faster because it transmits and stores less data when a sparse image is encountered.  It would be beneficial to intentionally not be packaging and shipping lots of zeros around.

@tpepper This isn't about optimization, it's about functionality. rbd import doesn't create the filesystem the way that launcher needs it to. qemu-img convert actually takes the qcow and turns it into something launcher can boot. The change was required. I updated the commit message.

I'm able to boot images that are rbd imported.

@markdryan will need to review and comment as he requested this change.

Coverage decreased (-0.02%) to 66.493% when pulling f57c4dfab99402b052402dea5d896bc420f5e6b7 on kaccardi:topic/fix-image-import into 354ffaf06ca320f6da166a17f7a31781cc3c83fd on 01org:master.

Based on what I understand of possible image formats, what I can infer from the semi-disjoint rbd import and qemu-img convert -O rbd, and what qemu seems to be able to do with rbd -drive...we may as well merge this despite the lingering concerns I have.  We're liable to swizzle this stuff more over time and what's here is one way of having things function.  The commit message does capture the idea that there are different formats that need handled differently or functionality wont be present.

@tpepper  The nice thing about using qemu-img is that it gives us support for all the following formats for free:  bochs vvfat rbd vpc parallels tftp ftp ftps raw https qcow dmg http qcow2 quorum null-aio cloop vdi iscsi null-co vhdx blkverify file vmdk host_cdrom blkdebug host_device sheepdog qed nbd
It's also safer as it ensures that the image we're storing in rbd image is in raw format.  If we just do an rbd import, how do we know what we're importing is in RAW format and will ultimately boot?
Also, if we just use rbd import we will need to manually convert all our images to raw format before we can boot from them.  This would not work right now on single VM for instance, which pulls down qcow images for some workloads e.g., clear.

@markdryan that's precisely the larger design question here?  All the docu says only use raw so a pre-conversion at some point is needed if we want to do that.  Doing it out of band relative to the launch will be performance important.  But it means we would only store images as raw and would only launch raw images.  If we declare our backing store is raw only, our front end utilities should automatically convert user uploads and inform the user we're doing that for them, instead of making them manually do it.


Behind the Modal

Is there anyway how to above from modal the MCDatePicker? I use z-index but it not fix my problem. I hope it will solve this. Thank you

Is there anyone could solve this problem? I try other way but still not working. I hope someone will solve this my problem. Thank you

Is there anyone could solve this problem? I try other way but still not working. I hope someone will solve this my problem. Thank you

.mc-calendar {
z-index: 1060 !important;
}