[DOOR Bug] typing.Literal[...] <= typing.Union[typing.Literal[...], ...] is False

(Reduced from plum's beratype/plum#99)
Comparing TypeHint for Literal types and union of literal types does not work. In this case one of the two statements should clearly be true.
import beartype
from beartype import door
import typing

beartype.door.TypeHint(typing.Literal[True])<=beartype.door.TypeHint(typing.Union[typing.Literal[True], typing.Literal[False]])
# False

beartype.door.TypeHint(typing.Literal[True])>=beartype.door.TypeHint(typing.Union[typing.Literal[True], typing.Literal[False]])
# False

might be related to #271

Gah! Thanks so much for the heads up, @PhilipVinc. You're absolutely right; the first statement should evaluate to True but currently doesn't, because @leycec let the beartype.door subpackage languish for months and now here we are – on the rocky shoals of a busted API with no paddle, no ship, and a rapidly vanishing supply of Jamaican rum:
>>> beartype.door.TypeHint(typing.Literal[True])<=beartype.door.TypeHint(typing.Union[typing.Literal[True], typing.Literal[False]])
False  # <-- this should totally be "True"! ugh. just ugh.

I'm currently hip-deep in stabilizing forward references and PEP 563 support for @beartype's upcoming 0.16.0 release. But I've demarcated @beartype's next next 0.17.0 release entirely for horrifying DOOR issues like this. Let's see what the bright future holds in store for humanity, Python, and the dancing QA bear that is @beartype.

I wish Python was more like Julia.

Resolved by f604f05. Of course, this also resolves beartype/plum#99. Of course, I am now even more bald thanks to GitHub-related stress injuries incurred during this resolution. I cannot be held responsible if I now begin malding...
Oh, noes. It's happening. I'm malding! I'M MAAAAAALDING! :bald_man: </awkward_cough>

Amazing! That indeed solves the problems.
(I'm trying to go through your changes to understand a bit what was going on, and I have to confess it's quite messy. But in the end, who am I? Just a physicist...)
May I ask that you tag a new release? It would allow me to get rid of those ugly Val in plum.

Hehe... It's my punishment. I saw paradise but had to come back to purgatory (or hell. I'm unsure) because nobody was there...

I'm trying to go through your changes to understand a bit what was going on...

...omg. You are @beartype's first user to ever attempt that. You actually asked: "How? How did you do that?" Nobody has asked that question before. In fact, most users never even extend gratitude after a successful resolution or leave meaningful feedback after a less-than-successful resolution.
This officially earns you the dubious yet glorious title of One of Beartype's Greatest Users of All Time, Dr. Vicentini. I'm genuinely honoured. You exhibited insatiable curiosity. You went where few dare to tread.
Are you still curious? Let's pretend you are. I'd like to return the favour by explaining how I resolved this. So, Python. Python internally implements the <= operator between two objects via the __le__() dunder method defined on the classes of those objects. In this case, this means the beartype.door._cls.doorsuper.TypeHint.__le__() method, which internally defers to the public TypeHint.is_subhint() method, which internally defers to the private TypeHint._is_subhint() method.
TypeHint._is_subhint() returns True only if the current type hint is a subhint of at least one branch (i.e., child type hint) of the passed type hint. Each child type hint of a union is a branch. Ergo, Union[Literal[True], Literal[False]] has two branches: Literal[True] and Literal[False]. So far so good. But here's where things get hairy like a sasquatch.
The beartype.door API wraps each type hint with an instance of a subclass of TypeHint uniquely handling that kind of type hint. In this case, beartype.door wraps each typing.Literal[...] type hint with an instance of the beartype.door._cls.pep.doorpep586.LiteralTypeHint subclass. That subclass overrides the superclass _is_subhint() method with its own LiteralTypeHint._is_subhint() implementation. You are now thinking, "I see no problem here, you bald rascal."
The problem here is that the subclass LiteralTypeHint._is_subhint() method (which does not handle unions) failed to call the superclass TypeHint._is_subhint() method (which does handle unions) The resolution was thus trivial: just have LiteralTypeHint._is_subhint() additionally call the super()._is_subhint() as a last-ditch fallback when all else fails. You are now thinking...

...and I have to confess it's quite messy.

...heh. Yeah. About that. The episode of Father Ted in which Father Ted resolves a minor dent in a prize car is an appropriate reference here.
Alternately, consider a life-sized puppet (like in traditional Japanese bunraku or its modern reincarnation "Thunderbolt Fantasy") with a shock twist: that puppet is filled with a flaming bag of faecal matter. That puppet is the beartype.door API.

"This... This cannot be!" — @leycec after debugging beartype.door

Puppet ninjas. At last. Is this the true meaning of beartype.door!?
Imagine what trying to fix an issue in a life-sized puppet filled with a flaming bag of faecal matter would be like.
You notice a minor defect. You repair the minor defect. Much to your despair, the repair causes the puppet to dribble flaming faecal matter out of its mouth and all over its silk tunic. While muttering incoherently to yourself, you quietly staunch the flames, dab up the faecal matter, and patch the tunic as best you feebly can. In so doing, you tragically rip the tunic – exposing yet more flaming faecal matter, which then spews a putrid miasma of viscous flames everywhere (including all over you). Now drenched in flaming faecal matter, you flail about madly as the flames threaten to ignite your now purulent and irreparable facial hair. In so doing, you accidentally fling yourself from the precipitous plateau you were working on five hundred feet below into a boulder-strewn whitewater gorge. Miraculously, you narrowly avoid the jagged rocks during your harrowing descent into the violently raging river – leaving only the femurs in both legs crushed by this real-world demonstration of Newtonian mechanics.
You gingerly wash up onto the opposite shore. Broken, battered, but undefeated. You live. You vow to never fix an issue in a life-sized puppet filled with a flaming bag of faecal matter again.
This is what it means to maintain @beartype.

May I ask that you tag a new release?

For the physicist who expressed curiosity, anything! I'll pump this out Friday evening with our next beartype 0.16.0 stable release.

I saw paradise but had to come back to purgatory (or hell. I'm unsure) because nobody was there...

That... that was the single most intelligent one-liner existentialist metaphor anyone has ever said to me.
Power-law dynamics, curse you. You have denied @PhilipVinc his crowded paradise. In so doing, you have made a mortal enemy of @leycec.
@wesselb: This may be of relevance to you. I summon thee!

This was a great read :). Thanks again @leycec for getting to the bottom of this and writing this up.


[bugfix] windows incompatibilty

Currently running 'truffle test' or any other truffle cmd on windows open the truffle.js file. Renaming it solve that issue.

Thanks for contributing @SylTi!
Do you know if there are other issues besides this with regards to Windows compatibility?

This is not releated to Windows in general: if you use Power Shell or other terminals (i.e. the one integrated into Visual Studio Code) the problem does not appear. It happens with cmd.exe because the command line takes into consideration the PATHEXT enviroment variable.
For example, a common PATHEXT value at system level is:
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
This tells Windows to consider files with those extensions as executables. When you run the truffle  command inside your project folder, truffle.js takes the precedence and it starts. This means that, if you assigned for example a default text editor to .js file, when you type truffle inside the project folder the truffle.js file is opened inside the default text editor.
To get rid of this particular problem, you can override the default PATHEXT system environment variable with a user environment variable, removing the .JS extension from the admitted values.
IMHO it's better to use a safer PATHEXT in any case. For example, I use this:
PATHEXT=.COM;.EXE;.BAT;.CMD;.MSC

@frangio obviously the script to run the test/coverage etc are not working. they could be migrated to an npm script instead.
@Neurone cmd is still the default on windows. For example, PhpStorm uses it.
You might be right to change that env var, but I think OpenZeppelin should work out of the box.

Yes I agree that the change is harmless enough that we can merge it.

Actually, the change broke the coverage analysis. I'm going to have to revert it and reopen untl sc-forks/solidity-coverage#93 is fixed.


[Azure.ResourceManager.MigrationDiscoverySap] TestDiscoveryOperations test is failing

https://dev.azure.com/azure-sdk/public/_build/results?buildId=3646971&view=ms.vss-test-web.build-test-results-tab&runId=46856532&resultId=103612&paneView=debug
Azure.RequestFailedException : Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:cbdc7c3b-201e-003f-803c-81608b000000
Time:2024-03-28T18:20:44.8998078Z
Status: 403 (Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.)
ErrorCode: AuthenticationFailed

Additional Information:
AuthenticationErrorDetail: Signature not valid in the specified time frame: Start [Thu, 28 Mar 2024 09:19:23 GMT] - Expiry [Thu, 28 Mar 2024 09:54:23 GMT] - Current [Thu, 28 Mar 2024 18:20:44 GMT]

/cc @ArthurMa1978 @gargankit-microsoft

@shubhamgarg2175 to look at it.

https://github.com/Azure/azure-sdk-for-net/pull/43128


Update README.md

Removes obsolete Travis references including "build error" badge.

Uses Github flavored markdown features particularly links.

Adds information about some MO Tools

Tightens text

Updates text

adds reference to MACOSX_NOTES

Coverage: 92.713%. Remained the same when pulling 41a0cddc82a90ba7cb1db2612c00f7fdd1f33535 on jdc-readme-update into 2d0acca525c720f062540ec27ecff78b29989a78 on master.


Deb, RPM and OSX installers of the Conjur CLI for v5 are available

Unlike the CLI for v4, I propose that the installers for v5 do not necessarily use the "omnibus" approach which bundles an entire Ruby VM with the installer.
On recent Debian + Ubuntu, it is apparently now straightforward to install ruby from apt. Therefore, the conjur-cli package can depend on the ruby package.
We should determine if the same is true for RPM and OSX.
We should also evaluate if a homebrew recipe might be a better approach than a dmg installer for OSX.

Closing as invalid - Conjur CLI currently depends heavily on specific Ruby base version and they vary depending on the base OS. Appropriate approach to this will probably be a change to an alternative non-ruby single-binary implementation of the CLI.


Help needed with CodeUri

Hi,
I refer to the example https://github.com/awslabs/serverless-application-model/blob/master/examples/2016-10-31/s3_processor/template.yaml
I cannot see how the <bucket> in line 10 and how is it associated to a Bucket resource in line 19.
I would like to know how is <bucket> associated to a Bucket resource please.
Also, I am also at a loss why we should associate CodeUri to a bucket when we are specifying --s3-bucket  in the aws cloudformation package. The document seems to have left out the rationale.
Please help.
Thank you.
Bryan

Hi Brian,
regarding your first question: <bucket> in line 10 can be related to Bucket in line 19, but must not. What you define in line 10 is where your code artifact for your Lambda function can be picked up by aws cloudformation package (see also my answer to your second question below). The Bucket in line 19 defines a bucket which is able to call your Lambda function if a new object is created in that bucket.
Regarding your second question: you use CodeUri to define where you're artifacts are at the moment and where the AWS cli can pick them up when calling aws cloudformation package. --s3-bucket is then used for those artifacts which are e.g. on your local machine, so they are uploaded to S3 and can be referenced (because AWS has no access to your local machine obviously).
I hope I could help you with this.
Cheers,
Sebastian

hi @seeebiii  I am using codepipeline which pull code from git and store it to s3 ,after successful build and calling aws cloudformation package command my template contain same CodeUri path as present in my first template.yml file,can you please help me with this ,that which CodeUri should I mention then it will get converted to build code path.


[New azd-template] SAP Cloud SDK on Azure App Service Quickstart

New azd-template Submission
Fill in the sections below to populate a new Gallery carry for your template. An example of a valid template object is given at the end for reference. All fields are mandatory unless explicitly identified as optional
1. Title
SAP Cloud SDK on Azure App Service Quickstart (TypeScript)
2. Description
This repos serves as quick-start project showcasing SAP Cloud SDK for JavaScript OData consumption running on Azure App Services. Its primary purpose is to set you up for success for your SAP extension project on Azure and reduce the lead time to your first successful deployment as much as possible with developer friendly commands.
3. Author Profile
MartinPankraz - Martin Pankraz
lechnerc77 - Christian Lechner
4. Author Name

Martin Pankraz
Christian Lechner

5. Template Repo
https://github.com/Azure-Samples/app-service-javascript-sap-cloud-sdk-quickstart
6. Link to PR where you made your repo azd compatible
https://github.com/Azure-Samples/app-service-javascript-sap-cloud-sdk-quickstart/pull/12
7. Standard Tags

TypeScript
Node.js
bicep
web apps
Azure Key Vault
Azure App Insights
featured

7. Additional Tags (optional)

SAP
SAP Cloud SDK
NestJS

8. Architecture Diagram or Application Screenshot

Example Of Valid Template
  {
    title: 'SAP Cloud SDK on Azure App Service Quickstart (TypeScript)',
    description:
      This repos serves as quick-start project showcasing [SAP Cloud SDK for JavaScript](https://sap.github.io/cloud-sdk/docs/js/tutorials/getting-started/introduction) OData consumption running on [Azure App Services](https://learn.microsoft.com/azure/app-service/overview). Its primary purpose is to set you up for success for your SAP extension project on Azure and reduce the lead time to your first successful deployment as much as possible with developer friendly commands.',
      preview: `project-overview-azd-style.png`,
    website: 'https://github.com/Azure-Samples/app-service-javascript-sap-cloud-sdk-quickstart',
    author: 'Martin Pankraz, Christian Lechner',
    source: 'https://github.com/Azure-Samples/app-service-javascript-sap-cloud-sdk-quickstart',
    tags: ['TypeScript','Node.js', 'bicep', 'web apps', 'Azure Key Vault', 'Azure App Insights', 'featured',  'SAP', 'SAP Cloud SDK', 'NestJS']
  },

Next Steps
Once submitted the issue will be reviewed - we plan to do reviews on a rolling basis at regular intervals. The process will involve checking that template information is complete, and the template is valid.

If we have questions or enhancements, we will add comments in issue thread (issue stays open)
If the contribution is approved, we'll update the gallery directly (issue will then be closed)

Just fix this typo:

@hemarina - This one is approved as long as the json above is valid.

Just fix this typo:

@jongio:  Thanks for checking. Fixed the typo (and another one) - see this PR.

@hemarina can you push it the gallery?


To do list with Percentage

Issue Type:

[ ] Bug Report
[X] Feature Request
[ ] Documentaion

To-do list

Here we can add item in our list and check tick when done . It Shows how much work is done and left in Percentage view

ScreenShot
Similar like this

Can I work on this issue as a part of GSSoC'22?

Can I work on this issue as a part of GSSoC'22?

Make your own issue

@JyotiKM29 Make a new issue when u r ready with your code and live link!


Ideation via public repo issues

From @cotting a request for an ideation board feature:

How could we facilitate the idea creation before the event? Like letting anyone make challenge proposals and let the rest of the community comment those ideas.

Open Data Day Zurich had some JavaScript in place to connect to the GitHub API, and collect the list of challenges - posted in the form of issues in a dedicated repo. It might certainly help some organisers to have this out of the box, with perhaps some alternative engines supported (Sparkboard? Trello?...)

@gonzalocasas you have recently requested this again, and I think it's time to standardize the code into the platform. We can start with GitHub issues, but make it possible for other repo hosting sites' issues to be fed into a feed at the top of the Resources section. That way, we would be encouraging not just participants to use open source communities to host their projects, but also the organizers. Maybe even the README should be synced into the event description or something, but we can start with this for now.

👍

How would they be integrated? Would they be automatically imported as "Projects" within a predefined category? (In MakeZurich's case, we have an "Open challenge" category, and these should go there).

We used GitHub's new Discussions for an ideation board at a recent event. They were at the time still in private Alpha for API access, so we had no way of integrating them with Dribdat. The tool was popular, but it had also a lot of limitations in the user interface. Ultimately, I'd like dribdat to be able to connect to a variety of ideation platforms. Is there no "Commenting spec" analog to OAuth? :thinking:

For now, I have resolved this by making the GitHub Issues widget we have used in the past included out of the box.


External config file

[ ] Multiple email addresses and SMTP servers - via config file (configparser)

[ ] Use mail.bit.edu.cn preferably
[ ] Check for email sent without internet connection (i.e., not logged in)

[ ] Logging levels - WARNING | INFO | DEBUG
[ ] ...

cc @BIT-QiuYu


SVN support

This is a feature request.
Currently trains server supports git as a version control platform; in other words, when the script of interest is connected to trains server in a git folder, trains-agent creates an environment cloning this git repository.
Do you have any plans for adding Subverison (SVN) support, in addition to git?

Hi @fcakyon ,
For the time being we have support for git, as this is probably the most commonly used version control.
We previously had support for mercurial, but due to lack of interest we kind of dropped it.
If enough users vote here +1 we will add it.
That said, feel free to add a PR with this ability :)
If you wish I could point to where/how one could easily add any VCS support :smile:

Thanks for the response @bmartinn , would be great if you could show where&how to add it  :)

You can find the git auto detection support code here
Which you can basically copy paste with slight modifications (see below),
and change the execution commands on _get_commands to return the needed values.
For example:
url : should return the repository url link
branch : should return the repository branch name
root : is the root path of the repository (i.e. the absolute path to where the .git folder is)
etc.
Template code below:
class SvnDetector(Detector):
    def __init__(self):
        super(SvnDetector(, self).__init__("svn")

    def _get_commands(self):
        return self.Commands(
            url=["git", "ls-remote", "--get-url", "origin"],
            branch=["git", "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"],
            commit=["git", "rev-parse", "HEAD"],
            root=["git", "rev-parse", "--show-toplevel"],
            status=["git", "status", "-s"],
            diff=["git", "diff"],
            modified=["git", "ls-files", "-m"],
            branch_fallback=["git", "rev-parse", "--abbrev-ref", "HEAD"],
        )

BTW: from looking at the SVN documentation it looks like it should not be very hard to match to the git commands :)


fields don't work

$ csvfilter -f 1,2,3 file.csv

Expected:
Output columns 1, 2, and 3 from file.csv for all rows
Actual:
Only outputs columns 1, 2, and 3 from the first row.

It looks like the reason for this is:
fields = map(int, options.fields.split(',')) if options.fields else None

... which is being consumed after the first row:
output = [row[i] for i in self.fields if len(row) > i]

after which self.fields becomes an empty array: []
A solution would be:
fields = list(map(int, options.fields.split(','))) if options.fields else None

This PR should resolve:
https://github.com/codeinthehole/csvfilter/pull/12

Why hasnt this been merged in yet? The tool is broken

@silentwarrior @lk-jeffpeck Thanks for the fix and for the link to the fix.

+1 for me with @joaomcarlos fix it works perfectly

Thanks @lk-jeffpeck @joaomcarlos fix worked for me too 🙌
@codeinthehole Any chance it could be merged?


Interactable inspector does not let user set Toggle/MultiDimensional button type

To reproduce
Steps to reproduce the behavior:

Add an interactable script to your gameobject.
Try setting SelectionMode to Toggle
Nothing happens. User is unable to update the selection mode.

Notice the following exception in editor logs:
NullReferenceException: Start Dimension Index: SerializedProperty is null
UnityEditor.EditorGUI.BeginPropertyInternal (UnityEngine.Rect totalPosition, UnityEngine.GUIContent label, UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5471)
UnityEditor.EditorGUI.BeginProperty (UnityEngine.Rect totalPosition, UnityEngine.GUIContent label, UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5446)
UnityEditor.EditorGUI+PropertyScope..ctor (UnityEngine.Rect totalPosition, UnityEngine.GUIContent label, UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5434)
Microsoft.MixedReality.Toolkit.UI.Editor.InteractableInspector.RenderGeneralSettings () (at Assets/MixedRealityToolkit.SDK/Inspectors/UX/Interactable/InteractableInspector.cs:360)
Repros on mrtk_dev and probably on stabilization 2.1 branch.

@Troy-Ferrell , @julenka this feels like a blocking issue. I believe it is a side effect of https://github.com/microsoft/MixedRealityToolkit-Unity/pull/6104
I have a fix for this. Should I target it to stabilization ?

Yes please!

I've tried to think of a good way to prevent these kinds of regressions.  The root problem is that you can't directly reference a private field; not even for a nameof(SomeClass.privateField).
On one project, to solve this problem and get auto rename fixes, I exposed public static properties that returned the nameof for each private serialized field.  Not sure it's a great pattern because it's a bit much to maintain.
Another alternative is to have the inspector be a nested class of the thing that it inspects.  This lets you use nameof() for privates.  I think MRTK used to have some inspectors that were implemented this way.  I assume there were some issues with doing it that way.  If nothing else, it's a non-standard practice.


Feat(web): TextArea (#DS-319)

Introducing new component is great opportunity to unify form field theme and create mixins to reduce code duplicity between form components. 🙂
I suppose there could be a better solution. Code switching according component name in mixins and sharing all variables no matter which component uses them doesn't look like easily scalable solution.

Although it looks good and shiny to me I am uncertain about the usage of form-field-tools and the same file in theme, tools and setting. We seem to be missing some type of FormBase component or something similar. I think that this is a good step forward and would like to understand it better.
This my concern is based on Twig and React implementations where you are using TextBase components so I was expecting something similar here like form-base and text-base.
So I am looking forward to your insight and also the ones from @adamkudrna and @crishpeen. Thanks :-)

@dlouhak Please add an example of TextField with message and button so we will see that the problem with different padding top/bottom of input and button is solved. Thanks.


About the SAM mask Data

Hi, thanks for your work. Can you provide the SAM mask for Replica and Scannet?
The quality of SAM will largely affect the results of 3D segmentation as GS-Grouping says. And we want to implement a fair comparation.  But it seems really hard to get the matched mIoU scores.
Besides, can you also provide the evaluation scripts?
Many thanks to your help!

Hi, thanks for your interest!
For the SAM mask, we use the same hyperparameter setting as Gaussian Grouping. As mentioned in the paper Sec. 4.1, we use the following codes to select SAM masks based on confidence scores.
def get_processed_sam_mask(config: Dict,
                           auto_sam: SamAutomaticMaskGenerator,
                           image: np.ndarray,
                           get_small_mask: bool) -> (torch.Tensor):
    device = auto_sam.predictor.device

    h, w = image.shape[:2]

    mask_data = auto_sam.generate(image)

    curr_id = 1
    scored_masks = None

    pred_masks = mask_data['masks'].float()  # num masks * H * W
    pred_scores = mask_data['iou_preds']  # num masks * num masks

    # select by confidence threshold
    selected_indexes = (pred_scores >= config['CONFIDENCE_THRESHOLD'])
    selected_scores = pred_scores[selected_indexes]
    selected_masks  = pred_masks[selected_indexes]
    _, m_H, m_W = selected_masks.shape
    mask_id = np.zeros((m_H, m_W), dtype=np.uint8)

    # rank
    selected_scores, ranks = torch.sort(selected_scores)
    # print("ranks", ranks)
    ranks = ranks + 1
    for index in ranks:
        mask_id[(selected_masks[index-1]==1).cpu().numpy()] = int(index)

    # compress the masks
    mask_indices = np.unique(mask_id)
    cur_idx = 1
    output_mask = np.zeros((m_H, m_W), dtype=np.uint8)
    for idx in mask_indices:
        if idx == 0:
            continue
        mask = (mask_id == idx)
        if mask.sum() > 0 and (mask.sum() / selected_masks[idx-1].sum()) > 0.1:
            output_mask[mask] = cur_idx
            cur_idx += 1

    output_mask = torch.tensor(output_mask, dtype=torch.int64, device=device)

    return output_mask

For our evaluation on the Replica and ScanNet datasets, please refer to https://github.com/weijielyu/Gaga/blob/main/eval.py
We plan to release the codes in the near future, so please stay tuned. Thanks for your patience!

Thank you! This really helps.


Papper support

can you please add support for paper clip in the select jar?
https://papermc.io/downloads

This already exists


Failed to enable unit: Cannot alias<EMAIL_ADDRESS>as display-manager.service

Hello, I am trying to set up a kiosk machine using Cage. I'm running Debian 12 (Bookworm).
I have installed cage via apt, and I've followed the instructions here
https://github.com/cage-kiosk/cage/wiki/Starting-Cage-on-boot-with-systemd
to the t. All I've changed was the username, and the app to be executed, which in my case looks like this:
ExecStart=/usr/bin/cage firefox http://localhost:5000 --kiosk
When I got to the third step, I typed in
sudo systemctl enable<EMAIL_ADDRESS>and got back the following message (in bold maroon):
Failed to enable unit: Cannot alias<EMAIL_ADDRESS>as display-manager.service.
Can you please help? I'm very new to Linux, I have no idea what I'm doing wrong.

You may remove the Alias= line in unit file if it causes error in your case.

Thanks. That seems to have helped. I am now able to enable the service. When I reboot, I do indeed get the cage with just Firefox.
Although I'm not entirely sure that's what helped.
I've used systemctl to look at the cage unit, this is what I got:

Thing is, I never manually enabled the one running on tty7. I have probably enabled the one on "tty" and "ty1", through typo's as I was flailing around like a fish out of water. (how can I get rid of them?)
So how did the one at tty7 get started? And why didn't it work from the beginning? I know that's the one doing the magic, because when I disable it through ssh and then restart the machine, I get the normal desktop, and when I enable it again and reboot I get the kiosk.
I also changed the path to my application from firefox to /usr/bin/firefox. Maybe that made it run correctly and made the kiosk appear?
One more thing, when I boot in the kiosk mode, at certain point the original display manager (login screen) appears for about a second or 2. Is it possible to get rid of this, so the user doesn't see it during reboot? The display manager is called kdm3.

The systemd unit file proposed in the wiki has DefaultInstance=tty7, it may explain the service you observe.
Just disable the service running the kdm3 display manager if you don't want it.

You may remove the Alias= line in unit file if it causes error in your case.

This worked for me. Thanks!

@TheGreenAirplane, please consider mark this issue as complete if everything is OK for you now.

Hello, I am trying to set up a kiosk machine using Cage. I'm running Debian 12 (Bookworm). I have installed cage via apt, and I've followed the instructions here https://github.com/cage-kiosk/cage/wiki/Starting-Cage-on-boot-with-systemd to the t. All I've changed was the username, and the app to be executed, which in my case looks like this:
ExecStart=/usr/bin/cage firefox http://localhost:5000 --kiosk
When I got to the third step, I typed in sudo systemctl enable<EMAIL_ADDRESS>and got back the following message (in bold maroon): Failed to enable unit: Cannot alias<EMAIL_ADDRESS>as display-manager.service.
Can you please help? I'm very new to Linux, I have no idea what I'm doing wrong.

The service is failing because your argument is being passed to cage, you would need something like:
ExecStart=/usr/bin/cage firefox http://localhost:5000 -- --kiosk

Running into a similar issue, got this error, removed alias as suggested, but ever since doing that now after reboot I just get a single _ on the monitor and no display. File is exactly as shown (running chromium instead of kde widgets) followed the guide as shown. created the cage user with useradd cage -m also tried re-setting up with the sudoer user I was using to configure the machine, still no luck.

@Swizzler121 I've had far less issues on Arch than Debian-based distros. Perhaps that's some low-hanging fruit to try if you're really stuck.

It seems every issues reported here have found a solution.
Please consider re-open with details or open a new issue if needed.


Add Timeout to socket.accept().

Fixes #1042.

LGTM.  I think we have enough time to wait for FV before merging this, then for me to upload new packages to 'Calico 1.4' and retest my delivery bundle.


Doesn't seem to work with --fix

Describe the bug
When passing in --fix my linter always passes and never fixes anything. It won't report any issues and won't fix them it seems? It could be fooling itself into thinking it fixed them but then didn't actually write the changes back.
Reproduction
plugins: [
    vue(),
    checker({
      vueTsc: true,
      eslint: {
        lintCommand: 'eslint "./src/**/*.{ts,vue}" --fix',
      },
    }),
  ],

Expected behavior
Should write the changes back to the files.
System Info
System:
    OS: macOS 12.0.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 18.48 GB / 64.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.3.0 - ~/.nvm/versions/node/v16.13.1/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 106.0.5249.119
    Firefox: 104.0.2
    Safari: 15.1
  npmPackages:
    vite-plugin-checker: ^0.5.1 => 0.5.1

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

I confirm this bug

This plugin is designed for check only, so auto-fixing is not in the target scope. Please remove --fix from the plugin config. I'll update doc to point this out.

update in https://github.com/fi3ework/vite-plugin-checker/commit/990a08892c957da218003e7bfe338fcd83ccf4b7.


train model  one error

Hi, All, I download currently k2 master(2020-12-23), then compile it via the below command
$ conda create -n k2-fsa python=3.7
$ conda activate k2-fas
$  conda install pytorch==1.7.1 cudatoolkit=10.1 -c pytorch
$ conda install -c pytorch torchaudio

$ git clone https://github.com/k2-fsa/k2.git
$ cd k2
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make _k2
$ cd ..
$ pip3 install wheel twine
$ ./scripts/build_pip.sh

# Have a look at the `dist/` directory.
$ pip install dist/k2-0.1.1.dev20201223-cp37-cp37m-linux_x86_64.whl
# for test
$ cd build
$ make -j
$ ctest --parallel 5
$ make test

But I got one error in test mode,
99% tests passed, 1 tests failed out of 70

Total Test time (real) = 129.64 sec

The following tests FAILED:
	 42 - fsa_test_py (Failed)
Errors while running CTest
Makefile:91: recipe for target 'test' failed
make: *** [test] Error 8

When I run the run.sh --stage 6 in snowfall. it appears the following error.
(k2-fsa) ntu-dso@ntudso-X9DA7-E:~/w2020/k2-fsa/snowfall/egs/librispeech/asr/simple_v1$ ./run.sh --stage 6
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/torchaudio/backend/utils.py:54: UserWarning: "sox" backend is being deprecated. The default backend will be changed to "sox_io" backend in 0.8.0 and "sox" backend will be removed in 0.9.0. Please migrate to "sox_io" backend. Please refer to https://github.com/pytorch/audio/issues/903 for the detail.
  '"sox" backend is being deprecated. '
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/lhotse/augmentation/torchaudio.py:13: UserWarning: Torchaudio SoX effects chains are only introduced in version 0.7 - please upgrade your PyTorch to 1.7+ and torchaudio to 0.7+ to use them.
  warnings.warn('Torchaudio SoX effects chains are only introduced in version 0.7 - '
Loading L.fst
[F] /home/ntu-dso/w2020/k2-fsa/k2/k2/csrc/fsa_utils.cu:k2::Fsa k2::OpenFstTransducerFromStream(std::istringstream&, k2::Array1<int>*):500 Check failed: error == false (1 vs. 0)

[ Stack-Trace: ]
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/libk2_log.so(k2::internal::GetStackTrace()+0x47) [0x7fd79fb743c7]
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/libk2context.so(k2::internal::Logger::~Logger()+0x4d) [0x7fd79fe4b8fd]
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/libk2context.so(k2::FsaFromString(std::string const&, bool, k2::Array1<int>*)+0x2e42) [0x7fd79ff24ad2]
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/_k2.cpython-37m-x86_64-linux-gnu.so(+0x3a205) [0x7fd7a304f205]
/home/ntu-dso/miniconda3/envs/k2-fsa/lib/python3.7/site-packages/_k2.cpython-37m-x86_64-linux-gnu.so(+0x193e3) [0x7fd7a302e3e3]
python3(_PyMethodDef_RawFastCallKeywords+0x274) [0x5629fd849914]
python3(_PyCFunction_FastCallKeywords+0x21) [0x5629fd849a31]
python3(_PyEval_EvalFrameDefault+0x4e1d) [0x5629fd8b5ebd]
python3(_PyEval_EvalCodeWithName+0x2f9) [0x5629fd7f8829]
python3(_PyFunction_FastCallKeywords+0x387) [0x5629fd849107]
python3(_PyEval_EvalFrameDefault+0x14e5) [0x5629fd8b2585]
python3(_PyFunction_FastCallKeywords+0xfb) [0x5629fd848e7b]
python3(_PyEval_EvalFrameDefault+0x416) [0x5629fd8b14b6]
python3(_PyEval_EvalCodeWithName+0x2f9) [0x5629fd7f8829]
python3(PyEval_EvalCodeEx+0x44) [0x5629fd7f9714]
python3(PyEval_EvalCode+0x1c) [0x5629fd7f973c]
python3(+0x22cf14) [0x5629fd910f14]
python3(PyRun_FileExFlags+0xa1) [0x5629fd91b331]
python3(PyRun_SimpleFileExFlags+0x1c3) [0x5629fd91b523]
python3(+0x238655) [0x5629fd91c655]
python3(_Py_UnixMain+0x3c) [0x5629fd91c77c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fd814658bf7]
python3(+0x1dcff0) [0x5629fd8c0ff0]

./run.sh: line 47: 26020 Aborted                 (core dumped) python3 ./train.py

The following tests FAILED:
42 - fsa_test_py (Failed)

Could you post the result of:
cd build
ctest --output-on-failure -R fsa_test_py -E host

./run.sh --stage 6

Please change stage in run.sh manually.
There is no parse_options.sh in run.sh.

please make sure that you have finished running stage 1 to stage 5 sucessfully.

Thanks a lot. @csukuangfj
There is no parse_options.sh in run.sh.```
I have add the file to run.sh

please make sure that you have finished running stage 1 to stage 5 sucessfully.
I have checked out the error, because L.fas.txt is empty.


clone() hangs with large response in Node

I hit this bug today, it was caused by https://github.com/bitinn/node-fetch/issues/386
The bug makes ky-universal not useable at all in node. (You don't know when the code will hang as you don't know the response size ahead of time)
Is there a way to remove clone() from the source code?

IssueHunt Summary

Backers (Total: $80.00)

 issuehunt ($80.00)

Submitted pull Requests

#671 Allow setting custom highWaterMark via node-fetch options (#386)

Become a backer now!
Or submit a pull request to get the deposits!
Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

IssueHunt has been backed by the following sponsors. Become a sponsor

It would be pretty challenging to re-implement .clone() ourselves. In doing so, we would probably end up creating more new bugs than we solved. The only practical way forward that I see here would be to just not clone the response at all.
We currently clone in three places:

When calling afterResponse hooks
When streaming the response to provide progress events
When body method shortcuts are used (e.g. ky().json())

I'm not sure which, if any, of these places would be safe to remove. None of them seem particularly important to me, though I like having them for safety.
It's worth noting that we only call .clone() if you use one of the above mentioned features. So you can actually avoid this problem if you can live without those features.
For example, if .clone() is being called because you are using the .json() method like this:
const users = await ky.get('users').json();

It's perfectly fine to re-write that to:
const response = await ky.get('users');
const users = await response.json();

... in which case .clone() is not called. The only caveat, beyond it being more verbose, is that you will also have to set the Accept: application/json header yourself, if you need that.
Other than those workarounds, I'm not sure there's much we can do, since we are using the API correctly and this is really an upstream issue. We could explore alternative fetch polyfills, but I suspect that would again introduce its own set of problems. Let's keep an eye on that issue you referenced.
In the meantime, should we consider removing .clone() internally and, if so, where? Removing 3 seems the safest to me and it's probably the most common case as well.

I don't think we should remove .clone(). We should rather get node-fetch fixed.
I'm gonna add a bounty here that applies to getting https://github.com/bitinn/node-fetch/issues/386. If you want to work on it, see: https://github.com/bitinn/node-fetch/pull/563#issuecomment-454669575

@exogen on 15th of May 2019:

Here's a simple repro: exogen/ky-afterResponse-repro
This doesn't seem to happen for every request; I suspect it might have something to do with the response body size. I tried a couple small public JSON API demos before I landed on a GraphQL endpoint that reproduced the behavior.
Under certain conditions, simply including an afterResponse hook causes the response Promise to hang. The hook doesn't have to do anything; it can be a no-op function or just return the same cloned response. Removing the hook causes it to start working. Switching to node-fetch also works fine.
I wonder if the hook causes the response to be cloned and therefore the Promise as well, making one of them never resolve? Just a thought.

Drive by comment as it seems like wheels are already in motion to fix this, and I doubt I can be of much help in that area: I think this should be added to the README.
I've hit this behaviour while writing up endpoint methods for an api in our electron app; b/c I was being lazy I was just running the code via ts-node to test the responses & such, rather than recompling the whole app and running electron.
I was really confused for a while, getting ready to deep dive into ky thinking I might have found a major bug, since it looked like just nothing - node would just exit w/o any errors, and no promises would resolve.
Given that it seems switching from .json() to .then(r => r.json()) wil fix this for node, I think it's worth sticking that in the README 😄

@gutenye @sindresorhus In version 3.0.0 of node-fetch you will be able to manually set highWaterMark and prevent this issue from happening :smile:
fetch(url, {highWaterMark: 10}).then(res => res.clone().buffer());

See this PR

Thanks @sholladay. I can confirm the workaround works for my case with .json().


support OSTYPE linux-musl

Typically, when zsh is built as a static binary (as with https://github.com/romkatv/zsh-bin)
OSTYPE reports linux-musl, instead of the more common linux-gnu.
Which in turn breaks binary selection from gh-r, and leads to download of mac binaries.
This change maps both linux-gnu and linux-musl to the match string "linux".
This fixes #416

Thanks.


Plans to open the PlusCodes short-coding  blackbox?

PlusCodes has a "plus algorithm" for name-to-prefix conversion:

The the illustration exemplifies the short code "598P+Q36 Itagui, Antioquia, Colombia", that was translated by PlusCodes as 67R6598P+Q36, where 67R6  is the translated prefix (from "Itagüí, Antioquia, Colombia") and 598P+Q36 the original suffix.
The  encode/decode "short codes" has a good OLC specification, but it is not enough do "emulate" PlusCodes: to be an "open algorithm"  need some kind of lookup table that transforms names into OLC prefixes — and exactly in the same way that PlusCodes does.
I can't find the dataset or the algorithm that PlusCodes  used...  Since this is a Google project, do you have any plans to publish it? Or maybe an algorithm description (high level abstraction)  that can be adapted in another big database, like Nominatim.

All of that is part of Google's Geocoding API. If your geocoding request is a plus code, then the response will have lat/lng coordinates as part of its geometry - and if your reverse geocoding request contains coordinates, the response will contain a plus code.
Using that API is not always free (as in beer), but it exists and can be used.
Regarding your second questions, I believe such dataset, while easy enough to describe, is not actually that trivial to generate or maintain. Basically, what we want is for every point on the globe to exist one or at most a few place names with one set of canonical coordinates each, so that getting those canonical coordinates from a place name and using them as second argument to the recoverNearest function results in the original coordinates that went into generating the plus code earlier.
This dataset in the best case not only needs to be complete in the sense that at least one name exists for every point on the globe, it also needs to be sensible in the sense that it should avoid returning place names across (city/state/national) borders even in a world where those borders change over time.

Re algorithm description, Nominatim or another geocoder can be used with the following python example (modulo the issues bocops mentioned around returning place names across borders):
from openlocationcode import openlocationcode as olc

# returns coordinates of the give place name
def geocode(place_name):
  # TODO: Support other places
  if place_name == 'NYC':
    return (40.71275,-74.00816)

# returns a city name and coordinates near the given point
def reverse_geocode(latlng):
  # TODO: Support other places
  return ('NYC', (40.71275,-74.00816))

# converts a compound code, e.g. "P2C2+H8 NYC", into a global code, e.g.
# "87G8P2C2+H8", using a geocoder
def global_code_for_compound_code(compound_code):
  # parse into short code and reference location name
  short_code, reference_location_name = compound_code.split(' ', 1)

  # look up coordinates of reference location name (geocode)
  reference_lat, reference_lng = geocode(reference_location_name)

  # use library function to recover global code
  return olc.recoverNearest(short_code, reference_lat, reference_lng)

print(f"""global_code_for_compound_code('P2C2+H8 NYC)': {
    global_code_for_compound_code('P2C2+H8 NYC')}""")
print(f"""global_code_for_compound_code('PXCX+9J9 NYC)': {
    global_code_for_compound_code('PXCX+9J9 NYC')}""")
print()

# converts a global code, e.g. "87G8P2C2+H8", into a compound code, e.g.
# "P2C2+H8 NYC", using a reverse geocoder.
def compound_code_for_global_code(global_code):
  # parse global code using open source library, get its coordinates
  global_code_lat, global_code_lng = olc.decode(global_code).latlng()

  # look up nearby place name for global code's coordinates (reverse geocode)
  reference_location_name, (reference_lat, reference_lng) = reverse_geocode(
      (global_code_lat, global_code_lng))

  # use library function to shorten to local code
  local_code = olc.shorten(global_code, reference_lat, reference_lng)

  # optionally, if we've shortened too much, restore some of the prefix from the
  # global code
  chars_before_plus = local_code.index('+')
  if chars_before_plus < 4:
    local_code = global_code[4:8-chars_before_plus] + local_code

  # combine with reference location name
  return f'{local_code} {reference_location_name}'

print(f"""compound_code_for_global_code('87G8P2C2+H8)': {
    compound_code_for_global_code('87G8P2C2+H8')}""")
print(f"""compound_code_for_global_code('87G7PXCX+9J9)': {
    compound_code_for_global_code('87G7PXCX+9J9')}""")
print(f"""compound_code_for_global_code('87G7PX7R+3PWX)': {
    compound_code_for_global_code('87G7PX7R+3PWX')}""")
print(f"""compound_code_for_global_code('87G8V36G+92)': {
    compound_code_for_global_code('87G8V36G+92')}""")

Re algorithm description, Nominatim or another geocoder can be used

Hi @bilst , thanks the Python descriptioin. You transtaled my FlowChart into a global_code_for_compound_code() Python function. Both, my FlowChart and your Python stub, describes exactly the same algorithm... And the same  blackbox.
In your function the blackbox name is geocode(place_name)  that returns a reference_LatLon.
PS: ~2.5 years ago I mentioned  here the recoverNearest() function  and a simple CSV dataset, but no one understood, so nowadays I prefer the FlowChart to explain the blackbox problem.
We need a big dataset, but we have open data like OpenStreetMap, so it is not impossible... To  "emulate" PlusCodes  it is enough to reduce the scope to a small country, for example Cape Verde, where the first doubts arose.

Using that API is not always free (as in beer), but it exists and can be used.

A beer, plus a beer, plus another ... Doesn't look like much, just like this sum. It doesn't look like it will grow, but the sum is infinite, despite intuition saying otherwise.
Although Google sellers have good arguments, we prefer to use a reproducible algorithm, which does not make us hostage to our intuition.  Nor hostages of the service provider: reproducibility is just a guarantee that the beer will remain good and reasonably priced in the future.

Regarding your second questions, I believe such dataset, while easy enough to describe, is not actually that trivial to generate or maintain (...)

I commented above  that we can  reduce the scope to a small country. It is important  that we can reproduce PlusCodes and discuss the whole algorithm, not just OLC... Well, is important if you want to say that PlusCodes is FOSS, an open software...  I will try to reinforce and explain this point better.
... More than forty five years ago N. Wirth showed that "algorithms + data structures = programs".  Today, in Data science and Geoprocessing,  we can add datasets in the equation. So a free program, that is a FOSS  software, is not 100% open  if data structures and (good) sample datasets  are not also open. We need datasets to test and to show that the algorithm is reproducible.

The PlusCodes presentation page say that the code is open, but only OLC is 100% open. The PlusCodes technology is comprised of OLC +  name_resolution.

My earlier point regarding the information you call the dataset was not meant to convey that it is simply "too big" to be shared after being generated from some map - but simply that this dataset on a global scale and across time is so complex that it is the map (or, rather, the online API that always gets you up-to-date information).
For what it's worth, it is not true that we can just reduce scope to some islands in the Atlantic Ocean and pretend that whatever conclusions we reach based on that can be extended to any globally working implementation of Open Location Code with shortening, such as Google's plus codes. For example, if you are just interested in short codes working for Cape Verde, you're already getting two digits for free, because all of Cape Verde exists in 79000000+. You might be able to get the other two digits with a very small lookup table with size ~ number of islands, because each individual island seems to be about the right size for that to work.
However, just because "V3FC+ São Vicente" is a code that would work perfectly well in the context of Cape Verde, it doesn't mean that it would work globally - because there's a ton of places with that name.
It is also not true that you need Google's exact plus codes dataset to be able to test and show reproducibility of the Open Location Code algorithm. For that, you just need some dataset that you might as well get elsewhere, or create yourself.
Now, if you actually want to argue that "Google Plus Codes" is not the same and/or not as free as "Open Location Code" because of short code compatibility issues, you can of course do that and might even have a point under specific circumstances. I'd just say that doing it in the OLC repository by asking for an algorithm to be used with data from anywhere else than Google Maps is neither the best nor the most honest way to do so if you are actually looking for something completely different.

From (newly updated) https://github.com/google/open-location-code/wiki/FAQ#reference-location-dataset :
The open source libraries support conversion to/from addresses using the latlng of the reference location. Callers will need to convert place names to/from latlng using a geocoding system.
Providing a global dataset isn't within scope of this project. For a potential free alternative, see Open Street Map and derived geocoding service Nominatim.


Extract the DBpedia specific enum values to a config

Follows #95 .

Postponed until 2016-10-08 to allow some polishing of the code.


Variables in JQueryCallbacks client are undeclared, causing TS compiler error

When generating a TS client with JQuery callbacks, the TS compiler gives an error on an undeclared variable. The following code is generated:
let resultdefault: any = null;
let resultDatadefault = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
result = resultData ? ErrorModel.fromJS(resultData) : new ErrorModel();
return throwException("A server error occurred.", status, _responseText, _headers, resultdefault);

The resultdefault and resultDatadefault variables are never actually updated or used, and the result variable is undeclared. Is this an error in the template?

i think this is already fixed (but not released yet): https://github.com/RSuter/NSwag/issues/1683

Yep, that looks suspiciously similar, thank you. Any idea when #1683 will be included in a release?

I'm just releasing v12... so if nothing goes wrong in an hour...


[AppConfig] appconfig kv import: Fix import mode all bug

Related command

az appconfig kv import
Description

Related to Issue https://github.com/Azure/AppConfiguration/issues/998 where import mode all will not write kvs when all keys already existing and the --yes flag is not specified.
Testing Guide

History Notes

[AppConfig] az appconfig kv import: Fix import mode all bug

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.

@zhoxing-ms, @yanzhudd,  Could you please help merge this PR, thanks!

/azp run


Roll Flutter Engine from 7a58c91f735d to 36e2ed62e50d (1 revision)

https://github.com/flutter/engine/compare/7a58c91f735d...36e2ed62e50d
2023-03-14<EMAIL_ADDRESS>Roll Skia from 0012a5e840d0 to 06b16dcb003e (1 revision) (flutter/engine#40272)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Fix duplicate and wrong ids in ems_infra form.

Ping @mfalesni, @jkrocil : guys, if you hit broken IDs in forms, you can do a simple PR like this one.
Ping @AparnaKarve, @dclarizio, @h-kataria : please, watch for this in PR reviews.
You can also utilize https://github.com/ManageIQ/manageiq/pull/8804 to find those in run-time.
For testability we need not only to prevent duplicate IDs, we also need stable and meaningful IDs so that elements to be tested can be easily found in the DOM.
Thx!

@psav ^^

Setting darga/yes as this affects QE


Image updates

Image updates for PGO installers and examples.
[ch12164]

This doesn't seem to work?
$ docker pull registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.1-0
Error response from daemon: unknown: This container version is no longer available from the Crunchy Data Developer Program. For information on accessing these containers, please contact<EMAIL_ADDRESS>

This is in the devel branch. It will be available in main once 5.0.1 is released.


Update 15 - Cross platform improvements

Should fix https://github.com/stride3d/stride-community-toolkit/issues/133


Feature/promise based js api

TODOs before PR:

[x] "Promisify" other methods.
[x] Tests.

should probably bump version to 6.1.0, because of the added API methods

@matthew-j-riley Good to merge!


bundler-related installation issue [install]

Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?

[X] Yes!

My issue is that everytime I try to create a new project in rails, nokogiri fails and gives me this error:
Bundle complete! 17 Gemfile dependencies, 75 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.
run  bundle binstubs bundler
rails  webpacker:install
rails aborted!
LoadError: cannot load such file -- nokogiri/nokogiri
What is the complete output of gem install or bundle install?

///amrithaprasad@amrithas-mbp workspace % gem install nokogiri
///Successfully installed nokogiri-1.12.5-x86_64-darwin
///1 gem installed

If installation completed but is broken, what is the complete output from nokogiri -v?

# Nokogiri (1.12.5)
    ---
    warnings: []
    nokogiri:
      version: 1.12.5
      cppflags:
      - "-I/Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/nokogiri-1.12.5-x86_64-darwin/ext/nokogiri"
      - "-I/Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/nokogiri-1.12.5-x86_64-darwin/ext/nokogiri/include"
      - "-I/Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/nokogiri-1.12.5-x86_64-darwin/ext/nokogiri/include/libxml2"
      ldflags: []
    ruby:
      version: 3.0.2
      platform: x86_64-darwin20
      gem_platform: x86_64-darwin-20
      description: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20]
      engine: ruby
    libxml:
      source: packaged
      precompiled: true
      patches:
      - 0001-Remove-script-macro-support.patch
      - 0002-Update-entities-to-remove-handling-of-ssi.patch
      - 0003-libxml2.la-is-in-top_builddir.patch
      - 0004-use-glibc-strlen.patch
      - 0005-avoid-isnan-isinf.patch
      - 0006-update-automake-files-for-arm64.patch
      - 0007-Fix-XPath-recursion-limit.patch
      libxml2_path: "/Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/nokogiri-1.12.5-x86_64-darwin/ext/nokogiri"
      memory_management: ruby
      iconv_enabled: true
      compiled: 2.9.12
      loaded: 2.9.12
    libxslt:
      source: packaged
      precompiled: true
      patches:
      - 0001-update-automake-files-for-arm64.patch
      - 0002-Fix-xml2-config-check-in-configure-script.patch
      datetime_enabled: true
      compiled: 1.1.34
      loaded: 1.1.34
    other_libraries:
      zlib: 1.2.11
      libiconv: '1.15'
      libgumbo: 1.0.0-nokogiri

If installation failed during compilation, what are the complete contents of the mkmf.log file generated during the failed installation?

the mkmf.log file contents go here

Tell us about your system!
What is the output from ruby -v?
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20]
What is the output from gem -v?
3.2.29
What is the output from gem env?
the output of "gem env" output goes here

If you're using Bundler:

what is the output from bundle version?
what is the output from bundle config? (Take care to redact any credentials)

RubyGems Environment:
  - RUBYGEMS VERSION: 3.2.29
  - RUBY VERSION: 3.0.2 (2021-07-07 patchlevel 107) [x86_64-darwin20]
  - INSTALLATION DIRECTORY: /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0
  - USER INSTALLATION DIRECTORY: /Users/amrithaprasad/.gem/ruby/3.0.0
  - RUBY EXECUTABLE: /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/bin
  - SPEC CACHE DIRECTORY: /Users/amrithaprasad/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-darwin-20
  - GEM PATHS:
     - /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0
     - /Users/amrithaprasad/.gem/ruby/3.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/amrithaprasad/.asdf/installs/ruby/3.0.2/bin
     - /Users/amrithaprasad/.asdf/shims
     - /usr/local/Cellar/asdf/0.8.1_1/libexec/bin
     - /usr/local/opt/ruby/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin

If you're on MacOS, please note:

the version of XCode you have installed (if you know)
the output of gcc -v or clang -v
-gcc-v:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 13.0.0 (clang-13<IP_ADDRESS>)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

If Linux or a BSD variant, please note:

the distro you're using
the output of uname -a
the contents of /etc/lsb-release.

If Windows, please note:

whether you're installing the precompiled gems, or compiling yourself with DevKit
the version of RubyInstaller you've installed
or if you're not using RubyInstaller, how did you install Ruby?

Ah ok thank you looks like my issue had to do with a ruby version not being set by my version manager. After I set the version locally nokogiri was able to install correctly
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mike Dalessio @.>
Sent: Tuesday, October 19, 2021 5:36:10 PM
To: sparklemotion/nokogiri @.>
Cc: Amritha Prasad @.>; Author @.>
Subject: Re: [sparklemotion/nokogiri] bundler-related installation issue [install] (Issue #2342)
Sorry - in my previous post I used "linux" but meant "darwin" ... the advice still holds true, though. I'll edit the message.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sparklemotion/nokogiri/issues/2342#issuecomment-947124637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAMJCQ32L3BJ5JN7M22VSQTUHXQEVANCNFSM5GJ273JA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


License

Cool project, but isn't having GPL on it a bit too heavy? I cannot use it for this reason.

Changes to MIT license. Hope it helps.

closing


Refactoring archive testing to a single yml file.

This reduces the duplication in each of the workflow files. This also
will make archive testing with SwiftPM more straightforward.

remoteconfig test failure is addressed by #6514

Probably shouldn't be added here

Thanks, got caught with a git commit -a 😝  will remove.


Godot Namespace Not Found and Can't Run Scene

VisualStudio code seems to have the right packages installed and I've configured the correct path for the GodotEditor but all of the scripts in my existing project say that the Godot namespace is not found. Also when I try to run the scene it open Godot but fails. Seems with this:
ERROR: Failed loading scene: res://Tileset_Env.cs
   At: main/main.cpp:1688
Mono: Runtime cleanup...
debugger-agent: Unable to listen on 1832
WARNING: cleanup: ObjectDB Instances still exist!
     At: core/object.cpp:1989
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:418

Did I forgot part of the setup?

This plugin is designed to write GDScript easier.
It does nothing for C# related stuff.

Update:
I haven't fixed the second issue but I fixed the first by running the scene once in Godot. I guess I must have deleted what was in the .mono/assemblies directory because once I ran it in Godot it copied some dlls over.

This plugin is designed to write GDScript easier.
It does nothing for C# related stuff.

Sorry it wasn't clear to me. Even the second problem does sound like an issue with Mono or whatever instead. I'll close this issue.


Styling Knob

Hello, first of all: great work! Is it possible to style the knobs (size)?

Hey. Thank you. Done. Sorry it took so long.


✨ move to cgr base image

Move the static cgr.dev base image as it has less foot print and zero vuln.

cgr.dev
➜  scorecard git:(main) ✗ grype docker.io/library/scorecard
 ✔ Vulnerability DB                [no update available]
 ✔ Loaded image                                                                                index.docker.io/library/scorecard:latest
 ✔ Parsed image                                                                     sha256:9dc0b3a5edf538cc6e7cb559a037a4076ac68f1fca0010049da9f6111addd339
 ✔ Cataloged contents                                                                      4e28f40763377e1ffe75bfd4400e924ef62cf04db7b5b136338a932569afa3c8
   ├── ✔ Packages                        [121 packages]
   ├── ✔ File digests                    [397 files]
   ├── ✔ File metadata                   [397 locations]
   └── ✔ Executables                     [1 executables]
 ✔ Scanned for vulnerabilities     [0 vulnerability matches]
   ├── by severity: 0 critical, 0 high, 0 medium, 0 low, 0 negligible
   └── by status:   0 fixed, 0 not-fixed, 0 ignored
No vulnerabilities found

distroless
➜  scorecard git:(main) grype 53597ab312e4
 ✔ Vulnerability DB                [no update available]
 ✔ Loaded image                                                                                53597ab312e4
 ✔ Parsed image                                                                     sha256:53597ab312e4cfc07ed88464de08d020ad23eed32f6b32c8ec3e04449fd67780
 ✔ Cataloged contents                                                                      cf00f3cc9f38cc71a23039d27febd8b68b0aba92a152d8c48f66f9b0f5263065
   ├── ✔ Packages                        [121 packages]
   ├── ✔ File digests                    [1,227 files]
   ├── ✔ File metadata                   [1,227 locations]
   └── ✔ Executables                     [279 executables]
 ✔ Scanned for vulnerabilities     [15 vulnerability matches]
   ├── by severity: 0 critical, 0 high, 3 medium, 0 low, 9 negligible (3 unknown)
   └── by status:   0 fixed, 15 not-fixed, 0 ignored
NAME     INSTALLED         FIXED-IN     TYPE  VULNERABILITY     SEVERITY
libc6    2.36-9+deb12u7                 deb   CVE-2019-9192     Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2019-1010025  Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2019-1010024  Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2019-1010023  Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2019-1010022  Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2018-20796    Negligible
libc6    2.36-9+deb12u7                 deb   CVE-2010-4756     Negligible
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2024-0727     Medium
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2023-6129     Medium
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2023-5678     Medium
libssl3  3.0.11-1~deb12u2               deb   CVE-2010-0928     Negligible
libssl3  3.0.11-1~deb12u2               deb   CVE-2007-6755     Negligible
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2024-4603     Unknown
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2024-2511     Unknown
libssl3  3.0.11-1~deb12u2  (won't fix)  deb   CVE-2023-6237     Unknown

What kind of change does this PR introduce?
(Is it a bug fix, feature, docs update, something else?)

[ ] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
What is the new behavior (if this is a feature change)?**

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Just FYI this was discussed in the past. Linking for historical context I think this falls under the "if a majority of maintainers want to" part of Azeem's comment.
https://github.com/ossf/scorecard/pull/2593#pullrequestreview-1266224197 and https://github.com/ossf/scorecard/pull/2593#issuecomment-1479639997

@naveensrinivasan — Nice! Would you mind making similar changes for our other projects? e.g., https://github.com/ossf/scorecard-action/blob/c64f0a7231aa68a6849c2b65bf16af3daa23d3e6/Dockerfile#L38

I dont think we can do it for scorecard-action, https://github.com/ossf/scorecard/pull/2593#discussion_r1067409041

Just FYI this was discussed in the past. Linking for historical context I think this falls under the "if a majority of maintainers want to" part of Azeem's comment. #2593 (review) and #2593 (comment)

@naveensrinivasan — Nice! Would you mind making similar changes for our other projects? e.g., https://github.com/ossf/scorecard-action/blob/c64f0a7231aa68a6849c2b65bf16af3daa23d3e6/Dockerfile#L38

I dont think we can do it for scorecard-action, #2593 (comment)

@spencerschrock  Do you have concerns about merging it?


How about make shipping to appstore/apphub/hockey/googleplay as plugins

Core rnpm should not integrate some many stuff .
Better structure  a plugin system to achieve this .

Good point! As you see from the source we already have a proof of concept plugin folder that is not user and was planned to be released independently once we are done with stuff.
If there's anyone that can share / suggest good structure to achieve that - I am interested in more.

I think the idea behind this proposal is not to overload rnpm with some very specific commands. I'm also up for it. We can consider custom installable commands. What do you think, @grabbou?

As I said - once we have plug-in system and core is able to detect installed plugins and attach them to cli (so you still use rnpm --help), I'm fine with that. It's probably a good approach given the fact these commands are highly custom. So the ship one is probably going to live in one repo.
Is that the idea you had @Kureev ?

Agreed, See #17


[release 1-.5] Remove multicluster zvpn from ingress/egress default

Multicluster is alpha as per preliminary feature pages. As
such, demoting this zvpn default of true to false.
Manually ran:
BUILD_WITH_CONTAINER=1 make update-charts
BUILD_WITH_CONTAINER=1 make update-goldens

Fixes: https://github.com/istio/istio/issues/21440
(cherry picked from commit 0b82ab666670d262ee7cf3e095f00369651a1c35)
Conflicts:
operator/data/profiles/default.yaml
operator/pkg/vfs/assets.gen.go

@ostromart this PR had merge conflicts. I executed the above steps to remove the merge conflicts. can you please provide a review of this PR ahead of the T&R team?
It appears make update-goldens was not run by prior cherrypicks. This step seems necessary to me.

@sdake sometimes merges cause assets to have conflicts, and sometimes auto merges are not correct (wrt how go-bindata would write the file) so that's where the conflicts come from. We do have gencheck to prevent conflicts being merged though.

@sdake: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
451451610bc63304635e5d70a9276d3fb1aff98c
link
/test gencheck_istio_release-1.5

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.

@sdake: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio_release-1.5
451451610bc63304635e5d70a9276d3fb1aff98c
link
/test gencheck_istio_release-1.5

unit-tests_istio_release-1.5
451451610bc63304635e5d70a9276d3fb1aff98c
link
/test unit-tests_istio_release-1.5

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.

@sdake: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.5
451451610bc63304635e5d70a9276d3fb1aff98c
link
/test unit-tests_istio_release-1.5

gencheck_istio_release-1.5
27389c21c02a7c79ccf8c4e3e5683e227c20426d
link
/test gencheck_istio_release-1.5

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.

@sdake: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio_release-1.5
8f0c23cbfa0131430262ad5b1fb8ad9be8c35ae8
link
/test integ-security-k8s-tests_istio_release-1.5

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-security-k8s-tests_istio_release-1.5

@johnma14 @ostromart already gave a review above.
Cheers
-steve


SQL Server Import Error: Couldn't start client Flat File Import Service

Azure Data Studio Version: 1.48.0
OS Version: Sonoma 14.0
SQL Server Import: v1.6.1

Steps to Reproduce:

Running SQL Server in Docker.
Make connection with SQL server and create a database
Install SQL Server Import in ADS.
Right click database and click import wizard
Receive notification in bottom right. "Couldn't start client Flat File Import Service". "Source: SQL Server Import(Extension)"

There are no additional error messages or outputs when i go to Flat File Import Service.
My server is actively connected (green light).
Similar issue to #24612, but that was not useful to me.
Any help is much appreciated.

Does this issue occur when all extensions are disabled?: No

I am also having this issue.

I also had this issue.
This issue can be solved after entering this series of command on my MacBook.
"softwareupdate --install-rosetta"


[T5A1][T16-B2]ZhaoDingfan

Dear tutor, the GitHub reminds me that this branch has conflicts that must be resolved. However, I have checked that there is no conflicts between my T5A1 branch and master branch, how can I deal with it?

@ZhaoDingfan, let's discuss about that during this week's tutorial.

Reviewed during tutorial. Good work overall.


fd_renumber implementation is wrong

While working on my WASI implementation, I was reading fd_renumber docs:

Atomically replace a file descriptor by renumbering another file descriptor. Due to the strong focus on thread safety, this environment does not provide a mechanism to duplicate or renumber a file descriptor to an arbitrary number, like dup2(). This would be prone to race conditions, as an actual file descriptor with the same number could be allocated by a different thread at the same time. This function provides a way to atomically renumber file descriptors, which would disappear if dup2() were to be removed entirely.

I've noticed that Wasmer JS implementation does the following:
https://github.com/wasmerio/wasmer-js/blob/4e660caedba56e50db0da9238a789ab0e2f989be/packages/wasi/src/index.ts#L930-L933
That is, it renumbers to to from, which goes against the naming as well as, upon close reading, against the description in docs.
Then I've checked the upstream implementation of node-wasi by @devsnek that that code was copied from and noticed that, indeed, it used to have same incorrect implementation as well, but it was fixed there a ~year ago to:
https://github.com/devsnek/node-wasi/blob/3624970047bacd19c3fef1447da56ade28f90ef3/src/index.js#L882-L885
which now correctly remaps from descriptor to to.

Ping @syrusakbary in case this one got missed as well.


integration: build out the integrations class hierarchy

It is now possible to do the following, given that you hold an instance of the ScmIntegrations class:
// If you know that you want to target specifically Azure
// (there is both byHost and byUrl)
integrations.azure.byHost('az.company.net').config.azureSpecificConfigValue

// If you want to target any integration generically
integrations.byUrl('https://az.company.net').type === 'azure'

there's more to be added to the interfaces - such as using tokens to enrich a request and whatnot

This is looking pretty good so far I think. Looks like it could be pretty simple to implement in the scaffodler anyway with these changes pretty easily.

This is looking pretty good so far I think. Looks like it could be pretty simple to implement in the scaffodler anyway with these changes pretty easily.

Just been working a little more on the integrations port for the scaffolder, thinking that something to build on top of this API that would be good, would be something like.
integrations.github.clientFor('github.com')
integrations.github.clientFor('ghe.mycompany.com')
And then I have a github client for that URL with all the auth setup, and it's cached so we don't create a new one each time. Of course theres different API's for each provider, but it would be good to abstract these clients away under a factory for a URL. I can see this becoming a useful API in different places not just the scaffolder.

Just been working a little more on the integrations port for the scaffolder, thinking that something to build on top of this API that would be good, would be something like.
integrations.github.clientFor('github.com')
integrations.github.clientFor('ghe.mycompany.com')
And then I have a github client for that URL with all the auth setup, and it's cached so we don't create a new one each time. Of course theres different API's for each provider, but it would be good to abstract these clients away under a factory for a URL. I can see this becoming a useful API in different places not just the scaffolder.

Makes sense. Could have a generic integrations.fetcherFor('host.com') as well that returns something with the signature typeof fetch

Makes sense. Could have a generic integrations.fetcherFor('host.com') as well that returns something with the signature typeof fetch


Workspaces supports connecting to a server with different accounts.

fixes #2977

This PR changes the way we store credentials, from server url as key to workspace name as key.

👍


Adding cacheable variable to parse_leapp_report

Adding a variablized argument to allow this to be run from AAP and capture the reporting when an aggregator isn't available.

The newly introduced var also should be added to the role README.md.

it looks like your rebase went bad and you pulled in a lot of the other recent PRs changes as well. at this point I am not sure if it would be easier to start fresh and then add your changes back in from there.

Fixed the lint issue, updated the readme, and thank you @swapdisk for helping me fix my rebase issue!


Implement mdc web layout grid

Fix for this issue: Implement MDC-Web Layout Grid
This adds Ember-ized component support for the Material Components Web Layout Grids object: https://material.io/components/web/catalog/layout-grids/.
The following examples are added to the demo page.

Column spans

{{#mdc-layout-grid as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell span=6}}
      Span 6
    {{/inner.cell}}
    {{#inner.cell span=4}}
      Span 4
    {{/inner.cell}}
    {{#inner.cell span=2}}
      Span 2
    {{/inner.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Column spans for specific screen sizes

{{#mdc-layout-grid as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell span=6 span-tablet=8}}
      6 (8 tablet)
    {{/inner.cell}}
    {{#inner.cell span=4 span-tablet=6}}
      4 (6 tablet)
    {{/inner.cell}}
    {{#inner.cell span=2 span-phone=4}}
      2 (4 phone)
    {{/inner.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Cell reordering

{{#mdc-layout-grid as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell order=3}}
      Cell 3
    {{/inner.cell}}
    {{#inner.cell order=1}}
      Cell 1
    {{/inner.cell}}
    {{#inner.cell order=2}}
      Cell 2
    {{/inner.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Cell alignment

{{#mdc-layout-grid as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell align="top"}}
      Top aligned
    {{/inner.cell}}
    {{#inner.cell align="middle"}}
      Middle aligned
    {{/inner.cell}}
    {{#inner.cell align="bottom"}}
      Bottom aligned
    {{/inner.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Fixed column width grid, alignment of grid

{{#mdc-layout-grid fixed-column-width=true align="left" as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell}}
      ...
    {{/inner.cell}}
    {{#inner.cell}}
      ...
    {{/inner.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Nested grids should work too, right?
{{#mdc-layout-grid as |grid|}}
  {{#grid.inner as |inner|}}
    {{#inner.cell}}
      {{#grid.inner}}
        {{#grid.cell}}Second Level{{/grid.cell}}
        {{#grid.cell}}Second Level{{/grid.cell}}
      {{/grid.inner}}
    {{/inner.cell}}
    {{#grid.cell}}First Level{{/grid.cell}}
    {{#grid.cell}}First Level{{/grid.cell}}
  {{/grid.inner}}
{{/mdc-layout-grid}}

Thank you so much for the PR! This will ship out with v0.0.37 👍


Implement Debug for structs

Most structs in the library should derive Debug, since they're plain data.
Also once #68 is merged,  it should be possible to manuall implement Debug for XEvent.

just realized this is duplicate of #71, my bad


treat boxed Boolean fields like primitive ones

fixes https://github.com/sai-pullabhotla/catatumbo/issues/199

Coverage increased (+0.006%) to 80.307% when pulling f2e5782bcbf0044f083f89f8f72f2e88da675d3f on robertlemmen:master into e61cc1bf5cca16fbbb7ceff18f77aa3972acc769 on sai-pullabhotla:master.


UI Enhancements

Improve the visual design for a better user experience.
Add animations or transitions for guess submissions and evaluations.

Done!


[Utility] Running multiple rulesets at once

Running a two rulesets in sequence can have very different effects than running one ruleset at a time.
We need a way to run two rulesets at the same time.
In general, it would be nice to be able to compose rulesets in some way. But for now, a small change that allows for running multiple rulesets would help a lot.

Implemented by #362


integrate and complete wallet creation page

works perfectly - needs a transition though it doesn't take long, marking as done for now


Notify contributors of breaking changes from PR template

Is your feature request related to a problem? Please describe.
Currently, contributors aren't notified of breaking changes.
Describe the solution you'd like
The breaking changes section in the PR template contains a commented-out ping to @all (if there is something) to notify on breaking changes.
Describe alternatives you've considered
If @all doesn't exist, we should perhaps create a team of contributors which can then be pinged with @hexatomic/contributors
Additional context
@bunz-lightyear never got notified of the Java version update, hence ran into an error. This could've been avoided by such a notification.
Get credited
Thinking about how to improve Hexatomic deserves credit! Get yourself listed as a contributor by mentioning your username in the next line.
@all-contributors, please add <@ user> for ideas.

Hm, @all dones't exist, and pinging an ever-growing :crossed_fingers: team may be spammy, on the other hand people can just switch off notifications I guess?
What are your thoughts on this, @thomaskrause?


I am seeing the following error when launching puppeteer with chromium in the latest version of chromium

Failed to launch chrome! Error relocating /usr/lib/chromium/chrome: FT_Get_Color_Glyph_Layer: symbol not found Error relocating /usr/lib/chromium/chrome: FT_Palette_Select: symbol not found

Alpine Linux

This is how I'm installing dependencies, is there a better way to do this so that I can download a specific version of Chromium?
Install Puppeteer dependencies
RUN apk update && apk upgrade &&
echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories &&
echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories &&
apk add --no-cache
chromium@edge
harfbuzz@edge
nss@edge
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

New install code, not sure when this was updated, but I missed this update.
Install Puppeteer dependencies
RUN apk update && apk upgrade &&
echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories &&
echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories &&
apk add --no-cache
chromium@edge
nss@edge
freetype@edge
harfbuzz@edge
ttf-freefont@edge
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

Ran into the same problem.
Chromium version 73 was the culprit.
https://bugs.archlinux.org/task/62026
Fixed by using alpine-3.9 image and apk add --no-cache chromium (not chromium@edge)

Did you try updating the install script? or installing the missing packages?

Just found this thread after I ran into the same issue trying to get puppeteer to work under an existing alpine-3.8 image.
apk add --no-cache chromium - which installs Chromium 68.0.3440.75 - and
npm i<EMAIL_ADDRESS>- which was released for Chromium 68 - did the trick.

npm i<EMAIL_ADDRESS>
<EMAIL_ADDRESS>have 1 high severity vulnerability
https://npmjs.com/advisories/824


Nats JetStream server configuration

There are two places where a consumer/user is setup.

In the server.conf file, where the username/password and the permissions are set up
Using nats con add STREAM_NAME, where the consumer is configured to specific jetstream configurations.

How does NATs recognize the two users to be the same?
Examples on how we configured the user and consumer:

server.conf:
 {user: username, password: "password", permissions: $PERMISSIONS}

consumer statement:
nats con add METADB ${consumer_client_name}        --target=${consumer_client_name}.METADB        --filter=${FILTER_SUB}        --ack=${DEF_ACK}        --deliver=${DEF_DELIVER}        --max-deliver=${DEF_MAX_DELIVER}        --sample=${DEF_SAMPLE}        --replay=${DEF_REPLAY}        --wait=${DEF_WAIT}         --user=${NATS_ADMIN_USERNAME}        --password="${NATS_ADMIN_PASSWORD}"         --server=${NATS_URL}        --tlskey=${NATS_TLSKEY}        --tlscert=${NATS_TLSCERT}

All the consumers and users are setup in the same way.  How would we connect the nats user and jetstream consumer?

@divyamadala30 Are you asking how to connect to a server with a username/password using the Java client?

So I setup username/password for each user in the server.conf file. Our services use this for authorization. The usernames and the consumer client names are matched. However, when I run nats con ls, I see new consumers being created but expected to see a list of consumer names that i have added using the cli statement above. So how do i tell nats that the username with set permissions is the same consumer with matching consumer-client-name?

@divyamadala30 So you are asking about the nats cli, which is not the java client.  You might be better served by posting to our slack channels at natsio.slack.com Also, the cli that you are using is in this repo, https://github.com/nats-io/natscli, but Github issues should be used for bug reporting and feature requests, not technical support.


Registration

Added routing to registration page from App.tsx and LoginForm index.tsx
Added Registration page following how Login was done.
Added a bit of css for the registration form.

Created a Pull Request to Registration branch with small refactor:
https://github.com/webhook-buddies/webhook-buddy-client/pull/2

@imqt I'm not able to load the project. Here's the error I get:


overhaul CI

Fixes #23
Fixes #16
This PR redoes CI, which now:

runs the cookie CI in a step that will fail if the cookie CI fails (only ubuntu and with conda-forge, for reasons like https://github.com/nektos/act/issues/561)
Uploads artifacts to inspect
On merge to main, pushes example repositories to https://github.com/MDAnalysis/mdakit-cookie/ under various branches. Here, CI will also run, but won't be a failing step in the cookiecutter repo. (Sorry for eating up all our private budget for this month :( )
On merge to main, pushes example repositories to the examples/ branch of this one

Despite ostensibly addressing fairly low-priority issues, this fixes CI so that it actually runs -- turns out the cookie tests weren't actually working as in the main branch. Therefore it's necessary.
Decisions that could do with discussion:

the cookie action get-stable-python-version is reasonably re-usable, if we want to store it somewhere in the MDAnalysis/ repo and just pull from that. It's licensed under MIT and afaik I wrote it from scratch -- are we ok with that?
I don't know if we have a quota for uploading artifacts. I set the retention time to 3 days (down from the default 90) just in case.

Hello @lilyminium! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/test_output.py:

Line 24:80: E501 line too long (82 > 79 characters)
Line 32:80: E501 line too long (86 > 79 characters)
Line 33:80: E501 line too long (80 > 79 characters)

In the file {{cookiecutter.repo_name}}/.github/actions/get-stable-python-version/get_python_version.py:

Line 14:80: E501 line too long (80 > 79 characters)
Line 62:80: E501 line too long (93 > 79 characters)
Line 90:80: E501 line too long (99 > 79 characters)
Line 93:80: E501 line too long (80 > 79 characters)
Line 94:80: E501 line too long (106 > 79 characters)

@orbeckst @IAlibay @fiona-naughton your reviews and opinions on the items in the first comment would be highly appreciated, but I do realise that this is a fairly large PR. If one of you is happy with the behaviour I think it adds, and with the examples at https://github.com/MDAnalysis/cookiecutter-mdakit/tree/examples and https://github.com/MDAnalysis/mdakit-cookie branches, then I'll count that as good enough :)

I don't know if we have a quota for uploading artifacts. I set the retention time to 3 days (down from the default 90) just in case.

Yes, AFAIK there's a 500 GB quota on artifacts (I saw it when I set up the artifact uploading for the whitepaper). Reducing storage duration to 3d is a good idea.

I am in favor of putting re-useable actions into separate repos. MIT license is also totally fine with me.

I don't know if we have a quota for uploading artifacts. I set the retention time to 3 days (down from the default 90) just in case.

Yes, AFAIK there's a ~500 GB~ 500 MB quota on artifacts (I saw it when I set up the artifact uploading for the whitepaper). Reducing storage duration to 3d is a good idea.

We actually burn through this real quick as an organisation, especially when we do releases (wheels for everything is a good 200 MB being used for a few days). I'd suggest going for the minimum artifact retention period that is useful here (even down to a single day unless you expect to need to inspect / debug artifact contents)

FYI,  https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions

Product
Storage
Minutes (per month)

GitHub Free for organizations
500 MB
2,000

Maybe storage is actually free for public repositories and the limits only apply to private repos. I am not 100% sure

GitHub Actions usage is free for both public repositories and self-hosted runners. For private repositories, each GitHub account receives a certain amount of free minutes and storage, depending on the product used with the account.

In any case, keeping retention times short is good stewardship of resources.

Thanks for looking this over, @IAlibay  and @orbeckst! I made #27 as an issue so I can merge this CI now. I'll also keep an eye on the storage quota if the retention time becomes an issue. :)


Signature: antivirus_virustotal reporting ATT&CK Heuristics

Hey
running cccs/assemblyline-service-cuckoo:4.0.0.stable47 (issue was present in previous versions)
I've noticed ATT&CK tags seem to be getting added to the 'Signature: antivirus_virustotal'  which doesn't seem to be right. I haven't had a chance to try and see how these are getting there yet, unfortunately.

Hey @phate1,
Thanks for reaching out!
You're right, there are not ttp (ATT&CK IDs) associated with that signature (signature_link) according to the raw signature. But this signature is mapped to the Assemblyline Heuristic Anti-antivirus which we've determined on the Assemblyline end should be linked to the ATT&CK IDs T1518.001, T1562.001 (heuristic_link).
What doesn't seem to be right about this?

Hey, thanks for the swift reply.
Sorry yes ignore the ATT&CK tags then so I guess my question is why is it tagging it anti-antivirus. as far as I'm aware that section simply pulls detections from VT so I don't think that gives it any indication that would suggest its anti-antivirus would it ?
I did check out virustotals page on the file and nothing there suggests it believes it demonstrates any behaviour that would result in that tag in case you were pulling more info from the API than I thought.

Ah, good point. I think this signature can be associated with a different heuristic then. @CCCS-MA thoughts?

I'm not certain we have a heuristic that currently fits the bill in this particular case. My suggestion would be to build one out.

Solution implemented in release v4.0.0.stable48


Adds documentation for wipe and commit

This adds documentation to wipe and commit of Externalities.
Besides that it removes the default implementation that would just panic
and requires that all implementers of the trait implement the functions.

CI job passed, but was happening through the github outage, so it's not correctly reporting the current status. false positive.


Do not assume that error response, in error (xhr) {...} blocks, is from Zulip

When handling errors making requests to the server, we should not assume that the xhr response is well-formed data returned from the Zulip server, and we should be robust when attempting to parse it.
For instance, if the client cancels the request (via  key or other means), the responseText will be "" and the status code will be 0.  We should thus not attempt to indiscriminately call JSON.parse(xhr.responseText).msg in the error handler, as that itself may throw an error.
We should review all error(xhr) {...} blocks and ensure that they cannot themselves raise an error when handling the response.  They should return the UI to a reasonable state even in the face of unexpected error response data, including cancelled requests.  Note that if a request is cancelled, we may be able to determine if it was sent at all using readyState; however, if the state is anything but 0 (UNSENT), then the server may have acted on the request.

As an AI language model, I don't have context on what specific software or programming language you're referring to with the "error (xhr) {...}" block. However, in general, it's a good practice to avoid making assumptions about the source or cause of an error without thoroughly investigating and verifying the information.
Assuming that an error response is from a specific source without proper investigation could lead to incorrect conclusions and make it more difficult to diagnose and fix the actual problem. Therefore, it's important to carefully examine the error message and any related information to determine its cause and origin.

Hey @alexmv i'm new to open source I had seen like files - invite.js, settings_account.js, and settings_emoji.js, are using error(xhr). could you be more specific reasonable state of the UI.


Documentation bug in Texture.h

Describe the bug
In Texture.h, documentation comments under "creation and destruction" say:
filament::IndirectLight* texture = filament::Texture::Builder()

While a texture may be used as part of setting up an IndirectLight, a Texture is not itself an IndirectLight.

Thank you, I just checked in a fix.


8413.6 Add script to install Redis on another machine

Shippable/pm#8413
Add a script to install Redis on another machine

calling POST /api/redis/initialize initializes a remote node successfully


Add ability to override window border widths to make resizing windows easier on high resolution display

Resizing windows on a high resolution display with a "fast mouse" setting can be cumbersome
Many users now have a combination of:

High resolution display - e.g. 4k
"Fast" mouse setting so that wrist movement is precise and minimized to reduce actual hand movement - this is ergonomically better as it reduces the strain on a wrist

However, this makes it hard to resize most windows as the "hit" area is only a few pixels wide or tall. This has been a feature request for Windows for a long time, judging by the number of times it was suggested as a configurable option to Windows itself. Barring that, PowerToys seems like a great place to add this capability.
Edit: If you'd like to see this feature implemented, add a 👍 reaction to this post.

Any apps in particular you are having an issue with?

Microsoft Edge sometimes has a zero size drag area on the right and bottom of the window