Still killable in passive/Melee still enabled

I've tested this script with others on a test server and found when a person is in passive mode (which we checked because they were non-colliable while in a vehicle), they can still be shot and melee killed while in a vehicle or on foot.
While in the same session, we found that firearms could be pulled out but not shot (not the problem). However, when a passive or non-passive person pulls outs any melee weapon they could use it to harm other players BUT only if they used R on a keyboard. Left-mouse click wouldn't use any weapon but R on keyboard would still use the weapon.
We tested this without any standalone scripts that affect anything related to combat, weapons, or other passive mode-like options. vMenu and a respawn script were enabled during this testing. Is there a vMenu permission making the script act this way? We have tested vMenu with weapons disabled but players could still use their fists to fight each other so it seems the weapon permissions didn't affect combat at all.

Convars in server.cfg:
setr simplepassive_default 1
setr simplepassive_alpha 255
setr simplepassive_disablecombat 1
setr simplepassive_debug 0
add_ace builtin.everyone simplepassive.changeself allow

Can you try this build and let me know if it works?
You need to set the convar simplepassive_makeinvincible to 1, like this:
setr simplepassive_makeinvincible 1

Can you try this build and let me know if it works?
You need to set the convar simplepassive_makeinvincible to 1, like this:
setr simplepassive_makeinvincible 1

I'll let you know as soon as I can get with my other testing buddy to check it with me.

So the new version fixed the invincibility and camera problems. Very thankful for this new version. I don't know if you're still working on the melee combat issue but it is still present in the newest version you sent out.

melee combat issue

The player is invincible,isn't it?

Only the players in passive mode are invincible but the passive mode players are able to kill non-passive players because R on keyboard/ O on controller still registers as a melee attack.

That doesn't makes sense. Invincible is invincible. Plus, it was confirmed by someone else that the patch works.
Please make sure that you don't have other conflicting game scripts.

The passive mode players are still able to attack other non-passive players. That's what I'm trying to say. The invincibility works on players with passive enabled but they can still kill non-passive players because of the attacking problem

I think I have an idea why this happens. Ill post a new comment with the new build once I try to fix it.

Try this build, it should disable the other controls that are used for melee.

The new version works like a charm! Thank you for being able to take the time to fix these problems.


Update Get-BgpStatistics.md

Changed description for ALl routing domains.

This is per suggestion from peer on https://github.com/MicrosoftDocs/windows-powershell-docs/pull/1457#issuecomment-539965861

Docs Build status updates of commit 1966de2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/remoteaccess/Get-BgpStatistics.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@dariomws306 Please confirm that the PR is in accordance to your feedback at https://github.com/MicrosoftDocs/windows-powershell-docs/pull/1457#issuecomment-539965861 Thanks.

Thank you!


save chart using method "node" not running anymore with npm@9

Saving a chart as .png causes an "CalledProcessError" error when using method "node" and npm version is node@9
Reason is that npm has removed command: "npm bin" since version 9 which is used in _node.py (npm_bin)

Sorrry,  meant of course npm@9

Confirming rolling back to npm < 9 seems to work.

Hi team!
Any updates on this issue?

This
https://github.com/anmol098/waka-readme-stats/issues/337#issuecomment-1396737897
is working for me with npm --version 9.3.1

Since Altair 5.2, the functionality of Altair Saver is now available in Altair via the vl-convert package. Most of the functionality has been available since 5.0, and the main addition in 5.2 was PDF export. See the docs on how to save charts for more details
We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.


BG data is greyed out but there is info on my NS page

Hi, I get my BG data from Nightscout, but although I can go to the site and info is coming from my loop, the watchface says ??.0 on the BG data and the connection.
I checked my NS address and it is correct, is there anything else I can check or is this a Fitbit issue?
Thanks for the help
Luis

Can you check your nightscout endpoint?
type this into your browser, except change ADDRESS with your nightscout
address:
https://ADDRESS.herokuapp.com/api/v1/entries/sgv.json
Is there any data that shows up or is it blank?
On Tue, Oct 8, 2019 at 10:51 AM tuzoenduro<EMAIL_ADDRESS>wrote:

Hi, I get my BG data from Nightscout, but although I can go to the site
and info is coming from my loop, the watchface says ??.0 on the BG data and
the connection.
I checked my NS address and it is correct, is there anything else I can
check or is this a Fitbit issue?
Thanks for the help
Luis
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cramis1/Marclock-with-CGM-weather/issues/16?email_source=notifications&email_token=AJTJAAUREXLAROPALHR4HMLQNSM7FA5CNFSM4I6S2LI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQL3P3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJTJAAWVDK666VG5ZINTQALQNSM7FANCNFSM4I6S2LIQ
.

Ya that string looks alright, the "sgv":142 is your blood sugar reading.
Are you using a device running Android Pie? I am actually having similar
problems using my Galaxy s8 since updating OS. You can temporarily bring it
back by reseting the watch, holding left button and bottom right button
until it flashes.
This is not an ideal solution though. I am trying to play around with it so
that it does not do that. But I noticed that other watchfaces, like Glance,
are having the same problem.
On Thu, Oct 10, 2019 at 11:31 AM tuzoenduro<EMAIL_ADDRESS>wrote:

It's a long string...
[{"_id":"5d9f4dcd801bff903181d6f4","type":"sgv","sgv":112,"date":1570721100000,"dateString":"2019-10-10T15:25:00Z","device":"loop://luis’s
iPhone"},{"_id":"5d9f4dcd801bff903181d6f0","device":"loop://luis’s
iPhone","sgv":114,"type":"sgv","dateString":"2019-10-10T15:20:00Z","date":1570720800000},{"_id":"5d9f4c60801bff903181bc34","device":"loop://luis’s
iPhone","sgv":118,"dateString":"2019-10-10T15:15:00Z","date":1570720500000,"type":"sgv"},{"_id":"5d9f4af5801bff9031819a2a","date":1570720200000,"dateString":"2019-10-10T15:10:00Z","device":"loop://luis’s
iPhone","type":"sgv","sgv":120},{"_id":"5d9f4986801bff9031817e3b","sgv":124,"date":1570719900000,"dateString":"2019-10-10T15:05:00Z","device":"loop://luis’s
iPhone","type":"sgv"},{"_id":"5d9f4819801bff9031815a88","date":1570719600000,"dateString":"2019-10-10T15:00:00Z","type":"sgv","sgv":126,"device":"loop://luis’s
iPhone"},{"_id":"5d9f46ad801bff903181402d","device":"loop://luis’s
iPhone","sgv":130,"dateString":"2019-10-10T14:55:00Z","date":1570719300000,"type":"sgv"},{"_id":"5d9f46ad801bff903181402b","type":"sgv","device":"loop://luis’s
iPhone","dateString":"2019-10-10T14:50:00Z","sgv":132,"date":1570719000000},{"_id":"5d9f453c801bff903181255a","sgv":136,"date":1570718700000,"device":"loop://luis’s
iPhone","type":"sgv","dateString":"2019-10-10T14:45:00Z"},{"_id":"5d9f43ce801bff9031810ae0","type":"sgv","device":"loop://luis’s
iPhone","sgv":142,"dateString":"2019-10-10T14:40:00Z","date":1570
weirdly the bg values on the watch are ok, and then not ok for the
next maybe half an hour, and then they appear again, and then barred
and grey for 1 hour.. and it goes like this
On Thu, Oct 10, 2019 at 10:51 AM cramis1<EMAIL_ADDRESS>wrote:

Can you check your nightscout endpoint?
type this into your browser, except change ADDRESS with your nightscout
address:
https://ADDRESS.herokuapp.com/api/v1/entries/sgv.json
Is there any data that shows up or is it blank?
On Tue, Oct 8, 2019 at 10:51 AM tuzoenduro<EMAIL_ADDRESS>wrote:

Hi, I get my BG data from Nightscout, but although I can go to the site
and info is coming from my loop, the watchface says ??.0 on the BG data
and
the connection.
I checked my NS address and it is correct, is there anything else I can
check or is this a Fitbit issue?
Thanks for the help
Luis
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<

https://github.com/cramis1/Marclock-with-CGM-weather/issues/16?email_source=notifications&email_token=AJTJAAUREXLAROPALHR4HMLQNSM7FA5CNFSM4I6S2LI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQL3P3Q

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AJTJAAWVDK666VG5ZINTQALQNSM7FANCNFSM4I6S2LIQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/cramis1/Marclock-with-CGM-weather/issues/16?email_source=notifications&email_token=AD5PLPDBNUSOKR3UOUYRRGTQN46PBA5CNFSM4I6S2LI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4UNLI#issuecomment-540624557
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AD5PLPAX4CDKLB3ONWZTFSTQN46PBANCNFSM4I6S2LIQ
.

--

Dr. Luis Toussaint
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cramis1/Marclock-with-CGM-weather/issues/16?email_source=notifications&email_token=AJTJAAWN7MVZJHA6ZGNK6NTQN5DFTA5CNFSM4I6S2LI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4Y22I#issuecomment-540642665,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTJAARZLVW2DZ3CYN47MGLQN5DFTANCNFSM4I6S2LIQ
.

Try updating the watchface and let me know if it fixes the issue. I overhauled the communication settings of the watchface to hopefully make it more stable.

Hi cramis1! I love the look of this watchface so bad aye! It doesn't show BGLs from either source, Dexcom or NS and even after working out how to get a weather api even that didn't show up on my Fitbit Versa2. It's okay though I'll keep trying. Just wanted to say hi and thanks.


Correct wrong word used

In the sentence that starts "The scenario is anonymous to doing a...", I think you mean to say it is synonymous, not anonymous.

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

ID: 7268225d-815b-0faf-4dcf-e659272b48b9
Version Independent ID: 19315f8f-685f-6aad-0fc2-467474f508d0
Content: Version Control - Map TFS version control (TFVC) actions to Git
Content Source: docs/git/concepts/mapping-my-tfvc-actions-to-git.md
Service: unspecified
GitHub Login: @wpschaub
Microsoft Alias: willys

@mayeager22 Agreed, fixed in https://github.com/MicrosoftDocs/vsts-docs/pull/654 Thanks for letting us know!


Interface Issues

Some are experiencing issues with the (new) interface on the live instance of the mapping service UI. Mainly, the map document button produces no result or response when clicked. This is after clearing cache, cookies, trying in private browsing, etc.
For myself, in Chrome on MacOS, it works as expected. The SEM Tiff to JSON example plugin that is currently uploaded is non-functional however, and the json file produced has the following output:
{"timestamp":"2023-06-12T09:22:43.658+00:00","status":500,"error":"Internal Server Error","path":"/api/v1/mappingExecution/SEM"}

Then you are wrong here...Issues with the mapping service component belong here: https://github.com/kit-data-manager/com_mapping-service-input ;-)


Invalidate sessions after password reset

Many sources (e.g., owasp) include an additional step during password reset:

Ask the user if they want to invalidate all of their existing sessions, or invalidate the sessions automatically.

This step probably deserves to be mentioned in the https://thecopenhagenbook.com/password-reset page.

Would it be better to just invalidate all existing sessions by default?

Would it be better to just invalidate all existing sessions by default?

I'm certainly no expert, but I choose to make users opt-out of invalidating existing sessions when they reset their password, so yes.

Thanks, updated the page on password reset. I'm not sure if there are benefits to asking the user if they want to invalidate all their sessions tho. Most people would assume password change = sign in again.


Update contributor docs

This is a follow-up to #1315, adds link to CoC, is clearer in a few places.
@squaremo Can you take a brief look at https://github.com/weaveworks/flux/blame/master/CONTRIBUTING.md#L66 - it talks about an ACK from two maintainers. That's not actually what we want, right? :-)

it talks about an ACK from two maintainers. That's not actually what we want, right? :-)

It is not -- we are happy to merge with one approval from a maintainer.

Thanks, updated.

I think I covered all your comments.


Fp pragmas

Adding a New samples
##Introduction
The full instructions on submitting a new sample is located in the wiki if you have any addional questions contact @JoeOster
Checklist
Administrative

[X] Review sample design with the appropriate Domain Expert: Mike Tucker
[x] If you dependencies/binaries, inform the oneAPI Code Samples Project Manager: @JoeOster

Code Development

[X] Implement coding guidelines and ensure code quality. see wiki for details
[X] Adhere to readme template
[X] Enforce format via clang-format config file
[X] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[X] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[X] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[ ] OSPDT Approval (see @JoeOster for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the flags are: "-Wall -Wformat-security -Werror=format-security"
[ ] Protex (see @JoeOster for assistance)
[ ] Bandit Scans (Python only)
[ ] IPLDT Scan (see @JoeOster for assistance)
[ ] Virus scan

Review

[X] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[X] Review readme with Tom Lenth(@tomlenth) and/or Joe Oster(@JoeOster)
[X] Tested using Dev Cloud when applicable

Please create a PR into the master branch of your own fork, not mine :-)


Website content failure on build

I'm building current (as of this writing) master-branch munit against a 0.23 NIGHTLY Dotty release and getting these errors when I do a + publishLocal:
-- Error: website/node_modules/balanced-match/README.md:50:132 -----------------
50 |If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.
   |                                                                                ^
   |                              unexpected NoSpace, expected '}}' (OutEnd)
-- Error: website/node_modules/brace-expansion/README.md:41:11 -----------------
41 |expand('{{A..C},{a..c}}')
   |           ^
   |           unexpected '..' (DotDot), expected '}}' (OutEnd)
[error] stack trace is suppressed; run last munitJVM / Compile / doc for the full output
[error] (munitJVM / Compile / doc) java.lang.reflect.InvocationTargetException
[error] Total time: 46 s, completed Mar 16, 2020, 10:43:06 AM

Thank you for reporting! I'm unable to reproduce. What Node.js version do you have installed? I believe we can update build.sbt to skip building scaladocs outside of CI.

Closing due to inactivity. Please reopen to continue the discussion.


Remove randomness from a test

This test contained randomness which led to a 0.1% probability of spurious failure. I don’t know why I thought it was a good idea. At least 1 CI run errored because of it.

@swift-ci please test

Rebased on top of main.

@swift-ci please test

Related to rdar://109213727


Unexpected token ':' in Angular Project

Hi I am receiving the following error when the angular app starts
Uncaught SyntaxError: Unexpected token ':'
at Object../node_modules/quill-delta/dist/Op.js (:4200/vendor.js:61536:9)
at nested_webpack_require_732 (:4200/vendor.js:59021:27)
at eval (webpack://Quill/./node_modules/quill-delta/dist/Delta.js?:9:28)
at Object../node_modules/quill-delta/dist/Delta.js (:4200/vendor.js:61504:9)
at nested_webpack_require_732 (:4200/vendor.js:59021:27)
at eval (webpack://Quill/./core/quill.js?:6:69)
at Module../core/quill.js (:4200/vendor.js:59876:9)
at nested_webpack_require_732 (:4200/vendor.js:59021:27)
at eval (webpack://Quill/./core.js?:2:69)
at Module../core.js (:4200/vendor.js:59780:9)
"dependencies": {
"ngx-quill": "^16.1.1",
"quill": "^2.0.0-dev.4",
"quill-better-table": "^1.2.10",
"@angular/cli": "^13.0.3",
"@angular/core": "^13.0.2",
"primeflex": "^3.1.0",
"primeicons": "^5.0.0",
"primeng": "^13.0.4",**
.....
}
how can I fix this ? Thanks

I downgraded angular to version 12 and now it is working,

@agholipour
Can you share your package.json? I downgraded to version 12.2.0 but I still have this issue...


[Datagrid] Select all checkbox and button should ignore disabled rows

What package(s) are you using?

[x] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.

When using the Datagrid and selectable rows, there is the ability to disable selection of some rows. When taking advantage of this ability, the select all checkbox and button should only select the rows that are not disabled.

Is this issue related to a specific component?

Datagrid, selectRows hook

What did you expect to happen? What happened instead? What would you like to
see changed?

Currently, the select all checkbox and button will select all rows, even if some rows have row selection disabled. A workaround is to disable the select all checkbox but then we lose the ability to select all other available rows.
The expectation I had was that the select all checkbox would only select all selectable rows and omit the disabled ones.

What browser are you working in?

Chrome

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
package are you using?

2.19.2

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Please create a reduced test case in CodeSandbox
https://codesandbox.io/s/github/carbon-design-system/ibm-products/tree/main/examples/carbon-for-ibm-products/SidePanel

Additional information

Screenshots or code
Notes

@makafsal Are you looking into this? If not, I think @Ratheeshrajan may be able to pick this up once Patterns behinds given that he just addressed this for customize columns.


CPU hotplug for AArch64

(this duplicates https://github.com/kata-containers/agent/issues/471, I thought it better to start a new thread)
Hello, I work with @justin-he at Arm,
We are trying to add a mechanism to Kata to allow CPUs to be added to guests for Arm.
There was a pull request and discussion at: https://github.com/kata-containers/agent/pull/478
I am raising this issue as an update to some of the questions asked during the above thread.
Arm supports CPU online/offline, but the CPUs remain present. It does not currently support CPU add/remove.
(CPU add/remove would require specification work, hypervisor support, kernel support and VMM support)
Unfortunately, it is not clear when CPU add/remove will be available. (Also, any mechanisms for virtual CPU add/remove would need to be valid for the physical CPU add/remove case).
Going forwards we would still like to add a capability to "add"/"remove" CPUs to Kata, but we won't be able to extend the ACPI technique.
In fact I was going to recommend @justin-he's pull request as a basis to start this off.
There are ramifications for resource cost namely that:

Guest kernels will need to boot the "unneeded" CPUs before offlining them,
There is a memory cost associated with the vCPUs in KVM, the guest kernel and the VMM.

(The resource costs above could potentially be mitigated to a degree by enhancements to KVM/Linux kernel/VMM if this approach gains traction).
However there is one advantage of the online/offline technique:

CPU online/offline would be VMM agnostic - it would only require a -maxcpus argument

The main reason I'm raising this is because I am based in the United Kingdom, and have better timezone overlap with the States, so am able to attend any calls/IRC chats if that's helpful?
Would it be possible to re-consider the CPU online/offline approach?
Cheers!
Steve Capper

the problems I see with the online/offline cpus through gRPC  approach are:

the resources (threads in the host) for offline vcpus are not freed, (like zombie threads.. ?)
Memory footprint: guest kernel needs more memory to handle all the (offline/online) vcpus
Boot time: guest kernel needs more time to initialize all the vcpus
Security: a malicious workload able to scape from the container in the guest would be able to online all the vcpus and throttle the host

Hi,
For the resource costs, yeah, there would be more memory consumed and a longer boot time unfortunately. :-(
It's my understanding that having threads for offline CPUs shouldn't cause an issue during normal execution - they won't be scheduled, so won't consume CPU. Or have I overlooked something?
Regarding the security aspects around denial of service being amplified by the guest spuriously soft-onlining CPUs. Would it be possible to mitigate against this by applying cgroup parameters (cpu.shares?) or by setting CPU affinity of the VMM?

My gut, and our past experience, tells me we are unlikely to adopt the mechanism for other architectures if it has memory and/or boot time impact. Feels like we might have to have different methods across architectures then.

This sounds like a good topic for the Architecture Committee meeting (Tuesday at 8am PDT) if you want to add it to the etherpad agenda?

https://etherpad.openstack.org/p/Kata_Containers_2020_Architecture_Committee_Mtgs
https://katacontainers.io/community/
https://github.com/kata-containers/community/#architecture-committee

@jongwu - do you have any thoughts on this?

Do we want to close this or push it forward :-)?

@jodh-intel @ariel-adam The qemu/kernel patch series had been posted to upstream for review by Huawei experts. I can close it temporarily. And discuss it again after upstream merges vcpu hotplug feature on arm64

@stevecapperarm What do you think of it? seems I don't have the access to close it ;-)

@justin-he - I'll close for now then. Either re-open or raise a new issue if we want to revisit this in the futre.


[WIP] Java Client Logging

Starting to add logging on the Java client
Issue: https://github.com/aspnet/SignalR/issues/2638

Updated.


Bug with create

Mods involved
create-1.18.2-0.5.0.e
flywheel-forge-1.18.2-0.6.5
jei-1.18.2-<IP_ADDRESS>
jobsplus-0.4.0
If you use the wrench on any block from create you will gain exp for the builder job
https://streamable.com/fn7t1s

Thank you for the extensive report.

Glad to hear any plans on updating for 1.18.2?


Holding Right Alt button

While holding other keys there is only one sound but holding the right alt button there is a sound repeating infinitly.

Just tried this and yes, this is a thing and now I can't stop doing it...

@danperks  😂

this problem persists (v2.3.4)


Can't build this project locally using visual studio

I am having trouble building this project locally. Can you please help?
Some of them are related to project references.
Reference to MyGet(https://dotnet.myget.org/) instead of Nuget
Where can I find reference to Newtonsoft.Json version 11.0.2? and other reference like Microsoft.Net.Http version 2.2.29

My Nuget was pointing to visual studio offline version. My apologies for the creating this issue


How to get deployed contract

https://github.com/ethereum-optimism/contracts/blob/df10de974629615b8597ed9bdbcd1b5ec2c0c9b7/src/hardhat-deploy-ethers.ts#L80

Is there any function build in like the above?

Would be nice if we could write and invoke functions directly from the deploy script

you can use await hre.deployments.get("ContractName"); where hre is the HardhatRuntimeEnvironment to get the deployed contract object


Allow single quotes for strings since double quotes are hard to type on some keyboard layouts

I got used to writing single quotes for representing a string since double quotes are hard to type on my keyboard layout (at least for me and my body metrics). Now, while trying out elm, I noticed quickly that I am forced to use double quotes for strings instead of both (as in JavaScript). Now I am in constant "pain" bending my wrists and fingers for typing the double quote while trying out elm.
If I will stick with elm, I definitly will rebind my keys or something :)

In Elm, the literal "hello" is a String and the literal 'c' is a Char. So we are actually distinguishing between different types of data.
If my memory is correct, this behavior is the same in C, C++, Java, C#, F#, OCaml, SML, Haskell, etc. So there is lots of precedent for this distinction in typed languages. I don't have any plans to change this behavior, so I don't think we should track it in a github issue.


syntax highlight broken for partialmethods

Environment data

Language Server version: XXX
OS and version: XXX
Python version (& distribution if applicable, e.g. Anaconda): XXX

Code Snippet

from curl_cffi import requests

async def main():
    async with requests.AsyncSession() as s:
        r = await s.get(URL)

Repro Steps
pip install curl-cffi
Use above snippet.
I can confirm IntelliSense works.
Expected behavior
highlight get to green
Actual behavior
not highlight get to green
Logs

XXX

thanks for logging an issue.  I dont there is a token issue.. I'm seeing get as a variable.  I did see an issue with the highlight not updating after pip installing curl-cffi though

Note there is a tool to inspect tokens

maybe request custom support for partialmethod in pyright
https://github.com/microsoft/pyright/issues/2787

This is related to https://github.com/microsoft/pyright/issues/2787. Pyright (the type checker upon which pylance is built) currently has no special-case handling of functools.partialmethod. It does have special-case handling for functools.partial. The logic for partialmethod should be similar, but there are challenges because of the way partialmethod is defined in the typeshed stubs. Notably, the partialmethod class doesn't include a __call__ method. That means this change is complicated because it would involve not only a change in pyright but also a coordinated change in typeshed.
If this is something you're interested in, please upvote this issue. Even though it's closed, it's something I'd consider re-opening if there's sufficient interest.

Notably, the partialmethod class doesn't include a __call__ method.

Correct, make senses.

That means this change is complicated because it would involve not only a change in pyright but also a coordinated change in typeshed.

Couldn't consider functools.partialmethod as special case?
Thanks, I upvoted that issue.
My main issue is beating to get parameter guide and parameter suggestion here:

Now I should go to definition and scroll to request for checking parameters I'm using are correct or not.

If you want to see this issue fixed, please upvote https://github.com/microsoft/pyright/issues/2787. Closing this issue for now.

Notably, the partialmethod class doesn't include a __call__ method. That means this change is complicated because it would involve not only a change in pyright but also a coordinated change in typeshed.

Wouldn't this be kind of a lie?
>>> from functools import partial, partialmethod
>>> partial(len).__call__
<method-wrapper '__call__' of functools.partial object at 0x7fa555381da0>
>>> partialmethod(len).__call__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'partialmethod' object has no attribute '__call__'. Did you mean: '__class__'?

Instead, shouldn't this be handled via Descriptor protocol? typeshed annotates
    def __get__(self, obj: Any, cls: type[Any] | None = None) -> Callable[..., _T]: ...


Migrate to AWS SDK for Go v2

The end-of-support for AWS SDK for Go v1 has been announced. In response to this, I have migrated to v2.
ref. https://aws.amazon.com/jp/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/

go mod tidy difference??


Post details preview on view button

Prerequisites

[x] I am running the latest version
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
Post details page when clicking on view button on a post item displayed in landing page
Current Behavior
Blank page is shown after view button is clicked

this issue is fixed by the PR: #429


Session not terminating upon closed CONNECT stream

The wtransport server is not terminating the session upon receiving a closed CONNECT stream.
According to the WebTransport Internet Draft:

WebTransport sessions are initiated inside a given HTTP/3 connection by the client, who sends an extended CONNECT request. If the server accepts the request, a WebTransport session is established. The resulting stream will be further referred to as a CONNECT stream, and its stream ID is used to uniquely identify a given WebTransport session within the connection. The ID of the CONNECT stream that established a given WebTransport session will be further referred to as a Session ID.
A WebTransport session is terminated when the CONNECT stream that created it is closed.

Also under 5. Session Termination

A WebTransport session over HTTP/3 is considered terminated when either of the following conditions is met:

the CONNECT stream is closed, either cleanly or abruptly, on either side; or
a CLOSE_WEBTRANSPORT_SESSION capsule is either sent or received.

Ruling out quinn
I added tracing logs in quinn to see the various Frames processed and dispatched. Maybe the desired Frame wasn't being sent!
To verify this wasn't a problem on quinn's end, I wrote a JS client in Chrome. That is:
options = {
    "congestionControl":"low-latency",
    "requireUnreliable":true,
    "serverCertificateHashes": [
        {
            "algorithm":"sha-256",
            "value": "some_certificate_hash"
        }
    ]
}

webtransport = new WebTransport(url, options);

To close the session, I called:
await webtransport.close();

When closing, I immediately receive a Frame::Stream from quinn:

This payload indicates that the CONNECT stream has been closed. This is because the session_id is 0 and fin is set to true.
Testing this behavior on Firefox, I received a CLOSE_WEBTRANSPORT_SESSION upon closing the JS client. This is fine since it is specified in the Session Termination section of the internet draft.
Our wtransport server is similar to the implementation in examples. It seems other people are experiencing https://github.com/BiagioFesta/wtransport/issues/176#issuecomment-2094817279 @BiagioFesta hinted this may be a browser bug as well.
Specifications

wtransport version: 0.1.12
Browsers tested:
- Chrome (Version 127.0.6533.89)
- (Firefox 129.0 (64-bit))

Issues mentioned
https://github.com/BiagioFesta/wtransport/issues/176#issuecomment-2094817279

SessionStream (i.e., CONNECT stream) is not currently handled. See: https://github.com/BiagioFesta/wtransport/blob/22fdfb9aeb8b2a37067783d283872f4eea1b228a/wtransport/src/driver/mod.rs#L639

Please, it would be great. Definitely you can try a shot.
I started a branch: https://github.com/BiagioFesta/wtransport/tree/close-session-capsule (close-session-capsule) you might want to have a look.
In particular, the commit https://github.com/BiagioFesta/wtransport/commit/ae63af062a83c2eb0d97da5702a945cab504435e implementing the capsule protocol, with the webtransport close session capsule

Nice, I'll take a look.


Unable to build app due to deb installation error

We are currently unable to deploy updates or fixes to our production server due to a deb error in the build process. This happens whether we are doing a local deployment to the server via git (ssh) or we simply rebuild the app with dokku ps:rebuild app_name.
We have attempted to update apt packages with sudo apt update and then sudo apt upgrade. This did not resolve the issue.
The error displayed is reproduced below:
       Reading package lists...
W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
-----> Installing *.deb
dpkg-deb: error: failed to read archive '/cache/apt/cache/archives/*.deb': No such file or directory
 !     Failure during app build
 !     Retagging old image fb212186be8d as dokku/mtp-prod:latest
 !     App build failed
 !     W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
dpkg-deb: error: failed to read archive '/cache/apt/cache/archives/*.deb': No such file or directory
 !     Failure during app build
 !     Retagging old image fb212186be8d as dokku/app_name:latest
 !     App build failed

Note that deployment works fine on the same server previously and we made no recent changes to the server.

Can you include the information we ask for in the official Dokku issue template? It is helpful for debugging problems.
Additionally, include the entire deploy output, as well as the output of ls -lah in the root directory of your codebase. Finally, if you have any of the files used by this plugin, please include their contents.
Thanks!

Hi @josegonzalez
Please see the output of dokku report mtp-prod in the txt file attached
DokkuReportApp_name.txt
This is the complete output of the build failure when running dokku ps:rebuild mtp-prod:
-----> Cleaning up...
-----> Building mtp-prod from herokuish
-----> Adding BUILD_ENV to build environment...
BUILD_ENV added successfully
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.

W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
-----> Installing .deb
dpkg-deb: error: failed to read archive '/cache/apt/cache/archives/.deb': No such file or directory
!     Failure during app build
!     Retagging old image fb212186be8d as dokku/mtp-prod:latest
!     App build failed
!     W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
dpkg-deb: error: failed to read archive '/cache/apt/cache/archives/*.deb': No such file or directory
!     Failure during app build
!     Retagging old image fb212186be8d as dokku/mtp-prod:latest
!      The content of both Dockerfile and Procfile are as follows:
Dockerfile:
FROM ubuntu:22.04
LABEL maintainer="Taylor Otwell"
ARG WWWGROUP
ARG NODE_VERSION=18
ARG POSTGRES_VERSION=15
WORKDIR /var/www/html
ENV DEBIAN_FRONTEND noninteractive
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
&& apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2 dnsutils librsvg2-bin fswatch
&& curl -sS 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c' | gpg --dearmor | tee /etc/apt/keyrings/ppa_ondrej_php.gpg > /dev/null
&& echo "deb [signed-by=/etc/apt/keyrings/ppa_ondrej_php.gpg] https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ppa_ondrej_php.list
&& apt-get update
&& apt-get install -y php8.2-cli php8.2-dev
php8.2-pgsql php8.2-sqlite3 php8.2-gd php8.2-imagick
php8.2-curl
php8.2-imap php8.2-mysql php8.2-mbstring
php8.2-xml php8.2-zip php8.2-bcmath php8.2-soap
php8.2-intl php8.2-readline
php8.2-ldap
php8.2-msgpack php8.2-igbinary php8.2-redis php8.2-swoole
php8.2-memcached php8.2-pcov php8.2-xdebug
&& curl -sLS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
&& curl -sLS https://deb.nodesource.com/setup_$NODE_VERSION.x | bash -
&& apt-get install -y nodejs
&& npm install -g npm
&& npm install -g pnpm
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /etc/apt/keyrings/yarn.gpg >/dev/null
&& echo "deb [signed-by=/etc/apt/keyrings/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
&& curl -sS https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/keyrings/pgdg.gpg >/dev/null
&& echo "deb [signed-by=/etc/apt/keyrings/pgdg.gpg] http://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list
&& apt-get update
&& apt-get install -y yarn
&& apt-get install -y mysql-client
&& apt-get install -y postgresql-client-$POSTGRES_VERSION
&& apt-get -y autoremove
&& apt-get clean
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.2
RUN groupadd --force -g $WWWGROUP sail
RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.2/cli/conf.d/99-sail.ini
RUN chmod +x /usr/local/bin/start-container
EXPOSE 8000
ENTRYPOINT ["start-container"]
Procfile:
web: vendor/bin/heroku-php-apache2 public/
worker: php artisan queue:work --daemon
Please let me know if you require any additional information

@BoluwajiDavids run ls -lah in your app repo (the one you are pushing from), not on the dokku server.
Also, do you have a .buildpacks file in your repo?

Hi @josegonzalez
This is the output from ls-lah on my local machine:
total 568K
drwxr-xr-x 16 bd 4.0K Mar 24 18:01  .
drwxr-xr-x 10 boluwaji root     4.0K Aug 24  2023  ..
-rw-r--r--  1 bd  208 Jan 30 12:04  .buildpacks
-rw-r--r--  1 bd  258 Aug 10  2023  .editorconfig
-rw-r--r--  1 bd 2.2K Feb 22 16:13  .env
-rw-r--r--  1 bd 1.1K Oct  7 16:33  .env.example
drwxr-xr-x  8 bd 4.0K Mar 24 17:56  .git
-rw-r--r--  1 bd  186 Aug 10  2023  .gitattributes
-rw-r--r--  1 bd  243 Aug 10  2023  .gitignore
-rw-r--r--  1 bd    0 Feb 20 16:07  Aptfile
-rw-r--r--  1 bd   82 Jan 30 12:04  Procfile
-rw-r--r--  1 bd 4.1K Aug 10  2023  README.md
drwxr-xr-x  8 bd 4.0K Jan 30 12:04  app
-rw-r--r--  1 bd  127 Jan 30 12:04  app.json
-rwxr-xr-x  1 bd 1.7K Aug 10  2023  artisan
drwxr-xr-x  3 bd 4.0K Aug 10  2023  bootstrap
-rw-r--r--  1 bd 2.2K Jan 30 12:04  composer.json
-rw-r--r--  1 bd 398K Jan 30 12:04  composer.lock
drwxr-xr-x  2 bd 4.0K Jan 30 12:04  config
drwxr-xr-x  5 bd 4.0K Aug 10  2023  database
drwxr-xr-x  7 bd 4.0K Aug 19  2023  docker
-rw-r--r--  1 bd  817 Jan 30 12:04  docker-compose.yml
drwxr-xr-x  2 bd 4.0K Jan 30 12:04  dokku
drwxr-xr-x 36 bd 4.0K Aug 19  2023  node_modules
-rw-r--r--  1 bd  32K Aug 19  2023  package-lock.json
-rw-r--r--  1 bd  271 Aug 19  2023  package.json
-rw-r--r--  1 bd 1014 Aug 18  2023  phpunit.xml
drwxr-xr-x  3 bd 4.0K Jan 30 12:04  public
drwxr-xr-x  5 bd 4.0K Aug 10  2023  resources
drwxr-xr-x  2 bd 4.0K Feb 19 12:20  routes
drwxr-xr-x  5 bd 4.0K Aug 10  2023  storage
drwxr-xr-x  4 bd 4.0K Aug 10  2023  tests
drwxr-xr-x 60 bd 4.0K Nov 30 08:45  vendor
-rw-r--r--  1 bd  263 Aug 10  2023  vite.config.js
This is the also the content of the .buildpacks:
https://github.com/heroku/heroku-buildpack-apt.git
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-php.git
https://github.com/heroku/heroku-buildpack-nginx.git

Also just curious about what changed?
Everything worked fine before. We made no changes on the server and no build related change to the code base. Why did the build and deployment stopped all of a sudden?

Yes I did that and it works now, thanks.
But why did it stop working? Deployment worked fine even with the apt buildpack present before. As mentioned, nothing changed on our end.

Probably changes upstream in that apt buildpack. Here is a commit that does shell-hardening, which probably makes no-op usage a bug.


type-check let

Implemented missing type check for let decl

So this should allow .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i8); and would complain about .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i32); ?

So this should allow .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i8); and would complain about .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i32); ?

yes


Spyder always crashes upon restarting

From<EMAIL_ADDRESS>on 2011-02-22T04:10:35Z
What steps will reproduce the problem?
1.Open spider
2.set the path
3.load a file What is the expected output? What do you see instead? Spyder works fine, but only once.  The next time it does not open anymore.  After that the "Spyder crashed during last session." dialog appears.  The spyder.py --reset workaround works: spyder starts again, but only once.  The next time it will again not start. What version of the product are you using? On what operating system? pythonxy <IP_ADDRESS>
spyder 2.0.6 (2.0.5 had the same behavior)
windows 7
Please provide any additional information below
. This problem did not occur at first, it suddenly appeared a few days ago.
I discovered that Spyder will restart only if I manually delete the
outline_explorer/expanded_state = ...
entry in spyder.ini before restarting.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=562

From<EMAIL_ADDRESS>on 2011-02-22T02:38:30Z
Running Spyder in debug mode produces:
Start of MainWindow constructor
Initializing...
End of MainWindow constructor
*** Start of MainWindow setup ***
Loading object inspector...
Loading editor...
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1477, in main
mainwindow = run_spyder(app, options)
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1413, in run_spyder
main.setup()
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 557, in setup
self.editor = Editor(self)
File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 429, in init
self.outlineexplorer.treewidget.set_expanded_state(expanded_state)
File "C:\Python26\lib\site-packages\spyderlib\widgets\onecolumntree.py", line 177, in set_expanded_state
self.restore_expanded_state()
File "C:\Python26\lib\site-packages\spyderlib\widgets\onecolumntree.py", line 201, in restore_expanded_state
is_expanded = self.__expanded_state.get(user_text)
AttributeError: 'str' object has no attribute 'get'
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1505, in <module>
main()
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1483, in main
if mainwindow is None:
UnboundLocalError: local variable 'mainwindow' referenced before assignment
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Python26\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 953, in closing
CONF.set('main', prefix+'size', (size.width(), size.height()))
AttributeError: 'NoneType' object has no attribute 'width'
Error in sys.exitfunc:
Traceback (most recent call last):
File "C:\Python26\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 953, in closing
CONF.set('main', prefix+'size', (size.width(), size.height()))
AttributeError: 'NoneType' object has no attribute 'width'
And I also found spyder_crash.log:
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1477, in main
mainwindow = run_spyder(app, options)
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 1413, in run_spyder
main.setup()
File "C:\Python26\Lib\site-packages\spyderlib\spyder.py", line 557, in setup
self.editor = Editor(self)
File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 429, in init
self.outlineexplorer.treewidget.set_expanded_state(expanded_state)
File "C:\Python26\lib\site-packages\spyderlib\widgets\onecolumntree.py", line 177, in set_expanded_state
self.restore_expanded_state()
File "C:\Python26\lib\site-packages\spyderlib\widgets\onecolumntree.py", line 201, in restore_expanded_state
is_expanded = self.__expanded_state.get(user_text)
AttributeError: 'str' object has no attribute 'get'

From pierre.raybaut on 2011-02-22T01:53:11Z
Could you try running Spyder in debug mode?
(python spyder -d)
Also there is maybe a spyder_crash.txt file somewhere which was generated by the crash.

From<EMAIL_ADDRESS>on 2011-02-22T06:32:24Z
Hi Pierre,
See the debug output at  code.google.
But meanwhile I discovered something that may be important: the problem
seems to be related to 1 particular file: if I close this file before
closing Spyder, then Spyder will start next time...
So hopefully this file may help you to reproduce the problem.  See
attachment.
rgds,
Luc

From<EMAIL_ADDRESS>on 2011-03-08T00:30:47Z
I keep forgetting to close this file that causes the crashes (yes its silly, I know), so I keep experiencing the crashes.  I was only wondering: perhaps the bug is difficult for you to fix and the fix will not be available soon, but perhaps you know what it is in my file that triggers the crashes?   I would be thankful for a tip about what I could change in my code that makes the crashes disappear...

From<EMAIL_ADDRESS>on 2011-03-08T00:33:42Z
I should also have mentioned that I'm now using 2.0.8 and it still crashes.

From pierre.raybaut on 2011-03-08T10:07:39Z
Could you please re-send the file which causing this bug?
(I can't open the link above: server error)

From<EMAIL_ADDRESS>on 2011-03-10T01:35:08Z
here you are...

From pierre.raybaut on 2011-03-10T01:47:32Z
Ok, this 'email' link above is clearly not working: still a server error -- I can't access to your file.
Could you please attach the file to your comment?

From pierre.raybaut on 2011-03-10T23:38:09Z
Or if you like, you may send me an email directly.

From<EMAIL_ADDRESS>on 2011-03-11T05:03:13Z
Is this still needed?  If yes: to what address?

From<EMAIL_ADDRESS>on 2011-03-11T06:57:30Z
I was only wondering if you were enable to get it from the body of my
previous email...
I'll try again sending via google code, ok.

From pierre.raybaut on 2011-03-11T05:58:54Z
My email address is available when you click on my profile link (see every single of my comments here).
Otherwise, the simplest solution is to fill a comment here (i.e. not by email: by logging here on the Google Code website of Spyder) and to attach the script to your comment -- see the link below "Attach a file".
And yes, this is still needed: I'm more than ready to solve this issue... I'm only missing this script.

From pierre.raybaut on 2011-04-24T07:38:31Z
This issue was closed by revision 45463050a921 .

From pierre.raybaut on 2011-03-12T00:20:42Z
This issue was closed by revision 45463050a9 .
Status: Fixed


PaginatedResourceResponse skips paginating info when response

Laravel Version: 7.30.6
PHP Version: 7.4.29
Database Driver & Version: MySQL 5.7.38

Description:
class SearchResource extends ResourceCollection
{
    public function toArray($request)
    {
        return $this->resource->map(function(stdClass $bar) {
            return [
                'id' => $bar->id,
                'name' => $bar->name
            ];
        });
    }
}

class SearchController extends Controller
{
    public function indexAction(Request $request)
    {
        $resource = DB::table('bars')->paginate();

        return [
            'bars' => new SearchResource($resource), // result without `links` and `meta`
            'bars1' => (new SearchResource(resource))->toResponse($request) // error
        ];
    }
}

As result i got only collection (without paginator links and meta).
When i try to add toResponse, got error Undefined property: stdClass::$resource.
When i delete this code https://skr.sh/sILCemPB7FJ from PaginatedResourceResponse all works fine, but with unnecessary keys https://skr.sh/sILLJsr18pa

Steps To Reproduce:

Create any ResourceCollection with LengthAwarePaginator as $this->resource;
In controller return as array (example above).

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


Request to publish the decentralized I am project to blockchian website

/help

/init

/help

/banner


protonvpn-cli: fix runtime crash

Description of changes
Fixes #316956

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Is this package still could use? I see it has been archived by the owner on Oct 11, 2023. Do we need drop it?


Update edr-in-block-mode.md

made changes to the important Note  as the statement should read Antivirus real-time protection is not enabled
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12918

@JohanFreelancer9 Please copy review

@denisebmsft Please merge this PR. Thanks


Added TypeScript support

These changes add TypeScript build support for the soundworks-template-build script.
How it works: Since this project is using Babel, we decided to stay with the following approach: All conversions from TypeScript to JS are done directly with the Babel conversion. Basically, all TypeScript commands are stripped out in the conversion step while still supporting all needed functionality while developing or type checking. A nice explanation of this combination is described in this article. The advantage is here, that "plain" JS projects should be supported as before.
Type checking and an example: For the type checking itself, the binary is now supporting the -t <tsconfig file> or -check-types <tsconfig file>. This executes the TypeScript compiler under the hood.  An example for the soundworks-template written in TypeScript can be found here: https://github.com/schlenger/soundworks-template/tree/typescript_support
Note: This is currently a simple migration without supporting additional data-types.
I've tested this version locally against the TypeScript soundworks-template as well as against the current master/main project working only with JS. Both tests worked successfully. You may want to check additional projects and test cases, since I've only worked with the default scenarios provided here.
If there are any questions, just drop them here.

Hey, it's been a long time, very sorry for not answering to that before. I just moved master to main and it automatically closed the issue.
So to finally give you an answer on your PR, I think the approach is interesting and typescript (and other) support is definitely something we should allow to support. However, I also really think this should be done per project rather than centralized here because I would like to keep this build tool as lean as possible. So I would really prefer investigating in giving some way to extend babel and webpack configurations from the application itself (I opened an issue on this there #3).
Sorry again for the (too) long delay


Research on Mapbox API

This project is going to use Mapbox API as the map server. Try to see if it fits our language, server, and database

 Research on Mapbox API


Add csi nodeexpandsecret blog article

Ref# KEP: https://github.com/kubernetes/enhancements/pull/3173/
Implementation: https://github.com/kubernetes/kubernetes/pull/105963
Doc : https://github.com/kubernetes/we
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

Cc @xing-yang

@humblec if this is ready for review, please edit the PR title to remove the [WIP]   prefix

@humblec if this is ready for review, please edit the PR title to remove the [WIP]  prefix

The feature is at last stage of review, thats why I kept the WIP in the title, however if that does not matter, this is good for review @sftim . I have removed the WIP from the title :+1:

Hi, thanks.
Overall, I think this will work better if you make it a less technical announcement that links to docs about setting and using these secrets. What's the URL of the documentation change that we made for this enhancement? I'd like to read that for context.

https://github.com/kubernetes/website/pull/32298 covers doc part of it.  Thanks @sftim

/close

@humblec I recommend that you keep this text ready for a future branch, but close this PR.

Sure, and thanks for all your review comments ! Will continue or take this version to next attempt. Thanks @sftim

/milestone clear


Site Renaming

Closing this PR as we need to re-trigger the checks now that Terraform Format has been removed.


Don't build examples by default

This disables example building by default and instead adds an option to enable it.
This is useful because sometimes examples don't build in certain configurations, but the library does.

I seems to better to just fix the build of the examples. Which configurations do not build and what are the errors?

I agree with @lukekasz on this.
The examples should always be built to ensure that they do, in fact, still build.

@lukekasz While adding support for T_CHAR8 (8-bit unicode char types in C++20), I noticed that GetTypeName() used by ExamplesFunctionVariables() currently fails in the Release build.
Could you take a look perhaps?

Yes, I will look into it and fix it

@MolecularMatters, what build error are you getting and in which VS version?
Release / x64 builds for me in VS 2022

@MolecularMatters, do I need some additional changes or a specific PDB to reproduce this? Maybe just a PDB which use char8_t in a function variable?

The PDB in question contains an LF_ARGLIST, which is unhandled by the switch in GetTypeName().

Sorry, I didn't realize that I was testing a particular PDB. Will try to make one available that exhibits the same behaviour.

The PDB in question contains an LF_ARGLIST, which is unhandled by the switch in GetTypeName().

Any chance you can share the PDB or perhaps a snippet of code that generates the LF_ARGLIST? I've been experimenting for a bit and so far been unable to figure out how to generate an LF_ARGLIST.

Unfortunately not, the PDB is not mine.
I also tried reproducing this, but so far have been unable to.
I tried ellipsis, va_list, variadic templates, to no avail.

The issue occurs on any new project for me,
This is the root CMakeLists.txt
cmake_minimum_required (VERSION 3.8)

project ("PdbTesting")

# Include sub-projects.
add_subdirectory("raw_pdb")
add_subdirectory ("PdbTesting")

This is the PdbTesting/CMakeLists.txt
add_executable (PdbTesting "main.cpp")

raw_pdb is latest commit from main
This is the compiler error:
>------ Build All started: Project: PdbTesting, Configuration: x64-debug ------
ExampleTypes.cpp(833): error C2664: 'int snprintf(char *const ,const size_t,const char *const ,...)': cannot convert argument 1 from 'const _Elem *' to 'char *const '
          with
          [
              _Elem=char
          ]
ExampleTypes.cpp(833): note: Conversion loses qualifiers
  C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\stdio.h(1919): note: see declaration of 'snprintf'
ExampleTypes.cpp(833): note: while trying to match the argument list '(const _Elem *, unsigned __int64, const _Elem *, const _Elem *)'
          with
          [
              _Elem=char
          ]
  [2/4] Building CXX object PdbTesting\CMakeFiles\PdbTesting.dir\main.cpp.obj
  ninja: build stopped: subcommand failed.

Build All failed.

Thanks @localcc for reporting this!
The problem was simply that the .vcxproj files used C++17 (where std::string::data() offers an overload for accessing mutable data), but when generating the VS projects using CMake, the standard would be set to C++14.
I've fixed this in 8c6a7146393c83d27fa101e8bc8017f2a7f151df.
The provided VS projects now use C++14, and the code has been fixed accordingly.


Add documents about jsxImportSource And jsx typing

Search Terms
jsx react
Suggestion
use this pragma "jsx": "jsxImportSource".
/** @jsxImportSource react */
function App() {
  return

 ;
}

It works well.
Also, we may define jsx functions use
// file: ./utils/my-own-jsx-library/jsx-runtime
function jsxWithValidationDynamic(type, props, key){
}
function jsxWithValidationStatic(type, props, key){
}

export { jsxWithValidationDynamic as jsx, jsxWithValidationStatic as jsxs };
export const Fragment = 0xeacb;

// file ./app.tsx
/** @jsxImportSource ./utils/my-own-jsx-library */
function App() {
  return

 ;
}

What type should I add in jsxWithValidationDynamic and jsxWithValidationStatic? Should I still use namespace JSX?

@weswigham

Docs on new compiler options will be added before the stable release (cc @orta).

Everything still uses the JSX namespace - the types of the factory function, for better or worse, are still not considered.


Update docs to match the new Queenbee schema

The docs are written for the previous iteration of the schema - they need to be updated.

@tymokvo did a first pass on this. I tend to close this issue as it has already been updated but I leave it to you @tymokvo to make the final decision.

No, I think it can only be complete when the warning at the top of the Create a New Recipe page can be removed. I will submit a follow-up PR to finish the section now that I can use your example recipe.


bug: incorrect "this" statement for configuration's db "config" method

Coverage remained the same at 100.0% when pulling a4f1ee31c11e179ef7f4624810ab06798aef0cdc on correct-db-config-this into 722ab85a89d52458746827b00bdc8a542a28b4aa on master.


Do not blindly delete ${OUTPUT_DIR}/browser folder, because it might not be desired

Is your feature request related to a problem? Please describe.
Do not blindly delete ${OUTPUT_DIR}/browser folder, because it might not be desired. Example user might have saved files in the browser folder, which should be kept between test runs and we blindly delete the folder. We should perform check on files and folder and delete files which are only created by us.
Describe the solution you'd like
More intelligent cleaning.

Pabot uses blind removal of pabot_results . I think the only difference here is that browser (as a folder name) is such a common name.
What if we just used some more unique name like browser_library_results?

That is good idea too.

Do not delete browser folder, but delete the subfolders we create. The browser folder should have files only in the subfolder which are created by the library.


Add shortcuts about Powertoys itself in Shortcut Guide

Description of the new feature / enhancement
When users push key win+shift+/, the shortcuts of Powertoys' functions also display on screen, it helps user learn how to use this application.
Scenario when this would be used?
Users can remember function and shortcuts of Powertoys smoothly when they are fresh, only know how to open the Shortcut Guide.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/15405


[tool_crash] ProcessException: The command failedStdout:Stderr:warning [/Users/mac/Developer/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/1363603dd17dd609018e53cdbd5fef6791814337/fonts.zip]:  950342 extra bytes at beginning or within zipfile

Command
flutter --no-color --no-version-check precache

Steps to Reproduce

...
...
...

Logs
ProcessException: The command failed
Stdout:
Stderr:
warning [/Users/mac/Developer/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/1363603dd17dd609018e53cdbd5fef6791814337/fonts.zip]:  950342 extra bytes at beginning or within zipfile
(attempting to process anyway)
Command: unzip, OS error code: 1
#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:172:5)
#1      _DefaultProcessUtils.runSync (package:flutter_tools/src/base/process.dart:463:17)
#2      _PosixUtils.unzip (package:flutter_tools/src/base/os.dart:237:21)
#3      ArtifactUpdater._downloadArchive (package:flutter_tools/src/cache.dart:1638:18)
#4      _rootRunUnary (dart:async/zone.dart:1198:47)
#5      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#9      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#10     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#11     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#12     ArtifactUpdater._download (package:flutter_tools/src/cache.dart)
#13     _rootRunUnary (dart:async/zone.dart:1198:47)
#14     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#18     Future._complete (dart:async/future_impl.dart:519:7)
#19     Stream.forEach.<anonymous closure> (dart:async/stream.dart:943:14)
#20     _HttpClientResponse.listen.<anonymous closure> (dart:_http/http_impl.dart:446:15)
#21     _rootRun (dart:async/zone.dart:1182:47)
#22     _CustomZone.run (dart:async/zone.dart:1093:19)
#23     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#24     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:410:13)

[✓] Flutter (Channel master, 1.23.0-8.0.pre.185, on Mac OS X 10.15.6 19G2021 x86_64, locale en-IN)
    • Flutter version 1.23.0-8.0.pre.185 at /Users/mac/Developer/flutter
    • Framework revision 6620f831e9 (8 hours ago), 2020-10-06 18:15:15 -0700
    • Engine revision 7e6191de07
    • Dart version 2.11.0 (build 2.11.0-186.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.0

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.121

• No issues found!

Flutter Application Metadata
No pubspec in working directory.

May be related to 52437

@naman-jn Can you switch to latest dev and see if you get same error or works ?
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Store empty pending block instead of deleting the key

To decrease the number of block not found errors when simulating transactions against the pending block.

While Juno is syncing:

A user can simulate a transaction against the pending state and potentially get a confusing result
starknet_getBlockWithTxs with the pending param will return the empty pending block

Are these behavior changes acceptable?

starknet_getBlockWithTxs with the pending param will return the empty pending block

I think that is fine

A user can simulate a transaction against the pending state and potentially get a confusing result

This I am not sure of


Add Resources

Adds public resources
Changes Blog to News (although it's still /blog but I think that's a docsy thing)
Small copy edits

LGTM! Thank you for cleaning these up.


Update Code Climate setup instructions

👋Ale from Code Climate here. Thank you for working on this tool! I was reading the docs and noticed that they were a bit out of date. We launched a unified test-reporter last year and we are encouraging everyone to use it.

@ale7714 Thanks for your time & contribution.


Fix TPS54561 pin numbering

Pin 4 and 5 are wrong on the symbol and footprint of the TPS54561. The correct pin numbering according to the datasheet is:

Pin 4: SS/TR
Pin 5: RT/CLK

As a workaround for the current boards, a fix can be applied. By cutting the traces as, where shown with yellow color, and bridging the traces, where shown with black color, the clock would be configured appropriately. This would mean that the soft-start capabilities are lost, but would ensure proper operation at least.

Tricky to solder, but if C9 is discarded, it works.

Fixed as of 46c0f73.


[rModels] Correctly split obj meshes by material

This PR rewrites the code that converts tinyOBJ data into raylib meshes and correctly splits the meshes by material so they can be represented by raylib's meshes. This should fix issue #3576
The previous code would just blindly set all meshes to material ID 0.
This is incorrect.
The code in 4.5 would assume there was a material for each mesh, this was also incorrect and would cause a crash.
This version should handle it properly.

@JeffM2501 Added some minor comments, also CodeQL detects some unused variables, maybe those lines could be commented, jsut in case they can be useful in the future.

PR Updated with feedback

@JeffM2501 The redesign looks great to me, thank you very much for working on this improvement!


Customize Carousel Cards

Can we have the options to  customize carousel cards in webchat window at-least? Very minimal requirement for mine is changing the color of each cards as like windows tiles.

The webchat is now an open-source control that you may customize as you see fit: https://github.com/Microsoft/BotFramework-WebChat
There are instructions there as how you may develop, build, and self-host your own webchat control.


Fix whitespace

It's about time someone did this... :grin:

Haven't we just done something like this? :smile:
I would not change third-party and generated files, but the other changes seem good. You'll probably mess up all the PRs though :stuck_out_tongue:

:+1:

:clap:

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


Use .mjs for module build

This will improve compatability with Node.js

We had this a (long) while back but had to revert because it broke things for a lot of people. It might be worth reading up on some discussions there:
Introduced in
https://github.com/civiccc/react-waypoint/pull/220
Reverted in
https://github.com/civiccc/react-waypoint/pull/223
There's been a lot of water under the bridge since then however, and it might be just fine to make this change today.

The most relevant discussion seem to be in #234 and #221
I think this might've been fixed by #286 but I'm also not confident so I'm gonna close this one.
Until react-waypoint actually adds an export map to run modules in Node it doesn't give any benefit anyway.


Improve discoverability on the hub

What this does
Great to see you're leveraging the PyTorchModelHubMixin (wondering how you discovered it? ;) )
This PR aims to improve the discoverability of models pushed using lerobot on the hub. The Mixin class has undergone quite some improvements, you can now also include metadata which will get pushed automatically into the model card.
Refer to the docs: https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin
cc @Wauplin

For consistency. Or is there a special purpose I haven't seen?

To my knowledge, both VQBeT and TDMPC are always referred to as such (google search: vqbet, tdmpc) no need for "policy", while that's much less true for diffusion and ACT.

As you prefer. It feels weird to me not to have the same naming convention between diffusion-policy and vqbet for example. But I'm not from the field either so feel free to ignore

@alexander-soare, @Cadene WDYT?

@alexander-soare, @Cadene WDYT?

In response to the "policy" naming. I think Diffusion Policy is the only one that needs it in the official name. Then we decided in our code to append Policy to everything and now DiffusionPolicy is weird because in some ways it should be DiffusionPolicyPolicy.
Anyway, I think this weirdness should be isolated to just our class naming. Everything else should just be "act", "vqbet", "diffusion-policy", "tdmpc".


Advance to "@schema_prefix for Ecto schema" commit.

Coverage remained the same at 83.38% when pulling 5fe60d51cffeaf023e5980bcad31b38b497146c1 on schema-prefix into fd859072c36b4aa02947cf9d65d298a18407129d on master.


Homebrew isn't recognizing the formula?

% brew install retronym/formulas/jardiff
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "retronym/formulas/jardiff".

not sure if somehow caused by https://github.com/retronym/homebrew-formulas/pull/1 , or what? @retronym

Weird. I reproduced that problem, then poked things a bit ("brew uninstall jardiff") and it seems to work again.
brew install retronym/formulas/jardiff
Updating Homebrew...
==> Installing jardiff from retronym/formulas
==> Downloading https://github.com/scala/jardiff/releases/download/v1.6.0/jardiff.jar
Already downloaded: /Users/jz/Library/Caches/Homebrew/downloads/8d21de597dd69

that didn't work for me
and then the next thing I tried was:
% brew untap retronym/formulas
Untapping retronym/formulas...
Untapped 2 formulae (43 files, 37.4KB).

followed by:
~ % brew install retronym/formulas/jardiff                                                                  [master|✚1]
==> Tapping retronym/formulas
Cloning into '/usr/local/Homebrew/Library/Taps/retronym/homebrew-formulas'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 28 (delta 1), reused 4 (delta 0), pack-reused 18
Receiving objects: 100% (28/28), 5.45 KiB | 2.73 MiB/s, done.
Resolving deltas: 100% (5/5), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/retronym/homebrew-formulas/jardiff.rb
jardiff: /usr/local/Homebrew/Library/Taps/retronym/homebrew-formulas/jardiff.rb:9: `@1' is not allowed as an instance variable name
/usr/local/Homebrew/Library/Taps/retronym/homebrew-formulas/jardiff.rb:9: syntax error, unexpected end-of-input, expecting end
  depends_on openjdk@11
                    ^
Error: Cannot tap retronym/formulas: invalid syntax in tap!

and I get the same error if I simply brew install retronym/formulas/jardiff without the brew tap ... first

Try this one: https://github.com/retronym/homebrew-formulas/commit/57bddcc0430250b6555fa920ba56367e7cdd5d16

works!


Pretrained checkpoint

Hi.
Thank's for your research!
Could you please guide me where download the weights (pretrained checkpoint)?

@Gorodecki I don't provide any pretain model, you can train this model from scratch

What data did you use for training?  Config used a similar one in the repo?

I used LJSpeech, I add noise to LJSpeech and then tested on this repo.

I used LJSpeech, I add noise to LJSpeech and then tested on this repo. But I didn't get satisfactory results from it.

Hi there, I am trying to do the same using the augment branch but I get error related to tensor size after about 350 iterations worth of training. (Probably some specific sample causing the issue?) Any ideas?


Wrong tcx_url

Hi,
Link to download activity in .tcx format has been changed.
Now it looks like this:
https://flow.polar.com/api/export/training/tcx/1718507404?compress=true
I suggest new way to create tcx_url variable:
idActivity = filter(str.isdigit,str(self.data['url']))
tcx_url = FLOW_URL + '/api/export/training/tcx/' + idActivity + '?compress=true'

Thanks @ronek22
I don't really use my M400 anymore, so I've been neglecting this library. I'll try to make some time to update it.


How to logout user if password was changed?

Prior to all, thank you for this library and extremely detailed answers you've been giving in other issues. My problem is similar to 282  and 136.
I am stuck at the user's password reset flow. After resetting the password, the credentials become invalid. The Starter Example crashes with these steps:

Create account
Reset password from a separate browser
Click Refresh cookies w/ server action
Crash

The crash is caused by refreshServerCookies which throws INVALID_CREDENTIAL.
One of the solutions is to set checkRevoked: true, but we need figure out when exactly to do that, since keeping it true forever is not optimal. Even if I do that, until the user refreshes the page or navigates to another page, they are logged in and are allowed to execute actions on the server.
So, what is an optimal way to detect if the password was changed via a password reset email that is sent by firebase?

Hey @Finalet!

The crash is caused by refreshServerCookies which throws INVALID_CREDENTIAL.

Could you share some logs with stack trace? I'd like to know if the refresh token is rejected by Google after password change.

So, what is an optimal way to detect if the password was changed via a password reset email that is sent by firebase?

The question has basically been answered in this thread
Basically, there is no easy way to do it on the backend, since Firebase does not provide any asynchronous communication with the backend itself. Probably you could detect it on the client side. For that you'd need to remove inMemoryPersistence strategy or use signInWithCustomToken to fetch latest current user state on the client side.
The main problem lies in the fact that you have to make a call to Firebase to check if the token was revoked. When to do it – it's the problem that has to be solved by the developer depending on their use case – there's no simple solution to that

Hi @awinogrodzki!
Thank you for getting back to me. Below is the full error for your reference:
AuthError: Invalid credentials: Error fetching access token: {"code":400,"message":"TOKEN_EXPIRED","status":"INVALID_ARGUMENT"}
    at refreshExpiredIdToken (webpack-internal:///(action-browser)/./node_modules/next-firebase-auth-edge/lib/auth/index.js:103:15)
    at process.processTicksAndRejections (/Users/grantoganyan/Documents/GitHub/Pressdeck/lib/internal/process/task_queues.js:105:5)
    at async handleTokenRefresh (webpack-internal:///(action-browser)/./node_modules/next-firebase-auth-edge/lib/auth/index.js:159:60)
    at async refreshNextCookies (webpack-internal:///(action-browser)/./node_modules/next-firebase-auth-edge/lib/next/cookies/index.js:120:32)
    at async refreshServerCookies (webpack-internal:///(action-browser)/./node_modules/next-firebase-auth-edge/lib/next/cookies/index.js:181:26)
    at async RefreshCookiesAction (webpack-internal:///(action-browser)/./src/authentication/RefreshCookiesAction.tsx:23:9)
    at async /Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:157:2088
    at async handleAction (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:156:20859)
    at async renderToHTMLOrFlightImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:161:17838)
    at async doRender (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:1587:34)
    at async responseGenerator (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:1834:28)
    at async DevServer.renderToResponseWithComponentsImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:1878:28)
    at async DevServer.renderPageComponent (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:2292:24)
    at async DevServer.renderToResponseImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:2330:32)
    at async DevServer.pipeImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:984:25)
    at async NextNodeServer.handleCatchallRenderRequest (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/next-server.js:281:17)
    at async DevServer.handleRequestImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/base-server.js:877:17)
    at async /Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/dev/next-dev-server.js:373:20
    at async Span.traceAsyncFn (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/trace/trace.js:157:20)
    at async DevServer.handleRequest (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/dev/next-dev-server.js:370:24)
    at async invokeRender (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/lib/router-server.js:183:21)
    at async handleRequest (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/lib/router-server.js:360:24)
    at async requestHandlerImpl (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/lib/router-server.js:384:13)
    at async Server.requestListener (/Users/grantoganyan/Documents/GitHub/Pressdeck/node_modules/next/dist/server/lib/start-server.js:142:13) {code: 'INVALID_CREDENTIAL', stack: 'Error: Invalid credentials: Error fetching ac…/next/dist/server/lib/start-server.js:142:13)', message: 'Invalid credentials: Error fetching access t…TOKEN_EXPIRED","status":"INVALID_ARGUMENT"} '}

As for detecting the password change, thank you for your input. So far my method is to catch this INVALID_CREDENTIAL error and set a new AUTH_CREDENTIAL_ERROR cookie to true. Then, in the middleware I check if this cookie is true and set checkRevoked to true:
const shouldCheckRevoked = req.cookies.get("AUTH_CREDENTIAL_ERROR")?.value === "true";

This would throw an error in the middleware which calls handleError where I clear this cookie and force logout the user.
This works fine so far, although feels a little hacky.


refactoring RemotingServer to interface and restoring some coding sty…

fix issue: https://github.com/alipay/sofa-bolt/issues/46

最好能把sonar或者p3c之类的代码静态扫描这些的加进来  改一版

There is some conflicts, plz solve it, thank you. @DBL-X


Add support for bulk deleting in API

We're implementing bulk actions in Dashboard 2.0 (#3537) and we need to support them in API as well. I'd look at our Figma mockups in order to determine which models need that, but I'd guess that all of them.
A first action that we'll add is bulk delete. The easiest and quickest way (1) to support that is to modify our existing "delete mutations" to receive a list of IDs instead of a single ID e.g.:
categoryDelete(id: ID!) -> categoryDelete(ids: [ID!]!)
Another way (2) is to introduce dedicated bulk delete mutations:
categoryBulkDelete(ids: [ID!]!).
Originally I wanted to choose the first option but now I'm wondering if it wasn't more elegant to have dedicated mutations for that?

I would create a separate bulk API as it will return a different shape of errors should anything go wrong. Another problem is that schema gives us no way to indicate that categoryDelete without arguments is illegal and so is specifying both id and ids.

Also, if we later introduce other bulk actions, they'll be implemented as new mutations as well. If we do the same for bulk deleting now, eventually we'll have a consistent API where all bulk actions use the same naming pattern and are easy to find and understand.


M3-3083 Change: Region select

Description
New design for Region select. Comps are linked from the JIRA ticket.
Type of Change

Breaking change ('break', 'deprecate')

Note to Reviewers
Still a few lingering style questions for @alioso and Jay.
Todo:

[ ] update e2e tests (this will break many)

We don't have to do this right now as I am just about to jump into the e2e tests. I would like to make some logging a little more the norm and easier to use.
I would like to start the new style of using the .withContext(``) function on all expects so the failure reason is easier to understand.
Like this:
expect(notices.map(n => n.getText()))       .withContext(should contain Clone SLA notice text)       .toContain(cloneSLA);     expect($$('[data-qa-select-linode-header]').length)       .withContext(should be on header)       .toBe(1);     expect(selectLinodePanelText)       .withContext(incorrect panel text)       .toContain(cloneFromHeader);     expect(this.total.isVisible())       .withContext(bill total should be visible)       .toBe(true);     expect(this.total.getText())       .withContext(incorrect total value)       .toBe('$0.00/mo');     expect(this.deploy.isVisible())       .withContext(deploy should be visible)       .toBe(true);
I would like to play with a few things as well. This is looking pretty decent though.


[MRTK3] Design Polish - ObjectBar, See-it, Say-it label, Hand Interaction Examples scene

Overview

ObjectBar prefabs margin updated to align with recent button prefab updates.

See-it, Say-it label for both canvas and non-canvas buttons. Showing & hiding with StateVisualizer.

Hand Interaction Example scene updates
-- Magic window example for touch interaction example
-- Added WhiteboardExample prefab with description (indirect interaction with custom interactions)
-- Added Canvas UI example (dashboard) with description

Color option buttons added to WhiteboardExample prefab.

Non-canvas Toggle Button prefab color fix. Updated to use StateVisualizer animation

Assets info

WhiteboardMaterial.mat updated to rounded corners & proximity light
MagicWindowBackplate_190x62.mat: Material for magic window, configured with Stencil Testing, Stencil Comparison 'GreaterEqual', Stencil Operation 'Replace'
MagicWindow_190x62.fbx: Magic window geometry with rounded corners
MRTK_Standard_White_StencilObject.mat: Material for object inside the magic window. Configured with Stencil 'LessEqual' and 'Keep' to make it only visible through the magic window. Used for MRTK 3D logo and number 3 objects
MRTK_Standard_LogoGradient: Goggle area of the MRTK 3D logo with stencil effect
MRTK_SeeItSayItLabelPlate_13mm_Gradient.mat: Backplate material optimized for small label size
CanvasBackplate_SeeItSayIt.mat: Backplate material optimized for small label size (used with CanvasElementRoundedRect)
MRTK_Stageplate_1cm.mat: Backplate material for thick stage/table shape. Used in HandInteractionExamples scene
MRTK_Logo_Number3.glb: Number 3 shape model

Screenshots
ObjectBar prefabs margin updated to align with recent button prefab updates.

See-it, Say-it label fixed for non-canvas button prefabs. Material fix, show & hide with StateVisualizer
See-it, Say-it label added to canvas button prefab (Action Button.prefab)

Label show & hide animation added to NonCanvasButtonActiveFocus.anim
Before & After:

https://user-images.githubusercontent.com/13754172/179468556-7523cc0e-4ace-41b4-b726-c498a476f9be.mp4

Smooth show & hide with the alpha transition will be added later when below MRGT PR updates are available for MRTK3
https://github.com/microsoft/MixedReality-GraphicsTools-Unity/pull/76

Hand Interaction Example scene updates

Added WhiteboardExample prefab with description (indirect interaction with custom interactions)
Color option buttons added to WhiteboardExample prefab. Added proximity light to the Pen.prefab
Added Canvas UI example (dashboard) with description

Replaced touch examples with Magic window example. MagicWindowExample.prefab (MRTK 3D logo rotates on touch)

Toggle button state color fix (non-canvas)

Created NonCanvasToggleSwitchBackplate.anim which controls the Fade Out property
Updated NonCanvasAuthoringController.controller for in-editor validation & testing

@cre8ivepark , does the see-it-say-it design have signoff from Ramiro? It looks a little, odd, in my opinion... it also doesn't fit any of the variants in the Figma.

@cre8ivepark , is there some good way we can make the see-it-say-its optional/opt-in, say, perhaps only when a speech interactor/system is available?

@cre8ivepark , does the see-it-say-it design have signoff from Ramiro? It looks a little, odd, in my opinion... it also doesn't fit any of the variants in the Figma.

Synced with Alex and decided to go with this design since it is a natural alignment & transition from the version we had in Sydney + rounded pill style update gives good visual separation from other UI backplate elements. And we need the backplate for the text legibility.

@cre8ivepark , is there some good way we can make the see-it-say-its optional/opt-in, say, perhaps only when a speech interactor/system is available?

That would be a great improvement. Is it something you can help with? Directly in this PR or as a separate PR?
It seems it requires some technical tweaks since it involves a Speech interactor + StateViz control.

We shouldn't add a ProximityLight to the pen, because it will interfere with the maximum-of-two proximity light count.

I don't think we should add the big Canvas example to the hand interaction example scene. It could cause performance issues, especially if we're trying to compare the v2 hand interaction example to v3. (v2 didn't have a large multi-layered UI panel in the scene, so it's a bit of an unfair comparison)

Following our previous discussion, I do think that the SeeitSayit should start out as a separate component for now, and let people add them if they want. Then, we can add the seeitsayit to the actual button prefab once we figure out a good way to only show them on demand. (This will reduce the breakiness of the prefab changes.)

Removed See-it, Say-it label property from both canvas & non-canvas buttons.
Removed the Proximity light from the Pen prefab.

I don't think we should add the big Canvas example to the hand interaction example scene. It could cause performance issues, especially if we're trying to compare the v2 hand interaction example to v3. (v2 didn't have a large multi-layered UI panel in the scene, so it's a bit of an unfair comparison)

We did have UGUI layout examples and volumetric canvas button examples in the scene. I see your perf concerns. Do you think the new one is much more complex compared with the previous ones? Since this scene is the most widely used MRTK example scene for investigations and demos, it would be great to showcase canvas-based volumetric UI here which is much better than previous examples in MRTK2 :)
Actual perf data will be helpful for this. I'll try on-deivce profiler and see if we need to simplify the canvas example to keep the scene running on 60fps. Thanks!

I don't think we should add the big Canvas example to the hand interaction example scene. It could cause performance issues, especially if we're trying to compare the v2 hand interaction example to v3. (v2 didn't have a large multi-layered UI panel in the scene, so it's a bit of an unfair comparison)

We did have UGUI layout examples and volumetric canvas button examples in the scene. I see your perf concerns. Do you think the new one is much more complex compared with the previous ones? Since this scene is the most widely used MRTK example scene for investigations and demos, it would be great to showcase canvas-based volumetric UI here which is much better than previous examples in MRTK2 :) Actual perf data will be helpful for this. I'll try on-deivce profiler and see if we need to simplify the canvas example to keep the scene running on 60fps. Thanks!

I think perf wise it should be fine, especially with the relatively small size of the UI example.
MRTK2 perf snapshot:

MRTK3 perf snapshot:

I noticed that the whiteboard allows for every interactor to interact with it, which leads to some pretty weird drawings when inadvertently touching the board due to the poke interactor glancing against it, or the gaze interactor accidentally triggering a gaze-pinch.
Looking to alleviate this by creating a new "Whiteboard" interaction layer and changing our interactors to only target the Default Interaction Layer Mask

@cre8ivepark , it looks like the Whiteboard UI changes aren't built with Canvas... do we want to take this time to redo that Whiteboard UI in Canvas?

Resolved offline. Reverting rig prefab changes back to "Everything" and then apply a scene override to prevent Whiteboard interactions.

Implemented the changes here. Everything with the whiteboard should be as it was prior to: https://github.com/microsoft/MixedRealityToolkit-Unity/pull/10751/commits/8a3b1f2f0240e6bd5386e7231622bbe74ca2638e.
Some other changes were made, the end result is as follows:

The pen should be able to interact with all objects, acting like a poke interactor on the end of the pen
The whiteboard now does not accept interaction from IGaze, IRay, and the CanvasProxyInteractor. This is because
Gaze interaction does not give feedback that the user is currently targetting the whiteboard, and does not give good feedback as to where the user is initiating their draw
Far Ray Interaction locks the cursor to the whiteboard while the drawing occurs, making the motion of drawing unintuitive
Interacting using just the mouse cursor via the CanvasProxyInteractor has inconsistent and unintuitive behavior once the mouse cursor goes off the canvas while holding down a click.

@cre8ivepark , it looks like the Whiteboard UI changes aren't built with Canvas... do we want to take this time to redo that Whiteboard UI in Canvas?

Updated Whiteboard to Canvas UI. Question: is it possible to make the whiteboard Quad expandable and fill a canvas area? I couldn't figure out how to do it so manually sized for now.

I spent some time trying to figure out if it was possible to use an Image or RawImage instead of a quad to facilitate the drawing code, but couldn't figure out how to do it. I think for the sake of the example it's ok to leave the scaling kind of wonky, though if we were to bring the canvas into MRTK as a new supported UX component, we need to do more work to figure out how to get it scaling nicely within a canvas layout.

Our non-UI examples didn't provide visual feedback for hover/focus. Added visual feedback example to Earth and Heart objects using StateVisualizer for better Gaze + Pinch and other interactions. The outline effect is using MRGT's MeshOutline script and thickness animation is controlled by StateViz. Brought some outline materials from MRTK2.
Selectedness amount applied to Rim Light property's power to highlight the object on pinch.
https://user-images.githubusercontent.com/13754172/183239545-3276ffd1-ed4a-4046-9447-dd66b2fd0184.mp4

Oh no :( The piano no longer has any sound!

Oh, I found that only mouse input was not working because the audio was assigned to the individual select events (poke, ray, gaze pinch). Removed them and reassigned the event to XRI Events > Select Entered. Now mouse click also works well.
Piano prefab updated.


Add link to ROS QoS Policy docs to spec registry

Update the ros2 profile section of the registry with more details about the expectations for offered_qos_profiles and link to the official ROS docs.
Fixes: #1002

I do wonder if it would be more appropriate for the ROS docs to define these aspects of the profile and the MCAP registry links to those docs for details on the profile.

@MichaelOrlov @jhurliman fyi - if you have feedback.

@defunctzombie My apologies, a bit busy and don't have time to consider this PR.
However, I can get back to it after Thanksgiving holidays.

LGTM

Maybe reword the first sentence The sequence of the QoS policy values for the topic in yaml format?

👍 sounds good. Do you know what the format of this sequence would look like? Would it be a typical yaml sequence of the existing QoS "objects"? The above code makes it look like it will always be a sequence even with 1 element. Is that correct or does the serialization of the vector special case single element vectors?

It is going to be always a YAML sequence.
The implementation is https://github.com/ros2/rosbag2/blob/542bda34358d03acf3c15228a60859e62f5b69ba/rosbag2_storage/src/rosbag2_storage/qos.cpp#L252-L259
Node convert<std::vector<rclcpp::QoS>>::encode(const std::vector<rclcpp::QoS> & rhs, int version)
{
  Node node{NodeType::Sequence};
  for (const auto & value : rhs) {
    node.push_back(convert<rclcpp::QoS>::encode(value, version));
  }
  return node;
}


Scripted policies for ML1 environments

[ ] reach
[ ] push
[ ] pick-place

Just waiting on review for PR #91


feat: add favicon and og image

added og image (fil- based) and favicon
cant seem to test og image on preview branches but the meta tags are there when we inspect the page

seems like we're not able to see ogimage previews on these links because nextauth demand that visitors to the ogimage url be authenticated
after digging a little deeper, it seems we might not need a configuration pattern like "auth for all pages except xyz", but should instead go for "auth required for pages abc"
let's update middleware to only require auth for the path /submit for now. the other pages can handle auth sessions individually, either by allowing partial content, or by appending the route to the middleware matched
cc @Jaylin0312

seems like we're not able to see ogimage previews on these links because nextauth demand that visitors to the ogimage url be authenticated (favicon works for me, likely cause it was excluded in nextauth)
after digging a little deeper, it seems we might not need a configuration pattern like "auth for all pages except xyz", but should instead go for "auth required for pages abc"
let's update middleware to only require auth for the path /submit for now. the other pages can handle auth sessions individually, either by allowing partial content, or by appending the route to the middleware matched
cc @Jaylin0312

thanks for investigating, made the change to our middleware and checked that og image is working using linkedin post inspector


Logging added to working Secondary features

Logging added to working secondary features, and decorators added to most secondary features

@rbilden Could you switch Cortex to this branch and test hometime out after doing the LAMP_SERVER_ADDRESS change that @jlavoie9 shared yesterday? Share your cell output/logs here too!

@rbilden Hometime merged into master, so please test

still seems to be running slowly--started running it ~10 min ago

@rbilden Your configuration still looks wrong based on what @jlavoie9 discovered yesterday! Please fix that and restart the kernel. You should never use LAMP.connect() if you're using Cortex.

@avaidyam got it, still not working it stays on the above screen and then I get the following message

@rbilden Your configuration still looks wrong based on what @jlavoie9 discovered yesterday! Please fix that and restart the kernel. You should never use LAMP.connect() if you're using Cortex.

To confirm, LAMP.connect has no effect on cortex. Delete your LAMP.connect and add os.environ['LAMP_SERVER_ADDRESS']='api2.lamp.digital'. Your access key and secret key are also taken from environment variables.

@rbilden You may have to close/reopen your IDE since it looks like Jupyter is what broke from your screenshot.

@avaidyam I did try that

still seems to be running slowly--started running it ~10 min ago
@ryan-hays

To confirm, do you have master checked out? In the screenshot it looks like you are working on update_hometime

@ryan-hays yes, my bad that was the wrong screenshot. I have switched and am still getting the same issue.

As in, it's not showing any logs about what it's doing? Can you confirm what the logs SHOULD look like, @rydmel?

@rbilden Did you git fetch  or click the cloud with a down arrow at the top to get the latest changes

@avaidyam I had recloned the cortex repo when I couldn't get the extension to work earlier.