Add pre-compile hook to custom elements

Custom elements(or behaviors in general?) should have a preCompile hook that gives them access to the raw template element before it is compiled.
E.g.
import style form './super-button.css!text';

export class SuperButtonCustomElement {
    ...
    beforeCompile(template) {
        var styleSheet = document.createElement('style');
        styleSheet.appendChild(document.createTextNode(style));
        template.content.appendChild(styleSheet);
        // return template;  // necessary?
    }
}

Can this be a one time thing? In other words, alter template once, then it is uses for all instances of the element?

Yes I think that would be fine, something like the compile function in angular directives where you alter the template before it gets linked and repeated.

I think this would be a static function on the class. Since we run compilation before any instances are ever created. So, something like this:
import style form './super-button.css!text';

export class SuperButtonCustomElement {
    static beforeCompile(template) {
        var styleSheet = document.createElement('style');
        styleSheet.appendChild(document.createTextNode(style));
        template.content.appendChild(styleSheet);
        return template;
    }
}

Thoughts?

Implemented as above. You now have a static beforeCompile(template) hook you can add to a custom element.

FYI. I think we're going to have to change this. Mainly, I think we will need to change the name of the callback method. Basically, we want to support a compile callback hook on all behaviors that happens during compilation. So, this is the per-view compilation hook that gets called when you use a behavior in a view. The hook above is the one-time callback when you are about to compile a custom element's template. The name might still work....but need to think about it. Maybe compilingTemplate instead? Feedback is welcome.


Nc web component documentation update and refactor

Description
Update Notice Choice web component documentation
Changelog
New

{{new thing}}

Changed
Recator some conditions to handle unavailable data object

@kennylam In this PR apart from the documentation update and refactor, I added
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */  as well. I want a react element so that it can be use in react projects easily.


Make subject schema support different species better

[x] make genotype optional
[ ] create a validator so that genotype is required for mouse subjects
[ ] make source required - uses Allen Institute for animals bred in house
[ ] Make the breeding information a specific class: breeding group, maternal id/genotype, paternal id/genotype. This has to be optional overall, validator to require when source is Allen Institute.

for macaque and human data we don't have date of birth, but we do have age - which doesn't live in a subject schema, since it's a moving target... But date of birth might need to be optional too. Maybe with validator to require it for mouse/rat subjects.

I think one thing we'll need to figure out is wt/wt mice that we have at Allen. These are usually not bred here but bought, I assume from Jax. We'll probably want to

[ ] confirm this with LAS (e.g. when we have mice that are in the LAS system but don't have breeding groups/parental history that they came from Jax)
[ ] have the metadata service add this source information


✨ Add file source with regex search

Add new source feature that reads the version from an arbitrary file and use a custom regex search.
This enables two examplary use-cases:

VERSION files generated by CICD
CHANGELOG.md as single point of truth for version (e.g. in a monorepo)

Example:
[tool.poetry-version-plugin]
source = "file"
path = "CHANGELOG.md"
match = '^## \[(?P<version>\d+(\.\d+)+)]'

I tried my best to match the current code & docu style. :blush:

Closing to cleanup.


[Snyk] Security upgrade com.amazonaws:aws-java-sdk-sns from 1.12.290 to 1.12.686

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

lambda-functions/notification-invoke-service/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
com.amazonaws:aws-java-sdk-sns:  1.12.290 -> 1.12.686
No
Proof of Concept

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
com.amazonaws:aws-java-sdk-sns:  1.12.290 -> 1.12.686
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

Checkmarx One – Scan Summary & Details – d05b8cdd-6410-4ede-82bb-96dd06905de7
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-52428
Maven-com.nimbusds:nimbus-jose-jwt-9.8.1
Vulnerable Package

CVE-2024-22243
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-22257
Maven-org.springframework.security:spring-security-core-5.0.7.RELEASE
Vulnerable Package

CVE-2024-22259
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-23672
Maven-org.apache.tomcat.embed:tomcat-embed-core-8.5.32
Vulnerable Package

CVE-2024-23672
Maven-org.apache.tomcat.embed:tomcat-embed-websocket-8.5.32
Vulnerable Package

CVE-2024-29180
Npm-webpack-dev-middleware-5.3.0
Vulnerable Package


[NuGet.org Bug]: Connection resets and invalid JSON returned from api.nuget.org

Impact
I'm unable to use NuGet.org
Describe the bug
Can't restore packages from Nuget API V3, getting the following error message:
Failed to download package 'Microsoft.AspNetCore.Http.2.2.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.http/2.2.2/microsoft.aspnetcore.http.2.2.2.nupkg'.
  Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer

Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.buffers/index.json'.
  Response status code does not indicate success: 502 (Bad Gateway).
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.buffers/index.json'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer
  Failed to download package 'System.Text.Json.4.6.0' from 'https://api.nuget.org/v3-flatcontainer/system.text.json/4.6.0/system.text.json.4.6.0.nupkg'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer

Repro Steps
Restore Nuget packages from Nuget API V3
Expected Behavior
Nuget packages restored.
Screenshots
No response
Additional Context and logs
No response

Good catch! I think it starting to work again. I've got a successful pipeline working and local build.

Yes agree,
I see the connection is secure again

Agree, for a period of time it was working, but now failing again.

Hello, thanks for all of the reports. We had an increased error rate for our V3 CDN endpoints in some geographies from 11:30 PM Pacific time to 4:15 AM. Since that time window, our monitoring indicates the issue has been mitigated. Please do let us know on this thread if you are still facing a problem -- apologies for the inconvenience. We will work with our infrastructure partners to understand more deeply why this service degradation occurred.

I am still experiencing this issue.

We have performed a CDN failover to mitigate the problem. Please do let us know if you are continuing to see problems restoring packages or interacting with api.nuget.org. Thank you for your patience!

Experiencing this now.
It works in the browser but is a 500 in GitHub
https://api.nuget.org/v3-flatcontainer/system.text.encodings.web/index.json
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.text.encodings.web/index.json'. Response status code does not indicate success: 500 (Internal Server Error).

We're experiencing this right now.
Source 'https://api.nuget.org/v3/index.json' exception: System.Exception: Could not retrieve data from '[https://nuget.org/api/v2/FindPackagesById()?semVerLevel=2.0.0&id='Microsoft.Build.Utilities.Core''](https://nuget.org/api/v2/FindPackagesById()?semVerLevel=2.0.0&id=%27Microsoft.Build.Utilities.Core%27%27)
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.IO.IOException:  Received an unexpected EOF or 0 bytes from the transport stream.

experiencing an internal server error
/usr/share/dotnet/sdk/3.1.409/NuGet.targets(128,5): error : Response status code does not indicate success: 500 (Internal Server Error)

@mmisztal1980 - the error message provided mentions a V2 URL. Is it possible you have the feed configured as V2 with protocolVersion="2" in your NuGet.config file? I also noticed there is no "www." in the V2 feed URL. I'm not certain the specifics of your client setup. Finally, our telemetry is not showing any availability issues on our V2 endpoint. Is the issue persisting?
@certara-rgottam - thank you for providing these details. We are currently engaged with our CDN provider who is investigating the root cause. Based on our telemetry, we see that the failure rate has dropped down to significantly lower levels than during 10:50 PM - 11:40 PM 2022-07-13 PDT time zone. Please do let us know if the issue persists and apologies for the inconvenience.

Hello @spotvader, this issue is likely related to cipher suites enabled on your PC and on NuGet.org. Could you please reach out to our support team using https://www.nuget.org/policies/Contact (sign in first). We'll be able to more closely assist you.
Generally speaking, NuGet.org has moved to a new multi-CDN infrastructure: https://github.com/NuGet/Announcements/issues/60. Some older TLS cipher suites are deprecated from the new CDN service. We did the analysis before, and only very old OS systems may be impacted by this change. So we suggest you to check cipher suites configured on your machine to ensure that any of cipher suites listed in the announcement have been enabled.

Note this status update on Twitter: https://twitter.com/nuget/status/1554953163576586241?s=20&t=S40LVQSEMItr0CJPTg7bVQ. It's brief but it's essentially our experience--we are dependent on external services for connectivity and we have been working with them to determine what mitigations we can put in place in addition to the increased load capacity that has already been achieved.

Hello, we will close this issue now. Please reopen it or reach out to us at<EMAIL_ADDRESS>if you meet this problem again. Thanks!

Having the same issue right now, Everything was working fine yesterday (also pipeline in Gitlab CI using Docker image)

Hey @tomasbruckner, we have this issue tracking today's availability problem: https://github.com/NuGet/NuGetGallery/issues/9218. On that issue, please let us know if you are still encountering a problem.

I'm get the same issue again.. please help me...

Hi, @rendhiagnosyifa! My apologies for this inconvenience!
We suggest you use the latest versions of NuGet clients to enhance the resilience. Please follow this document: https://learn.microsoft.com/en-us/nuget/nuget-org/nuget-org-faq#why-can-t-i-restore-packages-from-nuget-org and contact support. We may need to collect more diagnostic information and reach out to the CDN provider for the further investigation. Thanks!

I receive the same today on different OS (Linux, mac) when I try to do a restore in a docker image
Response status code does not indicate success: 502 (Bad Gateway).

This worked before as expected.
Anyone else having this issue ?

Yes, we are experience such issues today as well. It seems that issue is "going on/going off" as some of our pipelines are able to complete

I'm seeing the 502 (Bad Gateway)  today as well, when running dotnet publish in a docker container.
It still seems to work occasionally but only about 1/10.

Seeing the same bad gateway 502 errors when running dotnet restore - every time though, not intermittent

Hey @tomasbruckner, we have this issue tracking today's availability problem: #9218. On that issue, please let us know if you are still encountering a problem.

@joelverhagen are you sure that you mitigate this enough?
Same like #9775

We're seeing this problem right now.

We're seeing this problem right now.我们现在看到了这个问题。


Proposed italian version of taco recipe

What an interesting version. Gotta' try. Thx for suggesting it.


publish browser bundles

I have tried to create the browser bundle from the documentation in the readme but that did not seem to work.
I see in #3 that you don't want to commit build artifacts (which is great!) but would you accept a PR to use rollup instead of tsc for building? I have a very easy config file for ts-exif-parser ready which created both the bundle for browsers and the js files for modern web applications with bundlers / node applications.

Sorry this issue is for ts-exif-parser


[BUG] PG Vector Index creation statement incorrect

Please provide as much details as possible, this will help us to deliver a fix as soon as possible.
Thank you!
Describe the bug
In the new PgVectorEmbeddingStore there's an option to create the ivfflat index for the vector column automatically. This statement seems to be incorrect as I couldn't execute it in my Tests.
The statement does not include the "name" of the index as described here: https://www.postgresql.org/docs/current/sql-createindex.html
The statement used is this
"CREATE INDEX IF NOT EXISTS ON %s " +                                 "USING ivfflat (embedding vector_cosine_ops) " +                                 "WITH (lists = %s)"
The correct statement should look something like this:
"CREATE INDEX IF NOT EXISTS %s ON %s USING ivfflat (embedding vector_cosine_ops) WITH (lists = %s)"
Log and Stack trace
java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "ON"   Position: 28 	at dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore.<init>(PgVectorEmbeddingStore.java:107)
To Reproduce
just use the pgvector embedding store with the useIndex true option (and createdTable to true)
Expected behavior
Should create the table and the respective index on the column
Please complete the following information:

LangChain4j version: 0.24.0

Additional context

Fixed.
Here is the PR associated to this issue:
https://github.com/langchain4j/langchain4j/pull/302

quote from the article linked
 If the name is omitted, PostgreSQL chooses a suitable name based on the parent table's name and the indexed column name(s).

Can you select your Postgres Version with SELECT version();?
Here is my output
PostgreSQL 15.3 on aarch64-unknown-linux-gnu, compiled by aarch64-unknown-linux-gnu-gcc (GCC) 9.5.0, 64-bit
I am using 15.3 without any problem with index autogeneration with suffix xxx_embedding_idx

It's weird i'm using
Version: PostgreSQL 15.3 (Debian 15.3-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
docker image: ankane/pgvector:v0.4.4
And it's failing for me.

In the initial implementation, see local test I use ankane/pgvector:v0.5.1
I just spin it up again and tried the following.
CREATE TABLE
  public.items (
    vector_id uuid NOT NULL,
    embedding vector(384) NULL,
    text text NULL,
    metadata json NULL
  );

ALTER TABLE
  public.items
ADD
  CONSTRAINT items_pkey PRIMARY KEY (vector_id);

CREATE INDEX ON public.items USING ivfflat (embedding vector_cosine_ops) WITH (lists='100');

SELECT *
FROM pg_indexes
WHERE indexname LIKE '%embedding_idx';

Info:
Version query
PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit

You're using create index without the "IF NOT EXISTS" clause. For the latter you need an index name because how else would they check if they index does already exist.


New to Serenity Data, Trying to use this query in my custom Lookup Query

I am trying to learn how to convert my SQL statement to the built-in SQLQuery object with Serenity I I don't get how to use the Criteria object.
 Use Fields.As("x")
Also you don't need to make joins as long as you use fields from a row

Not quite following your suggestion, I looked in the Documentation for a similar example on LeftJoin for multiple tables but maybe I missed it.

Did you see sample at the end of this topic?
https://volkanceylan.gitbooks.io/serenity-guide/content/fluent_sql/criteria_objects.html

I have updated to this:
        query.Distinct(true)
            .LeftJoin("ProductMaterialCode", null, null)
            .LeftJoin("SecondaryItemMaterialCode", null, null)
            .Select(fields.MaterialCode)
            .Where(""):

But how do I get the reference on the foreign key on the joining table  for this Criteria WHERE pc.ProductId IS NULL AND sc.SecondaryItemId IS NULL

What are these NULLs? :) I don't have nulls anywhere in that sample. Man do you have fields that are originating from ProductMaterialCode and SecondaryItemMaterialCode in your MaterialCodeSkuRow?

Ok lets write your SQL with Serenity:
var m = MaterialCodeSKURow.Fields; // i'm not using .As("m") as base.PrepareQuery will assign "t0"
var pc = ProductMaterialCodeRow.Fields.As("pc");
var sc = SecondaryItemMaterialCodeRow.Fields.As("sc");
query
    .Select(m.MaterialCode)
    // .Select(m.XYZ).....
    .LeftJoin(pc, m.MaterialCodeId == pc.MaterialCodeId)
    .LeftJoin(sc, m.MaterialCodeId == sc.MaterialCodeId)
    .Where(pc.ProductId.IsNull() & sc.SecondaryItemId.IsNull())

Looks pretty similar to SQL? ;)

So Fields on the row represent the table and that was my disconnect. Thanks a lot

You're welcome

When using custom creating a custom lookup does the lookup name in Javascript have to match the collection property on the Row?

I am asking becasue my response is returning with data but I my dropdown won't populate with that data?

Did you add [LookupInclude] to IsActive property, or did you select that field in your custom lookup

Hi, I was created lookup script with left jion but it's not working in my look up.
var UR = UsersRow.Fields;
var RR = ReportsRow.Fields.As("RRT");
query.Distinct(true)
.Select(UR.Username)
.Select(UR.UserId)
.LeftJoin(RR, UR.AccountId == RR.AccountId)
.Where(new Criteria(UR.IsActive).In(1)&
new Criteria(RR.AccountId).IsNotNull() & new Criteria(UR.UserId).IsNotNull());

Hi, I was created lookup script with left jion but it's not working in my look up.
var UR = UsersRow.Fields;
var RR = ReportsRow.Fields.As("RRT");
query.Distinct(true)
.Select(UR.Username)
.Select(UR.UserId)
.LeftJoin(RR, UR.AccountId == RR.AccountId)
.Where(new Criteria(UR.IsActive).In(1)&
new Criteria(RR.AccountId).IsNotNull() & new Criteria(UR.UserId).IsNotNull());

Thanks to all, I got it.


Readme Updates

Long-overdue updates to our README. Changes include:

Updating memory and tokens/sec numbers to report for Llama3.1 instead of Llama2.

Providing a (n imo) clearer version of our table of supported recipes

Generally reorganizing things. Now the flow is

Intro

Models
Recipes
Memory efficiency and perf

Install
Getting Started

Downloading models
Running recipes
Modifying configs

Llama3 and 3.1
Community

Community Contributions

Acknowledgments
License

Updating the intro bullet points slightly for clarity.. now the first three more explicitly outline the three tables that follow
Removing the design principles section

A bunch of other small/cosmetic changes, but these are the main ones

I think we absolutely need a section in getting started on running on a custom dataset, maybe even listing out the datset types we support and pointing to docs for more details.
I don't see any mention of multimodal except in the install for why we depend on torchvision, we should be highlighting this somewhere

I think we absolutely need a section in getting started on running on a custom dataset, maybe even listing out the datset types we support and pointing to docs for more details.
I don't see any mention of multimodal except in the install for why we depend on torchvision, we should be highlighting this somewhere

I would punt that one to you and/or @pbontrager. The goal of these changes is just to get us from 6 months behind to approximately present-day. And imo custom datasets can get hairy quickly, I think the readme should be simple and to-the-point, leveraging our live docs as a reference. E.g. even axolotl's readme basically only has two sentences on datasets and just points to their docs.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.13%. Comparing base (50b24e5) to head (cc4dbff).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1664      +/-   ##
==========================================
- Coverage   71.11%   69.13%   -1.98%
==========================================
  Files         297      298       +1
  Lines       15120    15165      +45
==========================================
- Hits        10752    10485     -267
- Misses       4368     4680     +312

Flag
Coverage Δ

69.13% <ø> (-1.98%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Error escaping in image identify command

I've come up against the following error when identifying a file with a quote mark in the file name:
Unmatched double quote: "identify -ping -format '%m %w %h' '/Users/brendon/Projects/SpikeAtSchool/public/files/334389048b872a53/folders/1/Johns's Document List.xlsx'"

I've come up against this again:
Unmatched double quote: "convert '/path/to/Years 8's Tech.jpg' -auto-orient '/tmp/dragonfly20180627-5005-161nlo5.jpg'"

This feels like a security problem to me. I'm using version 1.1.1 but a quick check of the History doesn't seem to show any changes in this space.
Just to clarify, the problem is being caused by the single quote in the file name of a user-uploaded file.

Just digging a bit deeper, it seems that it's possible to escape the file names:
https://github.com/markevans/dragonfly/blob/e5ca848aef74c5106d328ff06ee51dcafb8825d2/lib/dragonfly/content.rb#L170
Is there a reason why they're not escaped in this instance?

Sorry, of course that evaluates to true but then there isn't actually any escaping, just quoting:
https://github.com/markevans/dragonfly/blob/e5ca848aef74c5106d328ff06ee51dcafb8825d2/lib/dragonfly/content.rb#L172-L173
https://github.com/markevans/dragonfly/blob/master/lib/dragonfly/shell.rb#L23-L26
Could we perhaps use Shellwords.escape()?

@markevans, would you be able to provide a bit of insight on this one? I'm happy to put together a PR to fix it but just need some direction on what you think the solution might be.


Can i get the velocity of the agent?

Hi,
I read the document and found that obs[1] can show the velocity of the agent. And i read several issues about the velocity, but i still find it a little bit hard to follow.
I build a simple environment:
!ArenaConfig
arenas:
  0: !Arena
    t: 0
    items:
    - !Item
      name: Agent
      positions:
        - !Vector3 {x: 1, y: 0, z: 1}
      rotations: [0]

and use the following code to control:
action = [1, 0]
dis = (0.0, 0.0, 0.0)
for i in range(40):
    obs,reward,done,info = env.step(action)
    dis += obs[1]
    print( obs[1] )

print()
print( dis )

and here is what i get:
[ 0.         -0.35398483  0.84673786]
[ 0.00000000e+00 -2.83241272e-03  3.00361156e+00]
[ 0.00000000e+00 -1.90734863e-05  5.09659433e+00]
[0.         0.         6.94981289]
[0.         0.         8.58943081]
[ 0.          0.         10.04006004]
[ 0.          0.         11.32348442]
[ 0.          0.         12.45897579]
[ 0.          0.         13.46358585]
[ 0.          0.         14.35240078]
[ 0.          0.         15.13876629]
[ 0.          0.         15.83449364]
[ 0.          0.         16.45003128]
[ 0.          0.         16.99461937]
[ 0.          0.         17.47643471]
[ 0.          0.         17.90271568]
[ 0.          0.         18.27985954]
[ 0.          0.         18.61353302]
[ 0.          0.         18.90874672]
[ 0.          0.         19.16993141]
[ 0.          0.         19.40101242]
[ 0.          0.         19.60545921]
[ 0.          0.         19.78634071]
[ 0.          0.         19.94637299]
[ 0.          0.         20.08795738]
[ 0.         0.        20.2132225]
[ 0.        0.       20.324049]
[ 0.          0.         20.42210007]
[ 0.         0.        20.5088501]
[ 0.          0.         20.58560181]
[ 0.          0.         20.65350723]
[ 0.          0.         20.71358681]
[ 0.         0.        20.7667408]
[ 0.          0.         20.81376648]
[ 0.          0.         20.85537148]
[ 0.         0.        20.8921814]
[ 0.          0.         20.92474747]
[ 0.          0.         20.95355988]
[ 0.         0.        20.9790535]
[2.77410321e-15 0.00000000e+00 0.00000000e+00]

[ 2.77410321e-15 -3.56836319e-01  6.49327307e+02]

as you can see the agent use 39 steps to reach the other side, i guess it means that each step contributed equally on the movement, i.e. on a 40x40 map, each step will contribute 1. But the obs[1][2] is different from step to step, it's changing and I don't know what that means.  What is meanning of obs[1][2]? And how can i get the velocity of the agent?
THANKS!

i guess it means that each step contributed equally on the movement, i.e. on a 40x40 map, each step will contribute 1.

No, it's not a constant jump forward. The velocity is computed by Unity physic's engine. When you move forward/backward you apply a force to the agent, its velocity is then computed depending on friction, drag, momentum etc.

What is meanning of obs[1][2]?

It is the z (forward) component of the agent's velocity in its local reference frame.

And how can i get the velocity of the agent?

in your example obs[1] is the velocity of the agent along (x,y,z)
Have a look at this discussion to see how you can work out the time component of the velocity.

I m closing this topic due to inactivity, please reopen if needed


feat(ext.commands): add LargeRange

Summary
This PR adds support for large numbers (numbers bigger than 2 ** 53 or smaller than -2 ** 53) in a version of commands.Range named commands.LargeRange.
Checklist

[x] If code changes were made, then they have been tested

[ ] I have updated the documentation to reflect the changes
[ ] I have formatted the code properly by running task lint
[ ] I have type-checked the code by running task pyright

[ ] This PR fixes an issue
[x] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

After reading the comments that @shiftinv has left, I think the best course of action is to leave Range as it currently is. Instead, add a new class called LargeRange (name can be bikeshedded), which switches between the two if needed. In addition, this is large by default, but can switch to float or int if the max is below the threshold.
LargeFloat would not be needed, as it would be a part of LargeRange (again, bikeshed name)
So to summarize, my proposed changes are:

keep existing implementation of Range the same
make LargeRange function like existing Range class, but with automatic large support and default to large.
remove LargeFloat
create and add any necessary conversion errors

As of pyright 1.1.299, using non-generic metaclasses with __getitem__ in type expressions no longer works. This means most of Range and String will have to be rewritten to make use of typing.Annotated in some way.
I'll close this PR for the time being, since this will likely end up being added as part of said rewrite; thank you for the contribution though :)


The secure versions of swprintf and _swprintf_l do not take a count parameter.

Is this right? I think it should be "The secure versions of swprintf and _swprintf_l take a count parameter."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a209539e-aeec-2bb4-5887-c4cf90467204
Version Independent ID: ed0abe24-9562-5db6-29dc-c7ad7588081a
Content: sprintf, _sprintf_l, swprintf, _swprintf_l, __swprintf_l
Content Source: docs/c-runtime-library/reference/sprintf-sprintf-l-swprintf-swprintf-l-swprintf-l.md
Product: visual-cpp
Technology: cpp-ucrt
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

The description is incorrect. It should say that they take the size of the buffer.
Fixed. Should be live by tomorrow (6/24/)


How to publish a json

this is my code
JsonObject ID = object.createNestedObject(String(header.from_node));
        ID["Temperature"] = pack0.temperature;
        ID["Humidity"] = pack0.humidity;
        ID["Soil"] = pack0.soil;
        ID[ "Battery"] = pack0.battery;
        serializeJson(object, Serial);

My json like this in serial monitor {"1":{"Temperature":29.8,"Humidity":41,"Soil":2,"Battery":3292.593}}
i use (client.publish(pubTopic, object)) but it turned no match function. could any help me plz

You need to convert your json object to c string (char array). I suppose that you are using ArduinoJson library, so look how to do it here (chapter 4.4):


What should the numbers in the filter represent?

Right now the filter values show students active with this type of element.
So, if 100 students are in the <30min group, but only 1 of them watch video, the video page will say "1" and not "100" once filtered.
I would like to see this changed, but this is more than the numbers only - this is about how we treat N/A.
Students who do not watch videos should be included in the analysis with a value of 0 rather than not included.
If 99 students do not watch videos and one students watches all of them, the average should be 1%, not 100%.
Not sure whether this impacts any graphs, as we present counts and not %s, but perhaps. Does it?
Also, this naturally applies to all elements, not only videos.
If N/A do not matter to graphs, then either way works for the n/a on the top.

Let's add NA as an activity level
These changes you've suggested will not affect the appearance of the video graphs. The "Which of my videos is watched the most" graph will only change it by a scale. You are right, the video graphs are constructed via counts, so again, taking these counts and dividing by the same number will not change the way they look.

The "Which parts of the my videos is being watched the most" graph is calculated as follows:
watch_rate = (number_of_raw_views_of_segment) / (number_of_unique_users_who_have_started_the_video)
I think this calculation helps to answer the question: Which part of my videos being watched the most by the people who have started the video?
Again, we can get the "watch rate per student in course" by dividing by the number of students in the course, but I don't think this will change the way the graph looks as it is dividing by a constant.

Add NA as an activity level?? Then everything will be blank. What am I
missing?
So, no changes?
On Thu, Jun 29, 2017 at 3:13 PM, AndrewLim1990<EMAIL_ADDRESS>wrote:

Let's add NA as an activity level
These changes you've suggested will not affect the appearance of
the video graphs. The "Which of my videos is watched the most" graph will
only change it by a scale. You are right, the video graphs are constructed
via counts, so again, taking these counts and dividing by the same number
will not change the way they look.

The "Which parts of the my videos is being watched the most" graph is
calculated as follows:
watch_rate = (number_of_raw_views_of_segment) /
(number_of_unique_users_who_have_started_the_video)
I think this calculation helps to answer the question: Which part of my
videos being watched the most by the people who have started the video?
Again, we can get the "watch rate per student in course" by dividing by
the number of students in the course, but I don't think this will change
the way the graph looks as it is dividing by a constant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewLim1990/mooc_capstone_public/issues/4#issuecomment-312123201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKEQMFmM0uyhGXs7DwgvDCHkAyoZbd2Kks5sJCGkgaJpZM4OJ6bH
.

NA as an activity level: A lot of the data for students do not have their activity level recorded on bigquery. The graphs would not be blank. An activity level of NA would just be a way of selecting students where their activity level (number of hours spent) is not known.
So no changes?: A change that I listed above as number 2. can be done.  Personally, I can implement these changes for video and general demographics dashboards. I would not feel comfortable altering any others!

I would not add NA, for two different sets of reasons:

Instructor cannot interpret NA. Which students are these? Thus, better
not to include them.
In this case, <30, 30-5, and >5 may be fewer than overall - but that's fine.

All students with events are logged. Having many NA students can mean two
things:

These are students who registered but have no activity. In this case,
this group will always have empty graphs. I put my money on this option.
These are students with activity, and there is a bug in the code
somewhere along the pipeline. I hope that's not the case.

Either way, I would not add N/A.
On Thu, Jun 29, 2017 at 4:21 PM, AndrewLim1990<EMAIL_ADDRESS>wrote:

NA as an activity level: A lot of the data for students do not have
their activity level recorded on bigquery. The graphs would not be blank.
An activity level of NA would just be a way of selecting students where
their activity level (number of hours spent) is not known.
So no changes?: A change that I listed above as number 2. can be done.
Personally, I can implement these changes for video and general
demographics dashboards. I would not feel comfortable altering any others!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewLim1990/mooc_capstone_public/issues/4#issuecomment-312133850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKEQMBRJFBcT_ydQXiHnAgMEb0xsHWN1ks5sJDFdgaJpZM4OJ6bH
.

NA has not been included.
Is it still essential to have the same number across the dashboards?
If not, I will be closing this issue!
Andrew

Do we know that NAs are no-activity? Otherwise there may be a bigger
problem. I would suggest to triangualte different data sources (match
tracklog NA with person-course, for instance).
If there are no issues here, can close it, IMO.
On Mon, Jul 17, 2017 at 3:08 PM, AndrewLim1990<EMAIL_ADDRESS>wrote:

NA has not been included.
Is it still essential to have the same number across the dashboards?
If not, I will be closing this issue!
Andrew
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewLim1990/mooc_capstone_public/issues/4#issuecomment-315899431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKEQMEtorK2u6jT9YLc4J2QKy1r4w2u9ks5sO9tFgaJpZM4OJ6bH
.

I was doing some work on this. The NAs occur when someone registers for the course but doesn't perform any other tracked action. I'm working on removing them in teh SQL scripts. This should save people some headaches.

That is exactly what I hypothesized. Thanks, Matt.
On Mon, Jul 17, 2017 at 10:17 PM, Matthew Emery<EMAIL_ADDRESS>wrote:

I was doing some work on this. The NAs occur when someone registers for
the course but doesn't perform any other tracked action. I'm working on
removing them in teh SQL scripts. This should save people some headaches.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndrewLim1990/mooc_capstone_public/issues/4#issuecomment-315960425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKEQMOYSnsD-HKz1y5_yYK0X5hoAfLEJks5sPD_agaJpZM4OJ6bH
.

I'm closing this issue because I fixed this while updating the SQL.


WIP: Website

Just got the hero and logo going.

dope af!

this PR is ready to merge as far as i'm concerned, can always iterate on copy later


vscode, vscodium: 1.44.0 -> 1.44.1

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Please merge as I don't have write access

@eadwu please merge as I don't have write access

@worldofpeace @Synthetica9

@kuznero Could you open a backport to stable https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#backporting-changes. The branch would be release-20.03


feather cli v4 upgrade error

Steps to reproduce
Upgraded feathers cli from v3.9 to v4.x.
Now feathers upgrade gives the following error
Expected behavior
Upgrade feathers from v3 to v4
Actual behavior
events.js:200
      throw er; // Unhandled 'error' event
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.join (path.js:1039:7)
    at UpgradeGenerator.destinationPath (/Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/yeoman-generator/lib/index.js:869:30)
    at UpgradeGenerator.writing (/Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/generator-feathers/generators/upgrade/index.js:49:27)
    at Object.<anonymous> (/Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/yeoman-generator/lib/index.js:546:23)
    at /Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/run-async/index.js:25:25
    at new Promise (<anonymous>)
    at /Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/run-async/index.js:24:19
    at /Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/yeoman-generator/lib/index.js:547:9
    at processImmediate (internal/timers.js:439:21)
Emitted 'error' event on UpgradeGenerator instance at:
    at Immediate.<anonymous> (/Users/foo/.nvm/versions/node/v12.14.1/lib/node_modules/@feathersjs/cli/node_modules/yeoman-generator/lib/index.js:559:18)
    at processImmediate (internal/timers.js:439:21) {
  code: 'ERR_INVALID_ARG_TYPE'

The upgrade command will only work for applications generated with the v3 CLI. This problem usually occurs then the directories are not set properly in package.json (see https://github.com/feathersjs/feathers-chat/blob/master/package.json#L16 for how it should look like). Manual upgrade should still be possible as outlined in the migration guide.


clangd does not navigate to definition of a function if a call does not match exact function's signature

Assuming we have a function defined as follows:
void foo(int arg) {     do_something_with_args(arg); }
and somewhere else I have a call:
foo(10, 20);
If I ask to navigate to foo from the invocation spot, clangd refuses to do so unless the invocation signature matches exactly the function's declaration. I.e. if the code is foo(10); it works.
At a glance current behavior makes sense, but it does not fit the typical workflow where a programmer decides to add an argument to a function, adds it in the caller and then wants to jump to the function itself to change the function. I.e. in the example above the intent is to change foo to accept two arguments, but once I change the invocation, I cannot jump to foo anymore.
The problem equally applies to functions and C++ methods.
Some side notes:

I could not really make my mind if this is an enhancement or a bug report. It is kind of both. Filing it as a bug.
I tried to change the code myself and post a pull request, but the learning curve is quite steep. Filing a bug with the hope that someone more knowledgable can fix it in no time.

This works for me with recent clangd. It uses the "recovery AST" feature, which I think was made default in clangd 11 (and added behind the --recovery-ast=true command-line option in a previous release, possibly clangd 10).

This works for me with recent clangd. It uses the "recovery AST" feature, which I think was made default in clangd 11 (and added behind the --recovery-ast=true command-line option in a previous release, possibly clangd 10).

I do have clangd-11. Trying to confirm that indeed it works as expected.

Unfortunately I don't see that it works too well. As soon as one of the arguments to a function is even of the wrong type, navigation stops working. I also noticed this with complex structures. E.g. when I navigate to internal member of a structure (or a class), navigation stops if I try to reference wrong member. For example:
struct foo {
    int member;
};
struct bar {
    struct foo f;
};

and somewhere in the code I have
struct bar b;
b.f.not_member;

and try to navigate to b.f, it does not work unless I either remove .not_member or fix it to be .member.

Unfortunately I don't see that it works too well. As soon as one of the arguments to a function is even of the wrong type, navigation stops working.

Could you post an example please? There may very well be cases that the recovery-ast feature misses, but we need examples to make progress on them.

I also noticed this with complex structures. E.g. when I navigate to internal member of a structure (or a class), navigation stops if I try to reference wrong member. For example:
struct foo {
    int member;
};
struct bar {
    struct foo f;
};

and somewhere in the code I have
struct bar b;
b.f.not_member;

and try to navigate to b.f, it does not work unless I either remove .not_member or fix it to be .member.

This works for me as well. Note, I'm using clangd nightly; perhaps this case has been improved since clangd 11.

I finally got some time to try the nightly build. At a glance it seems better. I'd like to keep this ticket open for another few days to make sure that the problem has indeed been fixed.

Closing this, this feature will by its nature always be incomplete, but the common cases mentioned in this bug are supported today.


ADD TXC TOKEN

Tripxchain
is going to minimize the current problems in the tourism scene, To create a whole new decentralized tourism ecosystem. Travel and spend as you earn rewards!
Token Name: Tripxchain
Symbol: TXC
Total Supply: 3,000,000,000
Decimal: 0
Contract address: 0x9b12b29399e0797b48822f6857fa2ceccf5d9f2f
Media Report: No
Gas Price: 60000
email<EMAIL_ADDRESS>website: https://www.trip-xc.com/
whitepaper: https://www.trip-xc.com/Tripxchain_WP_eng.pdf
telegram: https://t.me/joinchat/wangtokenofficial
github: https://github.com/GTCglobal

Incorrect information submitted, please go through our guide and check again.


EEGCLIP config file

Hello~Thanks for your great work! I tried to reproduce the EEGCLIP with CVPR40 5-95hz and run the main.py, but could only get a KMeans score of about 0.04. It may be the problem with the config file. Could you please share this part? Or other guidance would be appreciated. : )

Hi @zihang-xu , thank you for reading our work.
Please refer to these issues for more information [ link, link ].
If you still have any doubts, do let us know.

Here are some of my processes for reproducing the paper. I downloaded CVPR40 5-95hz zip and ran main.py. I tried with the paper, but the result was still not satisfactory. I think I missed some details.
Could you point me in the right direction, please? Thanks again!

Hi @zihang-xu , here are the few things that I observed in the training code at this line [link], we are not passing the config file configuration so network is using default initialised parameters that is:
in_channels=128, n_features=128, projection_dim=256, num_layers=1.
Make sure that you have the correct extracted data of 5-95Hz, you can find the one that we have used [link], try running on this.
Yo can also test the checkpoints that we have shared.

Thank you very much! I will give them a try.

Hi @zihang-xu,
Did you run the code? Are there any updates regarding the results?

Thank you very much for your concern and patience. I didn't follow up on this work continuously because of the holiday.
I see the researcher is following up on the work about "EEGClip" at this link https://github.com/prajwalsingh/EEGStyleGAN-ADA/issues/9#issuecomment-1968347433. I encountered similar problems and https://github.com/prajwalsingh/EEGStyleGAN-ADA/blob/main/EEGClip/topkrecall.py doesn't print any metrics.
I will keep an eye on the latest updates. Thanks again!

Hi @zihang-xu, thank you for your reply.
We are looking into it and will keep posting the latest findings in this [ thread ]. The problem arises due to messy code. We will clean it and update it on Git Hub.

Hi @zihang-xu , we have figured out the cause and explained it here.

Thank you for your explanation and patience. I will read and study the code carefully.


Add docs code testing & documentation syntax changes

Creates testing files md_testing.py and md_testing.js for testing python and nodejs code in markdown files in the documentation
This listens for HTML tags as well: <!--[language] code code code...--> will create a set-up file to create some mock tables or to fulfill some assumptions in the documentation.
Creates a github action workflow that triggers every push/pr to docs/**
Modifies documentation so tests run (mostly indentation, some small syntax errors and some missing imports)

A list of excluded files that we need to take a closer look at later on:
const excludedFiles = [
  "../src/fts.md",
  "../src/embedding.md",
  "../src/examples/serverless_lancedb_with_s3_and_lambda.md",
  "../src/examples/serverless_qa_bot_with_modal_and_langchain.md",
  "../src/examples/youtube_transcript_bot_with_nodejs.md",
];

Many of them can't be done because we need the OpenAI API key :(. fts.md has some issues with the library, I believe this is still experimental?
Closes #170

cc @AyushExel does this overlap with what you were talking about with having notebook-based examples?

Sorry didn't see this. Yeah something similar. I wanted to have all the examples currently in the docs to be available as both notebooks and scripts that users can simply run. And future, also include code from blogs, plugins, etc. that don't necessarily belong in the main repo. Started some work here https://github.com/lancedb/vectordb-recipes

@TevinWang Sorry for the delay. Could you resolve the conflict? Then I can merge.

@TevinWang Sorry for the delay. Could you resolve the conflict? Then I can merge.

No worries, resolved!


Automated cherry pick of #6062: fix/notify: Add deadline for rpc client

Cherry pick of #6062 on release/3.2.
#6062: fix/notify: Add deadline for rpc client

Codecov Report

Merging #6063 into release/3.2 will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.2    #6063      +/-   ##
===============================================
- Coverage         7.02%    7.02%   -0.01%
===============================================
  Files              644      644
  Lines           110421   110463      +42
===============================================
  Hits              7756     7756
- Misses          102066   102108      +42
  Partials           599      599

Flag
Coverage Δ

#aFlag
7.02% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/fetch.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/opslog.go
1.50% <0.00%> (-0.16%)
:arrow_down:

pkg/cloudcommon/db/owner.go
7.40% <0.00%> (-2.60%)
:arrow_down:

pkg/compute/models/guestnetworks.go
0.17% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/guests.go
0.56% <ø> (ø)

pkg/compute/models/hosts.go
0.31% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/vpcs_mapped_address.go
0.00% <0.00%> (ø)

pkg/multicloud/aws/loadbalancerbackendgroup.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.00%> (ø)

Continue to review full report at Codecov.

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


Fix dark-theme in html[data-theme=dark]-tags

This is similar to https://github.com/pydata/xarray/issues/6500 and https://github.com/pydata/xarray/pull/6501 : In my docs, the dark-theme is noted in the html-part as
html< ... data-theme=dark ... >

and xarray-tables look therefore awful with the dark theme, as they are not rendered properly, as can be seen, e.g., here: https://emsig.xyz/emg3d-gallery/gallery/tutorials/simulation.html#create-survey.
This can be fixed by extending
https://github.com/pydata/xarray/blob/fff82539c7b0f045c35ace332c4f6ecb365a0612/xarray/static/css/style.css#L16-L18
to
html[theme=dark],
html[data-theme=dark],
body[data-theme=dark],
body.vscode-dark {

[x] User visible changes (including notable bug fixes) are documented in whats-new.rst

Thanks!


SOAP (Simple Object Access Protocol)

Provides structured data exchange using XML via SOAP web services.

Implemented as part of 3bac2e304b889fd26aada9dc5087965d00b49a3f


Publish plugins to s3://get.pulumi.com, too.

his PR updates the publish-plugin.sh script to copy built plugins to s3://get.pulumi.com
in addition to s3://rel.pulumi.com. This is so that we can migrate to serving plugins via
CDN on https://get.pulumi.com, instead of https://api.pulumi.com like we do today.
For more information about the overall effort, see this comment.
In addition, immediately before this code gets merged, I will also update the AWS access key
used for this repo on:

Travis CI: https://travis-ci.com/github/pulumi/pulumi-tls/settings
GitHub Actions: https://github.com/pulumi/pulumi-tls/settings/secrets (if applicable)

The access key will be fore a different IAM User. This is part of https://github.com/pulumi/home/issues/708,
and managing Pulumi's internal AWS access using Pulumi (and migrating off hand-crafted IAM permissions we
set up in 2017).

I'm assuming that this repository doesn't need to create AWS resources, so I'll use an access key
that only has permissions to upload resources and publish plugins but nothing else. I'll discover
if this is correct when testing out the release path post-merge. (And can update Travis out of band.)

Next Steps
After this review gets the LGTM, the next steps are:

Update the AWS credentials on Travis, GitHub
Merge the PR. Wait for master to be green. Fix any problems associated with this PR.
Tag master with v2.1.2-beta.1 and push the tags. This will trigger a release of the
plugin, and wait for green CI/CD to confirm no problems with that either.
Celebrate I didn't break anything.

Since this is the same set of changes from other PRs in other repos, I'm going to merge TBR and keep an eye on the results of CI.


Individual sync for xa and MM devices to set acc settings.

I don't know if this was intended, but bmi08a_configure_data_synchronization changed dev->accel_cfg.odr and dev->accel_cfg.bw but did not set BMI08_REG_ACCEL_CONF on the IMU. This PR implements individual bmi08xa_configure_data_synchronization and bmi088_mm_configure_data_synchronization that actually set the accelerometer config.
bmi08xa_configure_data_synchronization sets the register now. bmi088_mm_configure_data_synchronization I could not test.

I think this issue is fixed in df70fd79f668aebea902fdd3cbf042e246df1777


3 possible issues

build.py :: I ran into small problem with "python" and replaced with sys.executable
line 19:
if platform.system() == "Windows":
    args = [
        sys.executable,  # Use the Python interpreter from the current environment

pyproject.toml
is a dependency missing?
"websockets>=14.1"  # used in network.py

worker.py  I ran into a problem with _create_tts_request() and the request.close() failed because request not defined.
        try:
            response = None
            pre_files = self._get_pre_files()
            audio_files = self._filter_audio_files(pre_files)
            request = self._create_tts_request(audio_files)

            self.time_worker.start()
            response = requests.post(
                self.backend,
                data=ormsgpack.packb(request, option=ormsgpack.OPT_SERIALIZE_PYDANTIC),
                stream=self.streaming,
                headers={
                    "authorization": f"Bearer {self.api_key}",
                    "content-type": "application/msgpack",
                },
            )
            response.raise_for_status()
            audio_chunks = response.iter_content(chunk_size=self.frames_per_buffer)
            self.set_chunks(audio_chunks)
            super().run()
        except requests.RequestException as e:
            logger.error(f"Network request failed: {e}")
            self.error_signal.emit()
        finally:
            self.stop()  # Ensure the thread stops gracefully if there's an error
            if response:
                response.close()

All I have done is in miniconda CLI.
Yeah, your fix is right.


fix: if .proto file doesn't specify "package", csharp_generator generates invalid code.

Fixes  https://github.com/grpc/grpc/issues/15584.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


AAD Common Endpoint Example Needed

Please provide an example of AAD OAuth on the common endpoint.  I assume some configuration in Azure tenancy is needed and perhaps some unknown service principals.  A full example of config and usage is wanting.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e026c87e-6bbe-9e7c-5ecc-e6f2943e2655
Version Independent ID: 81cb7f00-6d48-4d29-b47c-b9bc36ad87d8
Content: Getting Started Developing Connect Apps for Dynamics 365 Business Central - Business Central
Content Source: dev-itpro/developer/devenv-develop-connect-apps.md
Service: dynamics365-business-central
Product: unspecified
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for your feedback. This topic has just been updated with more information on setting up AAD.


[HOT FIX] Properly init BloomFilter without ConfigSetter#close

Bug-fix that moves the initialization of the Bloom Filter Rocks object out of the @Before test setup method. Don't use KIP-453 so we can apply to previous versions

@bbejeck


Please invite me to the GitHub Community Organization :)

Please invite me to the GitHub Community Organisation.

Name: Sreekaran Srinath

Discord Username(if exists): Neptune#0424

Additional Context: Got the link and connected from YouTube live stream :). I would love to connect, learn & share the knowledge I have and get started with open source contributions :)

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Add logs command

Is your feature request related to a problem? Please describe.
Opening the user folder to see the logs is not the most practical option.
Describe the solution you'd like
A logs command could be added. It could behave like docker logs

Closing this in favor of #43


Fix minor typo to show possession.

"You can access a variables children and parent variables..."
=>
"You can access a variable's children and parent variables..."

:salute: looks good


Fix code scanning alert - Database query built from user-controlled sources

Tracking issue for:

[ ] https://github.com/winterrdog/odin-blog-api/security/code-scanning/2

fixed in this commit


Add noise to the autopilot control

I want to add noise to the steering of the autopilot on every tick of the simulation.
What I tried: Add a callback via the carla.World.on_tick method as follows:
def my_callback(vehicle, world_snapshot):
    control = vehicle.get_control()
    control.steer += random.uniform(-0.1, 0.1)
    vehicle.apply_control(control)

world.on_tick(functools.partial(add_steer_noise, vehicle))

Unfortunately, this had no effect on the steering control. Is there any other way to achieve this with the Python API?
I am using the precompiled version <IP_ADDRESS>.
This question was already asked in https://github.com/carla-simulator/carla/issues/1522 but the provided answers did not work for me either, and I cannot reopen issues.

Hi,
You should add it directly on the Traffic Manager API. If you go to MotionPlanStage.cpp and look for
  if (ego_physics_enabled) {
    carla::rpc::VehicleControl vehicle_control;
    vehicle_control.throttle = actuation_signal.throttle;
    vehicle_control.brake = actuation_signal.brake;
    vehicle_control.steer = actuation_signal.steer;

    output_array.at(index) = carla::rpc::Command::ApplyVehicleControl(actor_id, vehicle_control);
  }

You can add the random.uniform(-0.1, 0.1) to the actuation_signal before the vehicle_control is applied.

Thanks I will give it a shot and report back

Hi @magehrig
So it seems I was wrong and you can't inject this noise directly in Python (yet). In any case, the change seems small. We could help out by enabling/updating the interface to support noise.
Let us know if you need help with this or if you are just implementing this by yourself.

@jackbart94 I recompiled CARLA with your suggestions. Unfortunately it does not seem to make a difference either. This is a 10 second sequence with the proposed changes using autopilot: https://youtu.be/_tOPd97Hchc.

@jackbart94 I recompiled CARLA with your suggestions. Unfortunately it does not seem to make a difference either. This is a 10 second sequence with the proposed changes using autopilot: https://youtu.be/_tOPd97Hchc.
The code I used for this is:
// Constructing the actuation signal.
if (ego_physics_enabled) {

std::default_random_engine generator;
std::uniform_real_distribution<double> distribution(-0.1,0.1);
double number = distribution(generator);

carla::rpc::VehicleControl vehicle_control;
vehicle_control.throttle = actuation_signal.throttle;
vehicle_control.brake = actuation_signal.brake;
vehicle_control.steer = actuation_signal.steer + static_cast<float>(number);

output_array.at(index) = carla::rpc::Command::ApplyVehicleControl(actor_id, vehicle_control);
} else {

Is the steering in radians/second or degrees/second btw?

Hi,
The code isn't correct. By printing the random number, you can see it's always the same. We are actually implementing a random generation class, soon it will be in master, but in the meantime you can check out how to do it in the branch traffic_manager/determinism_check.

I used your traffic_manager/determinism_check branch and implemented the steering noise using the RandomGenerator class. However, I can still not produce the desired effect. I don't have time to investigate this issue further but we should keep it open unless it is solved (don't let it go stale).

Thanks I could make it work using the RandomGenerator class of your branch. Although, it seems that it had an effect on all the cars not just the own vehicle that I wanted to steer. Is this to be expected?

Yeah, that's definitely to be expected. You are assigning this random noise steering behavior to every vehicle that is controlled by the Traffic Manager or autopilot. If you want to assign it only to your vehicle (or any subset of all the vehicles controlled by the TM) you have to implement a parameter, such as we do with ignore_traffic_light_percentage, and then in your script only assign this particular behavior to your vehicle.

Hi, I would like to know how to call the Randomgenerator from Python API (I had no experience on the C++), and whether it is possible to add custom noise to the control command in autopilot mode.


Any indication of when @nuxthub/auth will be ready?

It's the one thing stopping me from making the total switch over to Nuxt/NuxtHub

https://github.com/nuxt-hub/core/issues/379#issuecomment-2482624930

Beautiful @yusufalitangoz I adore the way the Nuxt ecosystem works with UI, content and studio it's just the auth solution that I have been waiting on. Thank you for the update.


chore: add contributing.md file

Description
To close #61 . Added a contributing.md file for all contributors. the file includes a guide on getting started, opening PRs and code contributions
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[x] 📝 Documentation
[ ] 🗑 Chore

@mihrab34 I'll look into this PR in a bit. Thanks for the update


feat(REACH-565): Replace Applitools with VRT

Migrate visual tests from AppliTools to Visual Regression Tracker (aka VRT). We use self-hosted VRT dashboard (accessible via VPN, not public).
Visual tests still run only for internal Typeform PRs, not for external PRs. In case there are possible visual changes it is up. to maintainer to check this locally before merging.

[BOT] Preview available with hash ca5e1b429b875de4d417ebf91b5060ecdaf8af94 here.

[BOT] Preview available with hash fd5df3ca36a698d24dfe7054add574324214987a here.

[BOT] Preview available with hash dc729b870a2302222f1db4948834d921fddf46da here.

[BOT] Preview available with hash 26130b4dff7d073e41ca865f06ea8eb047663563 here.

[BOT] Preview available with hash bb0f84f7b998ec04977c0c1021550e7510db1493 here.

[BOT] Preview available with hash 42e5211c2bf8b091a693bdf88e9e26ff4692be28 here.

[BOT] Preview available with hash 051fb2cefe0adc3eb5e6b1a0d57ee4cd57aa1e9a here.

[BOT] Preview available with hash ee89c19c1c7258d364eb7fe8c01f5c21d8297b89 here.

[BOT] Preview available with hash f4d12f4276b071c0731167841567be0acfeab09e here.

 I will try to find an alternative solution.

[BOT] Preview available with hash 87e15406df0717159c38ac30d30e9d89d7f29a47 here.

[BOT] Preview available with hash 27cd6d31cdf88728a81c135f5cce1cbdd58c6f3e here.

[BOT] Preview available with hash 92533f2bf1d7a4ee0395f271012c4b5cfb7df4ee here.

:tada: This PR is included in version @typeform/embed-v2.16.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


refactor: bring back stack-down-delete-volumes

This PR is due that change and brings back stack-down-delete-volumes stack target. It also updates copyright years and pr template.

IMO some of the wording in the doc could be made a bit clearer here: https://docs.knora.org/04-publishing-deployment/getting-started
The order in which make stack-up and make init-db-test are presented to me suggests that one should execute stack-up first. But that doesn't work, as I had to learn the hard way. ;-)
Especially the sentence "... after which you can start the stack again with make stack-up, recreate the repository and load the data with make init-db-test" is misleading to me.
It might even be worth being explicit on that, and just write that init-db-test must be called first.

IMO some of the wording in the doc could be made a bit clearer here: https://docs.knora.org/04-publishing-deployment/getting-started
The order in which make stack-up and make init-db-test are presented to me suggests that one should execute stack-up first. But that doesn't work, as I had to learn the hard way. ;-)
Especially the sentence "... after which you can start the stack again with make stack-up, recreate the repository and load the data with make init-db-test" is misleading to me.
It might even be worth being explicit on that, and just write that init-db-test must be called first.

also, I would appreciate a make rule that calls make init-db-test and make stack-up consecutively, for lazy people like me.

also, I would appreciate a make rule that calls make init-db-test and make stack-up consecutively, for lazy people like me.

IMO some of the wording in the doc could be made a bit clearer here: https://docs.knora.org/04-publishing-deployment/getting-started
The order in which make stack-up and make init-db-test are presented to me suggests that one should execute stack-up first. But that doesn't work, as I had to learn the hard way. ;-)
Especially the sentence "... after which you can start the stack again with make stack-up, recreate the repository and load the data with make init-db-test" is misleading to me.
It might even be worth being explicit on that, and just write that init-db-test must be called first.

Good point.
Another thing is, the stack-down-delete-volumes is also somehow redundant here, because we have init-db-test which contains it:
.PHONY: init-db-test
init-db-test: stack-db-remove stack-db-only ## initializes the knora-test repository
	@echo $@
	@$(MAKE) -C webapi/scripts fuseki-init-knora-test

And since I've notice it, I only use 2 commands for initialisation of DSP-API

make init-db-test
make stack-uo

IMO some of the wording in the doc could be made a bit clearer here: https://docs.knora.org/04-publishing-deployment/getting-started
The order in which make stack-up and make init-db-test are presented to me suggests that one should execute stack-up first. But that doesn't work, as I had to learn the hard way. ;-)
Especially the sentence "... after which you can start the stack again with make stack-up, recreate the repository and load the data with make init-db-test" is misleading to me.
It might even be worth being explicit on that, and just write that init-db-test must be called first.

Good point.
Another thing is, the stack-down-delete-volumes is also somehow redundant here, because we have init-db-test which contains it:
.PHONY: init-db-test
init-db-test: stack-db-remove stack-db-only ## initializes the knora-test repository
	@echo $@
	@$(MAKE) -C webapi/scripts fuseki-init-knora-test

And since I've notice it, I only use 2 commands for initialisation of DSP-API

make init-db-test
make stack-uo


gio-sys::g_memory_input_stream_new_from_data should take a *const u8

According to the docs, this function takes a const pointer, whereas the Rust bindings take a *mut u8.

Thanks for reporting, I'll keep this in mind when iterating on the sys crate generator.

I think this same issue affects gtk-sys::gtk_drag_dest_set where the targets argument should be a *const GtkTargetEntry.


Update post with latest Rails 5.1 changes

In the latest version of Rails (5.1) any? and exists? are now equally performant.
Update this post: https://www.ombulabs.com/blog/benchmark/performance/rails/present-vs-any-vs-exists.html
Just wanted to add this here so that we don't forget, @mauro-oto.

Updated! https://www.ombulabs.com/blog/benchmark/performance/rails/present-vs-any-vs-exists.html


Defining aliases breaks the build

My .circleci/config.yml contains
version: 2.1

setup: true

orbs:
  dynamic<EMAIL_ADDRESS>
workflows:
  generate-config:
    jobs:
      - dynamic/continue:
          name: Generate configs
          context: orb-publishing
          default-branch: master
          modules: |
            /java
            /typescript
            /golang

I created corresponding java.yml, golang.yml and typescript.yml files, and the orb does merge them correctly.
However my java.yaml contains aliases of the form
aliases:
  - &defaults
    docker:
      - image: $DOCKER_REPO/alpine-oraclejdk8:3.11-202-master
    working_directory: ~/soil-core

That are uses elsewhere in the script like this:
jobs:
  build_java:
    <<: *defaults
    steps:
      - checkout

During the merge, validation fails with
Error: config compilation contains errors: config compilation contains errors:
        - Unable to parse YAML
        - found undefined alias defaults
        -  in 'string', line 19, column 9:
        -         <<: *defaults
        -             ^

I think this is because this dynamic continuation orb moves all of the aliases to the end of the script.

@Martin-Narvar sounds like I'd want to explode prior to reduce.
https://mikefarah.gitbook.io/yq/operators/anchor-and-alias-operators

That would be fantastic. Aliases are essential for DRY

@Martin-Narvar please check out v3.8.1. I implemented a fix for this issue and implemented a form of testing in #108

With this version I get an error
Error calling job: 'dynamic/continue'
Unexpected argument(s): default-branch

Did you rename this option since 1.7.1

I changed default-branch to base-revision and now it works as expected.
Thank you so much.


Jest Mode to reduce output size in terminal

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
In watch mode with coverage turned on, it's not uncommon for jests's output to be longer than my screen sizes buffer. Within tmux specifically this becomes increasingly difficult to scroll up. When this happens it completely breaks the flow of writing/fixing tests and adds friction. I understand this problem isn't completely solvable as snapshot length can be infinitely long, and screen sizes could be infinitely small.
Image:

Even without the coverage area (which I could disable) jest has a lot of verbal cruft that takes up at least 16 lines.
I'm curious if there is any thoughts around an immersive mode where jest modifies your config during that runtime to hide all verbal cruft. It operates the exact same, has all the same keybindings, just without the verbalism.
Proposal
Only invokable through a cli arg (does not have an associated configuration value)
jest -i
jest --immersive

let's bikeshed the naming
What this would do:

set collectCoverage=false
set verbose=false
Remove additional verbage cruft img:

4?. set bail=true, worth a discussion. Would minimize output if only 1 test could fail at a time.

In Jest 20, we will be collapsing watch usage. In Jest 19 we added --expand for diffs. Are you using an earlier version than Jest 19?

Yeah. I'm still on ~17. I'll give 20 a try when it comes out! You think it should solve this though?

Yes it should, please give master a try! :) I'll close this issue but please feel free to let me know if I should reopen it once Jest 20 is out (soon!).


Add Winget Releaser workflow

This action automatically generates manifests for the Winget Community Repository (microsoft/winget-pkgs).

Related to https://github.com/localsend/localsend/issues/57

Before merging this:

Add a PAT with public_repo scope as a repository secret named WINGET_TOKEN.

Fork https://github.com/microsoft/winget-pkgs under @localsend. The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
Install Pull on the winget-pkgs fork to ensure that it is constantly updated.

Important: The MSIX file has to be available when you make a release for the workflow to detect it.
The documentation and source code of the action is available here.
If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been automatically created using 🛫 WinGet Releaser).

Thanks for the nice tutorial. I have created a token with access to public repos. After finish, it looks like this:

I also forked this repo and installed the app. Is this all. Do I need to configure in the repo settings something?

I also added this to the repository secrets:

Yeah, I think you did it right. Make sure WINGET_TOKEN is in this repo and not in the fork.


Not working on my Mac

I think it's great that you have created this extension!
Unfortunately it does not seem to work for me when using Google Meet on Chrome 87.0.4280.88 and macOS Mojave.

My bad.
It is now working that a have fully exited google meet and entered again.
Keep up the good work!!!!


what is the preprocessing for the timbre transfer?

 What is the preprocessing necessary to get the same violin audio? Use the voice as is does not produce the same result.

No preprocessing is needed for voice. only f0 and amplitude may affect the result of the violin model.

Thank you for the quick response. Here is the audio I get with the singing. It sounds different from the one on the webpage so I thought there was some preprocessing, did you shift the pitch of the voice like they did in the paper? If not, perhaps I am running your example incorrectly. Any guidance would be appreciated.
In order to transfer the voice to violin, I ran the following:
python test.py --input marg_singing_voice.wav --output out.wav --ckpt ../../ddsp-violin/200220.pth --config ../configs/violin.yaml --wave_length 100000


Avoid double extraction of substrings in various MATCH_ bytecodes

MATCH_* opcodes typically do something like
if (<test>(input.substr(peg$currPos, length))) {
  sN = input.substr(peg$currPos, length);
  ...
} else {
  sN = peg$FAILED;
  ...
}

where we extract the same substring twice.
compileInputChunkCondition will convert that to
sN = input.substr(peg$currPos, length);
if (<test>(sN)) {
  ...
} else {
  sN = peg$FAILED;
  ...
}

avoiding the overhead

When stacked on #425 this makes the parser generated from examples/xml.peggy an additional 5% faster.

Did you check coverage over the changed bits of code with just the one test added?
I need to add codecov.io to the CI action.

Looks like line 584 might need a test

I think thats probably true - the way bytecode is currently generated, I don't see a way to get an ACCEPT_N with a length greater than 1 which doesn't also hit the skipAccept condition.
The only way I can think of to hit that line would be to add an option to disable the transformation, and run a test with it disabled...
But how are you seeing that? npm test coverage doesn't mention that line for me...

I downloaded the PR with gh pr checkout 427, ran npm build, and opened coverage/lcov-report/index.html in a browser.

Ok, so yes, that line seems to be uncovered; and I've confirmed that the current byte code generator never generates a sequence that can hit that line.
In fact, the only thing that can hit the single character branch on the next line is MATCH_ANY.
So I've added a test to plugin-api.spec.js which inserts a munge-the-bytecode pass between generateBytecode and generateJS. It changes the bytecode so that compileInputChunkCondition doesn't see its expected pattern, and as a result we get full coverage (the test also verifies that the compileInputChunkCondition didn't fire by examining the generated parser).

I think this is ready to go.

Anything else to do here?

I've rebased this over #425 (thanks!) resolved the CHANGELOG.md "conflict", and rebuilt the build artifacts.

Great, thanks.  @Mingun final checks, please?


Merge pull request #1 from apache/trunk

sychronizing code
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

update code


upgrade HTTP to HTTPS

Hello,
Very awesome font icons, I love them. Is there a reason the CDN serves HTTP instead of HTTPS?

http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css

+1

The CDN serves both HTTP and HTTPS: https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css


Include installed packages in the debug command

Feature
Feature description
Include installed packages in the debug command.
Something like:
Packages:
  dbt_utils==0.1.21
  segment==0.1.4

Who will this benefit?
Users that install packages via hub that don't use a strict equality – this will help them with version resolution.
Other things to think about

Should we indicate how the package was installed? i.e. local vs. git vs. hub?

Should this issue be closed since this versioning is built into dbt deps?

@sungchun12 I think so! Let's consider this resolved by #3759 :)

I linked the pull request :)


Audit/System logging of Docker Daemon API calls, updated

This pair of patches adds libaudit-dev to the top-level Dockerfile and reworks a bit of the logging logic to hopefully avoid misattributing operations to UID 0 when the UID can't be determined, and to call the logging function, which appears to have been lost when #1 was merged.

I think I have all of the fixes merged.


Tab headings appear at top of preview

If tab syntax appears on the page, the tab labels appear at the top of preview. Example:

CC: @geverit4

This item was addressed in a previous build.

@geverit4 - I'm still seeing the tabs at the top of preview.

@bbringhu can you attach a test document?  I can't break it :)

Here's a test document.
syntax-style-guide.md

I was able to reproduce the problem.  It was quite pernicious.  Only happened when there were other blockquotes in the document.  It works in my test document, but doesn't display well in your test document - so I still need to do a bit more investigation.

In my test document:

Same tabs in yours:

Sounds like an edge case.

Yeah - but it's a big fat edge, though.  It happens only when other "blockquote" tokens are in the document, which is pretty much all of AFM.  My test document only had the tabs section. As soon as I added a >[!TIP] everything went all cattywampus.

@bbringhu do you have a link to the version of the style guide that is available to me?  When I click on https://experienceleague.adobe.com/docs/authoring-guide-exl/using/markdown/syntax-style-guide.html?lang=en#tabs
It redirects me to the corp site, which I cannot access:  https://experienceleague.corp.adobe.com/docs/authoring-guide-exl/using/markdown/syntax-style-guide.html?lang=en#tabs
Everything looks right now, except the tab contents are not displaying.  It's not clear what's wrong from examining the output HTML.

Here's a capture of what the HTML output looks like:

<sp-tabs selected="1" size="l" direction="horizontal" dir="ltr" focusable="">

<sp-tab label="iOS" value="1" dir="ltr" role="tab" id="sp-tab-1" aria-selected="true" tabindex="0" aria-controls="sp-tab-panel-1" selected=""></sp-tab>

<sp-tab label="Android" value="2" dir="ltr" role="tab" id="sp-tab-2" aria-selected="false" tabindex="-1" aria-controls="sp-tab-panel-2"></sp-tab>

<sp-tab label="Windows" value="3" dir="ltr" role="tab" id="sp-tab-3" aria-selected="false" tabindex="-1" aria-controls="sp-tab-panel-3"></sp-tab>

<sp-tab label="MacOS" value="4" dir="ltr" role="tab" id="sp-tab-4" aria-selected="false" tabindex="-1" aria-controls="sp-tab-panel-4"></sp-tab>

<sp-tab label="Linux" value="5" dir="ltr" role="tab" id="sp-tab-5" aria-selected="false" tabindex="-1" aria-controls="sp-tab-panel-5"></sp-tab>

</sp-tabs>

<sp-tab-panel value="1" dir="ltr" slot="tab-panel" role="tabpanel" tabindex="-1" id="sp-tab-panel-0" aria-labelledby="sp-tab-0" aria-hidden="true">

This content appears in the iOS tab.

</sp-tab-panel>

<sp-tab-panel value="2" dir="ltr" slot="tab-panel" role="tabpanel" tabindex="-1" id="sp-tab-panel-1" aria-labelledby="sp-tab-1" aria-hidden="true">

This content appears in the Android tab.

</sp-tab-panel>

<sp-tab-panel value="3" dir="ltr" slot="tab-panel" role="tabpanel" tabindex="-1" id="sp-tab-panel-2" aria-labelledby="sp-tab-2" aria-hidden="true">

This content appears in the Windows tab.

</sp-tab-panel>

<sp-tab-panel value="4" dir="ltr" slot="tab-panel" role="tabpanel" tabindex="-1" id="sp-tab-panel-3" aria-labelledby="sp-tab-3" aria-hidden="true">

This content appears in the MacOS tab.

</sp-tab-panel>

<sp-tab-panel value="5" dir="ltr" slot="tab-panel" role="tabpanel" tabindex="-1" id="sp-tab-panel-4" aria-labelledby="sp-tab-4" aria-hidden="true">

This content appears in the Linux tab.

</sp-tab-panel>

@bbringhu I figured it out.  I wasn't ending  properly. Although, it wouldn't hurt to have a link to the new syntax style guide.

@bbringhu I figured it out. I wasn't ending properly. Although, it wouldn't hurt to have a link to the new syntax style guide.

https://git.corp.adobe.com/AdobeDocs/authoring-guide-exl.en/blob/main/help/main-guide/syntax-style-guide.md
Here's the .md file itself in case you can't access the enterprise Git link:
syntax-style-guide.md

Confirmed fixed in 2.0.5


Upgrade kind to Kubernetes v1.25.3

Currently the e2e tests run on Kubernetes 1.24. This leads to some incompatible issues with the dependency bump (see https://github.com/knative-sandbox/eventing-natss/pull/411#issuecomment-1630572476).
This PR addresses it and bumps to Kubernetes 1.25.3 for the Kind e2e tests.
Requires #413 to be merged first, otherwise we get errors about missing apis
error: resource mapping not found for name: "eventing-webhook" namespace: "knative-eventing" from "https://github.com/knative/eventing/releases/download/knative-v1.5.0/eventing-core.yaml": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"

/assign @astelmashenko

rebased to get the changes from #413


Corrected memory leak from extra allocation.

We are allocating twice the memory needed to buffer the QR code string. The second allocation, in strdup, is overwriting the assignment of the pointer to the first. Consequently, the first allocation is never free'd. In the end, we don't need to allocate anything ourself and can defer to Apple's Foundation to do that for us.

Codecov Report

Merging #292 into master will increase coverage by 1.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
+ Coverage   53.11%   54.29%   +1.18%
==========================================
  Files         276      289      +13
  Lines       53721    56107    +2386
==========================================
+ Hits        28534    30464    +1930
- Misses      25187    25643     +456

Impacted Files
Coverage Δ

src/system/SystemClock.cpp
28% <0%> (-10.1%)
:arrow_down:

src/inet/IPAddress-StringFuncts.cpp
90% <0%> (-1.31%)
:arrow_down:

src/lib/core/WeaveMessageLayer.cpp
16.26% <0%> (-0.7%)
:arrow_down:

src/test-apps/TestInetAddress.cpp
99.1% <0%> (-0.17%)
:arrow_down:

src/lib/core/WeaveConnection.cpp
0% <0%> (ø)
:arrow_up:

src/system/SystemMutex.cpp
60% <0%> (ø)

src/test-apps/TestInetLayerDNS.cpp
90.76% <0%> (ø)

...i/security-support/native/WeaveSecuritySupport.cpp
73.33% <0%> (ø)

...rity-support/native/WeaveKeyExportClientNative.cpp
42.56% <0%> (ø)

src/lib/profiles/security/WeaveKeyExportClient.cpp
72.83% <0%> (ø)

... and 31 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 5fe9f08...a6afd20. Read the comment docs.


Ignore t helper

my application is localized and uses the t helper from ember-intl that I think should be ignored by this codemod, since it doesn't support angle bracket invocation.
{{! current input }}
{{t "some.string" param=1}}

{{! current output }}
<T
  @param=1
/>

I have some bandwidth to open a pull request, but just a couple items I could use some input on:

should we assume t is ember-intl/ember-i18n across the board or make it something you opt in to?
my initial thought on implementation was to add t to IGNORE_MUSTACHE_STATEMENTS - any objections or should it be its own thing? as in "third party" things vs. Ember things

Yes t should be considered for translation helper overall and you can add it to ignore mustache statement list, I am ok with it


bug(Theming Angular Material): Custom typography not applied to standard typography levels in mat.core-theme() or all-component-themes()

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Tried to change the font-family so that e.g. body-1 everywhere has font family Arial.
But it only changed the font-family in mat components, not outside in normal divs.
$my-typography: mat.define-typography-config(
  $font-family: 'Arial',
);
$my-theme: mat.define-light-theme((
  typography: $my-typography,
  color: (
    primary: $dicey-primary,
    accent: $dicey-accent,
    warn: $dicey-warn,
  ))
);
@include mat.all-component-themes($my-theme);

Similar problem was reported here, but not solved: https://github.com/angular/components/issues/23683#issue-1015421891

It works when I do it with all-component-typographies:
$my-typography: mat.define-typography-config(
  $font-family: 'Arial',
);
@include mat.all-component-typographies($my-typography);

Reproduction
Steps to reproduce:

Add custom theme with typography
See if body tag font-family changes

Expected Behavior
Bodys font family changes to custom font family
Actual Behavior
The body font family is standard Roboto
Environment

Angular: 13.1.2
CDK/Material: 13.1.1
Browser(s): Firefox
Operating System (e.g. Windows, macOS, Ubuntu): Windows 11

add the mat-typography class to the body or some other parent element.
Yes, this is what I have.

Example:
`

Headline
Some text

`
The headline had the changed font-family. The "Some text" did not have the changed font family, it had still the default Robot font-family.

Yes, that are all nice workarounds. I already mentioned that it works with all-component-typographies.
But the bug is, that it is not working with all-component-themes. And this has to be fixed. Please.
I just tried out the kids-theme example on the website , and this is not working either.

Technically this works as expected. The all-component-themes includes the theme on for Angular Material components, the mat-typography classes are considered extra add-ons.

So I think the problem is that you need to pass in your custom typography to the mat.core mixin. Here's a config that worked for me both for the headline and the "Some text" under it.
$candy-app-primary: mat.define-palette(mat.$indigo-palette);
$candy-app-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
$candy-app-theme: mat.define-light-theme((
  color: (
    primary: $candy-app-primary,
    accent: $candy-app-accent
  ),
  typography: mat.define-typography-config(
    $font-family: 'Arial',
  ),
));

@include mat.core($candy-app-theme);
@include mat.all-component-themes($candy-app-theme);

Alternatively you can include the all-component-typographies like you mentioned above since that's what mat.core does internally anyway.

mat-core does not appear to allow any parameters on v15:
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Only 0 arguments allowed, but 1 was passed.
┌──> src/styles.scss
33│ @include mat.core($my-theme);

Seems related : https://stackoverflow.com/questions/74595732/angular-material-v15-theme-typography-default-text-not-styled

I've been spending way too much time on this, and have decided that I hope it is a side-effect of the error in compiling the sass files (https://github.com/angular/components/issues/26037).
True, this does seem like a bit of a long shot, but my theory is that the Sass compiler is bailing out when it hits the error, which is why some components receive custom typography styles while others receive the default typography.
If this theory holds true, I saw in another comment that there is going to be a new release of Angular Material in the next 24 hours or so that will hopefully resolve this issue.

@include mat.core($typography); how about the mat.legacy-core ? It doesn't seem to take any argument and I've got parts of the app where the font isn't properly taken into account anymore

any fix?

I think maybe there are multiple things being asked for in this issue:

Setting the core angular material typography styles (for things like mat-option) should be down with mat.core-theme($theme) or mat.core-typography($typography-config)
Setting the typography for things like h1, h2, etc. should be down with mat.typography-hierarchy($theme)

I'm going to mark this as a docs issue, because I think the section on typography is out of date and needs an update to explain these different mixins and what they're responsible for.

Is it possible that we can change custom font family on [dir] change ??
for example:
ltr > Poppins
rtl > Tajawal


split a few E2E tests into smaller ones to attempt to reduce flakiness

Bug: #317

Split off https://github.com/GoogleChromeLabs/chromium-bidi/pull/434

I'd prefer to fix the flakiness first

Even if the flakiness is fixed, don't you agree these two unit tests are quite large? Splitting them should be beneficial either way.


Xinyang's graphs for the FDA Meeting????

Xinyang has provided some graphs about NCBI vs HIVE2.
Update: she did not update the graphs per me and Raja's requests. Deciding if it is worth it to show those graphs to the FDA or wait for the HIVE3 information.

Raja said to close, because not needed for the paper


Fix issues with fifos blocking on open

fixes #27185
fixes #26561

Open stdout/stderr from both sides instead of O_RDWR in containerd to wait for client side to be ready.
Add cancellation of indefinitely blocked fifos
Better support for closing half-open fifos
Support closing open fifos that have been deleted

@mlaventure

cc @jhowardmsft for windows changes. I'm not sure why the conversion pipe for stdout/stderr was there so I just replaced it with a wrapper that should be quite faster. Most likely the objects could be used directly, maybe need to manually call close on process exit or error cases.

@tonistiigi can you update this PR to directly vendor docker/containerd at https://github.com/docker/containerd/commit/52ef1ceb4b660c42cf4ea9013180a5663968d4c7

@runcom There seems to be an issue with 3.13 kernel in jenkins where it sometimes gets ESTALE on close. I'll update when I have figured it out. Bit hard because can't reproduce outside jenkins.

@LK4D4 Part of the ci issue seemed to be with closing stdin twice that you already covered with #27391 and also having the close in a goroutine that may cause the directory containing the fifo to be deleted before it is closed. Closing stdin twice can happen when it's closed in AttachStreams but after that create/exec still returns an error and fifos are closed for cleanup.

ping @LK4D4 @darrenstahlmsft PTAL - is this looking good to you?

LGTM

@tonistiigi this needs a rebase

LGTM

Broken master with go < 1.7 (or 1.8 I don't remember where context was embedded into golang itself):
---> Making bundle: dynbinary (in bundles/1.13.0-dev/dynbinary)
Building: bundles/1.13.0-dev/dynbinary-client/docker-1.13.0-dev
Created binary: bundles/1.13.0-dev/dynbinary-client/docker-1.13.0-dev
Building: bundles/1.13.0-dev/dynbinary-daemon/dockerd-1.13.0-dev
vendor/src/github.com/tonistiigi/fifo/fifo.go:4:2: cannot find package "context" in any of:
        /usr/lib/golang/src/context (from $GOROOT)
        /home/amurdaca/src/github.com/docker/docker/.gopath/src/context (from $GOPATH)
        /home/amurdaca/src/github.com/docker/docker/vendor/src/context

opened https://github.com/docker/docker/issues/27669


fix nested slices

fixes #2

Oh sorry, didn't test for 3d+ slices. This fix currently only work for 2d.

Thanks @df51d! Resolved via e86e623.


Sort by recently updated

Description:
Currently, there are multiple options for sorting the result packages of a search:

But there is no way to sort by most/least recently updated.
It would be great to add this feature. What do you think?

@Shadow-Devil Created date newest first option is already displaying the recently updated packages. For a package the only update is a publishing of a newer version.

@anuruddhal thank you! I think this name is a little confusing, since I expected it to mean "when was the first version of this package uploaded". Maybe this can be improved.


npm install dependencies issue

here is the trace following the build tools page instructions
% npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/postcss
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/autoprefixer
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/tailwindcss
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   2 more (tailwindcss, postcss-js)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/tailwindcss/node_modules/postcss-nested
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/tailwindcss
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/christophevidal/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/christophevidal/.npm/_logs/2021-09-23T06_04_21_620Z-debug.log

Can you please tell me error is in which folder?
Because I just installed all of the dependencies in react-landing-page