feat: make my account editable

Brief description. What is this change?

Update My Account Page to be Editable

Implementation description. How did you make this change?

Edited Inputs in My Account to be editable
Added submittable formValues for My Account fields
Added formErrors for validation
Added a confirmCancelEditModal component
Save values to database + update local storage with new values
Also ran yarn fix for linting a bunch of files

https://user-images.githubusercontent.com/37950626/150910686-949a4333-8ef5-4e94-849f-56168d1d5f35.mov
Steps to test

Login and go to My Account page
Click 'Edit' -> all fields except email should be visibly editable with a text box
Click 'X' to cancel changes -> confirmation modal should appear (clicking X goes back to edit mode and 'Discard changes' should reset the form to the original changes
Clear the fields.
Click 'Save changes'
There should be errors saying the corresponding empty fields are required
Fill in the fields and click 'Save changes'.
Refresh the page
The values should be updated correctly. You can also check pgadmin to see if your field is correctly updated in the donors and users tables.
Clicking 'Back' goes to Dashboard

Checklist

[x] My PR name is descriptive and in imperative tense
[x] My commit messages follow conventional commits and are descriptive. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
[x] I have run the appropriate linter(s)
[x] I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
[ ] The appropriate tests if necessary have been written

This needs to be tied together with the Change Password flow (Clicking on Change Password in My Account starts the flow)

Great Job! Functionality works for me. Just made one comment which should be an easy fix. One more thing I noticed was that it takes alot of time for api calls to finish to update the values so it might be a good idea to add a spinner when save changes is clicked.

Added! Also disabled buttton while loading


Favorites not being saved from one session to the next

This screenshot was taken yesterday
https://s28.postimg.org/amegmiwz1/Screen_Shot_2017_02_02_at_03_42_31.png
This one was taken today
https://s30.postimg.org/i0w4812cx/Screen_Shot_2017_02_02_at_18_23_53.png
Favorites are gone eventhough I didn't remove any.

I'm not able to reproduce this issue, are you still experiencing this problem @snowflake11?

Closing due to inactivity. If you're still having issues please open another issue.


1112

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.52 seconds
load time: 435 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221112100500_clickbench_pr_44841.html

What's the meaning of this pr's title?


Disable delay on Frontend

Update the handlers.go to disable the  random delay as it is not part of the DASH 2024 challenges. See this Slack: https://dd.slack.com/archives/C0780M3AEBC/p1718298770040169

@lucarelli111 you made a change to push log to a file but I don't see the JSON aspect to it is it supposed to be fixed ?


Updated example Cakefiles

...for better compatibility with Xcode 8 + added sample Cakefile for framework.
Closing #110 and #116.

Coverage decreased (-1.7%) to 97.076% when pulling d785f0d9f0f7f5a1bc5f71d1c55600af4086ea78 on feature/example into 8a2a80e32041ed19e557cb109a6e2ca962ca22c9 on master.

Coverage decreased (-1.7%) to 97.076% when pulling d785f0d9f0f7f5a1bc5f71d1c55600af4086ea78 on feature/example into 8a2a80e32041ed19e557cb109a6e2ca962ca22c9 on master.


Async client to backoff when model overloaded

Feature request
Have the (async) client automatically backoff sending requests when the deployment is overloaded.
Motivation
When the async client exceeds the deployment queue capacity / rate limits, it currently fails with
OverloadedError: Model is overloaded

Current thinking is to add more examples for doing batch inference to avoid this issue on the client. We can still look for ways to backoff automatically, though, in the future.


refactor: Rename the edx_repo_tools_data lib to webhooks_data

Why feat! commit rather than refactor?  Aren't all of the callers of that moved code in this repo?

yea, that's a good point, I was going back and forth between the two and ended on feat! because I wasn't sure what else might be using it.


How do I provide an sg_image as a uniform so that I can reuse vertex buffers?

Hello, sorry for the beginnery question.
I'm trying to make a simple sprite pipeline; from your samples it's been trivial so far to get something rendered on screen, but I'm struggling to deviate from the way the samples are set up.
From [the loadpng sample])https://github.com/floooh/sokol-samples/blob/578d71daed073dbeb2e5e3d74a3485cf46733cd7/sapp/loadpng-sapp.c#L176)
static void fetch_callback(const sfetch_response_t* response) {
            // ok, time to actually initialize the sokol-gfx texture
            sg_init_image(state.bind.fs.images[SLOT_tex], &(sg_image_desc){
                .width = png_width,
                .height = png_height,
                .pixel_format = SG_PIXELFORMAT_RGBA8,
                .data.subimage[0][0] = {
                    .ptr = pixels,
                    .size = (size_t)(png_width * png_height * 4),
                }
            });

when the image is loaded, you directly load it into the bindings struct. I'm not sure though how you'd do this if for example you wanted to render multiple images that all use the same vertex buffers. In my mind you'd either have to:

Change the data in the bindings before calling sg_apply_bindings, or
Do sg_apply_uniforms and handle uniforms like you do with vs_params.

I can't seem to work out which the best way forward is; I'd rather not have to mutate my bindings constantly, when I try this
  sg_apply_uniforms(SG_SHADERSTAGE_FS, SLOT_tex, &SG_RANGE(*texture));

I get
[sg][error][id:222] /nix/store/7a6vvs5ckl36g98bq3gsqr5xh4zikn8c-source/sokol_gfx.h:15289:0:
        VALIDATE_AUB_NO_UB_AT_SLOT: sg_apply_uniforms: no uniform block declaration at this shader stage UB slot

[sg][error][id:223] /nix/store/7a6vvs5ckl36g98bq3gsqr5xh4zikn8c-source/sokol_gfx.h:15292:0:
        VALIDATE_AUB_SIZE: sg_apply_uniforms: data size exceeds declared uniform block size

and so I'm not quite sure where I'm going wrong and what steps are needed for me to be able to have one set of vertices/indices, one shader, but multiple images.
Sorry if the answer is fairly obvious! I also wasn't sure where to ask questions like this so I hope issues is okay? Thank you for sokol!

Hi, uniform data and 'resource bindings' are different things. Basically, everything that's a buffer, image or sampler needs to be set via sg_apply_bindings() and everything that's 'regular data' via sg_apply_uniforms().
Don't worry too much about calling sg_apply_bindings() too often and with mostly similar bindings (as long as you do this for each sprite).
For instance if you have 4 different textures, and only want to change those (but use the same pipeline and image data) you'd do something like this:
    sg_bindings bnd = {
        .vertex_buffers[0] = ...,
        index_buffer = ...,
        .fs.samplers[0] = ...,
    };

    sg_image img0 = sg_make_image(...);
    sg_image img1 = sg_make_image(...);
    sg_image img2 = sg_make_image(...);
    sg_image img3 = sg_make_image(...);

    sg_apply_pipeline(...);
    sg_apply_uniforms(...);

    bnd.fs.images[0] = img0;
    sg_apply_bindings(&bnd);
    sg_draw(...)

    bnd.fs.images[1] = img1;
    sg_apply_bindings(&bnd);
    sg_draw(...)

    bnd.fs.images[2] = img2;
    sg_apply_bindings(&bnd);
    sg_draw(...)

    bnd.fs.images[3] = img3;
    sg_apply_bindings(&bnd);
    sg_draw(...)

...you should still try to implement some sort of batching which minimizes texture changes and draw calls though (e.g. don't call sg_draw() for each single sprite, only when the bindings need to change), the most important thing would be to store many sprite images in a single big texture (usually called "texture atlas").
For sprite rendering I would actually recommend starting with sokol_gl.h, this has a simple form of batching implemented already (e.g. see https://github.com/floooh/sokol/blob/47d92ff86298fc96b3b84d93d0ee8c8533d3a2d2/util/sokol_gl.h#L571-L591)

Thank you for clearing this up! Not that hard to implement either. Great advice as usual :)


Capture origin work id in origin metadata

Replaced by https://github.com/gradle/gradle/pull/27785


Customizing error message

Does json-gate let me add custom error message for some of the properties overriding default

no, sorry.


build(deps): Bump golang.org/x/net from 0.6.0 to 0.7.0

Description
Related issues

Close #XXX

Remove this section if you don't have related PRs.
Checklist

[ ] I've read the guidelines for contributing to this repository.
[ ] I've added tests that prove my fix is effective or that my feature works.
[ ] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

@fengshunli we have dependency bot , no need to open PRs to bump dependencies

This golang.org/x/net dependent package has cve vulnerability, which can be prioritized

This golang.org/x/net dependent package has cve vulnerability, which can be prioritized

Trivy-operator has a nightly job /  on demand which check for Critical or High vulnerabilities, if found we fix it ASAP.
For lower vulnerabilities severities (Low / Med)  its ok to wait for dependency bot to pick it up.

ok


Add PKCE support

This is a first stab at PKCE implementation - see #45 . The idea is to validate the structure of how to achieve PKCE validation, and then start iterating from there.
Notes:

The SHA256 code verification was stolen directly from spring-security, see org.springframework.security.oauth2.client.web.DefaultOAuth2AuthorizationRequestResolver#createHash . We might want to make that public in spring-security at some point ?
We consider a client is public client when the principal is null but it has client ID.

TODOs:
Authorization endpoint

[x] RFC 7636 - 4.4 Server Returns the Code ; validate code_challenge & code_challenge_method
[x] CODE_CHALLENGE is required ; CODE_CHALLENGE_METHOD can be null (will default to plain)
[x] Only trigger PKCE checks for public clients (registeredClient.clientSecret is blank)
[ ] Consider what is a "public" client - maybe we could mark some "redirectUris" to require PKCE vali
[x] Add tests for OAuth2AuthorizationEndpointFilter

Token endpoint

[x] Validate code_verifier for both "plain" and "S256" methods (for public clients)
[x] If code_challenge_method is null, default to plain
[x] Polish changes to OAuth2AuthorizationCodeAuthenticationProvider (null checks, try-catches)
[x] In OAuth2AuthorizationCodeAuthenticationProvider.authenticate, authenticate public client - See RFC 6749 - 3.2.1.  Token Endpoint > Client Authentication [1]

Integration tests

[x] Add integration test for PKCE

[1] In the "authorization_code" "grant_type" request to the token endpoint, an unauthenticated client MUST send its "client_id" to prevent itself from inadvertently accepting a code intended for a client with a different "client_id". This protects the client from substitution of the authentication code.  (It provides no additional security for the protected resource.)

I started adding tests for OAuth2AuthorizationCodeAuthenticationProvider. Two of them are failing, they show the need for OAuth2AccessTokenAuthenticationToken to support public clients - today, only private clients are supported.

The PR is ready for review. Still to be decided: how do we identify public clients in OAuth2AuthorizationEndpointFilter ?

When the registeredClient has no clientSecret, its' a 100% public client, that's currently covered.
However, the registered client could have a secret and still be used as a public client. Something to explore could be: some redirect uris of a client could be tagged with "require PKCE".

Thoughts on letting all clients (public and confidential) that use authorization code also use PKCE (confidential will have both secret & PKCE), but only require PKCE for public clients. (those without client secrets) like in https://github.com/spring-projects/spring-security/issues/6548 ?

With the current proposed implementation, confidential clients may send PKCE parameters. However, those parameters will not be validated. Not sure if we should put this in v1 ?
It makes sense to validate whatever PKCE params confidential clients send, especially if we're allowing confidential clients to do it in spring-security.

Rebased on top of master. For info, I have only checked the build & ran the tests on conflicting commits.

Included all corrections, squashed. There's still one open question, and we should be almost good to go.

Thanks for the great work @Kehrlann ! This is now in master!
FYI, I added a polish commit with some minor updates.
Also, I discovered an issue when reviewing the integration test OAuth2PkceTests. The test revealed an issue with the implementation so it needed to be re-worked. Ultimately, the client needs to be authenticated before it hits the token endpoint. Therefore, I needed to move the PKCE authentication logic from OAuth2AuthorizationCodeAuthenticationProvider to OAuth2ClientAuthenticationProvider.
Apologies, as I missed this during the review process. I decided to go ahead an apply the change. Take a look at the commit  5c31fb1 and let me know if you have any questions.
Thanks again for all the great work!


feat(iam): add iam bindings to crds

Is there interest to add IAM bindings into the Topic and Subscription specs? I was thinking to add them as part of the topics and subs, rather than own separate CRD. But I suppose that would work as well.
The testing part is not ideal unfortunately. I did not find any good way to register additional servers into pstest.Server, that hides the grpc.Server behind unexposed variable. I had to hack the IAMPolicyServer into it thru reflection, and it randomly fails if the registration happens after grpc.Server.Serve()...

Is there something I can do for those failed checks?

It seems due to the permissions of forked repository. make test passes perfectly on my laptop.

It seems due to the permissions of forked repository. make test passes perfectly on my laptop.

The fork should be public repo. Should I add write access to someone / something?


Refactor pairlist representation

Description
Instead of padding the pair list to generate an (M,N,2) tensor with M number of molecules, N maximum number of pairs in the dataset, and 2 the pairlist dimension we can generate a (K,2) tensor with K as the total number of atom pairs in the dataset. This requires keeping track of index arrays to correctly retrieve atom pairs for a molecule.
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] Update atom pair representation, index arrays and offsets
[x] Add tests

Status

[x] Ready to go

With these changes, we are able to decrease training time to ~15 min / epoch on a single GTX RTX 3090 for the ANI2x dataset (training ANI2x).


Feature Request: "Open here" Takes Three Steps to Execute (Too Slow)

Summary of the new feature/enhancement

Old Powershell can be invoked in two steps by using:

SHIFT key (left hand) + Right click (right hand)
Clicking "Open Powershell window here"

The new Powershell needs to be invoked using three steps by:

Right clicking
Then hovering the mouse to the PowerShell 6 dropright. THEN PAUSING MOMENTARILY UNTIL THE MENU APPEARS!!!
Then clicking the "Open here"

This quirk makes Powershell 6 literally unplayable for me.
Proposed technical implementation details (optional)
Take the "Open here" and "Open here as Administrator" out of the dropright menu.

So that Powershell 6 can be invoked in two steps.
Alternatively, make the original "Open Powershell window here" opens Powershell 6 please.

While grouping Powershell options into a submenu might make it "literally unplayable" for you, some people play other games too and for them this is a better and more logical approach. I would like my context menu to fit on my screen.


Amend overflow RFC to alter semantics of as; make wrapping methods inherent methods

As the subject says.
Some prior discussion: http://internals.rust-lang.org/t/on-casts-and-checked-overflow/1710/

What's the motivation for moving from WrappingOps to inherent methods apart from "we now can"? How do we keep Wrapping<T> (defined in terms of WrappingOps) working?

@glaebhoerl ah, well, my motivation is primarily that we might want to organize the ops trait differently. For example, if we added +% operators or whatever, then they would probably each want their own trait to be more analogous to Add, Sub, and friends.

If this is being changed, how about the idea of adding new types whose operations wrap instead? (e.g. m8, m16, m32, m64)
That would be the mathematically and conceptually correct approach.
Also this would allow to disable the iX/uX integer types for programs that want to avoid the risk of overflow and only want to use closed integer types.

This was discussed at today's meeting and at great length in internals. This is largely a decision about syntax/naming (since this unchecked/bitwise conversion needs to be provided one way or another), and the general consensus is that as indicating semi-dangerous coercions -- i.e., the status quo -- is a fine solution.

@bill-myers BTW there is supposed to be some future work on making more ergonomic wrapping arithmetic operations.  (But this particular amendment to the arithmetic overflow RFC is not addressing that problem.)

@aturon Implementing safe conversion as "future work" sounds very dangerous. People will use as as a generic conversion unless an ergonomic alternative is added.

@bill-myers I'd suggest you comment on this thread http://internals.rust-lang.org/t/ergonomics-of-wrapping-operations/1756. In particular, DaGenix's comment makes a strong case against this approach of adding wrapping types in the third paragraph that I'd like see a refutal of.

@nikomatsakis I'm sorry to say, but I find that comment a bit frustrating: I tried to refute the argument that "modular types are a bad idea" here, and now it seems that my response was, I'm not sure how else to interpret this, entirely ignored.
To retread that argument here, I argue that modular types are not right the right fit for crypto (which is what I think DaGenix showed), but are often right in other domains (I personally do a lot of work with time values that wrap, and where using checked arithmetic would be a bug. Working with wrapping time values is extremely common when working with embedded RTOSes.). Type systems are for ensuring that only valid operations are attempted against particular types of data, and if we can say that a particular type of data should only use wrapping operations, the type system should help out by disallowing non-wrapping operations. Similarly, we might also define Checked<T> in addition to Wrapping<T> if we want to make explicit that only checked operations make sense for a particular data type, and disallow wrapping_add etc.
The thing that really stops wrapping types from being useful is that current Rust doesn't allow easy conversions between derived types of newtypes. For example, it should be possible to convert between Vec<i32> and Vec<Wrapping<i32>> without using the scary big transmute stick. I believe this is a general issue that can and should be resolved.

@aidancully If you want a quick fix for your code, you could make an extension trait for the integer types which adds the wrapping_* functions.

@tbu- Thanks, I will probably pursue that strategy. I think the issue, though, is whether libcore should be responsible for providing a standard means of working with wrapping arithmetic exclusively, or whether it should be left to external crate authors to define their own (likely mutually-incompatible) types with specifically-selected overflow semantics. And then there would still be the issue that you can't easily cast T<i32> <=> U<Wrapping<i32>> without using transmute and throwing a lot of protection out the window.

@aidancully
Sorry if I seemed dismissive; I'm certainly open to persuasion that we should have better support for modular types (and your examples are helpful in that regard). In any case, my intention with that comment was not so much to shutdown the argument, as to redirect that conversation from this RFC and onto the ergonomics thread, which I think is a more suitable place for it. In any case, if we are to grow better support for modulo-integer-types, I think I'd prefer to see it done by addressing the ergonomic limitations of Wrapped<T> rather than extending the core set of integer types in the language. (Among other things, this would give more flexibility, such as types are "modulo N" for arbitrary N, and not necessarily just limited to machine integers.)


0.9.7 has been released

:smiley:

Thanks. Having build issues with Fedora COPR. Will pump it out... soonish. I hope.

And.. built! :)


Add @sigmavirus24

Adds @sigmavirus24 as a maintainer on requests per his comment.

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

Thanks @jakirkham

Of course. Thanks for helping out, @sigmavirus24. 😄


bug: ion-toolbar shows border

Bug Report
Ionic version:

[x] 4.11.6
Current behavior:

ion-toolbar shows small Black Border on iOS
Expected behavior:

With:
ion-toolbar {
    --border-width: 0;
}

there should be no Border
Steps to reproduce:

CSS:
 ion-toolbar {
    --border-width: 0;
}

HTML:
<ion-header>
<ion-toolbar>

Thanks for the issue. This is happening because our styles to target the border are more specific than the styles you are writing.
Example: https://codepen.io/liamdebeasi/pen/MWYjaLB?ionic:mode=ios
Notice that the border is still there. If you uncomment the more specific style, the border disappears. We are aware of some difficulties overriding scoped component styles and have been working to resolve them: https://github.com/ionic-team/ionic/issues/17425
Additionally, if you want to remove the border you can add the no-border attribute to ion-header. Please note that this will be changed to the ion-no-border class in the next major release of Ionic Framework.


The link to the postman project is wrong

the link should be navigated to https://github.com/serengil/deepface/tree/master/deepface/api/postman instead of https://github.com/serengil/deepface/tree/master/api/postman

Where did you find that link?

Closed with PR - https://github.com/serengil/deepface/pull/1119


cargo fmt doesn't properly work on parquet crate

Things like https://github.com/apache/arrow-rs/blob/54dccadccc6b599b93a46aef5f03dfd4d9b7349e/parquet/src/lib.rs#L137-L138 cause entire modules to be skipped by cargo fmt.
This means that the parquet code is not properly formatted the way most rust developers would expect
cargo fmt

@etseidl added commands that do actually format the parquet crate in CI

25e1969 / #6328
See also https://github.com/apache/arrow-rs/issues/6179

However it is confusing to know how to fix CI when it fails.
I agree the incantation is not desirable, and was meant to be a stop-gap until a better solution can be found.
Originally posted by @etseidl in https://github.com/apache/arrow-rs/issues/6886#issuecomment-2549995747

Root cause https://github.com/rust-lang/rustfmt/issues/3253


App Insights readme and sample

Can one of the admins verify this patch?

Please also add a pom file for the sample. You should be able to run mvn clean install -DskipTests=true -B -V first in applicationinsights/data-plane and then applicationinsights/data-plane/samples.

@azuresdkci add to whitelist

build java artifacts

Build output:

dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1.jar
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1-sources.jar
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1.pom
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1-javadoc.jar

My lack of familiarity with Java/maven is definitely showing 😟 I can mvn install fine. I'm trying to execute and test the JAR maven spits out, but seems like either there's a dependency issue or this isn't a properly executable JAR? What's the easiest (or best) way to actually run this? I'd been using maven + exec plugin when I was originally testing. Seems like a very basic issue on my end. Appreciate the hand-holding you've had to do to help get this shipped!

Build output:

dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1.jar
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1-sources.jar
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1.pom
dist/com.microsoft.azure/azure-applicationinsights-query-1.0.0-Preview-1-javadoc.jar

@alexeldeib BTW don't forget to delete the samples/ folder under src/main/java.

 They are library JARs.
If you import, however, both projects into IntelliJ, you will see a green "Run" button next to the Sample class definition. You can run the sample from there.


ERROR: No loader is configured for ".wasm" files: node_modules/.pnpm/@dqbd+tiktoken<EMAIL_ADDRESS>

First of all, thanks for the package!
I've read your readme talking about the no loader error, and I've tried the proposed fixed to no avail.
Here is my config (using latest of everything)
		"vite": "^4.3.5",
		"vite-plugin-top-level-await": "^1.3.0",
		"vite-plugin-wasm": "^3.2.2"

in vite.config.js I have
import type { UserConfig } from 'vite';
import { sveltekit } from '@sveltejs/kit/vite';
import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
import nodePolyfills from 'vite-plugin-node-stdlib-browser'
import { isoImport } from 'vite-plugin-iso-import'
import wasm from 'vite-plugin-wasm';
import topLevelAwait from "vite-plugin-top-level-await";

const config: UserConfig = {
	plugins: [
		wasm(),
		topLevelAwait(),
		isoImport(),
		nodePolyfills(),
		sveltekit(),
		ViteImageOptimizer({})
	],
	optimizeDeps: {
    exclude: [
      "@dqbd/tiktoken"
    ]
  }
};

export default config;

however I'm still getting the error.
I would be happy to try anything if you have ideas

Could you please provide a simple project to reproduce it? Thanks.

@Menci https://github.com/happysalada/glad-chat
let me know if you need anything else.

Thanks. I'll look into this later.

Im also bumping into a similar problem 😥

I'll be making commits to the repo, so just to say that this is the commit where the problem can be reproduced
https://github.com/happysalada/glad-chat/tree/68d6d2bfa1895a73881ee8f292f2565a3be58c4b
(of course let me know if anything).

@happysalada The error message I get is:
><EMAIL_ADDRESS>build /Users/Menci/glad-chat
> vite build

vite v4.3.9 building SSR bundle for production...
transforming (11) node_modules/.pnpm/@sveltejs+kit@1.20.1_svelte@3.59.1+vite@4.3.9/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js3:27:57 PM [vite-plugin-svelte] /src/routes/signin/+page.svelte:73:3 A11y: '#' is not a valid href attribute
71:   >
72:     <a
73:       href="#"
          ^
74:       class="flex items-center mb-6 text-2xl font-semibold text-white"
75:     >
3:27:57 PM [vite-plugin-svelte] /src/routes/signin/+page.svelte:341:9 A11y: '#' is not a valid href attribute
339:                 >I accept the <a
340:                   class="font-medium text-primary-600 hover:underline dark:text-primary-500"
341:                   href="#">Terms and Conditions</a
                       ^
342:                 ></label
343:               >
✓ 91 modules transformed.
✓ built in 1.16s
"default" is not exported by "node_modules/.pnpm/@dqbd+tiktoken<EMAIL_ADDRESS>imported by "src/routes/+page.server.ts".
file: /Users/Menci/glad-chat/src/routes/+page.server.ts:6:7
4: } from "openai";
5: import { init, Tiktoken } from "@dqbd/tiktoken/lite/init";
6: import wasm from<EMAIL_ADDRESS>          ^
7: import model from<EMAIL_ADDRESS>error during build:
RollupError: "default" is not exported by "node_modules/.pnpm/@dqbd+tiktoken<EMAIL_ADDRESS>imported by "src/routes/+page.server.ts".
    at error (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:2124:30)
    at Module.error (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:13463:16)
    at Module.traceVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:13884:29)
    at ModuleScope.findVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:12429:39)
    at ReturnValueScope.findVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:6965:38)
    at ChildScope.findVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:6965:38)
    at BlockScope.findVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:6965:38)
    at ReturnValueScope.findVariable (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:6965:38)
    at Identifier.bind (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:8127:40)
    at CallExpression.bind (file:///Users/Menci/glad-chat/node_modules/.pnpm/rollup@3.23.0/node_modules/rollup/dist/es/shared/node-entry.js:5734:28)
 ELIFECYCLE  Command failed with exit code 1.

You shouldn't import default from a WASM file since it doesn't have an default import. And you shouldn't use this plugin with manually instantiating. Instead you should import the package directly.

@mrhoodz You're using @vercel/og which is NOT WebAssembly ESM. It supports Node.js and Vercel's Edge Runtime but doesn't support frontend bundler. The plugin can't help you use that in Vite.

Thanks for taking a look at this.
After doing what you recommended, I'm still getting an error
"TypeError: malloc is not a function"
which seems wasm related. I've opened an issue in the original repo though.
Thanks again!

To check if an issue is this plugin related or not, you can build your project with Webpack 5 (asyncWebAssembly). This plugin's behavior should be the same as that.


⚠ Bofrost.de has degraded performance

In 936e96d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1529 ms

Resolved: Bofrost.de performance has improved in e16f68f after 17 minutes.


sanitize Image class

I didn't like how Image performs more things than it should, e.g. pulling the image by default. I was also confused by several variable/attribute names -- I think we should be as close to docker terminology as possible (check manpages). This is probably not final. I will continue tomorrow.
@jscotka Honzo, can you take a look please?

I'll check it tomorrow. Could you please fix testsuite in this pr. Ive added comment to https://github.com/fedora-modularity/conu/pull/6 what caused this regression to see if nothing is broken by this change

can't see the comment :/

In utils, core. By PR6, there were changed name of parameter of function wait from function to fnc, but in methods wait_inet and wait_file, there is still remains parameter function instead of fnc.

@jscotka I fixed that in this PR, I'm not planning to fix the logging issue, I opened a dedicated issue for that.
What do I need to do to have this merged?


⚠ DesiTorrents has degraded performance

In b64e5dd, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 4323 ms

Resolved: DesiTorrents performance has improved in bdb0e20.


Shared credential

Created a shared AzureKeyCredential and AzureKeyCredentialPolicy
Will create later PRs in TextAnalytics and Search that use this AzureKeyCredential instead of their own key credentials
fixes #10529

Can one of the admins verify this patch?

Thanks Isa!


Reset button

Hi Ari!
Is it possible to add add reset button for section / panel only for developers (like old version of Kirki)

No, I'm afraid there's no way I'm bringing that back in any form. It had way too many bugs to even consider...
If you want to quickly reset your theme-mods for development/testing purposes you could easily add something like this in your functions.php file, or even in a php file inside your mu-plugins folder:
if ( isset( $_GET['reset-theme-mods'] ) && '1' === $_GET['reset-theme-mods'] ) {
    remove_theme_mods();
}

Then you can just add reset-theme-mods=1 to a URL and your theme-mods will get deleted.


How to manage the variance of the experiment?

Dear author
Thank you for such interesting and solid work on imbalanced fsl. I found that experiments with such imbalanced data always had large variance. I wonder how do you deal with it. Also, I am wondering the reason you did not mention training query set imbalance too much.
Thank you

Hi,
Thank you for your interest in our work.
Variance
It is true that random imbalance can produce higher levels of task variance. Dealing with this can be tricky. In the paper, we find that random oversampling (ROS/ROS+) helps reduce variance during training (see performance over epoch graphs in the appendix).
Query Set Imbalance
We did not introduce query set imbalance in the main experiments to reduce the number of random variables and reduce the number of experiments. However,  we will be updating the arXiv paper very soon. In the updated version, we do examine the effect of imbalance at the query set level during meta-training (these will be added to the appendix of the updated paper).
In summary, having query imbalance has a slightly negative effect on accuracy on imbalanced tasks (mostly -1% to -2%, but occasionally -4% and -7%). Query set imbalance could be particularly disruptive for transductive FSL methods, however, we leave this investigation for future work.
Let me know if you have any further questions.


Fixes wrong content length calculation.

Fixes https://github.com/pjdietz/rester-atom/issues/20

I saw your issue in rester-atom first and went ahead and fixed this before seeing this PR. I made the change in the Parser since that was already calculating the content-length. https://github.com/pjdietz/rester-client/commit/3030e326c1482a16db9d36dace9efdb12f28ef19


Highlighting a particular point

Hi,
I am trying to highlight a particular point in the graph using its index as answered here:
https://stackoverflow.com/questions/55468483/highlight-a-particular-point-in-chart-js
my customRadius function:
function customRadius( context )
{
  let index = context.dataIndex;
  return index === 3 ?
         10 :
         2;
}

my option variable:
    var options = {
      legend  : {
        display: false
      },
      elements: {
        point: {
          radius : customRadius,
          display: true
        }
      }
    };

and the chart:
            <Line
              data={data}
              options={options}
            />

I expected the 3rd index point will be highlighted.
What am I doing wrong?
p.s.
Thanks for your work! helped me a lot

@guygrinberger what are you seeing instead? No highlighted point? Or the 4th index highlighted?
If you want to highlight the third point you should use the following: (as array indexes start at 0)
return index === 2 ?
If you are not seeing any highlighted points then please open an issue Chart.js directly: https://github.com/chartjs/Chart.js/issues

@Pringels My bad. I copied a dataset which had pointRadius: 0 so I couldn't see it. Sorry


Decide behavior of unfilled reel and reenable validation

See #60. When we have an incomplete reel, and change focus, everything is redrawn according to the focus. When we switch from the top to the next tablet, this results in the top tablet being drawn underneath the second. In general, it means that:

we can have a large gap on the top, when we couldn't before (not necessarily bad)
we can cut off a tablet despite having enough room for it (bad, i think)

The first issue isn't a huge one. We'd need change validation to take it into account, but whatever. Everything's still visible. Much more annoying is the second issue. If I'm focused on the second tablet at y == 5, and the reel is 11 total, and t1 is 5 and t2 is 1, we ought be able to see all of t1 and t2 with no clipping. Instead, we'll get t2 unclipped, and t1 following it at 8. The result is 4 empty lines, t2 unclipped, gapline, and t1 bottom-clipped after two lines of data. 3 lines of actual data are thus missing, along with 1 line of border.
I don't like that, but fixing it means the focused window might have to move, which is also annoying. In the case above, either t2 could move up to line 1, or t2 could move down to line 9, but it can't stay at 5 unless we want to wrap around the bottom.
If we're moving focus to a tablet that is partially off-screen, it's already moving, so that doesn't necessarily seem such a tremendous break from current behavior...

To handle the second issue without wrapping (I think wrapping would greatly complicate things for little benefit), we can do the following:

always give the callback all possible space, on both sides of the focused tablet
if the callback writes more than is available on the drawing side, move everything else to accommodate it (extreme case: topmost completes by making use of 1-line gap at bottom; shift everything from topmost + 1 (might not be focused!) to bottommost down one line)

this prefers complete display of unfocused tablets, and prefers putting them below the focused tablet. one thing i don't like is that a growing tablet underneath the focused tablet will slowly push the focus towards the top (though not off-screen), even if there is good data above it. this thus favors complete unfocused tablets over the focused tablet staying stationary.
But, to be fair, the focus is almost always on an extremity anyway, because that's how it moves...
if we have two tablets, a large one and a smaller one, and they start as t1 and t2, and we switch focus to t2, right now t1 will be drawn after it. under this scheme, t1 would grow until t2 was pushed to the top. if t1+t2 fill the screen out, moving down or up to t2 from t1 will place t2 at the top, and down or up from t2 to t1 will place t1 at the top. that's counter to what we do today in growlight/omphalos, where moving down means you'll always be at the bottom, and the tablets instead switch positions. this is due to the bottom-favoring asymmetry.
so if we instead always give the drawn tablet all possible room, but prefer to keep it on the side of the focused tablet it's currently on, that unifies the broken symmetry. we still get pushed up to the top at all times, though.
so if we instead only give it all possible room when we have an absolute gap, that doesn't push us up arbitrarily, because the last one drawn isn't given all possible space. we then naturally fill in the gap above us with available tablets. if any only if we have space left, give it to the last tablet. we only do this if it was partially drawn. if we have one drawn above us, its space is not given away (unless it shrinks). so let's say we have:
empty line
t1 l1 (top)
t1 l2 (d1)
t1 l3 (bottom)
gap line
t2 l1 (top)
t2 l2 (d1)
t2 l3 (d2)
l2 l4 (bottom)
gap line
t3 l1 (top)
t3 l2 (d1, clipped footer)
.... many lines of t3 hidden....
and focus is on t2 (line 6). t2 has two lines available below it, post-draw. it calls t3 with these 2, which it fills and clips. we then call t1 with the four lines above it. t1 fills three lines. we call t3 with three lines, it fills the three, and we move everything else up one line. next round, t2 is drawn at its current position (line 5). it has three lines below it post-draw. t3 draws 3 lines, clipping. t1 draws three lines, filling the space above us. this time, we do not call t3 a second time. everything is stable unless there is a shrink.
i think that works beautifully.
it still flips t1 below t2 when moving down or up from t1 to t2 in a dyad. we can resolve that by first drawing in the direction opposite our move, if we want to.
the result would be a reel which never has a top gap of more than one line (unless all save one tablet are removed), keeps the focused tablet where it is unless a gap needs to be filled (which can only happen when we're not filling the reel), and doesn't move against the actual direction of move. i think this is a perfect solution.
if we then want to "handle" the case where all tablets have been removed save one, we can just move the stack up at the very end if there's a gap. i'm not sure this is necessary.

So the first thing to do is track our direction of travel, and draw opposite that direction. This ought prevent tablets from flipping around on us. Let's make sure that doesn't have unintended consequences, and then do the hairier gapfilling.

So the problem here is when we "wrap around". Let's say we have t1 and t2. We move down to t2. We're good, but then when we move "down" to t1, it is stuck below us. Likewise, if we initially move "up" to t2, we get swung below t2. I don't understand the first case; regardless of the direction taken to t1, once it's focused, it ought stay where it is...

--------> BEGIN REDRAW <--------
tplacement: 0x555a211be840:0x555a211bf100 base 5/5 len 74/37
DRAWING 0x555a211be840 at frontier 14 (dir 0) with 37
RESIZE TRUEY: 6 BEGY: 5 LENY: 37
drawing previous tablets
tplacement: 0x555a211ab5e0:0x555a211bee70 base 5/5 len 74/8
DRAWING 0x555a211ab5e0 at frontier 12 (dir -1) with 8
---------------> moved to next, 0x555a211be840 to 0x555a211ab5e0 <----------
--------> BEGIN REDRAW <--------
tplacement: 0x555a211ab5e0:0x555a211bee70 base 5/5 len 74/37
DRAWING 0x555a211ab5e0 at frontier 5 (dir 0) with 37
RESIZE TRUEY: 8 BEGY: 5 LENY: 37
drawing previous tablets
HIDING 0x555a211be840 at frontier 3 (dir -1) with 39
tplacement: 0x555a211be840:(nil) base 5/14 len 74/28
DRAWING 0x555a211be840 at frontier 14 (dir 1) with 28
tplacement: 0x555a211ab5e0:0x555a211bee70 base 5/21 len 74/21
DRAWING 0x555a211ab5e0 at frontier 21 (dir 1) with 21
RESIZE TRUEY: 8 BEGY: 21 LENY: 21

there's our problem

So the first time, we move to the next, and draw it at 14. We then draw the prev at 12 going up, since our last direction was down. All is well.
The second time, we move to the next, and draw it at 5. We then try to draw the prev at frontier 5, which of course cannot be done. It is hidden, and we then display it drawing down (since it is reachable and hidden).
One way to deal with this would be to check, in _next() and _prev(), whether we're reaching a visible panel in the opposite direction. That's kinda grotesque, but it will work. Might there be a more elegant solution...?

That appears to work perfectly for unfilled reels. On filled reels, I'm seeing us move focus to the top while moving down (sometimes) and move focus to the bottom while moving up (sometimes) (this was happening before these changes). So let's take care of that.

Regarding the above:

it only happens once we're full
if we are moving down, it happens as soon as we're moving down from one at the bottom
if we are moving up, it only seems to happen if the one we're moving to is on-screen. once tablets get big enough, it never happens going up, because the previous is always invisible when we move.

 Rather than trying for something elegant, we're gonna do the following:

Keep a boolean in the panelreel, all_visible. This starts true. If we ever hide or clip a tablet, turn it false.
Whenever we can show all tablets, set it true.
Ensure we're doing something to minimize gaps, so we can get back to all_visible quickly
In panelreel_arrange, take one of two paths based on the bool

It's gross, but it's O(1), and we can do it in thirty minutes. Maybe an hour. And this will be done.

Got it.


no codecompletion for js file etc.

there is no code completion for javascript file
and also: script src to connect javascript file to html doenst work

There should be code completion for JS / HTML. Can you provide screenshots of the problems? Also show me the html source code and the file directory it's in.

Op wo 22 feb. 2023 om 06:00 schreef Chung Shing Hin <
@.***>

There should be code completion for JS / HTML. Can you provide screenshots
of the problems? Also show me the html source code and the file directory
it's in.
—
Reply to this email directly, view it on GitHub
https://github.com/thebaselab/codeapp/issues/777#issuecomment-1439443122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5V6OMXRI7EF36OTYB2UK6LWYWMPFANCNFSM6AAAAAAVCGUGKY
.
You are receiving this because you authored the thread.Message ID:
@.***>

in sorry it was just my ipad doing weird.
i do have code completion now. 👍


Problem matching STCubeMX RCC configuration

I've having trouble migrating my STCubeMX RCC configuration to a working configuration with stm32f3xx-hal.
I'm using a STM32F303CCT6 with 16 MHz HSE and USB. The clock configuration works fine for USB-Serial when generating a project via STCubeMX:

Now I'm trying to convert attached clock configuration, but this fails the usb validation it seems:
let clocks = rcc
        .cfgr
        .use_hse(16.mhz())
        .hclk(72.mhz())
        .sysclk(72.mhz())
        .pclk1(36.mhz())
        .pclk2(72.mhz())
        .freeze(&mut flash.acr);
assert!(clocks.usbclk_valid());

when I switch to 48 mhz it works fine:
let clocks = rcc
        .cfgr
        .use_hse(16.mhz())
        .sysclk(48.mhz())
        .pclk1(24.mhz())
        .freeze(&mut flash.acr);
    assert!(clocks.usbclk_valid());

Is this a problem with the dynamic pll_config calculation, or am I missing something?

Hey! Sorry for the late answer.

Is this a problem with the dynamic pll_config calculation, or am I missing something?

Most likely due to the dynamic pll_config
Are you using the current master or the latest version (0.4.2), and in the latter case, can you try it with current master again?
I am asking because I recently merged a changed in https://github.com/stm32-rs/stm32f3xx-hal/pull/67, which changes the calculation quite a bit and should match the cubemx configuration more closly, as it is utilizing the PLL deviders now.
I'm curious, if I have fixed or introduced a bug :grinning:

@Sh3Rm4n I used v0.4.3, which failed to work with above configuration. switching to master makes it work. Looking forward to the next release :)


Create 2019-10-22-ook90.md

[ docs : Create txt ]
Create slide explain txt file
Resolve : #2

Resolves: #2


feat: only-hash option for add/addFromFS/addFromURL

This adds only-hash as a potential querystring arg for files.add, util.addFromFS, and util.addFromURL: ipfs.add(<content>, { only-hash: true }).
only-hash allows users to generate a hash for some content without actually adding the content to ipfs.
related issue: https://github.com/ipfs/js-ipfs-api/issues/509
needed for js-ipfs: https://github.com/ipfs/js-ipfs/pull/1233

Does this also support -n?
  -n,          --only-hash           bool   - Only chunk and hash - do not write to disk.

Does this also support -n?

I was thinking that alias support like that is only available through a CLI, (js-ipfs here). Should this API also support aliases? Please explain if I'm missing something, but would you expect ipfs.add(<content>, { n: true }) to be valid?

Ah I'm sorry, I didn't notice we're in js-ipfs-api

Haha, no worries 😉. Thanks for the look-over, though.

CI question: Does anyone know why ESLint finds errors but doesn't report them here? This has tricked me a few times, I think.

Should this API also support aliases?

Actually: maybe. go-ipfs supports option aliases on the API, e.g. /api/v0/refs?r=true&arg=QmFoo (because that's where most of the CLI options eventually end up). @diasdavid's call.

But again this is just options objects passed to an API function yeah? Then probably not.

Actually: maybe. go-ipfs supports option aliases on the API

Cool, I think js-ipfs could change that as a mild chore across the route handlers later on. Do you know why go decided to? Aliases make sense for a CLI because you get lots of human interaction so shortcuts are handy, but most code through an API is generated so aliases don't have that big of an impact.

CI is failing on object.patch tests: https://travis-ci.org/ipfs/js-ipfs-api/jobs/345383716#L3541
These tests do not fail locally but are also failing on VMX's most recent PR: https://github.com/ipfs/js-ipfs-api/pull/701.

Alias are supported for some methods (early days) but we decided to bet on the full options names for docs. (Aliases mean + docs and + dup tests)

@vmx could https://github.com/ipld/js-ipld-dag-pb/releases/tag/v0.13.1 be breaking the tests? HAven't looked too much into it.

@diasdavid: Nope, I've just publish js-ipld-dag-pb 0.13.1 just 30mins ago.

Current status: ready for review / merge.
CI failure is pubsub multiple nodes connected: empty() list when no topics are subscribed.
The object.patch CI tests that were failing for vmx and me are passing now for both PRs.

@JonKrone any reason why to use a different github account for your commits?
See how things are commited by @jkrone rather than @JonKrone

@diasdavid No reason. It is not a different Github account, just a local git config user.name setting that was set to jkrone. I've synced the names and pushed a commit that reflects it.

let's get https://github.com/ipfs/js-ipfs-api/pull/705 by @vmx in first to that we can see CI green in every PR :)

@JonKrone please rebase master onto this branch when you have a chance.

@JonKrone merging this branch into a branch of the repo itself so that we can collaborate


Typo on the README & project health

Hi
Thank for this nice project !
Is this project still alive ?
It should be weighted_rs not weighted-rs on the README

Yes, it is alive.
Please submit your issues if you find any problems about it, thanks.


Ahbazian/pill button colors

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
(a summary of the changes made, often organized by file)
Verification
(how the change was tested, including both manual and automated tests)

Before
After

Screenshot or description before this change
Screenshot or description with this change

Pull request checklist
This PR has considered:

[x] Light and Dark appearances
[x] VoiceOver and Keyboard Accessibility
[x] Internationalization and Right to Left layouts
[x] Different resolutions (1x, 2x, 3x)
[x] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)

Microsoft Reviewers: Open in CodeFlow

In our app (Power BI Mobile) we want to use the pill button bar in the search view for filtering.
We support branding for the app which give the customers the ability to customize the app colors, and according to this colors we want to customize the pill button colors as well.

In our app (Power BI Mobile) we want to use the pill button bar in the search view for filtering.
We support branding for the app which give the customers the ability to customize the app colors, and according to this colors we want to customize the pill button colors as well.

Can you fill the template of the PR with the sections expected (Description of changes, verification and screenshots of the demo app with your changes)?


Tensorflow version for the project

Hello @vilari-mickopf,
Thanks for the project; however, I've been having difficulty setting up the project. Can you specify the version of TensorFlow you used? Thanks

I've used several different tf versions and they all worked (from python 3.8 with tf 2.5 if i remember correctly, to python 3.10 with tf 2.12 now). What exact error you are getting for tf?
Second issue seems to be related to matplotlib, can you give me output of pip freeze command from your virtenv/conda env?

Also, your board is registered, but it's not receiving packets from pc, can you check if SOP jumpers are correctly positioned and that you are not in the flash mode.

 It is working well. Thanks.
>> start
Loading model...Done.

Configuring mmWave:
Sending:  sensorStop
Received: mmwDemo:/>
Failed sending configuration
Configuring mmWave:
Sending:  sensorStop
Received: Done

Sending:  flushCfg
Received: Done

Sending:  dfeDataOutputMode 1
Received: Done

Sending:  channelCfg 15 3 0
Received: Done

Sending:  adcCfg 2 1
Received: Done

Sending:  adcbufCfg -1 0 0 1 0
Received: Done

Sending:  profileCfg 0 77 7 7 200 0 0 20 1 384 2000 0 0 30
Received: Done

Sending:  chirpCfg 0 0 0 0 0 0 0 1
Received: Done

Sending:  chirpCfg 1 1 0 0 0 0 0 2
Received: Done

Sending:  frameCfg 0 1 16 0 100 1 0
Received: Done

Sending:  lowPower 0 1
Received: Done

Sending:  guiMonitor -1 1 0 0 0 0 0
Received: Done

Sending:  cfarCfg -1 0 0 8 4 4 0 8534
Received: Done

Sending:  cfarCfg -1 1 0 4 2 3 0 8534
Received: Done

Sending:  peakGrouping -1 1 0 0 1 511
Received: Done

Sending:  multiObjBeamForming -1 1 0.5
Received: Done

Sending:  clutterRemoval -1 1
Received: Done

Sending:  calibDcRangeSig -1 0 -5 8 256
Received: Done

Sending:  extendedMaxVelocity -1 0
Received: Done

Sending:  bpmCfg -1 0 0 1
Received: Done

Sending:  lvdsStreamCfg -1 0 0 0
Received: Done

Sending:  nearFieldCfg -1 0 0 0
Received: Done

Sending:  compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
Received: Done

Sending:  measureRangeBiasAndRxChanPhase 0 1.5 0.2
Received: Done

Sending:  CQRxSatMonitor 0 3 19 127 0
Received: Done

Sending:  CQSigImgMonitor 0 127 6
Received: Done

Sending:  analogMonitor 1 1
Received: Done

Sending:  sensorStart
Received: Debug: Init Calibration Status = 0x7fe

=== Listening ===
Waiting for sync...
Sync received!

Awesome, glad it works. I am rewriting the whole package, so in the future i will definitively print info if you've accidentally left flash mode on, because you are not the first one who had this issue.

Any update on the version of matplotlib you used? Everything is working fine except the plotter.

Hmm might be qt problem actually, because matplotlib is using qt backend. A have Qt 5.15.8 and matplotlib 3.7.1. Try installing qt if it's not installed already, or maybe you can try setting different backend in mmwave/utils/plotter.py on the line 15. You have available specs here: https://matplotlib.org/stable/users/explain/backends.html

I replaced this line 41 with this self.ax.grid(), all working fine now. Thanks for the feedback.

when I use 'start',this above  will appear every time:
Unknown profile.
mmWave not configured.
Listener not started.
Plotter stopped.
mmWave stopped.
dose it means I need to install mmWave demo visualizer before?

Nope, all deps are listed in setup.py. It seems like there is an issue with your project path. Profiles are stored in mmwave/communication/profiles/, and console.py is accessing them by using relative location.
Try modifing line 59 of console.py with this:
self.config_dir = os.path.join(os.path.dirname(__file__), 'mmwave/communication/profiles')

It works when I replace the line 59 of console.py with the code you give! Thanks for your useful help and timely reply sincerely!

Yea, I will change that in new version, few people already had that issue. Feel free to open a separate issue for any problem that you have.


specified correct fix for OSV-2021-585/CVE-2021-36087

Reported in https://github.com/google/oss-fuzz/issues/5993

@googlebot I signed it!


How to fill an Area chart with the gradient?

Heya, another question/feature request!
How can I fill an Area chart with a gradient? I've figured it might be possible to hack it when the chart is in svg mode, but how to do it when it's canvas?

canvas gradient is setting a new attribute like ctx.fillStyle
Right now there is no support, I would like to add it, but it seems it would be breaking some of the consistencies the library enjoys between svg and canvas.
I would like to hear some ideas which maintain reasonable consistency between svg and canvas mode

added gradient example in http://rrag.github.io/react-stockcharts/documentation.html#/area_chart


Fix issues templates + README.md links

This PR fixes the links in README.md leading to issue templates.
Before, by clicking on them, contrary to the normal process of the creation of the issues, the issue template was not containing the labels.
Live preview to check the links: https://github.com/julien-deramond/ods-ios/blob/938ed3c562410ca8aa84afca3b1a997f6d8057ca/README.md
On top of that, this PR also fixes the labels used when creating issues from the forms. I used the same principle as in https://raw.githubusercontent.com/Orange-OpenSource/ods-flutter/main/.github/ISSUE_TEMPLATE/bug_report.yml, so should work 🤞

@julien-deramond What is the related issue ?

There's no related issue. It's a fix for all ODS GitHub projects after the change that happened to the labels to add emojis. You can create a corresponding issue if needed.


Make call to action button on landing page lead to "Documentation" instead of "View on GitHub"

I have seen a lot of Microsite websites with an action button on the landing page that points to "View on GitHub". For example  https://pureconfig.github.io/

I think it would be nice if the call to action button pointed to "Documentation" instead. Feel free to close this issue, just wanted to report this since I have several times browsed a repo on GitHub, opened the website link, accidentally clicked on "View on GitHub" to bring me back to the GitHub repo.

Hello @olafurpg o/ I've picked this up and submitted a PR as linked above. Do let me know if you have any thoughts or concerns!

Hello @olafurpg o/ I've picked this up and submitted a PR as linked above. Do let me know if you have any thoughts or concerns!


Base freezes after two hours

The frequent GPS hits and screen refreshes seem to be what sunk it.
Changed screen refresh to only change the last line every 10 seconds, but only change the top 3 lines when the screen has been cleared.


Slider - Custom Thumb - disable default thumb click event

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

When clicking the edit icon, i want to show an edit dialog with an input box.
The problem is when you click the Icon it is not firing it's onClick but changing the value of the slider.
Example with a range (from/to)

Examples 🌈
<Slider ThumbComponent={CustomThumbComponent} />

and the custom Thumb:
const CustomThumbComponent = (props) => {
     const value = props["aria-valuenow"]
     const unit = props["aria-label"]

 return
 {
    alert("test1")
  }}>

 {
          alert("test2")
        }}>
        <Icon onClick={(ev) => {
          alert("test3")
        }}>edit</Icon>
        {value} {unit}

}

Only the root onClick (alerting test1) is executed, but the slider value already changes before the alert

Motivation 🔦
When the range between min and max is high and user wants a precise value, it is hard with the thumb to pick that. A button inside would be handy. I would

Ok maybe buttons aren't the best UX as for the range, the 2 thumbs can overlap. So i will probably put a button on the left and right of the slider.
Another issue is the aria- data attributes. If i add new (non official) ones, they are not propagated to the custom Thumb props. The official ones are..

@flieks We don't plan to support this use case. Don't try to add a button inside a slider, it's inaccessible.

Another issue is the aria- data attributes. If i add new (non official) ones, they are not propagated to the custom Thumb props. The official ones are..

Do you have a reproduction?


Bug: TypeError: format_file() takes 1 positional argument but 2 were given

Using pytest-ruff v0.2:
self = <RuffFormatItem ruff::format>

    def runtest(self):
>       self.handler(self.fspath)
E       TypeError: format_file() takes 1 positional argument but 2 were given

I think the issue is that we get passed self here: https://github.com/businho/pytest-ruff/blob/main/pytest_ruff.py#L98

I had the same issue in #7 and put up a bugfix PR here, but I found one case where behavior isn't intuitive (that one failing test): https://github.com/businho/pytest-ruff/pull/8

Fixed by #8. 🙏🏻
I was really interested in integrating ruff format and did a really bad release and didn't had time to make it work in my projects. 😞

glad i could help! cheers

Thanks for the quick fix @skellys and @iurisilvio for providing this package :)
Also sorry for duplicating the issue.


Feature: Pulumi and .NET 5

Currently only .NET Core 3.1 SDK and the Terraform is installed within the shell. I want to adopt the .NET 5 SDK and the Pulumi for my workload.

Cloud Shell currently supports .Net version 6.


Delete finished jobs immediately?

Currently, finished jobs are deleted after 7 days by an index. See https://github.com/huggingface/datasets-server/blob/259fd092c12d240d9b8d733c965c4b9362e90684/libs/libcommon/src/libcommon/queue.py#L144
But we never use the finished jobs, so:

we could delete them immediately after finishing
we could reduce the duration from 7 days to 1 hour (can be complementary to the previous action, to clean uncaught jobs)

For point 2, see https://github.com/huggingface/datasets-server/pull/1103
Stats:

9.805.591 jobs
13.345 are not finished! (0.1% of the jobs)

First change, in https://github.com/huggingface/datasets-server/pull/1105: reduce from 7 days to 1 day.

we could delete them immediately after finishing

Maybe we could remove immediately if it is a success job (status=200) and for failed ones, leave as it is for now.

Yes, good idea

In https://github.com/huggingface/datasets-server/commit/69ca3c4bae5d581dde1e1d40c74b20e9d5e129bb we reduced the duration from 1 day to 10 minutes. It reduces a lot the number of entries in the Jobs collection. At the same time, it still allow to get the following metrics (they are computed every 2 minutes), which I find very useful for monitoring.

I close for now.


Imagescan Rebuild: 2022-07-05

Related issue: https://github.com/stolostron/backlog/issues/23618
Signed-off-by: dislbenn<EMAIL_ADDRESS>Related Issue:  stolostron/backlog#<ISSUE_NUMBER>
Description of changes

Will merge this PR since it is a no-op PR. The 2.5.2 stream is opened, so this is safe to merge.


mcomix: Update to version 3.0.0, Remove extract_dir

This merge request updates MComix to the newest version. The new version's ZIP file no longer contains a MComix-x.x.x subfolder, so the manifest is slightly simplified.

[x] I have read the Contributing Guide.

/verify

/verify


[Event Request] Codeunit 99000845 Reservation Management - OnAfterSetReservSource

Somewhat similar to what was mentioned in #8370, it is currently not possible to fully use reservation management for extension tables.

Subscribing to OnSetReservSource() does not allow calling local UpdateReservation()
Calling SetExternalDocumentResEntry() instead looks fine at first sight, but processing then fails later on because several global variables (e.g. SourceRecRef, Positive) are not set.

Please add a new publisher OnAfterSetReservSource() and call it at the very end of function SetReservSource() like this:
procedure SetReservSource(NewSourceRecRef: RecordRef; Direction: Enum "Transfer Direction")
var
    RunUpdateReservation: Boolean;
    EntryIsPositive: Boolean;
begin
    [...]
    OnAfterSetReservSource(SourceRecRef, CalcReservEntry, Direction, RunUpdateReservation, EntryIsPositive);
    if RunUpdateReservation then
        UpdateReservation(EntryIsPositive);
end;

The new publisher:
[IntegrationEvent(false, false)]
local procedure OnAfterSetReservSource(SourceRecRef: RecordRef; var ReservEntry: Record "Reservation Entry"; Direction: Enum "Transfer Direction"; var RunUpdateReservation: Boolean; var EntryIsPositive: Boolean)
begin
end;

I will add an OnAfter event for this issue, if you need to run UpdateGlobal for some reason you should instead request for it to be global and then run it wherever you need in your code, not ask for event with new code

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

I will add an OnAfter event for this issue, if you need to run UpdateGlobal for some reason you should instead request for it to be global and then run it wherever you need in your code, not ask for event with new code

Ok, even better. I will create another issue with this idea.


Verify fails for v0.2.7

I tried installing Chainsaw with verify: true but it failed. Here is a link to the pipeline, if that's useful.
GitHub Action configuration:
jobs:
  test-cluster-standalone:
    runs-on: ubuntu-22.04
    steps:
      - name: Install Cosign
        uses<EMAIL_ADDRESS>
      - name: Install Chainsaw
        uses<EMAIL_ADDRESS>        with:
          verify: true

Error Details:
INFO: Custom version 'v0.2.7' requested
INFO: Downloading Chainsaw version 'v0.2.7'...
      https://github.com/kyverno/chainsaw/releases/download/v0.2.7/chainsaw_linux_amd64.tar.gz
Error: getting Rekor public keys: updating local metadata and targets: error updating to TUF remote mirror: invalid key
remote status:{
	"mirror": "https://tuf-repo-cdn.sigstore.dev/",
	"metadata": {
		"root.json": {
			"version": 9,
			"len": 6766,
			"expiration": "12 Sep 24 06:53 UTC",
			"error": ""
		},
		"snapshot.json": {
			"version": 150,
			"len": 2304,
			"expiration": "13 Aug 24 16:07 UTC",
			"error": ""
		},
		"targets.json": {
			"version": 9,
			"len": 5478,
			"expiration": "12 Sep 24 06:13 UTC",
			"error": ""
		},
		"timestamp.json": {
			"version": 206,
			"len": 721,
			"expiration": "02 Aug 24 16:05 UTC",
			"error": ""
		}
	}
}
main.go:74: error during command execution: getting Rekor public keys: updating local metadata and targets: error updating to TUF remote mirror: invalid key
remote status:{
	"mirror": "https://tuf-repo-cdn.sigstore.dev/",
	"metadata": {
		"root.json": {
			"version": 9,
			"len": 6766,
			"expiration": "12 Sep 24 06:53 UTC",
			"error": ""
		},
		"snapshot.json": {
			"version": 150,
			"len": 2304,
			"expiration": "13 Aug 24 16:07 UTC",
			"error": ""
		},
		"targets.json": {
			"version": 9,
			"len": 5478,
			"expiration": "12 Sep 24 06:13 UTC",
			"error": ""
		},
		"timestamp.json": {
			"version": 206,
			"len": 721,
			"expiration": "02 Aug 24 16:05 UTC",
			"error": ""
		}
	}
}
Error: Process completed with exit code 1.

Strange, i will need to check this out.
Did it work with previous versions ?

@itay-grudev can you confirm it works again with 0.2.8 or 0.2.9 ?

Doesn't seem like it.
      - name: Install Cosign
        uses<EMAIL_ADDRESS>
      - name: Install Chainsaw
        uses: kyverno/action-install-chainsaw@b2f61a8d0459a65c476ac802514d88e1612b3396 # v0.2.9
        with:
          verify: true

Here is a link to the pipeline: https://github.com/cloudnative-pg/charts/actions/runs/10763542256/job/29845186488?pr=378

Am I doing something wrong here?
https://github.com/cloudnative-pg/charts/blob/cac8d96178268435b1e603dfa90cc2d165e5cc0f/.github/workflows/tests-cluster-chainsaw.yaml

@itay-grudev not sure why, it doesn't work with cosign installer v3.1.1 but works with v3.6.0.

I just wanted to confirm that upgrading the cosing installer indeed resolved our issue. Thank you for spotting that.

Awesome, thanks!


The EvaluationLoop() is an instance variable owned by an instance of the class TrainingEpochLoop?

Recently, I read part of the code in pytorch-lightning. And I found this pseudocode about when to run the validation code.
def fit_loop():
    on_epoch_start()
    on_train_epoch_start()

    for batch in train_dataloader():
        on_train_batch_start()

        on_before_batch_transfer()
        transfer_batch_to_device()
        on_after_batch_transfer()

        training_step()

        on_before_zero_grad()
        optimizer_zero_grad()

        on_before_backward()
        backward()
        on_after_backward()

        on_before_optimizer_step()
        configure_gradient_clipping()
        optimizer_step()

        on_train_batch_end()

        if should_check_val:
            val_loop()
    # end training epoch
    training_epoch_end()

    on_train_epoch_end()
    on_epoch_end()

We evaluate the model once on all validate datasets in EvaluationLoop().run, we evaluate the model once on one validate dataset in EvaluationEpochLoop().run, we train the model once on whole train dataset in TrainingEpochLoop().run.
But I think it is strange that epoch_loop:EvaluationEpochLoop is an instance variable owned by an instance of the class EvaluationLoop(DataLoaderLoop), and the training_validation_loop: EvaluationLoop is an instance variable owned by an instance of the class TrainingEpochLoop.
In my opinion, the trainer is not just the trainer, and we can call it a "controller" because it controls the training, validating and others, which means they should be at the same level. And Maybe we should rewrite like this?
class Trainer:  # Controller
    def __init__(self):
        self.validate_loop = EvaluationLoop(self)  # finish evaluating the model on all validate datasets
        self.train_loop = FitLoop(self) # finish training the model on whole train dataset for several epochs

class FitLoop:
    def __init__(self, controller: Trainer):
        self.controller = Trainer

    def advance(self):
        self.epoch_loop.run(data_fetcher)  # self.epoch_loop: TrainingEpochLoop

class TrainingEpochLoop:
    def __init__(self, controller: Trainer):
        self.controller = Trainer

    def advance(self):
        batch = next(train_dataloader):
        transfer_batch_to_device()

        training_step()
        optimizer_zero_grad()
        backward()

    def on_advance_end(self):
        if should_check_val:
            self.controller.validate_loop.run()

PS: I also found the self.validate_loop and training_validation_loop. So can we just write them as one single validate_loop?

@awaelchli

We have two instances of the same EvaluationLoop (trainer.validate_loop and trainer.fit_loop.epoch_loop.val_loop) because even though their functionality is the same, the state needs to be kept separated.

they should be at the same level. And Maybe we should rewrite like this?

This would mean that running trainer.fit -> trainer.validate -> trainer.fit would leave the validation progress of the fit loop in a bad state, as both procedures have updated the same progress tracking instances.
Additionally, even though the implementation matches for both the trainer.validate validation loop and the trainer.fit validation loop, this might not be true in the future.

In my opinion, the trainer is not just the trainer, and we can call it a "controller" because it controls the training, validating and others

This is completely fine, we keep the Trainer name for backwards compatibility.

@carmocca But I'm still confused about, what is the difference between ttrainer.validate_loop validation loop and the trainer.fit_loop.epoch_loop.val_loop validation loop? Would you please give me some examples? I read torch/ignite too, but it looks they just need one validation loop? https://gist.github.com/yjqiang/a25f59f976ac6bf284045ba069000b41#file-ignite-py-L74

Hey @yjqiang,
Currently, trainer.validate_loop and  trainer.fit_loop.epoch_loop.val_loop are both instances of the same EvaluationLoop.
There is 2 instances of them as their states can be different due to their usage.
Best,
T.C

@tchaton So you mean that maybe user would write like this? So they have to keep their own state?
trainer.fit(...)  # using trainer.fit_loop.epoch_loop.val_loop to select best model
trainer.validate(...)  #  using trainer.validate_loop to evalute

Thank you so much.


libsemanage: Do not ignore /root.

This will cause /root to get inappropriate default_t labels.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Change semanage.conf not to ignore /root. With this ignored, /root gets the wrong SELinux labels.
Change Log

Remove ignoredirs from semanage.conf.

Does this affect the toolchain?
NO
Test Methodology

Pipeline build id: 228350
Local builds

I didn't move the %defines as suggested by the linter as I think it makes things worse for maintenance.


Added account lockout.

Failed login attempts will lockout an acocunt for an ever-increasing amount of time

Unfortunately this only works for local authenticated users

This may help with a more general solution: https://www.npmjs.com/package/express-brute


Error when trying to change identity on Android.

Hi,
I'm having this issue
Steps to reproduce:

Init Sdk with null user id

PluginScreeb.initSdk(<screebAndroidChannel>,<screebIOSChannel>,null);

Set Identity

PluginScreeb.setIdentity(<userId#1>);
Note : Until here everything is working good and the PluginScreeb.debugTargeting() is working as expected

Reset Identity (User logs out)

PluginScreeb.resetIdentity();

Set new Identity (Another user logs in in without closing the app)

PluginScreeb.setIdentity(<userId#2>);
Here the plugins seems to break and the PluginScreeb.debugTargeting() is not displaying anything and the survey is not being displayed where it should.

Note: This only happens with the Android build. The iOS build with the same code works well and it displays the surveys in both users and saves their responses in their corresponding user id's.
Info:
  Flutter Sdk: 3.16.9
  plugin_screeb: 2.0.20

Hi, we just released a new version 2.0.21, can you try it?

Im sorry for the delay, i'm not used to check Github and forgot about this.
Yes I can confirm that in this version is working for me.
Thanks 😃


Suggestion object values

Fumo issue
To be honest, the object that the Rest API returns is a little, if not a lot, fit to function as an API. I know that there are a lot of Fumos in the database, and that they might find it tedious, but it's the right thing to do, they should do it. The object that returns contains the ID of the object in MongoDB and the link of the image; that it is not a unique CDN, since there are links of the cdn of Discord or Telegram. It would also be useful if they put the name, or names, of the smoke that appears in the url image. They could take advantage of this and at once completely revamp the Rest API, including the database.
TODO list:

[ ] Names of fumos in the JSON
[x] #14
[ ] Renovate the database

#14

"New and stable cdn" resolved in #14


Zero cost bindings to PanResponder API

This will most likely have to be revised before getting merged. Everything works, but it's missing some magic.
PanResponder.create creates an object which has the gesture responder props (and their relevant values) under the key panHandlers. That object is passed to a View using the spread notation (i.e. {...panHandlers}) under JS, but I am not sure how to handle that under Reason. Spread used to work, but I'm not sure if there is equivalent functionality anymore. I tried on Discord and @rickyvetter suggested it should just work, but I've yet to figure out how.
Obviously, one can make use of the accessors and do something like
onResponderStart={panHandlers |> PanResponder.onResponderStart}

but that is hardly convenient.

We already have this situation with plenty of props (eg View props available almost everywhere, ScrollView props for all kind of lists etc) and spread isn't possible I am afraid. We will have to be explicit about it...

Please/add update .md file.
Btw if you want to write some docs about it (how to use this), feel free to do it, even it that's just a sentence or 2 :)

I do intend to write documentation, but for now I simply duplicated the code as placeholder.

@cknitt does this look good to you?


Update publish.yaml

:tada: This PR is included in version 2.0.15 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Fedora40] update ext libs to ITK5.4rc04

This PR compiles on Fedora 40, Ubuntu 20/22, macOS 10.15 and Windows 10.
It switches to ITK 5.4rc04.
On Windows, it needs to be compiled with Visual Studio 2022 (at least 2019) with Qt5.15.
This PR needs other PR to be merged, and branches created:

https://github.com/Inria-Asclepios/LCC-LogDemons/pull/8
https://github.com/Inria-Asclepios/RPI/pull/25
https://github.com/medInria/TTK/pull/6

As soon as these PRs are merged, this PR could be updated. For now, i put it on draft. And for now it's on master branch.
:m:

(PR rebased with https://github.com/Inria-Asclepios/medInria-public/pull/854)

This PR has been updated with a commit to solve package_DIR variables


Error when saving collection: Transaction numbers are only allowed on a replica set member or mongos

I get this error ,  Transaction numbers are only allowed on a replica set member or mongos
How do i fix???

Oh, another user! I was not aware more people are using (over the years, few people commented here). Ok. There's demand.
However, this is the same issue as the one reported by @hakkiunlu on https://github.com/fititnt/uwazi-docker/issues/52 (I will mark as duplicated, then ask you to comment in the other issue). You can still comment here (and others might also open other issues) but I think we should comment on the #52.
I do know what's wrong, and is a more specific problem than the pinned issue https://github.com/fititnt/uwazi-docker/issues/48 and while obviously is theoretical possible do with containers, on a quick look, I did not found an simpler fix. Also, our solution to the problem might be similar to this another issue on the upstream repository (https://github.com/huridocs/uwazi/issues/5633).


docs: bump Rspress v1.18.2 and remove dividers

Summary
Bump Rspress v1.18.2 and remove dividers. Rspress now provides a default divider for h2 title.
Related Links
https://github.com/web-infra-dev/rspress/releases/tag/v1.18.2
Checklist

[x] I have added changeset via pnpm run change.
[x] I have updated the documentation.
[ ] I have added tests to cover my changes.

My mistake, I will fix it..


Add Trace analytics page to doc website repo

Description
Add Data Prepper Trace analytics page with images.
Issues Addressed
Addresses issue #1837 and #1267
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dlvenable Can you take a look at this one?

Include the following link in the Use case section:
https://github.com/opensearch-project/data-prepper/blob/main/docs/trace_analytics.md#opentelemetry-collector

@cwillum This is ready for doc review.


Hindi translation

Initial translation to Hindi already done, but it is not finished.
Current translation is available at:
https://hi.wttr.in
To do:

[x] Translate messages into Hindi
[ ] Translate help file into Hindi
[ ] Fix formatting issues in browser
[ ] Fix formatting issues in terminal
[ ] PNG rendering
[ ] v2.wttr.in translation

@skyme5 Aakash, thank you for the translation. Hindi support is very important for us, because we have a lot of Hindi speaking users. Though it is a little bit harder than support of regular languages, that use the Latin or the Cyrillic script.
The problem is that not all terminals support Devanagari properly, and as far as I know for example all VTE-based terminals do not do it.
I use alacritty and it supports Devanagari good, but the problem is that wttr.in itself has bugs in Devanagari support.
I hope that I will fix it.
Regarding the translation itself, we still have several
open subissues:

translation of the v1 view: Weather report, Morning, Noon, Evening, Night (it is here: https://github.com/chubin/wttr.in/blob/master/share/we-lang/we-lang.go )
translation of the help file ( it should be added here: https://github.com/chubin/wttr.in/tree/master/share/translations )
I've added you to the list of translators (https://wttr.in/:translation); please say if your name/account name should be hidden/removed

@legitishan @skyme5 Ishan, Aaakash, the hindi translation seems to be finalised now. Thank you very much for your help!
Please make sure that your names are listed in https://wttr.in/:translation (share/translation.txt)


Fixes linkage of SubSelect to Node

Coverage remained the same at 83.697% when pulling 557831dc66211414dba8104953cc44a8c8becd70 on pavgra:fixes-subselect-link-to-node into d6b4e4d7bec895a79fbdaca20e3c3072b27a7181 on JSQLParser:master.


Added more control on setting previousIntent value

Added more control over previousIntent value
By setting the responseObject.error to true keeps the previous value of previousIntent
responseObject.attrs.previousIntent overrides the previousIntent to the specified value
Use this to avoid setting previousIntent to the current intent in action flow on error

Coverage remained the same at 100.0% when pulling dcfb59734df921779486a4a776e9e4159667a328 on optional-previous-intent into fd8ab90fb44d20391f7619e443cc2637dcb843ff on master.


Cordex cmor tables

Includes cmor tables as a resource for development from https://github.com/ludwiglierhammer/cmor-tables

Codecov Report

Merging #27 (77345a9) into master (dd502dd) will increase coverage by 3.28%.
The diff coverage is 62.50%.

:exclamation: Current head 77345a9 differs from pull request most recent head f599558. Consider uploading reports for the commit f599558 to get more accurate results

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   49.02%   52.30%   +3.28%
==========================================
  Files          17       16       -1
  Lines         410      390      -20
==========================================
+ Hits          201      204       +3
+ Misses        209      186      -23

Flag
Coverage Δ

unittests
52.30% <62.50%> (+3.28%)
:arrow_up:

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

Impacted Files
Coverage Δ

cordex/tables/_resources.py
76.92% <50.00%> (-4.90%)
:arrow_down:

cordex/tables/__init__.py
93.33% <66.66%> (-6.67%)
:arrow_down:

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

Continue to review full report at Codecov.

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

load a cmor table:
import cordex as cx
cx.cordex_cmor_table('Amon')


Send is not working for coins and collectibles.

https://github.com/bithyve/bitcointribe/assets/62699947/137b0ded-d5aa-4dff-bc5f-7c37beee2337

Verified this issue on Tribe app v 2.4.0(629)


[4745] Show itt_end_date for HESA trainees

Context
HESA now send us an ITT end date, so we should show this on the record if present
Changes proposed in this pull request
Before:

After:

Guidance to review
Find a HESA trainee
See that their itt_end_date is now shown
Important business

[ ] ~Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?~
[ ] ~Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?~
NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 ITT End Date is estimated for new HESA trainees, even though exact Expected End Date is now given


Can esp32-s3-zero replace esp32s3sense?

If possible, how do I wire it? For example, D0? How to connect the ov5640?

It seems that configuration needs to be added in main. h

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

I have a question, is PSRAM important? If it's not important, esp32-fh4r2 should also be able to handle it, right?

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

openIPC cameras are still very large, at least 4x the size of a esp32sense.

If possible, how do I wire it? For example, D0? How to connect the ov5640?

You will not be able to connect camera to board without camera connector.

I have a question, is PSRAM important? If it's not important, esp32-fh4r2 should also be able to handle it, right?

Yes PSRAM is important. As side note - the goal of the project is to take available module, flash it and use. It is better to pay few bucks then solder anything.

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

As mentioned in the description, the goal of the project (apart academic interest) is to develop FPV system for small UAVs. I am flying tiny 1S wings like Ldark Tiny wing, where OpenIPC system based on standart 38x38 security camera simply does not fit by size, weight and power consumption. So in my case I have to compare esp32s3sense price to custom OpenIPC hardware which costs $100 and required expensive pololu syncronous 2A stepup conveter $10.
If you can fit 38x38 camera on your frame, I suggest to go with OpenIPC which is much superior in image quality compared to esp.

1280* 720@30fps Can the minimum delay reach 30ms?

1280* 720@30fps Can the minimum delay reach 30ms?

Sorry there was error in readme, current latency is 90-110ms for all resolutions, tested with Skyzone 03O glasses. This is still to be investigated because expected latency should be in range 50-70ms. I did not work on latency improvement yet.
I think for 30ms latency,  frames has to be captured at 90 or 120 fps  which esp can not do. ~50ms with 800x456x50 theoretically is acheavable.
As side note, 1280x720x30 requires too high mjpeg bandwidth and looks worse then 1024x576. As using 1280x720 for fpv is not practical,  in the next release 1280x720 will work in HQDVR mode: video will be saved to SD with maximum possible quality on air unit and sent to gs with low fps ~10. The purpose is to give possibility to record decent quality videos.

1280* 720@30fps Can the minimum delay reach 30ms?

even you do nothing, the frame interval will be 1000s / 30 frame = 33ms/frame, so it's impossiable.

@RomanLut @Ncerzzk Thank you, I'm not sure if it's possible to replace it with a cheaper esp32-s3-zero? If you want to replace it, you probably need to draw your own expansion board

I am not sure that making expansion board is possible because not all pins are available on zero board. Expansion board should have camera connector, sdcard slot and  psram. If I would make a module, I would make it from scratch. But it is too much trouble for a few $.
A lot of other camera boards could be supported, but I provide support for esp32cam and esps3s3sense only. esp32cam is something usually lying around after experiments, esp32s3sense is board to use on micro uav.
esp32 m5stack timer  cam:

esp32 m5stack unit cam:

esp32-eye:

esp32-s3 wroom:

esp32-s3-cam:

esp32-s3 eye:

m5 unit cam s3:

Understood, thank you for your reply!


ios format() bug

Hi,I use this lib in an angular/cordova app, and I found a bug that if I have 2 time string:
var time1 =  '2017-6-13 8:01:01';
var time2 =  '2017-06-13 08:01:01';
if I use moment(time1).format('HH:mm') it will return invalid date in iOS. and moment(time2).format('HH:mm') works well.
Both time1 and time2 format as expected with Android & Web. :-)

Correct. You're aren't providing a parsing string, so Moment is just handing it off to the native date constructor, which varies by platform. We actually deprecated that fallback because of issues like that:
moment('2017-6-13 8:01:01')
global.js:293 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
[snip]

Use ISO 8601 or provide a second arg specifying the format.


Release azure-cli-rdbms 0.0.2

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Release of 'azure-cli-rdbms' with version '0.0.2' successful. View at https://pypi.python.org/pypi/azure-cli-rdbms/0.0.2.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Update with linkerd metric fix, fix scale to zero bug

Fix linkerd header to include activator as header override so that
when service is scaled to zero it sends traffic to activator service

https://github.com/rancher/rio/issues/479


Item insetion fail bug

Description

If you tried to insert an item into a container that it cannot be inserted into , it would drop the item to the ground. Where originally it would stay in your hand
Screenshots

https://user-images.githubusercontent.com/60119809/166107624-52deb72c-c370-42d7-9709-e428eba2c71d.mov
Additional context

Duplicate of #7864


Add documentation for the :verboseName attribute

Add documentation to /attrHelp for the {:verboseName} attribute.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Let us either land or abandon this approved PR.


NIFI-9972 Azure Blob Storage blob copying

Summary
NIFI-9972
This adds support for the "Put Blob from URL" operation which provides service-to-service copying of blobs – the client is only responsible for the orchestration which copies individual blocks, not for transferring the data in those blocks.
The functionality is added to a new processor CopyAzureBlobStorage_v12.
The test case is not comprehensive in the sense that only the built-in credential is tested (account key). Meanwhile, all credentials are indeed supported (defined by the AzureStorageCredentialsType enum):

Account key
SAS token
Access token
Managed identity
Service principal

The logic of the authentication code is that it's a SAS token (provided directly or derived using an account key) or it's based on OAuth2 (which captures the remaining cases).
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[x] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@exceptionfactory this replaces #6765, instead adding a new processor CopyAzureBlobStorage_v12 as suggested.
There is considerable code reuse between the two processors which is why there currently only a limited number of tests for the new processor.

@exceptionfactory should be clear skies now.

Will review.

@exceptionfactory done – the test failures in this most recent run seem to be unrelated.

@exceptionfactory bump

@exceptionfactory bump

Thanks for the reminder @malthe, I will try to take another look at this soon.

@exceptionfactory from my end, there are no unresolved comments.
There is perhaps a minor issue that there's some authorization code that could seem duplicated, but it really isn't close enough to have a meaningful sharing of code I think because copying from an authorized source is a very specialized way of doing this, not involving a blob client for the source portion.


[Fix] Regenerate snapshots.

Now that this is done we'll need to regenerate potentially corrupt snapshots.
The best way to do it is to wait for that.
Another way is to use the corrupt ones and repackage them, but it could result in inconsistent data, which eliminates the purpose of regenerating those in the first place.

Should this be closed @ruseinov @lemmih ?

Yes. The affected snapshots have been deleted.


build_glium() not implemented

I'm trying to build the first glium example, and rustc is failing with
error: type glutin::window::WindowBuilder<'_> does not implement any method in scope named build_glium
my code includes use glium::DisplayBuild;, so I believe the function should be defined

Glium was recently changed to use the crates.io version of glutin.
If your code uses the git repository, then Rust considers that the git version of glutin and the crates.io version of glutin are two different libraries.

I'll close this issue. Please re-open an issue in the glium repo if you still have a problem!


Small improvements to nlsys, bdalg

This PR provides some small changes to nonlinear I/O systems process:

Allows system name to be overridden in linearize, even if copy_names is False.
Allows renaming of system/signal names in bdalg functions:sys = ct.series(sys1, sys2, inputs='u', outputs='y')

New update_names method for I/O systems that allows signal and system names to be updated.
Refactoring of code for processing x0, u0 keywords in linearize and input_output_response to provide common functionality in allowing concatenation of lists and zero padding ("vector element processing").
Improved error messages when x0 and u0 don't match the expected size.
If no output function is given in nlsys, which provides full state output, the output signal names are set to match the state names.
Updated unit tests and documentation (including a new section on "vector element processing").

coverage: 94.603% (+0.09%) from 94.518%
when pulling a402a7ff3aab7db45f620f8ff7e2f5954da53d57 on murrayrm:nlsys_improvements-24May2024
into feeb56a5252db7e01f4f31595d03849433b50e78 on python-control:main.

coverage: 94.628% (+0.1%) from 94.518%
when pulling 88e2945e867c857beacb274dddc0810381d4ccaa on murrayrm:nlsys_improvements-24May2024
into feeb56a5252db7e01f4f31595d03849433b50e78 on python-control:main.


iCalendar Feed

Hello,
By any chance, is there any way to have a iCalendar Feed to get all the due date in thunderbird or do we have to code it ?
Thanks

It is available in the master branch: iCal subscriptions

Yes it's already available in the development branch and that will be released in the next couple of days if I don't find obvious bugs.


Adam is amazing

Thanks for this, but will be closing till we get some more context.

Thanks for this, but will be closing till we get some more context.

Hey! Sorry, didn't realize I opened a pull-request on your repo. I was helping a friend with his fork. The original purpose of this pull-request was to add some changes to the schema (move files to individual objects up a level in schema), so that graphql deploy works (using your template with Gatsby frontend that uses GraphQL API to pull data).


Remove "OpenShift infrastructure / supplementary / usage" perspectives

Removes "OpenShift infrastructure", "OpenShift supplementary", and "OpenShift usage" perspectives from the Overview and Cost Explorer.
https://issues.redhat.com/browse/COST-1722
Overview:

Cost Explorer:

LGTM
@chargio?


[Separate vcpkg] Include something that'll generate header-check targets for every header in your project (not necessarily for SKSE)

Actually, lemme make that a separate package. Probably from mrowrpurr not from SkyrimScripting


ETL for Europeana via API

Assigning this to Jane since it's not ready to work on yet.

Removing this from active sprint since it's blocked right now.

Closing this out, will start with fresh documentation in Catalog Pipeline project.


LXC support missing

It seems like LXC Support is missing. LXC is officially supported by proxmox since version 4.x.
Also note that this nodejs wrapper is not mentioned on this page: http://pve.proxmox.com/wiki/Proxmox_VE_API, although it is mentioned here: https://pve.proxmox.com/wiki/Developer_Documentation

Alright, thanks for letting me know about this.  I haven't really been carefully watching proxmox updates and the version I created this package for originally is probably outdated by now.  I will see if I can get an update out soon.  If anyone wants to contribute to it, I would appreciate it.

Thanks for your swift reply. However, I'm thinking of creating my own package as I would like to see object-orientation in it. That would also make it a lot easier to implement with xible (which is my goal).
Thank you though.