drivers/wifi/espat: Add support for UDP connections with changeable addresses and IP

Is your enhancement proposal related to a problem? Please describe.
Currently espat cannot be used as an udp server, for example when using udp transfer in mcumgr, the client's ip and port are unknown and mcumgr does not work.
static int _sock_connect(struct esp_data *dev, struct esp_socket *sock)
{
	/* Calculate the largest possible AT command length based on both TCP and UDP variants. */
	char connect_msg[MAX(sizeof("AT+CIPSTART=000,\"TCP\",\"\",65535,7200") +
				NET_IPV4_ADDR_LEN,
			     sizeof("AT+CIPSTART=000,\"UDP\",\"\",65535,65535,0,\"\"") +
				2 * NET_IPV4_ADDR_LEN)];
	char dst_addr_str[NET_IPV4_ADDR_LEN];
	char src_addr_str[NET_IPV4_ADDR_LEN];
	struct sockaddr src;
	struct sockaddr dst;
	int ret;

	if (!esp_flags_are_set(dev, EDF_STA_CONNECTED | EDF_AP_ENABLED)) {
		return -ENETUNREACH;
	}

	k_mutex_lock(&sock->lock, K_FOREVER);
	src = sock->src;
	dst = sock->dst;
	k_mutex_unlock(&sock->lock);

	if (dst.sa_family == AF_INET) {
		net_addr_ntop(dst.sa_family,
			      &net_sin(&dst)->sin_addr,
			      dst_addr_str, sizeof(dst_addr_str));
	} else {
		strcpy(dst_addr_str, "<IP_ADDRESS>");
	}

	if (esp_socket_ip_proto(sock) == IPPROTO_TCP) {
		snprintk(connect_msg, sizeof(connect_msg),
			 "AT+CIPSTART=%d,\"TCP\",\"%s\",%d,7200",
			 sock->link_id, dst_addr_str,
			 ntohs(net_sin(&dst)->sin_port));
	} else {
		if (src.sa_family == AF_INET && net_sin(&src)->sin_port != 0) {
			net_addr_ntop(src.sa_family,
				      &net_sin(&src)->sin_addr,
				      src_addr_str, sizeof(src_addr_str));
			snprintk(connect_msg, sizeof(connect_msg),
				 "AT+CIPSTART=%d,\"UDP\",\"%s\",%d,%d,0,\"%s\"",
				 sock->link_id, dst_addr_str,
				 ntohs(net_sin(&dst)->sin_port), ntohs(net_sin(&src)->sin_port),
				 src_addr_str);
		} else {
			snprintk(connect_msg, sizeof(connect_msg),
				 "AT+CIPSTART=%d,\"UDP\",\"%s\",%d",
				 sock->link_id, dst_addr_str,
				 ntohs(net_sin(&dst)->sin_port));
		}
	}
}

When using mcumgr, the parameters passed by the application are combined into the following instructions，the module will return an error indicating that the parameter is invalid.
AT+CIPSTART=0,"<IP_ADDRESS>",0,1337,0,"<IP_ADDRESS>"

AT+CIPSTART=<link ID>,<"type">,<"remote host">,<remote port>[,<local port>,<mode>,<"local IP">][,<timeout>]

The mode 0 means that the client's IP and port are unchangeable.
Describe the solution you'd like
When the remote IP and port passed by the application are both 0, connect using mode 2
static int _sock_connect(struct esp_data *dev, struct esp_socket *sock)
{
	int mode;

	if (esp_socket_ip_proto(sock) == IPPROTO_TCP) {
		snprintk(connect_msg, sizeof(connect_msg),
			 "AT+CIPSTART=%d,\"TCP\",\"%s\",%d,7200",
			 sock->link_id, dst_addr_str,
			 ntohs(net_sin(&dst)->sin_port));
	} else {
		if (src.sa_family == AF_INET && net_sin(&src)->sin_port != 0) {
			net_addr_ntop(src.sa_family,
				      &net_sin(&src)->sin_addr,
				      src_addr_str, sizeof(src_addr_str));

			/* <mode>: In the UDP Wi-Fi passthrough
			 *
			 * 0: After UDP data is received, the parameters <"remote host">
			 * and <remote port> will stay unchanged (default).
			 * 1: Only the first time that UDP data is received from an IP
			 * address and port that are different from the initially set value
			 * of parameters <remote host> and <remote port>, will they be changed
			 * to the IP address and port of the device that sends the data.
			 * 2: Each time UDP data is received, the <"remote host"> and
			 * <remote port> will be changed to the IP address and port of the
			 * device that sends the data.
			 */
			if ((net_sin(&dst)->sin_addr.s_addr == 0) && (ntohs(net_sin(&dst)->sin_port) == 0)) {
				mode = 2;
				/* Port 0 is reserved */
				net_sin(&dst)->sin_port = net_sin(&src)->sin_port;
			} else {
				mode = 0;
			}

			snprintk(connect_msg, sizeof(connect_msg),
				 "AT+CIPSTART=%d,\"UDP\",\"%s\",%d,%d,%d,\"%s\"",
				 sock->link_id, dst_addr_str,
				 ntohs(net_sin(&dst)->sin_port), ntohs(net_sin(&src)->sin_port),
				 mode, src_addr_str);
		} else {
			snprintk(connect_msg, sizeof(connect_msg),
				 "AT+CIPSTART=%d,\"UDP\",\"%s\",%d",
				 sock->link_id, dst_addr_str,
				 ntohs(net_sin(&dst)->sin_port));
		}
	}
}

There is no maintainer for esp_at driver atm but assigning to @mniestroj for time being, please remove if I set it incorrectly.

There is no maintainer for esp_at driver atm but assigning to @mniestroj for time being, please remove if I set it incorrectly.

I've been using this driver a lot and have found some problems, I can submit a corresponding PR, but before that I'd like to know your opinions.

Thanks for reporting this issue. Connecting using other mode seems reasonable. Please continue with creating PR, so we can discuss further code changes that are required. That will be easier than just discussing them here.

discussing

ok


"hr" frequency for CMIP6_AERhr.json table does not exist in CMIP6_CV

@dnadeau4
Dear Denis,
The CMIP6_AERhr.json table has an associated frequency labelled hr. However this label does not exists in CMIP6_CV world (only 1hr is defined).
Who is right, the table or the CV?
Thanks,
Marie-Pierre.

@mpmoine it should be 1hr, but it is defined as hr in Martin's database.
@martinjuckes can you check your miptable item aerhourly in dreq.xml?
em1hr :1hr
em1hrclimmon: 1hrClimMon
Denis

@taylor13 @martinjuckes  Can we change AERhr frequency to "1hr"?

Changed in 01.00.11


Minor updates to README.md

Improved some of the wording, consistency (e.g., changed the only instance of "pullreq" to match the multiple instances of "pull request"), punctuation, etc.  Removed a few words that weren't needed, and an extra blank line at the end of the document.  Also improved the point-form list, and implemented a small variety of other minor cosmetic improvements.

Thanks, @randolf, for working on the docs.  I'm very slightly opposed to changing these docs as they're a direct copy from Bitcoin Core upstream and whoever next upgrades our tools will probably need to account for any differences between our docs and upstream's docs next time the tools are upgraded.  I think it'd be a waste of their time for minor text changes.  So unless upstream's docs are wrong for our application, I don't think we should introduce any differences in the docs.
As this is minimal opposition, I don't object if other people want this merged.

No response in a month; closing.  I'm happy to reopen if discussion resumes.


MSID: 87900 Version: 1 DOI: 2<IP_ADDRESS>6843

"msas": "Immunology and Inflammation"
"msid": "87900"
"preprintDoi": "10.1101/2<IP_ADDRESS>6843"
"Reviewed Preprint posted": "2023-07-17"
"Sent for peer review": "2023-04-08"
"Posted to bioRxiv": "2023-04-17" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>6843v1")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=87900)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/87900/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>6843)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/87900/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/87900)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/87900

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/87900

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/87900/v1/87900-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/87900)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

No corresponding author details. Not sure why yet

Fix in https://github.com/elifesciences/enhanced-preprints-biorxiv-xslt/pull/61


feat: migrate to vercel

Might be nice to migrate to Vercel. GitHub is nice but not as-nice as Vercel in my opinion. No real reasoning :P

GitHub Pages is fine in my (automatically correct) opinion.

click

funni

How ban?

no ban

Yes ban

This is all fun and games, I know prpl, no worries.

I know purpur too


2.1 Code improvements

Created this issue to keep track of things that we should improve in the code for 2.1:

use the new fileEntry.rootFolderPath to get the path of the rootFolder instead of fileMap[ROOT_FILE_ENTRY].filePath

remove comments that disable the eslint react/no-exhaustive-deps check and fix the problems using refs

Instead of using React state for showing something on hovering over a div or some html element, use CSS directly ( with display none and block/flex etc...`

we need to move the read/write files from the reducers
Also, we need to move  new KubeConfigManager()  from reducers


Fix branch matching for GitHub Actions

For some reason unbenkownst to me, Github Actions payload refs are different to the usual webhooks.
For example:

22:49:29.286Z  INFO probot: toolmantim/release-drafter: Ignoring push. renovate/semver-6.x is not one of: master

This changes it to use the GITHUB_REF environment variable.

Oh, running the tests themselves in a GitHub Action means that env is populated 🤔 Will need a different approach.


Update Event Watch Calls Based On Google API Changes

Below comes from the email I got from our friends at Google. We should update our event calls accordingly.

The Google Calendar API v3 will now include the eventType parameter to subscribe to specific event types when using Events.Watch. Additionally, starting March 11, 2024, the following changes will be introduced:
Default event type filters alignment for both Events.list and Events.watch.
Error handling for operations not supported for special event types, such as WorkingLocation, Out of Office, and FocusTime events.
What Should Be Changed
Events.watch: Specify the event types you need for your application as a parameter to reduce your infrastructure costs. In case you want to request a quota increase, please make sure you have implemented event type filters appropriately. This factor will be considered when we are evaluating quota increase requests.
Events.list: Specify the event types you need for your application as a parameter. Without making this change, working location events will start to be returned.
Explore the updated documentation and resources to learn more about Google Calendar API v3:
Manage focus time, out of office, and working location events documentation
Manage quotas

Duplicate of #86


May you add the script to generate 'examples_grid.jpg' image?

May you add the script to generate ' examples_grid.jpg' image?
Thanks!

I found it in generate_example_images.py.


Don't advise people to curl-to-bash, especially in CI.

referring to: https://www.pantsbuild.org/v2.15/docs/installation

To install the pants binary use:
/bin/bash -c "$(curl -fsSL https://static.pantsbuild.org/setup/pantsup.sh)"
This will install pants into ~/bin, which must be on your PATH. The installer script will warn you if it is not.

this is generally a bad practice and will put a huge target on that endpoint. https://about.codecov.io/security-update/
I think people should just have this script checked into their repo and use it from there (which will also be slightly faster in CI, but that is not the point)
we could provide guidance on how to run a CI job that will fail if the script is out of date (curling it and comparing sha256), people can choose have CI workflow that will notify slack (for example) or break their CI build if the script is out of date.

FWIW I concur on this one. See https://github.com/pantsbuild/scie-pants/commit/a42c6987d2073053380bf0a8d23f83f4ac4fd05d where I removed the pantsup.sh script which used to be housed here as get-pants.sh and was intended to be checked in just like the ./pants script is checked in today.

This particular issue is really a pantsbuild/pants issue or a pantsbuild/setup issue. But I'll leave here for now.

@jsirois I think issues can be moved between GH repos given, so feel free to move it.
https://docs.github.com/en/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository


Use python-jose, for a pure-python jwe implementation

jwcrypto required cryptography, which needed to be built for amazon linux

The pure-python backend doesn't support A128GCM


Test access to Sage Inacct for C+

Can you please:

Sign into 1Password to view the credentials for Sage Intacct
Sign into Sage Intacct
Do something to see if you're able to test Sage Intacct like you have in the past when you worked on the integration
Provide feedback in a comment on this post.

Thx

@mallenexpensify I tried to login to Sage Intaact, but it requires a Company ID, User ID and password. Additionally, the User ID doesn't appear to be an email address (based on the character limit as can be seen in the screenshot below).

@akinwale @hungvu193 , credentials in 1P are updated, please attempt connecting again, thx

@mallenexpensify I think it's still the same
https://github.com/user-attachments/assets/a28baaa4-c86f-49ae-84f5-139add4c2306

@hungvu193 I think I got it fixed (there were a few issues), please try again.
If it doesn't work by clicking the 1P logo on the login, open the 1p app or site to copy/paste credentials from there, and let me know if that works.
Thx

@hungvu193 and @akinwale I think I got it fixed (there were a few issues), please try again. If it doesn't work by clicking the 1P logo on the login, open the 1p app or site to copy/paste credentials from there, and let me know if that works.
Thx

Yes, it works! 🎉 . Feel free to close 😄

ah... snap!  Thanks @hungvu193 , happy to wrap this up


google-fonts breaks Noto Color Emoji in Kitty

Describe the bug
The installation of the package google-fonts breaks emoji usage via the Noto Color Emoji font in Kitty.
Steps To Reproduce
Steps to reproduce the behavior using home-manager:

In home.nix
  fonts = {
    fontconfig = {
      enable = true;
      defaultFonts.emoji = [
        "Noto Color Emoji"
      ];
      defaultFonts.monospace = [ "Noto Sans Mono" ];
      defaultFonts.sansSerif = [ "Noto Sans" ];
      defaultFonts.serif = [ "Noto Serif" ];
    };
  };

and add google-fonts in your installed packages.

After make a home switch, launch kitty --debug-font-fallback and copy paste any emoji from the web.

Now,  remove google-fonts from your packages, and install noto-fonts-color-emoji and noto-fonts. Make the home switch, and launch again kitty --debug-font-fallback. Copy-paste the emoji, and now the emoji is visible and works as expected. What is more, you can see in the ending logs something like this:
[16,337] U+1f603 emoji_presentation Face(family=Noto Color Emoji, style=Regular, ps_name=NotoColorEmoji,
path=/nix/store/66csfydaq6jq4izmb66whh0lmz39ljs4-home-manager-path/share/fonts/noto/NotoColorEmoji.ttf,
 ttc_index=0, variation_index=0x0 is_scalable=False, has_color=True, ascender=0, descender=0, height=0,
 underline_position=0, underline_thickness=0, strikethrough_position=530, strikethrough_thickness=102)

Please notice the differences between the font used (NotoColorEmoji vs NotoColorEmoji-Regular), as well as the parameters used on each one.
Expected behavior
Install google-fonts shouldn't break emoji usage.
Additional context
Workarounds:

If you don't need the google-fonts package, just use the configuration on the step 3.
If you need the google-fonts package, then add# in the fonts atrset
defaultFonts.emoji = [
  "JoyPixels"
  "Noto Color Emoji"
];

# in your home.nix
nixpkgs.config.allowUnfreePredicate =
  pkg:
  builtins.elem (lib.getName pkg) [
    "joypixels"
  ];
nixpkgs.config.joypixels.acceptLicense = true;

Warning:
In some cases (I'm not sure when/why), even having the correct configuration (step 3), you can end with emojis looking like this:
.
Try using the command fc-cache -f and check everything is working again with kitty --debug-font-fallback.
Possibly related:
https://github.com/NixOS/nixpkgs/issues/225541 and https://github.com/NixOS/nixpkgs/issues/230895
Notify maintainers
@manveru
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.33, NixOS, 24.11 (Vicuna), 24.11.20240613.e9ee548`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/qqwr649pc0qprc9lw2fmdsi1km6p7q2h-source`

Add a :+1: reaction to issues you find important.

It will be because google-fonts is installing the COLRv1 version of the NotoEmoji. As far as I can tell this doesnt render in FreeType, at all. Attached is a simple C program to demonstrate.

#define FONT_PATH  "/t/Noto-COLRv1.ttf"
#define CHARACTER 0x1f600

#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_BITMAP_H

int main() {
    FT_Library ft;
    if (FT_Init_FreeType(&ft)) {
        fprintf(stderr, "Could not init freetype library\n");
        return 1;
    }
    FT_Face face;
    if (FT_New_Face(ft, FONT_PATH, 0, &face)) {
        fprintf(stderr, "Could not open font\n");
        FT_Done_FreeType(ft);
        return 1;
    }
    FT_Set_Char_Size(face, 0, 48 * 64, 300, 300);
    FT_UInt glyph_index = FT_Get_Char_Index(face, CHARACTER);
    FT_Bitmap* bitmap = &face->glyph->bitmap;
    FT_Color*         palette;
    FT_LayerIterator  iterator = {0};

    FT_Bool  have_layers;
    FT_UInt  layer_glyph_index = 0;
    FT_UInt  layer_color_index = 0;
    FT_Error error = FT_Palette_Select( face, 0, &palette );
    if ( error ) { return 1; }
    have_layers = FT_Get_Color_Glyph_Layer(face, glyph_index, &layer_glyph_index, &layer_color_index, &iterator);
    printf("COLR information: have_layers: %d num_layers: %d\n", have_layers, iterator.num_layers);

    return 0;

}

Change the FONT_PATH at the top to the path to the NOTO ttf.
Run with:
gcc -I/usr/include/freetype2 ft.c -o ft -lfreetype && ./ft

See output:
COLR information: have_layers: 0 num_layers: 0

FreeType thinks the glyph has no color layers when using the COLRv1 font and thus renders it blank.

And for reference: https://github.com/kovidgoyal/kitty/issues/7140

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/emojis-not-showing-in-kitty/51294/4


Added RELEASING

Figured it might be a good time to add a RELEASING document. Might need some minor edits though.

I'll also update the UDGRADING doc. Feel free to suggest changes or edit them as needed.


nodejs cors issue with image resources and canvas

I have a nodejs application were cors setup is done using cors package from expressjs.
My cors setup code is :
var whitelist = ['https://shajao.com', 'https://www.shajao.com'];
var corsOptions = {
    origin: function (origin, callback) {
        if (whitelist.indexOf(origin) !== -1) {
            callback(null, true)
        } else {
            callback(new Error('Not allowed by CORS'))
        }
    },
    allowedHeaders: ['Content-Type', 'Authorization', 'Content-Length', 'X-Requested-With', 'Accept'],
    methods: ['GET', 'PUT', 'POST', 'DELETE', 'OPTIONS'],
    optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
}
app.use(cors(corsOptions));
app.use(express.static(path.join(__dirname, '/public/')));

apis are called from an angular application which is getting server reponses perfectly. So cors is working nicely here. But image resources are getting blocked by cors.
Url to visit if you want to see the problem : https://shajao.com/frames
Sample image url: https://api.shajao.com/uploads/frames/8cf9006f-0225-461b-a4f2-153737152274.png
I asked the same question in stackoverflow:
https://stackoverflow.com/questions/52163107/nodejs-cors-issue-with-image-resources-and-canvas/52163205?noredirect=1#comment91277153_52163205
currently i changed my origin to * to make my site working for the time being. But i would really like to use my whitelist array to work. plz help.

Your screenshot is showing CORB issues not CORS issues. As far as I know these are different things. This is just a CORS module. If you know what specifically the bug is and what we need to change, I'm happy to reopen with some direction. In fact, you're welcome to make a pull request as well if you think there is actually an issue with this CORS module.
The link on all those CORB lines goes to help that describes the issue. You can see that you have .jpeg images with the incorrect text/html type for instance, which is a CORB blocking condition.
Read through CORB at https://chromium.googlesource.com/chromium/src/+/master/services/network/cross_origin_read_blocking_explainer.md


Some words are not colored

Types like vecX<> are not colored, also in the parameter list, everything has the same color.
It would be nice if types were recognized if they are pascal case, like VertexOutput.

vscode-wgsl does recognize vecX and matXxY

It's just cheapens that many themes color it as white. That being said, I will change its type to be something with higher chance of being colored. (probably something like storage.type)

also in the parameter list, everything has the same color.

yeah, it's super annoying, I haven't found a reason for this behavior yet.

It would be nice if types were recognized if they are pascal case, like VertexOutput.

That's a grate idea, should be easy to add too.

I published 0.1.10 version, I believe it addressed all of your problems, give it a try and let me know if it works as you would expect.

That was fast, looks better now. But the return value is still not colored.

Ok, now it should work, instead of trying to patch it I rewrote the whole thing with the newest WGSL spec in mind. Let's hope that I did not introduce to many regressions by doing that.


Bug with launching games

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit aaf35b9f1f0ce49080f2a0b1e7943336b1ba6057  ().
Date: 2024-05-05
Tag: , commits: @COMMITS@

flags: (if any)

System Information:
System name: Linux
Node name: desktop
Release: 6.6.22
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 15 18:25:07 UTC 2024

GPU information:
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c5) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.19700101.dirty"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

Bug or Regression?
Bug
Description
On versions x > v0.38 games with error on X11 do not run. Heroicgamelauncher, steam - not working. All the launchers I have tried for launching games do not work and give the same error related to x11
Faced the same problem as mine.
https://discourse.nixos.org/t/lutris-games-and-minecraft-unplayable-on-hyprland-but-runs-fine-on-gnome/43464
How to reproduce
run the game on v.0.40, v0.39
Crash reports, logs, images, videos
fatal IO error 2 (No such file or directory) on X server ":0"

looks like xwayland is not running. @fufexan for nix

looks like xwayland is not running. @fufexan for nix

Will it connect here when you tag him?

Very odd, Steam launches just fine for me (along with other xwayland apps).

Very odd, Steam launches just fine for me (along with other xwayland apps).

What information can I give you to solve my problem?

I don't see any nixos config in your repos, so I assume it's not public. Do you have any overlays that might interfere with xwayland? Is your Nixpkgs up to date? In the version info you posted, the date is 19700101, so I can't exactly tell how old it is.

I don't see any nixos config in your repos, so I assume it's not public. Do you have any overlays that might interfere with xwayland? Is your Nixpkgs up to date? In the version info you posted, the date is 19700101, so I can't exactly tell how old it is.

 NixOS configuration
{ config, lib, pkgs, inputs, ... }:
{
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "blacklist_module=acpi_cpufreq" "amd_pstate=active" "amd_pstate.shared_mem=1" ];
environment.sessionVariables = {
QT_QPA_PLATFORM = "wayland";
TERM = "xterm";
XCURSOR_SIZE = "24";
XDG_CURRENT_DESKTOP = "hyprland";
NIXOS_OZONE_WL = "1";
VDPAU_DRIVER = "radeonsi";
LIBVA_DRIVER_NAME = "radeonsi";

};
programs.hyprland = {
enable = true;
#package = inputs.hyprland.packages.${pkgs.system}.hyprland;
package = pkgs.hyprland;
xwayland.enable = true;
};
programs.nix-ld.enable = true;
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.auto-optimise-store = true;
#virtualisation.virtualbox.host.enable = true;
#virtualisation.virtualbox.guest.enable = true;
#virtualisation.virtualbox.host.enableExtensionPack = true;
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
rocm-opencl-icd
rocmPackages.rocminfo
dxvk_2
vulkan-loader
vulkan-extension-layer
vulkan-validation-layers
vulkan-extension-layer
];
};
security.polkit.extraConfig = ''
'';
imports =
[
./mods/fixMusnix
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
#boot.kernelPackages = pkgs.linuxPackages_zen;
boot.kernelModules = ["v4l2loopback" "amdgpu"];
boot.extraModulePackages = with config.boot.kernelPackages;
[ v4l2loopback ];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=10 card_label="OBS Virtualcam" exclusive_caps=1
options amdgpu audio=0
options snd-hda-intel power_save_controller=false power_save=0 model=auto
blacklist snd_hda_codec_generic

'';
networking.hostName = "desktop"; # Define your hostname.
networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.
time.timeZone = "Europe/Moscow";
services.ntp.enable = true;
services.gnome.core-utilities.enable = false;
services.xserver.desktopManager.xterm.enable = false;
#musnix.enable = true;
Dconf
programs.dconf = {
enable = true;
#packages = [pkgs.cinnamon.nemo-with-extensions];
};
#programs.dconf.packages = [pkgs.cinnamon.nemo];
Dbus
services.dbus.enable = true;
Configure network proxy if necessary
networking.proxy.default = "http://user:password@proxy:port/";
networking.proxy.noProxy = "<IP_ADDRESS>,localhost,internal.domain";
Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "us";
useXkbConfig = true; # use xkb.options in tty.
};
Enable CUPS to print documents.
services.printing.enable = true;
Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = false;
users.mutableUsers = true;
users.groups.video = {};
users.groups.wheel = {};
users.groups.vboxusers = {};
musnix.enable = true;
#musnix.kernel.realtime = true;
users.users.igni = {
isNormalUser = true;
home = "/home/igni";
extraGroups = [ "wheel" "video" "vboxusers" "audio" "kvm" "libvirt" "input" "corectrl" "realtime"];
packages = with pkgs; [ firefox ];
};
environment.systemPackages = [
]
++ (with pkgs; [
copyq discord rnote swappy easyeffects bottles
apulse nodejs_21 wl-clipboard yarn
(callPackage ./mods/davinci/davinci-resolve-crack.nix {})
auto-epp amdgpu_top corectrl

#handbrake
#hyprland
v4l-utils nix-health
insomnia vesktop
qemu_full baobab egl-wayland
pavucontrol
adoptopenjdk-jre-bin stress
redis postgresql glxinfo shadowsocks-libev wireguard-tools rustscan
ffmpeg-full
libva-utils vdpauinfo libdrm qpwgraph
vlc bat killall tmux gparted
pipewire wget playerctl kitty wofi telegram-desktop
btop grim coreutils-full libreoffice
obs-studio nettools google-chrome polkit_gnome libunwind
fontconfig git wget curl hyprpaper transmission
rustc transmission-gtk heroic s-tui evince gnome-text-editor
lm_sensors
])
++ (with pkgs.gnome; [
cheese   gnome-tweaks eog gnome-music gdm gnome-disk-utility
])
++ (with pkgs.qt6; [
full
])
++ (with pkgs.cinnamon; [
nemo-with-extensions nemo-fileroller
])
++ (with pkgs.jetbrains; [
clion rust-rover
])
++ (with pkgs.obs-studio-plugins; [
wlrobs
])
++ (with pkgs.winePackages; [
stableFull
])
++ (with pkgs.wine64Packages; [
stableFull
]);
programs.steam = {
enable = true;
};
programs.file-roller.enable = true;
services.xserver.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ];
services.xserver.excludePackages = [ pkgs.xterm ];
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
networking.wg-quick.interfaces.wg0.configFile = "/etc/wireguard/wg0.conf";
networking.wg-quick.interfaces.wg0.autostart = false;
networking.wg-quick.interfaces.wg1.configFile = "/etc/wireguard/wg1.conf";
networking.wg-quick.interfaces.wg1.autostart = false;
services.fstrim.enable = true;
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
enable = true;
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "default.target" ];
wants = [ "default.target" ];
after = [ "default.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
systemd.services.systemd-networkd.enable = false;
networking.networkmanager.enable = false;
security.polkit.enable = true;
List services that you want to enable:
Enable the OpenSSH daemon.
services.openssh.enable = false;
rtkit is optional but recommended
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
jack.enable = false;
};
services.pipewire.extraConfig.pipewire."92-low-latency" = {
context.properties = {
default.clock.rate = 48000;
default.clock.quantum = 32;
default.clock.min-quantum = 32;
default.clock.max-quantum = 32;
};
};
services.udev.extraRules = ''
'';
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
fileSystems."/mnt/a6f2b9d3-1b9b-46b4-ac60-7150c90e48f1" =
{ device = "/dev/disk/by-uuid/a6f2b9d3-1b9b-46b4-ac60-7150c90e48f1";
options = ["defaults" "x-gvfs-show"];
fsType = "ext4";
};
fileSystems."/mnt/dc84c237-143d-4017-94a0-5c8a076d493f" =
{ device = "/dev/disk/by-uuid/dc84c237-143d-4017-94a0-5c8a076d493f";
options = ["defaults" "x-gvfs-show"];
fsType = "ext4";
};
fileSystems."/mnt/6106d853-8f55-4d4e-949c-66e19666671c" =
{ device = "/dev/disk/by-uuid/6106d853-8f55-4d4e-949c-66e19666671c";
options = ["defaults" "x-gvfs-show"];
fsType = "ext4";
};
fileSystems."/mnt/f450d8ee-cfcd-4d49-af5e-c18cfab65a09" =
{ device = "/dev/disk/by-uuid/f450d8ee-cfcd-4d49-af5e-c18cfab65a09";
options = ["defaults" "x-gvfs-show"];
fsType = "btrfs";
};
system.stateVersion = "23.11"; # Did you read the comment?
}

I don't see anything that might interfere with xwayland. Is there anything about it in Hyprland logs?

Very odd, Steam launches just fine for me (along with other xwayland apps).

same

After almost a month, I was able to fix this bug.
The problem was in the package versions.... It turns out that in nixos, when using flake, the nixos-rebuild switch --upgrade-all command does not update the nixos packages, but updates the packages from flake.
The solution was to use the --no-flake attribute with additional parameters:
nixos-rebuild switch --upgrade --no-flake -I nixos-config=/etc/nixos/configuration.nix
I don't know exactly why it interfered so much and why applications written on x11 protocol could run, but with games - trouble.


cleos set contract eosio eosio.system, Failed

oot@iZ2zea5mjpcmz9m17k56daZ:/home/surou/Documents/github/eos/build/contracts# cleos set contract eosio eosio.system Reading WAST/WASM from eosio.system/eosio.system.wasm... Using already assembled WASM... Publishing contract... 3096025ms thread-0   main.cpp:2316                 main                 ] Failed with error: Assert Exception (10) !"unresolvable": env.send_deferred

I have the same problem.

Guess is a new issue caused by a new version modification

@elmato
Why did you close this question and have it been resolved?


Cancel previous job for the same PR

Dependabot schedules new job for every synchronization but does not cancel previous one.
This leads to a lot of duplicit jobs in the queue.

Current jobs are scheduled with old workflow, change will take effect only for new ones.


Investigate why code for database coverage appears to give an incorrect total on just one server

Devon for 1881 on database coverage shows 8990 records loaded. It shows that there are 3 pieces on line but only gives the total for the first 2.
Using the Manage Pieces for Devon shows 3 pieces with records loaded for a total of 12380.

The total number of individual records  is 37,365,159 according to mongodb. That is the total shown by database coverage for brazza, drill, howler and saki. Colobus reports 37,148,266

Yes. Looking at freecen coverage page code. However if we have a bug in the code then it should affect brazza, drill, howler and saki too.

@Vino-S I agree 100% that almost all bugs would affect all servers not just one. There are at least 2 situations I can think of that could lead to a difference. 1) the code is using values from a file rather than just the database 2) it is using a leftover value "left over from a previous calculation instead of clearing or resetting it.

@FreecenBren I think you can leave it up to @Vino-S and myself to dig into the matter of why one server is giving an incorrect total. What I think you need to focus on if the missing records between FC1 and FC2 which is as you say 59.902 records. Could I suggest that we focus comments on that in story #256

Good idea. Will do.
On Fri, 16 Aug 2019 at 05:35, Kirk Dawson<EMAIL_ADDRESS>wrote:

@FreecenBren https://github.com/FreecenBren I think you can leave it up
to @Vino-S https://github.com/Vino-S and myself to dig into the matter
of why one server is giving an incorrect total. What I think you need to
focus on if the missing records between FC1 and FC2 which is as you say
59.902 records. Could I suggest that we focus comments on that in story
#256 https://github.com/FreeUKGen/FreeCENMigration/issues/256
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeUKGen/FreeCENMigration/issues/720?email_source=notifications&email_token=ADIL3VVEWBMWWV5X6EAJZL3QEYU7TA5CNFSM4IL7LXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4NUISQ#issuecomment-521880650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADIL3VVCGOUS4ZHB2N3YP5DQEYU7TANCNFSM4IL7LXZQ
.

the answer and solution lies in the controller
# Since get_index_stats is slow (several seconds on production), we cache
# the result so subsequent hits will be faster. Be sure to do
# Rails.cache.delete when updates are done (when records or parms are
# added/deleted/updated in db)
@all_pieces = Rails.cache.fetch("freecen_coverage_index", :expires_in => 7.days) do

Actually creates a database coverage cache that lasts  for 7 days.
We need to add Rails.cache.delete to the update_freecen rake task

Thinking about the process more adding it to the update_freecen rake task would be ineffective. The
Rails.cache.delete has to be run on each app server and the update runs on only one.
Perhaps we should determine if we actually need to cache the results given the change in servers since it was added.

In meantime. Add step to delete cache in FreeCen update process document


battery-combined-udev - Line 38 Division by 0 Error

Hello, I am trying to get this to work but I am having issues with the script. When I try to run it, I get the following error:
./battery-combined-udev.sh: line 38: 0 / 0: division by 0 (error token is "0")
I have changed the relevant location in line 67 as per the readme file. I have very limited knowledge in programing, so don't know where to start to troubleshoot. FYI, I have the same error with the verison batter-combined-shell.
Thanks a lot for your time!

Do you have two batteries installed or just one?

I have only one. BAT0 (and AC)

Is there a reason why you dont use the build-in module? It should be better in this case.
What happens if you replace line 37 and 38 to:
battery_percent=$(("$battery_level_0 * 100"))
battery_percent=$(("$battery_percent / $battery_max_0"))

I am getting the same output by changing those lines.
As for the reason, I never had any problem with the default one but since the last compile, I received this error with the default module:
error: module/battery: std::bad_alloc warn: Stopping 'module/battery'...

They have problems at the moment. But it seems fixed.
https://github.com/jaagr/polybar/issues/985
I can later take a look what is wrong in my script with only one battery.

Thanks for pointing me in the right direction, the latest commit did in fact fix the issue. Let me know if you want me to help you testing your script, otherwise you can close it.

Sounds good.
I will close this issue. It was developed for two batteries, as the built-in module is probably better for one battery.

Hello! I'm having the exact same issue. Here's my output:
./battery-combined-udev.sh: line 38: 0 / 0: division by 0 (error token is "0")

And you use two batteries?

Actually, no. I don't. Do I need 2 batteries for it to work?

The script can only find one battery. The result is your error because we calculate a value over two batteries there.
The internal battery module is probably a better idea if you only have one.


Run tekton controller as nonroot

Also renamed the rbac objects, wondering what's the impact beyond the fact that the old objects would lie around ?

/test 4.4-e2e

Also renamed the rbac objects, wondering what's the impact beyond the fact that the old objects would lie around ?

there should not be any other impact.

s/privileged-scc-role/pipelines-scc-role

good lesson on naming :+1: :smile:
/approve
/lgtm


Pessimistic locking of project edits

Following the ux research for #282, pessimistic locking is a good option to handle concurrent editing of project edits.

Should we place the pessimistic lock on a single page / form, instead of the whole revision? Or would that cause issues if someone tries to submit something someone else is working on?

Given the feedback from users and low probability of two people editing the same project, I'm wondering if this is more of a low priority that we can tackle later in development?

Yes. However we'll still need to allow users to collaborate on revisions, which is just a small change: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/bcgov/cas-cif/591

Yes. However we'll still need to allow users to collaborate on revisions, which is just a small change: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/bcgov/cas-cif/591

Thumbs up buttercup!


[Umbrella][Improve][Connector] Provide test cases for exactly-once.

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Now there are many source connectors that support exactly-once, but there is no test case to test it. So I suggest to provide a test case to test this function, you can refer to #3637.
It is necessary to ensure that the checkpoint of the task is turned on.
step1: Start the corresponding application and initialize enough data, generally more than 1000.
step2: Start the seatunnelServer and check that the task status is running.
step3: Stop seattunnelServer.
step4: Start seatunnelServer and wait for task execution to complete.
step5: Check result data.

[x] [Improve][Engine][Connector-V2][Fake] Support engine restart job information will not be lost and make sure exactly-once is ok #3637
[ ] #3759
[ ] #3758
[ ] #3757
[ ] #3761
[ ] #3766
[ ] #3762
[ ] #3763
[ ] #3764
[ ] #3765

Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

That's great.
It's also very meaningful.

I have three options here,

the first is to write use cases directly behind ClusterFaultToleranceIT.
The second is to add verification to our e2e.
The third is to add test cases to the connector-console-seatunnel-e2e module.

The first solution needs to start the third-party application separately, which is more troublesome to implement and will lead to code redundancy.
The second solution is currently disabled due to the engine's e2e, so pass it temporarily.
The third solution is the most suitable solution at present, but there are also cases where third-party applications are activated, which will lead to certain resource occupation
So please give me some advice.

I have three options here,

the first is to write use cases directly behind ClusterFaultToleranceIT.
The second is to add verification to our e2e.
The third is to add test cases to the connector-console-seatunnel-e2e module.

The first solution needs to start the third-party application separately, which is more troublesome to implement and will lead to code redundancy. The second solution is currently disabled due to the engine's e2e, so pass it temporarily. The third solution is the most suitable solution at present, but there are also cases where third-party applications are activated, which will lead to certain resource occupation
So please give me some advice.

@EricJoy2048 @ic4y @hailin0 @TyrantLucifer @ashulin

SavePoint is supported in #3779, I think it is more appropriate to use savePoint to stop the job and restore with savepoint it to test exactly-once

Great advice, i will try it after this pr is merged.


[SPARK-43336][SQL] Casting between Timestamp and TimestampNTZ requires timezone

What changes were proposed in this pull request?

Casting between Timestamp and TimestampNTZ requires a timezone since the timezone id is used in the evaluation.
This PR updates the method Cast.needsTimeZone to include the conversion between Timestamp and TimestampNTZ. As a result:

Casting between Timestamp and TimestampNTZ is considered as unresolved unless the timezone is defined
Canonicalizing cast will include the time zone

Why are the changes needed?

Timezone id is used in the evaluation between Timestamp and TimestampNTZ, thus we should mark such conversion as "needsTimeZone"
Does this PR introduce any user-facing change?

No. It is more like a fix for potential bugs that the casting between Timestamp and TimestampNTZ is marked as resolved before resolving the timezone.
How was this patch tested?

New UT

@MaxGekk Thanks for the reivew. Merging to master/branch-3.4


ui property of itemView

Hey dude, hope everything is good in new job. Just started using this and came across a couple of probs.
First is that the ui property of the itemView refers to the ui of the original template, not of the cloned view inside the modal. Secondly you're cloning ids. Not sure if that causes a problem but probably not advisable.
What do you think the best thing is to solve the first thing?

Hey, all good here! Hows on your side?
Let me have a look at the code and will get back to you


Allow to configure optional logger function to log SAML requests/resp…

Allow to configure optional logger function to log SAML operations
We have migrated our application's Login component away from Java/Spring to Typescript with passport-saml.
One facet of the Spring SAML libraries which we found very useful when debugging SAML config issues in production was the ability to configure the library to ouput logs for key SAML operations. This was introduced in with a comment in the Spring code that said "Implementations are supposed to log significant SAML operations."
We have been unable to find a reference to this "supposed to" in the formal SAML specifications, but as mentioned it has been a very useful capability in the past, so we thought to propose this approach as a way to address the issue described in https://github.com/node-saml/passport-saml/issues/279.
Checklist:

Issue Addressed: [node-saml/passport-saml/issues/279]
Link to SAML spec: [ ]
Tests included? [Yes]
Documentation updated? [Yes]

I'm not against this, but I worry that it could be left on in production and then create some issues with log volume and security. Should it also be behind a debug flag? Can be leverage the debug() function that we already have, or perhaps migrate our one usage of debug() to a system unified with what you have here?

@RajuTanchak , what do you think of @srd90 's comments?

I'm going close this as there has been no response from the author, there are significant arguments against this, and there are merge conflicts.


Folders to organize downloaded extensions

Looking for an specific installed extensions when you have tons, it's quite stressful.
It would be nice if installed extensions could be organized by folders.

Web development
- Prettier
- Eslint
- React
Themes
- Material
- Atom

And so on...
Just a random image

/duplicate


Build out Footer component

There is a component at src/components/Footer.js but it is currently the default Gatsby footer. Update this to fit with the information presented on the site.
This should include SEMjs, the year, and links to the other pages (maybe sharing some data with Navigation).

I can take this, but are there links?

ref #12


Hide text when enable the BigFont/BigDisplay in AchievementScreenDialog

Describe the bug
Hide text when enable the BigFont/BigDisplay in AchievementScreenDialog
And scrolling is not possible.
To Reproduce
Steps to reproduce the behavior:

Enable BigFont/BigDisplay
First transition to AchievementsScreen after installing the app.

Expected behavior
All text in the dialog should be visible even if BigFont/BigDisplay is enabled.
Screenshots
Pixel 7 Pro API 34 (Emulator)

I will try this task.🙋

@mthiroshi
Thanks! Assigned!


Added Vectorizers and setup CI

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Turing self-evaluation

:white_check_mark: Checklist

[x] This pull request has a meaningful title.
[x] If your changes are not yet ready to merge, you have marked this pull request as a draft pull request.

:ballot_box_with_check: Maintainers' checklist

[ ] This pull request has had the appropriate labels assigned
[ ] This pull request has been added to the SATRE backlog project board
[ ] This pull request has been assigned to one or more maintainers

:arrow_heading_up: Summary

:closed_umbrella: Related issues

In progress Turing self-evaluation

:raising_hand: Acknowledging contributors

[x] All contributors to this pull request are already named in the table of contributors in the README file.
[x] The following people should be added to the table of contributors in the README file:

@craddm @JimMadge @edwardchalstrey1 @harisood : What do you think of the formatting of our answers here? Do you think the table layout is a good one or would you prefer something else?

LGTM

Looks good! I have some thoughts:

Could we separate out our Response points into bulletpoints? Might then make it easier for others to quickly check against
Can we read it left to right as 'Score', 'Response', 'Potential improvements', might read a bit better
When we score at this level (by statement), what is next? Is that it, or do we e.g. take an average to give us a score for the grouped thing (e.g. Requirements gathering and monitoring) the capability (e.g. Governance requirements) or something else?

Agree with @harisood's suggestion to reorder the columns, and that bulletpointing might help readability. Otherwise, yes, table seems good!

I think the table gets a bit cramped with paragraphs.
I assume that an unordered list inside a table cell is not possible, but would also probably look odd.
Maybe what we really want is the text as a report, with sections mirroring the spec, and a summary table (or tables) to quickly view the scores?

1. Information Governance
1.1. Governance Requirements
1.1.1.
Score
1
Response
...
Potential Improvements
...
Summary

score

1.1.1
1

mode (excluding optional)

So it turns out that you can put bullet points inside a table. That would look a bit like this:

@JimMadge's suggestion would look something like this (we could add bullet points but I haven't done so here).

Here's another option:

Bullet points in the table doesn't look too bad.
I think having tables could help with summaries like mode score for section x or mode score overall. I think we spoke about using metrics like that.
I think it looks better outside of a table though (and is probably easier to write?).
How does the last option work? Looks a bit wonky with the score and bullet points not lining up.

@JimMadge : last option uses MyST fieldlists

Another option: move the "Potential Improvements" into a new row on its own:

Another option to increase available width: move the "Potential Improvements" into a new row on its own:
or a subsection within an existing row

Not keen on either of these.

I think unstructured maybe reads a bit better, but would be concerned it turns into a reaaaaally long dense body of text, in a way that feels less threatening when a table?


clarity-native-bin tag update: fix-2407-net

:robot: This is an automated pull request created from a new release in stacks-blockchain.
Updates the clarity-native-bin tag.

@CharlieC3 can we update the workflow so these PRs only get created for releases against master?


Is "Office 365 Endpoint Functions Module" section needed?

Do we really need to introduce the O365EndpointFunctions.psm1 in this document? The way to use the web service is already described in "Example PowerShell Script" section and "Example Python Script" section.
And the way to create a PAC file from the response of the web service is described in the following document.
In this document, we are introducing Get-PacFile script. This script is a 1st party script and the author is Microsoft.
Managing Office 365 endpoints
https://docs.microsoft.com/en-us/office365/enterprise/managing-office-365-endpoints
But, O365EndpointFunctions.psm1 is a 3rd party script.
The readers of the document misunderstand that O365EndpointFunctions.psm1 is provided by Microsoft.

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

ID: d7ebf92c-e478-0f65-0494-97042e974b46
Version Independent ID: 7e1b9b91-d60d-8665-9a39-2ca77a46b4ce
Content: Office 365 IP Address and URL Web service
Content Source: Enterprise/office-365-ip-web-service.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@officedocsbot assign @mypil

@rykoma - Thank you for submitting feedback.
I will get this issue over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@kelleyvice-msft - Can you please share your insights on this issue?
Thank you.

@rykoma @mypil @kelleyvice-msft - adding my opinion - I like that the module gets its own section and link.  I wouldn't want to have had to learn of its existence by having had to read through the entire example PowerShell script, and noticing the import-module / install-module parts.
Maybe it could get its own entire  page, but to hide its existence in an example script, I don't think that would be good.  Imagine if Azure AD module was only mentioned in example scripts - nobody would know it existed.

@JeremyTBradshaw , thank you for your comment! I understand your point, but this is a Microsoft official documentation and in my opinion, it shouldn't introduce any 3rd party solution, especially when we have a 1st party solution.
If we really need to introduce O365EndpointFunctions.psm1, I think it should state that it is a 3rd party script. Not only that, we should also state that we have the Get-PacFile script as a 1st party script.
In fact, we once had a customer who was confused as to why we have two solutions to create a PAC file from the response of the Office 365 IP Address and URL Web service, and we ended up recommending Get-PacFile over O365EndpointFunctions.psm1 because the former is provided by Microsoft. (btw, Microsoft does not offer customer support for either of the scripts, because they are released under the MIT license.)

@rykoma I totally missed that it's 3rd party.  Now I agree with you.  The example is far enough for that.  I'm the same in wanting to advise customers on official features/tools 3rd party.
Thanks for clearing that up for me.

I agree that we should remove this section. It's possible this section was added before the Get-PacFile module was published. I'll remove it, and replace it with a summary and link to the Get-PacFile section in the Managing Office 365 endpoints topic. Thanks @rykoma for calling this out.

Complete. Thanks again! https://github.com/MicrosoftDocs/OfficeDocs-Enterprise-pr/pull/809


Set PHPMD executable bit (PHP5)

Was required for me to get PHPMD to work

Very much appreciated, thank you.


Sort out metadata fields

Summary
related:

#771

ref:

https://github.com/samvera/hyku/pull/2341#issuecomment-2364493546

We have changed metadata from multiple to singular values. Will this cause a problem when converting prod data into valkyrie resources? Will we lose data?
For example, what if prod has multiple values but when we reindex, it should only have one?
This task is to look at each work type in prod and compare it to our metadata yaml definitions to make sure we match as much as possible.
Acceptance Criteria

[ ] This ticket can be closed after the following metadata yaml files have been verified/completed:

[ ] adl_metadata.yaml
[ ] collection_resource.yaml
[ ] conference_item_resource.yaml
[ ] dataset_resource.yaml
[ ] exam_paper_resource.yaml
[ ] generic_work_resource.yaml
[ ] image_resource.yaml
[ ] journal_article_resource.yaml
[ ] published_work_resource.yaml
[ ] thesis_resource.yaml

Testing Instructions
NOTE: This is an internal ticket that shouldn't require a review from the client

Audit completed by Sarah and Kirk. They've confirmed that they're still able to edit and save each work type after making these changes.

TODO:
EDIT
edit each work type and verify that you can successfully save

[ ] adl_metadata
[ ] collection_resource
[ ] conference_item_resource
[ ] dataset_resource
[ ] exam_paper_resource
[ ] generic_work_resource
[ ] image_resource
[ ] journal_article_resource
[ ] published_work_resource
[ ] thesis_resource

CREATE
create each work type and verify that you can successfully save

[ ] adl_metadata
[ ] collection_resource
[ ] conference_item_resource
[ ] dataset_resource
[ ] exam_paper_resource
[ ] generic_work_resource
[ ] image_resource
[ ] journal_article_resource
[ ] published_work_resource
[ ] thesis_resource

Katharine reported an inability to edit a Collection here.
The error says:
2024-09-25T22:39:58.658842776Z Error: ERROR: [doc=851b4393-f9d1-4fa1-b1d9-31bf589c8fff] Error adding field 'issue_number_isim'='Issue' msg=For input string: "Issue"
which was changed in the PR of this work.

concerns = Hyrax.config.curation_concerns.map{ |c| "#{c}Resource".safe_constantize } << CollectionResource

concerns.each do |concern|
  works = Hyrax.query_service.find_all_of_model(model: concern)
  works.each do |work|
    next unless work.singleton_class.name.nil?
    next unless work.creator.last.blank?
    next if work.id == 'c7019db2-067c-403c-95b0-11c06715d5ca'
    array = work.creator
    array.pop
    work.creator = array
    work.save
  end
end

Closing... QA will be handled via #777 (see comment)


Issue with voice connections

Please describe the problem you are having in as much detail as possible:
In the server setting, my bot has permission to connect. However, I set up a specific voice channel which disabled everyone's permission to connect (which should overwrite the server permission). But when I log voiceChannel.joinable, it is returning true, so my bot still tries to join, and it stuck at VoiceStatus 2(AUTHENTICATING). After about 15 seconds, I get the following unhandled error:
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Error: Connection not established within 15 seconds.
    at VoiceConnection.authenticateFailed (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:257:26)
    at connectTimeout.client.setTimeout (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:278:18)
    at Timeout.setTimeout (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/Client.js:446:7)
    at ontimeout (timers.js:488:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:283:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node --optimize_for_size src/main.js`
npm ERR! Exit status 1

Include a reproducible code sample here, if possible:
onst Discord = require('discord.js');
const client = new Discord.Client();

client.login('token here');

client.on('message', message => {
  // Voice only works in guilds, if the message does not come from a guild,
  // we ignore it
  if (!message.guild) return;

  if (message.content === '/join') {
    // Only try to join the sender's voice channel if they are in one themselves
    if (message.member.voiceChannel) {
      // check if there is already a voice connection
      if (message.member.voiceChannel.connection) {
        console.log('conn status: ' + message.member.voiceChannel.connection.status);
      }
      console.log('is joinable: ' + message.member.voiceChannel.joinable);
      if (message.member.voiceChannel.joinable) {
        message.member.voiceChannel.join()
          .then(connection => { // Connection is an instance of VoiceConnection
            message.reply('I have successfully connected to the channel!');
          })
          .catch(console.log);
      }
    } else {
      message.reply('You need to join a voice channel first!');
    }
  }
});

Further details:

discord.js version: Master
node.js version: 8.0.0
Operating system: Windows 10
Priority this issue should have – high

[ ] I have also tested the issue on latest master, commit hash:

Joinable is a property, not a function.

@aemino oops sorry typo in my part. But i my actual code, i didn't put brackets.

I made a pull request for this issue #1596

You have to look into VoiceChannel's joinable(). The problem is that permissionsFor is not giving the correct values.
this.permissionsFor(this.client.user).has('CONNECT')

I've noticed this as well, as well on permissionsFor. I always check if my bot has permission to send messages in the channel and I've gotten multiple errors from that line (in exclusive testing) of bot having permission to send messages.

Found the issue. Gonna be fixed in the next few commits. I'll leave a message and close the issue when its done.
This is only an issue on master btw.

I experience this issue as well:
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Error: Connection not established within 15 seconds.
    at VoiceConnection.authenticateFailed (/home/mees/MeMezBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:256:26)
    at connectTimeout.client.setTimeout (/home/mees/MeMezBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:277:18)
    at Timeout.setTimeout (/home/mees/MeMezBot/node_modules/discord.js/src/client/Client.js:422:7)
    at ontimeout (timers.js:488:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:283:5)
error: Forever detected script exited with code: 1
error: Script restart attempt #10

Can you see if the above PR (#1601) fixed your issue? Thanks.

@hydrabolt I think the issue is fixed since I don't see any of those errors anymore. Thanks a lot!


Tilemap wrong rotation and scale

Hello,
If I set Tile.scaleX and Tile.scaleY after setting Tile.rotation, I get wrong value with rotations.
Example
with rotation = 270
//This is not working
tile.rotation = 270;
tile.scaleX = info.scaleX;
tile.scaleY = info.scaleY;
trace(tile.rotation) //trace 1 instead of 270 or -90

//this is working
tile.scaleX = info.scaleX;
tile.scaleY = info.scaleY;
tile.rotation = 270;
trace(tile.rotation) //trace -90 (=270 so it's ok)

Same thing happened with scale when setting rotation right after.
Example
with scaleX = -1
//This is not working
tile.scaleX = -1;
tile.scaleY = 1;
tile.rotation = angle;
trace(tile.scaleX) //trace 1 instead of -1

Thank you
The first case was fixed a while ago, I just fixed the second case :shipit:


let the water keep circulating

in  the Box, sphere and wall demo,not  increase  the  _numParticles  count , how to  let the water keep circulating?

The fluid renderer has now been added to Babylon.js, so you should ask your question in the forum.
Thanks!


Hash sum check

Add a hash sum check for the executable file, because as I understand it, users with Normal access cannot change the path to the executable file, but they can change the file itself.
For example, through manual entry or scanning a file at the first start

We will improve this problem in the future.


Add babel-core dev-deps

Issue: not compile
What I did
How to test
Is this testable with Jest or Chromatic screenshots? no
Does this need a new example in the kitchen sink apps? no
Does this need an update to the documentation? no
If your answer is yes to any of these, please make sure to include it in your PR.

The CLI test is failing. I think you need to update a snapshot here for the package.json

Nevermind, snapshots need to be updated on master


ci: release on tag

Coverage remained the same at 98.122% when pulling ad116d80da691b19ac8218cbf837acb31ddae513 on libotony:dev into 2c07d12eae5db0d4d919fe05077b852347dc7755 on vechain:master.


Add Tabs Studio files to VisualStudio.gitignore

Reasons for making this change:
Tabs Studio is a Visual Studio extension that produces several *.tss files. Anyone who has this extension will have .tss file in their solution. These files are generated and therefore do not need to be added to source control.
Links to documentation supporting these rule changes:
Tabs Studio

@yannduran thanks!


missing dependencies in docker build

Trying to build the docker image locally ran into a few challenges with missing dependencies. I also added an example comment of how to build the docker locally.

Test failures are flaky and unrelated.


Implement json_parse()

json_extract/json_inject are fantastic tools for wrapping the API, but sometimes we want a quick solution without needing to worry about every minute aspect, such as field name/type. json_parse will provide a quick solution with automatic conversion of types, and no need to create a special struct for wrapping around the JSON fields (assuming it returns its own specific datatype). I can easily do this since I already have the code ready from JSCON, I just need to simplify it and integrate jsmn to it.
Can you set a appropriate priority level for this @mlite ?

I do see the value of this pre-converted values.   This should be simple to implement. Please make sure the string values are escaped/unescaped properly.

I suggest treating string number as double, it's more consistent with how JavaScript treats number.  Whoever use this library can expect the same behavior as how Javascript behaviors.

I just found double cannot hold the value of uint64_t correctly.   Please consider using long double for json number.

This is done.


"Go to answer" button

I suggest adding a "Go to answer" button.

Yeah this is a good idea! Something similar to what GitHub Discussions have

This can be achieved by an id="answer" and a link to #answer I think.


Training is so slow, what's wrong?

Hi, I'm doing a 4 classes classification mission.
I use pre-trained VGG19 as the base model, and add ArcFace after it.
I trained the model for a while, but the training speed becomes slower, and the accuracy of training set doesn't grow at all. I can't figure out the reason. Please help.(I have trained it with softmax before, everything is well.)
(Trained on GTX 1080 Ti)
This is a part of my training process:

This is the key part of my code:
num_classes = 4
input_shape = (400,300,3)
batch_size=32
base_model = VGG19(include_top=False, weights='imagenet', input_shape=input_shape)
x = base_model.output
y = Input(shape=(num_classes, ))

x = BatchNormalization()(x)
x = Dropout(0.5)(x)
x = Flatten()(x)
x = Dense(128, kernel_initializer='he_normal',
                kernel_regularizer=regularizers.l2(1e-4))(x)
#x = Dense(128, activation='relu')(x)
#predictions = Dense(num_classes, activation='softmax')(x)
predictions = ArcFace(num_classes,regularizer=keras.regularizers.l2(1e-4))([x, y])

model = Model(inputs=[base_model.input, y], outputs=predictions)

for layer in base_model.layers:
    layer.trainable = True

model.summary()
opt = SGD(lr=0.1, momentum=0.9, decay=5e-4, nesterov=True)

model.compile(loss='categorical_crossentropy',
              optimizer=opt,
              metrics=['accuracy'])

# generate data
class train_Generator_xandy(object):
    def __init__(self):
        datagen = ImageDataGenerator(rescale=1.0 / 255.)
        train_generator = datagen.flow_from_directory(
            train_data_dir,
            target_size=(image_height, image_width),
            batch_size=batch_size,
            class_mode='categorical',
            shuffle=True)

        self.gene = train_generator

    def __iter__(self):
        return self

    def __next__(self):
        X, Y = self.gene.next()
        return [X, Y], Y

class val_Generator_xandy(object):
    def __init__(self):
        validation_datagen = ImageDataGenerator(rescale=1.0 / 255.)

        validation_generator = validation_datagen.flow_from_directory(
            validation_data_dir,
            target_size=(image_height, image_width),
            batch_size=batch_size,
            class_mode='categorical',
            shuffle=False,
        )

        self.gene = validation_generator

    def __iter__(self):
        return self

    def __next__(self):
        X, Y = self.gene.next()
        return [X, Y], Y

class test_Generator_xandy(object):
    def __init__(self):
        test_datagen = ImageDataGenerator(rescale=1.0 / 255.)

        test_generator = test_datagen.flow_from_directory(
            test_data_dir,
            target_size=(image_height, image_width),
            batch_size=batch_size,
            class_mode='categorical',
            shuffle=False,
        )

        self.gene = test_generator
        self.classes = test_generator.classes

    def __iter__(self):
        return self

    def __next__(self):
        X, Y = self.gene.next()
        return [X, Y], Y

train_generator = train_Generator_xandy()
validation_generator = val_Generator_xandy()
test_generator = test_Generator_xandy()

# Fit model
history = model.fit_generator(train_generator,
                    steps_per_epoch=(nb_train_samples // batch_size),
                    epochs=nb_epoch,
                    validation_data=validation_generator,
                    callbacks=[history, draw_pic],
                    validation_steps=(nb_validation_samples // batch_size)
                   )

hello!
Follow the discussion in https://www.reddit.com/r/deeplearning/comments/cg1kev/help_needed_arcface_in_keras/
I just change the parameter s from 30 to 10, and the training becomes quite strange.

my code (I only change these code):
img_input = Input(shape=input_shape)
y= Input(shape=(num_classes,))

base_model = VGG19(include_top=False, weights='imagenet', input_shape=input_shape, input_tensor=img_input)
x = base_model.output

x = BatchNormalization()(x)
x = Dropout(0.4)(x)
x = Flatten()(x)
x = Dense(512, use_bias=False)(x)
x = BatchNormalization()(x)

predictions = ArcFace(num_classes, s=10.0, m=0.5)([x, y])

model = Model(inputs=[img_input, y], outputs=predictions)

model.summary()
opt = Adam(lr=1e-3, beta_1=0.9, beta_2=0.999, decay=5e-4)

I'm confused. Please help me, thank you.

Have you try a different model layers?
x = base_model.output
x1 = GlobalAveragePooling2D(name='gap')(x)
x2= GlobalMaxPool2D()(x)
x = Concatenate()([x1, x2])
...

It works well with me.

hello!
Follow the discussion in https://www.reddit.com/r/deeplearning/comments/cg1kev/help_needed_arcface_in_keras/
I just change the parameter s from 30 to 10, and the training becomes quite strange.

my code (I only change these code):
img_input = Input(shape=input_shape)
y= Input(shape=(num_classes,))

base_model = VGG19(include_top=False, weights='imagenet', input_shape=input_shape, input_tensor=img_input)
x = base_model.output

x = BatchNormalization()(x)
x = Dropout(0.4)(x)
x = Flatten()(x)
x = Dense(512, use_bias=False)(x)
x = BatchNormalization()(x)

predictions = ArcFace(num_classes, s=10.0, m=0.5)([x, y])

model = Model(inputs=[img_input, y], outputs=predictions)

model.summary()
opt = Adam(lr=1e-3, beta_1=0.9, beta_2=0.999, decay=5e-4)

I'm confused. Please help me, thank you.

你好！
按照https://www.reddit.com/r/deeplearning/comments/cg1kev/help_needed_arcface_in_keras/中的讨论进行操作，
我只是将参数_s_从30更改为10，因此训练变得很奇怪。 我的代码（我只更改这些代码）：

img_input = Input(shape=input_shape)
y= Input(shape=(num_classes,))

base_model = VGG19(include_top=False, weights='imagenet', input_shape=input_shape, input_tensor=img_input)
x = base_model.output

x = BatchNormalization()(x)
x = Dropout(0.4)(x)
x = Flatten()(x)
x = Dense(512, use_bias=False)(x)
x = BatchNormalization()(x)

predictions = ArcFace(num_classes, s=10.0, m=0.5)([x, y])

model = Model(inputs=[img_input, y], outputs=predictions)

model.summary()
opt = Adam(lr=1e-3, beta_1=0.9, beta_2=0.999, decay=5e-4)

我糊涂了。请帮助我，谢谢。

hello!
Follow the discussion in https://www.reddit.com/r/deeplearning/comments/cg1kev/help_needed_arcface_in_keras/
I just change the parameter s from 30 to 10, and the training becomes quite strange.

my code (I only change these code):
img_input = Input(shape=input_shape)
y= Input(shape=(num_classes,))

base_model = VGG19(include_top=False, weights='imagenet', input_shape=input_shape, input_tensor=img_input)
x = base_model.output

x = BatchNormalization()(x)
x = Dropout(0.4)(x)
x = Flatten()(x)
x = Dense(512, use_bias=False)(x)
x = BatchNormalization()(x)

predictions = ArcFace(num_classes, s=10.0, m=0.5)([x, y])

model = Model(inputs=[img_input, y], outputs=predictions)

model.summary()
opt = Adam(lr=1e-3, beta_1=0.9, beta_2=0.999, decay=5e-4)

I'm confused. Please help me, thank you.

i think that  it's caused by BatchNorm


[AutoRelease] t2-networkcloud-2023-06-29-38835(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4301
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=6093

issue link:https://github.com/Azure/sdk-release-request/issues/4301

/check-enforcer override


Best library to build a chart like an image

Hi,
We have to create a new chart with the attached template. could you please suggest me which library would be best to use for the chart. Quality of the image should not distort when it is viewed in laptop or ipad or ipod. please suggest a library. Earlier we were using system.drawing. But now we are trying the revamp the whole code to use a better approach. Please advise us.

C# should build this image using any library. All these has to be flexible. Not should be harded. Means chart is purely configurable. Based upon the configuration the rendering varies.

Also this should be an vector image format.

This is the completely wrong place to ask that


[Doc] Can't find folder when generating the reference doc

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
When generating the reference doc according to https://pulsar.apache.org/contribute/release-process/#reference, it raises this error:
poetry run bin/reference-doc-generator.py --master-path=/Users/aaronrobert/codebase/pulsar.branch-3.0 --version=3.0.0

Traceback (most recent call last):
  File "/Users/aaronrobert/codebase/pulsar-site/tools/pytools/bin/reference-doc-generator.py", line 61, in <module>
    pulsar_admin_clidoc_generator.execute(master_path, version)
  File "/Users/aaronrobert/codebase/pulsar-site/tools/pytools/lib/execute/pulsar_admin_clidoc_generator.py", line 52, in execute
    with (reference / f'{command}.md').open('w') as f:
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/Users/aaronrobert/codebase/pulsar-site/static/reference/3.0.x/pulsar-admin/broker-stats.md'

It is trying to find the folder pulsar-site/static/reference/3.0.x, but it doesn't exist.
What is your suggestion?
My workaround is to create that folder manually: cp -r next 3.0.x
Any reference?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Thanks for reporting this issue! We should protectively create the parent folder on missing.


ScottPlot 5: The right axis label is positioned in the middle of the axis in an empty plot

Issue: Create an empty plot in WPF and set the label text for the right axis. The text is positioned in the middle of the axis. It should have an offset to the axis that it doesn't overlay the axis.

ScottPlot Version: 5.0.39 (also found in 5.0.36)
Code Sample:
ScottPlot.Plot myPlot = new();

myPlot.Plot.XLabel("Horizonal Axis");
myPlot.Plot.Title("Plot Title");
myPlot.Plot.Axes.Left.Label.Text = "Vertical Axis";
myPlot.Plot.Axes.Right.Label.Text = "Vertical Axis (right)";

myPlot.SavePng("bug.png");

Hi @mikeKuester, this is similar to a recent discussion about title alignment in #4455 however I don't think that's what you're asking so I won't add a similar FullFigureCenter flag for axis labels, but I can if you want (or someone can create a pull request and I'll merge that faster).
Instead, I think this is a solution that will work for you
ScottPlot.Plot myPlot = new();

myPlot.XLabel("Horizonal Axis");
myPlot.Title("Plot Title");
myPlot.Axes.Left.Label.Text = "Vertical Axis (left)";
myPlot.Axes.Right.Label.Text = "Vertical Axis (right)";
myPlot.Axes.Right.MinimumSize = 50; // reserve space even if no plottable uses this axis

myPlot.SavePng("bug.png", 400, 300).LaunchFile();

For more, see https://scottplot.net/cookbook/5.0/Layout/


[help wanted] Adding Username and Password list

Is it possible to add an option so that I can inject my own username and passwords in it so that it can output everything at one run ?

Sorry for missing the about section, it says I can do bulk check. Since I am new to python can't really figure out how to do so. Could you please assist me in this case ?

I actually had uploaded the wrong py file, I have updated it including the readme which now includes how to use, let me know if you need any help

I actually had uploaded the wrong py file, I have updated it including the readme which now includes how to use, let me know if you need any help

I have used the new version and it has been working well.

One request though, if could be output to curated csv file that would make it perfect.
With me zero knowledge I was trying it but failing hard on remove that { on first item name :

looks like a great idea ill try asap

looks like a great idea ill try asap

Thanks a ton for adding it, trying it right away

looks like a great idea ill try asap

Thanks a ton for adding it, trying it right away

@frostysecurethebag Well it doesn't seem to be outputting to the CSV file.

My bad it outputs after the py windows is closed

@frostysecurethebag it seems it's calling the https://valorant-api.com/v1/weapons/skinlevels/ api for every skin and it's taking quite long time and consuming more data. Isn't it possible to store the entire endpoint to a file and call from that ?

It's taking quite a bit of time it seems, also I guess RIOT blocks the IP after certain amount of logins within a certain time window. @frostysecurethebag

Also for better usability in Excel this formatting should be a better option:
'Account', 'Offer-Item1' , 'Discount-Percent1" , 'Offer-Item2' , 'Discount-Percent2" , 'Offer-Item3' , 'Discount-Percent3" , ........


Refactor: Adjust to a better fitting namespace

[x] Determine new namespaces (ideas, vote, feedback)
[x] Update existing code/docs

resolved by c39ffdd4fb11886500f844e3c2d4cf5c86571519


New: Spicebrains.Instant-Eyedropper version 2.0.0

Resolves #21989
Hey @miaupaw is this ok with you?
I can't seem to find any License information?

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Found Instant Eyedropper [Spicebrains.Instant-Eyedropper]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading http://instant-eyedropper.com/download/instant-eyedropper-2.0.0.exe
  ██████████████████████████████   530 KB /  530 KB
Successfully verified installer hash
Starting package install...
Successfully installed

Microsoft Reviewers: Open in CodeFlow

Licence file is found here https://github.com/miaupaw/instant-eyedropper/blob/main/vsproject/output/license.txt

Yeah okay, ty 🤦♂

thanks broski <3


Outline support

Support for document outlining [cmd+Shift+O] and navigating the yaml.

Added in 4b0ed76

Need to fix:

Make it work like the JSON document outline


Bug: Website responsiveness for all devices

Description
The website is breaking at certain points and angles, the responsiveness would be fixed.
Screenshots
No response
Browser 🥦
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no).

Hey @tamalCodes , i will love to contribute in fixing UI issues, please assign this to me.
Thanks

Hi @tamalCodes , I would love to contribute to this issue as well!

Hi @varundhand , you can go ahead and remove all the circles that we have. We added those initially but i think we would be better without it.

Yes @tamalCodes it would definitely look cleaner without them. I'll issue the PR today itself!

@tamalCodes , please assign some UI issues to me as well, i will love to contribute.
Thanks

Hi @sahilrohera10 , i would love if you could fix the responsiveness for tablet devices.

@tamalCodes , Okie will love to do, please assign this to me

Hey @tamalCodes , Im done with my code but as I was going through the code, I came across this beauty:

Should I comment this or maybe add TODO to it?

Hey @tamalCodes , Im done with my code but as I was going through the code, I came across this beauty:

Should I comment this or maybe add TODO to it?

Just remove that 😂

@tamalCodes PR done with the responsiveness for tablet devices, please review it

all checks are passing but still error why??

@tamalCodes #1137 is ready for review

@tamalCodes , thanks for accepting my pull request, now please assign me more tasks, so that i can work more on it

Hello @tamalCodes , the tablet view is still not responsive, I would like to work on it. Should I create another issue for it? Or link my PR to this issue?

Hey @tamalCodes

The website still looks like this on a tablet. I've good experience with both css and Next.js, I will get the work done quickly and efficiently.


[TE7.5] chip-tool unable to control Silicon Labs EFR32 DUT a few minutes after pairing

Problem
I am using Silicon Labs EFR32MG12P as DUT and chip-tool as TH, my DUT is able to be configured to Nordic OTBR's network, but I am unable to control my DUT. For details of this issue, please see attached logs.
TH-pairing-control-ping-0124.log
Nordic-RCP-ot-br-posix-git-version-info.txt
DUT-pairing-ping-0124.log
DUT-git-version-info.txt
DUT IP addr got from serial connection.

ipaddr
fd48:c45a:4b85:9b7:0:ff:fe00:2c00
fd4a:66f1:5e91:3010:9b8b:ded5:9cd7:2ffa
fd48:c45a:4b85:9b7:9b0e:b4f2:2eb8:be6f
fe80:0:0:0:e4f4:4f1a:e68d:5649
Done

Proposed Solution
None.

Hi All,
Sorry for my previous errors, I used a wrong node id for command ./chip-tool onoff toggle  , today I retry with correct node id, TH is able to control my DUT, but after a few minutes, TH become unable to control my DUT, ping is OK. See below logs for details.
TH-pairing-control-ping-0125.txt
DUT-pairing-control-ping-0125.txt
DUT IP addr info (DUT factory rest and pairing again, so its IP addr changed)
ipaddr
fd48:c45a:4b85:9b7:0:ff:fe00:b000
fd4a:66f1:5e91:3010:4e24:d8ab:e5e1:6371
fd48:c45a:4b85:9b7:1f2a:1ac0:b81c:460c
fe80:0:0:0:985b:2f6:d7e8:4192
Done

It is hard to say what happened.
<info  > [IN] Sending encrypted msg 0x2001c1bc with MessageCounter:13793544 to 0x000000000001B669 (1) at monotonic time: ld msec
<detail> [DL] Thread packet RCVD: UDP, len 66
<detail> [DL]     src  F<detail> [DL] Thread packet SENT: UDP, len 112
<detail> [DL]     src  FD4A:66F1:5E91:3010:4E24:D8AB:E5E1:6371, port 5540
<detail> [DL]     dest FD4A:66F1:5E91:3010:F69C:79AA:7646:4C6B, port 5542
<detail> [DMG] ICR moving to [CommandSen]
<detail> [DMG] ICR moving to [AwaitingDe]
<info  > [EM] Received message of type 0xhx with protocolId (16, 0) and MessageCounter:0 on exchange 36201?
<detail> [EM] Found matching exchange: 43938r, Delegate: 0
<detail> [EM] Rxd Ack; Removing MessageCounter:2379158691 f<efr32 > Light ON
<detail> [DL] Thread packet RCVD: UDP, len 82
<detail> [DL]     src  FD4A:66F1:5E91:3010:F69C:79AA:7646:4C6B, port 5542
<detail> [DL]     dest FD4A:66F1:5E91:3010:4E24:D8AB:E5E1:6371, port 5540
<info  > [EM] Received message of type 0xhx with protocolId (16, 0) and MessageCounter:0 on exchange 10803?
<detail> [EM] Found matching exchange: 43939r, Delegate: 0
<detail> [EM] Rxd Ack; Removing MessageCounter:13793544 from Retrans Table on exchange 43939r
<detail> [EM] Removed CHIP MessageCounter:13793544 from RetransTable on exchange 43939r
<detail> [EM] Retransmitting MessageCounter:4368767 on exchange 1032r Send Cnt 0

From this device trace. The DUT replied and the CHIP tool seems to miss it. It resends the same message. From there the com seems broken.
I will try to reproduce it. So far was able to send commands to my DUT even a few hours after commissioning it. I do use an EFR32 RCP, I don't know the Nordic RCP OTBR.

These basic flows should be rock solid for v1.
Removing tag v1_triage_split_4.

@lds-jinfeng Is this still reproducible with the TE9 or tip SHA?

@lds-jinfeng So this can be closed?

@bzbarsky-apple Yes, this case can be closed, since we did not see this issue on TE8 and TE9.


Update Package.swift

Thanks @aehlke! I prefer to keep the package compatible with older Swift / Xcode versions.

That's fine but what it means is that this is unusable in projects that have C++ dependencies (or maybe something more specific in my case). Without this change the lib broke my build.
What I've seen is other projects having multiple Package.5.9.swift or some kind of convention like that but I haven't investigated


[WIP] CMake integration

This is a WIP, it's almost finished and ready for a first review.
Motivation and Context
As we start dealing with native-like-non-python-code like C++ (probably C and Rust in the near future), this means that we have to support various platforms, and build binaries for them. A Makefile only build system doesn't scale very well, so are migrating to CMake.
The purpose of CMake is to deal with compiling, distribution package building and testing for various platforms/toolchains.
A list of the major changes:

Qiskit simulator now builds on/for Linux 64, Win64 and Darwin
Added support for creating pip distributable packages (sdist
and wheels) for Linux, Windows and MacOS
Added support for testing and lintering via CMake
Added Windows lib/dll dependencies for C++ simulator
Added support for building when installing via Pip from source
distribution, so non-supported platforms have a chance to build
the C++ code

How Has This Been Tested?
Our current python testing framework remains the same so far, the only difference is that  we will invoke it via CTest tool.
There's no new code to test.
TODO

Proper documentation is still in the works
Integration with Travis and AppVeyor

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[TODO] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Doesn't removing setup.py break editable install  (pip install -e).

@levbishop yes, it would! But please note that setup.py has only been removed from the bare clone of the repository - it is still automatically generated by cmake during its initial invocation, ie:

https://github.com/QISKit/qiskit-sdk-py/blob/master/CONTRIBUTING.rst#building


K8s Improvements

Deps update
Logs to Stdout/Stderr
Helm3

Nope. It shouldn't. Just forgot to add it to the gitignore. Good catch thanks!

@cv65kr great feedback, thanks! All applied


[now dev] Refactor builders installation logic

Don't run npm update, only npm install, so no more "Checking for builder updates".
Don't save package-lock.json, to allow builders with newer versions than already installed to be updated.
Properly supports non-npm-registry builders (i.e. an HTTP URL, github: syntax, etc.

Codecov Report

Merging #2254 into canary will decrease coverage by 0.08%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##           canary    #2254      +/-   ##
==========================================
- Coverage   10.44%   10.36%   -0.09%
==========================================
  Files         246      246
  Lines        9036     9025      -11
  Branches      993      989       -4
==========================================
- Hits          944      935       -9
- Misses       7965     7971       +6
+ Partials      127      119       -8

Impacted Files
Coverage Δ

src/commands/dev/lib/types.ts
0% <ø> (ø)
:arrow_up:

src/commands/dev/lib/dev-server.ts
38.86% <100%> (+0.03%)
:arrow_up:

src/commands/dev/lib/builder-cache.ts
64.54% <73.33%> (-2.41%)
:arrow_down:

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 91069f6...134d0c7. Read the comment docs.


Apply-PnPProvisioningTemplate : The 'value' argument cannot be null.

Hello,
I am getting this error on provisioning template that used to work. This happens when the provisioning engine attempts to add a custom content type.
Interestingly when running the apply pnp-provision it does actually put the content types in, (even though it errors). So if you re-run the command sufficient times, eventually the template is successfully applied.
Thanks in advance.
Best,
Atul.

I experienced the same issue. Upgrading to the latest SharePointPnPPowerShellOnline (3.15.1911.0) seems to have correct the issue. I'd give that a shot.
Jeff


WSL from the Store: Tooltips in GUI apps appear "behind" the window

Version
Microsoft Windows [Version 10.0.22000.675]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu-20.04
Other Software
Eclipse 2022-03
Installed, but not relate (probably)
Docker Desktop 3.6.0(67351)
Repro Steps
Running Windows 11 Enterprise - fully updated, plus WSL built-in from Windows OS.

Install WSL Preview from Microsoft Store: https://www.microsoft.com/store/productId/9P9TQF7MRM4R
Open terminal on Ubuntu-20.04, and install Eclipse CDT 2022-03 or "gedit".
Run the GUI app - either eclipse or gedit.
Hover over a button on the toolbar, that normally shows a tooltip.

Expected Behavior

the tooltip is shown on top of the window
Actual Behavior
I don't have a screenshot, but the tooltip is shown behind the window.
Diagnostic Logs
This also affects in the same way other external X11 servers like VcXsrv.
I mainly was excited about the WSL Preview feature of mounting a vhdx, but I had to go back because it broke the Eclipse IDE too badly (function preview on hover, for instance).

Thank you @elsaco for checking it out.
After I uninstalled WSL Preview from the Store - so that WSL/WSLg from Windows11 was activated again - the tooltips pop-ups are once again sown above the window.

Could you check whether you're seeing the tooltip from the Save button? As it's shown "behind" the window you shouldn't see it.

Is there a way to "deactivate" WSLg from the Microsoft Store WSL Preview -- so that the native Windows 11 WSLg becomes active?
I'd like to benefit from new WSL functionality - e.g. wsl --mount --vhd - but still have a functioning GUI (i.e. with this bug, I can't use Eclipse).
Thanks.

@ophers You can safely uninstall Microsoft Store WSL Preview app from the Apps & Features settings and the WSL from the system will take preference.
BTW I just compiled latest WSLg with latest weston changes and I can confirm this issue has been fixed and next release for the Store WSL should contain the fix.


[MWPW-139685][Technical Debt] - Banner block Unit Test

Added Integration test for Banner block
JIRA ticket: https://jira.corp.adobe.com/browse/MWPW-139685
Test URLs:
Before: https://stage--express--adobecom.hlx.page/express/learn/blog?martech=off
After: https://banner-ut--express--adobecom.hlx.page/express/learn/blog?martech=off

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

Comparison is base (a488cd2) 31.09% compared to head (68820f9) 31.70%.
Report is 14 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #483      +/-   ##
==========================================
+ Coverage   31.09%   31.70%   +0.61%
==========================================
  Files         123      125       +2
  Lines       23631    23988     +357
==========================================
+ Hits         7348     7606     +258
- Misses      16283    16382      +99

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

The multi-button.html appears to only have a single button, and body.html includes two.
Maybe add a second button element to the multi-button mock and a move the assertion that multiple buttons exist to the 'Banner multi-button has correct elements' test.
    const buttons = banner.querySelectorAll('a.button');
    expect(buttons.length).to.be.at.least(2);


V3 SOR - Add support for paths with add/remove liquidity steps

This is required in the context of swaps that route through nested pools.
One example would be to swap from USDC to WETH through a WETH/3POOL:

USDC -> 3POOL BPT -> WETH

Where the first step would be an addLiquidity step and the second step would be a swap.
Note: this should be done for v3 only. v2 should throw as not supported.

pr done here #674


delete all output cell should NOT delete the one under execution

Start a 'long running cell'
use the 'delete all output cells' menu
-> you cannot interrupt the long running cell anymore.

the goal here is to not delete running cells correct @ildipo ?

yea. and remove from the evaluation queue all cells you delete


Website offline

Hey guys the website give me a 404
:cry:

Previously : https://github.com/agl/pond/issues/215

Sorry


⚠ Samsung has degraded performance

In 9ec5ac5, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2703 ms

Resolved: Samsung performance has improved in 0ad4143.


[#279] Improve multiple based objects for tokenator values integration

Note: Please transform - [ ] into - (NA) in the description when things are not applicable
Related issues

#279
Description

Split multiple* objects
Improve documentation
Enrich tests

Motivation & Context

Need to help integration of values generated by the tokenator, thus tokens it cannot manage must be moved elsewhere.
Types of change

Refactoring (non-breaking change)

Previews

Checklist

Contribution

[x] I have read the contributing guidelines

Accessibility

(NA) My change follows accessibility good practices

Design

[x] My change respects the design guidelines of Orange Unified Design System

Development

[x] My change follows the developer guide
[x] I checked my changes do not add new SwiftLint warnings
[x]  I have added unit tests to cover my changes (optional)

Documentation

[x] My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

[x] The evolution have been tested and the project builds for iPhones and iPads
[ ] Code review has been done by reviewers according to CODEOWNERS file
(NA) Design review has been done
(NA) Accessibiltiy review has been done
(NA) Q/A team has tested the evolution
[x] Documentation has been updated if relevant
[x] Internal files have been updated if relevant (like CONTRIBUTING, DEVELOP, THIRD_PARTY, CONTRIBUTORS, NOTICE)
[x] CHANGELOG has been updated respecting keep a changelog rules and reference the issues
[x]  The wiki has been updated if needed (optional)

@ludovic35 Le message de commit peut être par exemple =
refactor: improve management of tokens for those based in color scheme or size classes (#279) (#301)


Note regression in lifecycle services

Added a note on the known limitation in lifecycle services (https://github.com/ros2/rclc/issues/223), fixed in rolling.
Signed-off-by: Nordmann Arne (CR/ADT3<EMAIL_ADDRESS>

@norro Would it not better to comment out these functions which lead to a segfault?

Well, that would be a pretty stark ABI/API break ;)
But it might make sense to comment-out the code inside the functions and instead output an error log along the lines "this feature was disabled, please upgrade to rolling" or something?