Problem with laravel  installing via composer

When I have tried to install composer for laravel 8 on XAMPP localhost (on Macbook pro- on the path /Applications/XAMPP/xamppfiles/htdocs/the my project folder), and when I have run first command:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
I have gotten this message in command line (terminal): -bash: /Applications/MAMP/bin/php/php7.4.16/bin/php: No such file or directory
further to, I have found the following information:
You need to install XAMPP for Windows, MAMP for Mac OS and Apache with PHP 5 on Linux.
on :
https://nmgtechnologies.com/blog/web-application-php-laravel-framework.html
(in requirements for Laravel section)
For that, I have installed localhost MAMP, then I have tried installing composer on MAMP by running 4 commands that existing on https://getcomposer.org/download/.
Commands 1 & 2 were OK, but for command 3, it gave me errors as follow:
*The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed Retrying... The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed Retrying... The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed The download failed repeatedly, aborting.
So, I opened php folder (first one) in the following path: /Applications/MAMP/bin/php/php7.4.16/bin/php and I found other versions expect required one (php7.4.16),so I installed it, but when I opened its folder, I found its subfolders are different of other versions, and it doesn't contain same folders (bin, php) in the path. for that, the installing is failed (command 3)
NOW:
Should I use and complete installing with /MAMP, could me to install on XAMPP also?
how to solve this problem?
Thank you for my helping in advance.

NOTE:
I have installed from composer linking that in lavarel 7 section, because I didn't found in lavarel 8 section.


feature/CE-410: update/save File Review

Description
Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.
Fixes # (issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Further comments

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

@Scarlett-Truong  - Once the reviewer has been added, the edit button was disabled for the section, was this a requirement?  I couldn't see it on the user story.


Trunk command doesn't work

Checklist

[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
It seems trunks are broken in the Python library
Reproduction steps

...
Debug logs
No response

Fixed


Githubdom merge

This branch is not yet ready to merge into master
I just want to open up the discussion as to how to resolve the remaining issues. Namely, voting does not function. When a user votes on the demo repository while the demo script is running, the modal returns text saying, "Something went wrong".
On the plus side, Oauth is done with one click, tokenizing a repo is functional, the voting buttons render in the Github DOM, and best of all: the Github DOM renders normally while the extension is running.
This was done by removing the React render from inject.js, putting it in popup.js and code splitting the Webpack bundles.
Now everything to do with the extension is done in popup.js which is bundled to extension.bundle.js and everything to do with the browser is done in inject.js which is bundled into inject.bundle.js and never the twain shall meet, so to speak.
This way, the CSS files for our browser extension are no longer being injected into the source code of Github pages in the browser, which was the cause of Github pages appearing broken while the extension was running.
To the remaining issue of voting: it appears calls to localhost:4001 are failing. I am unsure if this is an extension issue or a turbo-src-service issue
Before:

Note the style sheet for the web extension, as well as Bootstrap's style sheet (not pictured), are being injected into the Github DOM.

After:

Github DOM appears as normal while extension is running.
Note, the CSS in the extension is a bit wonky now, but can easily be fixed by correcting the CSS, it is not a compiling issue or a bug.

Yea actually this good to merge. Thanks.


Expand deployment guide

Discuss deployments using some of the more popular web servers and cloud providers. This guide should only provide high-level guidance, and defer to the relevant project/vendor docs for details.
WSGI servers

uWSGI
Gunicorn
Twisted
httpd

Short discussion on reverse proxies, load balancers:

HAProxy
Nginx
httpd
lighttpd
Appliances (e.g., F5)
IaaS (e.g., ELB, Google Cloud LB)

Cloud providers:

AWS
Google
Microsoft
Digital Ocean
Heroku

See also:

http://bottlepy.org/docs/dev/deployment.html
http://werkzeug.pocoo.org/docs/0.11/deployment/
https://redmine.lighttpd.net/projects/lighttpd2/wiki/Howto_WSGI

@kgriffs can I take this on me?

@anekix go for it, thanks!

Hi @anekix, just following up, were you still interested in taking this one?

OK, I'm assuming this one is fair game for anyone else who would like to pick it up. :)

I have some examples of working with uWSGI & NGINX. What would be most helpful? An example configuration file and maybe a wsgi.py file for how to attach an app to an uWSGI master?

Related: https://github.com/falconry/falcon/issues/899

@nZac I think it would be great to have a page added to the doc with sections for difference deployment scenarious and a TOC at the top. uwsgi + nginx would be a great first addition to that page.

For Gunicorn, you can reference the official Deploying Gunicorn docs which I found very helpful recently.
I think it would be good to make a recommendation on which workers are recommended.  In my testing of a little hello world app, meinheld workers performed the best with Falcon.
           falcon
--------- ---------
eventlet     19.94k
gevent       19.95k
gunicorn     13.28k
meinheld     70.62k
uwsgi        errors

I would really like to see some recommendations on uWSGI settings too as I would constantly see socket errors when smashing uWSGI with load.
Tested on the following instance:
AMI: CentOS 7 (x86_64) - with Updates HVM
Type: t2.2xlarge
vCPUs: 8
Memory (GiB): 32
Python: 3.6.5 (from IUS YUM repository)
With the following test command:
wrk --duration 10s --threads 1 --connections 200 http://wsgi:8000

And the following Gunicorn command:
gunicorn \
  --workers 17 --worker-class=meinheld.gmeinheld.MeinheldWorker \
  --bind <IP_ADDRESS>:8000 \
  hello_falcon:app```

And finally here's the Falcon code:

```python
import falcon

class HelloResource(object):
    def on_get(self, req, resp):
        resp.body = 'Hello World!'

app = falcon.API()
app.add_route('/', HelloResource())

To be honest, in all my testing thus far, I'm just not convinced of PyPy's performance once you add the WSGI server in, hence my issue #1309 so I'm keen to see your suggestions on deploying with PyPy too 😄
Keep up the great work!
Fotis

Hope it's OK if I post another little tip I've learned here.  If you are deploying with Gunicorn, it's important that you configure logging to write to Gunicorn's error logger or it won't log correctly during deployment.
To make this easy, I add the handler to the root logger like so:
# Configure the root handler log level and ensure that it is set to send logs
# to Gunicorn's error logs.
gunicorn_error_logger = logging.getLogger('gunicorn.error')
logging.root.handlers.extend(gunicorn_error_logger.handlers)
logging.root.setLevel(gunicorn_error_logger.level)

Perhaps the suggestion could then be that resources simply inherit this log level:
logger = logging.getLogger('app.endpoint')
logger.setLevel(logging.root.level)

Or of course, they can override it.
Hope this helps
Fotis

I find the gunicorn + meinheld deployment very easy to set-up
@see https://github.com/the-benchmarker/web-frameworks/blob/master/python/falcon/Dockerfile#L12

Hi @fgimian, did you managed to have PYPY to work with Falcon + Gunicorn?


Segmentation Fault

I installed with cargo install cargo-crev. Going through the quickstart guide, cargo crev repo fetch all seg faults, as well as many other commands. I'm on Arch linux, rust installed with rustup.

https://github.com/crev-dev/cargo-crev/pull/473 probably a dup
Try the git version


Regenerate spi layer and update

Regenerate spi layer with resource names
Update to use resource names instead of formatting methods

LGTM after tests pass

Coverage increased (+0.03%) to 83.537% when pulling f4bcc1074baaa0495061d5436a7e761e735574b8 on michaelbausor:update-logging-vkit into b24ec1af5f616b6f412d6ba172b45169d45ffdeb on GoogleCloudPlatform:master.

Coverage increased (+0.03%) to 83.537% when pulling f4bcc1074baaa0495061d5436a7e761e735574b8 on michaelbausor:update-logging-vkit into b24ec1af5f616b6f412d6ba172b45169d45ffdeb on GoogleCloudPlatform:master.


clock problems

"Time's up" does not display when counter = 0
counter keeps counting below 0 (keeps updating state into neg numbers)

resolved with commit 86061b4f84674cb81cbcaf9acb14b1d67e24b077


How hard would it be to implement drag and drop for the file directory example?

Go to https://www.ag-grid.com/
Scroll to the bottom for the example with the file directories.
How hard would it be to implement drag and drop for that (for React)? Any hints or tips for getting started? Not asking for a general solution... just for file directories like the example.

Thank you.

It should not be that hard (I've done it using an angular d&d directive which I put on the rows using the processRowPostCreate callback, not sure how it's working using react).
In each case I think #780 needs to be merged because you are not able to get the 'dragstart' event otherwise.

agreed, nothing difficult, standard practices should apply. i'll be released with #780 in a few hours.


Release v2.0.2

Purpose of this PR
Cherry pick the following commits and release Spark operator v2.0.2:

Add check for generating manifests and code (#2234)
fix: webhook panics due to logging (#2232)
Remove cap_net_bind_service from image (#2216)
Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4 (#2204)
Bump github.com/aws/aws-sdk-go-v2/config from 1.27.33 to 1.27.42 (#2231)
fix: spark-submission failed due to lack of permission by user spark (#2223)
fix: imagePullPolicy was ignored (#2222)
Bump golang.org/x/time from 0.6.0 to 0.7.0 (#2227)
Bump manusa/actions-setup-minikube from 2.11.0 to 2.12.0 (#2226)
Bump cloud.google.com/go/storage from 1.43.0 to 1.44.0 (#2228)
Bump github.com/aws/aws-sdk-go-v2 from 1.31.0 to 1.32.0 (#2229)
Update integration test workflow and add golangci lint check (#2197)
Bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.58.3 to 1.63.3 (#2206)
Bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible (#2125)
Bump golang.org/x/net from 0.28.0 to 0.29.0 (#2205)
Bump github.com/aws/aws-sdk-go-v2 from 1.30.5 to 1.31.0 (#2207)
Fix ingress capability discovery (#2201)
FEATURE: add cli argument to modify controller workqueue ratelimiter (#2186)

/assign @vara-bonthu @jacobsalway @ImpSy


Fix relation fields in indexes in datamodel converter

The crash was happening when building the Index from the IndexTemplate.

@pimeys  do you want to review this? I tried to avoid touching the query engine as much as possible and just fix the datamodel converter, since that code is probably going to change very soon.

This should fix https://github.com/prisma/prisma2/issues/1377

Talked with @mavilein about it - this will be completely overwritten by the AUMFIDARR work, so I'll close this PR.


SPI and REST documentation additions

@rec Here's some stuff I put together today for documentation. I'm not sure how to compile this into documentation so I don't know that I don't have some syntax issue. If you have something to point me in the right direction for that, I'll be glad to give this better testing.
Also, if you have any other input or critique, I'll gladly rework this PR and try again. Just let me know.
This PR includes two things.

Added some SPI examples to the driver and drivers sections.
Created an introduction to the REST API in the topical section.

I found http://rst.aaroniles.net/ and tested my stuff. I found some corrections and submitted them. I'm hoping that'll deal with the failure above, but not sure.

ARG.  Hang loose.  I see these CI errors on a fresh branch, but cannot reproduce them locally!
My theory - something changed with flake8.  This has happened to use before... :-/

Ah, that's it all right.  Swine!
I'll send out a fixup request in the next few moments.

All right - I committed it - give this a try!
git remote add upstream git@github.com:ManiacalLabs/BiblioPixel.git
git fetch upstream
git rebase upstream/dev

If you get any hangup at all, type:
git rebase --abort

and I can go over it with you.

URG, and I missed a key point - which is that I love the actual changes themselves!  :-D  (Sorry, I got distracted by the annoying test breakages, breakages that were not our fault...)
My only slight issue is that I'd love to rebase them into one, just for neatness.
I can do that for you, keeping your authorship of course, and then even help you bring that back into your client for you to fiddle with.
To remind myself - I'll have to merge some of these changes into my documentation branch, because I moved files around...

Having a spare instant, I squashed your changes into one here:  https://github.com/rec/BiblioPixel/commits/flickerfly-dev

Thanks Tom!
On Sun, Oct 28, 2018, 8:32 AM Tom Swirly<EMAIL_ADDRESS>wrote:

Having a spare instant, I squashed your changes into one here:
https://github.com/rec/BiblioPixel/commits/flickerfly-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/pull/1026#issuecomment-433710760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHUldst8CwCmu6my9-HgXs6mCIAD5U0ks5upb_pgaJpZM4X9DdB
.

So I can submit a pull request with that,
or you can pull that commit over to your branch there and then force push
and then submit...!
git remote add rec git@github.com:rec/BiblioPixel.git
git fetch rec
git reset --hard rec/flickerfly-dev
git push --force-with-lease
On Sun, Oct 28, 2018 at 4:29 PM Josiah Ritchie<EMAIL_ADDRESS>wrote:

Thanks Tom!
On Sun, Oct 28, 2018, 8:32 AM Tom Swirly<EMAIL_ADDRESS>wrote:

Having a spare instant, I squashed your changes into one here:
https://github.com/rec/BiblioPixel/commits/flickerfly-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/ManiacalLabs/BiblioPixel/pull/1026#issuecomment-433710760
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAHUldst8CwCmu6my9-HgXs6mCIAD5U0ks5upb_pgaJpZM4X9DdB
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/pull/1026#issuecomment-433715484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdsnLRA9pPzyEqBZA-wiCmpR153zX8ks5upc1BgaJpZM4X9DdB
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com


No album art

Album art is not showing, despite checking the checkbox.

Sorry for the late reply! Will take care of that in the next release!

Fixed in 0.3.0!


termscp: migrate to by-name, new apply sdk, refactor

Depends on https://github.com/NixOS/nixpkgs/pull/355461
Related: #354146, I can't test the darwin changes but they should be good.
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.

@ofborg build termscp

2 tests failures on darwin (from ofborg)
system::watcher::test::should_poll_file_removed
>     system::watcher::test::should_poll_file_update
would you mind just disabling them (at least for darwin) ?

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355503

x86_64-darwin

:white_check_mark: 1 package built:

termscp


Voms proxy fake (SOFTWARE-2967)

Migration instructions for VOMS-proxy-fake

@efajardo - I think you forgot to commit a file?
I don't like the branding of voms-proxy-fake.  Let's call this "Direct VOMS Extension Generation".

An RPM for what, containing the script? And which automated script are we talking about, the one containing voms-proxy-fake, the one that we currently have in the documentation [here|http://opensciencegrid.github.io/docs/other/install-gwms-frontend/#example-of-automatic-proxy-renewal], or both?

I think if we write a script (which I think we should not)this should go in the glideinwsm frontend subpackage.
That script that is mentioned there no one used, simply caused it is too rigid. IMHO, I would just get rid of all of this section.
The thing is each frontend is different some have three proxies some have four with different DN's. I like the idea of the most simple expression of this in the docs. Then the admin of the frontend can add any other complexity he wants. But maintaining a catch all proxy generation script is a real waste of time.

If every frontend is its own special snowflake whose configuration couldn't possibly be documented, we should replace the entire proxy renewal section with "Contact the OSG for help". I don't think this is the case so we just need to capture our recommendations (automatic renewal via cron, use voms-proxy-fake under some conditions, voms-proxy-init under other conditions) and provide step-by-step instructions. I'm imagining an example of a script that looks like [this|http://opensciencegrid.github.io/docs/data/load-balanced-gridftp/#required-configuration]

@brianhlin  as someone who manages multiple frontends, My advise would be to have the most barebones script in the doc, like it is now. And from there frotnend admins can adapt it to their needs. Rather than maintaining a catch-all do no good script.

I still don’t see anything that a frontend admin needs to do that can’t be caught in a config file. Lets work it from the JIRA side for now.
Basically, for each proxy an admin needs (at least one, but often multiple):

real or “fake”
which attributes are needed
where to write the output.
frequency of update.

Seems we can provide much more value here.

JIRA ticket here: https://jira.opensciencegrid.org/browse/SOFTWARE-3022


OTE05: Update J-FRAME values

This PR updates the FGS J-FRAME values as part of OTE-05 Alignment Matrix CAR. Tagging @tonysohn for visibility

Data has been approved by @tonysohn in JIRA ticket JWSTSIAF-217


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
0a5cc32 -> 4d3c7e4

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.10.8 -> v1.10.10

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.10.10
Compare Source
Bug Fixes

fixed a bug in upgrade test (#&#8203https://github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/issues/579es/579)) (8d18919)

v1.10.9
Compare Source
Bug Fixes

deps: update module golang.org/x/crypto to v0.11.0 (#&#8203https://github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/issues/578es/578)) (7d3a4ef)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline


No contributing guideline.

contributing guideline is empty.
Hacktoberfest certified, I could help with this. 😇

contributing guideline is empty. Hacktoberfest certified, I could help with this. 😇

You can certainly create one and we can review


Display snapshot date when using restic find

This PR addresses https://github.com/restic/restic/issues/2072 (besides the sorting)
What is the purpose of this change? What does it change?
Display the snapshot date in the output of restic find:
Found matching entries in snapshot 58c2c189 from 2019-03-19 08:55:42
Was the change discussed in an issue or in the forum before?
closes #2072
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #2271 into master will decrease coverage by 4.6%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2271      +/-   ##
==========================================
- Coverage   51.09%   46.49%   -4.61%
==========================================
  Files         178      174       -4
  Lines       14546    14510      -36
==========================================
- Hits         7433     6746     -687
- Misses       6042     6763     +721
+ Partials     1071     1001      -70

Impacted Files
Coverage Δ

cmd/restic/cmd_find.go
35.69% <100%> (ø)
:arrow_up:

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.83%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-74%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
34.69% <0%> (-57.15%)
:arrow_down:

cmd/restic/cmd_mount.go
13.75% <0%> (-42.5%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-7.41%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-7.02%)
:arrow_down:

internal/checker/checker.go
66.59% <0%> (-3.67%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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

It looks like this was addressed in c012fccd22e9e6d812817382f1c759faf9ba512b making this PR effectively "already merged" (albeit with different formatting).

@lorenzbausch Thanks a lot for this PR. Can you please rebase it on the latest master? I'd like to merge it once that's done.

@rawtaz thank you for getting back on this PR. I've rebased it on the latest master.

Thank you :+1:


Add try/except around running webpack in production with error message about memory issues

At present, one of the most common ways for upgrading a Zulip server to fail (based on reports we get) is webpack failing due to OOM issues.  We have attempted to prevent this via da84b19aea57121424acc8982e857bda20672e1d.  But that's a very tuning-sensitive value; if webpack memory consumption increases for whatever reason, we can still OOM kill.
So as a defense in depth layer, we should provide a clear error message when webpack fails that the first thing the user should try is running scripts/stop-server and then rerunning the upgrade tool.
See https://chat.zulip.org/#narrow/stream/9-issues/topic/Upgrade.20error.20webpack-cli/near/1274193 for more context.

@zulipbot claim

Hi @timabbott. I think I can do this, Can you manually assign me this issue?

One current workaround without any code change is to enable swap if you haven't done so.


nice work. could you provide amc2023 and aime 2024 dataset and evaluation script

nice work. will you release amc2023 and aime 2024 dataset and evaluation script which was posted on https://x.com/tongyx361/status/1815112376649134172

Sorry that the evaluation on AMC2023 and AIME2024 is conducted by the Numina team, so I don't have the exact evaluation datasets and scripts.
You can try

opening an issue in their repo.,
constructing your own versions with the AOPS dataset provided in the repo., which does not include the problems in 2024,
crawling from the AOPS website.


Large array std is different from numpy (CPU)

I am trying to understand this behavior. When my array gets larger in size, the calculation for std is different from numpy even for obvious or basic array of ones. In fact, the difference between cupy std and numpy std exacerbates for arrays with completely random values.
import numpy as np
import cupy as cp

cp.cuda.Device(0).use()
x = np.ones((13000000, 269)).astype('f4')
x_cp = cp.array(x)

vcpu = x.std()
vgpu = x_cp.std()
vcpu,vgpu

>>> (0.0, array(0.9225852, dtype=float32))

Python version: 3.6
CUDA version: 10.2 & 11.1
cupy version: 9.6.0
OS: RedHat 7.4

Thanks for reporting, @jalalirs! The problem should be fixed in the upcoming release this month.


required not working when intializing ngModel with a value

When initializing the ngModel with some value, if the input is cleared the validation doesn't trigger.

fixed in 1.1.0


Fix for es6 js challenge use   to import

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #41528

@CoolBlueDesigns It appears you need to perform a rebase on this PR because 12 of the 13 changes are already on main.
You can do:
git pull --rebase upstream main

then
git push --force origin


feat: add cron scheduler using jobs model

:tada: This PR is included in version 1.54.0 :tada:
The release is available on:

v1.54.0
GitHub release

Your semantic-release bot :package::rocket:


Add ARM64 Support

What would you like to be added:
Support for ARM64 architecture.
Why is this needed:
To enable the deployment of multus on ARM based Kubernetes clusters.

If the Multus community is interested in accepting this, I've started a PR at https://github.com/intel/multus-cni/pull/555


[beta] Duplicated components when using Nuxt.js

Version
5.0.0-beta.1
Browser and OS info
Firefox 62.0 (64-bit) / Ubuntu 18.04 64-bit
Steps to reproduce

Spin up a simple nuxt app (eg. this reproduction repo).
Open the app in the browser
Look into the Vue Devtools
See the problem

]
Related: https://github.com/nuxt/nuxt.js/issues/3894
What is expected?
No duplicates
What is actually happening?
Duplicates

I don't use nuxt but also have the same issue in 5.0.0-beta.1

Good to know! @sqal
I also see weird Vuex states there :thinking:

Could you try again with 5.0.0-beta.3?

@Akryum It gets rid of the duplicate but it still shows a transition component.

@Akryum yup, new verse has fixed this problem for me 🎉

I'm still having the same issue as of 5.1.1. Anyone still able to reproduce the problem?


Flow on sending transaction on CKB-Axon bridge

Axon doesn't exactly comply with IBC interfaces. There are two problems we have to solve

Make sure the forcelay main flow won't block IBC interaction
Transaction sending, mainly on building request.

This issue discusses the second problem. Though we have had some dicsussion before, I still want to put it here for later follow-up and implementation.
Status quo
The method send_messages_and_wait_commit in trait Endpoint is the only entrance to send transaction. The accepcted parameter is TrackedMsgs:
pub struct TrackedMsgs {
    pub msgs: Vec<Any>,
    pub tracking_id: TrackingId,
}

It is a protobuf-encoded data. Hopefully thanks to the unique tracking_id we can distinguish what the real type it should be decoded to. The decoded types are various Msg, like MsgConnectionOpenTry, which is constructed by worker.
pub struct MsgConnectionOpenTry {
    pub previous_connection_id: Option<ConnectionId>,
    pub client_id: ClientId,
    pub client_state: Option<Any>,
    pub counterparty: Counterparty,
    pub counterparty_versions: Vec<Version>,
    pub proofs: Proofs,
    pub delay_period: Duration,
    pub signer: Signer,
}

Here is how it is constructed in real flow.
CKB interface
Here is an example of IBC interface on CKB contract
pub fn handle_msg_connection_open_try(
    client: Client,
    old_connections: IbcConnections,
    new_connections: IbcConnections,
    msg: MsgConnectionOpenTry,
) -> Result<(), VerifyError>

The most important field in msg is proof, which is a rip-encoded bytes of ObjectProof (It is possibly changed in the future)
pub struct ObjectProof {
    pub tx: Transaction,
    pub tx_root: H256,
    pub tx_proof: Vec<Vec<u8>>,
    pub receipt: TransactionReceipt,
    pub receipt_root: H256,
    pub receipt_proof: Vec<Vec<u8>>,
    pub idx: u64,
    pub block: Block,
}

Building request
The main flow constructs Msg with the help of query methods provided by CKB endpoint. Here is an example.
Consideration

We can't depend on the main flow to get data we need as it is hard to implement all query methods semantically on CKB endpoint. Before calling send_messages_and_wait_commit we may just get a MOCK msg parameter and the real request should be constructed all over again in this method. The main issue here is to avoid main flow blocking our logic.
Old status (e.g. old_connection) are stored in witness of IBC cell onchain. We can get all IBC cell at first and check if it is needed after deserializing witness.
Proof: if we have the transaction hash then it is possibly to get the corresponding transaction, receipt and block by RPC. But the feasibility should be checked as the needed fields are too complicated and too many.

No idea

How to build new status (e.g. new_connection)? Though these types have the same fields with IBC types, but it seems we won't verify all. Which is needed, which just acts like placeholder?

Security

[ ] How to link data and proof? That is, how to make sure that:

The receipt is for the corresponding IBC transaction on counterparty chain.
The block indeed contains the IBC transaction

[ ] client is the Axon client status for proof. But CKB contract caller provides both client and transaction proof. It seems like a man verify itself.

Solution: verify that submitted client is on CKB chain.

client is the Axon client status for proof. But CKB contract caller provides both client and transaction proof. It seems like a man verify itself

don't forget we have axon light-client on CKB chain which is used to check the BLS signature in one Axon's block, so the problem is we indeed provide the block itself but we DO NOT verify it only using the data from block, we also use on-chain light-client to verify which we can trust and maintained by Axon chain

How to build new status (e.g. new_connection)? Though these types have the same fields with IBC types, but it seems we won't verify all. Which is needed, which just acts like placeholder?

not yet, we can verify all of those fields in the object like the Connection, in original IBC protocol, Connection object is written in the consensus-state-root, so the counterparty can build a new Connection according to its knowledgement, but in Axon we can't do that, we should firstly verify the existence of ibc transaction and then check out its event parameters which contain a expected Connection object, and back to the CKB, we can verify those two Connection objects in the contract which one is in new_connection msg and another one is in event parameters


update ebook link of dasar pemrograman golang

What does this PR do?
Improve Repo
For resources
free Indonesian ebook link: dasar pemrograman golang
Why is this valuable (or not)
because the current link pointing to the github repo. it would be better to point to the consumable public url of the particular ebook
How do we know it's really free?
it's free. I'm the author of the ebook
For book lists, is it a book?
yes
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Agreed. Welcome to free-programming-books!

thank you


ADD DIR: Command Line Tools

Added a Directory containing popular command line tools for Windows 10 users.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: jebeld17 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Is this the PowerTools project? Or is it not publicly released to GitHub yet?

Is this the PowerTools project? Or is it not publicly released to GitHub yet?

This is the PowerTools project. Most everything, at this point in time, is a placeholder until MS releases the code to the Git.

Ah, I see. Like Windows Terminal before it got released

Sorry, this PR does not fit the project concept. We welcome further contributions though. Thanks!


Ctrl + P Find the ghost file!

VSCode Version:

版本: 1.33.1 (user setup)
提交: 51b0b28134d51361cf996d2f0a1c698247aeabd8
日期: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

OS Version:

Windows 10 pro 1809
inter(R) Core(TM) i5-8400
RAM 16GB
Steps to Reproduce:
1.Banded all extensions
time: 2019/4/26 10:56 (TZ Beijing +8)

2.Reopen vscode

Ctrl + P

Two files name point to the same file ‘submenu.vue’.
Reveal in Explorer and Side Bar get the same file too.
I had changed the file name a few days ago.But vscode is stilling remmber it.
Does this issue occur when all extensions are disabled?: Yes

Not an urgent question

/duplicate https://github.com/Microsoft/vscode/issues/12448


Import paths not updated when using tsconfig project references and incremental builds

Issue Type: Bug
Typescript Version: 4.2.2
To speed up compile times, I have updated my Typescript project to use project references with multiple tsconfigs.
Compiles work as expected, as does the language server in VSCode. The language server logs confirm that it is looking at the correct tsconfig files.
The only thing that does not work is VSCode's detection of file renaming and subsequent automatic updates to import statements that referenced that file. The dialog does not appear in any cirumstance, whether the file is renamed in place, moved to a location covered by the same tsconfig, or moved to a location covered by a different tsconfig.
As a workaround I have had to rename all my tsconfigs to prevent them from being detected by VSCode, and then add a single root tsconfig that does not make use of project references nor emit.
While this workaround does resolve the import-path-update issue, it results in the Typescript language server being very slow to fully start, slow to populate autocompletes, and full of autocompletes that aren't actually avialable in the compiled version.
Below is some (simplified) information about my tsconfig setup.
# File structure

tsconfig.json          # Used as the workaround. Doesn't emit, no project references.
tsconfig.shared.json   # Used by all referenced tsconfigs to share options.
tsconfig.compile.json  # Used for compiling, makes use of project references.

server/
  app/... # compiled output directory
  src/... # source code directory
  tsconfig.compile.json
test/
  app/... # compiled output directory
  src/... # source code directory
  tsconfig.compile.json

// @file tsconfig.shared.json
// (Used by all other tsconfigs, with some local overrides)
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 14",
  "compilerOptions": {
    "target": "ES2020",
    "module": "commonjs",
    "lib": ["ES2020"],
    "declaration": true,
    "declarationMap": true,
    "sourceMap": true,
    "composite": true,
    "incremental": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "paths": {
      "server/*":["server/src/*"],
      "test/*":["test/src/*"],
    },
    "baseUrl": "."
  }
}

// @file tsconfig.json
// (Used only by VSCode for the language server,
//  specifically to allow auto-updates of import paths)
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 14",
  "extends": "./tsconfig.shared.json",
  "include": [
    "server/src/**/*.ts",
    "test/src/**/*.ts",
    "test/src/tests/**/*.ts",
    "test/src/lib/**/*.ts"
  ],
  "compilerOptions": {
    // Overrides
    "noEmit": true,
    "composite": false,
    "incremental": false
  }
}

// @file tsconfig.compile.json
// This is the *desired* root config file, and it works fine for both compiling
// and the live VSCode intellisense language server, but does not allow for automatic
// import path updates upon filename change/file move.
// (@see {@link https://www.typescriptlang.org/docs/handbook/project-references.html})
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 14",
  "files":[],
  "include": [],
  "references": [
    {"path": "server/tsconfig.compile.json"},
    {"path": "test/tsconfig.compile.json"}
  ]
}

// @file server/tsconfig.compile.json
{
  "extends": "../tsconfig.shared.json",
  "include": ["./src/**/*"],
  "compilerOptions": {
    "outDir": "./app",
    "rootDir": "./src"
  }
}

// @file test/tsconfig.compile.json

{
  "extends": "../tsconfig.shared.json",
  "include": ["./src/**/*"],
  "compilerOptions": {
    "outDir": "./app",
    "rootDir": "./src"
  },
  "references": [
    // Most of the tests are for code in the server project
    {"path": "../server/tsconfig.compile.json"}
  ],
}

VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 4.19.128-microsoft-standard

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-8350K CPU @ 4.00GHz (4 x 4008)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.95GB (19.54GB free)

Process Argv
--crash-reporter-id a33f20b5-946a-414d-b5ef-ce4b15b510dd

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-20.04

OS
Linux x64 4.19.128-microsoft-standard

CPUs
Intel(R) Core(TM) i3-8350K CPU @ 4.00GHz (4 x 4007)

Memory (System)
25.02GB (21.99GB free)

VM
0%

Extensions (24)

Extension
Author (truncated)
Version

better-comments
aar
2.1.0

Bookmarks
ale
13.0.2

remote-wsl
ms-
0.53.4

vscode-icons
vsc
11.1.0

JavaScriptSnippets
xab
1.8.0

npm-intellisense
chr
1.3.1

path-intellisense
chr
2.3.0

vscode-eslint
dba
2.1.14

vscode-npm-script
eg2
0.3.16

prettier-vscode
esb
5.9.2

vscode-pull-request-github
Git
0.23.1

beautify
Hoo
1.5.0

wordcounter
kir
2.3.0

prettify-json
moh
0.0.3

vscode-docker
ms-
1.10.0

vetur
oct
0.32.0

emoji
Per
1.0.1

move-ts
str
1.12.0

svelte-vscode
sve
104.4.4

ts-quickfixes-extension
tam
1.6.0

html-preview-vscode
tht
0.2.5

vscode-apielements
vnc
0.6.7

change-case
wma
1.0.0

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt617cf:30253240
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475

@adam-coster  can you please provide complete sample repro with steps to repro like which import/rename etc and not just tsconfig files. Thanks.


Additional guidance on privacy in logging

The TraTs spec should add more guidance on privacy in logging.

addressed in updated draft


Bug: Trailing block get replaced with each edit.

Problem
As far as I understand, the frontend currently ensures there's at least one block in the document. But looks like it also does that even when there's already a block. So looks like the rule currently is to make sure there's an empty block at the end of the document at all times, not only when it's needed.
Steps to Reproduce

Create a new draft. Write a title, and one paragraph.
Publish the draft.
Edit the publication right away.
Remove the paragraph completely and commit again.
Using http://localhost:<HTTP_PORT>/debug/cid/<cid> open both changes in two separate browser tabs.
Observe how the first change creates two blocks instead of one. One is with our text, and the other one is an empty one.
Observe how the second change deletes both original blocks, and creates a new empty block.

Expected Behavior
Trailing empty block shouldn't be necessary when there's at least one block already. If we still think we need an empty block at the end, reuse it, instead of replacing it every time with a new ID.
The problem with the current approach is that with each commit we'll be needlessly allocating block IDs, and pollute the CRDT with IDs that are never used. Not a big deal, but very much suboptimal.

yes, this is the current behavior of the editor to ensure users have always a place to put their cursor at the end of each draft. we  have a couple options here. either way we need to only send changes for blocks that has content at the end of the document.

do not send changes for the last blocks if they do not have content
do not send changes of the last block only if its empty

wha do you think @burdiyan @ericvicenti ?

I think the solution is to leave the last line alone if it already exists. And I think this is actually what happens and I was wrong creating the issue. I think on step 4 I actually deleted everything with cmd+a instead of just deleting one block. That's why a new empty trailing block was created.
So I'll close this I think.


local variable declaration

Codecov Report

Merging #143 (3ae56ac) into main (bd5a0c6) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
- Coverage   93.17%   93.17%   -0.01%
==========================================
  Files          17       17
  Lines        1348     1347       -1
==========================================
- Hits         1256     1255       -1
  Misses         92       92

Impacted Files
Coverage Δ

src/lib/utility.c
90.83% <ø> (ø)

src/tests/omega_test.cpp
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Check for more archaic artifacts

Following #108 , I think we should do a little fossil hunt for NSS 5.0.0, since it should be a state-of-the-art release that clients can rely on for the latest best practices, even if it is prototypical in terms of stability and security.
Are there more things like #107 that we should fix before NSS 5.0.0 is released?

Clarifying the itended capabilities/limitations of globbing is probably relevant to what goes into the next major semver.

With the new effort, this issue is obsolete.


[Keylogger] Handle Modifier key AltGr correctly

When pressing AltGr + 2 it shows [Control + Alt + D2], correct behaviour would be ².
If your keyboard doesn't have an AltGr key, you can also use Control + Alt for this.

I will keep looking into this.  From what I've read, and experimented with, this might not be a feasible fix, but I won't give up!

This explains what I have experimented with.

The differences between the two keypresses resulted in the following, on my system with a german keyboard layout (non german keyboard):

There might be some way to hack this together to detect if the last two KeyDown keys are equivalent to the AltGr input data, as it differs from a control + alt keydown, but this might get messy fast.  I'll play around with it and see what I can come up with.


Inky Modules not being installed

Hi there, I have been trying to install the packages per your instructions but I keep getting errors about this installer trying to install inky outside a virtual environment (if I understand correctly). I have tried to install Inky separately to see if it helps but that does not seem to work. Am I missing something in how I should be running this process?

Sorry just to clarify what happens after this point - PiInk says install was successful, but then the webserver does not stay started due to the module not being found (presumably because it's not getting installed at this step)

Yeah, I need to fix the install script to work for virtual environments. Try this```
git clone https://github.com/pimoroni/inky
cd inky
./install.sh``` or setting up in a venv

Thanks for your response :)
I couldn't get it working with a venv but in the end realised you can force pip to allow these kinds of installs even from within an install script. I ran  python3 -m pip config debug  to find the location of my pip.conf file, and added break-system-packages = true which allows pip installs to work outside a venv. All good now!


Introduce a standardized mechanism for patch releases

Problem Statement
We need a mechanism to backport fixes into release branches and cut releases without manually branching out and backporting all the needed contributions. We already have a similar mechanism in KIC that we could easily reuse here.
Proposed Solution
Reuse the same pipelines we already have in KIC to backport fixes and release patch versions on top of already existing releases.
Acceptance Criteria

[ ] As a contributor, I can easily release patch versions.

KIC has backport workflow which has the problem of conflicts (these mostly happen when there's a change in CHANGELOG).
It would basically be a copy-paste of the workflow but that would still has this issue and require manually backporting in case of conflicts. There is no such feature ( to exclude changes from a provided path(s) in the action that we use https://github.com/tibdex/backport ). So we either fork it an implement ( possibly too much effort ) or leave with the flawed workflow of manual backporting in case of conflicts.

As for the patch releases: I'm not aware of any process/automation that we'd have in place for KIC's release branch.

KIC has backport workflow which has the problem of conflicts (these mostly happen when there's a change in CHANGELOG).
It would basically be a copy-paste of the workflow but that would still has this issue and require manually backporting in case of conflicts. There is no such feature ( to exclude changes from a provided path(s) in the action that we use https://github.com/tibdex/backport ). So we either fork it an implement ( possibly too much effort ) or leave with the flawed workflow of manual backporting in case of conflicts.

Yep, at least for now I'd simply copy-paste the workflow we already have in KIC.

As for the patch releases: I'm not aware of any process/automation that we'd have in place for KIC's release branch.  What we mostly need to do in this regard here is updating our release procedure to include patch release instructions as well.


bolt support

Hi there,
I don't have an issue, but rather a question, sorry if posted in the wrong section.
Does the simple-neo4j module support Neo4j's bolt protocol? If not, do you plan to add it at some point?

Hey sorry for late reply my phone never did notify me you had posted and yes your posting in the correct area. No it doesn't support the bolt protocol but I do plan to look into it and add it. Thanks for the suggestion!

I've taken a deeper look at bolt and it looks really awesome, I'm also excited to see official NodeJS support as when I started this project Neo4J didn't officially support NodeJS so I'm hoping to integrate it into a simple flag you can add {bolt: true} to switch to bolt support but we'll see how the end result turns out.
This could be very beneficial as http/tcp requests can carry a lot of overhead and while this package tries it's best to minimize that overhead such as packing multiple requests into one http transaction you still have it.\
Give me sometime to get this implemented, I hope to have it up in a week or so.


Cannot set property stack of [Error (E_UNKNOWN) Encountered an unexpected error]  which has only a getter

I get this on an unhandled error on bluebird. Node 0.10.32 (tried also on 0.11, 0.12, and io 1.6), bluebird 2.9 (also tried on 2.6). Any ideas?
node_modules/bluebird/js/main/captured_trace.js:54
        error.stack = stack.join("\n");

TypeError: Cannot set property stack of [Error (E_UNKNOWN) Encountered an unexpected error]  which has only a getter

Waterline's WLError doesn't allow setting .stack, it only defines a getter not a setter

I think you know more about how this works than I do. How is it that a property becomes un-settable?

Waterline does something like this:
function WLError() {}

WLError.prototype.__defineGetter__("stack", function() {
    return "...";
});

var e = new WLError();
e.stack = "..."; // Throws an error because there is no setter

thanks


Option to switch to Description instead of API URL in the list.

I would like to see the option to swtitch between URL and Description in the API list:

Yes, and i think there can be more options for tree. 👍


I am not able to retrieve products

I created a database for products but not able to get them. Can you please share the screenshot of your database
this is the error i am getting

Looks like you're passing undefined data in selectFilter(). Have you added the products in the database using the admin user? You must uncomment all the admin-related stuffs inside src/routers/AppRouter.js and lastly, inside src/reducers/authReducer.js, just change the type property of initState from 'client' into 'admin' to use the admin mode. Then only you can perform CRUD operations.

Looks like you're passing undefined data in selectFilter(). Have you added the products in the database using the admin user? You must uncomment all the admin-related stuffs inside src/routers/AppRouter.js and lastly, inside src/reducers/authReducer.js, just change the type property of initState from 'client' into 'admin' to use the admin mode. Then only you can perform CRUD operations.

I did as you asked but how to login to admin pannel.

Looks like you're passing undefined data in selectFilter(). Have you added the products in the database using the admin user? You must uncomment all the admin-related stuffs inside src/routers/AppRouter.js and lastly, inside src/reducers/authReducer.js, just change the type property of initState from 'client' into 'admin' to use the admin mode. Then only you can perform CRUD operations.

I tried to login using the available signin method but it is not redirecting to admin dashboard. Am i missing anything.

The default user auth could've been persisting. Log out the default user or you can delete the auth details of user in localStorage. Then you must be able to get to the /dashboard page

The admin doesn't have the available login methods unlike the client does. That's the problem that I have with the admin authentication.

The default user auth could've been persisting. Log out the default user or you can delete the auth details of user in localStorage. Then you must be able to get to the /dashboard page

I did everything man still the dashboard is not opening. Is there any other things i need to keep in mind.
see i have a work around for this error but i need to get to the admin dashboard to fix it.

Are getting any error or it just won't redirect you to the admin?

Have done all this?

Uncomment all admin-stuffs inside src/routers/AppRouter.js
Inside src/reducer/authReducer.js,  if you don't want a test user, delete or comment out the initState variable and set the state to an empty object {} If you want to use admin, you must change type property to 'admin' to use admin mode.
Delete the auth data in localStorage if it exists (i think the key name is 'root')

Are you getting any error or it just don't redirect you to the admin?

After Clearing the localstorage i am being redirected to dashboard but for few second only. then again it is going back to the homepage

I Figured it out by myself there was a small error. I had to initialize the admin type separately. the initState did not work for the admin type.
I Recommend we should use firebase rules with custom claims. that way you don't have to worry about the dashboard section. any way thanks

Great! It would be awesome if you could make a pull request for these necessary changes. 👌


Create a project that packages the 2 vso steps

Create a project that packages the vso steps
Rename the directory where the build step source files live (json, ps1 etc.)

LGTM


feat(deck): Ship OpenGamepadUI

This installs the binary version of OpenGamepadUI.

I want to adjust this to install via yafti and just. This would need a rewrite of the existing script for SteamOS installations though. I don't think it should be too bad

Additionally, due to the dependency on gamescope, it might be a good idea to omit this from desktop installations. Unsure on that

Because Steam is utilized in distrobox, the Steam plugin doesn't function entirely as it should. Thus, this should just be included in Deck images

What's the issue preventing it from working exactly?

SteamCMD is now included in the desk and desktop images, one native one in distrobox.

Just needs session select support

Session selection has been integrated
Todo:

Add autostart capability to desktop images
Just scriptlets for autologin
Yafti integration
OpenGamepadUI packaging

I will try and address all of those tomorrow

I believe only packaging remains


Notifications on Windows don't stick in the action center

Ref.: https://github.com/electron/electron/issues/3916

This is an Electron specific bug which we can't anything about right now. If anyone is interested in helping, please take a look at electron/electron#3916. It doesn't seem to happen all the times.
I'm closing this as this is not a specific bug of IPFS Desktop.


Improvements to MBNetworkActivityIndicatorManager in shared frameworks

I noticed that with my fix, the network activity indicator no longer worked in a containing application. I made some improvements so that the network activity indicator still works properly when used in an extension and a containing app.
Defaults keep things exactly the same for users who do nothing.

Is this because you are compiling MBRequest into a module that is being shared by both an application and an extension?

Yes exactly. The framework has network code that needs MBRequest to run. If you think this is a bad idea, let me know.

Hmm, this is a little strange but I can't think of a better way off the top of my head without just pulling MBNetworkActivityIndicatorManager out into a different project.


shm-size build arg

Currently, I have a Dockerfile with a yarn command that consumes a lot of memory:
 => ERROR [6/23] RUN cd /app && yarn install --cache-folder /dev/shm/yarn --frozen-lockfile                                                                             38.0s
------
 > [6/23] RUN cd /app && yarn install --cache-folder /dev/shm/yarn --frozen-lockfile:
#11 0.751 yarn install v1.13.0
#11 0.937 [1/4] Resolving packages...
#11 1.565 [2/4] Fetching packages...
#11 5.749 error An unexpected error occurred: "https://registry.yarnpkg.com/webpack/-/webpack-4.11.0.tgz: ENOSPC: no space left on device, write".
#11 5.749 info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
#11 5.749 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#11 34.65 info There appears to be trouble with your network connection. Retrying...
------
failed to solve: executor failed running [/bin/sh -c cd /app && yarn install --cache-folder /dev/shm/yarn --frozen-lockfile]: exit code: 1

Note that for docker build, it works only when passing --shm-size=512M or something like that.
Is it possible to do the same with img ?
Thanks for this great software and maintenance

Maybe related: https://github.com/containers/buildah/pull/1595


Cascade Support

Thanks for creating this library which is great for demos and using this in IdentityManagerUI repo. Do you have any plans to support Cascade Delete?  This causes issues since if a role in AspNetRoles is deleted then corresponding record in AspNetUserRoles is orphaned.

Hi.
Good point. I will take a look if this is easily possible and will write you soon.
Thank you

Thanks Morris, I appreciate you looking into this.

@morrisjdev Were you able to investigate and see the level of difficulty involved?

Hi @mguinness.
Sorry for the late reply. I was very busy in the last days.
I found the origin of the problem:
FileContextCore uses a kind of lazy loading. That means that data are only loaded when they are needed. If you have data with references the referenced data are only loaded when you explicitly use .Include(...).
If you delete data without loading the references FileContextCore never knows that there are data that have to get deleted too.
In a relational database there are additional constraints that are defined on database side to avoid that problem but FileContextCore does not have them.
To use that feature you always have to make sure to load referenced data.
This for example works:
db.Users.RemoveRange(db.Users.Include(u => u.Entries));
db.SaveChanges();

Again sorry for the long response time.
Best regards.
Morris

No problem Morris, thanks for taking the time to investigate.  This appears to be a similar issue to Cascade Delete Support in the InMemory provider.


Bullet List Indicator is not working after build (Vite React App)

``Hello,
vite package version: latest
@vitejs/plugin-react package version: latest
I have a React app using Vite and Typescript and i have an issue with the Bullet indicator of the  list.
After Vite build and server deployment, the list looks like this.. broken..

but on localhost everything works fine :

I have tried everything i could think of.. Unfortunately i still haven't found the solution.
My component looks like this
import "react-quill/dist/quill.snow.css";

import React from "react";
import ReactQuill, { Quill, Value } from "react-quill";

interface QuillEditorProps {
    onChange?: (value: never) => void;
    readOnly: boolean;
    value: Value | undefined;
}

const QuillEditor: React.FC<QuillEditorProps> = ({ onChange, readOnly, value }) => {
    // This describes the editor tools that will be enabled
    const toolbarOptions = [
        ["bold", "italic", "underline"], // toggled buttons
        [{ list: "ordered" }, { list: "bullet" }],
        [{ script: "sub" }, { script: "super" }], // superscript/subscript
        ["clean"], // remove formatting button
    ];

    return (
        <div className={"ql-editor"}>
            {readOnly ? (
                <ReactQuill
                    modules={{ clipboard: { matchVisual: false } }}
                    readOnly
                    theme="bubble"
                    value={value}
                />
            ) : (
                <ReactQuill
                    modules={{ clipboard: { matchVisual: false }, toolbar: toolbarOptions }}
                    onChange={onChange}
                    theme="snow"
                    value={value}
                />
            )}
        </div>
    );
};

export default CinnamonQuillEditor;

my vite.config.ts :
export default defineConfig(({ command, mode }) => {
    return {
        build: {
            outDir: "dist",
            sourcemap: true,
        },
        plugins: [
            react({}),
        ],
        resolve: {
            alias: {
                "@src": fileURLToPath(new URL("./src", import.meta.url)),
            },
        },
        server: {
            port: 3000,
        },
    };
});

I found the solution i added the following meta-tag in the index.html : <meta charset="utf-8">.
After vite v4 the team dropped the "ascii" support by default to "utf-8"


[PowerPoint] (apis) update PPT preview req set table

Docs Build status updates of commit a2fa986:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/powerpoint-preview-apis.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Create dynamic badge from shields.io  for license

I could take this one.
I could generate a static shield using https://img.shields.io/badge/License-{{LICENSE}}-yellow.svg or, if there is a Github repo, using https://img.shields.io/github/license/{{user}}/{{project}}


Make sure CommandsProvider extends the base command

Well, The title says it all. I'm using adonis 4.1

Got it fixed, my bad

how to fix it?


Failed to create profile (Ledger)

I got the following error trying to create a profile for a ledger account on Ubuntu 18.04.5 installed version linx-amd64-1.0.2.deb
after entering username and passport, hitting "next":

Hi @HauRuck
It seems that your PC is missing the libstdc++ library. On my side, this issue is solved when I add these commands to the terminal
add-apt-repository ppa:ubuntu-toolchain-r/test -y
apt-get update
apt-get install libstdc++6 -y

For more information, you can have a look here

Hi @TriPhan96
Thank you for your help, it works perfectly now.


Still issues with chapters file. Make a robust solution

Chapters file is sometimes missing, or has wrong chapter ids, or meta has non-existent chapter ids

Was possibly caused by not properly deleting chapters 43a382f03cd04db2e52ee43c260dfdfbb5dc77fc


Elements do not update when underlying view is scrolled

If the focused window in the frontmost app has a scroll view, and you pull up Scoot (in element-based nav mode), and then start scrolling, the regions that Scoot has drawn won't update.
There are (at least) two ways to scroll:

using Scoot's keyboard shortcuts for scrolling, or
using your physical mouse or trackpad)

For the latter case, are there any accessibility-related hooks in MacOS to detect if the user is scrolling?
Originally posted by @mjrusso in https://github.com/mjrusso/scoot/issues/1#issuecomment-1003575190

I did some (very quick) research, and it looks like https://github.com/pilotmoon/Scroll-Reverser might use some of the Carbon hooks we need to detect scrolling. (Note to self: take a closer look at https://github.com/pilotmoon/Scroll-Reverser/blob/master/MouseTap.m)

I did some (very quick) research, and it looks like https://github.com/pilotmoon/Scroll-Reverser might use some of the Carbon hooks we need to detect scrolling. (Note to self: take a closer look at https://github.com/pilotmoon/Scroll-Reverser/blob/master/MouseTap.m)


asyncio.run() causes crashes

PythonCall
I have to use the following function otherwise I get crashes that interestingly enough don't crash the julia program.  But it does print a python stacktrace to console.
In addition, if using this in concurrent for loop with @sync and @async it looks like the code runs sequentially.
function asyncio_run(coro)
    loop = asyncio.get_event_loop()
    loop.run_until_complete(coro)

    # This is the recommended way but keeps crashing
    # Interestingly it doesnt error in julia, it just prints a python error to console.
    # asyncio.run(coro)
end

Fatal error on SSL transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x29da04d30>
transport: <_SelectorSocketTransport closing fd=24>
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 924, in write
    n = self._sock.send(data)
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 690, in _process_write_backlog
    self._transport.write(chunk)
  File<EMAIL_ADDRESS>line 930, in write
    self._fatal_error(exc, 'Fatal write error on socket transport')
  File<EMAIL_ADDRESS>line 725, in _fatal_error
    self._force_close(exc)
  File<EMAIL_ADDRESS>line 737, in _force_close
    self._loop.call_soon(self._call_connection_lost, exc)
  File<EMAIL_ADDRESS>line 753, in call_soon
    self._check_closed()
  File<EMAIL_ADDRESS>line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

For the first issue, please provide a full MWE of how to produce the error, and include the full error output too.
For the second issue, interleaving Julia tasks and Python coroutines asynchronously is not easy. Simply doing asyncio.run(...) or whatever just blocks Julia until Python completes the given coroutine. I've never tried but you may be able to create a Python coroutine which simply keeps yielding to the Julia scheduler, then run that asynchronously (in Python) with the other coroutine you want to run.

It sounds more of a hack where perf will suffer.  Would it be possible to somehow use python's libuv with julia's libuv?

OK, I'll close the issue then.
TBH I don't know much about libuv, what it's place is in Julia, and I didn't know Python used it too. If you have any more info/suggestions about this, please open a separate issue, thanks!


add flash bounty for revs

About the PR
add a bounty for 6 flashes worth 5.5k
Why / Balance
revs requesting flashes from another station and not just cranking them out at sci :trollface:
Technical details
no
Media
something about the description is off :trollface:

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
no cl no fun

The headrev cargotech rolling this bounty roundstart :godo:


Bottleneck doubt

Hello,
Why do you call Bottleneck to the Batch Normalization layer in the following line?
https://github.com/didi/mtmc-vt/blob/f7379e0bb37edff0ece1366d6dd4089fe7090839/src/reid_baseline/modeling/baseline.py#L46
I suppose it has nothing to do with Resnet Bottleneck block, isn't it?
Thank you!

Hello,
How did you get the results of 1b or the file det_reid_features.txt?


MUI: The value provided to the Tabs component is invalid....

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When using the tabs component I get,
Tabs.js:366 MUI: The value provided to the Tabs component is invalid.
The Tab with this value ("0") is not part of the document layout.
Make sure the tab item is present in the document or that it's not display: none.
This occurs both in my own code, and when I copy examples from https://mui.com/material-ui/react-tabs/#experimental-api
There is some stack overflow questions but no solutions
https://stackoverflow.com/questions/72085892/mui-the-value-provided-to-the-tabs-component-is-invalid-the-tab-with-this-v
https://stackoverflow.com/questions/71613867/mui-nested-tabs-error-the-value-provided-to-the-tabs-component-is-invalid
Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

So below is my exact code. I assume the enum is converting to being a number but I'm still getting the above error
    enum SelectedTab {
        DepartmentSharesTab,
        DelegatedTab,
        PersonalTab,
        ReportingTab
    }
    const [selectedTab, setSelectedTab] = useState(SelectedTab.DepartmentSharesTab);
        <Tabs
                value={selectedTab}
                onChange={(e, value) => {
                    setSelectedTab(value);
                }}>
                <Tab value={SelectedTab.DepartmentSharesTab} label='Department Shares View' />
                <Tab value={SelectedTab.DelegatedTab} label='Delegated View' />
                <Tab value={SelectedTab.PersonalTab} label='Personal View' />
                <Tab value={SelectedTab.ReportingTab} label='Reporting' />
            </Tabs>

            <Box m={4}>
                {selectedTab === SelectedTab.DepartmentSharesTab && <DepartmentShares />}
                {selectedTab === SelectedTab.DelegatedTab &&
 Delegated
}
                {selectedTab === SelectedTab.PersonalTab &&
 Personal
}
                {selectedTab === SelectedTab.ReportingTab &&
 Reporting
}
            </Box>

this is a bug

Is this a bug with my code or a MUI? If it's MUI is there somewhere better to follow this?

any updates?

Any solution?

you need to: <Tabs ---> value={false} <--- >props

you need to: <Tabs ---> value={false} <--- />

Yes Sir! You are right. In fact, for me the problem came from
const [value, setValue] = useState(0)
<Tabs ---> value={value}
If you do so the error appears. Guess TabPanel is not already created or recognized on first render but ...
const [value, setValue] = useState(false)
useEffect stating initial 0 or any other tabPanel id value
<Tabs ---> value={value}
works like a charm as 0 should point to a tabpanel id but false means no id value at all.
Thank you very much @skrimusss

Problem seems to have resurfaced. I can't work around it with useEffect, ref, anything. Using latest version.

you need to: <Tabs ---> value={false} <--- />

Yes Sir! You are right. In fact, for me the problem came from
const [value, setValue] = useState(0) <Tabs ---> value={value}
If you do so the error appears. Guess TabPanel is not already created or recognized on first render but ...
const [value, setValue] = useState(false) useEffect stating initial 0 or any other tabPanel id value <Tabs ---> value={value}
works like a charm as 0 should point to a tabpanel id but false means no id value at all.
Thank you very much @skrimusss

For some reason I am getting
react_devtools_backend.js:4026 Warning: Failed prop type: Invalid prop `value` of type `boolean` supplied to `ForwardRef(TabPanel)`, expected `string`.

I have tried everything, approximately 46 hours trying to figure out a workaround for this error. But no-way. It's obviously a bug. And it has to be fixed.
And for the people who were able to find some workarounds for their projects. Congratulations. But for me, I'll have to wait for the next update until one of the maintainers commit a patch release for this particular bug, which is the only one I was able to catch during my project which I was working on (for 9 months).
Mui is a great library. And this is the only bug I was able to find in "@mui/material". Some other bugs I encountered in "@mui/x-data-grid".
But let's forget about that now.
I was able to complete my entire project piece fully, the only part left for me is this error. But it's okay for now, the project still can survive with that.

Same as me.

Same as me

same here

same here

+1

Same as me......

+1

same thing here

+1

@samislam I realize that you are using labs components. I am not. Maybe this is something to check.

+1

i  previously added display:none in sm device then i removed this  , now its working properly

Not sure if it's the same cause, but I get:
"MUI: The value provided to the Tabs component is invalid.
None of the Tabs' children match with "_1669583764903".
You can provide one of the following values: _newTabPage, 1, _1669583726880, _1669583764903."
The difference being that the value I want to set seems to be perfectly valid, as indicated bij the final error message line.

+1

+1

+1

本人已收到您的邮件，辛苦了！如有重要事情，看到后，将尽快给你回复。。。

@mnajdova Please re-open this issue

+1

I encountered this on page load when a suspended component was rendering next to the tabs. Putting <Suspense> around the suspended element made the tabs error go away.

Similar circumstance although in my case the suspended element was a child of the first visible tab panel.

I can re-open it if someone shares a sandbox with a reproduction. I've responded what is the problem with the initially created sandbox. Adding a "+1" and "same here" is not helpful without a reproduction that we can look into.

Hey friends,
I have tried to make a stack blitz instance to re-produce the problem, but I couldn't, (don't say I want the problem to happen, of course not).
The test shows no errors at all, I have tried to use react-router-dom with <Outlet /> to make twice sure it's not the source of the problem, and it looks like it's not.
I wasn't able to reproduce the problem, so everyone, please fork this project, and try to cause the error message to show up:
Sandbox (Stack Blitz): Click me
Sandbox (Live preview): Click me

I think the issue here is that MUI checks if the immediate children have a value prop regardless of whether or not they are Tab components. @mnajdova here's a reproduction that shows the issue: https://codesandbox.io/s/mui-tab-error-repro-ibq0iz?file=/src/App.tsx
Whether or not this is a bug, I'm not sure. But it does seem like this example should be supported.

Hi, I think I have a reproduction here, at least for the edge-case that I'm running into.
It seems to happen when the component that is rendering the <Tabs /> component suspends. React seems to be setting the element, or a parent, to display: none1, which means that when <Tabs /> tries to get the bounding rect, it comes back as 0 for height and width. This triggers the error message2.
Here's my sample repo that shows the error:
https://github.com/rossipedia/mui-tabs-invalid-value-repro

1: I think this is an optimization on React's part for Suspended trees, since I would've assumed that the children of a Suspense component that has been suspended would've been unmounted and the DOM cleaned up.
2: Relevant MUI source:
https://github.com/mui/material-ui/blob/2093d62046a1fd1342d0e5e6ef7f156faf778b52/packages/mui-material/src/Tabs/Tabs.js#L361-L371

I have faced this issue in my React app with Ionic.
The issue appears because initially selected tab button has width = 0 and height = 0 (for ex. because of display: none or for any other reason)
It turned out that in my case MUI Tabs were trying to render before Ionic page loaded completely which made selected tab button having width = 0 and height = 0 (but it was present in the DOM).
This MUI tabs code was triggering this error:
https://github.com/mui/material-ui/blob/2093d62046a1fd1342d0e5e6ef7f156faf778b52/packages/mui-material/src/Tabs/Tabs.js#L357-L374
And what was failing for me is width / height zero check.
I have found 2 workarounds to fix this issue in my case:
1) Use false as initial Tabs value and set actual value in useEffect -> setTimeout:
This workaround might be helpful to anyone who faces this console error.
// code of React component that uses MUI <Tabs> component

const [tabsValue, setTabsValue] = useState(false);

useEffect(() => {
    setTimeout(() => {
        setTabsValue(actualValue);
    }, 0) // 0 ms  was enough for my case :) Just useEffect alone didn't work
}, []);

return (
    <Tabs value={tabsValue}>
        ....
    </Tabs>
)

I did not particularly liked this solution because I don't like using setTimeouts to fix issues like that since it does not seem too reliable
2) Use Ionic's useIonViewDidEnter lifecycle hook
This workaround might be helpful for those who face this console error with Ionic
import { useIonViewDidEnter } from '@ionic/react';

// code of React component that uses MUI <Tabs> component

const [tabsValue, setTabsValue] = useState(false);

useIonViewDidEnter(() => {
     setTabsValue(actualValue);
});

return (
    <Tabs value={tabsValue}>
        ....
    </Tabs>
)

I preferred this workaround as it seems to be more reliable as it reacts only when selected tab button is fully rendered.

I still have a question to devs of MUI Tabs - why do you need this width / height check here?
https://github.com/mui/material-ui/blob/2093d62046a1fd1342d0e5e6ef7f156faf778b52/packages/mui-material/src/Tabs/Tabs.js#L357-L374
It is not obvious it is a requirement, as well as it seems to create problems for any kind of lazy loading or hidden elements and etc.  which I don't think it was supposed to.
@mnajdova , as you are the one who closed the issue, could you clarify why should an error be shown when selected tab button has zero width / height?

I have been wrestling with this problem for about a month now in a project that was started a few months ago with MUI v5.10.9. I have tried every trick that I could scrape from all the sources over the Internet (not many though), but nothing worked for me until I upgraded to v5.11.4 moments ago and the console error is no more there! 🤩 Hurray! Probably it's been fixed in recent updates. Sheesh! It was driving me nuts. Tons of thanks to MUI guys for fixing this 👍
So, folks, just upgrade your MUI dependency version.

I have been wrestling with this problem for about a month now in a project that was started a few months ago with MUI v5.10.9 and I have tried every trick that I could scrape off the Internet (not many though), but nothing worked for me until I upgraded to v5.11.4 just moments ago and that ugly console error is no more there! 🤩 Hurray! Probably they have fixed it in recent updates. Sheesh! It has been driving me nuts for the last month. Tons of thanks to the MUI guys 👍 for fixing this and allowing my subconscious to have some peace finally 😮💨
So, folks, just upgrade your MUI dependency version.

A better way to fix this would be checking whether the component has mounted. Example:
const useIsMounted = () => {
  const isMounted = React.useRef(false)

  React.useEffect(() => {
    isMounted.current = true

    return () => {
      isMounted.current = false
    }
  }, [])

  return () => isMounted.current
}

const SomeComponent = () => {
  return (
    <Tabs
      {...TabsProps}
      value={selectedTab}
    >
      {isMounted() && tabs.map(tab => <Tab {...TabProps}/>)}
    </Tabs>
  )
}

I have handled it.
The solution is providing to Tabs actually available links. In my case after refresh page only "/" route is available then code is checking if user is logged. When he is, available tabs increase. That was the main problem, when i was refreshing page "/other_route", this route wasnt available before status was checked. But I was providing all links not only available at the moment.
import { useLocation } from "react-router-dom";

export const useRouteMatch = (patterns: string[]) => {
  const { pathname } = useLocation();

  if (pathname === "/") return "/";
  const path = "/" + pathname.split("/")[1];
  if (patterns.includes(path)) return path;
  return false;
};

export const Navigation = () => {
  const { auth } = useAuth();

  const availableLinks = links.filter(({ allowedRoles }) =>
    isRoleAllowed(allowedRoles, auth?.role)
  );
  const currentTab = useRouteMatch(availableLinks.map(({ url }) => url));

  return (

      <Tabs
        value={currentTab}
        variant="scrollable"
        scrollButtons="auto"
        allowScrollButtonsMobile
        selectionFollowsFocus
        className={classes.tabs}
      >
        {availableLinks.map(({ url, name, icon, allowedRoles }) => (
          <Tab
            value={url}
            key={name}
            label={name}
            icon={icon}
            iconPosition="start"
            component={Link}
            to={url}
          />
        ))}
      </Tabs>

  );
};

<Tabs
value={value || false}
...

Still have this issue, and if I add <Tabs value={value || false} i can't see the selected tab on the tabs menu.

I had the same error when displayed tabs only on mobile. I just wrapped the entire component in div, then exported useMediaQuery from MUI  and used it into div for conditional render:
import { useMediaQuery } from '@mui/material'

// ...

const isTablet = useMediaQuery('(max-width: 946px)')

return (

       {isTablet && (
           <TabContext value={value}>
               <TabList>

// ...

I don't think this is a good solution, but it helped me so far

How and why is this marked as "Closed" the problem still exist

In my case I was indeed using style={{ display: 'none' }} so I replaced it with style={{ visibility: 'hidden' }}

I have same problem, but i use TabList - it doesn't have value prop at all.

I have added
<Tab
value={"100000"}
sx={{
position: "fixed",
top: "-20000000px",
left: "-20000000px",
}}
/>
😂😂😂

I was trying to make a wrapper for MUI's components. It turns out you must use the prop name value for the children of the <Tabs> components.
For example, this will not work:
const MyTab = ({ foo }) => <Tab value={foo} />

<Tabs>
    <MyTab foo={...} />
    <MyTab foo={...} />
    <MyTab foo={...} />
</Tabs>

When <Tabs> renders, it will look at each <MyTab>, notice the lack of a prop called value, and assign its own values (0, 1, 2, etc).


File Explorer + native Git integration

Suggested new feature or improvement
As a developer, information at a glance is critical.  In git workflows, knowing the branch, the state of a file, and more helps you stay productive and engaged with the tools you care about.
This integration aims to allow you to quickly access information needed directly from File Explorer and get you into the tools you know and trust to do the work.
Additionally, this work is coupled with an initiative to improve the left-hand navigation pane for developers using git with:

A library for quickly viewing and accessing all local git repositories
Visually differentiation of git repository directory icons from normal folders
Tooling that allows users to open git directories in their IDEs or source management tools of choice

This ships as a Dev Home extension with settings for the feature accessible within Dev Home itself.
Scenario
Using GitHub desktop and then being asked to go to File Explorer to see and interact with your files.  This creates a torn experience - let's close the loop by providing tools for continuing this interaction and getting back into the flow.
Finding local git repositories on my device.
Additional details
No response

So what's the status of this feature? Is it still in design/planning? Engineering? Test?
Was the integration shown at Build 2023 fake/conceptual?

This will be available as an experimental feature that can be enabled in Dev Home version 0.1801.

How does one actually get this feature?
I'm on Windows 11 Insider Beta 22635.4300, and I have Dev Home Preview 0.1801.640.0, but the new Windows Explorer options in Dev Home aren't showing up.
What am I missing?

@DefaultRyan or @ssparach Can you answer the above question?

How does one actually get this feature? I'm on Windows 11 Insider Beta 22635.4300, and I have Dev Home Preview 0.1801.640.0, but the new Windows Explorer options in Dev Home aren't showing up. What am I missing?

I'm the primary dev working on this feature, and I'm happy to answer. There are two pieces here.

In Dev Home, this feature is still Experimental while we test+polish+optimize. If your Windows build supports it, Dev Home -> Settings -> Experimental features will show "File Explorer Source Control Integration" as a feature you can enable. (If not shown here, see part 2 below). Once enabled, this will display the new options in Dev Home -> Windows customization -> File Explorer.
The Windows support is currently rolling out in the Beta/Dev channels. The majority of Beta/Dev machines should see the feature active, but not all of them will, due to the way Controlled Feature Rollout (CFR) stages things. I can confirm that your build (Beta 22635.4300) is in the "majority of devices" stage. This support is planned to be enabled by default very soon, but I can't confirm a specific date or build number just yet. I'm writing myself a reminder to update this thread once that support hits public release.

Will this feature support wildcards or automatic repository discovery? Currently I have to add all repos manually, but it'd be nicer to be able to say "Search for repositories in E:\Projects"


Polar (speed) percentage

Please consider adding calculation of polar (speed) percentage that could be visualised as a number or as a linear gauge.

Well, that is doable...

If you place this folder into your avnav/plugins directory and configure AvNav to use the user-Sail_Instrument instead of the system one, you will get nav.gps.sail_instrument.VPP = STW/VPOL*100.


what is the most stable version for coq 8.12, 0.11.7 or dev? is dev stable?

I want to be able to pin forever for a version of coq 8.12. Currently this works but worried
opam install -y coq-ext-lib
opam install -y coq-ext-lib=dev  # dev versions always make me unease
opam install -y coq-ext-lib=0.11.7  # this seemed to work but it says it downgraded, for now leave as is

what do developers recommend? Thanks!

We recommend the most recently released version that is compatible with Coq 8.12, which is just the latest version 0.11.7.
I think as a general rule of thumb you should just try opam install package and if that succeeds, note the version, pin it, and voilà.
The message you got was probably saying that it downgraded from dev. dev is by definition not stable, it usually means "whatever you get by git clone", just nicely packaged.

Propose closing as completed, if no further concerns arise this week.


Remap SDL Y button to x and add alternative mappings

Having to stretch over to Y was getting annoying while testing something today... Fixes #39.

Err, commit is supposed to say 'v' not 'x'...

I cannot fathom how this ever came to map "Y" in the first place, but I'm willing to bet I had something to do with it.
Thank you. This will confuse a few people for a moment 😆


Main Menu Interface

Need a clean main menu interface that allows for multiple maps or gamemodes etc. Not too difficult, but some unity experience could come in handy. Or check out some of the many many unity menu tutorials available online.
Anyone can tackle this, with just a little bit of googling at most. Have at it :) :+1:

Unity's new UI system requires much less programming knowledge now.
Menu needs:

Settings option
Go to Online Lobby option
Offline play option


Why is the inference so slow?

Why is the inference so slow?
I used the code below, but I don't know if I'm using my GPU well.
device = torch.device('cpu')

model = GPT(C.model)
model.load_state_dict(torch.load(model_path))
model.to(device)

tokenizer = GPT2TokenizerFast.from_pretrained('gpt2')
model.eval()
input_phrase = "Yesterday"
input_ids = tokenizer.encode(input_phrase, return_tensors='pt')

with torch.no_grad():
    output = model.generate(input_ids, max_new_tokens=10, temperature=0.75, do_sample=True)

generated_text = tokenizer.decode(output[0])
print(f"Generated text: {generated_text}")

https://colab.research.google.com/drive/1I5n0SDrggPA8AnpucHuiI3jAEAQ4_KBh#scrollTo=XXwwVMgdW9-2

As i see you not use GPU by "device = torch.device('cpu')".
Try set device as
device = torch.device('cuda')
or even better
"device = 'cuda' if torch.cuda.is_available() else 'cpu'"

Why is the inference so slow?
I used the code below, but I don't know if I'm using my GPU well.
device = torch.device('cpu')

model = GPT(C.model)
model.load_state_dict(torch.load(model_path))
model.to(device)

tokenizer = GPT2TokenizerFast.from_pretrained('gpt2')
model.eval()
input_phrase = "Yesterday"
input_ids = tokenizer.encode(input_phrase, return_tensors='pt')

with torch.no_grad():
    output = model.generate(input_ids, max_new_tokens=10, temperature=0.75, do_sample=True)

generated_text = tokenizer.decode(output[0])
print(f"Generated text: {generated_text}")

https://colab.research.google.com/drive/1I5n0SDrggPA8AnpucHuiI3jAEAQ4_KBh#scrollTo=XXwwVMgdW9-2

As i see you not use GPU by "device = torch.device('cpu')".
Try set device as
device = torch.device('cuda')
or even better
"device = 'cuda' if torch.cuda.is_available() else 'cpu'"


Counterintuitive bids.File interface

I find the new interface to bids.File, trying to mix structure and class fields.
For example function create_filename don't create a file name, but makes a copy of initial object with some changed fields.
As using objects, clone objects is trivial, I propose to instead of functions create_filename, create_rel_path etc. use one function update() that based on values of internal fields changes filename, relative path etc.
In that way, user can parse a file, change fields directly and regenerate new name in transparent way:
file = bids.File('sub-AD0041_desc-sum_rangeLow-9_rangeHigh-22_pet.nii');
file.prefix = 'abcde';
file.update();
file.filename

  ans = 'abcdesub-AD0041_desc-sum_rangeLow-9_rangeHigh-22_pet.nii'

Should I make a merge request for that?

Yes that you would make more sense indeed. Open a PR and we will take it from there.

closed by #289