i18n(zh-cn): Update internationalization.mdx

Description (required)
Update internationalization.mdx

Related issues & labels (optional)

#7962

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/internationalization.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Cannot import dronekit on Python 3

Hello.
I am trying make programs with dronekit and python 3 on windows 10 1809.
But when I import dronekit library, python shows error like bellow.
>>> from dronekit import connect
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\otsuka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dronekit\__init__.py", line 2192
    await = set(types)
          ^
SyntaxError: invalid syntax

Must I use python 2.7?
Thank you.

On Mon, 17 Dec 2018, Otsuka Kohei wrote:

I am trying make programs with dronekit and python 3 on windows 10 1809.
But when I import dronekit library, python shows error like bellow.

Are you using dronekit-python from the github repository or pipi?
If that latter - try the former.

Thank you for your response.
pip list result like bellow.
Package           Version
----------------- --------
astroid           2.1.0
colorama          0.4.1
dronekit          2.9.1

dronekit which I installed looks like latest release.
I installed dronekit by pip install dronekit.
If I install dronekit from github repo, I have to execute instruction according to this page?

I replaced from pip installed dronekit to latest github repo dronekit source, and SyntaxError does not appear.
Thank you.
But I stuck on #759, so I cannot use dronekit on Python 3.7.1 successfully.

The "await" bug was fixed in #840. So you need to use master.
Try to enable detailed logging:
import logging
logging.basicConfig(level=logging.DEBUG)

at the beginning of your application, and please post a code sample and the full logs.

I just tried and DroneKit's tests run successfully on Python 3.7: CircleCI logs

For others, I added the following to my requirements.txt:
-e git://github.com/dronekit/dronekit-python#egg=dronekit

This seems like it could be closed, with the 2.9.2 release having been done a while back.
As a related data point though, the DroneKit installation page specifically says Python 3.6 is not supported:
    https://dronekit-python.readthedocs.io/en/latest/develop/installation.html
Is that just a case of the docs needing to have the latest version deployed?  That doc site is still saying 2.9.1 is the latest release.

The docs need to be updated. The tests are passing on Python 3.6, and I was literally flying drones with DroneKit on Python 3 :-)

I made this PR: https://github.com/dronekit/dronekit-python/pull/1040

... I was literally flying drones with DroneKit on Python 3

Thanks @pietrodn. :smile:
Yeah, I was looking around for an ArduPilot SDK, but skipped DroneKit because the official docs literally say it's Python 2 only and Python 3 isn't supported.
Fortunately, a fellow project dev also mentioned they've used DroneKit with Python 3, thus took a second look. :smile:

Hi how do i install dronekit using the github respository?

Hi how do i install dronekit using the github respository?

were you able to solve this?

hi
not yet
you can try Tello EDU  to validate the drone-related algorithm. which has mature SDK and is not expensive.
best
zezhong
At 2022-11-07 12:28:44, "Anagh Benjwal" @.***> wrote:
Hi how do i install dronekit using the github respository?
were you able to solve this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


[Question]Getting file info

I'm trying to create a custom metric for GitHub relating to files that were updated during commits. I don't see any tables within my lake database that have information about files, I only see commit sha information. How do I access/group by file name?

@dosu the commit_files table is empty for some reason.

@dosu
how would I create the plugin? Is it something that is incorporated within devlake itself?

@dosu Do I just do this as a new blueprint or can I add it to an existing project?

Also, how would I get the connection ID and project ID, is it the same as the name?

@dosu
How do I access the JSON file from an existing project/connection so that I can modify it to include the new plugin.

@dosu
{
"id": 10,
"name": "GHEDev-Blueprint",
"plan": [
[
{
"plugin": "org",
"subtasks": [
"setProjectMapping"
],
"options": {
"projectMappings": [
{
"projectName": "GHEDev",
"scopes": [
{
"rowId": "github:GithubRepo:1:7345",
"table": "repos"
},
{
"rowId": "github:GithubRepo:1:7345",
"table": "cicd_scopes"
},
{
"rowId": "github:GithubRepo:1:7345",
"table": "boards"
}
]
}
]
}
}
],
[
{
"plugin": "github",
"subtasks": [
"Convert Releases",
"Convert Repos",
"Extract Comments",
"Extract Events",
"Extract Issues",
"Extract Milestones",
"Extract PR Review Comments",
"Extract Pull Requests",
"Extract Users",
"Extract Workflow Runs",
"Convert Issue Assignees",
"Convert Issue Comments",
"Convert Issue Labels",
"Convert Issues",
"Convert Milestones",
"Convert PR Labels",
"Convert Pull Requests",
"Convert Workflow Runs",
"Enrich PR Issues",
"Convert PR Issues",
"Extract Jobs",
"Extract PR Commits",
"Extract PR Reviews",
"Convert Jobs",
"Convert PR Comments",
"Convert PR Commits",
"Convert PR Reviews",
"Extract User Org",
"Convert Users"
],
"options": {
"connectionId": 1,
"fullName": "INFServices/terraform-base",
"githubId": 7345,
"name": "INFServices/terraform-base"
}
}
],
[
{
"plugin": "dora",
"subtasks": [
"generateDeployments",
"generateDeploymentCommits",
"enrichPrevSuccessDeploymentCommits"
],
"options": {
"projectName": "GHEDev"
}
}
],
[
{
"plugin": "refdiff",
"subtasks": [
"calculateDeploymentCommitsDiff"
],
"options": {
"projectName": "GHEDev"
}
}
],
[
{
"plugin": "dora",
"subtasks": [
"calculateChangeLeadTime",
"ConnectIncidentToDeployment"
],
"options": {
"projectName": "GHEDev"
}
}
]
],
"skipOnFail": true
}
How do I modify this existing github project to include gitextractor and customize plugin

@dosu
error patching the blueprint Wraps: (2) 1 error(s) decoding: | | * 'Plan[0][0]' expected a map, got 'string' Wraps: (3) 1 error(s) decoding: | | * 'Plan[0][0]' expected a map, got 'string' Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *mapstructure.Error
getting this error


Rendering outside modal doesn't work

I am trying to render the image slider outside the Modal but it doesn't work. The image portion remains blank. I tried to manually set width and height but no result.
I guess it's not intended to be used outside modal. If so, then please consider adding the functionality.

Im trying to do the same and it doesn't work.


[hidpp10] Profile switching and pages

There are several points of which I am unsure about profiles. I think there is need for a discussion on this.
In the code, I have seen you use three profiles for the G500s. But I have only seen LGS use two: the temporary one in page 0 and a permanent one in the memory (page 2 for my G500 and I think my G500s use this one too). Actually you can write as many profiles as you can fit in memory, but they can only be switched from the driver, so it is not really useful.
The CMD_PROFILE command (0x0F), is one of the command I have documented that I least understand. It did not always behave like I intended in ways I did not manage to reproduce. I must be missing something.
But I know never found a way to get from where in the memory the current profile. I don't know how hidpp10_get_current_profile could be implemented.
About the page for the default permanent profile: I mainly tested the commands on my G500 and I quite sure it is on page 2, but I am less certain about the G500s, I will redo some tests. Or maybe there is something else that determine the location of the default profile.

I have tested again, the default profile is definitely on page 2 on my G500s.
Some info on the device:
$ cat /sys/bus/usb/devices/1-3/{idVendor,idProduct,product,bcdDevice}
046d
c24e
G500s Laser Gaming Mouse
8401

I don't have access to the G500s at the moment, it's the only device I didn't bring with me to XDC :) so sorry, I can't test this atm but since I'll be offline for 3 weeks after this I'm happy to merge a fix that works on the G500 and then fix it after if it breaks the G500s.
As for the command: I don't have any better information, your document is the reference here.

My bad, wrong fix in the commit message

I think we can close this one now:

the profile directory is now understood and implemented in libratbag
you can basically write anything you want on the mouse, but if the crc is not valid, the mouse discards the page and use factory default. This is why changing settings without changing the crc gives some weird and unexpected results.

you can basically write anything you want on the mouse, but if the crc is not valid, the mouse discards the page and use factory default. This is why changing settings without changing the crc gives some weird and unexpected results.

Are you sure about that? I need to make some tests with page 1, but for profiles and macros I have been using invalid crc without problems.

Are you sure about that?

I am sure that the HID++ 2.0 devices reject pages when the crc is wrong.
And I inferred this given that there was a discussion regarding the profile directory which was not taken into account when written on it without the crc.
Maybe they enforced the crc only for page 0x01, or maybe I am completely wrong :)

You are right. Writing the crc, allow me to change the profile directory on my G500. Nice find, I did not think about trying that since it worked for other pages without it.
By the way, I think I found out what operation 4 with register 0xA0 is used for: it can computes the crc of pages (use the page number as source offset).

You can add two special keys: 0x0010 profile up, 0x0020 profile down. The G500 does not seem to handle special keys with more than one bit: 0x0009 (cycle resolution) behave like 0x0008 (resolution down) and 0x0011 (cycle profile) like 0x0010 (profile up).

I did not think about trying that since it worked for other pages without it.

Hmm, that means we have mice around with an invalid crc. I should probably allow them and not discard the page as I am currently doing.

I think I found out what operation 4 with register 0xA0

You made a good guess. We have the spec for register 0xA0 and you are right. I am not sure we actually need to ask the device for the crc while we can just compute it in the host.
Regarding A0, it is used to do generic memory management and seems the only way to write in flash. The problem is that to be able to write to the device, we do not have all of the documentation in the HID++ spec. I have looked at what LGS does, and it seems awfully complex compared to the HID++ 2.0 devices.

You can add two special keys: 0x0010 profile up, 0x0020 profile down.

done locally

The G500 does not seem to handle special keys with more than one bit: 0x0009 (cycle resolution) behave like 0x0008 (resolution down) and 0x0011 (cycle profile) like 0x0010 (profile up).

sigh. They might just used the same bit mask than the buttons and then realized it made no sense and started adding values in the holes...

Regarding A0, it is used to do generic memory management and seems the only way to write in flash. The problem is that to be able to write to the device, we do not have all of the documentation in the HID++ spec. I have looked at what LGS does, and it seems awfully complex compared to the HID++ 2.0 devices.

You can write in flash using the 0x9x subIDs. LGS uses a overly complicated method. You can simply fill the page with 0xFF using 0xA0 operation 2, then send your data in one 512 byte block (or smaller if you prefer) directly to its destination. The only real constraint is that you cannot overwrite some data without overwriting the whole page.


how to save espnow security parameter so after restart device not start security responder/initiator ?

Hello,
I test the espnow security examples it works very well.

For my project, i want something that once the security process finish btwn initiator/responder it should not restart security process again. and used the previous security parameters.

I digged into the espnow security components did not find much on that. So, What I can do this?

Last, how can i filter the mac address so, reponder response to the specific mac address only.

Can anyone guide me here ?


Add ruff tool

I'd like an suggestion what a useful test would look like. I believe this tools output could likely change in the future, so the usefulness of strict output checking right now seems overkill.
You have to decide.
Fixes #772

@MarcoGorelli I think this is ready to be reviewed!

Thanks for the review. I've added the requested changes.

Thanks! I'll try this out later but it should be good to go

Hey - sorry, just getting back to this now

Also it does not fail, even if the passed notebook contains errors

hmm this doesn't look quite right - could you show an example please?
Also, looks like I need to fix compat with flake8 6.0.0 to get CI to pass, I'll do that separately

Can't reproduce this BTW:
(.venv) marcogorelli@DESKTOP-U8OKFP3:~/nbQA-dev$ nbqa ruff tests/data/notebook_for_testing.ipynb
Found 7 error(s).
tests/data/notebook_for_testing.ipynb:cell_1:1:8: F401 `os` imported but unused
tests/data/notebook_for_testing.ipynb:cell_1:3:8: F401 `glob` imported but unused
tests/data/notebook_for_testing.ipynb:cell_1:5:8: F401 `nbqa` imported but unused
tests/data/notebook_for_testing.ipynb:cell_4:1:1: E402 Module level import not at top of file
tests/data/notebook_for_testing.ipynb:cell_4:1:20: F401 `random.randint` imported but unused
tests/data/notebook_for_testing.ipynb:cell_5:1:1: E402 Module level import not at top of file
tests/data/notebook_for_testing.ipynb:cell_5:2:1: E402 Module level import not at top of file
4 potentially fixable with the --fix option.
(.venv) marcogorelli@DESKTOP-U8OKFP3:~/nbQA-dev$ echo $?
1

I just tested the hook locally and I need to pass the "verbose" flag to pre-commit so the errors show up. Also it does not fail, even if the passed notebook contains errors. What am I missing?
Ruff returns a code != 0, in case of an error.

Still can't reproduce this:
(.venv) marcogorelli@DESKTOP-U8OKFP3:~/tmp$ pre-commit run nbqa-ruff -a
nbqa-ruff................................................................Failed
- hook id: nbqa-ruff
- exit code: 1

notebook_for_testing.ipynb:cell_1:1:8: F401 `os` imported but unused
notebook_for_testing.ipynb:cell_1:3:8: F401 `glob` imported but unused
notebook_for_testing.ipynb:cell_1:5:8: F401 `nbqa` imported but unused
notebook_for_testing.ipynb:cell_4:1:1: E402 Module level import not at top of file
notebook_for_testing.ipynb:cell_4:1:20: F401 `random.randint` imported but unused
notebook_for_testing.ipynb:cell_5:1:1: E402 Module level import not at top of file
notebook_for_testing.ipynb:cell_5:2:1: E402 Module level import not at top of file
Found 7 error(s).
4 potentially fixable with the --fix option.

Let's ship it then, if any bug is reported we can address later

@all-contributors please add @marscher for features

@all-contributors please add @marscher for code

Apologies for the spam, but this is really cool! Thank you for the integration!

Apologies for the spam, but this is really cool! Thank you for the integration!

thanks!
BTW are you signed up to github sponsors? I'd love to sponsor ruff

@MarcoGorelli - Thank you, that's super kind! I'm not signed up yet but I am considering it. I will let you know if I turn it on :)


A Docker-based interactive Jupyterlab powered by GPU for artificial intelligence in Galaxy

This PR adds a training material for image segmentation prediction using COVID CT scans in a Jupyterlab notebook. The Jupyterlab notebook is integrated into Galaxy Europe as an interactive tool. The standard Jupyterlab has been augmented with many features such as Git integration, Elyra AI, GPU support and runs inside a Docker container. Moreover, remote processing of long-running deep learning training tasks is also possible via running a Galaxy tool that uploads scripts and datasets to Galaxy history and executes scripts on a remote cluster. The entire analysis comes from the paper: https://www.sciencedirect.com/science/article/pii/S2666990021000069
Ground truth and predicted COVID CT scan masks:

Remote processing:

3D protein structure (for a shorter SARS-CoV-2 spike protein sequence of length 300)

A bit of work is still left for this tutorial such as the addition of another use-case of integration with AlphaFold2. Would love to get some comments from @kxk302 and others as well. Thanks!!
Edit on 25.03.22: It is ready to be reviewed.
ping @bgruening

This PR is ready to be reviewed. @kxk302 would you have time to review this? Thanks!

Hi @anuprulez
Yes, will do.

Sorry @anuprulez, did not get to review this today. Will review on Monday!
Have a great weekend.

@kxk302 no worries, have a nice weekend

Hi @anuprulez
I am trying to view your tutorial via gitpod (https://training.galaxyproject.org/training-material/topics/contributing/tutorials/gitpod/tutorial.html). If you look at instructions under 'Already have a fork of the GTN?'
you will see that your fork must have a main branch (not master) and it must be up-to-date. Could you please rename your master branch to main and make sure its up-to-date, so I can use gitpod to view your tutorial? Thanks!

@kxk302 if you check the very bottom left of gitpod you can change branches there to the one this PR is coming from.

@kxk302 I have updated the "master" branch in my fork to "main" (https://github.com/anuprulez/training-material) from which this current feature branch was created and this feature branch is also up-to-date with the galaxyproject/training-material:main.
I guess this should work :+1:

@kxk302 I have updated the "master" branch in my fork to "main" (https://github.com/anuprulez/training-material) from which this current feature branch was created and this feature branch is also up-to-date with the galaxyproject/training-material:main. I guess this should work 👍

Thanks @anuprulez !

@kxk302 was it possible for you to install the branch? thanks but I am not able to see your review comments here

@kxk302 was it possible for you to install the branch? thanks but I am not able to see your review comments here

@anuprulez if you go tutorial.md in Files Changed tab, you should see my embedded comments. Let me know if you have any issues

@kxk302 I am not able to see your comments. Here is the link to the file that I am looking at: https://github.com/galaxyproject/training-material/pull/3278/files?file-filters[]=.md&show-viewed-files=true&w=1

Also, Show comments filter is checked for this file but I don't see any comment. Do I miss something? Can you provide the line number of one of your comments? Thanks

@kxk302 thanks for reviewing the tutorial. I have added fixes for the review comments. I have added smaller sections for those that were bigger and organised them as more coherent sections. Would be happy to know your further suggestions.

@anuprulez the changes look great. Thank you!

can this be merged once the build passes? Thanks!

I'm halfway through ...

I'm halfway through ...

Please let me know if you have any further comments to be fixed/added :)

Thanks to all @bgruening @hexylena @kxk302


Trying to use malle with a fetch promise

Question / free support
I'm trying to use malle by sending a fetch request when the updated value is entered. Everything works fine, the backend is called, I get the expected response back, but in the frontend the cell content is changed to 'undefined'. I think it's because I may not have chained the promise correctly? Here's my code:
const malle = new Malle({
          // this is the function that will be called once user has finished entering text (press Enter or click outside)
          // it receives the new value, the original element, the event and the input element
          fun: (value, original, event, input) => {
              const inp_id = $(original).attr('id');
              console.log(`New text for ${inp_id} : ${value}`);

              // session_177_lr_1202_lrc_3747_player_5
              const elems = inp_id.split('_');

              const session_id = elems[1];
              const league_round_id = elems[3];
              const league_round_court_id = elems[5];
              const player_number = elems[7];

              // console.log(`Original element:`);
              // console.log(original);
                // add here your code for POSTing the new value
                // return myFunctionReturingAPromiseString();
                console.log("running fetch...");
                return fetch("/rrupdate/"+session_id+'/'+league_round_id+'/'+league_round_court_id+'/'+player_number+'/'+value, { method: "GET", "Content-Type": "application/json" }).then((response) => {
                                     if (response.status >= 400 && response.status < 600) {
                                       throw new Error("Bad response from server");
                                     }
                                     return response;
                                 }).then((returnedResponse) => {
                                    // Your response to manipulate

                                    returnedResponse.json().then((data) => {
                                            if (data.success) {
                                                console.log('received '+data.value);
                                                return data.value;
                                            }
                                            else
                                            {
                                               console.log('something went wrong...');
                                               alert(data.error);
                                            }
                                        }).then((val) => {
                                           // this is called and is a promise returning a string
                                            console.log("returning "+val);
                                            return val;
                                        })
                                 }).catch((error) => {
                                   // Your error is here!
                                   console.log(error)
                                 });
          },
        }).listen(); // directly start listening after object creation

Here's the console output:
New text for session_177_lr_1202_lrc_3747_player_5 : P11
running fetch...
received Player 11
returning Player 11

Any help is much appreciated.

You should start by simplifying your code to try and find where the issue is. Maybe try this code:
return fetch("/rrupdate/"+session_id+'/'+league_round_id+'/'+league_round_court_id+'/'+player_number+'/'+value, {
    method: "GET"
})
.then(response => {
    if (response.status >= 400 && response.status < 600) {
        throw new Error("Bad response from server");
    }
    return response.json();
})
.then(data => {
    if (data.success) {
        console.log('Received ' + data.value);
        return data.value;
    } else {
        console.log('Something went wrong...');
        alert(data.error);
        throw new Error(data.error);
    }
})
.catch(error => {
    console.log(error);
    throw error; // Rethrow to propagate the error
});

Thank you @NicolasCARPi  for helping me understand Javascript promises a bit better - it's working now !


Can you supply some demos?

Can you supply some demos?

I think It is a great to have demos.

@xilingit Take a look  https://github.com/JetBrains/kotlinconf-app/tree/master/android


Syncing from upstream zalando/patroni (master)

bt_gitbot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
11382

Relevant Lines:
11400

💛  - Coveralls


Remove page index check to allow lazy-loading dictionary pages

Should fix #219
Signed-off-by: Annanay Agarwal<EMAIL_ADDRESS>

@achille-roussel ping on this one, just checking if you got a chance to review!


Deploying Longhorn as multi-cluster app in rancher

When Longhorn is deployed as multi-cluster app in rancher, an auto generated namespace in the format of longhorn-p-xxxx is created, and longhorn components are deployed to it.

rancher/rancher#17913

Keep this open


Sqlite persistence is in fact EntityFramework persistence, rename?

Sqlite persistence is in fact EntityFramework persistence, may be it is a good idea to name it like this so people can use the database of their choice?

It is EF-sqlite so why change the name?

I think the point is that you could do a minor refactor and the same code would work for any EF supported database.

Yes, I think it can be generic, since it just needs DbContext

I've done some refactoring to the sqlite plugin and will soon upload a new PR for this.


x/review/git-codereview: package documentation for multi-commit branch workflow does not match behavior

The package documentation for git-codereview says:

The 'git codereview change' command amends the top commit in the stack (HEAD).

However, CL 20049 appears to have removed this behavior, instead stating that some combination git commit --amend and git rebase should be used instead.
I'd appreciate it if these docs were updated to better explain the current behavior (potentially with an example).
I'm working on a multi-change contribution, and am finding this a little bit confusing to figure out.

CC @adg (since he wrote the CL that changed the behavior)


Update social home page title

Motivation and Context
Content changes in response-operations-social-ui require a string change in the acceptance tests.
What has changed

Update social home page title in assertion

How to test?
Run against this branch of r-ops-social, all social tagged tests should pass https://github.com/ONSdigital/response-operations-social-ui/pull/19
Links
https://trello.com/c/yCnRVGM8/326-update-sel-ui-to-use-the-pattern-library-cdn
https://github.com/ONSdigital/response-operations-social-ui/pull/19

 SUS060: Update SEL UI to use the pattern library CDN


Decontextualize sentences

Data Augmentation via sentence decontextualization

Hi @ijindal, transformations should be able to augment training data - With a clear change in meaning, there's no guarantee for the transformation to keep the original label intact. Eg. this transformation performs SRL movement of modifier arguments - but removing them would cost us the meaning.

Okay @ijindal this transformation looks great now! I am merging this now. A couple of things - please add the relevant keywords and the robustness evaluation like other PRs to make the transformation stronger. Also, the last few lines related to test cases in transformation.py can be commented/deleted.

Thank you @timothy22000 for reviewing the implementation.


Sorting problems

This is a quite strange issue: I have two installations of biber, one for development builds in /opt/local/bin and a regular one in the path installed by MacTeX. Both are up to date, meaning version 2.7.
As I just noticed, these two installations of biber sort entries differently. Consider the following MWE

% !TEX TS-program = lualatex
% !BIB TS-program = biber
\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\usepackage[style=fiwi,]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{bib.bib}
@incollection{Muller.M:2014a,
Address = {Baden-Baden},
Author = {Müller, Martin},
Booksubtitle = {Zum Staatsverständnis in den klassischen Utopien},
Booktitle = {Idealstaat oder Gedankenexperiment?},
Editor = {Schölderle, Thomas},
Pages = {287--304},
Publisher = {Nomos},
Title = {Richard Rortys \emph{Contingency, Irony, and Solidarity} (1989)},
Year = {2014}}
@book{Marzin.F:1982,
Address = {Frankfurt a.,M.},
Author = {Marzin, Florian F.},
Publisher = {Peter Lang},
Subtitle = {Eine Gattungsstudie},
Title = {Die phantastische Literatur},
Year = {1982}}
\end{filecontents*}
\addbibresource{bib.bib}
\begin{document}
\cite{Marzin.F:1982,Muller.M:2014a}
\printbibliography
\end{document}

When I run biber from MacTeX on this, Müller gets sorted before Marzin (which is wrong); if I use my hand-installed biber it's sorted correctly.
The .log files do also differ. This from MacTeX

INFO - This is Biber 2.7
INFO - Config file is '/Users/simi/Library/biber/biber.conf'
INFO - Logfile is 'Untitled3.blg'
INFO - Reading 'Untitled3.bcf'
INFO - Found 2 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'bib.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'bib.bib'
INFO - Overriding locale 'de_phone' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Overriding locale 'de_phone' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Sorting list 'nyt/global/' of type 'entry' with scheme 'nyt' and locale 'de_phone'
INFO - Writing 'Untitled3.bbl' with encoding 'UTF-8'
INFO - Output to Untitled3.bbl

And this is the other one:

INFO - This is Biber 2.7 (beta)
INFO - Config file is '/Users/simi/Library/biber/biber.conf'
INFO - Logfile is 'untitled3.blg'
INFO - Reading 'untitled3.bcf'
INFO - Found 2 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'bib.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'bib.bib'
INFO - Overriding locale 'de_phone' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'de_phone' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'nyt/global/' of type 'entry' with scheme 'nyt' and locale 'de_phone'
INFO - Writing 'untitled3.bbl' with encoding 'UTF-8'
INFO - Output to untitled3.bbl

As you can see, there is a difference in the order the overridings take place, but I have no idea what is triggering this.

Could this be related to #152 ?

Hmm, someone reported a Unicode Collate issue
with Windows recently - the latest version installed into a site local location and so the build missed out all the locale files. Perhaps this impacts all platforms. What a pain. I'll look at it.

Hmm, I have tried your example using my local raw install, the latest 2.7 from SF and the latest MacTeX and I always get Marzin before Müller ... LC environment variables do you have set? Any biber config file with different settings?

That's really interesting. biber.conf in ~/Library/texmf includes the line  <sortlocale>de_phone</sortlocale>. Without this line, it sorts ok.
There are several things I don't get here:

I thought that the different German sorting schemes only concern how umlauts are treated in respect to non-umlauts, so in this case whether ü is treated as u or as ue. This shouldn't really influence my example.

Why does my own installation of biber ignore this.

And finally, why didn't I notice this before. I haven't changed biber.conf for years, and I am quite sure that I would have noticed such a fundamental sorting error.

Hmm, can you check for .confs in all of the searched locations? The search path is described in the biber PDF manual on page 12?
~/Library/texmf isn't one of the explicit paths (it's ~/Library/biber).

Sorry, my bad, I meant  ~/Library/biber.


More appropriate name for istiod-remote chart.yaml

Please provide a description of this PR:
Fixes #34700
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@frankbu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
9b1022441adbff635e4c1a8121e50c60a76c2ee9
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-multicluster-tests_istio

In response to a cherrypick label: new pull request created: #34719


MySQL Connection refused

This is a similar issue like #24
I have this yml file:
stages:
- build
- test
- deploy

# Variables
variables:
  DB_HOST: mysql-test
  MYSQL_DATABASE: laravel
  MYSQL_ROOT_PASSWORD: secret
  DB_CONNECTION: mysql

composer:
  image: lorisleiva/laravel-docker:latest
  stage: build
  script:
  - cp .env.gitlab-testing .env
  - composer install --no-progress --no-interaction
  - php artisan key:generate
  artifacts:
    paths:
    - vendor/
    - bootstrap/
    - .env
  cache:
    key: ${CI_BUILD_REF_NAME}
    paths:
    - vendor/
  tags:
  - docker

npm:
  image: lorisleiva/laravel-docker:latest
  stage: build
  script:
  - npm install
  - npm run prod
  artifacts:
    paths:
    - public/mix-manifest.json
  cache:
    key: ${CI_BUILD_REF_NAME}
    paths:
    - node_modules/
  tags:
  - docker

dusk:
  stage: test
  dependencies:
  - composer
  - npm
  tags:
  - docker
  cache:
    key: ${CI_BUILD_REF_NAME}
    paths:
    - vendor
    - node_modules
    policy: pull

  services:
  - name: mysql:5.7
    alias: mysql-test

  image: chilio/laravel-dusk-ci:latest
  script:
  - cp .env.dusk.gitlab-testing .env
  - cp phpunit.dusk.xml phpunit.xml # if you are using custom config for your phpunit tests in CI
  - configure-laravel
  - start-nginx-ci-project
  - php artisan dusk --colors --debug

  artifacts:
    paths:
    - ./storage/logs # for debugging
    - ./tests/Browser/screenshots
    - ./tests/Browser/console
    expire_in: 7 days
    when: always

And am getting the same connection refused errors when running this. I also tried to add a sleep and investigate this from the inside... From the inside everything looks good, but dusk is failing.
A bit more detailed here: https://stackoverflow.com/questions/53794231/gitlab-ci-dusk-mysql-connection-refused

@Sch-Tim probably because you don't have these variables:
 MYSQL_USER: user
 MYSQL_PASSWORD: secret

Remember that these values need to match your .env.
Note: mysql doesn't allow root to connect from remote host by default

Thanks for your response!
I followed your instructions, but without success.
Like in the past, PHPUnit tests run (still) perfectly.

My .dusk.gitlab-testing file looks now like this:
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

LOG_CHANNEL=stack
HEADLESS=true

DB_CONNECTION=mysql
DB_HOST=mysql-test
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=secret

My phpunit.dusk.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Feature">
            <directory suffix="Test.php">./tests/Feature</directory>
        </testsuite>

        <testsuite name="Unit">
            <directory suffix="Test.php">./tests/Unit</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./app</directory>
        </whitelist>
    </filter>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
    </php>
</phpunit>

I changed my variables part to this:
variables:
  DB_HOST: mysql-test
  MYSQL_DATABASE: laravel
  MYSQL_USER: laravel
  MYSQL_PASSWORD: secret
  MYSQL_ROOT_PASSWORD: secretroot
  DB_CONNECTION: mysql

While investigating this a bit further, I noticed another mysterious thing. When I use this .xml file php artisan dusk doesn't run my browser tests but my Unit tests.
When I change this:
        <testsuite name="Feature">
            <directory suffix="Test.php">./tests/Feature</directory>
        </testsuite>

        <testsuite name="Unit">
            <directory suffix="Test.php">./tests/Unit</directory>
        </testsuite>

to this:
        <testsuite name="Browser">
            <directory suffix="Test.php">./tests/Browser</directory>
        </testsuite>

It runs the Browser tests but with the connection refused errors.

This sounds strange. Few questions then:

What versions are you running (Laravel, this package, docker, gitlab, hosting)?
Can you make build stage using this package only to verify if it's not cross package issue?
Are you sure, that you don't have any other mysql instances named mysql-test in your gitlab environment?
If it still doesn't help, please tell me more, what have you verified on running instance after sleep? (BTW this is the right approach to track problems down)
As a last resort, please try to run builds and tests in one stage to eliminate complexity.
Let me know, I'll try to help...

And one more thing which I believe you should try first...
My questions are still valid, however in test stage you are overriding .env with your default one without app_key. If it is present from cache then you don't need to. If it's not present then something went wrong on build stage, and you can try to recreate it.
Hope it will lead you to solution...

Thanks for your help!
It turned out that the problem had nothing to do with any "common" problem.

I refresh and reseed my database in the setUp function. The problem was that I added the --database option and used a parameter which fit locally but of course not in the CI environment.
The tests are still running so I can't definitely say it works, but in the prior tries it needed about 15 seconds to rush through all tests. So it's a good sign.
Thanks again for your effort and sorry for the somehow wasted time.

Great to hear it works 👍


Content checks design upgrade: help text and separate cards

Fixes #12000

Splits a11y config.messages into separately configurable and translatable error_name and help_text. Help text is displayed both in the check panel and the userbar. Tests are updated accordingly.
Displays all a11y errors in separate updated cards instead of squashing them by violation type.

Before
After

Light theme

Dark theme

Note:
When resolving the conflict in userbar.py please remove periods (dots) from both error_name and help_text of the new Alt text rule - as per the latest designs.

@thibaudcolas - rebased onto main, docs updated


Implement high contrast mode

Fixes issue #13109.
https://user-images.githubusercontent.com/25604837/114038925-d065f000-9871-11eb-8dc0-bb628abfcdc7.mp4

/botio-linux preview

/botio-linux preview

/botio-linux preview

@Snuffleupagus  or @timvandermeij is this good to go? I'm hoping to do a mozilla-central update soon.

@Snuffleupagus or @timvandermeij is this good to go? I'm hoping to do a mozilla-central update soon.

Please note: I've not really tested the forced-colors part of the patch, and instead focused on ensuring that this doesn't break/regress the "normal" light/dark themes.
The latest preview addresses all my previous comments, and as far as I'm concerned it's good to to go now :-)
@brendandahl As far as I understand, you need to manually set layout.css.forced-colors.enabled = true in about:config in order for this patch to actually have an effect!?
Is that preference going to be toggled on for all Firefox users? If not, can we special-case it (on the mozilla-central side) to apply to code running at resource://pdf.js/web/viewer.html?

Is that preference going to be toggled on for all Firefox users? If not, can we special-case it (on the mozilla-central side) to apply to code running at resource://pdf.js/web/viewer.html?

It will soon on by default https://groups.google.com/g/mozilla.dev.platform/c/zwDaj0JMYjs


feat(autoScrollonMobile): #19

New feature for issue #18, issue #19
Code inspeciton is needed 👍

Thank you @cha2hyun  for this PR


As a user, I want to be able to search for items that are done and not done

Must-Have component
Some way to keep track of which items are done and which are yet to be done.
http://www.comp.nus.edu.sg/~cs2103/AY1617S2/contents/handbook.html#handbook-project-scope

Implemented with Completion class


Add relative timestamps to new message format

@guozhangwang Please take a look. I went ahead and converged the two timestamp paths. In doing so, I found an inconsistency in LogValidator which we can probably in a follow-up. I think it's reasonable to ask whether we should be overriding the max timestamp at all in the case of CREATE_TIME. An alternative is simply to reject the message if the max timestamp is not set correctly. I've kept the current behavior here, but I would actually prefer to be stricter in the message validation.


2.3 release.py sftp retries

Add retry capability to the cmd function in release.py. This allows for selectively retrying certain commands which might be flaky, like the SFTP puts.

Trying this for RC1 of 2.3.1, saw this during most recent run:
Uploading artifacts in /Users/david.arthur/Code/Confluent/prod/kafka/.release_work_dir/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream to your Apache home directory [u'sftp', u'-b', u'-'<EMAIL_ADDRESS>-->
put /Users/david.arthur/Code/Confluent/prod/kafka/.release_work_dir/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream/package-frame.html public_html/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream/package-frame.html

> ssh: connect to host home.apache.org port 22: No route to host
> Connection closed
>
Retrying... 2 remaining retries
Uploading artifacts in /Users/david.arthur/Code/Confluent/prod/kafka/.release_work_dir/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream to your Apache home directory [u'sftp', u'-b', u'-'<EMAIL_ADDRESS>> sftp>
> sftp> put /Users/david.arthur/Code/Confluent/prod/kafka/.release_work_dir/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream/package-frame.html public_html/kafka-2.3.1-rc1/javadoc/org/apache/kafka/streams/kstream/package-frame.html
>

and the script continues on.


Introduce conditional predicates to reduce number of directives

Closes #337

All these predicates make sense. But only having #single_line_only! and #multi_line_only! does invite pattern duplication.
I wonder how feasible (not for this PR) it is to go further than this. And have #desugar_if_single_line! and #desugar_if_multi_line! predicates with the following behaviour:

expected syntax #desugar_if_X_line! <capture> <catpure>*
semantics: in X line nodes, #desugar_if_X_line! @name @capture_1 @capture_n behaves as if we had written @capture_1 @capture_n where @name is in the query.

Example
(foo
   bar @sol
   (#desugar_if_single_line! @sol @append_space)
   (#desugar_if_multi_line! @sol @append_newline)
)

This makes @sol equivalent to @append_spaced_softline (I think).
We could consider the possibility to define #desugar_* statement at toplevel to apply to all patterns in the query file.

I've been thinking about similar stuff, but I don't think pattern duplication would happen that often.
I think that the spaced_softline directives currently are the only ones that would suffer this duplication if we rewrite them with #single/multi_line_only. We don't have to do that: it's OK to keep the spaced softline directives, even if we could rewrite them with #single/multi_line_only.

(by the way: the name “desugar” is not great, I suggest “expand” instead)
I'll reiterate that I don't want this PR to change, it is most likely to introduce a desirable feature. But I think that, contrary to your point, the choice of “what do I do when I'm single line vs multiline” is quite common. Central even to the whole engine design. There are all the spaced softline variants. There are things like “add a | if multiline, remove a | is single line”. Similar thoughts with terminal delimiters.
At any rate, from a language design perspective, saying that our primitives are not magic but can be defined in terms of a more fundamental construct is always a good thing. So I still believe that they are valuable. But, again, not for this PR.

I have noted that you do not think this PR should change.

But I think that, contrary to your point, the choice of “what do I do when I'm single line vs multiline” is quite common. Central even to the whole engine design.

I agree with that. My point is that the answer to "what do I do when I'm single line vs multiline ?” is often "nothing" in one case or the other. If only one context (single-line or multi-line) leads to an actual action, then I would argue that using #X_line_only! does not lead to pattern duplication. I would even rather have
(foo
   bar @do_something
   (#single_line_only!)
)

than
(foo
   bar @sol
   (#expand_if_single_line! @sol @do_something)
   (#expand_if_multi_line! @sol @do_nothing)
)

I don't think the CI fails because of the PR. I'll relaunch it after I get a review.
Speaking of which: this PR is now open for reviews.

Maybe we can say that (#{single,multi}_line_scope_only!) is (#{single,multi}_line_only!) + (#scope_id!), I hadn't thought about that. The problem is, #scope_id! is also used for scoped_softline directives, which means the predicates above and scoped_softline should always refer to the same scope_id when used together in a query. Maybe we want that, maybe we don't. I'm not sure at the moment.


Object reference not set to an instance of an object.

Since several weeks I am not able anymore to install new updates. It always fails with the error: 'Object reference not set to an instance of an object'.
Does anyone know how to fix this. I have uninstalled and reinstalled PSWindowsUpdate but without success.
As an example todays full verbose output is:
VERBOSE: PC (18.05.2024 09:37:48): Connecting to Microsoft Update server. Please wait...
VERBOSE: Found [1] Updates in pre search criteria
VERBOSE: Found [1] Updates in post search criteria
Get-WindowsUpdate: Something goes wrong: Cumulative Update for Windows 11 Insider Preview (10.0.22635.3640) (KB5037867); Object reference not set to an instance of an object.
Get-WindowsUpdate: Something goes wrong: Cumulative Update for Windows 11 Insider Preview (10.0.22635.3640) (KB5037867); Object reference not set to an instance of an object.
X ComputerName Result     KB          Size Title

VERBOSE: Accepted [0] Updates ready to Download
VERBOSE: Downloaded [0] Updates ready to Install
VERBOSE: Installed [0] Updates

I have the exact same problem

Ditto...

Hmm. Ran into errors today mentioning the same "Object reference not set to an instance of an object."
Before I found this GitHub issue, I found a forum post on AskWoody.com from April 2023 that may be related as well..
https://www.askwoody.com/forums/topic/updating-causing-problems-again/
I commented there as well (but post is "Awaiting Moderation")... Based on the OP's post there and some feedback from a Guest user later in the thread, I discovered something with recent versions (not sure how far back it goes)..
Although there are settings in the following registry key (and/or subkeys) that can exist without configuring the use of a WSUS server, it appears that at least Get-WUSettings from PSWIndowsUpdate results in the above error if any configuration values are present in the key/subkeys if "UseWUServer" is not configured one way or the other (0 - NotUse WSUS, 1- Use WSUS)..
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
I had one or more settings configured already via registry/ADMX/GPO at the above location, but had not configured the setting defining if a WSUS server should be used or not.
The moment i created:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
UseWUServer
and set it to either 0 or 1, no more "Object reference not set to an instance of an object." errror.

Same issue in my update script for always the same KB id: KB2267602
I installed the update manually, the error went away.
The next day, the error re-appeared.
@bilemke I don't have that registry key at all: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
My script output:
Line |
 172 |      Get-WindowsUpdate -Install -AcceptAll
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Something goes wrong: Security Intelligence-Update für Microsoft Defender Antivirus – KB2267602 (Version 1.413.720.0) – Aktueller Kanal (Allgemein); Object reference not set to an instance of an object.
Get-WindowsUpdate: C:\system-config\system-update-core.ps1:172
Line |
 172 |      Get-WindowsUpdate -Install -AcceptAll
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Something goes wrong: Security Intelligence-Update für Microsoft Defender Antivirus – KB2267602 (Version 1.413.720.0) – Aktueller Kanal (Allgemein); Object reference not set to an instance of an object.

Same here.
VERBOSE: Found [3] Updates in post search criteria Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: Windows Malicious Software Removal Tool x64 - v5.126 (KB890830); Object reference not set      | to an instance of an object. Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: Windows Malicious Software Removal Tool x64 - v5.126 (KB890830); Object reference not set      | to an instance of an object. Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: 2024-07 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2      | for x64 (KB5039895); Object reference not set to an instance of an object. Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: 2024-07 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2      | for x64 (KB5039895); Object reference not set to an instance of an object. Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: 2024-07 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5040442);      | Object reference not set to an instance of an object. Get-WindowsUpdate: D:\Windows Locations\Documents\Scripts\updateAndShutdown.ps1:39 Line |   39 |          Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Verbose      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | Something goes wrong: 2024-07 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5040442);      | Object reference not set to an instance of an object.

I had this issue on 1 Windows 11 PC last month.  Didn't affect the Windows 10 PCs at all.  This month most of the Windows 11 PCs across 3 sites are doing it.  The only option that I have set in the registry for this is to disable the automatic updates.  I tried adding the WSUS parameter and set it to zero.  Still get the same error.  I tried removing the entire key and the error persists.  Something that MS did most likely broke it.
PS C:\Windows\system32> Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot                                 Install-WindowsUpdate : Something goes wrong: 2024-05 .NET 7.0.20 Security Update for x64 Client (KB5039844); Object    reference not set to an instance of an object.                                                                          At line:1 char:1                                                                                + Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot                                                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                           + CategoryInfo          : CloseError: (:) [Get-WindowsUpdate], Exception                                                + FullyQualifiedErrorId : Debug,PSWindowsUpdate.GetWindowsUpdate                                                                                Install-WindowsUpdate : Something goes wrong: 2024-05 .NET 7.0.20 Security Update for x64 Client (KB5039844); Object    reference not set to an instance of an object.                                                                          At line:1 char:1                                                                                + Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot                                                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                           + CategoryInfo          : CloseError: (:) [Get-WindowsUpdate], Exception                                                + FullyQualifiedErrorId : Debug,PSWindowsUpdate.GetWindowsUpdate                                                                                Install-WindowsUpdate : Something goes wrong: Windows Malicious Software Removal Tool x64 - v5.126 (KB890830); Object   reference not set to an instance of an object.                                                                          At line:1 char:1                                                                                + Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot                                                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                           + CategoryInfo          : CloseError: (:) [Get-WindowsUpdate], Exception                                                + FullyQualifiedErrorId : Debug,PSWindowsUpdate.GetWindowsUpdate                                                                                Install-WindowsUpdate : Something goes wrong: Windows Malicious Software Removal Tool x64 - v5.126 (KB890830); Object   reference not set to an instance of an object.                                                                          At line:1 char:1                                                                                + Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot                                                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Same here, any news on how to fix this ?

Same problem here, any news on how to fix it ?
Your stuff didn't work for me @bilemke

@braxtoon-hash Have you seen this yet? Rollback instructions from MS #27 (comment)

Thanks i'll look into that

Updating PSWindowsUpdate to version <IP_ADDRESS> resolved the issue for me.

I still get this issue in <IP_ADDRESS> unless HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer exists.

Downloading and applying KB5040527 from the Microsoft Update Catalog resolves this issue.

Downloading and applying KB5040527 from the Microsoft Update Catalog resolves this issue.

Isn't that just a Win11 update? I am experiencing the problem on Win10 22H2 19045.4780.


youtrack: 2022.3.65371 -> 2023.1.17582

Description of changes

https://www.jetbrains.com/youtrack/whatsnew/
Since JetBrains has deprecated JAR packaging (we used that),
I changed the packaging to use the included ZIP (JetBrains Launcher), renamed the youtrack package to youtrack_2022_3 and add a new package youtrack_2023_1. The module uses state paths by major version now and requires manual update as (1) we can't ensure that any migration script can do this automatically (2) YouTrack may requires a new license if a user updates (3) A major update requires manual interaction anyways.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

I'm not really happy with the solution, but I don't have a better one. Also not 100% sure if the configuration options really work that way as the docs confuse me.

Finally I now bumped this to 2023.2 and tested it:

[x] migration from current nixpkgs master 2022.3 -> this branches 2022.3 works
[x] migration from 2022.3 -> 2023.2 works (with manual interaction)
[x] migration within 2023.x works without manual interaction

I didn't test the explicit youtrack settings, as something seems cursed with that. The easy services.youtrack.address, services.youtrack.port settings work.

Updated now to 2023.3

Also integrated some more warnings and option migrations now.

Added one more warning about the deprecation of services.youtrack.extraParams.

do you want to wait until @dasJ re-reviewed, or can I merge this?

If @dasJ want to review it, I would wait for it :) Otherwise you can probably merge

I moved the packages to pkgs/by-name and removed an unnecessary version check in the module


guide

@omshinde please look into it now. I have uploaded it again

Thank you. Reviewing the notebook now.

the file name is maapcopcguide (2).ipynb
that is probably not intentional?

also you may need to update a table-of-contents file somewhere to link this in, unless it's a direct update


Finding the Minimum Spanning Tree in C++, Python

Problem Statement
Finding the Minimum Spanning Tree in a weighted graph using Kruskal's Algorithm.
Solution Algorithm

Sort all the edges from low weight to high
Take the edge with the lowest weight and add it to the spanning tree. If adding the edge created a cycle, then reject this edge.
Keep adding edges until we reach all vertices.

Kindly assign me this issue under SSoC'23. I would like to contribute by solving this problem.

@Kumar-laxmi kindly assign this issue to me.

@Kumar-laxmi ? Did this issue get accidentally skipped or it has something wrong ?


Overall achievement progress not working

Describe the bug
The progress bar” does not work properly / does not update properly.
To Reproduce
Steps to reproduce the behavior:

Select a game
Go to achievements
Unlock achievement
See error -> no change in progress

Expected behavior
Progress should change.

Jup, that's a bug. I assigned you, so can you have a look into it?


Add .gitignore file to this repository

Hey , can you please assign this to me ? I would love to work on this

@sid172014 assigned.

Hey ive added gitignore and made a pull request can you please have a look?...

give a star to this repo. Thank You


The model to consider.
[https://huggingface.co/openai-community/](https://huggingface.co/CohereForAI/c4ai-command-r-v01-4bit
The closest model vllm already supports.
https://huggingface.co/CohereForAI/c4ai-command-r-v01
What's your difficulty of supporting the model you want?
No idea if vLLM supports this type of quantization, but if its possible would be eternally grateful for the model support, as one will become able to run it even on weaker setups.

This is using bitsandbytes...not really sure why you'd want to run this in production.

This is using bitsandbytes...not really sure why you'd want to run this in production.

Hi, any problem using bitsandbytes in production?  Can u explain in detail so we can avoid pitfalls.

Command-R is already supported and vLLM supports various quantisation schemes GPTQ, AWQ, SqueezeLLM.
If you need bitsandbytes support, there is already a request for this in #4033


Enforce dynamic modal dimensions

Resolves
Issue #160
What's new
This removes unnecessary white-space  from modals by ensuring that the height of the modal depends entirely on the height of its contents plus padding.
Relevant screenshots or logs

I get just an overlay after I click the next button on the "Next" button on the send page.

The buttons on the modals should be center aligned.


Modify Functions according to the API responses.

I want to delete the node only on the API response of 200.
As I right-click on the node, a cross icon appears and as I click on the cross icon, connection gets break.
I want to hit the API on the right click on the node, and if the API response is 200 then this function should execute, otherwise not!
registerEvents(editor: any) {
editor.on('nodeRemoved', (id) => {
console.log('Node removed ' + id);
}
});
So, please provide the function which calls on the right click of the node and a cross button appears and how can I do this in Angular.
and the same thing I want to do with connection line

View

#10


Containing war/ear not reported with vulnerabilities when contents are

We're using OWASP Dependency-Check Plugin 3.1.1 (Dependency-Check Core 3.1.1).
When we scan a directory containing jars, wars, and ears, any jars with vulnerabilities are reported, but when the same jar is contained in a war or ear that war/ear is not reported as having any vulnerabilities. Is this by design? Is there any configuration option to affect this?
Thanks!

ODC should be interrogating the contents of the WAR/EAR as well. Couple of question:

Can you provide the exact command line you are using to scan a WAR where the dependency is not identified?
Assuming you are using the CLI - can you add --log dc.log to the command line and provide the log file?


Fix outline-dark buttons in dark mode to be more readable

This is mostly targeting the "break reservation" button on the zoom page in dark mode, but will apply for any button styled with btn-outline-dark while the user is on the dark theme. btn-dark (for example the drop button) isn't as badly affected, so I'm leaving that alone for now.

Codecov Report

Merging #651 (e342d6b) into master (375286b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #651      +/-   ##
===========================================
- Coverage      5.07%   5.06%   -0.01%
- Complexity     2348    2349       +1
===========================================
  Files           172     172
  Lines         11636   11641       +5
===========================================
  Hits            590     590
- Misses        11046   11051       +5

Impacted Files
Coverage Δ
Complexity Δ

includes/Helpers/IrcNotificationHelper.php
0.00% <0.00%> (ø)
36.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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

Codecov Report

Merging #651 (e342d6b) into master (375286b) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #651      +/-   ##
===========================================
- Coverage      5.07%   5.06%   -0.01%
- Complexity     2348    2349       +1
===========================================
  Files           172     172
  Lines         11636   11641       +5
===========================================
  Hits            590     590
- Misses        11046   11051       +5

Impacted Files
Coverage Δ
Complexity Δ

includes/Helpers/IrcNotificationHelper.php
0.00% <0.00%> (ø)
36.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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


Create options not supported

Hi all,
I didn't find a way to set creation options for new raster datasets. In a local copy of the repo I implemented it like this:
pub struct RasterCreationOption<'a>{
    key : &'a str,
    value : &'a str,
}

// in the impl block for Dataset:
//
    pub fn create_with_band_type_with_options<T: GdalType>(
        &self,
        filename: &str,
        size_x: isize,
        size_y: isize,
        bands: isize,
        options: Vec<RasterCreationOption>,
    ) -> Result<Dataset> {

        // process options:
        let mut options_c = null_mut();
        for option in options{
            let psz_name  = CString::new(option.key)?;
            let psz_value = CString::new(option.value)?;
            unsafe{
                options_c = CSLSetNameValue(options_c, psz_name.as_ptr(), psz_value.as_ptr());
            }
        }

        let c_filename = CString::new(filename)?;
        let c_dataset = unsafe {
            gdal_sys::GDALCreate(
                self.c_driver,
                c_filename.as_ptr(),
                size_x as c_int,
                size_y as c_int,
                bands as c_int,
                T::gdal_type(),
                options_c as *mut *mut i8,
            )
        };
        if c_dataset.is_null() {
            return Err(_last_null_pointer_err("GDALCreate"));
        };
        Ok(unsafe { Dataset::from_c_dataset(c_dataset) })
    }

and I use it like:
    let driver = Driver::get("GTiff").unwrap();
    let options = vec![RasterCreationOption{key:"COMPRESS", value:"LZW"} ,
                       RasterCreationOption{key:"TILED", value: "YES"}] ;
    let mut dataset = driver
          .create_with_band_type_with_options::<u8>("testing.tif",
             2048,
             2048,
             1,
             options)
          .unwrap();
}

And it seems to do what I want. I'm not sure if the implantation is safe/correct since I'm still new to rust. If you are interested I can create a PR for this (or improved with some guidance)?

Yeah, that looks reasonable for a start, so a PR would be great.

Test in #193 are passing now. Didn't know that the dataset had to be dropped before the metadata could be read.

closed. See #193.


Create YouTube account for posting videos

Account: QuickSilver
Channel: Silver Experience

I created an account using my Microsoft email and added channel for Silver Experience


Is it possible to start multiple netopeer2 servers in the same Linux machine?

Hi,
I need to run different netopeer2 servers (each server with a different port and ip address) in the same machine. It is possible? Someone has done it and knows how to do?
Thank you,
Laura.

Hi Laura,
you should not need to do this and it is not possible. You can configure one server with many addresses and ports (look into netopeer2/server/configuration/README.md).
Regards,
Michal

Hi Michal,
Thank you for the information.
Best regards,
Laura

Hi @michalvasko,
Can you give me an example? I am modifying stock_config.xml but the port is not changed.
Thanks,
L.

Hi Laura,
after you correctly set up netopeer2-server (it prints information about parsing some configuration nodes) all you need to do is change its configuration. The simplest way of doing that is probably using sysrepocfg
sysrepocfg -d startup -f xml -e vim ietf-netconf-server

Just modify the data according to the model and after server restart (it is needed because you modified only startup datastore this way, not running) it should listen on additional interfaces you specified. You can also accomplish the same thing using an <edit-config>.
Regards,
Michal

Hi Michal,
Thank you so much! Are always very helpful.
Best regards,
L.

Hi Michal,
Finally it works. Thanks for the support.
Laura.

Hi, May i still ask this question again ? Is there any changes on this question ? or  where to check netopeer2/server/configuration/README.md file, it seems that there is no server folder now, thanks

Please look into the main README.md file (netopeer2/README), section Server configuration.

Really thanks


docs/linux: add references to syzkaller build instructions

In the various linux build instructions, add pointers to the main
doc with instructions for building syzkaller.
These instructions were present before commit d23e90a7b44b ("all:
switch to Go 1.12"). They were duplicated across files. Since the
commit the instructions are in one place. Make it easier to find
them from the platform-specific setup guides.
Also clarify in the x86_64 guide that using a precompiled compiler
from the supplied list is optional if the distribution provided
compiler is recent enough. Before commit d28f4ce ("Update
setup_ubuntu-host_qemu-vm_x86-64-kernel.md") the file had explicit
build instructions. Those are no longer needed.

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

Codecov Report

Merging #1270 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1270   +/-   ##
=======================================
  Coverage   67.48%   67.48%
=======================================
  Files         120      120
  Lines       21005    21005
=======================================
  Hits        14175    14175
  Misses       6156     6156
  Partials      674      674

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 55565fa...899d5d6. Read the comment docs.

Thanks for fixing this!


Really more of just a question.

Let's say I may of accidently clicked X on all my likes, is there a way for them to reappear? Is it over time or are they gone forever?

By clicking X, I believe you passed them. However, if you deleted you localstorage for tinder.com, they might reappear.
https://www.howtogeek.com/664912/how-to-clear-storage-and-site-data-for-a-single-site-on-google-chrome/

yes thank you that worked!


Night CI 2024-01-04: Failed

action url: https://github.com/spidernet-io/egressgateway/actions/runs/7414225785

same with #1110


I think a cps/click counter would be very cool!

Basically, it would be like megahack where it would show the CPS and if you want to (optional) you could add the total clicks in the level as well.
Very similar to megahack.
Have a great day! (dont do this if busy). Just an idea as always and OpenHack is already amazing!
Have an amazing day

Bro its literally in the menu rn just go to labels


How can a version manager FOR node work if it is written IN node?

Do I need to install avn in every single node environment on my system, and then remember to keep them all up to date?

@macgyver no. avn installs itself in ~/.avn and adds a startup script to your shell's init script, usually ~/.bash_profile that sources a shell script. When you cd to a directory, a small shell script shim will check to see if there's a .node_version or .nvmrc file in the current directory & kick off a node process that does some work to figure out how to activate the right version of node via the right version manager. This info is transferred back to that shell script that then executes the proper commands.
So it's really written more in shell scripting with a utility library written in node.

how does the shell script know which environment the node process has been installed in? For example, say I'm using nvm to switch between environments, and I switch away from the node environment where I've installed avn. If I cd to a directory with a .nvmrc, will the node process run in the version where avn exists, or in the one I've switched to using nvm?

It will use the node that was available before the switch. When using nvm or n, this is usually activated during your shell's initialization script.
The details of the implementation & what version of node it uses don't change whether or not it's capable of switching versions for you. If the design choices are bad, they can be replaced in a future version of avn & users wouldn't notice any difference.


Setting up submodules in setup doesn't work correctly with DDP

🐛 Bug
When setting up part of the module in setup while using DDP, loading the checkpoint here reports unexpected keys for all submodules that are initialized in setup.
https://github.com/Lightning-AI/lightning/blob/fafd2546782c8d2c249c9d7546f74b416e803af7/src/pytorch_lightning/strategies/launchers/multiprocessing.py#L151
Similar to https://github.com/Lightning-AI/lightning/issues/5410
To Reproduce
Made only two changes, marked with ### HERE ###.
import os

import torch
from torch.utils.data import DataLoader, Dataset

from pytorch_lightning import LightningModule, Trainer

class RandomDataset(Dataset):
    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    ### HERE ###
    def setup(self, stage):
        self.foo = torch.nn.Linear(32, 3)

    def forward(self, x):
        return self.layer(x)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("valid_loss", loss)

    def test_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("test_loss", loss)

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

def run():
    train_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    val_data = DataLoader(RandomDataset(32, 64), batch_size=2)
    test_data = DataLoader(RandomDataset(32, 64), batch_size=2)

    model = BoringModel()
    trainer = Trainer(
        default_root_dir=os.getcwd(),
        limit_train_batches=1,
        limit_val_batches=1,
        limit_test_batches=1,
        num_sanity_val_steps=0,
        max_epochs=1,
        enable_model_summary=False,
        ### HERE ###
        devices=2,
    )
    trainer.fit(model, train_dataloaders=train_data, val_dataloaders=val_data)
    trainer.test(model, dataloaders=test_data)

if __name__ == "__main__":
    run()

Expected behavior
Should not report any errors.
cc @justusschock @kaushikb11 @awaelchli @akihironitta @rohitgr7

Hey, @kabouzeid - Thank you for the issue! Can you try the same code, with strategy="ddp" in the Trainer class instantiation?
trainer = Trainer(
        default_root_dir=os.getcwd(),
        limit_train_batches=1,
        limit_val_batches=1,
        limit_test_batches=1,
        num_sanity_val_steps=0,
        max_epochs=1,
        enable_model_summary=False,
        # Add strategy here
        strategy="ddp",
        ### HERE ###
        devices=2,
)

By default, if devices>1, it uses ddp_spawn strategy. cc: @rohitgr7 can shed more light on this :)

Yep, this is indeed an edge case we haven't thought about I guess. So the thing here is, the main process doesn't call setup(), only the worker processes do (ddp_spawn). This is the expected behavior. But in ddp spawn, when the training finishes, we want to bring the weights back to the main process, where the user can use the trained model. Then, if the main process doesn't have the same layers as the model in the worker process, we get a mismatch. We have some options:

User needs to call setup() manually in the main process. Not optimal, and doesn't mix well with other strategies.
We only load the weights we can, and ignore the rest. We show a warning. User can't expect the full weights to be reloaded, because only a part of their model exists.
Recommend user to run with ddp instead of ddp_spawn (best option imo).

Let me know what you think.

I am currently encountering this issue, unfortunately setting up dummy layers in my main process (equivalent to calling setup in main but without cuda support) results in sigsevs in the child processes when setup is run there.  I am restricted to using ddp_notebook as I am using Jupyter to run my model, hence the need to run setup() to create GPU agnostic layers in the first place.  I would like this model to be easily run by anyone, but the large error thrown at the end of training is a little user unfriendly...
I have no issue loading up the checkpoint in another cell with a new trainer instance and testing the model, so fixing this issue is simply a quality of life improvement, I plan on just swallowing this specific error since it occurs every time.
However, I suggest allowing us to pass in a flag to the trainer of some sort to allow setting this line to use the strict=False flag.  That way Jupyter-Notebook users can Trainer.fit their modules without seeing this error if they are setting up parts of their model in setup().

 # TODO: pass also best score         # load last weights         if worker_output.weights_path is not None:             ckpt = self._strategy.checkpoint_io.load_checkpoint(worker_output.weights_path)             trainer.lightning_module.load_state_dict(ckpt) # <----- add option for strict=false             self._strategy.checkpoint_io.remove_checkpoint(worker_output.weights_path)

We have exactly the same issue  (cc @adamgayoso) when using Pyro models which create all parameters (guide) during setup: https://github.com/scverse/scvi-tools/blob/3b687c029d2f8c6fb9a37f860b97b18c24614ebd/scvi/model/base/_pyromixin.py#L61-L74 .
I also don't know where the checkpoints are saved (random directory) so I don't see any way to load the trained model.
Would be great if this is addressed using Trainer(ddp_load_state_dict_strict=False) option as suggested above.

We have exactly the same issue  (cc @adamgayoso) when using Pyro models which create all parameters (automatic variational distribution, eg. this guide) during setup: https://github.com/scverse/scvi-tools/blob/3b687c029d2f8c6fb9a37f860b97b18c24614ebd/scvi/model/base/_pyromixin.py#L61-L74 .
I also don't know where the checkpoints are saved (random directory) so I don't see any way to load the trained model.
Would be great if this is addressed using Trainer(ddp_load_state_dict_strict=False) option as suggested above - or to address this in any other way - because it will enable to easily train automatic guide Pyro models with PyTorch-Lightning (cc @fritzo).


Fix: Update readme to show link to previous version docs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[pytket-quantinuum] Catch ValueError for uvloop

When using nest_asyncio in the context of alternative event loops such as uvloop, nest_asyncio.apply() will raise a ValueError rather than a RuntimeError. For example:
ValueError: Can't patch loop of type <class 'uvloop.Loop'>

This commit adds ValueError to the except block in pytket-quantinuum to ignore this error and continue.

https://github.com/MagicStack/uvloop/issues/405 There is an issue for supporting nest_asyncio in uvloop, but it seems unlikely that someone running pytket-quantinuum with uvloop as the current event loop would want to apply the patch.


Parity trait

Move the parity method to a private trait that is then implemented (with the default implementation) for the SWUMap.
This achieves a few goals:

It makes the parity() method contained within the SWU module.
Allows for an easy refactor, should parity() be ever needed in a wider context in the future.
Tests for parity can be contained in SWU module as well.

Description

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[x] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

:+1:


how to specify multiple etcd nodes on command line

Using confd 0.12.0-dev and i see that it looks like i can specify multiple nodes in the config file but i can not seem to be able to do the same from command line option of --node
this obviously works:
/opt/bin/confd -interval 5 -backend etcd -node=http://xxx.xxx.xxx.xxx:2379

i have tried:
/opt/bin/confd -interval 5 -backend etcd -node=http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379
/opt/bin/confd -interval 5 -backend etcd -node="http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379"
/opt/bin/confd -interval 5 -backend etcd -node=[http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379]
/opt/bin/confd -interval 5 -backend etcd -node="[http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379]"

all of which gives me:
ERROR client: etcd cluster is unavailable or misconfigured

i didn't see anything in the doc but wanted to check i am doing something that is possible.

The following should work:
/opt/bin/confd -interval 5 -backend etcd -node http://xxx.xxx.xxx.xxx:2379
-node http://yyy.yyy.yyy.yyy:2379
kiich<EMAIL_ADDRESS>schrieb am Fr., 14. Okt. 2016, 14:02:

Using confd 0.12.0-dev and i see that it looks like i can specify multiple
nodes in the config file but i can not seem to be able to do the same from
command line option of --node
this obviously works:
/opt/bin/confd -interval 5 -backend etcd -node=http://xxx.xxx.xxx.xxx:2379
i have tried:
/opt/bin/confd -interval 5 -backend etcd -node=http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379
/opt/bin/confd -interval 5 -backend etcd -node="http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379"
/opt/bin/confd -interval 5 -backend etcd -node=[http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379]
/opt/bin/confd -interval 5 -backend etcd -node="[http://xxx.xxx.xxx.xxx:2379,http://yyy.yyy.yyy.yyy:2379]"
all of which gives me:
ERROR client: etcd cluster is unavailable or misconfigured
i didn't see anything in the doc but wanted to check i am doing something
that is possible.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kelseyhightower/confd/issues/493, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQFc8-LhZRBP40zjaY_SAlDjcAfesngRks5qz285gaJpZM4KW707
.

@HeavyHorst Ah nice one! So simple when you know how :-)
Working great. thanks for the quick help.


docs: improve document for setChecked(), setSelected() and setValue()

This is related to #700 and #729.

Thank you for pointing out.
I changed them.


groups: fix icon position/size for mobile nav

OTT
Also updates the "Discover" icon to match the Figma mock.

Fixes LAND-1074

Fixes LAND-1074


for #43320 Changed gen_lut params from std::function to function pointer

See https://github.com/tensorflow/tensorflow/pull/43320
Changed gen_lut params from std::function to function pointer

Looks good to me! Just need to wait for @advaitjain 's review. Thanks again for providing the fix!


Ignore more temporary files

Editor swap files are the worst if they pollute your repo. Please merge this trivial fix.

a sad tale indeed
the tiniest fix is paused
awaiting your touch

Done! Which editor is that, btw?

vim writes a .filename.swp file to disk every time you open a file, an "editor swap file" where it records non-saved edits and other session information.

And thank you for merging my long-standing PR!
🏆 🥇 ⭐


Add class=marker to note markers

See https://www.w3.org/StyleSheets/TR/2021/README#boxes

Happy to accept this, but mind running bikeshed test --rebase to update the tests so the build won't fail?

Done!


Update Mixpanel.podspec

Fixes #870

hi @gligorkot , the deployment target needs to be changed as well. I will take care of it, thanks for bringing this up.

@zihejia good point, sorry I tried a quick fix, but not enough.

#892 is my second attempt at getting this fixed.


[FEATURE] Support for custom links

Good evening,
A problem I see appearing for the project is that adding new models becomes kinda tedious. So I propose instead of constantly adding more models to just add a "Download" section. You just enter a direct download link to the non-compressed files and it will automatically add them to the folder.

👍🏻 For adding this. May be worth also adding support for HTTP/HTTPS proxy while we are at it. @nsarrazin

Maybe while your add it, it would be possible to implement something like a source repository with the links?
Like, make the app fetch a request to a repository that has labels [Alpaca 13B, https://some_url ], [some_other_model, some_other_url], and get the URL of the place it needs to download from, and then download it from that URL.  It would allow for easy adding of custom models into the repository.

This is a neat idea.
dreaming a bit:
We could have a repo list with officially "supported" models included with a default repo. But allow for folks to add their own repo's with their own lists and even remove the default repo if they don't want it.
...maybe have a disclaimer though that the project only supports the default repo's and have a button to restore the default repo so we don't get extra tickets asking for the default repo. :)

👍🏻 For adding this. May be worth also adding support for HTTP/HTTPS proxy and custom CA while we are at it. @nsarrazin

I’ve seen other projects do this and it creates a lot of complications for folks already running their own reverse proxy/Cert issuer.
If this does gain traction, recommend creating a flag that disables/enables it. Allows folks with their own infrastructure to easily add this in.

This is now supported in tag 0.3.0 :-)

Example models JSON file: https://github.com/serge-chat/serge/blob/main/api/src/serge/data/models.json


[7771] - lock rubyzip until 3.0 release

Context
Update/review really old gem rubyzip
Changes proposed in this pull request
locks to 2.3.x, (migration to 3.0.0 when rubyzip is out of alpha)

Not sure about locking it down, I see locking it down means we will forget, and before we know it had snowballed.
Perhaps we should just allow it to break when gem is released and fix it then.
deferring to @tomtrentham
Out of interest where does this zip thing getting used?

its got super small use case. Basically in a fallback situation where we manually upload the HESA xml file, if we upload it as zipped, then the app/services/hesa/sync_students.rb will need to unzip it. Basically its never used.

@defong  so just wait for dependabot to attempt an upgrade? I'm good with that


Revert "Merge pull request #437 from kksys/renovate/typescript-5.x"

This reverts commit 96da1d44aa5762b639ab467521cac34462148757, reversing changes made to 3826507e0e0fb2c76ef324e4da71226e2c21dd4e.

/approve


Add tomato basil spaghetti recipe

Fix #19

Thanks so much. Really nice recipe. But how about the salt amount? Should we not reduce it?


Strange behavior when opening a cam while a file is being processed

When you read and process a file and then open a camera (successfully), the processing looks normal but some ui parts are weird, notably the frame progression slider.

Seems fixed Link to PR


allow to override rules (customizing react-native component)

@ntcong91 This is great...
might be good if you write an example for this feature as well..
However, give me time to test this branch first before merging this PR.
thanks,


Pre-Launch coordination for Go electric production

As a [description of user]?
As a
I want to [functionality]
A clear and concise description of what you want to happen. Ex. I want to share my feedback about climate topics with government online [...]
So that [benefit]
How will this benefit the overall product goal?
Additional context
Add any other context, attachments or screenshots
Acceptance Criteria

Nate to coordinate with Jeff on moving that development site into production day of.

I have briefed Jeff that the site will go into production on June 27 at the earliest. My current information has this happening "June 27 or later" so I have let him know there is some uncertainty regarding the actual timing. Once we have a firm date I will follow up with him to schedule in something more exact.


Azurite alway return 400 when use sasUrl generate by Azurite

Which service(blob, file, queue, table) does this issue concern?
Blob and file
Which version of the Azurite was used?
3.29.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
What problem was encountered?
Azurite alway return 400 bad request.
I use the Azure SDK(.net core: Azure.Storage.Files.DataLake SDK) call Azurite, if I use sasUrl which is generated by Storage the code works well, but if I use the sasUrl generate by Azurite, Azurite will return 400.
Steps to reproduce the issue?

start Azurite   azurite -L --skipApiVersionCheck  --silent --location c:\azurite --debug c:\azurite\debug.log
Generate sasUrl

DataLakeSasBuilder builder = new DataLakeSasBuilder();
builder.SetPermissions(DataLakeSasPermissions.All);
builder.ExpiresOn = DateTime.UtcNow.AddDays(1);
builder.Resource = "d";
builder.Protocol = SasProtocol.Https;
builder.IsDirectory = true;
Uri uri = client.GenerateSasUri(builder);

call Azurite
var client = new DataLakeDirectoryClient(sasUrl, dataLakeClientOptions);
DataLakeFileClient file = client.GetFileClient(path);
file. xxxx

If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
2024-04-24T08:51:37.871Z 4c638e1a-c673-4a66-ab74-f639b9e872ed error: ErrorMiddleware: ErrorName=UnsupportedRequestError ErrorMessage=Incoming URL doesn't match any of swagger defined request patterns.  ErrorHTTPStatusCode=400 ErrorHTTPStatusMessage=undefined ErrorHTTPHeaders=undefined ErrorHTTPBody=undefined ErrorStack="UnsupportedRequestError: Incoming URL doesn't match any of swagger defined request patterns.\n    at dispatchMiddleware (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\dist\src\blob\generated\middleware\dispatch.middleware.js:41:30)\n    at C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\dist\src\blob\generated\ExpressMiddlewareFactory.js:50:47\n    at Layer.handle [as handle_request] (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\layer.js:95:5)\n    at trim_prefix (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:328:13)\n    at C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:286:9\n    at Function.process_params (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:346:12)\n    at next (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:280:10)\n    at blobStorageContextMiddleware (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\dist\src\blob\middlewares\blobStorageContext.middleware.js:137:5)\n    at C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\dist\src\blob\middlewares\blobStorageContext.middleware.js:15:16\n    at Layer.handle [as handle_request] (C:\Users\luyue\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\layer.js:95:5)"
2024-04-24T08:51:37.871Z 4c638e1a-c673-4a66-ab74-f639b9e872ed error: ErrorMiddleware: Set HTTP code: 400
-d "<pathtodebuglog>"

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
No
Could you help investigate why the Azurite always return 400?

@luyue14
The sas you generated is with "DataLakeSasBuilder", it's datalakegen2 SAS. And you can calling datalakeGen2 API with " DataLakeDirectoryClient".
Azurite still not support datalakeGen2, so this does not work in Azurite.
From Azurite ReadMe file, you can see only blob, queue, table are supported.
We already has items to track datalakeGen2.
https://github.com/Azure/Azurite/issues/553
https://github.com/Azure/Azurite/issues/409


Support options for automated conversion of casings

Currently, all code is converted to the appropriate casing, e.g. functions in JavaScript are converted to camel case, while they are snake case in Python.
However, this is sometimes not what you want. For example, not all programming languages are fully consistent. Some Python packages do have camel case or e.g. toJSON in JavaScript.
We should have a way of indicating that some functions do not need to be converted.

In this exercise we initially wanted to have the first method be a static method, but calling the static method as Class.method(...) was rewritted by TESTed as class.method(...). So this could be a use case for the support that is asked in this issue (*).
(*) In addition, we might need specific support for static methods, because the syntax for calling static methods differs from the syntax for calling non-static methods in some programming languages.

In BibTeX casing is preserved for characters that are enclosed in curly braces:
title = "Pascal, {C}, {Java}: were they all conceived in {ETH}?"

Maybe we can do something similar, perhaps using double curly braces as in the Jinja2 templates for task descriptions. Later we might even use these curly braces for other use cases (e.g. i18n), but for now they might preserve what's inside if given as a string enclosed in single or double quotes?

Another idea we had from a IRL talk is using the convention for magic Python methods (e.g. __double_leading_and_trailing_underscore__) for identifiers that need to remain the same.
For example, writing some_variable.__toJSON__() would result in someVariable.toJSON() in JavaScript. The name of the variable is handled as normal, the name of the function is left alone.
This does re-use an existing Python convention, but the changes of us using magic Python methods in the DSL are very slim.

After implementing the solution with underscores as described above, it became clear that this does not work for constructors and global variables (since constructors are identified when they start with a capital and global variables must be all caps).
We currently do not see a clean solution using the underscore mechanism, so we would need workarounds.
Additionally, it is less clear how useful this feature is now that we support language-specific code. The question is are there cases where we want to override the automated casing conversion but still have something language-agnostic? For example, the toJSON example is not such a case, since it is JavaScript-specific, in which case the language-specific construct is enough.
I have thus closed the PR with the underscore implementation, and propose we revisit this issue once we have more exercises or use-cases.


Added public modifier

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

@senthilsivanath Thank you for signing the Contributor License Agreement!


Tweak the nozzle examples section

Thanks @cholick
I'll merge and fix typos.

BTW: And what's an "acl" ? as in "* Includes implementation code that adds additional metadata (potentially needed for acl)"
I can't find this term used anywhere else in this doc. I wonder if it should be an acronym for something... but then it would be capitalized...
TIA

Yes, it's an acronym (access control list)

Coolio, I'll tweak the doc for clarity.