Examples in tutorial has unfriendly names

Such as Part 2/Context API/setContext and getContext, it has several canvas in defferent parts, and they are totally different things, It's really confusing for a novice like me.
Same thing happened in

Part 2/Component composition/Slot props , the word item appears in defferent and unrelated block.
flipped in Part 2/Classes and styles/Shorthand class directive.
and so on

In addition, getContext in Part 2/Context API/setContext and getContext, the name getContext is conflict with the method of canvas;
and many places use the shorthand syntax.
I don't know if this tutorial is for older birds, but all these things above I think are not friendly to beginners, because i'm not familiar to all those elements, api, attributes name of web standard and svelte.

Could you clarify those points?

Such as Part 2/Context API/setContext and getContext, it has several canvas in defferent parts, and they are totally different thing

There's a canvas variable, and there's the Canvas component which wraps a canvas element. There's no other names. What about this is confusing to you?

In addition, getContext in Part 2/Context API/setContext and getContext, the name getContext is conflict with the method of canvas

This is indeed unfortunate but unavoidable. It just so happens that the DOM API chose the same name here. Maybe we should not use a canvas example here to not run into this situation; not sure.

Part 2/Component composition/Slot props , the word item appears in defferent and unrelated block.

What do you mean by that exactly? item always relates to the same thing in all occurences. If this is about the let: syntax - yes, that is indeed a confusing aspect of the Slot Syntax in general, which is why in Svelte 5 you'll have Snippets which should make this more straightforward.

flipped in Part 2/Classes and styles/Shorthand class directive.

The whole point of the tutorial is that there's a shorthand you can use if the class you apply and the variable you use to determine whether to apply it or not are the same.

Thanks for your answer  @dummdidumm , and im sorry as I got more familiar with it, some no longer confused me, but the one below is  still a bit confused i think:

In Part 2/Context API/setContext and getContext, it would be better to change the context key name of 'canvas' to any other, this makes me think what does the key name 'canvas' have to do with the variable name 'canvas'. though there is an explanation on the left, but I've got the illusion after first looking at the code.

Of course, this is not a serious problem now.


Fix misspelling inPerimeter Networks documentation

In the Perimeter Networks documentation, we have this:

This support uses multiple farms of web application firewalls (WAFs) and Azure Firewall instances that help protect the spoke virtual networks.

I believe farms should be forms.

@tracsman

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@naltun - Thanks for your feedback! Based on the diagram and the rest of the article, "farm" appears to be correct. Thanks so much!


[BUG] Feedback on Javascript client documentation

What is the bug?
We received feedback on the Javascript documentation. Can you please review and help get it updated, as appropriate?
How can one reproduce the bug?
Comment 1:
20230222 | /docs/latest/clients/javascript/index/ | wanted to check the updateByQueryMethod to see its example for TS/Javascript but couldn't find it
Comment 2:
20230222  | /docs/latest/clients/javascript/helpers/  | where is the complete documentation for js?
What is the expected behavior?
Here is the page in question: https://opensearch.org/docs/latest/clients/javascript/index/ and https://opensearch.org/docs/latest/clients/javascript/helpers/
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

Hello @hdhalter,
What would you need our help with? Would you like a list of APIs and params?

I think maybe we add links into the generated client documentation.
On Fri, Mar 17, 2023 at 3:17 AM Kawika Avilla @.***>
wrote:

Hello @hdhalter https://github.com/hdhalter,
What would you need our help with? Would you like a list of APIs and
params?
—
Reply to this email directly, view it on GitHub
https://github.com/opensearch-project/opensearch-js/issues/437#issuecomment-1473283283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5PRLS6LCFUHQ7N52WPRBDW4QFXTANCNFSM6AAAAAAV4O6IFU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Here's the link to the generated API documentation: https://opensearch-project.github.io/opensearch-js/2.2/

UpdateByQuery can be found here: https://opensearch-project.github.io/opensearch-js/2.2/API-Document.html

We've added a series of Guides. This one has an example for update-by-query: https://github.com/opensearch-project/opensearch-js/blob/main/guides/document_lifecycle.md#update-multiple-documents-by-query


[Ruff v0.5] Stabilise 17 pylint rules

Summary
Stabilise the following rules:

bad-open-mode (PLW1501)
empty-comment (PLR2044)
global-at-module-level (PLW0604)
literal-membership (PLR6201)
misplaced-bare-raise (PLE0704)
nan-comparison (PLW0177)
non-ascii-import-name (PLC2403)
non-ascii-name (PLC2401)
nonlocal-and-global (PLE0115)
potential-index-error (PLE0643)
redeclared-assigned-name (PLW0128)
redefined-argument-from-locals (PLR1704)
repeated-keyword-argument (PLE1132)
super-without-brackets (PLW0245)
unnecessary-list-index-lookup (PLR1736)
useless-exception-statement (PLW0133)
useless-with-lock (PLW2101)

These rules have all been in preview for over 3 months; there are no open issues about them, and there haven't been issues about them for months; and their recommendations seem pretty sane and uncontroversial. For some of them, the docs or messages to the user were slightly suboptimal; I've made a few touch-ups as part of this PR.
Many other pylint rules have somewhat opinionated or controversial changes; this PR deliberately leaves quite a few pylint rules still in preview.
Test Plan
cargo test, but the ecosystem check will be the real judge...

Are you sure that PLR6201 is really useful rule? I believe initializing set for only one operation is too expensive and has no sense. I would prefer using tuple. And if the reason is to avoid duplicating items maybe it's better to have the rule which checks such items instead?
I see there are a lot of violations in ecosystem. The same in my repoes. I guess most of users will add this rule in ignores.

Thanks @airreality. While I think it's a useful rule, and probably one that I would enable on my own projects, I agree that there's a lot of ecosystem hits for PLR6201. The performance pros and cons have already been discussed in some depth in https://github.com/astral-sh/ruff/issues/8758 and https://github.com/astral-sh/ruff/issues/9604; however, I missed that https://github.com/astral-sh/ruff/issues/8322 regarding this rule is still open. I think it'd be inappropriate to stabilise a rule while there's still open issues about its behaviour, so I'll axe that rule from the list.
I'm also slightly concerned about the number of hits for nan-comparison (PLW0177) on pandas, as that's a project I'd expect to follow best practices for this kind of thing. In the interests of getting the release out on schedule, I'll also axe that from the list of stabilisations for now, and I'll do an investigation later to see if those are false positives or true positives.


added Redwood: Twin.Macro and EmotionJS example

A very simple example which shows-off the configuration for Twin.Macro and Emotion, in a Redwood project.
The example is written in TypeScript, not sure if that makes a difference.

Nevermind, testing does not seem to like the styled.X way of building components.

Nevermind, testing does not seem to like the styled.X way of building components.

Just to confirm @realStandal Would you like me to merge this and add your repo? Or would you like to close this PR? If so, you can close it yourself. Happy to merge when you're ready!
Lastly, if you haven't already, I do recommend adding this to the "Show and Tell" section of the Redwood Forums: https://community.redwoodjs.com/c/show-tell/7

Hey @thedavidprice, I'm fine with it being merged if y'all are ok having the testing not work, as expected; I can add disclaimers that it's more a proof-of-concept than anything else.
Or I can post it on the forum and see if the community has any suggestions to get it working, before it's "advertised" here.

Or I can post it on the forum and see if the community has any suggestions to get it working, before it's "advertised" here.

^^ That's a great idea! I'll convert this to a Draft PR for now (indicating not ready to merge). See what you can stir up in the Forum and then loop back here.


[ZEPPELIN-845] Fix Image URL issue on documentation

What is this PR for?
Fix Image URL issue on documentation
Currently, on the doc pages of 0.6.0-SNAPSHOT, some images are not displayed properly because of the HTML tag <img src = '/assets/...' />

The fix is easy, replace /assets/... by `../assets/...``
Impacted pages:

QuickStart/UI Layout
QuickStart/Dynamic Form/Checkbox Form
Display System/Angular (frontend API)

What type of PR is it?
[Documentation]
Todos

[ ] - Task

What is the Jira issue?
ZEPPELIN-845
How should this be tested?
Screenshots (if appropriate)
Questions:

Does the licenses files need update? --> No
Is there breaking changes for older versions? --> No
Does this needs documentation? --> No

LGTM

LGTM and merge if there're no more discussions


README

Create a README.md for the repo

Please assign me this also 😨

Hey, I would like to work on this issue! Please assign this to me.


*: change default config for background-thread-count

Signed-off-by: Little-Wallace<EMAIL_ADDRESS>
What is changed and how it works?
What's Changed:
Fix comment for background-thread-count and change the default config to make it at least 2 thread so that split-check would not block other task.
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note

No release note

/run-all-tests

/merge


test: add some scheduler integration tests (1/)

Description of your changes
This PR adds some integration to the scheduler and its related components.
The added test suite verifies the behavior of the scheduler when it processed CRPs of the PickFixed placement type.
I have:

[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested
N/A
Special notes for your reviewer

I ran the IT a few times locally but one test failed once.
Summarizing 1 Failure:
[FAIL] scheduling CRPs of the PickFixed placement type create a CRP with some valid target clusters [It] should add scheduler cleanup finalizer to the CRP
/Users/ryanzhang/workspace/github/fleet/test/scheduler/pickfixed_integration_test.go:82

I don't see detailed errors in the output. Can one see the server side logs on the command line output?

Hi Ryan! I have run the test for multiple times and could not reproduce the error. Regarding the log outputs, it's a verbosity level (klog uses default 0); I have updated the setup to use 5 instead.

Merged this PR to unblock the progress. Has acquired approval before.
If there's any concern, please let me know.


[Plugin] Add Callout component API like ButtonComponent, etc

Hello the Obsidian team !
Is it possible that you make public the Callout Components to be easier to create Callouts inside plugin ?
It could be similar to ButtonComponent or other ones such as Setting.
Thanks !

Thanks for the input! This repo is only used for bugs with the API. Feature requests should go on the forum in the Developer & API section. Thank you!


qsfs issues from trying on the grid

ygg is slow, and the hook zstor --store calls are blocking, so writing 10GB gets divided into 16MB blocks and a huge number of processes is created causing zstor daemon to be OOMed. Using the public ipv6 didn't cause this problem for 10GB, but since writing to the fs is faster than the network (needs verification), there must be a number for which this issue happens.
There's no retrying or queuing of zstor done in the hooks, which means failed zstor stores are lost forever.
zstor daemon when SIGKILLed fails to start because the socket file exists and it doesn't unlink it (easy to fix but should be considered with the issue above).
when zstor died, zdbfs was blocked and any operation on the filesystem would block (even df -h on the host). Storaged apparently does something that causes it to block in this case causing EVERYTHING to block (provisiond, ...).
When the volume becomes full, creating the delete mark file fails with Disk quota exceeded (working on a fix)

From what I know, zstor act like a daemon and have internal queue of process like that (in a single process), you should not have tons of running process running.
@LeeSmet ?


Update shebangs to /usr/bin/env

On NixOS, Termux etc the sh/bash shells are not located in /bin
This PR fixes the following error on these distros:
./hyprevents
zsh: ./hyprevents: bad interpreter: /bin/bash: no such file or directory

Imma close and re-open a new one in a sec (just updating the src branch).


[Carousel] Swiping on carousel is not working

Environment:
Hardware: Htc Nexus 9
Android: 5.0.1
Browser: Chrome 39.0
Reproducible: Always
URL: http://demo.xcomponents.org:3000
Steps to reproduce:

Go to given URL.
From Other controls, select Carousel.
Swipe on image carousel.

Expected result:
Image should be changed with the intended one.
Actual result:
Nothing happens, swiping is not working.
Note: Please refer to following video:
https://www.dropbox.com/s/pcfw8f4kjp4t0xs/IMG_0435.MOV?dl=0

Also reproducible on OSX 10.10 Safari 7

Reproducible.
XComponents - version 0.1
Nexus 7 Android 4.4.4 Chrome 40


duplicate 'part' statements should be flagged as errors explicitly

At the moment, I'm getting "class Foo is already defined" in the duplicate part file.
Ideally, this warning would be in the library definition.

This is now a static error raised by the analyzer:
$ cat 23674.dart
library my_library;

part '23674-part.dart';
part '23674-part.dart'; // No warning
$ cat 23674-part.dart
part of my_library;

class ClassInMyPart {}
$ dartanalyzer --version
dartanalyzer version 2.0.0-dev.63.0
$ dartanalyzer 23674.dart
Analyzing 23674.dart...
  error • The library already contains a part with the uri 'file:///Users/srawlins/code/23674-part.dart' at 23674.dart:4:6 • duplicate_part
1 error found.


App rejected due the use of __NSCFURLLocalSessionConnection, __NSCFURLSessionConnection  - please help

Hi,
I am using in my pods AFNetworking Version 2.5.4 -  Apple rejected my app :
"Your app uses or references the following non-public APIs:
**___NSCFURLLocalSessionConnection, __NSCFURLSessionConnection
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. "_**
Is updating the version to 3.0 will remove the use of this APIs?   should i migrate the code too?
(as suggested here: https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-3.0-Migration-Guide)
What is the best approach to attack this issue?
Thanks in advance!

AFNetworking has nothing with this problem


Issues authenticating with ACM using the Accredited Lawyer with BC Person Credential proof request

Issues reported by CSB, and affecting 5 or 6 people over the weekend and late last week despite having both credentials in their wallets.
Associated error seen in the logs:
cannot be validated: Timestamp on sub-proof #1 is missing vs. requested attribute group 5fa9cca8-53f3-4b6f-aefb-ad46cbab381e

Proof showing the null timestamp:
"requested_proof": {
    "revealed_attrs": {},
    "revealed_attr_groups": {
        "a936c0da-3b29-454d-b402-6cddf7707047": {
            "sub_proof_index": 0,
            "values": {
                "Member Status": {
                    "raw": "Practising",
                    "encoded": "80773232418251071324168107671111183860898849021300637818611153951738456909662"
                },
                "PPID": {
                    "raw": "MC12346",
                    "encoded": "113284298158317279834285630941508089008702590104135140037200578623010622754530"
                },
                "Member Status Code": {
                    "raw": "PRAC",
                    "encoded": "102521883305815317207776104318259002335679112657360890741484805658633694808310"
                },
                "Given Name": {
                    "raw": "Brian",
                    "encoded": "39388102679383361046384283256767693264694536157469555220500653620124394466245"
                },
                "Surname": {
                    "raw": "Goodrangsy",
                    "encoded": "46068774144900373535655915149122223034843140238303904857222880961861409369635"
                }
            }
        },
        "5fa9cca8-53f3-4b6f-aefb-ad46cbab381e": {
            "sub_proof_index": 1,
            "values": {
                  ...
                },
                  ...
                }
            }
        }
    },
    "self_attested_attrs": {},
    "unrevealed_attrs": {},
    "predicates": {}
},
"identifiers": [
    {
        "schema_id": "4xE68b6S5VRFrKMMG1U95M:2:Member Card:1.5.1",
        "cred_def_id": "4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default",
        "rev_reg_id": "4xE68b6S5VRFrKMMG1U95M:4:4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default:CL_ACCUM:4ae1cc6c-f6bd-486c-8057-88f2ce74e960",
        "timestamp":<PHONE_NUMBER>
    },
    {
        "schema_id": "RGjWbW1eycP7FrMf4QJvX8:2:Person:1.0",
        "cred_def_id": "RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person",
        "rev_reg_id": "RGjWbW1eycP7FrMf4QJvX8:4:RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person:CL_ACCUM:6a1fa86a-f5b2-4b26-ac94-ae165a63da10",
        "timestamp": null
    }
]

The vc-authn agents have been using the same configuration and aca-py version (0.7.3-rc0) since Nov 18, 2022.
The vc-authn controllers have been using the same configuration and version since May 10, 2022.

Some questions:

Is Michael setup with TestFlight, can he revert to the previous wallet version and test?
When (with which version of the BC Wallet) did Michael receive his person credential?
Could this be an issue with BC Wallet version 1.0.10 Build 1097, or and issue when upgrading to 1.0.10 Build 1097 when you already have the credentials?

Based in the results the issue only affects some users of 1.0.10 Build 1097.  We don't know if other versions are affected.

Michal is setup to use teflight, but he is not using builds from testflight atm
From Michael:

person credential was long time ago, I don't think I've ever had to re-issue that one, so before the upgrade [to 1.0.10]

It could, that would be an issue with either Askar and/or AFJ

Q: what is that timestamp field used for? is that part of proof of non revocation?

Yes — it is the identifier for the specific RevRegEntry used by the holder to construct the non-revocation proof.
Could be something in AFJ version related to the upgrade to AnonCreds RS?  Is there a difference in AFJ versions between what the user is using and what Clecio used?

I am still unable to reproduce the error:

I've uninstalled my BC Wallet App, and installed at 1.0.9
Got Lawyer Credential
Got Person Credential
Tried to login to ACM, and it works as expected.
Upgrade the app to 1.0.10
Tried to login to ACM, and it works as expected.

This is what a successful request contains (note no timestamp attributes):
"requested_proof": {
    "revealed_attrs": {},
    "revealed_attr_groups": {
        "935a40d6-1a13-4764-9cf7-43a18ebdb54e": {
            "sub_proof_index": 1,
            "values": {
                "given_names": {
                    ...
                },
                "family_name": {
                    ...
                }
            }
        },
        "c3241c36-2eae-4b0f-a5a2-b052fbbc36e3": {
            "sub_proof_index": 0,
            "values": {
                "Surname": {
                    "raw": "Goodrangsy",
                    "encoded": "46068774144900373535655915149122223034843140238303904857222880961861409369635"
                },
                "Given Name": {
                    "raw": "Alex",
                    "encoded": "99262857098057710338306967609588410025648622308394250666849665532448612202874"
                },
                "PPID": {
                    "raw": "MC12348",
                    "encoded": "1333347123958091868677147927491789918780284402440175294640196150783619529829"
                },
                "Member Status Code": {
                    "raw": "PRAC",
                    "encoded": "102521883305815317207776104318259002335679112657360890741484805658633694808310"
                },
                "Member Status": {
                    "raw": "Practising",
                    "encoded": "80773232418251071324168107671111183860898849021300637818611153951738456909662"
                }
            }
        }
    },
    "self_attested_attrs": {},
    "unrevealed_attrs": {},
    "predicates": {}
},
"identifiers": [
    {
        "schema_id": "4xE68b6S5VRFrKMMG1U95M:2:Member Card:1.5.1",
        "cred_def_id": "4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default",
        "rev_reg_id": "4xE68b6S5VRFrKMMG1U95M:4:4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default:CL_ACCUM:4ae1cc6c-f6bd-486c-8057-88f2ce74e960"
    },
    {
        "schema_id": "RGjWbW1eycP7FrMf4QJvX8:2:Person:1.0",
        "cred_def_id": "RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person",
        "rev_reg_id": "RGjWbW1eycP7FrMf4QJvX8:4:RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person:CL_ACCUM:6a1fa86a-f5b2-4b26-ac94-ae165a63da10"
    }
]

Also seeing other requests containing this style of content:
"identifiers": [
    {
        "schema_id": "4xE68b6S5VRFrKMMG1U95M:2:Member Card:1.5.1",
        "cred_def_id": "4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default",
        "rev_reg_id": "4xE68b6S5VRFrKMMG1U95M:4:4xE68b6S5VRFrKMMG1U95M:3:CL:59232:default:CL_ACCUM:4ae1cc6c-f6bd-486c-8057-88f2ce74e960",
        "timestamp": null
    },
    {
        "schema_id": "RGjWbW1eycP7FrMf4QJvX8:2:Person:1.0",
        "cred_def_id": "RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person",
        "rev_reg_id": "RGjWbW1eycP7FrMf4QJvX8:4:RGjWbW1eycP7FrMf4QJvX8:3:CL:13:Person:CL_ACCUM:6a1fa86a-f5b2-4b26-ac94-ae165a63da10",
        "timestamp": null
    }
]

So if I'm readint this right its being rejected because there is a timestamp associated with a revocable credential?
        "schema_id": "4xE68b6S5VRFrKMMG1U95M:2:Member Card:1.5.1",
        "timestamp":<PHONE_NUMBER>

As per the docs:
Timestamp for Irrevocable Credential
A presentation's inclusion of a timestamp pertaining to an irrevocable credential evinces tampering: the verifier MUST reject such a presentation.

As per the docs:
Timestamp for Irrevocable Credential A presentation's inclusion of a timestamp pertaining to an irrevocable credential evinces tampering: the verifier MUST reject such a presentation.

This is for IRrevocable credentials - non-revocable. Both credentials in the proof are revocable.

@esune Ok, so it does not like the that the timestamp is missing on a revocable credential:
        "schema_id": "RGjWbW1eycP7FrMf4QJvX8:2:Person:1.0",
        "timestamp": null

Missing Timestamp
A presentation with no timestamp for a revocable credential purporting to satisfy a requested item in the corresponding presentation request, where the requested item has an applicable non-revocation interval, evinces tampering: the verifier MUST reject such a presentation.

Theory — the wallet (AFJ) is not able to get the revocation registry but is going ahead with constructing the proof for what it has.  Perhaps the person is behind a firewall that is preventing Indy access, but because they have the data other than the revocation registry, they are able to create the proof.
If the person is willing — perhaps try with the wallet on mobile data and not on wifi?

I will check which network is being used and report back

Using Wifi, or just cellular data results in the same problem

Getting a new person credential seems to have resolved the problem. However, some of the people reporting the problem are new users, so their credentials are fresh. I've asked CSB to monitor and report back

@cvarjao did you get any more new reports about this? If not, given teh fact this is reported for 1.0 and we'er moving to 2.0 I'd close and see if we need to reopen in the future again.

The root cause is still unknown, but we haven't seen any new reports. So we can close it.


Fix connecting to local TCP port in Go SDK

Changes proposed:
Uses the TCP listener passed into the ConnectToForwardedPort function to actually connect to the port via a local TCP port. This is the same logic that is used by the GH CLI which is what much of this connection code seems to be based on.
cc. @jfullerton44
Other Tasks:

[X] If you updated the Go SDK did you update the PackageVersion in tunnels.go

Can you pull the latest version of main and fix conflicts

@jfullerton44 I don't have merge access, mind merging when you get the chance?


Erroneous "Object is possibly null" message

TypeScript Version:  2.2.1
The option strictNullChecks is enabled.
Code
// A *self-contained* demonstration of the problem follows...
class Foo {
  public foo: string | null;

  bar() {
    const shouldDoSomething = this.foo !== null;

    if (shouldDoSomething) {
      return this.foo.length;
    }
  }
}

Expected behavior:
There should not be an error, since I have just checked that the object isn't null. This should have the same effect as the following:
class Foo {
  public foo: string | null;

  bar() {
    if (this.foo !== null) {
      return this.foo.length;
    }
  }
}

Actual behavior:
TypeScript throws an error on the foo object: "TS2531 Object is possibly null".
The workaround I'm using follows, but isn't what I'd consider ideal:
class Foo {
  public foo: string | null;

  bar() {
    const shouldDoSomething = this.foo !== null;

    if (shouldDoSomething) {
      return (<string>this.foo).length;
    }
  }
}

As a real example, I have a boolean shouldEmitToOccupant that determines whether or not an event should be emitted to an occupant of a certain tile in my game. This variable is only true if several tests are passed, the first of which is the null check. For now I'm using an assertion, but it seems like I shouldn't have to...

Same response as #10830. #10421 would be a good solution.
What I usually do is move out the null check to an early return:
class Foo {
  public foo: string | null;

  bar() {
    if (this.foo === null) return;
    const shouldDoSomething = (more checks...);

    if (shouldDoSomething) {
      return (<string>this.foo).length;
    }
  }
}

Why not use a local const bonding? If foo were a getter there would be no way to know that it would not return null the next time it was evaluated.

That wouldn't help since there's still no tracking between shouldDoSomething and the local const's nullness

@RyanCavanaugh gotcha, thanks for explaining.


[Question] Benefits of sorting dependencies

Hi! I'm enjoying Square's open-source efforts, and thank you so much for making an awesome open-source this time around too.
I have one question about this project. What are the benefits of sorting Gradle dependencies? I think you have a reason for planning and developing this project.
I tried googling about it, but I couldn't get the results I wanted, probably because I got the search keywords wrong.
In summary, what are the benefits of sorting Gradle dependencies?
Thank you.

Here are some that I can think of:

it's more difficult to add duplicate dependencies
it's easier to say if a project has a particular dependency, because you don't have to go through the whole (sometimes very long) list of dependencies
there are less conflicts in PRs, because without strict ordering people usually add new dependencies at the end of the list

Hi @bartek-wesolowski. Thanks for sharing your ideas!

I agree with https://github.com/square/gradle-dependencies-sorter/issues/9#issuecomment-1337295899

I agree with https://github.com/square/gradle-dependencies-sorter/issues/9#issuecomment-1337295899

I agree with https://github.com/square/gradle-dependencies-sorter/issues/9#issuecomment-1337295899


Win.MxResIcn.Heur.Gen flagged?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dl-gui version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[x] I think my problem is NOT with youtube-dl
[x] I've verified and i assure that I'm running youtube-dl-gui 0.4
[x] I assure that i am using the latest version of youtube-dl
[x] Searched bugtracker
[x] I've read the FAQs file

What is the purpose of your issue?

[ ] Bug report
[ ] Feature request (request for a new functionality)
[x] Question
[x] Other

Please remove any sections between (---) if they are not related to your issue

List of actions to perform to reproduce the problem:

Download the Windows yt-dlp.exe file
Put it on Virus Total
Look at what it says

What is the expected behaviour ?
0/72
What happens instead ?
1/72 for the malicious file check
Is it normal for a result like this to happen?

Feature request (request for a new functionality)
Please make sure that the requested feature is NOT already in the TODO list

[ x] I've verified and i assure that my requested feature is NOT in the TODO list

What operating system do you use ?

This project is abandoned, see here for a list of alternatives.

youtube-dl-gui is quite old now, it's very unlikely that it contains a virus that has been undetectable until now.


[Language Text] Update tests to match behavior in PPE

And adds tests for FHIR, extractive summarization, and abstractive summarization.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-language-text


[ROCm] Fixes unit-test failures on the ROCm platform

This PR contains a two commits

the first commit updates a couple of python files in the TF list source to fix a couple of unit test failures we were running into on the ROCm fork. The reason for the failure was that the code was expecting "bytes" but was getting passed "string" instead. The failure does not seem ROCm specific (rather it seems to be Python3 specific), so don't know why it is not showing up on other platforms.
the second commit disables XLA support specific unit test on the ROCm platform (since support for the same has not yet been enabled in the TF repo)

Please review. thanks

@tatianashp @whchung @chsigg

update : amended the PR to add "no_rocm" tag to some tests in the tensorflow/python/keras/distribute directory. These tests timeout when run on a single GPU on the ROCm platform.

@deven-amd Can you please check Ubuntu Sanity errors? Thanks!

@deven-amd Can you please check Ubuntu Sanity errors? Thanks!

@gbaned done. please re-approve to run CI again. thanks

@chsigg gentle ping...please re-approve. thanks


Sre 2037 adjust logging sdk version

@vendasta/sre add script to change logging sdk version

Closing since this was superceded by https://github.com/vendasta/repository-mapper/pull/12


Prepare release 1.1.1

@tristen I've tagged a new release https://github.com/mapbox/polyline/releases/tag/v1.1.1 which includes the latest changes. I hope that's okay! This just needs an npm publish now.

👍 done<EMAIL_ADDRESS>


option for selecting a row by customisable icon

**I'm submitting a feature request
Current behavior
Checkbox for selection works perfect, but in many occasion front end developers want a beatiful icon for selection, where its style is easy to customise by css.
Expected behavior
option for selecting a row, or selecting all via icon, whose style is customisable via css.
Reproduction of the problem
What is the motivation / use case for changing the behavior?
for a nice outlook of the table, we need more options to customise the table.
Please tell us about your environment:
windows 10, web storme, npm

Table version: 0.8.x
9.1.0

Angular version: 2.0.x
4.1.1

**Browser: all

**Language: all

@lesliesu I think it's possible to just modify the styling to what you are suggesting, just create your own custom theme. https://swimlane.gitbooks.io/ngx-datatable/introduction/themes.html


Establish a validation checklist

@meissadia @shindigira @billhimmelsbach
I would like to establish a validation checklist for our components so that we can share in the responsibilities of reviewing and validating. I put together the following definition of done a while back. Please review provide feedback or additions.
Definition of done
Component is fully functional

[ ] All interactive states are accounted for and incorporated
[ ] The component is successfully integrated into the Small business lending filing platform (or prototype) or other CFPB web app (is this a necessary step or is it enough that it's in Storybook?)

Accessibility checks have been completed

[ ] Component is keyboard-friendly (navigable with tab, space, enter, arrow keys, etc.)
[ ] Component is screen reader friendly
[ ] Component does not introduce new errors or warnings in WAVE

For existing Design System components:

[ ] Storybook page includes all types and variations of the component that are included in the
CFPB Design System
[ ] React component visually and functionally matches the CFPB Design System component
[ ] Manual visual review has been conducted and component has passed this review
[ ] Visual regression testing has been conducted (@meissadia - should we include this?)

For new components:

[ ] The CFPB Design System maintainers have been alerted that there is a new component that must be added to the system OR
[ ] We have added the new component to the CFPB Design System
[ ] Documentation has been written and has been added to the CFPB Design System

Final sign off

[ ] The component has been reviewed and approved by UI, UX, and FEWD

@natalia-fitzgerald Looks great!

The component is successfully integrated into the Small business lending filing platform (or prototype) or other CFPB web app (is this a necessary step or is it enough that it's in Storybook?)
I think Storybook is a standalone space where we can verify that components work.  Stories should be implemented in a way that reviewers can validate functionality, accessibility,

Visual regression testing has been conducted
I don't yet know enough about how to use Chromatic (and I think the integration is broken again), so I would vote to skip this for now.

This is looking great @natalia-fitzgerald!

[ ]  The component is successfully integrated into the Small business lending filing platform (or prototype) or other CFPB web app (is this a necessary step or is it enough that it's in Storybook?)

I have mixed feelings if the component needs to be used before it can be validated? When I've integrated new components from component libraries, I often do have to make small tweaks, but I don't think that should prevent it from being validated?

[ ]  Component is screen reader friendly

How have people been verifying this so far? I usually use VoiceOver on my mac, but I've seen significant differences when testing things out in JAWS or Narrator on windows at previous gigs.
It wouldn't have to be part of this more high level definition of done document, but it might be worth breaking this task down into smaller tasks when we do our code reviews (Verify that meaningful visible text is conveyed, links have descriptive text, etc.). Maybe just by linking to a generic accessibility checklist that includes a screen reader section like this one  or just the WCAG docs?

For new components:

Could we add something about testing coverage here to this section? I saw in sbl-project's definition of done a generic >85% code coverage requirement, which while an arbitrary benchmark, might be nice to have here.
Thanks Natalia!

Thanks for your feedback @billhimmelsbach @meissadia

I'll remove this item: "The component is successfully integrated into the Small business lending filing platform (or prototype) or other CFPB web app" but we should capture somewhere that there could be changes when a component is finally used in the real world. I see this as a test of the component.
For accessibility checks let's follow the CFPB manual web accessibility audit and [Lighthouse automated audit] (https://cfpb.github.io/design-system/guidelines/accessibility-audit-tools#lighthouse-automated-audit-1)
At what phase of the process would we like to run the accessibility audit? Component level? Page level? If we wait for the page level we should make a short list of quick things to check at the component phase.
@billhimmelsbach Can you elaborate on the code coverage benchmark? Or do other devs have thoughts on that?
I'll remove the visual regression testing but if we are doing manual visual review instead I'd like to be sure we are working from the CFPB Design System component and styles as much as possible unless there is a justification for deviating. When there are changes we wish to make we should push them to the CFPB Design System and have them feed back out to the DSR.

I don't yet know enough about how to use Chromatic (and I think the integration is broken again), so I would vote to skip this for now.

I haven't used Chromatic much either @meissadia, but I put up a PR this morning to hopefully at least get the integration working again. 🤞 I have used other visual regression tooling, so might be worth fixing up once our components are more stable.

Verifying DSR component

[ ] Has component intro text copied from the DS page
[ ] Has source link to component's DS page (ex - Source: https://cfpb.github.io/design-system/components/banner-notification)
[ ] Each DS variant is implemented as a separate story

[ ] Story name should be sentence case (ex. List Link => List link)
[ ] Naming is consistent with DS

[ ] Same component names, same placeholder text, etc.

[ ] Order of stories matches between DS/DSR
[ ] Component is built correctly

[ ] Visually compare DSR implementation to DS
[ ] Verify that DS classes (organisms, molecules, atoms) are used, as opposed to styles defined in DSR
[ ] Verify component unit tests are implemented and passing (ex: yarn vitest Button)

We are closing this one out since we are using the checklist.


Published app in single file mode and in trimmed mode with embedded kernel crashes on creating kernel

Describe the bug
I use Microsoft.DotNet.Interactive.CSharp in the app and dotnet publish it. For repro I made a dummy app which just runs the user's code.
Command:
dotnet publish -c release -r win-x64 -o testpub --self-contained

Program.cs
using Microsoft.DotNet.Interactive.CSharp;
using Microsoft.DotNet.Interactive;
using Microsoft.DotNet.Interactive.Commands;
using Microsoft.DotNet.Interactive.Events;
using Microsoft.DotNet.Interactive.Formatting;

Formatter.SetPreferredMimeTypeFor(typeof(object), "text/plain");

var kernel = new CSharpKernel();

var currInput = 0;
while (true)
{
    var currInputLocal = currInput;
    var code = ReadBlock("Your input", currInputLocal);
    var computed = await kernel.SendAsync(new SubmitCode(code));
    computed.KernelEvents.Subscribe(e =>
    {
        switch (e)
        {
            case (CommandSucceeded s):
                WriteBlock("Outcome", currInputLocal, "Success");
                break;
            case (DisplayEvent display):
                WriteBlock("Result", currInputLocal, display.FormattedValues.First().Value);
                break;
            case (CommandFailed failed):
                WriteBlock("Error", currInputLocal, failed.Message);
                break;
        }
    });
    currInput++;
}

static void WriteBlock(string prefix, int id, string text)
{
    Console.WriteLine();
    Console.Write($"{prefix} [{id}]: ");
    Console.Write(text);
    Console.WriteLine();
}

static string ReadBlock(string prefix, int id)
{
    Console.WriteLine();
    Console.Write($"{prefix} [{id}]: ");
    var text = Console.ReadLine();
    Console.WriteLine();
    return text;
}

hw.csproj
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <PropertyGroup>
    <PublishReadyToRun>true</PublishReadyToRun>

    <!-- Uncomment this to get bug #1
    <PublishSingleFile>true</PublishSingleFile>
    -->

    <!-- Uncomment this to get bug #2
    <PublishTrimmed>true</PublishTrimmed>
    <TrimMode>link</TrimMode>
    -->

  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.DotNet.Interactive.CSharp" Version="1.0.0-beta.21330.2" />
  </ItemGroup>

</Project>

Single file
When publishing in single file, I get
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'path')
   at System.IO.Directory.InternalEnumeratePaths(String , String , SearchTarget , EnumerationOptions )
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace.ResolveRefAssemblies()
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace..ctor()
   at Microsoft.DotNet.Interactive.CSharp.CSharpKernel..ctor()
   at Program.<Main>$(String[] args) in D:\tmp\test\hw\Program.cs:line 9
   at Program.<Main>(String[] args)

(see Bug 1 in the csproj file from above)
Trimmed mode
And that's what I get for trimmed mode (link)
error CS0656: Отсутствует обязательный для компилятора член "System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitOnCompleted"

(fuck exception localisation. It says "missing required member for the compiler")
(see bug 2 in the csproj file)

OS

[x] Windows 10

This issue persists in the latest (1.0.0-beta.22175.2) version as well, although the error has moved slightly, it remains in ResolveRefAssemblies.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace.TryParseVersion(String versionString, Version& v)
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace.ResolveRefAssemblyPath()
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace.ResolveRefAssemblies()
   at Microsoft.DotNet.Interactive.CSharp.InteractiveWorkspace..ctor()
   at Microsoft.DotNet.Interactive.CSharp.CSharpKernel..ctor(String name)
   at Microsoft.DotNet.Interactive.CSharp.CSharpKernel..ctor()

ie. Currently its not possible to use this package when in 'self-contained' mode.

We don't currently plan to make these libraries trimmable and many of their dependencies are not yet trimmable.

If the API allowed the user to supply the MetaDataReference's, like the CSharpCompilation.CreateScriptCompilation API, it could probably work in single file mode. Although it is still not pretty.
See: https://github.com/dotnet/roslyn/issues/50719 and https://github.com/andersstorhaug/SingleFileScripting


injecting $location into directive with ng-view messes it up

See http://plnkr.co/edit/SUgKElAOsFLLBYIOJ1Q6 for example.
Directive wraps ng-view in its template file.  Note that it works if directive uses template instead of templateUrl.  See comment in code.
Also, it also affects module.run function, i.e. if $location is injected, ng-view fails to display.

This will work in the upcoming 1.6 release.


Update SSR documentation for the new bootstrapping with options

According to sveltejs/svelte#940

@Rich-Harris I don't quite follow ... what went wrong?

@esarbanis thanks!

what went wrong?

It's a bot that's supposed to deploy PRs to a staging environment, but I've never quite managed to get it to work, so every PR gets that cryptic message 😬


ENH: functional support for Array API

Description
Array API functional support without zero-copy in scikit-learn-intelex
TBD description
Based on _device_offload updates #1832
TODO

refactoring
cover with tests support_array_api primitive it self
update support_array_api primitive docstrings

[ ] I have reviewed my changes thoroughly before submitting this pull request.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation to reflect the changes, if necessary (updated in #1918)
[ ] The unit tests pass successfully.
[ ] I have run it locally and tested the changes extensively.
[ ] I have resolved any merge conflicts that might occur with the base branch.
[ ] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details)
[ ] I have added a respective label(s) to PR if I have a permission for that.

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

Dear reviewers PR is almost done. Waiting CI check. Will provide better description and needed docs for the review and make the PR ready for the review today. Thank you!

/intelci: run

/intelci: run

/intelci: run

/intelci: run

Last internal CI run: http://intel-ci.intel.com/ef695ab6-8c0e-f1eb-8547-a4bf010d0e2e

/intelci: run

CI run: http://intel-ci.intel.com/ef6af391-cc58-f122-ad1d-a4bf010d0e2e

CI job: http://intel-ci.intel.com/ef6af391-cc58-f122-ad1d-a4bf010d0e2e for<PHONE_NUMBER>28c68a3a82327287caf7bc2a1ef3b2
CI job: http://intel-ci.intel.com/ef6afae5-9092-f1f2-8c5a-a4bf010d0e2e for https://github.com/intel/scikit-learn-intelex/pull/1861/commits/047d6982034a851444ddae0970b0bad4378c0cdc

CI job: http://intel-ci.intel.com/ef6af391-cc58-f122-ad1d-a4bf010d0e2e for 6989049
CI job: http://intel-ci.intel.com/ef6afae5-9092-f1f2-8c5a-a4bf010d0e2e for 047d698

Public CI fails will be addressed first.


When embargo dates are past the last valid date, they should not show as green with check marks

If I enter a date that is past the last permitted embargo date, the validation should not show this as green with checkmarks. They should be red with the exclamation point.
The red text indicating the error is nice, but is confusing when the dates themselves are green.

Update on Jan 27 that I am no longer see the red error text here, but the boxes are still highlighted in green.

I'm actually not seeing any validation errors here but am not allowed to deposit, so I would suspect this date is the problem, though the user can't tell that.

Update on Jan 27 that I am no longer see the red error text here, but the boxes are still highlighted in green.

I'm actually not seeing any validation errors here but am not allowed to deposit, so I would suspect this date is the problem, though the user can't tell that.

@amyehodge I think what you were seeing was https://github.com/sul-dlss/happy-heron/issues/915, which has been fixed and deployed to stage.

@amyehodge I think what you were seeing was https://github.com/sul-dlss/happy-heron/issues/915, which has been fixed and deployed to stage.


Use "pending" block in AccountClient.

We currently use "latest" because of lack of support for pending in devnet. This should be changed in devnet and updated in our code.

I think devnet already supports pending block.

https://github.com/Shard-Labs/starknet-devnet/pull/313

PR resolving block should be merged now


audio output fails when default_input_config() on output device [Windows]

Issue 127

When default_input_config() was called on a output device, the tread paniced.

How to previously product the bug:
build the project
screenpipe --list-audio-devices
screenpipe --audio-device "myaudio device"

After the changes, made a build and tested the above, it run properly without the panic and error. Also, the correct audio is being stored properly of 30 seconds. Tried recording a few things and it was working.
Also, I think we there is no need to make the config mutable anymore. [Let me know if there is something which could break due to this]
/claim #127

@chandeldivyam oh wow didn't think of this, so you confirm when using an output device like speaker it records audio files .mp4 and show some transcription in terminal ?
if so you can claim the bounty:
https://github.com/louis030195/screen-pipe/issues/127#issuecomment-2301280262

@louis030195
I checked 2 things:

A mp4 file being created for the audio which I was playing on youtube.
Transcript being generated in the terminal. Also attaching the logs.

(base) PS D:\projects\screen-pipe> .\target\release\screenpipe.exe --audio-device "BenQ EL2870U (NVIDIA High Definition Audio) (output)"
[2024-08-22T11:25:15Z WARN  screenpipe] Screenpipe hasn't been extensively tested on this OS. We'd love your feedback!
Would love your feedback on the UX, let's a 15 min call soon:
https://cal.com/louis030195/screenpipe
[2024-08-22T11:25:15Z INFO  screenpipe]   BenQ EL2870U (NVIDIA High Definition Audio) (output)
[2024-08-22T11:25:15Z INFO  screenpipe_server::db] Migrations executed successfully.
[2024-08-22T11:25:15Z INFO  screenpipe] Database initialized, will store files in C:\Users\ABC\.screenpipe
[2024-08-22T11:25:15Z INFO  screenpipe] Server started on http://localhost:3030

                                            _
   __________________  ___  ____     ____  (_____  ___
  / ___/ ___/ ___/ _ \/ _ \/ __ \   / __ \/ / __ \/ _ \
 (__  / /__/ /  /  __/  __/ / / /  / /_/ / / /_/ /  __/
/____/\___/_/   \___/\___/_/ /_/  / .___/_/ .___/\___/
                                 /_/     /_/

Build AI apps that have the full context
Open source | Runs locally | Developer friendly

┌─────────────────────┬────────────────────────────────────┐
│ Setting             │ Value                              │
├─────────────────────┼────────────────────────────────────┤
│ FPS                 │ 1                                  │
│ Audio Chunk Duration│ 30 seconds                         │
│ Port                │ 3030                               │
│ Audio Disabled      │ false                              │
│ Self Healing        │ false                              │
│ Save Text Files     │ false                              │
│ Audio Engine        │ WhisperTiny                        │
│ OCR Engine          │ Tesseract                          │
│ Monitor ID          │ 65537                              │
│ Data Directory      │ C:\Users\ABC\.screenpipe           │
│ Debug Mode          │ false                              │
├─────────────────────┼────────────────────────────────────┤
│ Audio Devices       │                                    │
[2024-08-22T11:25:15Z INFO  screenpipe_audio::stt] device = Cpu
│                     │ BenQ EL2870U (NVIDIA High Defin... │
└─────────────────────┴────────────────────────────────────┘
You are using local processing. All your data stays on your computer.

[2024-08-22T11:25:15Z INFO  screenpipe_server::server] Starting server on <IP_ADDRESS>:3030
[2024-08-22T11:25:15Z INFO  hf_hub] Token file not found "C:\\Users\\ABC\\.cache\\huggingface\\token"
[2024-08-22T11:25:15Z INFO  screenpipe_server::video] Starting new video capture
[2024-08-22T11:25:15Z INFO  screenpipe_server::video] Started capture thread
[2024-08-22T11:25:15Z ERROR xcap::platform::impl_window] Access is denied. (0x80070005)
[2024-08-22T11:25:15Z ERROR xcap::platform::impl_window] Access is denied. (0x80070005)
[2024-08-22T11:25:15Z ERROR xcap::platform::impl_window] Access is denied. (0x80070005)
[2024-08-22T11:25:15Z ERROR xcap::platform::impl_window] Access is denied. (0x80070005)
[2024-08-22T11:25:25Z INFO  screenpipe_server::resource_monitor] Runtime: 10s, Total Memory: 1% (0.25 GB / 23.94 GB), Total CPU: 107%
[2024-08-22T11:25:30Z INFO  screenpipe_audio::core] device: "BenQ EL2870U (NVIDIA High Definition Audio) (output)"
[2024-08-22T11:25:30Z INFO  screenpipe_audio::core] Recording BenQ EL2870U (NVIDIA High Definition Audio) (output) for 30 seconds
[2024-08-22T11:25:35Z INFO  screenpipe_server::resource_monitor] Runtime: 20s, Total Memory: 1% (0.26 GB / 23.94 GB), Total CPU: 107%
[2024-08-22T11:25:46Z INFO  screenpipe_server::resource_monitor] Runtime: 30s, Total Memory: 1% (0.27 GB / 23.94 GB), Total CPU: 102%
[2024-08-22T11:25:56Z INFO  screenpipe_server::resource_monitor] Runtime: 40s, Total Memory: 1% (0.32 GB / 23.94 GB), Total CPU: 104%
[2024-08-22T11:26:00Z INFO  screenpipe_audio::core] Recording stopped, wrote to C:\Users\ABC\.screenpipe\data\BenQ EL2870U (NVIDIA High Definition Audio) (output)_2024-08-22_11-25-30.mp4. Now triggering transcription
[2024-08-22T11:26:00Z INFO  screenpipe_server::core] Finished record_and_transcribe for device BenQ EL2870U (NVIDIA High Definition Audio) (output) (iteration 1)
[2024-08-22T11:26:00Z INFO  screenpipe_server::core] Recording complete for device BenQ EL2870U (NVIDIA High Definition Audio) (output) (iteration 1): "C:\\Users\\ABC\\.screenpipe\\data\\BenQ EL2870U (NVIDIA High Definition Audio) (output)_2024-08-22_11-25-30.mp4"
[2024-08-22T11:26:00Z INFO  screenpipe_server::core] Finished iteration 1 for device BenQ EL2870U (NVIDIA High Definition Audio) (output)
[2024-08-22T11:26:00Z INFO  screenpipe_audio::core] device: "BenQ EL2870U (NVIDIA High Definition Audio) (output)"
[2024-08-22T11:26:00Z INFO  screenpipe_audio::core] Recording BenQ EL2870U (NVIDIA High Definition Audio) (output) for 30 seconds
[2024-08-22T11:26:00Z INFO  screenpipe_audio::stt] Resampling from 48000 Hz to 16000 Hz
[2024-08-22T11:26:00Z INFO  screenpipe_audio::stt] Total audio_frames processed: 3001, frames that include speech: 2701
[2024-08-22T11:26:01Z INFO  screenpipe_audio::multilingual] detected language: ("en", "english")
[2024-08-22T11:26:06Z INFO  screenpipe_server::resource_monitor] Runtime: 50s, Total Memory: 1% (0.35 GB / 23.94 GB), Total CPU: 380%
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt] 0.0s -- 30.0s
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   0.0s-0.0s:
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   0.0s-3.0s:  me scared to post YouTube videos. Why? Because I don't trust your attention span to not
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   3.0s-5.7s:  click away that even after hours and hours of hard work and thinking about a help you,
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   5.7s-9.2s:  that now I'm pressured to add in little animations and gifts and funny memes and blah blah blah.
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   9.2s-11.5s:  Hold up, if you're already trying to skip through the chapters or watch this on 2x speed,
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   11.5s-14.0s:  you really need this video more than anyone. You know it's crazy, you want good grades and
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   14.0s-17.6s:  to self-improve, but you're making it 10 times harder and canceling out all your hard work because,
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   17.6s-20.2s:  studies show that students with shorter attention spans 10 different form words on tests,
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   20.2s-23.4s:  struggle to retain information long term, and have a harder time connecting disparate ideas into
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt]   23.4s-26.8s:  cohesive understanding. That's my friend, changes today. A team is Amy, I was valetorian, a
[2024-08-22T11:26:13Z INFO  screenpipe_audio::stt] no speech detected, skipping 4500 DecodingResult { tokens: [50258, 50259, 50359, 50364, 291, 13, 50464, 50257], text:

/claim #127

@chandeldivyam thx 🙏
you should have received the bounty!

Thanks @louis030195
Looking forward to contributing further to the roadmap. 🚀


Add Spanish random names API

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

NOTE: This is a re-submission of inactive PR #1962 that fulfills the request to clean up the edits to only the API being added. Also made a minor correction to the description. #1962 can now be closed.

Hi @matheusfelipeog I've updated the PR with your suggestions - thank you!

Ref: #2002


[forge][1.16.5][latest forge and mod] console spam

my console is getting spammed with this and im getting lots of fps lag even in new worlds, wondering if this is why?
https://paste.ubuntu.com/p/8pNSCsQv3n/

It may be a mod compatibiltiy issue


fix: can create API keys with duplicate names

Problem:

User can add another api key with the same name as an exisiting API key.
Solution:

Set the database name field of the token table to be unique
Regenerate the database migration code

Related Issue:
#1281

Can you make two commit?  one for modify schema, another is generated files.

Can you make two commit? one for modify schema, another is generated files.

updated


Observations not changed after resetting agent's position

❓ Questions and Help
Based on this demo, I tried to display the observations after resetting an agent's position directly, but it looks like it does not change.
Start Position
this_agent = sim.get_agent(0)
pathfinder = sim.pathfinder

path = habitat_sim.ShortestPath()
path.requested_start = this_agent.get_state().position
print("path.requested_start: %s " % path.requested_start)
print("this_agent.get_state().position: %s" % this_agent.get_state().position)

print("Start image:")
observations = sim.get_sensor_observations()
rgb = observations["color_sensor"]
semantic = observations["semantic_sensor"]
depth = observations["depth_sensor"]

display_sample(rgb, semantic, depth)

Observation from the Start Position

End Position
random_navigable_point = pathfinder.get_random_navigable_point()
path.requested_end = random_navigable_point

pathfinder.find_path(path)
while path.geodesic_distance == np.inf or path.geodesic_distance < 20:
    random_navigable_point = pathfinder.get_random_navigable_point()
    path.requested_end = random_navigable_point
    pathfinder.find_path(path)

pathfinder.find_path(path)
print()
print("path.requested_end: %s " % path.requested_end)
print("path.geodesic_distance: %s" % path.geodesic_distance)
this_agent_state = this_agent.get_state()
this_agent_state.position = path.requested_end
this_agent.set_state(this_agent_state)
print("this_agent.get_state().position: %s" % this_agent.get_state().position)

print("End image:")
# observations = sim.step("stop")
observations = sim.get_sensor_observations()
rgb = observations["color_sensor"]
semantic = observations["semantic_sensor"]
depth = observations["depth_sensor"]

display_sample(rgb, semantic, depth)

Observation from the End Position

Any better way to do that? Any help would be appreciated.

I ended up with initializing goal_agent and check the observation, then I intialize the agent back to the original one:
goal_agent = sim.initialize_agent(sim_settings["default_agent"])
goal_agent_state = habitat_sim.AgentState()
goal_agent_state.position = path.requested_end
goal_agent.set_state(goal_agent_state)

Not sure if there's a elegent way to do that.

The sensors have their own states that can be individually manipulated.  If you'd like the sensor states to be recalculated wrt. to the agent's body, you can unset their states in the agent state, i.e. this_agent_state.sensor_states = {}


How to run the tool without sudo access?

Hi,
I'm trying to extract the energy and power measurements of applications running on a server for which I do not have any sudo access.
I read the part about installing without root and installed using the .deb package. I get the following error when trying to execute. Is there any other changes I need to make? Kindly suggest.
20192535@co20:~/cpu/usr/bin$ ./cpu-energy-meter
cpu-energy-meter: Could not open /dev/cpu/0/msr: No such file or directory
Cannot access RAPL!

How did you install the .deb package without root access?
If that package is installed, the tool should be usable afterwards without sudo by default.
However, the error message you got indicates that the msr kernel module is not loaded. Can you please confirm this with lsmod|grep msr? Does this happen to be a machine without systemd? Our package ensures that msr gets loaded but relies on systemd for that. On other systems you have to manually load this module by adding it to the appropriate config file.

I installed .deb package using dpkg -x cpu-energy-meter_1.2-1_amd64.deb <directory>
lsmod|grep msr does not return anything, its not found.
I checked systemd using this command, it is present
pidof systemd && echo "systemd" || echo "other"
32336 27724 26834 26549 15924 13505 11905 8271 4150 1
systemd

That cannot work. dpkg -x does not install the package, it just extracts it.
There is no way to use CPU Energy Meter without root access for the installation (because the msr kernel module needs to be loaded and permissions of CPU Energy Meter need to be configured accordingly).
I suggest to request your system administrator to install the package for you, but there is nothing we can do.


Provide a way to explicitly specify a target architecture from the command line.

Issue
https://github.com/microsoft/vstest/pull/2571 updated the logic so that the bitness of the host is used by default in .NET Core. This means that if you run tests from a 32-bit SDK, you will run the tests in 32-bit mode. Likewise, if you run tests from a 64-bit SDK, you will run the tests in 64-bit mode.
This works well if you only have the 32-bit or 64-bit SDK installed, such as if you are using the dotnet-install script in order to validate your code in a CI environment.
However, there may be scenarios where you are running from a particular SDK and you want to run the tests under a different architecture. For example, you may have both the 32-bit and 64-bit SDK installed. In this case, having a command line switch to specify the architecture under which tests should run would be beneficial.
Proposal
Expose a command line switch such as dotnet test --architecture x86.
This provides an escape hatch if the default logic doesn't work as the consumer requires. I would imagine it should support x86, x64, arm, and arm64 as valid and be expanded as needed in the future. This should likely also be tested under Windows on Windows, where you might be running on x64 and have x86 as a valid target or where you might be running on ARM64 and have both ARM and x86 as valid targets.
Other Considerations
It would likely be worthwhile to also document the behavior of this flag when used with a solution. A solution might have a mix of projects, some could be AnyCPU and some could target an explicit architecture. I imagine the most seamless behavior would be to automatically run non-AnyCPU binaries against their target architecture (rather than the specified target architecture), however, one could also imagine skipping or allowing explicit skipping of certain projects as you might be running on x64 but have a single project that targets arm and not have an arm SDK installed.

Isn't that already possible with the --runtime switch?

@ViktorHofer, the --runtime switch requires you to have built the project for a specific runtime as well.
This would allow you to say run my existing binaries, which are not RID-specific and which are AnyCPU, under a specific host for the current OS.
That is you could just say x64, x86, or arm64; you don't need to have built the project for a specific RID, you don't need to be aware of what a project supports/requires, you don't need to care about windows-, linux-, ubuntu18.04-, etc.

@ViktorHofer, the --runtime switch requires you to have built the project for a specific runtime as well.

You are right, when I invoke dotnet test --runtime X on a test assembly it ignores the value:
PS C:\temp\dotnettestruntime\bin\Debug\net5.0\win-x86> dotnet test .\dotnettestruntime.dll --runtime win-x64
The following arguments have been ignored : "--runtime win-x64"
Microsoft (R) Test Execution Command Line Tool Version 16.8.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     1, Skipped:     0, Total:     1, Duration: 3 ms - dotnettestruntime.dll (net5.0)

@nohwnd do you know why the https://github.com/dotnet/sdk/blob/master/src/Cli/dotnet/commands/dotnet-test/VSTestArgumentConverter.cs doesn't handle the --platform switch?

I'd like to call out that I think the following command is important to test: dotnet test -c "$configuration" --no-build --no-restore -v "$verbosity" /bl:"$logFile" /err "$properties" "$solution"
Namely, this is what I use in CI as I will have already run a discreet restore and build step and so I want to use the existing outputs.
I have discreet: restore, build, test, pack steps as I want CI to break these up into easy to diagnose stages that can be tracked and logged individually.
I specify the --no-build, --no-restore, and related options where possible as those stages are known to be complete and there is no point in even running those tasks (which will require up-to-date checks and other things that can add unnecessary time to the CI leg for large solutions).

@tannergooding one more thing, doesn't dotnet test --runtime any-x64 work?

I don't want to have to track every output manually. This should work when passing in a solution file and therefore cover all test projects at once with a single invocation.
If I have a project that has 20-40 test projects, I want to be able to say dotnet test --no-build -configuration Debug -platform x86 Name.sln and have it run all test projects under a 32-bit host for the current OS, even if dotnet is the 64-bit SDK (this assumes for it to succeed the 32-bit SDK is also installed).
I should likewise be able to run arm32 or arm64 tests from the x86 SDK (as Windows on ARM currently has a arm32 and x86 emulation layer and will be getting a x64 emulation layer, as was announced today).

@tannergooding one more idea from my side. Can you try this out:
dotnet test --no-restore --no-build -c Debug -- RunConfiguration.TargetPlatform=x86

@nohwnd Tanner let me know that the above command doesn't work.
dotnet test or dotnet vstest already supports specifying the --platform when invoked on an assembly. I believe --platform should work as well when building for AnyCPU and using the emulation layer (as Tanner said above). Also I'm unsure why the RunConfiguration.TargetPlatform setting doesn't work.

( I am only talking about .NET Core here )
I've been looking into this for the past few days and the platform switch is mostly ignored. To be more precise it is used only on Windows x86 and x64. The ARM switch there has almost no significance and on Windows it won't result in ARM runtime being forced, instead it will result in x64. Unfortunately there is no history for this functionality because the code is there since the first commit.
The reason why this is so broken is because we only ship win-x86 and win-x64 executables in TestHost nuget package. Because those executables target specific runtime, they will try to resolve it on the system, and thus force the testhost to use the correct runtime.
But there is no win-arm executable (nor win-arm64). So specifying the arm option would have no effect (and nor would arm64). To make this work we would have to ship executables targetting the specific platform. And more so, we would have to ship executable for every combination on every platform.
This is probably not a good way forward.

Taking a step back: Having an executable for the specific runtime is a shortcut to just looking up the runtime yourself. That is the path we take for any other runtime than win-x86 and win-x64. We use the dotnet available in PATH (or take if from the current process if we are running in dotnet executable) and use that. That is also why running tests on  arm64 works correctly, and runs as arm64. So the platform is determined by the runtime you use to run those tests. This is okay for a solution that targets a single platform, but not as much if we have multiple platforms.
So for us to make this work without shipping assemblies of all types we need a way to determine the path to the dotnet executable for the correct platform and use that to run the testhost.dll. E.g. on Windows ARM64, when running dotnet test UnitTests1.dll /platform:arm64, I would need to resolve dotnet from C:\Program Files\dotnet, because that is where the Arm64 dotnet is.
Anyone knows about some API that would help me resolve which dotnets I have on my system and getting path to them based on the specified platform?

( I am only talking about .NET Core here )
I've been looking into this for the past few days and the platform switch is mostly ignored. To be more precise it is used only on Windows x86 and x64. The ARM switch there has almost no significance and on Windows it won't result in ARM runtime being forced, instead it will result in x64. Unfortunately there is no history for this functionality because the code is there since the first commit.
The reason why this is so broken is because we only ship win-x86 and win-x64 executables in TestHost nuget package. Because those executables target specific runtime, they will try to resolve it on the system, and thus force the testhost to use the correct runtime.
But there is no win-arm executable (nor win-arm64). So specifying the arm option would have no effect (and nor would arm64). To make this work we would have to ship executables targetting the specific platform. And more so, we would have to ship executable for every combination on every platform.
This is probably not a good way forward.

Taking a step back: Having an executable for the specific runtime is a shortcut to just looking up the runtime yourself. That is the path we take for any other runtime than win-x86 and win-x64. We use the dotnet available in PATH (or take if from the current process if we are running in dotnet executable) and use that. That is also why running tests on  arm64 works correctly, and runs as arm64. So the platform is determined by the runtime you use to run those tests. This is okay for a solution that targets a single platform, but not as much if we have multiple platforms.
So for us to make this work without shipping assemblies of all types we need a way to determine the path to the dotnet executable for the correct platform and use that to run the testhost.dll. E.g. on Windows ARM64, when running dotnet test UnitTests1.dll /platform:arm64, I would need to resolve dotnet from C:\Program Files\dotnet, because that is where the Arm64 dotnet is.
Anyone knows about some API that would help me resolve which dotnets I have on my system and getting path to them based on the specified platform?

Anyone knows about some API that would help me resolve which dotnets I have on my system and getting path to them based on the specified platform?

CC. @KathleenDollard

Anyone knows about some API that would help me resolve which dotnets I have on my system and getting path to them based on the specified platform?

CC. @KathleenDollard


Enhanced Pin Management

Hello. Currently there doesn't appear to be a way to edit the value of a pinned item. At first, I though changing the "Title" of the pin would change what was pasted. I then found out that only changes the name that shows up in the UI.
Would it be possible to enhance pin management? I wish I could add new pins, edit existing pins, and remove pins from that settings window. It could possibly be similar to how things are done for lists in the macOS system preferences, like the list in Network settings, with the little + and - in the corner. Currently the only way I know how to manage pins is to copy the string you want somewhere else, pin it, open settings, then change the shortcut key.
Thank you.

Hey!

Why would you want to change value of the pin? This would be a new pin, so you could just remove an old one and copy a new one.
It's only possible to add new pins only from the history list. This is because the copied content is often richer than just a plain text, so adding pins manually via preferences would not be the same.
Likewise, it's possible to remove any history item and pins are no exception. Would removing via preferences be easier than just pressing Option+Delete in the history list?

Hey,

I had a pin I've been using for a while, but now I realized it needs to be just slightly different. It would be awesome if I was able to just change a word on it, instead of having to paste it, edit it, copy it again, delete the old one, pin the new one, then open settings, and change the shortcut. In general, I can think of having marketing copy or like quick-replies or something like that. Say you just need to change a sentence in a paragraph-long snippet or change a url in a website or something.
For me, I'm thinking of maybe 5-10 different pins I would want for the future, and it would be awesome to not have to open another app or a text field somewhere, type all these in, just to copy and then delete them. And me personally, I would rather not have rich text for them anyway. Pretty much just plain ASCII. I can see that possibly being problematic for some people though.
This one isn't as big of a deal to me, but in the end game, if you were able to add and edit from the preferences window for reasons listed above, it would be more convenient to be able to delete them at the same time and place if you are doing mass pin-editing.

Just my thoughts, but I think it might be a good future-feature. Thank you

For me personally, I tend to not use formatted text anyway, but yea I could see some people wanting a rich-text editor. I think a simple text editor would be good enough for most use use cases; however, I don't have any data to back that up. I just remember most anytime anybody pastes something somewhere and it shows up bolded in size 36 font, people I encounter are usually frustrated with that lol
And yea its the same use case, but just not having to stop what you are doing meantime to manage your pins. For example. I know a lot of times in the future, I will have to type withenv vendor/bundle/bundle exec npm test -- -u, but I don't want to have to context-shift from trying to run my tests to copying and managing pins like this. I could type it all out in the terminal, copy it, ... yada yada, but it would just be nicer to be able to do it all in one spot, you know?

Given there are many challenges in implementing add/edit pins content (rich text in particular, unknown text contents) and introducing such a feature will put even more maintenance work (various bugs when the certain content type is not properly updated), I will reject this feature proposal. I know it's not what you wanted, but I just don't have the capacity to work on something as complex as this. Sorry.


.NET 4.7 Support

When will you add .NET 4.7 Support to your Nuget Package Explorer?

Only 4.7.0 is missing, isn't?

Yes

...and 4.7.1 support.


iOS example crashes on iPhone when a built with a valid API key

I'm trying to build this project to use as a reference example for cross-platform Android/iOS messaging.  The Android project builds and runs just fine both in simulation and on an Android device.  The iOS project also builds and runs when using the original API key; it just doesn't respond to or send tokens.  However, after replacing the old API key with a new, valid key and rebuilding, the app crashes immediately after granting it bluetooth/microphone privileges, and crashes again each time it's started after that.
I'm using an iPhone 6S running iOS 12.0 and Visual Studio for Mac 7.6.6 (community version).  I'm really hoping I can get this working, as this is the only example I've found so far of Nearby (or any other cross-platform messaging service) in a cross-platform framework like Xamarin.  I was very excited when I found this project.
Here's the stack trace:
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/Xamarin.iOS.dll [External]
Thread started:  #2
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/Google.Core.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/Google.Nearby.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/NearbyMonkey.Core.dll
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/System.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/System.Core.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/System.Json.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/MonoTouch.Dialog-1.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/4BC2638A-2B32-4D21-8E7F-21F08AE3E564/NearbyMonkey.iOS.app/NearbyMonkey.iOS.exe
2018-09-23 21:04:09.397 NearbyMonkey.iOS[1104:628170] critical:
Native stacktrace:

2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	0   NearbyMonkey.iOS                    0x000000010474930c NearbyMonkey.iOS + 3789580
2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	1   libsystem_platform.dylib            0x00000001e6cdaa20 <redacted> + 56
2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	2   libsystem_kernel.dylib              0x00000001e6c5d838 <redacted> + 100
2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	3   libsystem_kernel.dylib              0x00000001e6c5d868 fcntl + 0
2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	4   TCC                                 0x00000001e9f20b80 <redacted> + 0
2018-09-23 21:04:09.398 NearbyMonkey.iOS[1104:628170] critical: 	5   TCC                                 0x00000001e9f20ab4 <redacted> + 0
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	6   TCC                                 0x00000001e9f24c5c <redacted> + 276
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	7   libxpc.dylib                        0x00000001e6d2e514 <redacted> + 60
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	8   libxpc.dylib                        0x00000001e6d21b3c <redacted> + 88
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	9   libdispatch.dylib                   0x00000001e6b08504 <redacted> + 16
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	10  libdispatch.dylib                   0x00000001e6ac08c4 <redacted> + 320
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	11  libdispatch.dylib                   0x00000001e6ab8874 <redacted> + 1288
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	12  libsystem_pthread.dylib             0x00000001e6cea100 _pthread_wqthread + 328
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical: 	13  libsystem_pthread.dylib             0x00000001e6cecd00 start_wqthread + 4
2018-09-23 21:04:09.399 NearbyMonkey.iOS[1104:628170] critical:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

@mshepher, where you able to use it?, how did you solve the Nearby Messages issue on your iOS project


prometheus-pushgateway: 0.4.0 -> 0.7.0

Motivation for this change
https://github.com/prometheus/pushgateway/blob/master/CHANGELOG.md
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I pushed a metric with a POST request and it was visible on the server running on :9091.

@GrahamcOfBorg build prometheus-pushgateway


Granted more permissions to build Workflow

Current dependencies on/for this PR:

main

PR #90   👈

This comment was auto-generated by Graphite.


[COMGR+PCH] Fix: 'naive_conv.cpp:26:10: fatal error: 'hip/hip_fp16.h' file not found'

This resolves the issue described at https://github.com/ROCmSoftwarePlatform/MIOpen/issues/1204#issuecomment-946978785.
This also needs to be cherry-picked to 4.5-staging.
@sunway513 Please let me know if you want this in 4.3.

@sunway513

can we cherry-pick the same to 4.3 MIOpen release staging branch?

Yes, as soon as this approved & merged into develop.

@atamazov just wondering if it should be added here too?
MIOpen/src/composable_kernel/host/host_tensor/include/device.hpp
most likely it is not necessary, at least now, because it's composable kernel specific, right?

Post Merge Information Updates:

MIOpen PR #
Content
Branch:   develop
Branch:   release/rocm-rel-4.5-staging
Branch:   release/rocm-rel-4.5
Branch:   release/rocm-rel-4.3-staging
Branch:   release/rocm-rel-4.3

#1232
[COMGR+PCH] Fix: 'naive_conv.cpp:26:10: fatal error:   'hip/hip_fp16.h' file not found
YES
YES
NO
YES
NO

@junliume Thank you very much!


C# Compact Binary v2 serialization

Implement Compact Binary v2 serialization support in C#, which previously only supported v2 deserialization (and both for v1)

Hi @jdubrule, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jeff Dubrule). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@jdubrule, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

When merged, this would close #70

Can you please rebase the commits to get rid of the work-in-progress and fix up commits? It seems like we should be able to "tell the story" of this change in one to three commits.

Heads up that this change and #153 (or whatever number it comes back as) are very likely to conflict with each other. I'll merge them in the order that the get completed in, so consider this an incentive to respond to feedback quickly. :-)

I'm trying an experiment. When you make changes to address PR feedback, please add them as a new commit. I'll see how difficult rebasing to meld is when I merge.
Adding them as a new commit lets me easily see the differences before and after the comments were addressed.

Looking good. Just a few minor things left. Aside from the line-level comments elsewhere,

[ ] remove Parser.hs from review

This PR now conflicts with the head of master after I merged #153. Can you rebase atop the new head of master (56b5914a5bb41178521e01f6ce078d429e3e6b71)?

OK; I think it's cleaned up & ready to go.
-jeff
On Mon, Apr 18, 2016 at 5:44 PM, Christopher Warrington (MSFT) <
<EMAIL_ADDRESS>wrote:

This PR now conflicts with the head of master after I merged #153
https://github.com/Microsoft/bond/pull/153. Can you rebase atop the new
head of master (56b5914
https://github.com/Microsoft/bond/commit/56b5914a5bb41178521e01f6ce078d429e3e6b71
)?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/bond/pull/146#issuecomment-211657056

Looking...

Travis CI failure is a build timeout, after 45 minutes, which we occasionally see.

Merged with some other changes in commit e80c126ba9d44632e5069c71694d33f890c235dc.
Jeff, thanks again for your contribution!


Open Graph doesn't fetch the property

When I am trying to share the page on facebook the Open Graph throws an error.

The 'og:type' property is required, but not present.

I checked the page and og:type is definitely there.
My best guess is that the problem arises due to the "https://" redirect. Any way to fix this problem?
As a side note, Twitter Cards look fine.

I'm not seeing any errors in the open graph debugger. There are some warnings, but those shouldn't affect sharing.
https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fmilkyklim.com%2F12-things-to-do-in-aachen%2F

The canonical link in open graph was wrong due to the redirect -- had https instead of http. But now everything looks fine.
Thanks for looking into this!


x/pkgsite: GitHub subdirectory break module tags

What is the URL of the page with the issue?
https://pkg.go.dev/2a.pages.dev/nursery/golang?tab=versions
What did you expect to see?
some tagged versions
What did you see instead?
only one untagged version based on recent commit. also if I try a version directly, it fails:
<EMAIL_ADDRESS>

Figured it out:

If a module is defined in a subdirectory within the repository, that is, the module subdirectory portion of the module path is not empty, then each tag name must be prefixed with the module subdirectory, followed by a slash. For example, the module golang.org/x/tools/gopls is defined in the gopls subdirectory of the repository with root path golang.org/x/tools. The version v0.4.0 of that module must have the tag named gopls/v0.4.0 in that repository.

https://go.dev/ref/mod#vcs-version


Unreachable landvoc domain if www is used

http://landvoc.org/ working
https://landvoc.org/ working
http://www.landvoc.org/ not working error 404
https://www.landvoc.org/ not working error 404

It looks like this is NOT the case for landportal.org

fixed.
please, check and close it if you agree.

Thanks
The issue still applies to the rest of landvoc domains (.net, .com, .info)

fixed.
please, check and close it if you agree.


Import firestore conformance tests from googleapis/conformance-tests@32fd66cf7dffe8431643f08b5944108ac10c8bc2

Add new script generate-conformance-tests.sh that can reliably update
  the various files that make up the conformance tests.
  * Currently the script only updates firestore tests.
  * Updating of the git-submodule linking to conformance-tests is not
    done by the script, it is expected that the developer will do the
    bumping.
import proto definition
generate updated TestDefinition from definition
Add individual test files
Add maven profile gen-conformance-protos that can be used to generate protos in com.google.cloud:google-cloud-conformance-tests

Depends on #5540

@kolea2 Please review

Are all the languages using submodules for reading the tests?

They are starting to move in that direction. dotnet is already using sub-module, and ruby is going to move when updating the firestore tests.
I will note, the submodule here is purely to track the commit the resources are from, the sub-module does not need to be cloned for the tests to run. The script generate-conformance-tests.sh copies and generates everything into the correct location so the tests can run.

The builds are currently failing because I need to rebase them. Since this PR is dependent on another PR I'll wait to rebase until that PR is merged. The changes in the PR are unrelated to the build failures and can still be reviewed.

Rebased after merge of #5540 and ready for review.

(can't comment on the file as it is too big) Is TestDefinition.java generated or hand written?

(can't comment on the file as it is too big) Is TestDefinition.java generated or hand written?

TestDefinition.java is generated from tests.proto.

LGTM, @chingor13 do you have any final comments?

LGTM, but can you add a bit more info on the README for the conformance tests on the relationship between the test protos and the json config files?

@chingor13 Added some details to the README to explain the files and their relationships. I've also rebased the PR on master.


Hangs when exporting tags on Ubuntu 18.04 running v1.6.1 (snap)

Application hangs when trying to export to any format. Attaching debug log.
Any help would be greatly appreciated
--
Sondre
vott_log.log

I'm experiencing the same issue. Is there any workaround known?


[Code health] Abstract Maps API LatLng* with custom model class

We shouldn't expose Maps API to Ground business logic, both to enforce SoC/Clean arch, and to allow us to add other maps providers in the future.

@jsunde We can now use Coordinate for this.

Yes, it looks like we now pass Point instead. Thanks!


[cli] surface context error with invalid eas.json

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
I had an invalid eas.json and I was having trouble figuring out why the project context wasn't set. Would be better if invalid eas.json errors were surfaced since it indicates the user intends to be in a project context

/changelog-entry chore Surface invalid eas.json errors in an optional project context.


vendor: Update virtcontainers vendoring to 0.7.0 version

This PR updates virtcontainers vendoring to version 0.7.0.

@dlespiau I need your LGTM power !!! ;)

Coverage decreased (-0.3%) to 30.612% when pulling 59c32c4ecaeab70457640f9c8c57504cd38b400a on sboeuf/update_virtcontainers_vendoring into c91672fff1a1a2c705514cdd8334d6df5946212e on master.

Coverage decreased (-0.3%) to 30.612% when pulling 2d3eb5401096c354ba6c0eb879eeae5cbeb37d44 on sboeuf/update_virtcontainers_vendoring into c91672fff1a1a2c705514cdd8334d6df5946212e on master.

Coverage decreased (-0.3%) to 30.612% when pulling c11f517b9f2821ce4a3305e8403615a163166b48 on sboeuf/update_virtcontainers_vendoring into c91672fff1a1a2c705514cdd8334d6df5946212e on master.

Related to https://github.com/containers/virtcontainers/pull/207.
lgtm.

Coverage remained the same at 34.96% when pulling 45553f35509068925c33fd5560dcd7c6672b45c4 on sboeuf/update_virtcontainers_vendoring into 9be2f54966b90014251afa5cebdf1ee36a85503f on master.

Coverage remained the same at 34.96% when pulling 45553f35509068925c33fd5560dcd7c6672b45c4 on sboeuf/update_virtcontainers_vendoring into 9be2f54966b90014251afa5cebdf1ee36a85503f on master.

Coverage remained the same at 34.96% when pulling 45553f35509068925c33fd5560dcd7c6672b45c4 on sboeuf/update_virtcontainers_vendoring into 9be2f54966b90014251afa5cebdf1ee36a85503f on master.

lgtm


Figure: Haplotype tree

Finalise the haplotype tree figure for partner review.

This is being addressed in #60.


start tcp listener using TcpMappingSocket

This change is

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Observe the received AdvertisementData from the connected device

Hi,
This is not really an issue, but rather a question.
I'm trying to observe via Combine the received advertisementData from the connected device.
I don't know exactly how to achieve it, because the observable didDiscoverAdvertisementData is internal, so I don't have access to it.

I also conformed to the CBCentralManagerDelegate
manager = BLECombineKit.buildCentralManager(with: CBCentralManager(delegate: self, queue: nil))
and implement the
func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber) method, but it is never called.
Can you give me a clue please?
Thanks a lot!

Hello @SSenocico , sorry for the late reply!
The delegate is intended to be used internally.
If you want to read the advertisement data you can simply do something like this:
centralManager.scanForPeripherals(withServices: nil, options: nil) // NOTE: don't forget to declare this variable
.sink(receiveCompletion: { completion in
        print(completion)
    }, receiveValue: { scanResult in
        print(scanResult) // BLEScanResult
    })
    .store(in: &disposables) // NOTE: don't forget to declare the disposables variable!

BLEScanResult has a property containing the Advertisement Data:
https://github.com/Henryforce/BLECombineKit/blob/master/Source/Central/BLEScanResult.swift
I hope it helps!


(DRAFT) Improve Products list view component anatomy

Warning - this is a big task!
Right now the product components are a little all over the place. The product page loads ProductSearch and then ProductSearch loads all of the filters / search / view toggle AND the list/grid components. This isn't very intuitive when just looking at the .src/component/products directory. Let's take the time to revisit the product list view anatomy and see if we can't establish some good patterns that can be repeated elsewhere.
Starting at the NextJS page level and working inward from there. The NextJS page is where we have the opportunity control the layout of the page and the components within it. From my experience, most list views have a similar responsive layout, with some differences in the lower level components that appear at the top of the view.
// .src/pages/products/index.tsx

import { Products } from 'ordercloud-javascript-sdk'
import productListSettings from '../../components/products/ListView/settings'

const Products = () => {
  return (
    <ListView service={Products.List} settings={productListSettings}>
        {(props:ListViewProps) => (
          <>
            <ProductCreate {...props}/>
            <ProductFilters {...props}/>
            <ProductSearch {...props} />
            <Button onClick={props.toggleView}>View Toggle</Button>
          </>
        )}
    </ListView>
  );
}

ListView needs to know what OrderCloud SDK service to use for fetching data. Within ListView we can optionally pass additional "control" components at the top of the page. Using a render function we are able to give our controls access to the information they will need from the ListView, such as callbacks or current state. Without these controls, a simple table is rendered with basic sorting and pagination controls.
Nearly ALL of the heavy lifting will be handled by the HoC ListView component. Maintaining state, mapping initial list options based on URL (optional?), maintaining the selected options in the URL (also optional?), establishing necessary callbacks to allow lower level components some level of control, and finally, rendering the table and/or grid view.
That brings us to the second required parameter: settings. The way I see this working is that these will be the settings that control both the table and grid display options. It would include the column definitions for the table, renderCard callback for the grid, and potentially other necessary settings for list views in general.

ListView will probably have to be generically typed. So the change here would be that the product page renders  and that component uses <ListView> allowing us to strongly type the options for service (promise returning a ListPage result) and the settings (properties available for renderCard & column definition).


Application of university

http://www.aastu.edu.et/

@kira200336 Hi,
Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Thanks.

@kira200336 You might miss the previous comment. Please react.

@kira200336 You might miss my previous comment. Please react.

@kira200336 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Clean up file structure and imports

Fixes #31.

@naglepuff PTAL. This will likely have conflicts with #42. If they are too difficult to resolve on #42, we can wait to merge this, but I think this makes some other branches easier to develop.


core release v0.22.0

To be merged after the release is complete.

Jib Core 0.22.0 has been released .