phpdoc_to_comment and @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter

Bug report

Code snippet that reproduces the problem
/**
 * {@inheritdoc}
 */
protected function configureDatagridFilters(DatagridMapper $datagridMapper): void
{
    $datagridMapper
        ->add('owners', 'doctrine_orm_callback', [
            /** @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter */
            'callback' => static function ($queryBuilder, $alias, $field, $value) {
                // ...
                return $queryBuilder;
            },
            'field_type' => \App\Form\Type\EntityUserType::class,
        ])
    ;
}

After appliance:
diff --git a/src/Admin/ServerAdmin.php b/src/Admin/ServerAdmin.php
index 18f15b8ca..65ad8f356 100644
--- a/src/Admin/ServerAdmin.php
+++ b/src/Admin/ServerAdmin.php
@@ -183,7 +183,7 @@ class ServerAdmin extends AbstractAdmin
     {
         $datagridMapper
             ->add('owners', 'doctrine_orm_callback', [
-                /** @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter */
+                /* @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter */

It looks like to be expected, however, the @phpcsSupress annotation needs to be set with /** prefix in order to work properly.
To make both tools compatible, we should skip when @phpcsSupress is used.

@soullivaneuh CS-Fixer can be fix anything, just add comment_to_phpdoc)))

he true:

"Structural Element" is a collection of Programming Constructs which MAY be preceded by a DocBlock. The collection contains the following constructs:
....
variables, both local and global scope.

I have the same issue with /** @psalm-suppress */

Looks to be a good idea. :+1:

It looks to be a good idea. :+1:
Why not also maintaining a vendor tags list to ignore by default? This will make configuration life much easier! :+1:

Why not also maintaining a vendor tags list to ignore by default?

will bring additional maintenance effort which already is not small
will be BC
why would you assume people would like to want these tags ignored by default?

Personally I don't want to - anytime I see @phpcsSuppress, @psalm-suppress or similar ones my thoughts are: it's done from the wrong way - tools such as PHPCS, PHPStan, Psalm etc. should be configured in a way the code fulfils the expectations (expressed via configuration), not the other way around. As I had this discussion many times I have this real-life example:
A guy drives too fast on a highway and is stopped by the police office.
Police officer tells him he will be fined, but the driver says "I have immunity", so police officer let's him go as he said he has immunity. Is that right? The guy did not have any immunity, he only said he has.
Or will the police officer verify that what the driver is saying is the truth?

A guy drives too fast on a highway and is stopped by the police office.
Police officer tells him he will be fined, but the driver says "I have immunity", so police officer let's him go as he said he has immunity. Is that right? The guy did not have any immunity, he only said he has.
Or will the police officer verify that what the driver is saying is the truth?

When a policeman control a driver, does he first ask for a driver license or does he first ask to the administration system if the driver has a driver license ?
Here it's the same, you might prefer to annotate the code, where it is, with context and some comments, instead of writing everything in another file, forcing the reader to jump between multiples files.
The same reason why you're writing the phpdoc next to a method/class and not in another file.

When a policeman control a driver, does he first ask for a driver license or does he first ask to the administration system if the driver has a driver license ?

The driving license is a standardized thing - made not by the driver, but given to him - and all drivers show it, even when these stopped for random control.

The same reason why you're writing the phpdoc next to a method/class and not in another file.

Not really, PHPDocs you write to follow standard, not to violate it. Supressing/ignoring rules in code is like saying "I know the rules, but will not follow them this time", so it's not the same.

@kubawerlos it's not BC if not enabled by default

why would you assume people would like to want these tags ignored by default?

that's guys as minimum

it's not BC if not enabled by default

@WinterSilence I know, but @soullivaneuh wants to have these tags added by default

@kubawerlos I'm think he talk about global(affecting on all PhpDoc fixes) ignore list by tags. Need explanations...


[Question] How to not re-trigger a Dynamic link? / How to check for pending links on app focus?

[REQUIRED] Please fill in the following fields:

Unity editor version: 2020.2.3
Firebase Unity SDK version: 7.0.2
Source you installed the SDK: .unitypackage
Problematic Firebase Component: Dynamic Links
Other Firebase Components in use: Auth, Database, Firestore, Storage, Analytics, Cloud Functions
Additional SDKs you are using:
Platform you are using the Unity editor on: Windows
Platform you are targeting: Android (iOS in the future)
Scripting Runtime:  IL2CPP

[REQUIRED] Please describe the question here:
When I click on a dynamic link it opens the app and goes to the correct page (very cool stuff btw, thanks!). But when I put the app to the background and then reopen it, it re-triggers the dynamic link (and going to the page again). This also happens when I close the Android keyboard after typing stuff.
So how can I let my app know that the link was already used and shouldn't be used again? Can I dispose the Received Dynamic Link in some way? Why would it keep triggering anyway?
Here is my code that receives the dynamic link:
public static class DynamicLinksManager
{
        private static bool isInitialized = false;

        // Gets called on Start after authentication has been setup.
        // Also gets called OnApplicationPause(false)
        public static void InitializeLinks()
        {
            if (!isInitialized)
            {
                Debug.Log("Initialized Dynamic Links");
                isInitialized = true;
                DynamicLinks.DynamicLinkReceived += OnDynamicLink;
            }
        }

        // Gets called OnApplicationPause(true)
        public static void DeinitializeLinks()
        {
            if (isInitialized)
            {
                isInitialized = false;
                DynamicLinks.DynamicLinkReceived -= OnDynamicLink;
            }
        }

        private static void OnDynamicLink(object sender, EventArgs args)
        {
            var dynamicLinkEventArgs = args as ReceivedDynamicLinkEventArgs;
            var deeplink = dynamicLinkEventArgs.ReceivedDynamicLink.Url;
            Debug.Log("Received dynamic link: " + dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString);

            if (!deeplink.OriginalString.Contains("?ProjectID="))
            {
                Debug.Log("Deeplink does not contain a ProjectID");
                return;
            }

            string projectID = GetProjectIDFromUrl(deeplink.OriginalString, "?ProjectID=");
            Debug.Log("Project ID received from link: " + projectID);

            GotoProject(projectID);
        }
}

So when I don't unsubscribe from receiving links (DynamicLinks.DynamicLinkReceived -= OnDynamicLink) when the app gets unfocused it stops re-triggering the dynamic link, which makes sense. However, then clicking the dynamic link stops working. It does open up the app again, but it doesn't bring me to the right page anymore.
So maybe I should change the question to:  How to check for pending dynamic links?  or  How to check if same link was clicked again?
Could still use some help :)

Your issue seems to be the same to  #565
Unfortunately the team did not have a chance to look into this yet.  You should be able to use this workaround https://github.com/firebase/quickstart-unity/issues/565#issuecomment-620713784 to clear the intent extra when the Dynamic Link is triggered.
Let me know if this workaround works for you.  Also, please upvote #565 if that is the same issue of yours!
Shawn

Thanks Shawn! #565 was indeed the same issue and the suggested workaround of Johan worked like a charm. Apologies for not finding the issue on my own.

Thanks for confirming @RobinopdeBeek.
Closing this issue as duplicate to keep one thread for discussions.


allow short, medium, long for duration flags --timeout and --expected_lifetime

backwards compatability.
Small change in fix_units_... code.

Fixes #217


Langchain Azure create_pandas_dataframe_agent Issue

Below is the code i'm using to explore a CSV on Pokemon. I'm trying to plug in Azure credentials to get it to work but i'm running into some issues.
from langchain.agents import create_pandas_dataframe_agent
from langchain.llms import OpenAI
import pandas as pd
import os
os.environ["OPENAI_API_KEY"] = 'sk-xxx'
df = pd.read_csv('pokemon.csv')
agent = create_pandas_dataframe_agent(OpenAI(temperature=0), df, verbose=True)
agent.run("What is the name of the gen 5 pokemon has the highest speed?")
Here is what I've been trying to do to get Azure OpenAI to work with this:
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_KEY"] = "xx"
os.environ["OPENAI_API_BASE"] = "https://xx.openai.azure.com"
os.environ["OPENAI_API_VERSION"] = "2022-12-01"
When I try to run the above, I get the error that the API key is incorrect. More specifically:
AuthenticationError: Incorrect API key provided: ****************************. You can find your API key at https://platform.openai.com/account/api-keys.
Has anyone dealt with this before?

Maybe try setting the environment variables before importing the langchain items, since the openai library automatically reads them upon initialization.


Issue with Context Menu Closing Immediately on Right-Click in macOS 14.3.1+

Describe the bug
On macOS version 14.3.1 and later, the context menu does not remain open upon right-clicking. This problem is likely due to the context menu appearing far from the cursor's location rather than directly adjacent to it. Consequently, because the cursor is not detected within the boundaries of the context menu upon its opening, the menu automatically closes.
Reproduction
Right-click on a context menu trigger area from macOS version 14.3.1 or above on Safari.
Logs
No response
System Info
NA

Severity
annoyance

What browser?

Safari

Hi;
Confirming for macOS 13.6.3 and Safari Version 17.2.1
https://github.com/huntabyte/shadcn-svelte/assets/87414827/3d705475-4c2f-4b0f-900b-5ac69e4f34ac

Related: https://github.com/melt-ui/melt-ui/issues/992

Will be closed once https://github.com/melt-ui/melt-ui/pull/977 is merged and Bits UI is updated to the latest version of Melt 👍

This should now be closed when you update to<EMAIL_ADDRESS>🎉


Can we add a physical network connection feature to iOS

Can we add a physical network connection feature to iOS，thank you

There's no private or public APIs for this


[FEATURE] Logs add Download and Copy

Download filename：

Logs：print.log
Requirements：requirements.txt


Client certificate support

Is it possible to use client certificates with star scream? In my project, this is required, so I was wondering if there was any information regarding support for this
Thanks in advance

This is a duplicate of #271. This feature has not been added. PR is welcomed.


Test Fork PR...

Just testing...

CodeScene Delta Analysis Results

Risk
0

Quality Gates
Fail

Description
Not enough commits to calculate risk. The risk classificaiton will be enabled automatically once you have more development activity.

Warnings
Degrades in Code HealthDeltaAnalysis.java degrades from a Code Health of 10.0 -> 9.0

Code Health Delta Descriptions:
DeltaAnalysis.java Degradations: Bumpy Road Ahead (bumpyMethod has 2 logical blocks with deeply nested code. Threshold is 1 (one) single block per function) - new issueDeep, Nested Complexity (Increasing with 4 nesting levels in bumpyMethod: depth  = 4 levels, threshold = 4 levels) - new issue

CodeScene Delta Analysis Results

Risk
0

Quality Gates
Fail

Description
Not enough commits to calculate risk. The risk classificaiton will be enabled automatically once you have more development activity.

Warnings
Degrades in Code HealthDeltaAnalysis.java degrades from a Code Health of 10.0 -> 9.33

Code Health Delta Descriptions:
DeltaAnalysis.java Degradations: Bumpy Road Ahead (bumpyMethod has 2 logical blocks with deeply nested code. Threshold is 1 (one) single block per function) - new issueDeep, Nested Complexity (Increasing with 4 nesting levels in bumpyMethod: depth  = 4 levels, threshold = 4 levels) - new issue

CodeScene Delta Analysis Results

Risk
0

Quality Gates
OK

Description
Not enough commits to calculate risk. The risk classificaiton will be enabled automatically once you have more development activity.

CodeScene Delta Analysis Results

Risk
0

Quality Gates
Fail

Description
Not enough commits to calculate risk. The risk classificaiton will be enabled automatically once you have more development activity.

Warnings
Degrades in Code HealthDeltaAnalysis.java degrades from a Code Health of 10.0 -> 9.0

Code Health Delta Descriptions:
DeltaAnalysis.java Degradations: Bumpy Road Ahead (bumpyMethod has 2 logical blocks with deeply nested code. Threshold is 1 (one) single block per function) - new issueDeep, Nested Complexity (Increasing with 4 nesting levels in bumpyMethod: depth  = 4 levels, threshold = 4 levels) - new issue

Closing, shouldn't be needed anymore.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52240

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54920


Changes in Readme.md

Update README.md with Virtual Environment Setup
Overview
This pull request enhances the README.md file by adding instructions for creating and activating a virtual environment before installing Kaizen. This ensures a consistent and isolated development environment for users.
Changes

Key Changes:

Added separate steps for creating and activating a virtual environment on Windows and Mac/Linux systems before installing Kaizen.
Updated the installation steps to use poetry for dependency management.
Modified the test generation and execution commands to reflect the use of poetry.

New Features: No new features were introduced in this pull request.
Refactoring: No major refactoring was done in this pull request.

✨ Generated with love by Kaizen ❤

Original Description
# Changes in Readme.md
Overview
This pull request updates the README.md file to provide clearer instructions for local installation of the Kaizen project. The changes focus on adding steps to create and start a virtual environment before installing Kaizen, ensuring a consistent and isolated development environment.
Changes

Key Changes: Added separate steps for creating and activating a virtual environment on Windows and Mac/Linux systems before installing Kaizen.
New Features: No new features were introduced in this pull request.
Refactoring: No major refactoring was done in this pull request.

✨ Generated with love by Kaizen ❤

Original Description
Added steps under local installation, to create and start a virtual environment in windows and mac/linux separately before installing kaizen in Readme.md.

Added more edits in steps for windows and to install poetry in the local deployment instructions under readme


Memory safety issue: TryFrom&[u8]> impls in device_path have incorrect lifetime annotations

These impls were added in uefi-0.29.0, I missed a safety issue when reviewing the code.
The current impls look like this:
impl<'a> TryFrom<&[u8]> for &'a DevicePath { ... }

But they should look like this:
impl<'a> TryFrom<&'a [u8]> for &'a DevicePath { ... }

This wasn't caught by the compiler because internally these impls use unsafe pointer-based code. The missing lifetime means that the &[u8] buffer can be free'd while the &DevicePath still exists, which is UB.
The fix is straightforward, I will put up a PR. I think we should also do a 0.29.1 release since we're not quite ready for a 0.30.0 release yet. EDIT: actually, this is a semver-incompatible change, so it should be a 0.30.0 release. We can branch this off of commit https://github.com/rust-osdev/uefi-rs/commit/4e4e19043a8d9a6783ca6d2034390df95eb21ec2.
cc @andre-braga

Fix is up: https://github.com/rust-osdev/uefi-rs/pull/1282
After that's merged, I will create a version-0.30.0 branch off of commit https://github.com/rust-osdev/uefi-rs/commit/4e4e19043a8d9a6783ca6d2034390df95eb21ec2, then open a PR to cherry-pick the fix into that branch. Then I'll put up a release PR for the branch. (This will be the first time I've run the release workflow on a branch other than main, but it should be set up to work on version- branches already.)

I've created the version-0.30 branch with the cherry-pick, and opened a release PR: https://github.com/rust-osdev/uefi-rs/pull/1285


Fix call stack overflow when removing circular hasOne inverse

I also added some console logging in the "marked for removal" logic (as it's own commit, in case you don't want to keep it around)

Thanks again @gnarf!


RFE: Remove Search tags widget from top of screen

We've talked about this last week but opening an issue so it's not forgotten. I'm talking about this:

which doesn't seem to be part of Image Builder and is confusing.

I came here to open the same issue. I asked Katie about this, and apparently insights does not currently allow this to be removed, only disabled (as it is now). I think we should request that possibility.

After discussing this again this is not anything we can control from image builder frontend and is enabled for all clouddot applications. They have no intention of removing it at this time so I am closing this issue since it can not be fixed by us and we have no further steps to take.


feat: support objects path for seeding buckets

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

21 of 32 (65.63%)  changed or added relevant lines in 5 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 60.129%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/seed.go
0
1
0.0%

internal/seed/buckets/buckets.go
9
13
69.23%

internal/db/reset/reset.go
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.06%

Covered Lines:
6343

Relevant Lines:
10549

💛  - Coveralls


[AIRFLOW-5598] Improve MLEngine typehint

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.
In case you are proposing a fundamental code change, you need to create an Airflow Improvement Proposal (AIP).
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does
If you implement backwards incompatible changes, please leave a note in the Updating.md so we can assign it to a appropriate release

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@32fd2af). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #365   +/-   ##
=========================================
  Coverage          ?   80.05%
=========================================
  Files             ?      610
  Lines             ?    35264
  Branches          ?        0
=========================================
  Hits              ?    28230
  Misses            ?     7034
  Partials          ?        0

Impacted Files
Coverage Δ

airflow/gcp/operators/mlengine.py
75.72% <ø> (ø)

Continue to review full report at Codecov.

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


Allow logging to files

Nothing much to add here - all the logger information is currently sent to the console. An industrious user could change the logger configuration to go to a file or to both. This may be a nice option to add in the model configuration.

We've been working on setting this option up in flowsa as well
https://github.com/USEPA/flowsa/blob/formatting/flowsa/common.py#L57-L70
https://github.com/USEPA/flowsa/pull/79/commits/0f628e0ce9cc6c484b0fe0ecadb6c581ba047ed1


[Feature request] cloudfront cdn 연결

내용
https://thesaver.s3.ap-northeast-2.amazonaws.com/article/1629178265697.jpg
https://d3vnt6byjajzpu.cloudfront.net/article/1629178265697.jpg

https://console.aws.amazon.com/cloudfront/v3/home?region=ap-northeast-2#/distributions/EYDLS9MBMKR22


A16/B0:  Compatibility issue with True Type Font Replacer

FYI, the fix added in A16 for readability of essentia counts in alchemy recipes appears to have introduced a compatibility issue with TTFR (True Type Font Replacer, formerly known as — or a successor to, I'm not quite clear — Better Fonts).  The effect is that fonts set with TTFR work perfectly up until the first interaction with anything Thaumcraft that results in seeing an essentia count (simply looking at a warded jar is sufficient).  You can do anything that does not involve essentia, but as soon as you see the first essentia count of any kind, all characters throughout Minecraft become unreadable rectangular blobs.  Once that has happened, the only way to make anything readable again is to close and restart the Minecraft client.
I'm totally aware of course that you cannot guarantee compatibility with everything, nor is it your job to do so.  But it does seem this is related to the essentia visibility fix since it seems to be seeing essentia counts that triggers it.
TTFR/Better Fonts is not an essential mod, but it's a huge improvement to Minecraft text readability on high-resolution monitors, not so much because TTFR is Really All That as because Minecraft's own built-in text/font rendering is so crude.

Additional information:  I have determined that this happens only with the Goggles of Revealing.


DMCA section needs a option for third-parties to submit copyright reports.

1. What's the name of the policy?
https://github.com/github/site-policy/blob/master/Policies/github-terms-of-service.md
2. Is this issue related to a specific section within one of our policies (e.g. the Terms of Service)? If so, please include a link to the section or subsection.
Yes.
https://github.com/github/site-policy/blob/master/Policies/github-terms-of-service.md#e-copyright-infringement-and-dmca-policy
3. Did you already open a pull request? If so, please include a link to the PR.
No.
4. Sometimes it's easier to just put your feedback text into an issue. If that's how you'd prefer to contribute, this is the section to do that.
Yes.
5. Why do you think this section or language needs improvement?
For three reasons, I think this needs an improvement to allow for third parties to submit copyright flags.
First, theres a legal requirement in sweden, for someone that hosts user-generated content without pre-moderation, to take down any copyright infringing content when ANYONE reports, not just the copyright owner.
The law is "Lag (1998:112) om ansvar för elektroniska anslagstavlor" (Law (1998:112) about responsibility for electronic bulletin boards)
Even if the title of the law might be misleading, it does not only apply to forums, but ANY site where a third-party can post content without pre-moderation by a moderator or admin.
And here is an excerpt from that law, stating its requirement to delete or disable access to any illegal content, anytime the site administrator gets notice of that:
"5 § Om en användare sänder in ett meddelande till en elektronisk anslagstavla ska den som tillhandahåller tjänsten ta bort meddelandet från tjänsten eller på annat sätt förhindra vidare spridning av meddelandet, om
...
2. det är uppenbart att användaren har gjort intrång i upphovsrätt eller i rättighet som skyddas genom föreskrift i 5 kap. lagen (1960:729) om upphovsrätt till litterära och konstnärliga verk genom att sända in meddelandet. "
Translation:
"5 § If a user submits a message to a electronic bulletin board, the entity who provides the service should delete the message from the service, or in other way prevent further distribution of the message, if
...
2. Its obvious that the user has infringed on copyright or any other right protected by 5chap law (1960:729) about copyright to litterate and art works, by sending in the message."
Two: Because DMCA does not prohibit taking down material that is infringing on copyright even if a third-party submits the DMCA notice. The only thing is that GitHub isn't required to take down (according to USA law) but they can do so if they choose so.
https://law.stackexchange.com/questions/14084/is-it-prohibited-to-accept-dmca-takedown-notices-from-non-authorized-individuals
Three:
The terms of service does have a section, C-2, "Content Restrictions", that specifically say:
"infringes on any proprietary right of any party, including patent, trademark, trade secret, copyright, right of publicity, or other rights."
which means, content can be taken down either by DMCA, or C-2.
Thus, I suggest section E, to be updated to:
E. Copyright Infringement and DMCA Policy
If you believe that content on our website violates your copyright, please contact us in accordance with our Digital Millennium Copyright Act Policy. If you are a copyright owner and you believe that content on GitHub violates your rights, please contact us via our convenient DMCA form or by emailing<EMAIL_ADDRESS>There may be legal consequences for sending a false or frivolous takedown notice. Before sending a takedown request, you must consider legal uses such as fair use and licensed uses.
If you believe that content on our website violates a third party's copyright, please contact us in accordance with our Terms of Service, Content Restrictions Policy. If you are a third party who witnesses that content on GitHub violates a third party's right, please contact us by emailing<EMAIL_ADDRESS>Please write "C-2 takedown request" in the subject line.
Please note that a C-2 takedown request isn't legally binding, will be judged by GitHub admins and/or moderators, and may be rejected. Only submit a C-2 takedown request if you are completely sure that the copyright owner does not allow that specific content there.
If a GitHub Admin or Moderator approves a C-2 takedown request on your repository, you must send proof of copyright to have the content reinstated. Proof of copyright can be for example written agreements from a copyright owner about permission to use material, a license document, or any other documents that proves you have right to use the material, or proof that you created the material. You can also have the copyright owner to contact us. They will have to prove their position as a copyright owner, and then they can ask to have your material reinstated. We will in the case copyright owner asks us to have material reinstated, also block further C-2 takedowns on that particular repository. (DMCA takedowns will still be valid).
A copyright owner or a entity authorized to act on behalf of the copyright owner, can choose if they want to send a DMCA notice or a C-2 notice. If a C-2 notice is chosen, the content will be judged by GitHub, and material taken down if the C-2 notice is approved. C-2 notices protects you from counter-notices. If a C-2 notice is rejected and you are the copyright owner or a entity authorized to act on behalf of the copyright owner, you can escalate it to a DMCA notice.
We will terminate the accounts of repeat infringers of this policy, regardless of if the takedown notice was a DMCA one or a approved C-2 one.
Also a moral thing to consider:
I can report to the admins that a repostiory contains for example pornography, drug trafficing, promotes illegal activites or other illegal/prohibited content, and have the content taken down.
I can also, if I see someone shoplifting in a store, call the police and also file a formal police report. I don't need to ask the store owner for permission.
Why is it so hard to report copyrighted content to be taken down unless Im the copyright owner?

Why is it so hard to report copyrighted content to be taken down unless Im the copyright owner?`

Note: I Am Not A Lawyer.
Far too many people who aren't the copyright owner, flag things just because they "don't like X", where "X" is a legitimate behaviour.
Including flagging pages for copyright violation, when the item on the page that supposedly violates copyright, was placed there by the copyright holder.
It is a matter of scale. If Bob accuses Bill of shoplifting, then a security office and a camera recording is a few minutes away, and that may be the only incident worth nothing all month (varying by scale of store).
A large website, however, can get so many violation reports that it is functionally impossible to look through them all, thus resulting in things like automatic filtering and response, which results in things like spammers and (effectively) DDoS attacks being able to effectively take down content for illegitimate reasons.
For that matter, it is entirely possible for people to flag copyrighted content out of a legitimate concern that its use is illegitimate, thus requiring investigation of complaints where, ultimately, the use of the copyrighted item was allowed by the copyright holder.

Such frivolius reports should be easy to filter out. Im talking about clear-cut infringements now.
Like finding a bypass-copyright-protection tool on GitHub, or finding obvious pictures with a large "PIRACY DETECTED - PLEASE REPORT" banner straight over the pic. (Because they used a picture editing program that they cracked).
Or finding code that is obviously stolen, like confidental comments and copyright comments belongning to internal use.
For those abusing the tool to reports things they don't like, it would be easy to shut down or warn those accounts.
And in the rare case the copyright owner allows the usage (for example if a copyright owner wants a bypass-DRM tool for bypassing a old DRM they no longer have control over) then the copyright owner can simply tell GitHub to keep the content and all C-2 reports on that tool will be blocked.

I am not an accountant, either. Feel free to run your own numbers.
Here, a link for you: https://www.google.ca/search?q=youtube+fake+copyright+claims&ie=utf-8&oe=utf-8&gws_rd=cr&ei=xCJsWdWNF4rY0gK85JPgCA
I'm not talking theoretical; this is stuff that has happened on other sites, has happened a lot on other sites, and has caused a number of problems on other sites.
It's easy to say "it's simple to check for obvious infringement". There's a few problems:

GitHub had *24,000,000 users in 2016. Based on long experience with people, for every 20 people, you have 1 person who's going to cause trouble or friction. I don't just mean trolls. I'm also including mistakes, ignorance, and etc. in with bad actor.
1a) Let's say 10% of them file a complaint every month.
1b) That's 120,000 complaints a month, and about 4,000 every day.
1d) Let's say 95% of complaints can be handled within 5 minutes, 3% within 15 minutes, 1% take 3 hours, and an additional 1% take indeterminate time.
1e) Assuming that anything that takes longer than 5 minutes is ignored, that means 19,000 minutes of work per day, or 317 hours (rounded up from 316.6~).
1f) At 8 hours of work per day, minus 30 minute lunch, minus 15 minute break, minus bathroom breaks, minus twiddling thumbs, minus discreetly checking Facegroup, that would mean (/6) 53 new workers (rounded up from 52.833~).
1g) 53 new workers at $25,000 USD per year means $1,325,000 per year in pay for the group, not counting management, facilities, maintenance, and other expenses.
Complaints will not be restricted to GitHub users alone.
Under ideal circumstances, your complaint mechanism would see mostly valid complaints.
3a) We do not have ideal circumstances.

https://www.quora.com/How-many-users-does-GitHub-have

On Youtube, allowing third party dmca requests led to taking down video huge companies didn't like regardless of their actual breach of dmca.
Also, dmca is american law. I do not see why it should be obeyed in countries that are not the USA.

nukeop: Exactly what im pointing out, that DMCA is american law. Sweden law is actually stricter on that point that you must, as a service provider, investigate any copyright complaints regardless of who is submitting the complaint.

DMCA allows companies to take down repositories that represent a "threat" to their business, for example by using their services in a way they do not like (for an example, see: https://github.com/github/dmca/blob/master/2017/2017-07-13-byond.md )
That has much more dire consequences that threaten the fundamental freedoms regarding the creation and use of software, than just uploading "copyrighted" materials to Github.

Yeah but all that content constitues DRM bypass tools. Its not because just of a "threat" to their business. For example, a spider tool or a scraping tool couldn't be taken down, even if that poses a "threat" to their business.

There should be nothing illegal in bypassing oppressive DRM, and in fact in many countries there isn't.

In sweden its illegal for example. The only exception is that if a technical fault in the DRM appears so you cannot access paid content, for example if you paid for a music but can't listen to it, then you may "fix" the error.
In all other cases, for example when a company shuts down their activation servers so you cannot no longer listen on a bought song or use software you paid for, then you have to go to court if you want to have access reinstated. Its illegal to take the matters in your own hands and circumvent the DRM.

First, theres a legal requirement in sweden ...

sounds nearly like

First, there are legal requirement in Democratic People's Republic of Korea (also known as North Korea), just Republic of Korea (also known as South Korea), People's Republic of (mainland) China and Taiwan, Russian Federation and Ukraine, Saudi Arabia, Iran, Oman, Ethiopia, United Kingdom, ...

Do you suggest to satisfy the legal requirements of ALL the jurisdictions existing (and imaginary, because of "define existing")? If not, why do you suggest GH to satisfy the requirements of any jurisdiction other than the one on which territory GitHub is placed?

Listing the UK along with DPRK was a nice touch.

This is the big problem. My tought is that it would be wise to implement a policy that is compatible with most of the countries, so all copyright complaints are handled in a way that supports most laws.
The copyright law isn't really much different in most countries due to it being a international law, but for those small differences, its wise to implement a policy that fits them all.

This is the big problem. My tought is that it would be wise to implement a policy that is compatible with most of the countries, so all copyright complaints are handled in a way that supports most laws.

Do I understand you correctly, that you suggest to collect the worst parts of copyright legistations (if you don't do that, laws of some jurisdictions will be violated) and implement them as GitHub policy, just to make some governments happy? I vote against that.

Also keep in mind that unifying/standardization is how copyright gets ratcheted to ever more draconian heights. Lobbyists make a change (eg. extending the term, tightening enforcement) in a few jurisdictions, then push for everyone to standardize on those new, more restrictive laws.
...all the while, brushing under the rug that the original purpose of American-style copyright was to enrich the public domain with a limited-time (19 years + another 19 if renewed), opt-in monopoly on "science and the useful arts (ie. mapmaking)" and, prior to America, it began as a censorship deal between the British crown and printing guilds. (ie. You print only what we approve of and we'll make it illegal for anyone else to print anything.)

The conversation here is an interesting one. Let's be careful to keep things civil and polite, please. Let's err on the side of asking questions and striving to understand each other rather than giving advice.

In short Github should do the absolute minimum to avoid serious lawsuits, and we should not make the life of DMCA issuers any easier willingly (quite the opposite).

Thanks so much for this proposal. It's an interesting suggestion, and this has been a great discussion. However, in the United States, only the owner of a right has the ability to enforce that right. A valid DMCA takedown notice can only be sent by the owner of a right (or that person's agent).
When it comes to copyright law, only the holder of a copyright knows whether or not he or she has given permission for it to be used. It can be very difficult to identify copyright violations. While a third party, like a fan or a user, might believe that certain content would never have been authorized, it's hard to know, and even experts with insider knowledge sometimes get it wrong. Even if you think you've found an obvious case of infringement, there may be a license you're not aware of, there may be fair use, or the copyright holder just may not care.
GitHub does not have the ability to determine whether or not a use is authorized. We are only able to wait until someone who has the right and ability to enforce their rights asks us to take down content. Because third parties don't have any rights to the content, and cannot send a takedown notice under the DMCA, we cannot accept a takedown request from them.
Another thing to consider is that every time we take down content, it can be very disruptive to the person who has had content taken down...especially when someone is sending a false or abusive notice just to remove a competitor's hard work. From our perspective, as a service provider that processes large numbers of takedown notices, we've seen many instances of people sending abusive complaints just to mess with another user who has angered them. Although the DMCA process isn't perfect, requiring the copyright holder to submit the notice is one of the safeguards against such shenanigans.
For all these reasons, we will not be opening up our DMCA takedown process to complaints from third parties. If you come across content on GitHub that you suspect has been infringed and you aren't the copyright holder, you always have the option to send an email to the copyright holder. It's only fair to give them the right to decide whether or not they want to follow up with us.


Clean up daemonset deploy logic and update unit tests

Continue with rest of reconciling logic after at least one daemonset pod is ready
Dynamic daemonset image name set in controller config (This way no change in documentation is required)
Update unit tests and e2e tests

/cc @sairameshv for the review.

/lgtm

/hold https://github.com/openshift/instaslice-operator/pull/180#discussion_r1806618332

/hold cancel
/lgtm


upgrade otelgrpc dep for cve 2023-47108

issue: https://github.com/stolostron/multicloud-operators-foundation/security/dependabot/27

/retest

/lgtm
/hold

/unhold


Exclude ClassLoadingTest from HotSpot JDK8 only

Exclude ClassLoadingTest from HotSpot JDK8 only
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

Reason for exclude: https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/227

Increasing the timeout in the test should fix https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/227. Trying it out in Grinder. So this Exclude may not be necessary.
Holding off on it for the moment.

Increasing timeout fixes the issue: https://github.com/AdoptOpenJDK/openjdk-systemtest/pull/240


Replaced usages of env::home_dir on dirs::home_dir

Signed-off-by: artem.ivanov<EMAIL_ADDRESS>

@AxelNennker  yes, nested extern crate here is required by re-usage utilities from src in tests.


No space appears for Who I am, What I do in my free time, and Additional Information

Subject: No space appears for Who I am, What I do in my free time, and Additional Information
Description:
I just clicked on edit profile button and this shows up?
Results:
For some box to appear for all three fo those so I can fill them in!
Backend version: develop-0023fa73
Frontend version:
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Page: https://couchers.org/profile/edit/about
User: lynnlin (23524)

it's further down in the edit box i suppose


Update release checklist - replace QHub -> Nebari and swap to CalVer

📝  Decision notes: https://www.notion.so/quansightlabs/All-hands-ffb7b83e7a9c4adb92e49356e00aef7b
We agreed to follow the same as Dask - YY.M.micro where:

micro number of release per month (starting at 1 - no zero padding)
M month no zero padding

🏷 First release 2022.10.1
open against https://github.com/Quansight/qhub/tree/release/2022.10.1

@trallard I believe the checklist is ready-to-go :)


brew install will suggest brew cask install

If the user tries to install a cask using brew install
then brew will suggest the user tries 'brew cask install'
closes #6245

[ x] Have you followed the guidelines in our Contributing document?
[x ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ x] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Still need to write tests, figured I'd open a draft pull request so people could look at a potential solution for #6245. One thing I noticed is that the show_info parameter sort of achieves the same thing as attempted_command = Homebrew.args.argv[0], so it might not be necessary anymore?

One thing I noticed is that the show_info parameter sort of achieves the same thing as attempted_command = Homebrew.args.argv[0], so it might not be necessary anymore?

Yeh, that might be better. I was going to suggest passing a parameter explicitly that would alter the text output.

Thanks @zachauten!


Doesn't check NBT Data?

If the item in the DSU uses NBT data, the label doesn't check the item you insert via the label to make sure that NBT matches, thus creating a dupe-esque bug.  (Think having a DSU or Golden Bag of Holding with valuables in it, add it to the DSU, then adding empty DSUs or Bags via labels...the empty bags will copy the NBT data of the one in the DSU, duping the valuables).
Fix:  Check and match NBT on inserting items via labels.

MC Version 1.10.2
SimpleLabels 0.0.2
Eight months later, this still persists.  Just for giggles, we put in a filled Refined Storage drive into the Vast Storage Unit, then clicked in an empty drive via the label.
As expected, we got back a copy of the Refined Storage drive; duplicating 100% of the drive's contents.  This is certainly going to work with Applied Energistic 2 drives as well.
So I disagree with LezChap's description of "dupe-esque".  This is a bug that lets users duplicate tens of thousands of items with a single click.  How about "dupe-ester" instead?

Fun fact: I actually fixed this almost 10 months ago here 7f049010377871f5137315f637c933682fb7b431
But then I unfixed it when trying to resolve a conflict and never noticed. Give me a few hours to get home again and I'll put the changes back in place.


lis2dh: add tap interrupt

Add interrupt for single tap on ST LIS2DH driver
Tap interrupt is shared with anym interrupt
Slope threshold and duration is used to configure any motion and click interrupt

Looks almost good to me. Pls take a look at indentation remarks. moreover, pls squash the two commits in a single one, as it seems to me that the second is just a correction of the first (if I'm not wrong).

Thanks, you are right. Just corrected some more indentations. So they should be squashed when merged

Looks almost good to me. Pls take a look at indentation remarks. moreover, pls squash the two commits in a single one, as it seems to me that the second is just a correction of the first (if I'm not wrong).

Thanks, you are right. Just corrected some more indentations. So they should be squashed when merged

How the commits are automatically squashed together?

Looks almost good to me. Pls take a look at indentation remarks. moreover, pls squash the two commits in a single one, as it seems to me that the second is just a correction of the first (if I'm not wrong).

Thanks, you are right. Just corrected some more indentations. So they should be squashed when merged

How the commits are automatically squashed together?

I think they should get squashed by the one who merges. Never published to github before, only to gitlab. But when it works the same the one that merges should do this

Looks almost good to me. Pls take a look at indentation remarks. moreover, pls squash the two commits in a single one, as it seems to me that the second is just a correction of the first (if I'm not wrong).

Thanks, you are right. Just corrected some more indentations. So they should be squashed when merged

How the commits are automatically squashed together?

I think they should get squashed by the one who merges. Never published to github before, only to gitlab. But when it works the same the one that merges should do this

Mmmmh, not sure about this. I guess the merger is expecting the committer and reviewer to prepare a good patchset before merging. Maybe @MaureenHelm may clarify this.

Looks almost good to me. Pls take a look at indentation remarks. moreover, pls squash the two commits in a single one, as it seems to me that the second is just a correction of the first (if I'm not wrong).

Thanks, you are right. Just corrected some more indentations. So they should be squashed when merged

How the commits are automatically squashed together?

I think they should get squashed by the one who merges. Never published to github before, only to gitlab. But when it works the same the one that merges should do this

Mmmmh, not sure about this. I guess the merger is expecting the committer and reviewer to prepare a good patchset before merging. Maybe @MaureenHelm may clarify this.

The author needs to do the squashing.

I think I'm confused ;)
Just rebased the changes to get them into a squashed commit.
Chose pick for the initial commit and fixup all follow ups.
And now there is the failure in the pipeline:
Rebasing (1/6)
Auto-merging drivers/sensor/lis2dh/lis2dh.h
CONFLICT (content): Merge conflict in drivers/sensor/lis2dh/lis2dh.h
Auto-merging drivers/sensor/lis2dh/lis2dh_trigger.c
CONFLICT (content): Merge conflict in drivers/sensor/lis2dh/lis2dh_trigger.c
Rebasing (2/6)
error: could not apply 19ef0967[31](https://github.com/zephyrproject-rtos/zephyr/actions/runs/6168315375/job/16740627170#step:7:32)... lis2dh: add tap interrupt
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 19ef096731... lis2dh: add tap interrupt
Error: Process completed with exit code 1.

What do I need to do?

Has anyone been able to successfully use this? I've modified the lis2dh sample to detect taps, and I can't get it to detect anything, as in my handler never fires.
I'd really appreciate any help getting this working, as there isn't a ton of documentation around this.
Here is my modified code:
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_LIS2DH=y
CONFIG_LIS2DH_TRIGGER_GLOBAL_THREAD=y

#include <stdio.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/sensor.h>

static void trigger_handler(const struct device *dev,
                            const struct sensor_trigger *trig)
{
    printf("TRIG\n");
}

int main(void)
{
    const struct device *sensor = DEVICE_DT_GET(DT_ALIAS(accel0));

    if (sensor == NULL || !device_is_ready(sensor))
    {
        printf("Could not get accel0 device\n");
        return -ENODEV;
    }

    struct sensor_trigger trig;
    int rc;

    trig.type = SENSOR_TRIG_TAP;
    rc = sensor_trigger_set(sensor, &trig, trigger_handler);
    if (rc != 0)
    {
        printf("Failed to set trigger: %d\n", rc);
        return rc;
    }

    printf("Waiting for triggers\n");
    while (true)
    {
        k_sleep(K_MSEC(2000));
    }

    return 0;
}


add hklm only to hosts config

Signed-off-by: brmclare<EMAIL_ADDRESS>

https://openenclave-jenkins.eastus.cloudapp.azure.com/job/test-infra/job/test-infra-images/job/Windows2019Build/2/

https://openenclave-jenkins.eastus.cloudapp.azure.com/job/test-infra/job/test-infra-images/job/Windows2019Build/2/


Update README.md

Changed and fixed some gramatical errors in readme.
I'm a flutter dev, and I understand such small mistakes doesn't matter a lot, but if something can be corrected, I think it should be.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Thanks for the contribution. I read through the fixes and I believe the grammar was actually correct prior to making these fixes.


Callstack on Windows (MinGW)

Hi
We ran the sigsegv example to test the crash handler after compiling g3log with MinGW, but unfortunately, the call stack contains some mangled symbols and some of the entries (the more meaningful ones) are empty. This is a release build, in which case it makes sense that there is no symbol information available, but this is where the call stack in the log file is actually helpful. Is there some way to achieve a meaningful call stack in a release build?

***** Vectored Exception Handler: Received fatal exception EXCEPTION_ACCESS_VIOLATION   PID: 3432
******* STACKDUMP *******
stack dump [0]   strftime
stack dump [1]   vsprintf_s
stack dump [2]   vsnprintf_s
stack dump [3]   ZN10LogCapture8capturefEPKcz
stack dump [4]
stack dump [5]
stack dump [6]
stack dump [7]
stack dump [8]   BaseThreadInitThunk
stack dump [9]   RtlUserThreadStart
Exiting after fatal event  (FATAL_EXCEPTION). Fatal type:  EXCEPTION_ACCESS_VIOLATION'

We tried the -g option, but the call stack was still not complete. We then tested with a debug build with the same result. However, when we disable the crash handler and use DrMinGW, the call stack contains the symbol information.

Interesting.
I've the least experience with MinGW Im mostly on gcc maybe that's why I haven't seen this before.
Let me know if you come up with a resolution. The MinGW support is so far provided by the community (not me)
Sent from my iPhone

On Jul 18, 2018, at 15:33, Rincewind<EMAIL_ADDRESS>wrote:
We tried the -g option, but the call stack was still not complete. We then tested with a debug build with the same result. However, when we disable the crash handler and use DrMinGW, the call stack contains the symbol information.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Pending to be closed due to lack of information

I haven't found a solution yet! Will still investigate since this is one of the major reasons why I want to use g3log.


Text Classification, Named Entity Recognition, and Transformers Overview Documentation

Closes: #79

Title : Text Classification, Named Entity Recognition, and Transformers Overview Documentation
Name: Utsav Singhal
Identify yourself: SSOC'24 Contributor

Describe the add-ons or changes you've made 📃
Implemented a module for text classification to categorize text into predefined categories using machine learning algorithms. Developed a Named Entity Recognition (NER) feature to identify and categorize entities such as names, dates, and locations within text data. Additionally, created comprehensive documentation covering the concepts, applications, and implementation of Transformers in natural language processing (NLP).
Type of change ☑

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested? ⚙
The text classification module was tested using a sample dataset to ensure accurate categorization. The NER feature was evaluated on various text samples to verify correct entity identification and categorization. Documentation was reviewed for completeness and accuracy.
Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Note to reviewers 📄
The new features and documentation aim to enhance the project's NLP capabilities by providing essential tools for text classification and named entity recognition, along with a detailed overview of Transformers. Your feedback on these additions will be appreciated.

@Avdhesh-Varshney and @ArchitJ6 please review this pr.


Decline Contract Request GraphQL

As NHS admin I want to be able to Decline Contract Request using new admin portal.
So, we need to implement mutation using graphql

[x] confluence / schema / features
[ ] implement
[ ] test

HappyPass is tested. Validation errors response with 500


offline-pages-with-pwa-builder

Please format index.html page so i can review changes easily
And have you tested site offline?

I just added 4 lines of script in index.html
And I haven't tested offline functionality yet.
On Fri, 15 Mar 2024, 5:59 PM Shehzad Iqbal, @.***>
wrote:

Please format index.html page so i can review changes easily
And have you tested site offline?
—
Reply to this email directly, view it on GitHub
https://github.com/shehza-d/israeli-product-checker/pull/1#issuecomment-1999613503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4YPK6I53VVL2P3SPUAFBZDYYLWBVAVCNFSM6AAAAABEXIATVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZGYYTGNJQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Web5 release 0.11.0

Release checklist:
https://github.com/TBD54566975/developer.tbd.website/issues/1622

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1208210860840301

Note to self:
There seems to be a bug in "@web5/credentials": "1.1.1"
Waiting for a response from devs: https://sq-tbd.slack.com/archives/C05SXUR39FE/p1726703412390379


Live button only shows after 30 seconds of pause

Issue opened by @vpdn on Play SRG (https://github.com/SRGSSR/playsrg-ios/issues/107).
Issue overview
When a user pauses while watching a live stream (e.g. game), the live button does not appear right away, but only after a delay of around 30seconds. Expected would be that the live button always appears, as soon as the user is not live anymore.

[X] Incorrect behavior
[ ] Feature request
[ ] Crash
[ ] Help / documentation
[ ] Other: classification

Environment information

Application version: Letterbox 1.6.3
iOS version: 11
Device: iPhone 6

Reproducibility

[X] Always reproducible
[ ] Difficult to reproduce

This is desired behavior.


Feat: Map (overview of process)

User input 3 (by Lise Storhaug Ekeland, Geir Lea Berge, Henriette Eidsnes):
Vanskelig å se /få oversikt over totalprosess/flyt når vi jobber i systemet.. Kun fokus der vi er og vanskelig å få en rød tråd  => mulig å ha med et lite bilde av hele prosessen I bakgrunnen?
Possible solution:
See map in Miro

Seems there is limited options as far as styling goes, using the standard styling setup for React-Flow looks like:

What options are there? @HavardNot

I agree on the border. Would love for it to look something like this :) (Figma link)

Managed to wrestle with the CSS to create this. Will create a separate issue for zoom percentage as it was a bit complicated to handle updating the value when the user zooms with the mouse/trackpad. The zoom value will probably be placed to the right of the controls instead of between "+" and "-" as it is not a native feature of the "Control" component from React-Flow

Possible to change the fullscreen icon to fit to screen icon as well?
It isn't really a fullscreen button, rather a center or fit to screen button.

It is possible but it is not a good idea. React Flow does not expose the ability to override the icon in the API, it only has support for adding more buttons. so i would have to hide the original button by using CSS and then creating a custom button with the same functionality but with the new icon. Which i think is too much work for such a small change.
A quick fix alternative is to use Javascript logic to manipulate the DOM during run-time. Circumventing the React virtual DOM is considered bad practice and should be avoided as it easily breaks. I got it working, though the icon is a bit small

One small detail: I think we should remove the gap and border of the buttons so that the design will be more consistent with the other button group. What do you think @VetleW @HavardNot ?

Fixed hover color and removed the border shadow between the buttons

Ready for test in web-flyt-test.radix.equinor.com @QiJin-Bouvet

Tested in TEST env.

Mini map shows the focus area with a border
Changes in canvas get updated in mini map

BUT, some edges/lines are shown as green card in mini map by mistake.

Tested in TEST env.
Mini map shows the focus area correctly.

Tested in QA env.
Mini map shows the choice card as normal sub activity card. Need a fix.

Fixed choice card minimap node displaying incorrectly. ready for test https://web-flyt-test.radix.equinor.com/ @QiJin-Bouvet

Tested in TEST env.
The mini map works as expected.

Tested in QA env.
The mini map works as expected.


Confusion regarding this stereoscopic reconstruction technique direction

Using GS as the output, in my view, GS is essentially a 2.5D output.
Due to the limitations in representing such as: potential big size of Gaussian points, and opacity that may not closely approximate the physical world, maybe very diffucut to extract surface representations like mesh.
Only when GS is subject to strong constraints similar to SuGaR. This is what truly defines 3D.
In short, how to control the algorihtm to generate a surface well-aligned GS, and no garbage points.
Individual highly appreciates the technical approach of this paper, which directly generates three-dimensional output representations based on fewer input constraints/just image. It should be 'perfect' if the generation process by imposing constraints: the Gaussian points closer to the surface, the flat orientation of Gaussian points facing the surface, avoiding excessive size of Gaussian points, and achieving good opacity for non-transparent physics, etc.

Same question, do you think that adding some additional supervision information to this work, such as depth supervision, would make the final result better and give a better shape?

I also think that the idea of this work is very innovative, and there are many things that can continue to be deeper and more innovative on this work.

Indeed, there are no constraints on where the points lie, the only signal is from novel view synthesis losses (L2 and LPIPS losses on novel views). Improving shape quality is an important direction for future work.


Feat: support defaults and null references to fix content missing relationships

Overview
Addresses ticket #220759
Adds defaults to int/bool/string types coming in from Contentful and makes any content references nullable.
This is to ensure the database always saves changes coming from contentful, regardless of completeness, to prevent the issue where relationships sometimes don't form depending on the order that content is created
Changes
Major

Sections can have a null interstitial page
Warnings can have null text contents
TextBodies can have null text contents
All required fields are now defaulted to empty string, 0, or false, depending on their type, if not present in a contentful web message

Minor

Updated the seeded test database content to include examples of content with these missing references, that can be used to check the page loads without error when usePreview=false

How to review the PR

Follow the steps in the SeedTestData project readme to spin up a mock database.
Change your dotnet secrets connection string to point at the mock database
Run plan tech web against it and make sure the pages all load without error

Note that you may need to sign out and back in for the users to start working properly
Separately, it would be worthwhile to disable the Azure function in dev, run it locally, and add content in contentful with required fields missing, and make sure that it always comes through
Additional Notes
This would ideally have e2e tests but needs the seeded test db to be setup with these firsts - so this will be documented on that ticket as test cases to include.
Checklist

[ ] Title uses Angular commit convention
[ ] PR targets development branch
[ ] Unit tests have been added/updated

I've given this a pretty good once over, and it seems to do what it says on the tin. So good job buddy!


my.docshell.ru, HTTPS filtering issue

Related issue https://github.com/AdguardTeam/AdguardForWindows/issues/2196.
I've done small investigations and find that we get an error in DotNetZip (a zipfile class library: http://dotnetzip.codeplex.com), more precisely incomplete dynamic bit lengths tree.

Resolved, confirmed in the Android build


JLL Registration: JuliaBinaryWrappers/pprof_jll.jl-v0.0.0-20191205061153+0

Autogenerated JLL package registration

Registering JLL package pprof_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/pprof_jll.jl
Version: v0.0.0-20191205061153+0

Now this is a degenerate package version


Consider adding .filterMap() or alternative .collect()

Would be nice with either a .filterMap() method or an alternative .collect()!
Examples:
Option.of(1)
  .map(i -> (String) null)
  .filterMap(Objects::nonNull, String::intern);

or alternatively:
Option.of(1)
  .map(i -> (String) null)
  .collect(Objects::nonNull, String::intern);

(Yes, I've read http://blog.vavr.io/the-agonizing-death-of-an-astronaut/ but I believe this is a slightly different topic as one could use any predicate, not just Objects::nonNull.)
I realize there is also:
Option.of(1)
  .map(i -> (String) null)
  .collect(Function1.of(String::intern).partial(Objects::nonNull));

but it's not that easy to read and has a lot of boilerplate.
For Vavr's Option, this could be implemented as:
default <U> Option<U> filterMap(Predicate<? super T> predicate, Function<? super T, ? extends U> mapper) {
    Objects.requireNonNull(predicate, "predicate is null");
    Objects.requireNonNull(mapper, "mapper is null");

    return isEmpty() || !predicate.test(get()) ? none() : some(mapper.apply(get()));
}

or alternatively for.collect(), something like:
default <U> Option<U> collect(Predicate<? super T> isDefinedAt, Function<? super T, ? extends U> function) {
    ...create PartialFunction from Function + Predicate, then call the other .collect()?
}

Thank you for the suggestion, I also think, currently it is hard to create partial functions. Your suggestion is a practical alternative. I will think about it!

There's already filter + map which is pretty nice because it uses the basic building blocks.
Option.of(1)
    .map(i -> (String) null)
    .filter(Objects::nonNull)
    .map(String::intern);

Well yes, obviously. But one can say that about so many things. Factory methods, convenience-shortcuts/overloading etc. Why not use just the most basic blocks everywhere?

A factory method for PartialFunction could be something as well.
Option.of(1)
  .map(i -> (String) null)
  .collect(PartialFunction.of(String::intern, Objects::nonNull));

I don't see
.filterMap(Objects::nonNull, String::intern)

as less boilerplate than
.filter(Objects::nonNull).map(String::intern)

@nfekete is absolutely right. Martin Odersky, the creator of Scala, once said: "(...) functions that take two or more function arguments are considered to be 'bad practice'". We stated this in the past over and over again (for example here).
Instead of working around PartialFunction's factory methods, we might deprecate it and the API associated with it, because it isn't practicable. In this example, collect(). PartialFunction was mainly introduced because of Vavr's pattern matching, which will be deprecated in the upcoming major release. This is our main strategy:

(Note: "slang" refers to "Javaslang", the former name of Vavr)
What Nándor correctly stated is part of our purification effort:

A healthy, approachable and user-friendly API has a small surface area. Less methods and types are easier to remember and better to maintain.

You can read more here.
Therefore I will close this issue. I also see no benefit of adding aliases to existing methods and blowing up our API surface area.

@mandrean just for the sake of completeness - above, you gave a great example of a way too complicated API in our current version 0.10.1.
The future looks more like this (for example Try):


Creation of new project is blocked by missing module

Hi jejomath,
We have tested creating our own foam project and met an issue with the line from <your app name> import router in urls.py file:
Possibly foam project is missing such module. Could you please help us with workaround or provide up-to-date readme?
Thanks!
Regards,
Vasilisa

That's not an external library - it's the name of the Django app that you create when you create a new django project. You should create the app using python manage.py startapp <your app name>, then it will appear as a folder inside the Django project folder. For example, for the test app that comes with the repo, the project is called foam_backend, then there's an app called example. So the import line in the example project is from example import router.


parsing of DLGTEMPLATEEX Windows resources broken

Describe the bug
Windows Dialog resources are not parsed correctly when a DLGTEMPLATEEX structure is used with a DS_FONT style option. The style setting is not detected, and the font information is instead read as part of the next structure, cascading the issue through following structures. The screenshot below shows this for one of the structures in the attached sample.

To Reproduce

Open a project with a program that has Dialog resources. I've attached a sample MFC application I've been using for my own testing.
After analyzing the program, go to any of the DLGTEMPLATEEX structures, for example, the one at 0x0110cb88 in the sample screenshot.
Note that the font size of 0x0008 has instead been marked as alignment bytes, and the following fields have instead been marked as the first bytes of the first item in the dialog.

Expected behavior
Correct detection of the DS_FONT style option and subsequent parsing. A screenshot of what this might look like is included below.

Environment (please complete the following information):

OS: Debian 10, Linux 4.19.0
Java Version: AdoptOpenJDK 11.0.11
Ghidra Version: 10.2_DEV
Ghidra Origin: Fresh clone from Github repository.

Additional context
I'll submit a pull request with a proposed patch (including tests) shortly. Merry Christmas! :christmas_tree: :gift:

SampleMFCApplication.zip


Vine support

Has anyone took the time to make a bridge for vine ? Or started to ?
If not I'll scratch my own itch :)

Not that I know of. Go ahead :+1:


[Improvement] Multi-Source Support for REST scenario.

with RFC: https://github.com/Azure/data-api-builder/issues/1638, we have added support for multiple datasources for graphql scenario. Pr:https://github.com/Azure/data-api-builder/pull/1709. This issue tracks adding support for multiple datasources for REST scenario.

Make sure to consider @kliszaq 's points raised in #1761 with regards to how RestService maps requests to additional datasources.


Initial offset to sarama.OffsetNewest

The README states that sarama's Config.Consumer.Offsets.Initial is set to sarama.OffsetNewest, but I am not seeing this. For this snippet, the consumer always gets the oldest messages, regardless of the config.Consumer.Offsets.Initial value. (servers, group and topics are set outside of the snippet.)
	config := cluster.NewConfig()
	config.Consumer.Offsets.Initial = sarama.OffsetNewest
	client, err := cluster.NewClient(servers, config)
	if err != nil {
		log.Fatalf("Error opening client: %s", err.Error())
	}

	consumer, err := cluster.NewConsumerFromClient(client, group, topics)
	if err != nil {
		log.Fatalf("Error opening consumer: %s", err.Error())
	}

	for !client.Closed() {
		select {
		case msg := <-consumer.Messages():
			consumer.MarkOffset(msg, "")
			fmt.Printf("key: %s (%d)\nval: %s\n\n", string(msg.Key), msg.Offset, string(msg.Value))
		}
	}

Am I doing something incorrectly?

It depends. if the group has been consumed before and the offset exists, it will always automatically resume from that offset. The Consumer.Offsets.Initial setting will only be used if the consumer group doesn't exist or if the stored offset cannot be retrieved (e.g. expired). Delete your consumer-group via the
kafka-consumer-groups.sh tool bundled with Kafka and try again.

Is there no way to delete the consumer group programatically? I dont see anything in the API...

We had quite a long discussion in one in #87, the problem is that you have multiple consumers and there is no API on Kafka side that would guarantee synchronisation/exclusive access. Imagine the following scenario:

You consume a topic from two consumers A (partition 0) and B (partition 1)
On A you decide to delete the consumer group (assuming there was an API for it)
A exits and rebalances
B in the meantime has no idea that the group was deleted and continues to commit its offsets (effectively re-creating part of that deleted group)
Rebalance is triggered and A and B are assigned the partitions again
A resumes from Consumer.Offsets.Initial while B resumes from the stored one

As said in the other ticket, I think adding custom synchronisation among consumers to ensure consistency is out of scope for this library.
So until there is a special API in Kafka (one that disconnects the consumers and then deletes the group before allowing them to rebalance), you can only stop all the consumers first and remove the group manually.


Input stream error

Question
as of late it seems like youtube changed something and when trying to use the app for mp3 it only throws the error:
Error: Input stream error: Status code: 403

just wanted to let you know.

Thanks for informing me. I have been too busy with other works that I can't even give time to my main project, Yomikiru. So unfortunately, it won't be fixed for a long time.
I recommend using another open-source app, "open video downloader" (also known as youtube-dl-gui). Or stacher.io (not open source).


eslint Server sendDiagnostics

Whether the frequency of eslint diagnosis sending is too frequent and will be sent all the time during continuous input. Should it be controlled?

You can partly control it by switch to validate on save. There is some debounce logic on the client to wait some time before requesting diagnostics. Currently there are no plans to add additional control over this.

Is it better to do this, because continuous notification will cause performance loss.
code

I do this already since all requests on the server are buffer and only executed if the document didn't change. So validations will be dropped on frequent editing.


Version bump for rebuild

Version bump for rebuild
Add package php82-pgsql and document related changes

approving for build


fix(server/api/repo): Fix repair webhook host (#2372)

Backports #2372 to release 1.0
Fixes https://github.com/woodpecker-ci/woodpecker/issues/2371

Codecov Report
Patch coverage has no change and project coverage change: -0.05% :warning:

Comparison is base (3fba8e3) 38.75% compared to head (8b66c49) 38.70%.
Report is 3 commits behind head on release/v1.0.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           release/v1.0    #2452      +/-   ##
================================================
- Coverage         38.75%   38.70%   -0.05%
================================================
  Files               181      181
  Lines             10877    10877
================================================
- Hits               4215     4210       -5
- Misses             6351     6356       +5
  Partials            311      311

see 1 file with indirect coverage changes

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


SPIR-V Questions

Dear all,
I have a few questions of SPIR-V implementation for OpenCL.
The first one is about the tool spirv-opt from the project SPIRV-TOOLS. When you use that tool like "spirv-opt test.spv -o test.spv", it changes something at the file or it does not do anything by not using any flag? I think it is like a "No action" flag but I am not 100% sure about that.
The second doubt is about C++ with OpenCL. I have seen that at a C host code, if you want to compile a SPIRV file instead of the source code, you can use createProgramWithIL. I am trying now to use something similar at C++ but I do notfind anything.
Also, i have one more question. I need SPIRV metrics to make abstractions for a project, because I am using iteratively flags for evaluating different changes, in different order, so I need to know how the code have change, and I can see that "change" with their metrics. There is something similar with the llvm opt command: the use of the flag '-analyze' gives you the metric of the bytecode used as input. I need something equivalent but for SPIRV files.
Thanks in advance!

When you use that tool like "spirv-opt test.spv -o test.spv", it changes something at the file or it does not do anything by not using any flag?

It does not do anything.  It may remove OpNop instructions, but otherwise it should be the same.
It don't know if this is the right place for the second question.  Personally, I do not know anything about C++ with OpenCL.
Sorry we do not have any type of analysis or metrics tools.  We do not have any plans for something like that in the near future.


hidapi and cmake in windows

Hi all!
I'm try to prepearing source code for MS VS project and get error after cmake . -G "Visual Studio 11 2012 Win64" command:
D:_VR\OpenHMD\OpenHMD-master>cmake . -G "Visual Studio 11 2012 Win64"
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandle
StandardArgs.cmake:146 (message):
Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.
cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindHIDAPI.cmake:35 (find_package_handle_standard_args)
CMakeLists.txt:49 (find_package)
-- Configuring incomplete, errors occurred!
See also "D:/_VR/OpenHMD/OpenHMD-master/CMakeFiles/CMakeOutput.log".
D:_VR\OpenHMD\OpenHMD-master>
what a'm doing wrong?
Have you are some instriction for adding hidapi sources in OpenHMD project in windows?

This is quite a basic cmake question, you first need to build hidapi, or download the hidapi dll and make sure cmake can find it. It is the same as with every other dependency using cmake. Good luck!


Is it possible to update perfectScrollbar when it's content was resized?

In your demo you have showed that perfectScrollbar could be updated after container div have resized. Is it possible to do the same thing if content div was resized?

Not working this way. Saying perfectScrollbar is not a function in browser.
Check the screenshots in below link:
https://imgur.com/Q1Upba7
https://imgur.com/rFelaWd


Hello World!

Overview
Briefly describe the purpose of the pull request. Explain what problem it solves or what feature it adds to the project.
Details
Provide a detailed description of what changes have been made in this pull request. This should include:

Key modifications to the codebase.
Any new dependencies introduced or removed.
Major changes to existing functionalities.

Rationale
Explain the reasoning behind these changes. Discuss any alternative solutions that were considered and why this particular approach was chosen.
Testing
Describe how the changes have been tested. Include:

Any automated tests that have been added or modified.
Manual testing steps if necessary.
Mention any relevant environments where the changes were tested (e.g., local development, staging).

Impact
Discuss any potential impacts this pull request may have on:

Existing functionality.
System performance.
User interactions.

Screenshots (if applicable)
Include screenshots that illustrate significant UI changes or help demonstrate the functionality introduced or modified.
Additional Notes
Add any other notes about the pull request that reviewers might need to know. This could include:

Dependencies on other pull requests or branches.
Future work that is planned as a follow-up to these changes.
Any areas of the codebase that require particular attention during review.

Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have updated the documentation accordingly (if necessary)
[ ] I have added tests to cover my changes (if necessary)
[ ] All new and existing tests passed

test


Locale not set correctly inside Firefox VNC image at OS level

And because I cannot sudo I cannot set locale myself. May be there is away.
This causes weird behavior for the JavaScript method inside Firefox console:

On any other VM where locale is set correctly it works differently.

@sandipchitale you can set any value using env capability or the same key in browsers.json. All Unicode locales are actually generated inside browser images.

Thanks. I will give it a try.

That worked. Thanks for quick response. Please close the issue.


REST source authentication

Description of the new feature / enhancement
Several different forms of authentication have been proposed for accessing private sources. This issue is a "top level" issue to clarify which forms of authorization are being considered.

#37
#52

We will also need to expose the supported authentication mechanisms via the GetInformation endpoint.
Proposed technical implementation details
No response

As of now it appears winget CLI has the option to include HTTP headers when communicating with the rest service. I assume an Authorization header could be used to provide some security for the rest service.

But it would be great to also secure the installer binaries. For example, if I store installer binaries in Azure Storage Account (not anonymous), then could the winget CLI include HTTP headers when downloading the binary?

Do you have any estimate when REST source authentication will be implemented?

Not yet, we're still discussing various authentication mechanisms and how we want to approach this feature. Be sure to add your 👍 to issues you are interested in as that helps us to prioritize work. I think we're going to try to get at least one mechanism in place for the 1.3 milestone (end of March).


onPress getting invoked automatically

static navigationOptions = ({navigation}) => {
    const params = navigation.state.params;

   let someFunction
   if(params && params.someData)  {
   someFunction = function() {
       console.log('invoked immediately');
   }

    let headerRight = (
        <View style={styles.rightView}>
          <View
            style={styles.rightIconWrapper}>
            <View style={styles.rightHeaderIcon}/>
          </View>
          <TouchableOpacity
            onPress={() => someFunction()}>
          </TouchableOpacity>
        </View>
      );

    return {
      headerRight: headerRight
    };
  }

Any idea why my someFunction() is invoked immediately as soon as my data is fetched?
I sometimes use setParams when i fetch my data.

hi @jjdp your onPress is bad structured is not a react-navigation issue.
You should use
onPress={() => { this.someFunction() }}>
or
onPress={() => this.someFunction }>

it’s not a component function. it’s inside the static navigation action.

@jjdp can you reproduce this in an expo snack? It indeed doesn't seem to be a react navigation issue.

This is not a library issue. So I'll close the issue.
But yes, if you can provide a Snack snippet we'll try to help you out.
I think you simply need to write
   someFunction = () => {
       console.log('invoked immediately');
   }

or something :/ again, having real code would be better.