Contribute implementation to Python

See http://bugs.python.org/issue21145.
All we need to add is the TTL feature that other implementations like pip and werkzeug and Django have.
This package already has some basic testing and it would be nice to start from there.

just my 2 cents, once this goes into the std-lib its dead :)

But there aren't many code changes to makes. It works and that's it.

What do you think about the following workaround to handle __slots__ classes?
class slots_cached_property(object):
    cached_attr_prefix = 'cached_'

    def __init__(self, func):
        self.func = func

    def __get__(self, obj, cls):
        cached_attr_name = self.cached_attr_prefix + self.func.__name__

        if not hasattr(obj, cached_attr_name):
            value = self.func(obj)
            setattr(obj, cached_attr_name, value)
        return getattr(obj, cached_attr_name)

class Foo(object):
    __slots__ = 'cached_sum', 'items'

    def __init__(self, items):
        self.items = items

    @slots_cached_property
    def sum(self):
        return sum(self.items)

foo = Foo([1, 2, 3])
print foo.sum

As stated here http://stackoverflow.com/a/19979379/450103 with Python >= 3.2 you can use @lru_cache http://docs.python.org/3/library/functools.html#functools.lru_cache with @property, so I don't see reason to put it explicitly in stdlib:
import functools
class MyClass:
    @property
    @functools.lru_cache()
    def foo(self):
        print("long calculation here")
        return 21 * 2

@vgavro your example has vastly different behavior as it creates a actual global cache disengaged from instances, and goes as far as taking away the cache from one instance when another instance is calculated
so there is a massive difference in underlying behavior and constraints

@RonnyPfannschmidt you're absolutely right, came back here to update comment. Seems to be long night for me.

Once we see Python 3.8 come out, I'll close this issue. However, this project will continue as it will serve as both a back port and a means to continue toying with features.

3.8.0 is out as a stable release now with cached_property. Thanks for the library.

Yup.
I'm going to close this issue.
Thank you everyone!


Rendering error when navigate from view with AvatarGroup controller to another

Hello!
Description:
I faced with an error when navigate from the view with 'sap.f.AvatarGroup' controller to another view, this isn't broke application but spams non-stop in the console and cause 'freeze' of 'DevTools'.
Error text: Uncaught Error: Rendering has been re-started too many times (21). Add URL parameter sap-ui-xx-debugRendering=true for a detailed analysis. at constructor.Y.renderPendingUIUpdates
OpenUI5 version: Latest.
SAPUI5 version: 1.91.0, also reproduce 1.97.2;
Browser/version (+device/version):

Google Chrome (version: 98.0.4758.82);
Microsoft Edge (version: 98.0.1108.50);

URL (minimal example if possible):

Repository with reproduced 'rendering' error: https://github.com/FreSemin/avatar-group-bug-demo;
JSBin example: https://jsbin.com/ciqifak/edit?html,js,output.

Steps to reproduce the problem:

Open page with 'AvatarGroup' controller;
Navigate to another view using 'sap.ui.core.routing.Router';
2.1 Code example:
this.getOwnerComponent().getRouter().navTo('PageWithoutAvatarGroup');
Check console;

What is the expected result?
All work without errors.
What happens instead?
Error spams non-stop in the console and cause 'freeze' of 'DevTools'.
Any other information? (attach screenshot if possible)

Hello @FreSemin,
Thank you for sharing this finding. I’ve created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Ivaylo Plashkov


Can't test ng update with beta versions

Versions
Angular CLI: 1.7.0-beta.3
Node: 8.4.0
OS: linux x64
Angular: 5.2.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

@angular/cdk: 5.0.4
@angular/cli: 1.7.0-beta.3
@angular/material: 5.0.4
@angular-devkit/build-optimizer: 0.2.0
@angular-devkit/core: 0.2.0
@angular-devkit/schematics: 0.2.0
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.10.0-beta.3
@schematics/angular: 0.2.0
@schematics/package-update: 0.2.0
typescript: 2.6.2
webpack: 3.10.0

Repro steps
Run ng update with the @next version of Angular CLI.
Observed behavior
Error: Cannot downgrade package "@angular/cli" from version "^1.7.0-beta.3" to "1.6.7".
Cannot downgrade package "@angular/cli" from version "^1.7.0-beta.3" to "1.6.7".

Desired behavior
I would like to be able to override this error, or get my project into a state where I'm running the latest version of Angular, and the @next version of the CLI.

Closing as a duplicate of #9507.


Get compilation working for MacOS.

I hoped these were going to be two PR's but they seem to have merged together.
The first commit should fix the compilation for MacOS. (https://github.com/dazKind/hxgodot-cpp/issues/11)
The second commit 'fixes' the linker issues and the make file for MacOS. The make file needs testing with other platforms.

Unfortunately I am still getting an error on MacOS.  (#11)
$ make debug
haxe build-gen.hxml
Generating binding classes for Godot (float_64)...
src/godot/macros/ClassGenMacros.hx:104: // builtins
src/godot/macros/ClassGenMacros.hx:105: Nil
src/godot/macros/ClassGenMacros.hx:104: // builtins
src/godot/macros/ClassGenMacros.hx:105: bool
src/godot/macros/ClassGenMacros.hx:104: // builtins
src/godot/macros/ClassGenMacros.hx:105: int
src/godot/macros/ClassGenMacros.hx:104: // builtins
src/godot/macros/ClassGenMacros.hx:105: float
src/godot/macros/ClassGenMacros.hx:104: // builtins
src/godot/macros/ClassGenMacros.hx:105: String
(unknown) : Missing ;
make: *** [generate] Error 1

Still not able to build even after today's commit:
$ make debug
haxe build-gen.hxml
Generating binding classes for Godot (float_64)...
(unknown) : Missing ;
make: *** [generate] Error 1

Thanks for holding out. The current main-branch is in a heavy WIP process and I have a couple things locally that I havent commit yet.
I finished all the basic pieces now and I will now focus on reworking the project-structure and porting to linux / osx, next.

Thanks dazKind. Looking forward to the success of this project.

I can replicate this error now. looks like something is a miss when it comes to the binding macro, but only under Macos! Interesting!


Checking for FIO logfile size

Report if the logfile is too small to contain results

Results for SNAFU CI Test

Test
Result
Runtime

fio_wrapper
FAIL
00:09:14


Is www.richmediagallery.com build on top of MDL?

The FAQ states that http://www.richmediagallery.com uses MDL, but inspecting the final html code I was not able to find any traces of MDL.
Specifically the filter page seems to be build by closure library and soy template.
Could you clarify which components in that website are by MDL? Are there interfaces for MDL to interact with closure library and closure template, like the two way binding in the filter page?

Yes it uses MDL. Type componentHandler into the console and you will see the object we provide. It is an older pre-release version though. It does seem to mix Polymer and MDL which is totally fine.
As far as closure stuff, what you see is what you get. Pure HTML, CSS, and JS. As far as what technologies you use and how you hook them up, that is up to you.

I see, I assume the pre-release version had no mdl- prefix on class names.
Given that MDL is a subset of Polymer material implementation, I do not understand why the two should be mixed though.

Given that MDL is a subset of Polymer material implementation

This isn't true at all. MDL is its own implementation entirely of Material Design. Polymer components also have their own quirks when compared to the spec. It isn't a "subset" of anything except the full MD spec, which we are working to fill in the gaps.

I can see two problems with this:

Overhead: Using both solutions together means loading more resources. These resources may have a lot of overlap in the implemented components. Using modules can remedy this, but managing them is a pain.
Inconsistency: Mixing the two brings UI inconsistencies, as one or both implementations may not 100% follow the specs. Eg, the ripple effect in one of them could be faster, or slower, than the other one, or have a different wavelength.

Also, according to this faq:

MDL focuses on delivering an experience that is optimised for static content sites, like blogs, marketing pages and more traditional text-based web pages.

While it's true that the UI for the blog readers is mostly static, the UI for the writer of the blog may need complex components, like chips for tags. If MDL is targeting these use cases, I believe it should address the controls for the content writer user as well.

Overhead: Using both solutions together means loading more resources.

Test, test, test. Yes, clearly it leads to more resources overall, but if one implementation doesn't handle some situations well when another does... It may make sense to include both and save dev time making things work. Also if you minimize what is used, it isn't as big of a problem. The size of MDL as a whole is negligible in most situations as well.  We never insist people toss Polymer and MDL in all the time and mix stuff up for no reason.

Inconsistency: Mixing the two brings UI inconsistencies, as one or both implementations may not 100% follow the specs.

True, but this also depends on what parts you are using. There is no solid "Using both in full" is valid or invalid. You need to build your application, understand the tools, and apply them properly and consistently. Using Polymer's buttons in one place then MDL's in another and both with ripples may be inconsistent, but if you use one or the other everywhere possible... Then you're fine.
Developers need to understand their tools and know how to apply them properly. As they build, they then need to be constantly testing their output to see if it hits their UX/Performance/whatever targets.

I believe it should address the controls for the content writer user as well.

Eventually yes, we will have more components. ;) What we have now is a subset of components that were the higher-target points to launch with.


Windows Laps (April 2023)

Will this documentation be updated to clarify if this setting looks at Legacy LAPS or the new Windows Laps released in April 2023. It would be great if the rule itself evaluated both recommendations.

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

ID: f8ebcd07-610e-2dea-fdbb-40a48c67366f
Version Independent ID: f8ebcd07-610e-2dea-fdbb-40a48c67366f
Content: Microsoft LAPS usage assessment - Microsoft Defender for Identity
Content Source: ATPDocs/security-assessment-laps.md
Service: microsoft-defender-for-identity
GitHub Login: @batamig
Microsoft Alias: bagol

Thank you for your comment. We'll investigate and get back to you.

@danaim1 - can you please advise?

It's the previous one, I'll see if we can update to the new one in the product in the future
Thanks,
Daniel

From: Batami Gold @.>
Sent: Thursday, May 11, 2023 10:02:47 AM
To: MicrosoftDocs/ATADocs @.>
Cc: Daniel Naim @.>; Mention @.>
Subject: Re: [MicrosoftDocs/ATADocs] Windows Laps (April 2023) (Issue #613)
@danaim1https://github.com/danaim1 - can you please advise?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/ATADocs/issues/613#issuecomment-1543444324, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJV6ULDTX4ABH33EESECUJDXFSFJPANCNFSM6AAAAAAXQDJJ4Y.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks! @AndrewEmmett, please confirm whether this answers your question. I'm opening a backlog item to clarify this correctly in our docs.
#label:"backlog-item-created"

@batamig , happy this answers the question. Would be great to see greater clarity in the documentation.
Thanks

Hi @AndrewEmmett, the doc page is now updated. See here:
https://learn.microsoft.com/en-us/defender-for-identity/security-assessment-laps#what-is-microsoft-laps
Feel free to continue commenting if you have any further questions or feedback.


Discussion

hi,
Have a question. Your approach not includes subclasses of abstract class i used in hub as a parameter.
Could you help me and point me to the documentation how to include subclasses?

The project uses NJsonSchema under the hood (same as NSwag), I think this would help you: https://github.com/RSuter/NJsonSchema/wiki/Inheritance

Is SignalR using Newtonsoft.Json to serialize params and responses?

thanks for help. Adding attribute was just enough and now everything is generated in spec.

Can generated Json be used with Swagger-UI to "pretty print" documentation? How?

@Repsakk The generated JSON is not OpenAPI/Swagger so it cannot be used in Swagger UI... I don't see a way to describe a SignalR endpoint with OpenAPI/Swagger...

I handled it.
Just need to generate json, save it somewhere and add it as endpoint. Not
auto generated but still possible to display it in more human form
czw., 9 sie 2018 o 11:46 Rico Suter<EMAIL_ADDRESS>napisał(a):

@Repsakk https://github.com/Repsakk The generated JSON is not
OpenAPI/Swagger so it cannot be used in Swagger UI... I don't see a way to
describe a SignalR endpoint with OpenAPI/Swagger...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RSuter/SigSpec/issues/1#issuecomment-411701786, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Am7o9bqOu4i2k8jXnKogyMu5Po7fx9xAks5uPAUKgaJpZM4QCADD
.

--
Z poważaniem
Paweł Piwowarczyk

@Ppiwow just keep in mind that this whole project is experimental and just a proof of concept :-)

I know, but still really helpfull :)
Cheers
czw., 9 sie 2018 o 13:37 Rico Suter<EMAIL_ADDRESS>napisał(a):

@Ppiwow https://github.com/Ppiwow just keep in mind that this whole
project is experimental and just a proof of concept :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RSuter/SigSpec/issues/1#issuecomment-411728160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Am7o9R5lxM-lk2IehBIclsTlHB_0-O7Eks5uPB70gaJpZM4QCADD
.

--
Z poważaniem
Paweł Piwowarczyk

Hi,
I am trying to generate TypeScript for more than one Hub and the only problem is, that in the output .ts file, there are duplicate import directions like this:
import { HubConnection, IStreamResult } from "@aspnet/signalr"
There is one for each of the hubs. Could you please point me in a direction how to avoid this?
Thanks!

@Alamaster99 this is currently a bug, as this template is repeated for each hub:
https://github.com/RSuter/SigSpec/blob/master/src/SigSpec.CodeGeneration.TypeScript/Templates/Hub.liquid
Please create a new issue for that bug...

This is an interesting project. I'd like to see a demo of it or meet with you to get ideas and your aspirations on future ideas. Any chance you'd have time for a sync?

@bradygaster Right now this is just a prototype/experiment project based on the work I did for NSwag and NJsonSchema... there is still a lot of stuff missing (e.g. tooling, C# client gen, a API UI, etc.). I'll be at the MVP Summit next week, we could meet there...

@bradygaster for a "demo", clone the repo and start the SigSpec.Console - it will output all generated artifacts based on hub of the sample SignalR project in the solution.

Are you interested in Redux action/actioncreator generator templates (js) to add into the SigSpec project?

Yes, @RSuter i'll be at MVP next week and would love to meet up for a demo. Mind carving out some time to sync up during Summit?

@bradygaster sure, i’m flexible, will ping you via twitter when i’m there...

Are you interested in Redux action/actioncreator generator templates (js) to add into the SigSpec project?

I think it’s better to keep this ui framework independent and add extension methods to enhence with own templates... or at least there should be a vanilla js impl and on top of that an optional redux gen?

I am trying to generate the TS client from my Hub class. My intention is to separate the specification and the TS client generation. For this, I splitted the example app (SigSpec.Console) into two apps. The spec generation and serialization part works okay, but when I try to deserialize the spec file back into a SigSpecDocument, a StackOverflowException occurs. Have you bumped a problem like this?

I am trying to generate the TS client from my Hub class. My intention is to separate the specification and the TS client generation. For this, I splitted the example app (SigSpec.Console) into two apps. The spec generation and serialization part works okay, but when I try to deserialize the spec file back into a SigSpecDocument, a StackOverflowException occurs. Have you bumped a problem like this?

I filed a PR fixing this issue (https://github.com/RicoSuter/SigSpec/pull/19). Could you please review it? Thanks.

Interesting project, any chance the JSON can be modified and can be served by Swagger ?

Modified how?
Its a completely different spec than swagger so it would need its own ui etc.. see pr

I think this is a great project and would love it to be as easy as NSWAG is... a simple default UI would be great (appreciate this is not easy, just wanted to give support) ... do you have a crowdfunding project perhaps?

simple default UI

You mean a web UI like "Swagger UI" or the NSwagStudio UI? :-)
NSwag is a huge project - offering all of it for SigSpec would be a lot of work - and it's even more than NSwag as the "Swagger UI" part would be part of SigSpec...

Sorry i wasn't clear.  I think for now I can use the json output to render something simple and effective.
Sure, i get that... feel there must be other people like me though so thought I would register my interest on here. Thanks

@dovar started on such a UI: https://github.com/RicoSuter/SigSpec/pull/41


Question re: GO:1900229 ! negative regulation of single-species biofilm formation in or on host organism

Does this apply to adhesion to tissue culture cells?

I'd say no, as this is non-physiological. However, it may apply if this is a unicellular organism forming a bio-film on tissue culture cell and you can make a strong argument that this is a good model of a normal process in which this organism forms biofilms on host cells of ~ the same type.

I agree with David.

Anything done in tissue culture is non-physiological in a strict sense, right? It's a model for something in vivo (in the strict sense that I usually don't use).
In looking at the example that caused me to create the issue, I think we are OK in terms of it being a model for something physiological.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3410868/
A CACAO student wants to annotate from Figure 7C. The text describing the result is:

Adhesion to host-cells is a crucial step in the infection process and for host-colonization. Upregulation of the acm and ecbA genes, encoding major MSCRAMM adhesins, in the absence of AsrR prompted us to evaluate the contribution of AsrR to E. faecium adherence to HT-29 intestinal epithelial cells (Figure 7C). A high percentage of ΔasrR bacteria attached to the HT-29 cells (median value 44%), while the parental and complemented strains showed significantly lower levels of attachment (median values 18 and 25%, respectively) (P<0.01) (Figure 7C).

However, in our discussion, we decided that this term can't be used here because even though they are looking at biofilm formation in 7A and B, they aren't actually looking at biofilms in 7C, just adhesion.  Which means I think we will need to do an NTR for regulation of GO:0044651 adhesion of symbiont to host epithelial cell.

Hi Jim,
Based on the text above, I think you want the new term since they are looking at adhesion. If you don't have a TermGenie account, I will make it for you. Please let me know.
-D

If needed, the new term will be requested through TermGenie.


0.10: despawning joints does not actually remove joints

I discovered this in my own project, however this seems to be reproducible in the bevy_rapier2d/examples/joints_despawn2.rs example as well.

Thank you for pointing this out. Looks like a regression.


Cassandra Connector Metrics for Cosmos

[Please update doc to include Cassandra Connector metrics. Cassandra Connector Avg Replication Latency and Cassandra Connector Replication Health Status.

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

ID: a0a586c4-71fd-e60b-9c4c-1a3eb2443c74
Version Independent ID: 2f3706cc-073b-a310-8da4-2a5a90da6473
Content: Azure Monitor supported metrics by resource type - Azure Monitor
Content Source: articles/azure-monitor/platform/metrics-supported.md
Service: azure-monitor
Sub-service: metrics
GitHub Login: @rboucher
Microsoft Alias: robb

@awpetree Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Hi @awpetree Can you tell me where you are expecting to see these metrics? Part of what namespace (Resource provider and type)?  I produce this file from an API so I'm not up on every metric in the file.

That's correct namesapce Microsoft.DocumentDB/databaseAccounts. The data points around the cassandra connector would be valuable. Dimensions etc...

updated. Was awhile ago, but didn't close this issue.  #please-close


feat: add guidance on path normalization (#571)

fixes #571.

@tfrauenstein @vadeg thanks for the helpful comments. I have update the PR based on your suggestions.

👍

👍

👍

:+1:

👍


Python interop http2_badserver tests are failing

https://grpc-testing.appspot.com/view/Pull requests/job/gRPC_interop_pull_requests/11221/HTML_Report/
Full log: https://grpc-testing.appspot.com/view/Pull requests/job/gRPC_interop_pull_requests/11221/consoleFull
@makdharma

Copying my comment from another thread:
Those tests are now failing due to this commit: Revert "Revert "Metadata handling rewrite"", which takes away more specific debugging prints right here.
My tests asserted that the status details were Received RST_STREAM with error code 0. Now all that is output is RST_STREAM.
Will follow up with @ctiller about why the more verbose error message was removed to determine if the test should change, or if the verbose error message should be re-added.

My PR fixed the three rst stream errors, but there are still two timeouts I need to sort out.
Reopening

These have not been seen in about a year


It totally crashes when I run wingetcreate which module not found on Windows 11 23H2 Release Preview.

I can't create the manifest using Windows 11 23H2 Release Preview Build.

@BrandonWanHuanSheng , I have tried spinning up a clean vm and I am not able to repro this error. The error message does make me think that your .NET runtime may be modified or corrupted. Could you try reinstalling the .NET 6.0 Desktop Runtime and seeing if that changes anything. It might be a shot in the dark but it's something to try.

It seem like does not change anything.


[css] MDN references link not showing up for some CSS properties

VSCode Version: 1.51.0
OS Version: Windows_NT x64 10.0.16299

Steps to Reproduce:

Hover the cursor on top of some CSS properties. For example, justify-content, align-content, and more.
No MDN references link shows up:

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

I'm also seeing this issue still. The correct justify-content options are not being displayed: https://www.dropbox.com/s/hb0hvpq3ra5i4jv/oo04fm6d.png?raw=1

Looks like this got fixed already.


Use Identify Service should be level 1 header as the rest of 9 principles.

Use Identify Service should be level 1 header as the rest of 9 principles.

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

ID: eb507d50-57ff-115b-f19f-8e7e8e255763
Version Independent ID: 8b46d95d-e49b-342c-dd2e-df49f39b175f
Content: Design principles for Azure applications - Azure Architecture Center
Content Source: docs/guide/design-principles/index.md
Service: architecture-center
Sub-service: guide
GitHub Login: @martinekuan
Microsoft Alias: pnp

@forresthu
Thanks for your feedback! We will investigate and update as appropriate.

I've opened a PR to remediate this.  Once reviewed and merged (this issue will automatically close when the merge happens), it'll be published within a business day.


Fix sensitivity/specificity for genes negatively correlated to trait.

Hi Thomas,
I've started using Scoary2 recently and it's great, but I just noticed that your sensitivity and specificity values are wrong in the case of genes negatively correlated to a trait. Here is a proposed fix. Sadly I can't really update the tests, as there are failures all over the place, mainly because of missing results file you seem to use to compare to (e.g. FileNotFoundError: [Errno 2] No such file or directory: '../data/new_ds/LC.tsv').
Can you provide some help here? Thanks!

Perfect thanks!
Yes I hadn't really tested

Perfect thanks!

Dear @njohner
Could you do me a favour and check if what I wrote here makes sense?


585 resolve ambiguity

Description
Fix a bug in alpha where the search breaks
Type of change

[X ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix a feature that knowingly causes existing functionality to not work as expected)

Test and Reproduce
Outline the steps to test or reproduce the PR here.

search in the search box. things work
filter by status, etc. it works

Impacted Areas in Application
List general components of the application that this PR will affect:
Which pages?

[ ] Login Screen
[ ] Single Upload Page
[ ] Batch Upload Page
[X ] All Projects Page
[ ] Sample Details Page
[ ] Report Page

Specific components

Testing Script:
###Login Page

Successfully login to the application and get taken to the project page

###Single Upload

Using an AWS path that doesn't exist throws an error
Succesfully uploaded files from a folder (use test host)
Uploading a duplicate file throws an error
Pipeline gets initiated successfully

###Batch Upload

Using an AWS path that doesn't exist throws an error
Succesfully uploaded files from a folder (use test host)
Navigate to batch upload settings page after upload
Host selection from previous page still selected
Uploading a duplicate file throws a warning
Pipeline gets initiated successfully

###All Project Page

Switch between projects
Search for a sample
Navigate through different pages of samples
Select Upload new sample button
Select sample to see generated report

###Sample Details Page

Information is consistent from Project Page
Notes are editable and save successfully
Can navigate to report page

###Report Page

Data loads succesfully
Collapse and Uncollapse button works
Clicking on the taxonomy name gives you total reads for that taxon
Category filter works
Genus Search works
Filters work as expected
Disabling Filters works
Filtering by column works

Checklist:

[ ] I have run through the testing script to make sure current functionality is unchanged
[ ] I have done relevant tests that prove my fix is effective or that my feature works
[ ] I have spent time testing out edge cases for my feature
[ ] I have updated the test script or pull request template if necessary
[ ] New and existing unit tests pass locally with my changes

duplicate of https://waffle.io/chanzuckerberg/idseq-web/cards/5a74c07a0619a0001c1e4ec5


How do I create a new .md file and link to it in other docs? How do I modify the link/title of a .md file?

Forked from https://github.com/kubernetes/kubernetes.github.io/pull/197#issuecomment-198585268. I wanted to (but don't know how to):

Change the title of "managing deployments" doc from "Managing Deployments" to "Managing Resources"
Create the link to the new doc how-to-kubectl-rolling-update.md and link to it in the "managing deployments" doc

@kubernetes/docs

Create a new file in GitHub by clicking "new file" on the repo's homepage. Or, if you clone the repo to your laptop, just create the file and use the command line to generate the pull request.
If you create a file at /docs/user-guide/foo.md, then the file's URL to link to will be /docs/user-guide/foo
To change the title of a topic, or change where it appears in the left nav tree, edit /_data/*.yml (whichever file contains the topic in the left nav).

What about redirects?


🌐 [i18n-KO] Translated guides/inference.md to Korean

What does this PR do?
Translated the guides/inference.md file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/huggingface_hub/issues/1626

Before reviewing

[x] Check for missing / redundant translations (번역 누락/중복 검사)
[x] Grammar Check (맞춤법 검사)
[x] Review or Add new terms to glossary (용어 확인 및 추가)
[x] Check Inline TOC (e.g. [[lowercased-header]])
[ ] Check live-preview for gotchas (live-preview로 정상작동 확인)

Who can review? (Initial)

Team PseudoLab, may you please review this PR?
@jungnerd, @heuristicwave, @harheem, @cjfghk5697, @seoulsky-field, @nuatmochoi, @boyunJang, @SeungAhSon, @seoyoung-3060, @junejae
Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[x] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review? (Final)

@jungnerd, @heuristicwave May you please review this PR?

@Wauplin I've reviewed this PR, and it looks good to me.
Would you mind merging this PR, please?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Sharp promises finishes before the file is written to disk?

I have seen this behaviour of sharp. The section of my code that works on sharp executes and promises gets full filled yet sharp keeps writing images and when sharp finishes then the program ends. Is this expected or due to some bug in my code?

Please can you provide a complete, minimal, standalone code sample that allows someone else to reproduce this.

Hi @lovell ,
Sure please go over this code
// This code won't actually work is some missing code. Let me know what to do
// fileSelector.ts
// a for loop starts, I am processing one folder at a time

import FastGlob, { Entry } from 'fast-glob';

interface activityT {
    total: number;
    increment: number;
}

const activity: activityT = {
 total: number,
 increment: number
}

await Promise.all(
 async (itrms) => {
 // do some calculations
 await imageConverter(imageBuffer, path);
 }
)

// for loop ends

// imageConverter

async function imageConverter(image: Buffer, dirent: Required<Entry>, activity: activity) {

 const Instance = sharp(image);

    const { hasAlpha } = await Instance.metadata();

    let avif = Instance.clone().avif(Conversion.options.avif);
    let webp = Instance.clone().webp(Conversion.options.webp);

    let pngJpg;

    if (hasAlpha) {
        pngJpg = Instance.clone().png(Conversion.options.png);
    } else {
        pngJpg = Instance.clone().jpeg(Conversion.options.jpeg);
    }

    const Avif = produceRenditions(avif, 'avif', dirent, activity);
    const Webp = produceRenditions(webp, 'webp', dirent, activity);
    const pJpg = produceRenditions(pngJpg, hasAlpha ? 'png' : 'jpg', dirent, activity);

    await Promise.resolve([
        Avif,
        Webp,
        pJpg
    ]);

}

async function produceRenditions(Instance: sharp.Sharp, format: string, src: Required<Entry>, activity: activity) {

    const dirs = await makeDestDirs(src);
    const name = src.name.split('.').slice(0, -1).join('.') + '.' + format;

    await Promise.all(
        dirs.map(async ([path, res]) => {
            await Instance.clone().resize(res).toFile(path + '/' + name);
            activity.increment = activity.increment + 1;

            console.log(activity.increment, '/', activity.total); // So this line prints the number of images that has been converted
        })
    );

}

 // after all this process is done then I do

console.log('Done');

// Suprisingly Done gets printed before the image conversion ques finishes so the output is like

This is sample log of this program.
....
....
51 / 100
52 / 100
...
...
98 / 100
Done
99 / 100
100 / 100

Then the program quits.
I have seen this specific behavior of sharp for quite some time.
I am running windows 11, node 17 and v0.29.3 sharp

Try the following change to your code:
-    await Promise.resolve([
+    await Promise.all([

Hi @lovell
Okay I didn't notice I was using Promise.resolve.
I don't really use it, maybe it was part of the old code.
I will update with the results soon.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


Make references to the Process part of Spec conditional

The OCI runtime spec does not require Process to be passed (IE, it can be nil). Make most of our references to it conditional on it existing.
More work is needed to untangle it in oci.go, particularly around Exec. Given exec is going to be rewritten anyways, though, I'm not terribly worried.

LGTM

@baude @umohnani8 @TomSweeneyRedHat @wking PTAL

LGTM

@rh-atomic-bot r+


Font Color And Size Of "Meet Our Team" Section Is Not According To The Website.

Description
I have noticed that the font color and size of the "Meet Our Team" section are different compared to the whole website. The section would look better if it is changed.
Screenshots

@SauravMukherjee44 I'm the participant of GSSoC'22, kindly assign this issue to me. Thank you.

@KiranAminPanjwani Go for it!


feat(crypto): add optional support for post-quantum key-exchange

This PR adds support for post-quantum-secure TLS key-exchange hidden behind a feature flag.

Blocked by https://github.com/quinn-rs/quinn/pull/2003


Kanban support

Kanban is one of the main features of Taiga agile. Are there any plans to implement it in this application?

Check out new release: https://github.com/EugeneTheDev/TaigaMobile/releases/tag/v1.2


protocol Phoenix.HTML.Safe not implemented for %Swoosh.Email

I can't use form senders email address on the mail.html page like <%= @email %>. Is there a way to manage this safety setting?

In the context you pass to the view, you can pass whatever information you want. Remember, it's just a Phoenix view.

Hello @max4all, did @princemaple response helped in solving your issue?

@stevedomin 100000% sure that he did what I did long time ago 😆😆😆😆
@max4all, are you passing email as the options to the view?

@yordis yep, sounds like you're right.
@max4all: does following @yordis suggestion helps with your problem?

@stevedomin I would close it, he do not respond, he can always reopen it at any time anyway.

@stevedomin 100000% sure that he did what I did long time ago 😆😆😆😆
@max4all, are you passing email as the options to the view?
For example
|> render_body("welcome.html", %{email: user.email}) # <--- don't do this

You can't pass email as some config for the template because swoosh used @email internally so it will have setup the %Swoosh.Email{} instead of your email value

Had the same problem... and the solution was to remove the email option.
Thanks @yordis

hey folks, I've stumbled upon this issue today. I think swoosh shouldn't be this fragile, specially with an error like that where the exception thrown does not help at all, using @email as a variable is common specially if you are doing a contact form email. Should perhaps swoosh use a less common name for its internals?

hey folks, I've stumbled upon this issue today. I think swoosh shouldn't be this fragile, specially with an error like that where the exception thrown does not help at all, using @email as a variable is common specially if you are doing a contact form email. Should perhaps swoosh use a less common name for its internals?

Unfortunately that'd be a breaking change. Unless hundreds of people complain about it, it probably won't be changed, probably ever. My suggestion is to pass contact as a whole and go @contact.email.

This issue is more about phoenix_swoosh than swoosh itself. FYI, phoenix_swoosh is about to be deprecated. https://github.com/swoosh/phoenix_swoosh/issues/287


Lesson09

From what I can see, your set of endpoints doesn't allow to create a group and trying to add any new contact fails because of FOREIGN KEY constraints. There are no groups and adding a new contact requires a group ID. You can either create a set of groups during a migration or make an endpoint, which allows you to create a custom group.

Well i did create  groups during migration. The error was in my models pkg, i made an error in Select query to db, therefore assignment to group did not work. Now i changed it to receive json and changed method to put.


Fix spark demo

Description
For docker-compose-jupyter.yml, this is the demo for how to use interact with Iceberg with Spark when using Polaris as catalog and Jupyter notebook as UI. Currently it is setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY through environment but only on polaris container and not jupyter container. Due to this, this will actually caused failure as that is where the writer happened via Spark. Also, the jupyter container is implicitly setting AWS_REGION to us-west-2 within the code (and outside too via hard-coded environment`), we should keep this set in one place instead.
Fix https://github.com/apache/polaris/issues/144
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
This had being tested locally with following steps:
Unhappy path (current code):
# create .env file for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
# build and start containers
docker compose -f docker-compose-jupyter.yml up
# get auth info from logs (as default is in-memory)
docker logs xxxx | grep xxxx
# update jupyter notebook for polaris's auth info as well as AWS ARN and S3 path
# run through the notebook
# failed on create table due to no access to the s3 bucket

Happy path (fixed code):
# create .env file for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
# build and start containers
docker compose -f docker-compose-jupyter.yml up
# get auth info from logs (as default is in-memory)
docker logs xxxx | grep xxxx
# update jupyter notebook for polaris's auth info as well as AWS ARN and S3 path
# run through the notebook
# all cells completed (there are couple cells there are expected to fail due to access on role/catalog...but those are expected thus consider as completed)

Reasoning: This is because the AWS ARN is just a role and we still still need an user to assume that role.
Checklist:
Please delete options that are not relevant.

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] If adding new functionality, I have discussed my implementation with the community using the linked GitHub issue
[x] I have signed and submitted the ICLA and if needed, the CCLA. See Contributing for details.

@flyrain @eric-maynard current main is not working due to this...this will fix the spark demo.


Write a Python program to find volume of a cone

Description
Write a Python program to find volume of a cone
Volume of cone = 1/3 × π × Radius^2 × Height
Radius : 2
Height : 3

Volume : 12.566370614359

How to contribute

Save the solution in program/find-volume-of-a-cone.py file
Add find-volume-of-a-cone.py file in find-volume-of-a-cone folder

!assign

@harshraj8843 you have a fault in the readme file the volume of cone based on input is 12.57 not  25.132741228718345

Thanks @Medmly20208 for noticing it


Translation PIM Join/Prune to IGMP Report/Leave

Hi,
Not really a problem or bug but more like a feature request.
I have a network topology where there are some routers that are not pim-aware, but can deliver multicast to the network if some client issue an IGMP report. The problem is, those routers do not talk PIM and I have no control over them, so it would be great if pimd could just send an IGMP report/leave upstream upon receipt of a PIM join/prune for specific groups that it is RP of.
Detailing a bit more, below is a drawing of my network topology (hopefully you can understand!) where:

R1 is the main router and interconnects four networks, one locally attached (<IP_ADDRESS>/24) and three via OpenVPN TAP tunnels (<IP_ADDRESS>/24, <IP_ADDRESS>/24 and <IP_ADDRESS>/24). It is also a PIM neighbor of R2, R3 and R4
R2, R3 and R4 are OpenVPN clients that connect to R1 and RPs for multicast groups <IP_ADDRESS>/24, <IP_ADDRESS>/24, <IP_ADDRESS>/24, respectively
R5, R6 and R7 are routers that I have no control of and are not PIM-aware, but work as IGMP proxies to their upstream multicast networks

What I want to achieve is have all the multicast groups available on every network segment, where a client issues an IGMP report for a group, it traverses through PIM domain and, reaching the RP to the specific group, it sends an IGMP report to the upstream non-pim-aware router, and forwards the traffic back to the client. This behavior could be enabled/disabled by config, for example.
A similar scenario is described in the following two documents by Cisco and Juniper:

pim-to-igmp-proxy - TechLibrary - Juniper Networks
IP Multicast: IGMP Configuration Guide, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series) - IGMP Proxy [Support] - Cisco

I have explored a bit your code, and found that maybe the correct point to insert that logic is somewhere in pim_proto.c inside method receive_pim_join_prune(), but I can obviously be wrong.
If you need more info, or want to discuss a bit more please feel free to ask.
Regards,
Tiago

I must say, compared to just about everything else here, this was a perfectly written feature request.  Thank you! :smiley:
I understand what you want to achieve, and it also looks a lot like what I've been asked about over email by others as well.   It shouldn't be too difficult to add support for it either.  Unfortunately I've just entered release mode (about five years later than planned), so I won't be able to work on this for the upcoming v3.0, unless you're interested in pitching in yourself?
From what I can see, we need:

A neato syntax, e.g. an igmp-proxy option to the phyint setting, perhaps?
A new passive mode to phyint's, such that we don't send PIM messages on your upstream links, e.g. from R2 to R5
Support for (periodically) sending IGMP v2/v3 reports on igmp-proxy phyints for (*,G) we have in the MFC
A "hook point" for our new feature, possibly receivve_pim_join_prune() as you mention

For now I can only help out from the sidelines, cheering on, providing pointers and auditing code.  Hope that's OK?

Thank you for your interest in the feature!
Yesterday, after your response, I have navigated a bit more over the code, to try to define a possible implementation for this, but I may confess that too many questions arose, so I kindly ask you to give me some directions on how to structure this new interaction.
Regarding your points:

A neato syntax, e.g. an igmp-proxy option to the phyint setting, perhaps?

Seems OK, something like phyint _iface_ igmp-proxy

A new passive mode to phyint's, such that we don't send PIM messages on your upstream links, e.g. from R2 to R5

Found on vif.h the following definition
#define VIFF_ONEWAY				0x000800       /* Maybe one way interface   */
Seems like a good mode to place the interface into

Support for (periodically) sending IGMP v2/v3 reports on igmp-proxy phyints for (*,G) we have in the MFC

This includes sending our reports/leaves upstream and answering to general queries, right ? Also, do we need two separate sockets, so we do not send reports/leaves back to PIM neighbors ?

A "hook point" for our new feature, possibly receivve_pim_join_prune() as you mention

Can you please guide me on what part of this method the code knows exacly "I am the RP of this group" ?
Apart from this, I don't mind waiting for your next release, if you prefer to develop yourself and have things structured your way.
Thanks!

Hi again, sorry for the late reply!  Been quite busy at $DAYJOB the last couple of weeks.
Huh, had forgotten about VIFF_ONEWAY, yup we could definitely reuse that.  Not sure of the naming though, I think it may have been intended for declaring one-way of bidirectional distribution trees.  I think renaming that define to VIFF_PASSIVE would be the best option.  The code base is old, I'm just the current maintainer :)
Yes, sending IGMP reports upstream and answering general, or group-specific, queries.  You're right about the socket, we should go with a separate socket for interfaces that have the VIFF_IGMP_PROXY flag.
Figuring out if I'm the RP is trickier.  I'll have to dig in to the code a bit more for that, but one example of how to do it is in receive_pim_register(). Grep for "I am the RP"
https://github.com/troglobit/pimd/blob/da6f4c363709c1379271f6e7eabcb6594335ad4e/src/pim_proto.c#L737

Hi Joachim, hope your health is doing fine!
Regarding this feature, I have been digging around through the code to try to understand things and start some writing.
Here is what I have done so far:

config.c --> added config file parsing to accept phyint if_name igmp-proxy and added the flag VIFF_IGMP_PROXY to the interface (should we limit to just one interface of this type ??)
excluded interfaces with VIFF_IGMP_PROXY from interface-related activities in init_vifs(), update_reg_vif(), check_vif_state(), find_vif_direct(), local_address(), find_vif_direct_local(), max_local_address()
prevented packet processing of PIM/IGMP packets received on interfaces with VIFF_IGMP_PROXY flag in receive_pim_hello(), receive_pim_join_prune(), receive_pim_assert(), receive_pim_bootstrap(), send_pim_bootstrap(), accept_group_report(), accept_leave_message(),
vif.c --> created a new method init_igmp_proxy() that creates a separate socket int igmp_proxy_socket specific to our igmp-proxy interface and registers the igmp_read() handler on it. Also created another method start_igmp_proxy_vif() that calls k_add_vif() with our new socket

What I am trying to achieve:

I have figured that we may have to add some processing in receive_pim_register(), receive_pim_join_prune() and also in accept_group_report() and accept_leave_message() to deal with messages received from neighbor routers or from directly attached clients, respectively. BUT, I am stuck finding a reliable way to determine if  "I am the RP for this group" because check_mrtentry_rp() never matches. Obviously I'm doing it wrong, for example in accept_group_report():
mrtentry = find_route(igmp_src, group, MRTF_SG | MRTF_WC | MRTF_PMBR, DONT_CREATE);

 if (local_address(group) == NO_VIF && check_mrtentry_rp(mrtentry, group)) {
  IF_DEBUG(DEBUG_PIM_REGISTER)
     logit(LOG_DEBUG, 0, "------------------------ I AM THE RP ------------------------------");
 }

Where igmp_src is the address of the client sending a JOIN and group is the MC group being joined. I think the problem might be in find_route() where a subsequential call to rp_grp_match() always enters the following ckeck:
if ((group_h & ntohl(mask_ptr->group_mask)) != ntohl(mask_ptr->group_mask & mask_ptr->group_addr))
    continue;

Could not figure exactly what this check is doing and why if fails.

Ok, so this is where I am, and kindly ask for a bit of help from you.
Also, sorry for the long post and the not-so-good code debugging method :)
Regards,
Tiago


okta setup finalized

Created .env file and added the configuration parameters. Configured .env.sample file.

I'm not sure about not changing the .env.sample file. I will fix it.

I'm not sure about not changing the .env.sample file. I will fix it.

Undid the changes to .env.sample file. Reset to the original configuration.

Undid the changes to .env.sample file. Reset to the original configuration.


BUG install from go (compile)

Debian 12 (x64) (kernel 6.1)
Curl lib: 7.88.1-10+deb12u1
Run command go install github.com/Ullaakut/cameradar/v5/cmd/cameradar@lates
<EMAIL_ADDRESS>In function ‘curl_formadd_name_content_length’:
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:40:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
   40 |     return curl_formadd(httppost, last_post,
      |     ^~~~~~
In file included from /opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:5:
/usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
 2575 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:41:25: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
   41 |                         CURLFORM_COPYNAME, name,
      |                         ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
 2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:42:25: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
   42 |                         CURLFORM_COPYCONTENTS, content,
      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
 2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:43:25: warning: ‘CURLFORM_CONTENTSLENGTH’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
   43 |                         CURLFORM_CONTENTSLENGTH, length, CURLFORM_END);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
 2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~~~
<EMAIL_ADDRESS>In function ‘curl_formadd_name_content_length_type’:
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:47:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
   47 |     return curl_formadd(httppost, last_post,
      |     ^~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
 2575 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:48:25: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
   48 |                         CURLFORM_COPYNAME, name,
      |                         ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
 2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:49:25: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
   49 |                         CURLFORM_COPYCONTENTS, content,
      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
 2503 |   CURLFORM_COPYCONTENTS    CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:50:25: warning: ‘CURLFORM_CONTENTSLENGTH’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
   50 |                         CURLFORM_CONTENTSLENGTH, length,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2505:3: note: declared here
 2505 |   CURLFORM_CONTENTSLENGTH  CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:51:25: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
   51 |                         CURLFORM_CONTENTTYPE, type, CURLFORM_END);
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
 2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~
<EMAIL_ADDRESS>In function ‘curl_formadd_name_file_type’:
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:55:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
   55 |     return curl_formadd(httppost, last_post,
      |     ^~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
 2575 | curl_formadd(struct curl_httppost **httppost,
      | ^~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:56:25: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
   56 |                         CURLFORM_COPYNAME, name,
      |                         ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
 2500 |   CURLFORM_COPYNAME        CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
      |   ^~~~~~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:57:25: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
   57 |                         CURLFORM_FILE, filename,
      |                         ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
 2509 |   CURLFORM_FILE            CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
      |   ^~~~~~~~~~~~~
/opt/go/pkg/mod/github.com/!ullaakut/go-curl@v0.0.0-20190525093431-597e157bbffd/easy.go:58:25: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
   58 |                         CURLFORM_CONTENTTYPE, type, CURLFORM_END);
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2515:3: note: declared here
 2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~

Hi @vincenzogianfelice !
As specified in the README, the curllib version has to be strictly <7.66 because of this issue. Essentially an RTSP support feature was dropped in later versions, which means it can't be used to access cameras anymore if they run digest authentication.

@Ullaakut I've seen that this problem has been around for quite some time.  I ask you a question: if the new versions of libcurl are not fully compatible, why not insert the compatible libcurl library into your project?

What do you mean? My project depends on an external libcurl version, and it's a go project. I don't want to add the thousands of lines of C code from the libcurl to my repository, or even an archive of the library, because then it also means I need to have it for every OS.
Since the repository is mainly used through Docker, I don't think it'd be worth the hassle. WDYT?


Add an api

I'm working on the Repos.io site, which allow users to search for and manage repositories, and i would add a backend for django-snippets, which is very usefull.
I could write it myself and add a pull-request but i currently have no time for it (lot of code to do for Repos.io), i just add it as a reminder or if someone has time :)
This api should handle registration (via oauth ?), and at least read access for various objects, and bookmarks (idealy it should allow to add/remove bookmarks)
All of this can be done with piston (never did it but i heard about it)

Is this something we want to do? Would not take that much effort and be good to showcase DRF?

HI @chriswedgwood. Yes... it's something to consider. My hope is that the app is a kind of reference: Look, here's an actual site you can browse and copy from… — so a small simple API — perhaps just read-only, at least at first pass, would be a nice addition.


Changes on iot_test_ble_hal.c to remove FreeRTOS references and on bleTestsScripts to change tabs into spaces

Changes on iot_test_ble_hal.c to remove FreeRTOS references and on bleTestsScripts to change tabs into spaces
Description

Removed any remaining FreeRTOS references from iot_test_ble_hal.c to make it os agnostic
Replaced tabs with spaces on bleTestsScripts

Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run check


Updating a CSS file to a new version via managed style loading fails if original <link> is not in the <head>

For an existing page with the following DOM structure:
<head>
  <!-- some styles -->
</head>
<body>
  <link rel="stylesheet" href="rogue-1.css" name="rogue">
</body>

Then, attempting to load a fragment with
<link rel="stylesheet" href="rogue-2.css" name="rogue">

or attempting to call
spf.style.load('rogue-2.css', 'rogue')

will fail with the following error:
Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

This is because the current code that manages in-place style replacement always attempts to insert the new style before the existing one in the <head>, even if the existing one is not located in the <head>:
https://github.com/youtube/spfjs/blob/v2.1.2/src/client/net/resource.js#L305


[BUG]

Rancher Server Setup

Rancher version: 2.6.10
Installation option (Docker install/Helm Chart):

Helm over RKE1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.23.6
Cluster Type (Local/Downstream):

downstream, custom

Describe the bug
Node of the custom cluster with calico CNI doesn't start on Oracle Linux 8.3, works on Rocky.
On a node with Oracle Linux 8.7:
[root@rke-worker07 cloud-user]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.7 (Ootpa)
[root@rke-worker07 cloud-user]# docker ps -a |grep flannel_canal
994846bfd696   9247abf08677                         "/opt/bin/flanneld -…"   3 minutes ago        Exited (1) 2 minutes ago                   k8s_kube-flannel_canal-hvf2l_kube-system_e2799070-9e6b-464c-9991-31e4ad752638_222
[root@rke-worker07 cloud-user]# docker logs 994846bfd696 --tail 10
I0315 08:13:25.086446       1 main.go:205] CLI flags config: {etcdEndpoints:http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:2379 etcdPrefix:/coreos.com/network etcdKeyfile: etcdCertfile: etcdCAFile: etcdUsername: etcdPassword: version:false kubeSubnetMgr:true kubeApiUrl: kubeAnnotationPrefix:flannel.alpha.coreos.com kubeConfigFile: iface:[] ifaceRegex:[] ipMasq:true subnetFile:/run/flannel/subnet.env publicIP: publicIPv6: subnetLeaseRenewMargin:60 healthzIP:<IP_ADDRESS> healthzPort:0 iptablesResyncSeconds:5 iptablesForwardRules:true netConfPath:/etc/kube-flannel/net-conf.json setNodeNetworkUnavailable:true}
W0315 08:13:25.086623       1 client_config.go:614] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
E0315 08:13:55.091110       1 main.go:222] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/canal-hvf2l': Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/pods/canal-hvf2l": dial tcp <IP_ADDRESS>:443: i/o timeout
On all nodes with Rocky8.7, it works like this:
[rocky@rke-worker08 ~]$ cat /etc/redhat-release
Rocky Linux release 8.7 (Green Obsidian)
[rocky@rke-worker08 ~]$ docker logs bd995640d0ba
I0214 22:19:50.740617       1 main.go:205] CLI flags config: {etcdEndpoints:http://<IP_ADDRESS>:4001,http://<IP_ADDRESS>:2379 etcdPrefix:/coreos.com/network etcdKeyfile: etcdCertfile: etcdCAFile: etcdUsername: etcdPassword: version:false kubeSubnetMgr:true kubeApiUrl: kubeAnnotationPrefix:flannel.alpha.coreos.com kubeConfigFile: iface:[] ifaceRegex:[] ipMasq:true subnetFile:/run/flannel/subnet.env publicIP: publicIPv6: subnetLeaseRenewMargin:60 healthzIP:<IP_ADDRESS> healthzPort:0 iptablesResyncSeconds:5 iptablesForwardRules:true netConfPath:/etc/kube-flannel/net-conf.json setNodeNetworkUnavailable:true}
W0214 22:19:50.740678       1 client_config.go:614] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0214 22:19:50.754317       1 kube.go:120] Waiting 10m0s for node controller to sync
I0214 22:19:50.754358       1 kube.go:378] Starting kube subnet manager
I0214 22:19:51.754501       1 kube.go:127] Node controller sync successful
...
To Reproduce
Result
Expected Result
Flannel and Calico pods to go up and stay green.

Oracle image came from https://yum.oracle.com/oracle-linux-templates.html , OL8U7_x86_64-kvm-b148.qcow

[root@rke-worker07 cloud-user]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@rke-worker07 cloud-user]# getenforce
Disabled

In kube-proxy, I found such an error:
E0315 08:27:09.659810    1547 proxier.go:1527] "Failed to execute iptables-restore" err="exit status 2 (iptables-restore v1.8.7 (nf_tables): Couldn't load match statistic':No such file or directory\n\nError occurred at line: 1877\nTry iptables-restore -h' or 'iptables-restore --help' for more information.\n)"


Adding new geolocation tool.

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Corrected the description length to less than 100 char.

Hi @yannbertrand , Can you please help me merge these commits. I made this change a few months back. Thanks a lot.

Thanks for the contribution @bexdeep :)


Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'Authorization required, but no authorization protocol specified\n' on Wayland

Description
Can not send whatsapp text message in Fedora 38 with Wayland
To Reproduce
import pywhatkit
pywhatkit.sendwhatmsg(phone_no="520000000001", message="Hi", wait_time=15, time_min=33)
Same config in Windows 10 works fine. It seems to be a problem with Wayland.
Version Information

OS: Fedora 38 Wayland
Browser: Google Chrome Versión 112.0.5615.121 (Build oficial) (64 bits)
Python:  3.10
PyWhatKit: 5.4
error DisplayConnectionError.txt

same here
import pywhatkit
pywhatkit.sendwhatmsg("+34xxxxx", "test py", 13,22,8)
OS: Ubuntu 23.04 (Luna Lobster)
browser: chrome
python: 3.11.2
pywhatkit: 5.4
Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'Authorization required, but no authorization protocol specified\n'

This error is exclusively on Wayland OS.
I can confirm that if  you run it on a KDE with X11 like Fedora 38 KDE it just works as designed (be sure to log in with X11 not Wayland).
Pywhatkit needs a Wayland update, not sure if it is a small task but since all linux seems to move to Wayland it needs to get fixed.

@george72 Or Wayland needs an update ;)

Wayland is still under development, and there are still applications and behaviours that don’t work as expected, you may find that some applications have not been updated to work properly in Wayland and currently the only way these applications will run is using Xorg instead of Wayland. source

I had to change Fedora 38 from Wayland to Xorg to be able to run Pywhatkit.
Expecting a Wayland compatibility update does not look like the way to go. It's better to have Pywhatkit running natively on Wayland.
Steps to change Fedora Wayland to Xorg:
Changing the default GNOME session via configuration file
As an alternative, this change can be made by editing a configuration file /etc/gdm/custom.conf.
Open /etc/gdm/custom.conf and uncomment the line:

WaylandEnable=false

Add the following line to the [daemon] section:

DefaultSession=gnome-xorg.desktop

Save the custom.conf file.

Logout or reboot to enter the new session.

Link to change Fedora Wayland Default to Xorg so it can run Pywhatkit:
https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/

Still broken in Wayland on FC 40... :-(

Hey, So there is a fix that can be applied locally... and it seems to be working.
xhost +local:$USER
For the user that will be running the python code.
Source: https://stackoverflow.com/questions/31902846/how-to-fix-error-xlib-error-displayconnectionerror-cant-connect-to-display-0


Added rank info to sensitivity classification

References
https://docs.microsoft.com/sql/connect/odbc/data-classification?view=sql-server-ver15
https://docs.microsoft.com/sql/t-sql/statements/add-sensitivity-classification-transact-sql?view=sql-server-ver15

Coverage decreased (-0.9%) to 75.681% when pulling e0a3991b7408fc2e830a2fbc890e7fe9aa0926bf on yitam:rankV2 into 9f1f27ec7915bd3d814177191aaf12d630331e61 on microsoft:dev.


Change browser window focus - depending on what you want, popup() or focus()

Have somehow i change the window focus?

Do you mean change focus to another tab? That will be using popup(). If you mean change focus to another desktop app window, you can either use visual automation to click on it from the task bar, or use focus().

I need to change focus to another tab of my browser

I see, then use popup(). See API reference section, use popup('unique_string_in_url_of_tab') to switch focus and popup() to reset to original page.


Uncaught TypeError: Cannot read property 'split' of null

Using new environment with \input{bk10.clo} breaks citation popup. Thanks for investigating (or at least giving some directions)
[Enter steps to reproduce below:]

Add localsize environment: http://tex.stackexchange.com/questions/4139/how-to-change-font-size-mid-document/87908#87908
even using directly bk10.clo instead of argumented bk#1.clo, using \cite{ fails - when the popup should appear, an error is thrown:Could not find bk10.clo

Atom Version: 1.7.4
System: Linux Mint
Thrown From: latextools package, v0.8.1
Stack Trace
Uncaught TypeError: Cannot read property 'split' of null
At /home/oblak/.atom/packages/latextools/lib/completion-manager.coffee:198

TypeError: Cannot read property 'split' of null
    at CompletionManager.module.exports.CompletionManager.CompletionManager.citeComplete (/home/oblak/.atom/packages/latextools/lib/completion-manager.coffee:198:27)
    at CompletionManager.module.exports.CompletionManager.CompletionManager.refCiteComplete (/home/oblak/.atom/packages/latextools/lib/completion-manager.coffee:132:8)
    at /home/oblak/.atom/packages/latextools/lib/latextools.coffee:234:28

Commands
  7x -0:03.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:01.0 latextools:ref-cite-keypress (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "latexer",
      "latex"
    ]
  },
  "latextools": {
    "builderSettings": {},
    "darwin": {},
    "linux": {},
    "win32": {}
  }
}

Installed Packages
# User
git-diff-details, v0.23.0
language-latex, v0.6.1
language-matlab, v0.2.1
language-r, v0.4.1
latextools, v0.8.1
linter, v1.11.4
linter-chktex, v1.3.0
markdown-preview-plus, v2.4.0

# Dev
No dev packages

I have the same issue with tikz imports.
\input{F.tikz}

makes the cite pop up crash with the same error.


Replace MinIO from bitnami with the MinIO Operator

https://github.com/minio/operator/tree/master/helm/operator

Operator working and can create tenants. Ideally I want to also create the tenants with Flux CD

This is fine


When exiting the game and clicking on new game it only resume the exited game

should be closed with lobby PR


chore: update ubuntu version to 20.04

Details
Update the ubuntu version to 20.04 to move off 18.04. I noticed the following warning:

##[warning]The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see https://github.com/actions/virtual-environments/issues/6002

Motivation
Keep pipeline environments up to date.
Context

Pull request checklist

[n/a] Addresses an existing issue: Fixes #0000
[n/a] Added relevant unit test for your changes. (yarn test)
[n/a] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[n/a] Ran precheckin (yarn precheckin)
[x] Described how this PR impacts both the ADO extension and the GitHub action

Whoops, I opened this from the fork. I'll recreate it so we can run the pipeline.


chore: adds vanity import.

Please provide a description of this PR:
This PR adds vanity import to all Go files to make it easier to consume them and to search. All this codebase is hosted at github.com/istio/istio but consumed as istio.io/istio which isn't easy to find out.

Hi @jcchavezs. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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.

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

integ-security_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

integ-security_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security_istio

integ-operator-controller_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-operator-controller_istio

unit-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test unit-tests_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

integ-security_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security_istio

integ-operator-controller_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-operator-controller_istio

unit-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test unit-tests_istio

integ-pilot_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot_istio

integ-pilot-istiodremote-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-istiodremote-mc_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

integ-security_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security_istio

integ-operator-controller_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-operator-controller_istio

unit-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test unit-tests_istio

integ-pilot_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot_istio

integ-pilot-istiodremote-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-istiodremote-mc_istio

analyze-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test analyze-tests_istio

integ-security-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security-multicluster_istio

integ-pilot-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-istiodremote_istio

gencheck_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test gencheck_istio

integ-security-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security-istiodremote_istio

release-notes_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-notes_istio

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

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

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-mc_istio

integ-ipv6_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-ipv6_istio

integ-telemetry-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry-istiodremote_istio

integ-pilot-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-multicluster_istio

integ-cni_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-cni_istio

integ-telemetry_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-telemetry_istio

integ-helm_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-helm_istio

release-test_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-test_istio

integ-distroless_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-distroless_istio

integ-security_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security_istio

integ-operator-controller_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-operator-controller_istio

unit-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test unit-tests_istio

integ-pilot_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot_istio

integ-pilot-istiodremote-mc_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-istiodremote-mc_istio

analyze-tests_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test analyze-tests_istio

integ-security-multicluster_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security-multicluster_istio

integ-pilot-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-pilot-istiodremote_istio

gencheck_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test gencheck_istio

integ-security-istiodremote_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test integ-security-istiodremote_istio

release-notes_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test release-notes_istio

lint_istio
91c7d62ec9c9cd940c125a11cf58f71f0bd11c4d
link
true
/test lint_istio

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

@jcchavezs: PR needs rebase.

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.


Bogus error with mutual recursive operators

Apalache claims that TLA+ parser rejects (Error by TLA+ parser: Found a cyclic dependency among operators: IsEven, IsOdd) a spec that it doesn't:
---- MODULE F ----
EXTENDS Naturals

RECURSIVE IsEven(_)

RECURSIVE IsOdd(_)

IsEven(n) ==
    IF n = 0
    THEN TRUE
    ELSE IsOdd(n-1)

IsOdd(n) ==
    IF n = 0
    THEN FALSE
    ELSE IsEven(n-1)

==================

java -cp ~/TLC/tla2tools_1-7-0.jar tla2sany.SANY F.tla

****** SANY2 Version 2.1 created 24 February 2014

Parsing file /Users/markus/src/TLA/_specs/ewd998/F.tla
Parsing file /private/var/folders/7d/4x6z2cc91jl588ysynlc1tfc0000gn/T/Naturals.tla
Semantic processing of module Naturals
Semantic processing of module F

apalache-mc check F.tla
16:46:05.965 [main] INFO at.forsyte.apalache.tla.tooling.opt.CheckCmd - Loading configuration
16:46:05.984 [main] INFO at.forsyte.apalache.tla.tooling.opt.CheckCmd -   > TLC config file found in specification directory. To enable it, pass --config=F.cfg.
# Usage statistics is ON. Thank you!
# If you have changed your mind, disable the statistics with config --enable-stats=false.

Output directory: /Users/markus/src/TLA/_specs/ewd998/_apalache-out/F.tla/2022-10-11T16-46-06_16504550803085844238
# APALACHE version: 0.29.2 | build: 8a342d2                       I@16:46:06.168
Tuning: search.outputTraces=false                                 I@16:46:06.186
PASS #0: SanyParser                                               I@16:46:06.323
Parsing file /Users/markus/src/TLA/_specs/ewd998/F.tla
Parsing file /private/var/folders/7d/4x6z2cc91jl588ysynlc1tfc0000gn/T/Naturals.tla
Check the dependency graph in dependencies.dot. You can view it with graphviz. E@16:46:06.453
Error by TLA+ parser: Found a cyclic dependency among operators: IsEven, IsOdd E@16:46:06.455
It took me 0 days  0 hours  0 min  0 sec                          I@16:46:06.455
Total time: 0.285 sec                                             I@16:46:06.455
EXITCODE: ERROR (255)

Right. In this case, it is not the parser issue. What would be an optimal message in your opinion?

"Apalache does not support recursive operators"

The current error message both indicates where Apalache fails (we detect cyclic dependencies in Apalache's parser pass), and gives a witness for the mutual recursion.
@lemmy Is your concern that the existing error message is too detailed, or that users might confuse the language fragment accepted by Apalache with SANY's capabilities?

I asked because other constructs, such as Apalache's overrides, can cause cyclic dependencies that are rejected in the same way.
So we cannot make the error message about recursive operators.
IIUC, simply dropping the Error by TLA+ parser: prefix from the error message would resolve this issue?

Based on the critique TLC receives for its poor error messages, I suggest telling Apalache's overrides apart from recursively declared operators in Apalache's error reporting.

That's good input, improving Apalache's output is something we're very aware of!
In the current case, the example you reported is at the intersection of two language fragments that Apalache rejects: (1) cyclic use-defs and (2) recursion. It is simply a matter of what is checked first.
We could change that order, but I think it's quite obvious here that Found a cyclic dependency among operators: IsEven, IsOdd refers to mutual recursion. Support of recursion in Apalache is discussed at length in the manual: https://apalache.informal.systems/docs/apalache/principles/recursive.html
I also understood that this issue is really about identifying "TLA+ parser" with SANY, to which I offered a pragmatic solution above. I'd still appreciate your feedback there:

IIUC, simply dropping the Error by TLA+ parser: prefix from this error message would resolve this issue?

In #2242, these errors will instead be prefixed with Parse error and so not unfairly malign SANY :)

Closing this as fixed by #2242. If not, please reopen.


Investigate compression for file transfer

We might want to investigate a compression mechanism for file transfers:

File copy: Should we use a compression instead of just bundling with tar?

Transfer back: Consider piping the cat output through a compression program in the container and decompress it in Poseidon to allow for faster data transfer? Is that possible with streaming? The goal would be to reduce the bytes sent through Nomad, as this lead to a very high load for Nomad with large files (I tested it 1G):
system("dd if=/dev/zero of=test.txt bs=1 count=0 seek=1G") # Can be compressed very well!
system("dd if=/dev/random of=test.txt bs=1 count=0 seek=1G") # Cannot be compressed probably

We started with a WIP branch shortly after creating the issue. The previous experiment is still available in PR #229. Since we did not expect that file compression from Poseidon to Nomad would have a big impact on performance (but rather the other direction), we did not followed up further.


Triggering ZTF integration

A PR is needed to https://github.com/simeonreusch/planobs, to add a new function which will take a list of fields rather than one (basically the same as https://github.com/simeonreusch/planobs/blob/8252c18357fb8ca246ff506723b61dfa8f3842e8/planobs/api.py#L127 but for a list). Once that is in, we can just use planobs to easily trigger ZTF with the pandas schedule.

Blocked by https://github.com/simeonreusch/planobs/pull/72


Webpack 2 support

Initial pull request for #38
Stuff that has been done:

Add 'src/helpers.js' for commonly used functions
Add JSDOC documentation for various functions
Add support for Webpack v2
Add enhanced support for Webpack v1 by reading 'resolve.root', 'resolve.fallback'

Pull request needs feedback and is unfinished
⚠  Don't merge, yet!

I'm worried that the enhanced Webpack v1 and Webpack v2 support might not work as they hold absolute paths (e.g. path.join(__dirname, 'app')) which in the src/helpers.js@lookupLocal function might not resolve correctly.
I'd love to see some help on adding documentation on remaining functions and especially lookupLocal would help me understand the library and finish the pull request.

Update
Did a overall file structure refactor:

renamed src folder to lib (common npm practice)
added top-level index.js that just exports the plugin instance (common npm practice)
moved helper/private functions from completion-provider.js to utils.

I can also try adding testing and continuous-integration using mocha,  chai, istanbul, travis.
Should I close this branch and make a pull request to v2 branch?

Atom has own test infrastructure. Atom Linter as example of package with tests.
I prefer CircleCI, but travis is ok.

Should I close this branch and make a pull request to v2 branch?

No, I'll update master.

@renarsvilnis please add circle.yml:
machine:
  node:
    version: 6

Added circle.yml.

@renarsvilnis is it still WIP?

Yes, haven't had time to figure out how lookupLocal function works and if it would do mad-stuff when passed absolute paths from the webpack config.

@renarsvilnis I guess lookupLocal, actually works not fine right now.
The algorithm should be:

split directory and filename ('/foo' and 'ba'), ('' and 'fo')
concat current file directory and split directory from prev step
lookup names in dirname from prev step
filter names using filename prefix from first step

But first step works not fine. For example, if prefix is '.., './', '../..' it's becomes ''. So if you have better implementation, I'll glad to see it.

@renarsvilnis are you still interested in this changes?

@nkt Yeah, but I quite busy right now, can get back to it in a month.

@renarsvilnis are you still willing to work on this or should I give it a try ?

@MatthieuLemoine no, have forgotten about it. You can continue on it.

Can this be close, @nkt @renarsvilnis ? @MatthieuLemoine seems to have solved it on PR #64 ?

Superseded by #64


I downloaded emmet last nite - it was working fine! Today, for some reason, it is not working anymore. I uninstalled it on my mac ox and reinstall it again. It is still not working. What do i need to do to for the emmet to work on the atom

Sorry, solved it. I need do save the file in html rather then js


cross compile using go 1.13.x

as title

@techknowlogick  And I think this should also be backport to release/v1.10. So that we can tag v1.10.6 .


I'm unable to make pull request due to a github problem with authentication, I put the repo with the changes in a new repo instead

https://github.com/xaviguasch/binary-upload-boom-homework-repo-comments-feature

Issue solved. I had to use SSH to circumvent the original problem. Now the pull request is done.


Cannot build on OSX

Due to https://github.com/yarnpkg/yarn/issues/786
Suggest replacing yarn usage with just regular npm?

@altayaydemir this is still an issue
Would you take a PR for a package-lock.json if I were to make one? Or are you dead-set on yarn?

@bherila lets ask @batuhan

Thanks. FWIW, I've pretty much stopped using yarn due to this problem.

Yeah, not working o OSX, using npm or yarn the problem still there

Any update on this yet?

Try upgrading yarn and npm, somehow it is working for me.


Can you pls provide pretrained models

while runing command
!python predict.py --field invoice_number --invoice ../invoice1.pdf
i am geting error,
Traceback (most recent call last):
  File "predict.py", line 77, in <module>
    main()
  File "predict.py", line 53, in main
    model = AttendCopyParse(field=args.field, restore=True)
  File "/content/InvoiceNet/invoicenet/acp/acp.py", line 70, in __init__
    raise Exception("No trained model available for the field '{}'".format(self.field))
Exception: No trained model available for the field 'invoice_number'

can you pls share your pretrainned weights/model?

How many invoices did you use to train the model?