ld_sco_frm_isr_wrapper  ? (IDFGH-10796)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.02
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-DevKitCV4
Power Supply used.
USB
What is the expected behavior?
Run hfp_ag demo, excepted behavior  : It runs normally and does not restart.
What is the actual behavior?
Sometimes it reports errors and restarts ,
and error :
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core  0 register dump:
PC      : 0x4008588c  PS      : 0x00060334  A0      : 0x800867b0  A1      : 0x3ffc1da8
0x4008588c: ld_sco_frm_isr_wrapper at ??:?

Steps to reproduce.

run hfp_ag demo
connect my earphone
Establishment of sco connection
...

Debug Logs.
 Exception was unhandled.

Core  0 register dump:
PC      : 0x4008588c  PS      : 0x00060334  A0      : 0x800867b0  A1      : 0x3ffc1da8
0x4008588c: ld_sco_frm_isr_wrapper at ??:?

More Information.
No response

Please upload the elf file with the error ,and tell me the commit id of the IDF .

libbtdm.tar.gz
Please use this lib and try again . If there is any error, let me know .

Any error ?

Since this issue was resolved on our side and there was no response from the user -> closing. If you encounter any further issues please reopen or create a new issue.
Cheers!


feat : Add SimpleDTOProjection for dynamic DTO field mapping

Description:
This pull request introduces a new feature to the QueryDSL project: SimpleDTOProjection. This feature allows for simplified DTO projections by dynamically mapping fields from the entity to the DTO based on matching field names.
Key Changes:

Added SimpleDTOProjection class to support dynamic DTO field mapping.
Implemented constructor and expression handling to create instances of DTOs with matching field names automatically.
Enhanced flexibility in projecting data into DTOs without the need for explicit field-by-field mapping.

Details:

The SimpleDTOProjection class dynamically maps fields from the provided entity to the specified DTO type.
It eliminates the need to manually specify each field during projection, reducing boilerplate code and potential errors.
Added functionality to automatically find the appropriate constructor based on the number of fields.
Exception handling has been added for scenarios where the constructor or fields do not match.

Example Comparison:
Previously, using Projections.fields() required explicitly listing every field in the projection:
Projections.fields(
    AnimalDTO.class,
    animal.alive,
    animal.bodyWeight,
    animal.dateField,
    animal.id,
    animal.name,
    animal.timeField,
    animal.toes,
    animal.weight
)

With SimpleDTOProjection.fields(), this can now be simplified to:
SimpleDTOProjection.fields(AnimalDTO.class, animal)

SimpleDTOProjection automatically matches fields between the entity and DTO, resulting in cleaner and more maintainable code.
Testing:

Added unit tests to verify the correctness of the dynamic field mapping and DTO instance creation.
Both approaches (Projections.fields() and SimpleDTOProjection.fields()) were tested, confirming that the output is identical, with the new method reducing the need for explicit field mapping.

Please review the changes and let me know if there are any questions or further modifications needed. Thank you!👍🏻
welcome rename this class 🙏🏻

Hi @Mouon ,
Sadly, you will get no help here.
Team gave up on maintaining this project but won't let anyone else to step in to keep project active.
If you want to see this changes released, you can send to me on my fork
https://github.com/OpenFeign/querydsl/
Cheers

Hi @Mouon ,
Sadly, you will get no help here.
Team gave up on maintaining this project but won't let anyone else to step in to keep project active. If you want to see this changes released, you can send to me on my fork https://github.com/OpenFeign/querydsl/
Cheers
Hi,

Thank you for your response and for providing the link to your fork. I appreciate your attention to this matter.
I have submitted a pull request with the same changes to your forked repository. I hope it can be reviewed and potentially merged.
Thanks again for your support.
Best regards,
Mouon

Done https://github.com/OpenFeign/querydsl/pull/590

Done https://github.com/OpenFeign/querydsl/pull/590

Thank you !!


DNS issue resolving external domains

I just tried to use runsd with GCP tracking and got this error
@google-cloud/trace-agent ERROR TraceWriter#publish: Received error  while publishing traces to cloudtrace.googleapis.com: FetchError: request to https://cloudtrace.googleapis.com/v1/projects/yosh-dev/traces failed, reason: getaddrinfo EAI_AGAIN cloudtrace.googleapis.com

I assume the reason is that it's using https while for runsd it should be http. Is there a way to makie it working without changing urls in client object?

GCP Logging have the same issue

Http vs https shouldn't be the issue as we don't hijack those hostnames.
Can you run "dig cloudtrace.googleapis.com" or see what IP it resolves to in the container on Cloud Run?

I used your example code and results below.
 IN A

From logs
I0205 19:22:15.638194 1 dns.go:42] [dns] > Q0: type=A name=cloudtrace.googleapis.com.europe-west1.run.internal.
I0205 19:22:15.638336 1 dns.go:66] [dns] < type=A name=cloudtrace.googleapis.com.europe-west1.run.internal. is too short or long (need ndots=4; got=6), nxdomain
I0205 19:22:15.638900 1 dns.go:42] [dns] > Q0: type=A name=cloudtrace.googleapis.com.run.internal.
I0205 19:22:15.638920 1 dns.go:66] [dns] < type=A name=cloudtrace.googleapis.com.run.internal. is too short or long (need ndots=4; got=5), nxdomain
I0205 19:22:15.639314 1 dns.go:42] [dns] > Q0: type=A name=cloudtrace.googleapis.com.google.internal.
I0205 19:22:15.639333 1 dns.go:120] [dns] >> recursing type=A name=cloudtrace.googleapis.com.google.internal.
I0205 19:22:15.642319 1 dns.go:127] [dns] << recursed type=A name=cloudtrace.googleapis.com.google.internal. rcode=SERVFAIL answers=0 rtt=2.865112ms

Looks like ndots config is a bit weird.

Are you on the latest version?
Any chance you can print out /etc/resolv.conf at the runtime of the container?

I'm asking these because I have an example container that runs runsd + has a curl form like this:

and when I run it, curl works fine:

Yes, I'm using link with latest

ADD https://github.com/ahmetb/runsd/releases/latest/download/runsd /runsd
RUN chmod +x /runsd
ENTRYPOINT ["/runsd", "-v=5", "--", "/app"]

I have added print endpoint to example code from this repo

func print(w http.ResponseWriter, req *http.Request) {
	file, err := os.Open("/etc/resolv.conf")
	if err != nil {
		fmt.Fprintf(w, "dig failed: %v\n", err)
	}
	defer func() {
		if err = file.Close(); err != nil {
			log.Fatal(err)
		}
	}()
	b, err := ioutil.ReadAll(file)
	fmt.Fprint(w, string(b))
}

Output of file is
nameserver <IP_ADDRESS>
nameserver ::1
search europe-west1.run.internal. run.internal. google.internal.
options ndots:4

Dig from example from this code repo
$ dig +search A cloudtrace.googleapis.com

; <<>> DiG 9.16.11 <<>> +search A cloudtrace.googleapis.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 15816
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cloudtrace.googleapis.com.google.internal.

The only one difference I see is region us-central1 vs europe-west1 and in your screenshot there is no --http2 param in curl.

I updated my image, works with --http2 as well:

Do you mind trying another region?

Sure, on us-central1 not working too, the same results, only /etc/resolv.conf is different (as expected).
nameserver <IP_ADDRESS>
nameserver ::1
search us-central1.run.internal. run.internal. google.internal.
options ndots:4

I'll try to run this on my private account, not corp one which is in organization but at this moment I don't see reason of this issue

I deployed it on my private account on private project and the same result, not working.
I was thinking that maybe it's Docker image issue but now I'm not sure. Image with example I'm building locally with docker-compose on wsl2.
First issue where we got errors from trace+logs was built on gitlab runner on GKE and it was completely different code (nodejs, slim image)

When I used dig with @<IP_ADDRESS> I got results some results
<EMAIL_ADDRESS>$ dig +search A<EMAIL_ADDRESS>

; <<>> DiG 9.16.11 <<>> +search A<EMAIL_ADDRESS>;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49689
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
<EMAIL_ADDRESS>IN	A

;; AUTHORITY SECTION:
.			86399	IN	SOA	a.root-servers.net. nstld.verisign-grs.com.<PHONE_NUMBER> 1800 900<PHONE_NUMBER>0

;; Query time: 15 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Feb 05 22:00:35 UTC 2021
;; MSG SIZE  rcvd: 126

;; Query time: 15 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Feb 05 22:00:35 UTC 2021
;; MSG SIZE  rcvd: 126

that's because it didn't parse it correctly. :) @<IP_ADDRESS> is a separate argument. :)

Oh, I was hoping that we moved closer with an issue:D For now I have no idea what's going on.

Can you perhaps try deploying to us-central1.
I can't imagine what would cause this.

I did previously and on my private account it was us-central1.
I'll try build via Cloud Build and see if there is any difference

Building on Cloud Build does not change anything.
Startup

Dig for google.com

I cloned repo into cloudshell, slightly modified regions file to let me run this, built docker and dig and curl from example was working. I triend it also with runtime runsc to try gvisor but it's also working. Pushed this example into container registry, created revision on cloud run and nope, not working.

Hi, do you have any update regarding dns fix on google side?

Looks like it's working now. I have added this to our services and requests are passed correctly <3
Can you confirm that this fix on google side is stable?

Sorry, I've been debating internally defending this is a bug. So far I have not convinced people to fix this and it required me to go low level to prove that this is how DNS works and our bug makes it incompatible.
My only other option is to never proxy the queries to "google.internal." Zone in runsd resolve metadata.google.internal lookup myself. I am not sure what other side effects would be and it wouldn't be a long-term solution.
Maybe we can try.

At this moment it works on my 2 projects. One with hello example and one on my dev environment so maybe something has changed. But until it's not confirmed internally I won't use it.
I was considering using serverless connector as you mentioned earlier but it is at least $16 per month.

The problem wasnt resolving internal domains? It was resolving external domains I think? Example.com shouldn't be working?

Hm, internally it was not working too but maybe it was other reason and I just don't remember.
But yes, query to external domain still not working :(
Do you think that https://dns.google might help? Query this and cache when getting SERVFAIL or pattern does not match run.app. Just loose considerations.
https://dns.google/resolve?name=cloudtrace.googleapis.com&type=A

We can't blindly replace the nameserver we recurse into. People who use VPC Connector actually use internal DNS names of VMs and it works from Cloud Run. Thats why we have to proxy to <IP_ADDRESS>. However the "google.Internal." search domain is giving us problems iterating over candidates. That's the problem.

I've just pushed a tag v0.0.0-rc.10 that I think fixes the problem. Give it a try @Mistic92 and close if it works.

It seems like the fix solved it.


Provide file object in run function

Sometimes it may be useful to have file object that is processed.
For example to retrieve some additional information based on file name from config.

Just got my wisdom teeth out. I'll take a pull request or otherwise get around to this later.

How would you like it to be implemented? If I add it like this: function run($, file, done) then it will break current api.

There are a few things we could do. We could add file to the $ object (using defineProperty so it isn't enumerable) or we could execute run in a context such that this === file or this.file === file.
I'm fine with either approach. What are your thoughts?

@KenPowers I don't like either way, patching $ is not a good idea, and neither is passing function argument in this. It is better to have function run($, file, done) and bump major version because of changed api. Or, if you want compatibility, then maybe it is possible to check 2nd argument to be gulp.File instance, and if its not, use it as done callback.

I was interested in an API change of deprecating the option to pass in a configuration object. It's not really necessary anymore now that cheerio is a peer dependency.
The problem with checking the second argument is that we are supplying the argument. So maybe having three arguments and requiring all three for async would be the best thing to do.

This would also mean moving the parser options to just be the second argument to our exported function.

Peer dependencies will be deprecated, so I'm not sure if its a good idea https://github.com/npm/npm/issues/6565

Ugh. Regardless, I'm still interested in deprecating the configuration object. I can't think of a case where I've ever had to substitute my own version of cheerio, especially with a version requirement of 0.*.

Decided not to deprecate the object. No real need to make that change since it's not hurting anybody. I guess next step would be to remove the peer dependency.

Great, thank you! Regarding deprecation of configuration object, I'd like to have run function as the 1st parameter and options as the second optional one, I think it will be much cleaner than passing run function as an option.

We could support both.


DCOS-343 - Document Exhibitor backend for Azure

This PR addresses DCOS-343 by adding adding the azure backend as another exhibitor storage backend, and documenting it's required properties.

Can one of the admins verify this patch?

I think my editor may have removed some whitespace from empty lines. They don't appear to be necessary; however, if it's a problem, I can undo those changes.

LGTM thanks for the PR @justenwalker !


tooltip.js treats data-title="0" as no content

tooltip.js treats data-title="0" as no content. So tooltip does not work. But I expect to show "0" tooltip.
0

I think it had been caused by below line
https://github.com/twbs/bootstrap/blob/535fec93cf8892d1a83f6bb8cb97adc589af2b39/js/src/tooltip.js#L369
isWithContent() {
  return Boolean(this.getTitle())
}

Thank you.

You have to use the title attribute not data-title see the documentation : http://v4-alpha.getbootstrap.com/components/tooltips/#options
Plus my CodePen : http://codepen.io/Johann-S/pen/qqpJxv

I know I should use title attribute.
However, I feel weird about string 0 does not work in data-title attribute for tooltip.
Is it correct that titile attribute and data-title attribute are not same behavior?

It seems data-title doesn't work because it's data-original-title which is used in tooltip.js
https://github.com/twbs/bootstrap/blob/v4-dev/js/src/tooltip.js#L413
So, we have to update the documentation or change this in tooltip.js

I understand.
Basically, data-title should not be used for tooltip.
I have to use title or data-original-title. I'll do so.
Thank you so much.


Fetch actual department/semester type IDs

What the actual organization type ID of a semester or department is can be set in the LMS (not sure if it ever really changed, but can be). Safest route is to hit the /semester and /department routes in Valence, which give us back the ID we know to be correct, and use that as the organizationTypeId for the department/semester list/search requests.

This isn't associated with a US or anything - just something that occurred to me.
Doesn't really overly need to be tested in-depth, mostly just sanity-checked, since I'm not sure how many clients actually change what the default department/semester types are...

Could this use the values of organizationTypeIds from the add-department-filter and add-semester-filter actions on the organization root HM response, or do I not grok this? (probably the latter)

Well... damn. Nope, you are totally correct, and that's way cleaner. Totally forgot that was there, thanks!

Yep, much simpler using that. Updated to fetch /organizations instead - could probably leverage another request, but figured that would muddy some lines that maybe shouldn't be muddied.

Looks legit (and a good catch, as eg. daylightdemo does change the department type ID!) :shipit:


Fix CSS key typo

Just noticed this as well!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


I'm working crud appliction in modules I've followed your instructions but it's showing this error Exception in CrudController.php line 70: This url is not set yet!

I'm working crud appliction in modules I've followed your instructions but it's showing this error Exception in CrudController.php line 70: This url is not set yet!

based on the error you provided it seems that package is not installed properly and configs are not published correctly please execute this command in the command line in the root of your project :
php artisan panel:install
and please let me know when you say it says that CrudController.php line 70: This url is not set yet! which url you are trying to visit in the address bar that exactly

It's working when i'm not using modules. When I use modules it show error as shown above Exception in CrudController.php line 70: This url is not set yet!

@tayyabkhanrind you have to put the controller info in link table


HTTP profiling doesn't capture request headers

VM Service extension defines getHttpProfile method to retrieve HTTP requests profiling data.
This method is used by DevTools 'Network' tab to display requests details.
As described in https://github.com/flutter/devtools/issues/3343 , requests headers are not captured.
After some investigation, I found that the call that captures HTTP headers (_profileData?.finishRequest(request: this);) is made too early.
I have a patch and will try to submit it.

Patch submitted :
https://dart-review.googlesource.com/c/sdk/+/212561


Adding gzip codec.

Originally was https://github.com/bigdatagenomics/adam/pull/643. Opened by @hannes-ucsc.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-utils-prb/34/
Test PASSed.

One thing that occurred to me just now is that Parquet seems to use the native libz support in the JVM while this codec is using the pure-Java support. The Spark executor logs show the allocation of pooled GZIP compressors during the last stage of transform jobs. We might be able to squeeze some performance out of this codec by switching to libz at the expense of additional off-heap memory.


feat: add Secure GPT in GPT Security

Hey, thanks for this awesome list :)
Just added a free DAST for ChatGPT Plugins to the list (https://escape.tech/securegpt/)
Best,
Antoine

Wow, it's nice. GPT plugins will be a new ecology, it's important to focus on the plugins' security.
Thanks for the pr.


Return per-item iterator for page operation

We'd like to have item iterator support for page operation. Other languages' SDK (e.g., .Net/JS) either use a self-defined iterator or language-supported iterator to support both iterate on items and pages. This will help customer to handle list result more friendly.

We could provide an iterator wrapper for *runtime.Pager[T any].  However, it would require adding a method to the paged response envelope to satisfy a type constraint that allows access to the page of items.  The wrapping code would look as follows.
type PageConstraint[TItem any] interface {
	Items() []*TItem
}

type Iterator[TItem any, TPage PageConstraint[TItem]] struct {
	index int
	pager *runtime.Pager[TPage]
	cur   []*TItem
}

func (iter *Iterator[TItem, TPage]) More() bool {
	return iter.pager.More() && iter.index < len(iter.cur)
}

func (iter *Iterator[TItem, TPage]) NextItem(ctx context.Context) (*TItem, error) {
	if !iter.pager.More() {
		return nil, errors.New("no more items")
	}
	// advance item
	iter.index++
	if iter.cur == nil || iter.index == len(iter.cur) {
		// first page or page exhausted
		page, err := iter.pager.NextPage(ctx)
		if err != nil {
			return nil, err
		}
		iter.cur = page.Items()
		iter.index = 0
	}
	return iter.cur[iter.index], nil
}

func NewIterator[TItem any, TPage PageConstraint[TItem]](pager *runtime.Pager[TPage]) *Iterator[TItem, TPage] {
	return &Iterator[TItem, TPage]{
		index: -1,
		pager: pager,
	}
}

We then add the Items() method to the response envelopes.
func (p PagingClientGetMultiplePagesResponse) Items() []*Product {
	return p.Values
}

Which then allows construction of the iterator.
func TestIterateGetMultiplePages(t *testing.T) {
	client := newPagingClient()
	iter := NewIterator[Product](client.NewGetMultiplePagesPager(nil))
	count := 0
	for iter.More() {
		item, err := iter.NextItem(context.Background())
		require.NoError(t, err)
		require.NotZero(t, item)
		fmt.Println(*item.Properties.Name)
		count++
	}
	if r := cmp.Diff(count, 10); r != "" {
		t.Fatal(r)
	}
	if _, err := iter.NextItem(context.Background()); err == nil {
		t.Fatal("unexpected nil error")
	}
}

I'm opposed to having some kind of item iterator in our Go SDKs (we also don't do it in C & C++). There are multiple problems with an item iterator:

It is unclear when I/O operations are occurring and so customer code can't be aware of when long latencies may occur in the loop.
Because the I/Os are "hidden", there is no clean way to specify a context for timeout to prevent the app from hanging indefinitely.
Because the I/Os are "hidden", there is no clean way of doing error recovery should the I/O fail. Even if you could do some error recovery, it is exceedingly difficult to somehow pick up from where you left off since you don't know where you are in the iteration.
When paging through a distributed collection of resources being modified by multiple clients while paging, items may be skipped, and some items may be returned multiple times. An iterator gives the impression that this cannot happen, but it can. Customer code must be written to be tolerant of this, which they are more likely to do WITHOUT an iterator.
Some Azure operations return multiple collections for each page. For example, Azure Files returns a page with some directories and some files. These are heterogeneous data types and so the page REQUIRES 2 loops to walk through the 2 sets of item types.
Go (like C++) is a close-to-the-metal language and our SDK should not do magical conveniences under the covers like some other higher-level languages (like C#, Python) do. Azure Kubernetes Service engineers have specifically told us that they can't use our SDKs if they can't control when I/O & latencies occur.
Go doesn't have an iterator language feature (unlike C#) and this is because Go's philosophy/culture is to be close-to-the-metal and not do magical conveniences. Go code should be easy for engineers to look at to understand ALL that is happening. To be a part of this culture, our Go SDK does not offer many of the "conveniences" that some other languages do - this is by-design.

Can we just add Items() method as Joel's solution to reserve possibility to have a decorator to do so?

Because the I/Os are "hidden", there is no clean way to specify a context for timeout to prevent the app from hanging indefinitely.

A context is specified when fetching the next item from the iterator.  We do this same thing in track 1 and it's worked great.

Because the I/Os are "hidden", there is no clean way of doing error recovery should the I/O fail. Even if you could do some error recovery, it is exceedingly difficult to somehow pick up from where you left off since you don't know where you are in the iteration.

If the I/O operation fails when fetching the next page, the iterator's state isn't updated.

When paging through a distributed collection of resources being modified by multiple clients while paging, items may be skipped, and some items may be returned multiple times.

I think this is true for paged operations in general.  Also, this assumes that all operations are distributed with multiple clients operating on the collection which isn't true in all cases.

Some Azure operations return multiple collections for each page.

Agreed this is a problem.  However, I believe this is uncommon.

Go (like C++) is a close-to-the-metal language

Agreed and is why I suggest we make this available as an add-on, and not part of the generated API surface area, so customers can make their own choice based on their problem domain.


Support using Service.Spec.loadBalancerIP to bind exist EIP.

If you already have an EIP, do not need to create a new one by setting Service.Spec.loadBalancerIP.

Support in #3 .


[Bug] Changing Time On Leaf Reverts Back On Start

Clicking on the time on the leaf and changing the time reverts back to the default whenever I press the start button.

I have created a pull request that fixes this issue.

closing this as that PR likely fixed it.


CI: Config tar gz fix

I switched the wrong step by mistake. This change corrects the mistake and updates the correct step.

bors r+

bors r-

bors r+


Update NL-RSE19.md

removed unsupported strikethrough.

I think GitHub flavored markdown uses ~~ for strikethroughs, for example example.


Move robolectric dep to root

Summary
Noticed this change in the BUCK dependencies https://github.com/facebook/react-native/commit/0aa1aa6cc2f1b4d13ea068c01f9de08ba7132f53, the directory for the Robolectric directory was not changed accordingly causing BUCK dep issues https://app.circleci.com/pipelines/github/facebook/react-native/9180/workflows/bd006026-937c-4779-8cf7-ccd08b353307/jobs/202595

Changelog

[Internal] [Fixed] - Fix Robolectric BUCK file location
Test Plan
CI should not throw BUCK dependency issues

Hey, I already created a fix in https://github.com/facebook/react-native/pull/31593.

Hey, I already created a fix in #31593.

Nice! Sounds good, closing this.


add tracing and slightly-formalized hooks

By formalized, I think @zevv just wants to make the stuff discoverable and not too adhoc.  This does that, but I'm not sure how useful it is.
I think the trace() might want to take the continuation as input as well, so that could mess with the invocation somewhat.  Maybe we can standardize on just a few signatures for hooks...

Of course, when I tried to actually use allocators, it blew up with the following problems:

typedesc is such an opaque value that it's hard to actually work with it; you cannot compare it to other typedescs, you cannot hash it, you can get the sizeof but this is useless for ref types, etc.
$typedesc on our continuation types yields env, which is not terribly useful


Add S3 example

Add an example usage of S3 using localstack.

Hi @NetanelBasal how are you doing
would love to work on this task and learn about localstack

Sure 😄

Is it a documentation or writing out a code ?

Code

Okay thanks
will work on it straight away


How to change out your API Key

To do:
Write a how-to section with the following content:
How to change your own code to have new API keys, so that you don't lose the ability to send.

Generate new keys - don't invalidate the old ones
replace old keys with new keys
Test
Invalidate your old keys

Keep it short, concise, and put it on this page:
https://sendgrid.com/docs/User_Guide/Settings/api_keys.html#-API-Key-Permissions

@riktimmondal - you can create an API key here https://app.sendgrid.com/settings/api_keys

Dear @Whatthefoxsays,
Are you referring to modifying your own code, using any particular language or SDK?
The reason I ask is because that would vary depending on the SDK used and the text at: https://sendgrid.com/docs/User_Guide/Settings/api_keys.html#-API-Key-Permissions seems pretty clear about methods of creating, editing and deactivating keys.

Hey @NexWeb,
That's a really good point. I think what we're looking for here is actual steps. Right now, that page does include a lot of that information, but it should be reformatted into the steps for creating, editing, replacing, testing and deactivating API keys, rather than the wall of text it is currently. DOes that make more sense?

Thank you @ksigler7, for clearing that up.


Add missing package javax.annotation-api

What problem does this PR solve?
close https://github.com/pingcap/tispark/issues/1201
What is changed and how it works?
add missing package javax.annotation-api
Check List
Tests

No code

Related changes

Need to cherry-pick to the release branch

/run-all-tests

I don't think it is correct because javax.annotation should be present in Java SE 8.

LGTM!


chore: bump mimimal glibc version to 2.28 for linux binary release

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
In #4556, we switched to the manylinux2014 Linux distro to ensure that the released artifact can run on systems with GLIBC versions as old as 2.17. However, this is becoming troublesome as the toolchain is also affected as described in #15749.
After some consideration and discussion with @xxchan, I think it's the time to bump the minimal GLIBC version to 2.28. Reasons:

Originally, Amazon Linux 2 with GLIBC 2.26 was set to reach its EOL in June 2023 but was later postponed to June 2025. However, the default image used for launching a new EC2 instance is now Amazon Linux 2023, which has GLIBC 2.34. So problems similar to #4566 is unlikely to happen anymore.

The Linux binary release is not designed to use in production. For the cases that users want to play around with RisingWave (e.g. standalone mode) on their own Linux machines, I believe it's okay to assume they're on a relatively new system.

See the comments on release-env-x86 to find the updated reference of GLIBC version.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

LGTM! Please run the docker build pipeline before merging.

I think I need to run release.sh. How should I trigger that?

I think I need to run release.sh. How should I trigger that?

Docker build pipeline will build binary, I have triggered a build on your branch.
https://buildkite.com/risingwavelabs/docker/builds/15436

buildkite.com/risingwavelabs/docker/builds/15437

It looks good. BTW, where can I find the artifact? Didn't find it in bucket risingwave-nightly-pre-built-binary. 😕

BTW, where can I find the artifact? Didn't find it in bucket risingwave-nightly-pre-built-binary.

We migrated the bucket to the new AWS account, new bucket name rw-nightly-pre-built-binary


replaced deprecated $.browser.msie with method that doesnt resort to ...

...useragent sniffing, ref: http://stackoverflow.com/questions/14892095/browser-msie-error-after-update-to-jquery-1-9-1/14892171#14892171

So, guys, what is the proper pull request in the end, if I want to use a fork that solves this $.browser issue in the best way to your knowledge?

#34 or #36
#36 is basically the same solution, but first check for IE is slightly faster for non-IE in #36. Both solve it well.

Thanks!


Win32 fixes

r? @metajack @ecoal95
This fix is from @vvuk, with our work on the Win32 port of Servo.

Going to test this locally and merge if it works for unixes.

Everything fine! I'll add CI to this crate too.

@ecoal95 thanks for getting on that so quickly!


[material-ui][Dialog] Fix crashing of DraggableDialog demo

fixes https://github.com/mui/material-ui/issues/44810
Logic taken from https://github.com/mui/material-ui/pull/44747 applied to v5.x branch
working preview: https://deploy-preview-44811--material-ui.netlify.app/material-ui/react-dialog/#draggable-dialog

@aarongarciah do you have any insight on why ci/circleci: test_e2e  is failing?

@sai6855 it's probably related to the UMD build. @DiegoAndai pinned the UMD versions on the example being used in the test:umd script. See https://github.com/mui/material-ui/pull/44706.
The error is not the same though:

This PR's error is Cannot read properties of undefined (reading 'A'). See: https://app.circleci.com/pipelines/github/mui/material-ui/144986/workflows/1c3568c7-ee3e-4ea6-8114-15f58449d8b6/jobs/780533?invite=true#step-113-217_68
// The error comes from
function getOwner() {
  var dispatcher = ReactSharedInternals.A;
  return null === dispatcher ? null : dispatcher.getOwner();
}

// `ReactSharedInternals` comes from `ReactSharedInternals = React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`

The error fixed by Diego was React__namespace.createContext is not a function. See: https://app.circleci.com/pipelines/github/mui/material-ui/144395/workflows/871be994-df23-40c1-bcb5-354ff6720ae5/jobs/777405?invite=true#step-113-216_67

I'm clueless why this started to fail now.

Looking into it

The reason is that after bumping React 19, we're trying to build the UMD files using React 19, which isn't supported. Working on a solution to rely on React 18 only for the UMD build process.

Opened a PR to fix it: https://github.com/mui/material-ui/pull/44815

@sai6855 the fix has been merged, please re-run the CI


cloud-init: patch for CVE-2022-2084

Signed-off-by: Chris Patterson<EMAIL_ADDRESS>Built, installed, rebooted on a mariner2 instance with no obvious concerns.

Added a change to report patch level in version info so it is clear in the logs and cloud-init --version details.

Tested basic provisioning an image with this build on Azure without issue.


Update main.jsx

In React 17, if we use React.Strictmode, React automatically modifies the methods like console.log() to silence the logs in the second call. But in React 18, React does not suppress any logs.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

Screenshots (if appropriate):

LGTM.
@aleksanderwalczuk WDYT?


Fix White Flash.

In the latest stable release, loading new pages on an invidious instance creates a blank white page while the user-script processes what parameters to apply.
When using an extension like Dark Reader this is irrelevant, but it can understandably be frustrating for some users either unable or unwilling to use such a measure.
#6 would at least partially resolve this, insofar that there would be less frequent occurrences where the script would need to append URL parameters to loading pages.

#6 has been fixed. The tradeoff is the "Run at Document Start" option had to be disabled.
For best results of reducing white flashes, it's recommended that "dark_mode=false" be included in appearance settings and an extension like Dark Reader be used to enforce a dark theme.
If anyone has any better solutions, feel free to either bring them up here or create a pull request. Otherwise, consider this a "won't fix".


Current Text value gets lost when model properties are already populated.

Please fill out either the bug or feature request section and remove whatever section you are not using.
Bug

Version Number of Control: <IP_ADDRESS>
Device Tested On: Nexus 6P
Simulator Tested On: n/a

Expected Behavior
Model property values are displayed in XfxEntry control upon page load.
Actual Behavior
Model property values are not displayed.
Steps to reproduce the Behavior
In the example app -> MainPage constructor...
    public MainPage()
    {
        Model = new MainPageModel();
        Model.Name = "Chase";
        BindingContext = Model;

        InitializeComponent();
    }

In MainPage.xaml, remove...
<ContentPage.BindingContext>
    <app:MainPageModel />
</ContentPage.BindingContext>

In XfxEntryRendererDroid.OnElementChanged(), calling SetText() before SetInputType() seems to resolve the issue.

Thanks for the report @dphable. Can you try V1.0.2 from Nuget? I think this is solved.

Note, there is discussion about this here
https://github.com/XamFormsExtended/Xfx.Controls/issues/4#issuecomment-287664800

Yes, it is working now.  Thanks!


Cannot derive from sealed type pin

Not a bug, but an error.
VERSIONS

Xamarin.Forms.GoogleMaps - 3.2.0
Xamarin.Forms - <IP_ADDRESS>1479

PLATFORMS

[X ] Android
[x] iOS
[ ] UWP

ACTUAL BEHAVIOR
I need to add custom properties to my pin. How I normally would do it is to derive from the pin class and add the custom properties, but that is not possible here as the pin class is sealed.
How can I add custom properties to the pin class??
Can I open the code in the nuget package and unseal the class and if so how? Or will that cause additional errors?
ACTUAL SCREENSHOTS/STACKTRACE
public class CustomGPin : Xamarin.Forms.GoogleMaps.Pin //cannot derive from sealed type pin
{
public string CustomProperty1 { get; set; }
public string CustomProperty2 { get; set; }
public string CustomProperty3 { get; set; }
public string CustomProperty4 { get; set; }
}
// paste stacktrace

EXPECTED BEHAVIOR
I would like to add custom properties to the pin class.
Adding custom properties to pin class are quite essential? So I would assume there is another way to do it?
HOW TO REPRODUCE
Reprode by trying to derive
public class CustomGPin : Xamarin.Forms.GoogleMaps.Pin //cannot derive from sealed type pin
{
public string CustomProperty1 { get; set; }
public string CustomProperty2 { get; set; }
public string CustomProperty3 { get; set; }
public string CustomProperty4 { get; set; }
}

Yes, Pin is sealed class.
You can use Pin.Tag as object property.
class YourData
{
    public string CustomProperty1 { get; set; }
    public string CustomProperty2 { get; set; }
    public string CustomProperty3 { get; set; }
    public string CustomProperty4 { get; set; }
}

pin.Tag = new YourData
{
    CustomProperty1 = "A",
    CustomProperty2 = "B",
    CustomProperty3 = "C",
    CustomProperty4 = "D"
};

@amay077 How can I access the custom properties in "YourData"? Pin.Tag only has the default methods such as "ToString()"

Why did you opt into sealing the class Pin as compared to Xamarin.Forms.Maps' Pin type ?

Hi ! I got a small issue where i want to store my object in Tag through Binding and use them in Custom Renderer. Any issue if make Tag a Bindable Property ?

#744 there is an issue for bindable tags

Hi,
Is there some news on the tag property bindable?
Thanks,


Passing headers values of AccessTokenRequest to retrieveToken functio…

Passing headers values of AccessTokenRequest to retrieveToken function in ClientCredentialsAccessTokenProvider

@matbrighi Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@matbrighi Thank you for signing the Contributor License Agreement!

Thank you for the PR @matbrighi . Can you also please add a test?

@matbrighi I'm closing this PR due to lack of feedback from review.
If you still like to see this merged, please submit a new PR and address the review feedback.


State description on pattern match

Enable state description to search in logs based on pattern
match. The state description accepts input in the form of
Golang's regex.
Signed-off-by: S m, Aruna<EMAIL_ADDRESS>

This is tested against a sample log. It's working fine.


Initial post_upgrade fails

Notice: /Stage[main]/Dotfiles/Vcsrepo[/Users/akerl/...]/ensure: created
Notice: /Stage[main]/Dotfiles/Exec[dotdotdot config]/returns: executed successfully
Notice: /Stage[main]/Dotfiles/Exec[dotfile upgrade]/returns: executed successfully
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: Vim: Warning: Output is not to a terminal
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: Vim: Warning: Input is not from a terminal
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: Error detected while processing /Users/akerl/.vimrc:
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: line  169:
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: E185: Cannot find color scheme 'solarized'
Notice: /Stage[main]/Dotfiles/Exec[run dotfile post_upgrade]/returns: Press ENTER or type command to continue

Closing, will reopen on akerl/dotfiles if this persists


java.lang.NoSuchMethodError: android.widget.RelativeLayout$LayoutParams.setMarginEnd

Can you handle left-rignt/start-end layout params exceptions as it is implemented in default android xml please? Thank you

setMarginEnd is only available since Android API 17.


Uncaught TypeError: types_1.TypeRegistry is not a constructor

When import '@substrate/txwrapper-core' from a React typescript file, I get the following error:
getRegistryPolkadot.ts:25 Uncaught TypeError: types_1.TypeRegistry is not a constructor
    at getRegistryPolkadot (getRegistryPolkadot.ts:25:1)
    at<EMAIL_ADDRESS>(constants.ts:50:1)
    at Object.options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:61:1)
    at<EMAIL_ADDRESS>(index.ts:2:1)
    at Object.options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:61:1)
    at<EMAIL_ADDRESS>(index.ts:4:1)

Maybe, Is the solution to add /lib/test-helpers to txwrapper-core/.npmignore
https://github.com/paritytech/txwrapper-core/blob/main/packages/txwrapper-core/.npmignore
Should I make a PR if it is correct ?

Thanks for posting this issue, I'll have a look, and see if I can find a resolution. Unfortunately its not as simple as ignoring the test helpers since there is some exports from there that are used elsewhere (Something we plan on sorting out soon).
What version of txwrapper-core are you using?

So I tried to reproduce this using v1.5.7, and I was not able too. Once I know your version I will be able to help more accurately

i apologize you ... not @substrate/txwrapper-core but @substrate/txwrapper-registry.
Version is v1.5.7.
    "@substrate/txwrapper-registry": "^1.5.7",

I created following sample repository.
https://github.com/shohu/tmp-txwrapper-core

Clone repositry
Command "yarn start"
Access to http://localhost:3000/

Maybe you can confirm error string at browser console.

import {
	getRegistry,
} from '@substrate/txwrapper-registry';

function App() {

  React.useEffect(() => {
    const registry = getRegistry({
      chainName: 'Updater',
      specName: 'aaa',
      specVersion: 1,
      metadataRpc: `0x111`,
    });
    console.log(registry);
  }, []);

Currently I am not able to reproduce by singling out the @substrate/txwrapper-registry package in a blanket node setup.
Thanks for the reproduction repo though! I will have a crack at it and test it out for you, and see what I can find.

I have tried on my side to use the latest txwrapper-core library (2.0.3) with react but a different error came out:

I haven't found yet the origin of the issue but it is related to the react webpack.
Is there any project that implements the txwrapper-core's modules to a react application? Do you suggest to use a different front-end library?

Thanks for your reply!

I wonder in this case if it's an issue with react-scripts with CRA?
I think that it may be the issue, but I don't know much about react.

In this case what version of React are you using?
I am using the React 17.0.2 version.
I will let you know if I find anything!


update pipeline

Extended the functionality a bit to handle pdf/html files for both
financial docs and the plain-text version of the same.
Seems to work ok out of the box for multiple companies, but we'll
still need to standardize a bit on structure and formatting.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#217  👈
#216
#215
master

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

Join @chrisaddy and the rest of your teammates on  Graphite

Merge activity

Jun 14, 1:04 PM EDT: @chrisaddy merged this pull request with Graphite.


Update product.tpl

Hi,
While developing a client's site, we noticed that the product availability date was displayed in the product details tab.
I propose to display it directly next to the product.
The date will be more easily visible for the customers.
Lucas,
Piment Bleu Agency (FR)

Questions
Answers

Description?
display availability date directly next to the product

Type?
improvement

BC breaks?
no

Deprecations?
no

Possible impacts?
none

good idea

@lucasvavon
Thanks for the contribution
When you submit an improvement, you need to first create an issue on the PrestaShop/PrestaShop repository, because this choice depends on product choices, we need to talk about it before, in order to validate it.
If the team doesn't agree with this choice, your work can be abandoned and this is really something both of us don't want: wasting time...
@PrestaShop/product-team for information
@lucasvavon could you please create an issue?

@PrestaShop/prestashop-maintainers
Do we work on improving Classic? I have a doubt about it, did we state the fact that we fix bugs only?

@NeOMakinG
I think we should accept some improvements, maybe not those with breaking changes :-)

Hi @Progi1984, I think you met my boss @Thierry-Pimentbleu instead.
I have introduce an issue in this PR : Update product-details.
Do you understand what we wanted to improve ?

Hello @lucasvavon I'm sorry you mentioned a PR not an issue 😅
It seems you maybe have troubles seeing how we process contributions. Don't hesitate to come and discuss on the Slack channel to ease this contribution https://www.prestashop-project.org/slack/

Hi @lucasvavon,
Since we have had no news from you since April, I will follow our guidelines, and I'll close this pull request as it seems stale. Feel free to reopen or open another one if you think it's still relevant.
Thanks!


[Question] DDPG Parameters

Hi I'm new to RL and currently working on my project using DDPG from stable baselines. And I have some questions about the parameters:

What is the difference between timesteps and nb_train_steps? If I didn't change the nb_train_steps, would it affect my model?
I set the verbose parameter to verbose=1, but the training information only appear every 10k steps, can I change it? like every 1k steps maybe?

Thank you.

What is the difference between timesteps and nb_train_steps?

See https://github.com/hill-a/stable-baselines/issues/776#issuecomment-606726393

but the training information only appear every 10k steps, can I change it? like every 1k steps maybe?

you can change log_interval in the learn() method (cf doc)
it also depends on nb_training_steps (see https://github.com/hill-a/stable-baselines/blob/master/stable_baselines/ddpg/ddpg.py#L866)

Okay thank you so much :)
More question please.. its kind out of topic but, my actor keep getting negative loss, is it normal?

my actor keep getting negative loss

Please take a look at the resources in our documentation to understand more about the meaning of the losses (notably take a look at spinning up).
Usually actor loss value does not have much sense.
Closing this issue then.


Strange line in sign

Sign has strange line inside? Is it broken SVG viewer in GitHub?
/cc @stephenway

Same issue in Sketch. I think that's the SVG.

@stephenway ping. I want to update logo in every account, I just wait for this line fix.

@stephenway any updates?

Fixed in latest push.


chromedriver: 2.36 -> 2.37

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/chromedriver/versions.
These checks were done:

built on NixOS
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver -h got 0 exit code
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver --help got 0 exit code
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver -v and found version 2.37
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver --version and found version 2.37
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver -h and found version 2.37
ran /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/chromedriver --help and found version 2.37
found 2.37 with grep in /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37
directory tree listing: https://gist.github.com/d24f8e2019df676c89bb32d16ee980ed

cc @cillianderoiste for review

Success on x86_64-darwin (full log)
Attempted: chromedriver
Partial log (click to expand)
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/mb37d0wgiqj69gazf4nn8qyplkjpw1l2-chromedriver-2.37/bin
patching script interpreter paths in /nix/store/mb37d0wgiqj69gazf4nn8qyplkjpw1l2-chromedriver-2.37
/nix/store/mb37d0wgiqj69gazf4nn8qyplkjpw1l2-chromedriver-2.37

Success on x86_64-linux (full log)
Attempted: chromedriver
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37
shrinking /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin/.chromedriver-wrapped
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37/bin
patching script interpreter paths in /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37
checking for references to /build in /nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37...
/nix/store/z1h08azp3xdik94is0g2m2y5pvdfy4fc-chromedriver-2.37

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: chromedriver
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


refactor rate limiting

Pull Request Test Coverage Report for Build 1652

31 of 41 (75.61%)  changed or added relevant lines in 4 files are covered.
16 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.1%) to 62.83%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/handler/qps_provider_flow_control_handler.go
4
6
66.67%

core/qpslimiter/consumer_qps_operation_meta.go
17
19
89.47%

core/qpslimiter/qps_limiter.go
5
7
71.43%

control/archaius/panel.go
5
9
55.56%

Files with Coverage Reduction
New Missed Lines
%

core/handler/qps_provider_flow_control_handler.go
1
30.43%

core/loadbalancer/strategy.go
2
86.67%

core/config/sr_config.go
2
0.0%

server/highway/highway_conn.go
2
79.05%

core/invoker.go
2
50.0%

core/router/cse/router_manager.go
2
72.73%

control/archaius/transfer.go
2
84.19%

core/handler/transport_handler.go
3
23.17%

Totals

Change from base Build 1647:
-0.1%

Covered Lines:
5426

Relevant Lines:
8636

💛  - Coveralls


chore: update deps to latest

chore: update deps to latest
fmt
using client component of next-themes

#184  👈
master

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

Join @gneiru and the rest of your teammates on  Graphite


Add RH root CA to the image

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1915

Relevant Lines:
2882

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1915

Relevant Lines:
2882

💛  - Coveralls


Kaggle - Error When Connecting - Unable to find file

Error when connecting to Kaggle hosted CSV file from Google Data Studio.
Kaggle - By Google Data Studio Developer Relations
Connector details
Please ensure Owner slug, Dataset slug, and Filename are correct. Unable to find file: https://www.kaggle.com/NUFORC/ufo-sightings#scrubbed.csv
Error ID: 43037e74
The file does exist and the URL will take you to the right page in Kaggle.  I have tried using the button in Kaggle to launch the connector and have tried manually creating the resource in GDS.
Any ideas?

+1. I've tried numerous datasets without success.

Currect I need help....same problume


Transport failure when running cluster for prolonged periods

Seeing the following error when a cluster is running for a long period of time:
2021-06-04 19:39:00.079 +00:00 [ERR] AssociationError [akka.tcp://MyActorSystem@<IP_ADDRESS>:8093] -> akka.tcp://MyActorSystem@<IP_ADDRESS>:8092: Error [Failed to write message to the transport] []
2021-06-04 19:39:00.153 +00:00 [ERR] Failed to write message to the transport
Akka.Remote.EndpointException: Failed to write message to the transport
---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary2.Enumerator.MoveNext()    at Hyperion.SerializerFactories.DefaultDictionarySerializerFactory.<>c__DisplayClass3_0.<BuildSerializer>b__1(Stream stream, Object obj, SerializerSession session)    at Hyperion.Extensions.StreamEx.WriteObject(Stream stream, Object value, Type valueType, ValueSerializer valueSerializer, Boolean preserveObjectReferences, SerializerSession session)    at lambda_method(Closure , Stream , Object , SerializerSession )    at Akka.Serialization.HyperionSerializer.ToBinary(Object obj)    at Akka.Remote.MessageSerializer.Serialize(ExtendedActorSystem system, Address address, Object message)    at Akka.Remote.EndpointWriter.WriteSend(Send send)    --- End of inner exception stack trace ---    at Akka.Remote.EndpointWriter.PublishAndThrow(Exception reason, LogLevel level, Boolean needToThrow)    at Akka.Remote.EndpointWriter.WriteSend(Send send)    at Akka.Remote.EndpointWriter.<Writing>b__27_0(Send s)    at lambda_method(Closure , Object , Action1 , Action1 , Action1 )
at Akka.Actor.ReceiveActor.ExecutePartialMessageHandler(Object message, PartialAction`1 partialAction)
at Akka.Actor.ActorCell.<>c__DisplayClass114_0.<Akka.Actor.IUntypedActorContext.Become>b__0(Object m)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)
at Akka.Actor.ActorCell.Invoke(Envelope envelope)

The cluster was started at 2021-06-04 ~8.25 AM UTC
At 2021-06-04 ~18.41 UTC, this error was first seen
The same error was seen ~8 to 10 times over a 48 hour run.
The cluster has one seed node (port 8091), one node (<IP_ADDRESS>:8092) in one role, and 4 (<IP_ADDRESS>:8093, and 3 others) in another role
Each of the xx.8093 roles reported the above error at different points in time.
The xx.8092 node didn't appear to have any significant changes in memory of CPU usage over the entire time
On the xx.8092 node, the following error was seen;
===> 2021-06-04 18:41:53.288 +00:00 [Error] Disassociated
Akka.Remote.EndpointDisassociatedException: Disassociated
at Akka.Remote.EndpointWriter.PublishAndThrow(Exception reason, LogLevel level, Boolean needToThrow)
at Akka.Remote.EndpointWriter.Unhandled(Object message)
at Akka.Actor.UntypedActor.Receive(Object message)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)
at Akka.Actor.ActorCell.ReceivedTerminated(Terminated t)
at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope)
at Akka.Actor.ActorCell.Invoke(Envelope envelope)

Akka versions are as below and consistent across all nodes:
Akka: 1.4.14
Akka.Cluster: 1.4.14
Akka.Remote: 1.4.14
Akka.Serialization.Hyperion: 1.4.14
Akka.Logger.Serilog: 1.4.11
Dispatchers are fork-join dispatchers, cluster configuration is as below, and consistent across all nodes:
remote
{
        command-ack-timeout = 60s
    	handshake-timeout = 60s
	dot-netty.tcp
	{
		port = 8092
        		connection-timeout = 60s
	}
}

cluster
{
	gossip-interval = 10s
	seed-node-timeout = 30s
	use-dispatcher = cluster-dispatcher

	failure-detector
	{
		threshold = 12
		heartbeat-interval = 20s
		acceptable-heartbeat-pause = 60s
		expected-response-after = 120s
	}
}

cluster-dispatcher
{
type = "Dispatcher"
executor = "fork-join-executor"
fork-join-executor
{
parallelism-min = 8
parallelism-max = 64
}
}
Is this error transient, and are there settings to change to mitigate this?
Thanks.

That would be very helpful @bravo0x0 - I should have mentioned that in the original issue.

Hi, I found one dictionary that I was sending without cloning. I changed it to make a copy before send; it has now been 12+ hours running, and no errors have come up. Shall I close this issue? Thanks!

Yep, go right ahead and close this issue if you don't see the error appear again


Take advantage of slots

We could probably improve many components by adding slot supports for headers, etc vs having to manually nest CardHeader, CardFooter, ToastHeader, alert-heading classes, etc.

This idea won't be that useful until https://github.com/sveltejs/svelte/issues/1037 is resolved, as currently this currently requires a wrapper html element like a div, etc:
<Card>

My Header

  ...

Which doesn't seem any better than what we currently support:
<Card>
  <CardHeader>My Header</CardHeader>
  ...

https://github.com/sveltejs/svelte/issues/1037 has been closed one year ago.


No way to generate an account without nonce

See https://github.com/wavesplatform/waves-crypto-java/blob/master/src/main/java/com/wavesplatform/crypto/Crypto.java#L70

https://github.com/wavesplatform/waves-crypto-java/blob/master/src/main/java/com/wavesplatform/crypto/Crypto.java#L74

Is that not what you need? :) https://github.com/wavesplatform/waves-crypto-java/blob/master/src/main/java/com/wavesplatform/crypto/Crypto.java#L74

No, the nonce here is 0:
    public static byte[] getAccountSeed(byte[] seedPhrase) {
        return getAccountSeed(seedPhrase, 0); // <-- "0" doesn't mean the absence of nonce
    }

Why do you need this?

Do you distinguish between the terms "seed phrase" and "account seed"? I relied on this article in docs:
https://docs.waves.tech/en/blockchain/waves-protocol/cryptographic-practical-details

You can create random "seed phrase" by these methods:
https://github.com/wavesplatform/waves-crypto-java/blob/master/src/main/java/com/wavesplatform/crypto/Crypto.java#L23-L67

Why do you need this?

Why not? :) It is simpler to store all bytes in one place:
Bytes.concat(Bytes.fromInt(nonce), seedPhrase)
// vs
Bytes.concat(seedPhraseWithNonce)

You can create random "seed phrase" by these methods: https://github.com/wavesplatform/waves-crypto-java/blob/master/src/main/java/com/wavesplatform/crypto/Crypto.java#L23-L67

Actually, I create an account just by doing:
Hash.secureHash(seedPhrase)

Or even:
getAccountSeed(seedPhraseWithNonce.take(4), seedPhraseWithNonce.drop(4))

But this is too bulky :)


Dependencies not recorded in pom.xml

Per the discussion in JOSM Trac #21140, the org.jetbrains.annotations dependency is not recorded in pom.xml.
It seems that the dependencies need to be explicitly configured in the pom{} section in build.gradle which it doesn't have currently:
            pom {
                name = artifactId
                description = 'This is a simple parser for OSM "opening_hours" tags'
                url = 'https://github.com/simonpoole/OpeningHoursParser'
                scm {
                    url = repoUrl
                }
                licenses {
                    license {
                        name = spdxId
                        url = 'https://raw.githubusercontent.com/simonpoole/OpeningHoursParser/master/LICENCE.txt'
                    }
                }
                developers {
                    developer {
                        name = 'Simon Poole'
                    }
                }
            }

According to the documentation versionMapping can be used to use the resolved version as an alternative to declared versions.

Good morning Bas
This is somewhat an unexpected expected issue, because the dependency is compile time only the publishing plugin doesn't add it at all (because it isn't a runtime dependency).
Looking in to how to fudge this right now, but unluckily pom scopes don't actually have an 1-1 equivalent for 'compile", so likely I'll change it back to a regular dependency.

@sebastic would this work for you?
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- This module was also published with a richer model, Gradle metadata,  -->
  <!-- which should be used instead. Do not delete the following line which  -->
  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
  <!-- that they should prefer consuming it instead. -->
  <!-- do_not_remove: published-with-gradle-metadata -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>ch.poole</groupId>
  <artifactId>OpeningHoursParser</artifactId>
  <version>0.23.4</version>
  <packaging>pom</packaging>
  <name>OpeningHoursParser</name>
  <description>This is a simple parser for OSM "opening_hours" tags</description>
  <url>https://github.com/simonpoole/OpeningHoursParser</url>
  <licenses>
    <license>
      <name>MIT</name>
      <url>https://raw.githubusercontent.com/simonpoole/OpeningHoursParser/master/LICENCE.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>Simon Poole</name>
    </developer>
  </developers>
  <scm>
    <url>https://github.com/simonpoole/OpeningHoursParser.git</url>
  </scm>
  <dependencies>
    <dependency>
      <groupId>org.jetbrains</groupId>
      <artifactId>annotations</artifactId>
      <version>19.0.0</version>
      <optional>true</optional>
    </dependency>
  </dependencies>
</project>

This requires directly modifying the xml in the gradle script and is ugly^2 but probably is a half workable solution.

That should work, but I don't understand why gradle can't generate that. Does using declared versions not work either? That may be preferable over modifying the XML.

That should work, but I don't understand why gradle can't generate that. Does using declared versions not work either? That may be preferable over modifying the XML.

There are a number of issues, but essentially I wanted to avoid requiring users of the binary artifact to have to include a totally unnecessary dependency, so I declared the annotations as 'compileOnly' aka only used to compile the code, but no runtime dependency.
The gradle maven-publish plugin doesn't include such dependencies in the pom file and even it did, there is no equivalent scope for "compileOnly", Adding the 'optional' element makes both gradle and maven ignore the dependency so should have the same effect in this case, but it is rather hackish.
PS: I couldn't get versionMapping to work in any reasonable way, I had had some hope that I could use it to get around the plugin ignoring compileOnly dependency.

Fixed in 0.24.0 https://github.com/simonpoole/OpeningHoursParser/releases/tag/0.24.0


Error while installing keras in open suse

Hi,
I did install python3 and got the repository using git. While installing kera using: pip3 install numpy keras h5py, am facing error. I have attached snapshot. I want to install the ubuntu box and give a try.. If you can provide me the link for ubuntu box version dvd it would be helpful.

The problem is in h5py.
You need to install libhdf5-dev to get the required header files. Just run
sudo apt-get install libhdf5-dev
and it should install it and its dependencies automatically.
Then go with your command.


Added COT field enumeration

Enumerated the Cursor on Target protocol used in Team Awareness Kit systems into base LXMF definitions. Designated 0x20 in order to avoid any collisions in 0x00-0x1f space and to designate it as an additional field, not core to LXMF features.

Since the FIELD_CUSTOM concept was added, this will be the canonical way to include custom datatypes and external, tunneled protocols and formats in LXMF messages. This is a better approach, since we do not need to add specific fields for a long list of protocols, applications and datatypes that developers may want to transport inside LXMF messages.
For reference, here is a copy of the FIELD_CUSTOM section of LXMF.py:
# For usecases such as including custom data structures,
# embedding or encapsulating other data types or protocols
# that are not native to LXMF, or bridging/tunneling
# external protocols or services over LXMF, the following
# fields are available. A format/type/protocol (or other)
# identifier can be included in the CUSTOM_TYPE field, and
# the embedded payload can be included in the CUSTOM_DATA
# field. It is up to the client application to correctly
# discern and potentially utilise any data embedded using
# this mechanism.
FIELD_CUSTOM_TYPE      = 0xFB
FIELD_CUSTOM_DATA      = 0xFC
FIELD_CUSTOM_META      = 0xFD


Test : JUnit testing for gradetracker

Codecov Report

Merging #651 (8b1dee3) into master (f81928f) will increase coverage by 6.56%.
The diff coverage is 75.64%.

@@             Coverage Diff              @@
##             master     #651      +/-   ##
============================================
+ Coverage     50.48%   57.05%   +6.56%
- Complexity     1167     1308     +141
============================================
  Files           245      247       +2
  Lines          5116     5200      +84
  Branches        664      686      +22
============================================
+ Hits           2583     2967     +384
+ Misses         2285     1952     -333
- Partials        248      281      +33

Impacted Files
Coverage Δ
Complexity Δ

...gradetrackercommands/EditAssignmentDescriptor.java
75.00% <0.00%> (+75.00%)
11.00 <0.00> (+11.00)

.../java/seedu/address/model/VersionedModuleList.java
89.65% <ø> (ø)
11.00 <0.00> (ø)

...seedu/address/model/module/grade/GradeTracker.java
70.58% <35.71%> (+6.39%)
24.00 <3.00> (+4.00)

...a/seedu/address/model/module/UniqueModuleList.java
73.17% <40.00%> (+9.75%)
16.00 <0.00> (+2.00)

...c/main/java/seedu/address/model/module/Module.java
58.77% <75.00%> (+7.04%)
25.00 <2.00> (+3.00)

...eedu/address/logic/commands/ViewCommandResult.java
88.88% <76.92%> (+88.88%)
13.00 <8.00> (+13.00)

.../gradetrackercommands/DeleteAssignmentCommand.java
96.87% <87.50%> (+96.87%)
12.00 <0.00> (+12.00)

...commands/gradetrackercommands/AddGradeCommand.java
100.00% <100.00%> (+100.00%)
11.00 <5.00> (+11.00)

...ds/gradetrackercommands/EditAssignmentCommand.java
80.00% <100.00%> (+80.00%)
16.00 <0.00> (+16.00)

.../modulelistcommands/AddCompletedModuleCommand.java
85.71% <100.00%> (+1.09%)
8.00 <0.00> (ø)

... and 41 more

Continue to review full report at Codecov.

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


Commit for RFC at issue #933

Made the changes for RFC #933
Fixed formatting for Advanced applications table

Looks good to me!
This PR has two commits, one adds a file and the following one deletes it. For clarity, I would use the squash and merge strategy. I'm not sure what the implications would be for authorship. Feel free to squash these into 1 commit; otherwise I'll squash and merge these in to main in 24 hours.

Squash and merge, no problem.


Can you please include Haitian Creole [ht] and Hmong Daw (Latin)  mww to Multilingual App Toolkit?

Please add these two languages Haitian Creole [ht] and Hmong Daw (Latin) [mww] to MAT? They are available in Cognitive Services https://docs.microsoft.com/en-us/azure/cognitive-services/translator/language-support.
Meanwhile, can you tell us how to go about adding these languages manually?

I think this request belongs in the Multilingual App Toolkit repo. Unfortunately I can't transfer the issue to that repo, so you'll have to re-open it over there.


katex rendering failed with aligned macro

I've tried to render this demo  equation in markdown but the local hugo server failed to render it properly.  Normal katex equations can be rendered very nicely, though.
$$
\begin{aligned}
   a&=b+c \\
   d+e&=f
\end{aligned}
$$

I've tested some other demos and found the same problem. It seems that Hugo itself and its markdown parser Goldenmark were the cause. Hugo will render a <br /> which will mess with the katex, and single \\ will be rendered to \ as escape characters.
You can write the katex code in one line and use \\\\ to render as \\ directly in markdown file.
$$
\begin{matrix}
  a & b \\\\ c & d
\end{matrix}
$$

Or you can try updating the theme to use the new math shortcode I just committed:
-> display style
{{< math >}}
\begin{matrix}
a & b \\
c & d
\end{matrix}
{{</ math >}}

-> inline style
{{< math "inline" >}}
\begin{matrix}
a & b \\
c & d
\end{matrix}
{{</ math >}}

I had the exact same issue today and \\\\ won't make it right in the {aligned} environment. Tried to replace \\ with \cr and it worked. It's not an elegant solution though. @OneForward


Polling is broken

Hi.First, thank you for the library, very helpful!
Second, I was experiencing lines in a log like
2019-06-24 01:43:26,076 - ERROR - Persistent error submitting polling request: b'{"code":1,"message":"Session ID unknown"}' / 400 Client Error: Bad Request for url: https://msgstore.www.notion.so/primus/?sessionId=SESSION_ID&EIO=3&transport=polling&sid=SID (will retry 5 more times)
Also, CPU was always 100% busy and I saw that caching was working in a very strange manner. Looked like the data was constantly re-written: I monitored the sizes of cache files, and they were growing to some point, then reset back to zero and then the growth repeated with the reset in the end and so on. My system monitoring shown that for about an hour the amount of data the process written to disk was about 15 gigs, but no such network activity was seen for this process at the same time.
When I restarted the shell and created a client with
    monitor=False,
this stopped and everything went fine.

I can confirm that this behavior is happening consistently when using the client in ipython with monitoring enabled.

Thanks, I can replicate monitoring not working. I'll be looking into it here shortly.

Actually, further testing shows monitoring to be working fine for me. The CPU/file growing issues were most likely just cache-related, and I've now disabled the file cache by default. The "Persistent error submitting polling" log entry has always happened, and I was never able to avoid it, but internally it recreates a new session and picks up where it left off -- the polling session ID just seems to get invalidated randomly at times. When the session expires in this way, there will be a slight lag in updating records (a few seconds), but nothing should be missed.
Could you test again using newly released 0.0.25, initializing your session with
client = NotionClient(token_v2=token_v2, monitor=True, start_monitoring=True)?
Thanks!

after adding monitor=True, start_monitoring=True , I can get latest records

@apollovy can this issue be closed?

Hopefully yes, frankly I lost my interest to the library, sorry.


Unable to find compatible cmdline-tools for java version 21

After upgrade to 1.37.4 from 1.36.0, i can't run my test, it's raise error :
------------------ Shard 1 ------------------

Please specify a device platform [android, ios, web]:
android

Please specify Android version [34, 33, 31, 30, 29, 28]: Press ENTER for default (30)
34

❌ Error: BlockingCoroutine is cancelling
kotlinx.coroutines.JobCancellationException: BlockingCoroutine is cancelling; job=BlockingCoroutine{Cancelling}@5cf84f7e
Caused by: maestro.cli.CliError: Unable to find compatible cmdline-tools (/root/Android/cmdline-tools/<version>) for java version 21.

Try to install a different cmdline-tools version:
1) Open Android Studio SDK manager
2) Check "Show package details" to show all versions
3) Install Android SDK Command-Line Tools. Recommended version: latest
* https://developer.android.com/studio/intro/update#sdk-manager
        at maestro.cli.util.AndroidEnvUtils.requireCommandLineTools(AndroidEnvUtils.kt:74)
        at maestro.cli.device.DeviceService.requireAvdManagerBinary(DeviceService.kt:465)
        at maestro.cli.device.DeviceService.getAvailablePixelDevices(DeviceService.kt:348)
        at maestro.cli.device.DeviceCreateUtil.getOrCreateAndroidDevice(DeviceCreateUtil.kt:99)
        at maestro.cli.device.DeviceCreateUtil.getOrCreateDevice(DeviceCreateUtil.kt:16)
        at maestro.cli.command.TestCommand$handleSessions$1$1$results$1$1.invokeSuspend(TestCommand.kt:228)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Same here, I can't run the test anymore with the last update

Hey @7maucdn, sorry for the problems. Before we can resolve this issue we need more info though. Could you run these and share output with us?
java -version

and
$ANDROID_HOME/cmdline-tools/latest/source.properties

(in your case that'll be /root/Android/cmdline-tools/latest/source.properties

@7maucdn, did you try the suggestion that is in the error message you posted? That is, update to latest Android command-line tools?

Hello. I'm having the same issue:
❌ Error: BlockingCoroutine is cancelling
kotlinx.coroutines.JobCancellationException: BlockingCoroutine is cancelling; job=BlockingCoroutine{Cancelling}@9966508
Caused by: maestro.cli.CliError: Unable to find compatible cmdline-tools (/home/XXXXX/Android/cmdline-tools/) for java version 21.
~/samples$ java -version
openjdk version "21.0.4" 2024-07-16
OpenJDK Runtime Environment (build 21.0.4+7-Ubuntu-1ubuntu222.04)
OpenJDK 64-Bit Server VM (build 21.0.4+7-Ubuntu-1ubuntu222.04, mixed mode, sharing)
~/samples$ $ANDROID_HOME/cmdline-tools/latest/source.properties
/home/XXX/Android/cmdline-tools/latest/source.properties: line 1: Pkg.Revision=12.0: command not found
/home/XXX/Android/cmdline-tools/latest/source.properties: line 2: Pkg.Path=cmdline-tools: command not found
/home/XXX/Android/cmdline-tools/latest/source.properties: line 2: 12.0: command not found
/home/XXX/Android/cmdline-tools/latest/source.properties: line 3: Pkg.Desc=Android: command not found

@7maucdn @bartekpacia the problem was coming from the file tree on my part.
I solved it by just updating the cmdline-tools package using the SDK wizard in Android Studio.
The latest version "16.0.0-rc1" fixes the issue 😃

Hi team. I have spent 4 days trying to do the initial configuration of Maestro. Quite frustrating experience.
I have not been able to solve it with any version of Java, nor with any version of cmd-line tool.
I currently have installed:
Java Version: openjdk version "21.0.4" 2024-07-16.
Command-Line Tool: Latest (16.0.0 rc1)
Error:
kotlinx.coroutines.JobCancellationException: BlockingCoroutine is canceling; job=BlockingCoroutine{Cancelling}@3fa0c421
Caused by: maestro.cli.CliError: Unable to find compatible cmdline-tools (/home/damianaz/Android/cmdline-tools/) for java version 21.
Try to install a different cmdline-tools version:

Open Android Studio SDK manager
Check "Show package details" to show all versions
Install Android SDK Command-Line Tools. Recommended version: latest
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I don't know what else to do.

Experienced the same issue after upgrading to the latest version. Installing cmdline-tools seems to be not enough to fix the issue. My colleague also had this issue on his machine. Downgrading to CLI 1.34.1 worked for me.

Can anyone help with this error?
❌ Error: BlockingCoroutine is cancelling
kotlinx.coroutines.JobCancellationException: BlockingCoroutine is cancelling; job=BlockingCoroutine{Cancelling}@2973afa0
Caused by: maestro.cli.CliError: Unable to start device: Maestro_Pixel_6_API_31_1
at maestro.cli.device.DeviceService.startDevice(DeviceService.kt:74)
at maestro.cli.command.TestCommand$handleSessions$1$1$results$1$1.invokeSuspend(TestCommand.kt:237)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Hey all – could you update your comments with more information?
The following will help debug:
cat $ANDROID_HOME/cmdline-tools/latest/source.properties

(Make sure you have $ANDROID_HOME env var properly set up)
And attach output of java -version.


rotation protein example 1PGB

Hello
I would like to run the example of the rotation of the protein 1PGB, I have installed the version of PyGBE of this repository, but checking in your website, the version to rotate the protein is an older version of PyGBE contained in a Figshare repository
https://figshare.com/articles/Protein_orientation_near_a_charged_surface_using_PyGBe_and_protein_G_B1_D4/1348804/6
how I can made run the run_angle.py program?
When I run it, sends me error. I think the program is looking for the others python programs but run_angle.py cannot found them because they are not in the correct places. This is the error run_angle.py sends to me.
(base) manuel@manuel-HP-ENVY-dv7-Notebook-PC:~$ sudo python /home/manuel/Descargas/pygbe_master/bem_pycuda/PyGBeOrientation_1PGBsampling_update/run_angle.py /home/manuel/Descargas/pygbe_master/bem_pycuda/PyGBeOrientation_1PGBsampling_update/inputs/1PGB.param /home/manuel/Descargas/pygbe_master/bem_pycuda/PyGBeOrientation_1PGBsampling_update/inputs/1PGBmut_sensor_sigma0.05.config 10 20
[sudo] contraseña para manuel:
Parameter file:
Precision   double
K           1
Nk          9
K_fine      19
thresold    0.5
BSZ         128
restart     200
tolerance   1e-5
max_iter    1000
P           4
eps         1e-12
NCRIT       300
theta       0.5
GPU         1
Protein file: PyGBeOrientation_1PGBsampling/meshes/1PGBmut_d04
Sensor  file: PyGBeOrientation_1PGBsampling/meshes/sensor_100x10x100_d02
Phi     file: PyGBeOrientation_1PGBsampling/inputs/sensor_100x10x100_d02_-4e-5-4e-5-4e-5-4e-5-4e-5-4e-5.phi0
sh: 1: ./PyGBeOrientation_1PGBsampling/move_protein.py: not found
sh: 1: ./main.py: not found
Traceback (most recent call last):
File "/home/manuel/Descargas/pygbe_master/bem_pycuda/PyGBeOrientation_1PGBsampling_update/run_angle.py", line 119, in
N, iterations, Esolv, Esurf, Ecoul, Time, files = scanOutput('output_aux' + name)
File "/home/manuel/Descargas/pygbe_master/bem_pycuda/PyGBeOrientation_1PGBsampling_update/run_angle.py", line 51, in scanOutput
return N, iterations, Esolv, Esurf, Ecoul, Time, files
UnboundLocalError: local variable 'N' referenced before assignment

@Marr575 The run_angle script as you said it calls from an older version of pygbe. The script to move the protein was updated and you can find it here https://github.com/barbagroup/pygbe/blob/master/preprocessing_tools/move_protein.py
Now, if you would like to run for multiple angles you will need to update the script run_angle  in order to use the newer version of pygbe. You can create the folders to run what you need programatically, and then you can run pygbe over those folders. This part of the documentation might help you when running, it is not exactly what you are looking for, but you can use it to have an idea on how to run by looping over example_path_folders.

Hi again
Does exist a version of run_angle.py in python3? when I try to run it with main.py and move_protein.py give me errors (new versions).
another question which is the function of these functions? cmd_move and cmd_run
cmd_move = './PyGBeOrientation_1PGBsampling/move_protein.py ' + prot_file + ' ' + pqr_file + ' ' + rot_angle + ' ' + tilt_angle + ' ' + name
os.system(cmd_move)
cmd_run = './main.py ' + param_file + ' ' + config_file_moved +' > output_aux' + name
os.system(cmd_run)
Regards
Manuel

@Marr575 Unfortunately there is not, as I mentioned in the comment above, you'll need to adapt that script to work with the newer version of pygbe. It's not only a matter of the python version but also on how you call the program. move_protein.py is adapted but that is only a part. If you want run_angle.py to run, you need to completely re-write it to work with the lates pygbe release.
cmd_move = './PyGBeOrientation_1PGBsampling/move_protein.py ' + prot_file + ' ' + pqr_file + ' ' + rot_angle + ' ' + tilt_angle + ' ' + name
os.system(cmd_move)
cmd_move is a variable, and with os.system(cmd_move) is using the built in os library to call the command cmd_move, which calles the move_protein.py. If you adapt the version of the script, this line would have to be completely different. The way you call move_protein.py has changed (it is on the documentation of the script).
cmd_run = './main.py ' + param_file + ' ' + config_file_moved +' > output_aux' + name
os.system(cmd_run)
This is a similar case, but here we ar calling a command to run pygbe, in the newer version this is completely different and you'll need to adapt it.

ok, now I'm watching the files move_protein.py and move_protein_helper.py, could you give me two examples of how to use these programs? i want to know how to use them

@Marr575 The two files you mention are scripts that are use to rotate a protein. move_protein.py at the top of the file explains how it works and if you read where we import the functions, all the functions need to work are in move_prot_helper. Those functions have descriptive docstrings in that file.
move_protein.py first aligns the dipole moment of the protein with the y axis an then it'll rotate in alpha_y and alpha_z the description of this angles are in the read_inputs() in move_prot_helper. You need to read the documentation in order to know how it works.
To run move_protein.py you need to pass the arguments as described in the read_inputs():
>>> move_protein.py -im mesh_file_you_want_to rotate -ip pqr of the object and so on with all the arguments in the mentioned in the read inputs function`

I hope this helps, although I feel that you might need to study a bit more of python in order to manipulate this scripts. I want to remind you that the issues tool in github is not meant for support on how to use the tools we provide, but to report issues or problems with the software. All extra work regarding modifying scripts or running specific cases that require more coding is your responsibility as a user.


[5.5] Add prompt to vendor:publish to specify which provider/tag to publish

By default, artisan vendor:publish will publish everything it can find. Passing the --provider flag is the way around this but you have to lookup the package's service provider class name along with its namespace (long and inconsistent naming across packages).
This pull request adds a prompt to allow the user to specify the package for which they want to publish files.
Prompt can be avoided by using the --all flag or by continuing to pass a --provider.
Edit: Updated screen capture gif below

could you make option 0 publish everything? that way people wouldn't have to remember the flag?
this is awesome, BTW.

Very cool feature, I think its very useful, good job!

Is there is a way to skip command prompt? It will be useful for deploy automation tools.

you can still use the --provider flag if you'd like to use it with automation

@browner12 thanks! Don't know why I've missed that from first comment.

Thanks for the feedback. I prepended the 0 option to publish all.

Great stuff!

Does this also show available tags?

Publishable tags have now been added as choices in the prompt. Gif has been updated to show what it looks like.

this update seems a little strange to me. aren't tags a subset of a provider?
Wouldn't you first select a provider, and then (if it has them) select the tag after that?
Is it possible to do a two step choice like this with the command?

Tags are a subset but they can be shared across multiple packages. So this lets you publish all the config or migrations-tagged files for all providers at once.
I'm OK with this functionality. If someone wants to publish only the views for a specific provider that also has config or migrations, they still can use --provider="xyz" --tag=views in conjunction with each other.

Nice addition @fitztrev!

This is awesome!

What i want!  Awesome!

@fitztrev Maybe functionality to publish specific tags and providers like: 4,2,8 in same time.

@juniorb2ss it's just an interface on top of the --provider and --tags options that were already part of the command. You can't pass multiple --providers. and if you try to do both a provider and a tag, it treats it like an AND. So it would likely be confusing. Not worth it IMO.


Install agent on Suricata Machine

Tasks
Install the Wazuh agent on the VM dedicated for Suricata

 Deploy Agents on Linux

Issues
Wazuh agent is not starting because the manager/server doesn't have an IP


Gather metrics from dcos diag on windows

High-level description
Add dcos-diagnostics to telegraf inputs on Windows.
Fix test_metrics to work even if diagnostic bundle was not generated.
Corresponding DC/OS tickets (required)

D2IQ-ID JIRA title / short description.

Related tickets (optional)

D2IQ-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot changelog-not-required test change only

@mesosphere-mergebot request-review @jeschkies @DominikDary @jongiddy


Compilling last version 1.1.1 with an i2c imu doesn't work

Hello
Firts of all, thanks for sharing rhis project! 😉
Everytime i compile your quadcopter.ino file example with any of the IMU_SPI , it compiles correctly , i export the compiled binary in uf2, and after loading it to the RP2040, it reeboots and i have acess to all the help and cli commands!
When i do a i2c (scan) the mpu6050 is detected at address 0X68!
But since i dont have any spi imu, only i2c, i defined use imu i2c mpu6050
It compiles witout errors , but after putting the uf2 exported compiled file in the rp2040, it loads it but the rp2040 doesnt reboot, no led flashes or blinks, and i loose the com port access to the rp2040, meaning that i cant do anything more!
No change in your original quadcopter ino file example except the IMU !
Any help is greatly appreciated
Regards

Hi @GRacing69, thanks for giving madflight a try!
I'm mainly developing on ESP32 currently, but quickly tried RP2040 v1.1.1 right now and could not get it to work at all. Unfortunately I currently don't have time to find out what is wrong.
Please try release v1.0.3 for RP2040. I flight tested v1.0.3 with RP2040 + SPI MPU6500, with I2C MPU6050 your mileage may vary...

@GRacing69 I've improved RP2040 support in v1.1.2-DEV: the IMU loop now runs on the second core, which keeps the first core free to respond to USB. I've tested it with an SPI IMU + CRSF remote. See also the updated readme: https://github.com/qqqlab/madflight?tab=readme-ov-file#gotchas
Maybe you can give it a try?


now-alias should notify user of domain creation

now alias performs (the equivalent of) a now domain add under the hood when the domain hasn't been added before.
To make this clear, we should add to the output:
> Domain zeithq.com created ($id)

Similarly, when the certificate is provisioned
> Certificate for zeithq.com created ($id)

Thank you for creating this issue!
Please note that – in order for us to be able to handle each feature request with care – we have to consume all of them through a unified pipeline that makes it easier for us to prioritize, track and progress on the features our user base is interested in.
In turn, the Issues tab on this repository is best only be used for reporting bugs, which we can immediately act on.
For well-explained feature requests (like the one you just posted), please contact us at<EMAIL_ADDRESS>so that we can consider adding it to our roadmap.


test: Fix failed case because of update status

/cc @ScorpioCPH
Signed-off-by: Ce Gao<EMAIL_ADDRESS>

This change is

/assign @ScorpioCPH


New version

Codecov Report
Base: 98.38% // Head: 98.59% // Increases project coverage by +0.20% :tada:

Coverage data is based on head (b2fa5f1) compared to base (c3a2450).
Patch coverage: 97.50% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2727      +/-   ##
==========================================
+ Coverage   98.38%   98.59%   +0.20%
==========================================
  Files          64       74      +10
  Lines        6807     7886    +1079
==========================================
+ Hits         6697     7775    +1078
- Misses        110      111       +1

Flag
Coverage Δ

unittests
98.59% <97.50%> (+0.20%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

rich/_export_format.py
100.00% <ø> (ø)

rich/spinner.py
100.00% <ø> (ø)

rich/text.py
99.48% <ø> (ø)

rich/progress.py
92.92% <83.33%> (+0.12%)
:arrow_up:

rich/color.py
100.00% <100.00%> (ø)

rich/console.py
98.03% <100.00%> (+0.02%)
:arrow_up:

rich/file_proxy.py
97.50% <100.00%> (ø)

rich/json.py
100.00% <100.00%> (ø)

rich/markdown.py
100.00% <100.00%> (ø)

rich/pretty.py
98.98% <100.00%> (ø)

... and 15 more

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

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


Add lineDashOffset to stroke style

Fix #5866 (which is already closed for unknown reasons)

If someone could generate the test result for "ol.rendering.style.LineString different strokes tests the WebGL renderer" for me, in the same environment of Travis. It works in every browser on Windows 7.

Ok, I figured it out myself (just installed a linux VM).
But now I can't figured out the problems. Two eslint issues that weren't there yesterday. I fixed it and pushed it, but GitHub doesn't seem to noticed my commit : https://github.com/tchandelle/ol3/commit/7a4ae3a6ac1b09de4142fac6b9b7209b3f0af117.
Does anybody has any ideas ?

Created #6326 instead


The object of type 'Text' has been destroyed but you are still trying to access it.

When quiting, the game controller gets destroyed while capsules are trying to reference it. It should be the last object on the scene to be destroyed.

The issue are not the capsules, but the text-object of the UI that tells the score. It gets destroyed, but the game controller still tries to access it.


Do not lazy-check generic types passed between handlers.

Instead greedily check as early as possible so as to give the user feedback and/or thrown an exception sooner rather than later.

Merged with https://github.com/apis-and-processors/api-processor/commit/5fa06a397b52fb0855b6429eaab09e934ba926d7


Failed login issue with pyodbc connect

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.6
pyodbc: 4.0.32
OS: Centos 7
DB: MSSQL SE 14.00.3381.3.v1
driver: Microsoft ODBC Driver 17 for SQL Server v<IP_ADDRESS>

Issue
Correct connection string for use with Microsoft ODBC Driver 17 for SQL Server
I encounter this error:
"Login failed for user 'administrator'. (18456) (SQLDriverConnect) when I use this connection string"
when I use this connection stanza:
cnxn = pyodbc.connect(
  SERVER="myhost.eu-west-1.rds.amazonaws.com",
  DATABASE="DWH_DT_BI",
  UID="administrator",
  PWD='xxxxxx',
  DRIVER='{ODBC Driver 17 for SQL Server}',
  Trusted_Connection="no"
)

I think there is something wrong with this stanza, please could you advise how to correct this?
If I use this sqlcmd the connection is established successfully with the same credentials
/opt/mssql-tools/bin/sqlcmd -S myhost.eu-west-1.rds.amazonaws.com -Uadministrator -Pxxxxxx

Hi, it would be great to see the whole error string, if you still have it.
Just a guess, but if you leave off the DATABASE parameter from the connect() call, does that work?
Also, does the AWS portal for RDS instances provide the ODBC connection string for each instance?  (Azure certainly does this.)  If so, you could try using that, i.e. pyodc.connect('aws_rds_conn_string').

Hi Keith,
Thank you so much for such a prompt response, much appreciated
I removed the DATABASE parameter but still no joy:
pyodbc.InterfaceError: ('28000', "[28000] [unixODBC][Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'administrator'. (18456) (SQLDriverConnect)")
I will contact AWS and ask if an ODBC connection string is available for this RDS instance

Good to know what the issue was, @shaunster666 .  Thanks for sharing.

I've traced this problem to an errant meta char in the password which the driver cannot process, so please close.

@shaunster666 did you have a hash symbol (#) or single or doble qute character in the password? or other language symbol?

Is there somewhere a complete list of the chars that are no good in a password? I've seen references to curly braces & semicolons, but are there others?


is there a date filter like angular date filter?

Vue.js version
1.0.16
Reproduction Link

Steps to reproduce
What is Expected?
What is actually happening?

i want a filter to formte the date

maybe i can try to code it, then other people can reuse it

Hi there, please make sure to read the Issue Reporting Guidelines before opening new issues. The issue list only accepts bug reports and feature requests. Questions should be posted to the Gitter chat room,  forum or StackOverflow. Thanks.

Hi http://lmgtfy.com/?q=vue+filter+date
look at vue-filter.