Resolves #2243

Fix example typo
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2243

Docs Build status updates of commit 237d82b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 237d82b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

docset/windows/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (win10-ps)

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

docset/windows/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (win10-ps)

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@JohanFreelancer9 for copy editing.

@JohanFreelancer9 for copy editing.

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

File
Status
Preview URL
Details

docset/windows/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (win10-ps)

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

docset/windows/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (win10-ps)

docset/winserver2012-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/troubleshootingpack/Get-TroubleshootingPack.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Immer circular dependency problem

🐛 Bug Report
Immer has weird problem for recursive type, when objects have circular dependency. Check out the small repro in codesandbox
Link to repro
https://codesandbox.io/s/small-violet-h8iim?file=/src/index.js
To Reproduce
You will see error in codesandbox
Observed behavior
Crashes
Expected behavior
Just to work
Environment
Using the latest version

Immer version:
[ +] Occurs with setUseProxies(true)
[ +] Occurs with setUseProxies(false) (ES5 only)

As documented Immer only supports trees, not circular data structures.
https://immerjs.github.io/immer/docs/pitfalls


Open wrong shell

Issue Type: Bug
When I click in the Explorer on a folder and choose "open in integrated terminal", it opens it in powershell, which I do not want. My default is Git-Bash.
VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:41:52.311Z)
OS version: Windows_NT x64 10.0.19041
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2904)

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

Load (avg)
undefined

Memory (System)
31.81GB (16.14GB free)

Process Argv
--crash-reporter-id 04da1a09-1319-4e5b-b275-f2f15c1d57c6

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

yaml-key-viewer
cyb
0.2.2

go
gol
0.27.2

vscode-graphviz
joa
0.0.6

vscode-insertdatestring
jsy
2.3.0

saltstack
kor
0.0.8

vscode-docker
ms-
1.16.1

vscode-commons
red
0.0.6

vscode-yaml
red
0.22.0

jinjahtml
sam
0.16.0

vscode-maven
vsc
0.33.0

Maybe it is a duplicate of #132150 (bug which is already fixed in Insiders build and supposed to be in upcoming Recovery release).

Yes I have the same problem. Since the last update my default terminal has always been Shell which annoys me to no end. Hope the release comes soon!

/duplicate of #132718


NIFI-2662 - Fix style violations previously missed

Fix styles missed during PR940

@mattyb149

@trixpan please don't merge this in. I want to make sure all the changes in PR 933 are accounted for first and if they are the check style issues should go away.

@JPercivall - no worries at all.
Please note PR940 is already live so we may be worth checking that as well

@trixpan @JPercivall I've opened a new PR-943 that is rebased against current master. The commits that were lost did address the contrib check issues along with some other features/bugs. Since we needed to account for the other changes that were lost, can we close out this PR and related JIRA in favor of the PR-943. I've already reopened NIFI-2635.
Thanks!

closed as per @mcgilman request


fixed EARTH SHATTERING BUG

i think the commit speaks for itself

gosh darn thanks for saving humanity <3

Was wondering why my selfbot stopped working


[BUG] it highlights a math formula when it's not a block reference

There's a unused block reference in the second line.

But it highlights the first one.

Thank you for bringing this to my attention. It should be fixed in 1.0.4. Could you confirm?

Thank you for bringing this to my attention. It should be fixed in 1.0.4. Could you confirm?

It works corretly now.


Sounds UI

Added sounds to all buttons: menu, character selection, server selection.
The script & components are easily changeable, so we can add any other sounds if needed.

I`ll add a new PR


Updated gitkraken (0.6.1)

Thank you for the contribution. It was merged directly as 5933899b9d42afc80c8c8b8f9469a40cb4c6a121 to keep commit history cleaner. Your contribution is still credited to you.


Fix issue where failed request to /me causes infinite loop

What is this PR and why do we need it?
This is to fix an issue where a failed request to GET /me resulted in an instance of useLayoutEffect being called in an infinite loop.
Pre-Merge Checklist (if applicable)

[x] Unit and Feature tests have been added/updated for logic changes, or there is a justifiable reason for not doing so.

Code Changes

Adjust effect code to ensure fetch does not invoked multiple times.
Correct dependency array for effect.
Switch useLayoutEffect to useEffect — this is not the root of the issue, but this is not a case for useLayoutEffect.

useLayoutEffect is specialized for cases which need to consider layout measurements before repainting the screen. https://react.dev/reference/react/useLayoutEffect

View further discussion of the issue here —> https://github.com/FusionAuth/fusionauth-react-sdk/issues/58

I see the linting check failed... fixing 🛠


App version v4.2.0 and earlier update no longer works

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Looked through the wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the bug
https://monitorcontrol.app/ gives
Error 1000 Ray ID: 8c99f6d8d8deca81 • 2024-09-27 08:01:10 UTC
DNS points to prohibited IP

What happened?

You've requested a page on a website (monitorcontrol.app) that is on the [Cloudflare](https://www.cloudflare.com/5xx-error-landing/) network. Unfortunately, it is resolving to an IP address that is creating a conflict within Cloudflare's system.
What can I do?

If you are the owner of this website:
you should [login to Cloudflare](https://www.cloudflare.com/login?utm_source=error_100x) and change the DNS A records for monitorcontrol.app to resolve to a different IP address.

Steps to reproduce
Try to browse to https://monitorcontrol.app/
Expected behavior
Able to see the site and download the latest release
Anything else?
This started from me noticing that the control app doesn't update both monitors anymore. I tried to upgrade the app but that fails (likely due to the DNS issue described).
See:  External Keyboard Brightness Control Not Working on All Monitors #1531 for my root problem.
Environment Information (please complete the following information)
-

The current version of MonitorControl app is no longer upgradable. Although the DNS issue will be fixed, future updates will not work from the v4.2.0 version.

yeah no longer works, instantly crash when trying to adjust brightness on m1

The current version of MonitorControl app is no longer upgradable. Although the DNS issue will be fixed, future updates will not work from the v4.2.0 version (due to an issue with the required digital signatures).

Is the project is still being actively maintained? Are there plans for future releases to address these issues or will the current version be the last? Any clarification would be helpful.

Take a look at the recent discussion here @Hassan0x00A - https://github.com/MonitorControl/MonitorControl/issues/1570
I plan to do something with the repo, possibly release a more official beta of 4.3.x. Updates from 4.2.0 will not work due to a signing issue. However currently only about 6-7k ppl downloaded the 4.3.1 version so I am not even sure how much demand there is for MonitorControl anymore (I think BetterDisplay is clearly a better alternative for most both in terms of functionality and support), so I have some doubts on whether I should work on a MonitorControl 5.0 or not.

I've tried BetterDisplay but I find it a bit overwhelming as there are a lot of options that I don't need. I was looking for something simple to control the brightness of my external monitors, and I think most people need the same.

Right. I am not sure about most people based on download stats, but I get that there is a certain number of users who prefer MonitorControl, that's why I released an unofficial version that mostly works on Sequoia - feel free to use it! :) I certainly welcome other developers joining in to help ironing out any issues the version still has.

To some extent, yes. Accessibility permissions will likely break. But I think brew should be able to install the new version (when and if one is provided).

BetterDisplay is overkill - I just to control an external monitor with my keyboard.. this utility nails that task, very keen on a new version that address the Sequoia issue.
Wouldn't be surprised about low download stats for a beta version, personally I only found this repo once the app stopped working, it was something I installed years ago and forgot about while it worked in the background.

Ok, fixed the DNS issue with the update. This will not make future updates work, but at least for now the user will not get an error message but will be reassured that the 4.2.0 is the latest version.


[Bug] The Project for the Reports command is hard to change

Scenario
Navigate through the TogglTrack FlowLauncher plugin's reports command until you reach a specific project, like this:
t reports day projects exercise
(EDIT: Then press Enter.)
Then via the "backspace" key, try to delete the project and edit it to some other project, like "Habits", then press Enter:
t reports day projects habits
Bug
Result: the FlowLauncher command is directly replaced with the previous command (the one with the "Exercise" project).
Things that don't help: Closing and re-opening the FlowLauncher input bar doesn't help. Deleting the entire command doesn't help. Even inputting a non-TogglTrack command doesn't help; once I paste the t reports day projects habits command, I again see the wrong t reports day projects exercise command.
Something that does help is to input another TogglTrack command first. E.g.:

t reports day projects exercise

Random command, e.g. t start or t reports day projects.

t reports day projects habits -> Now this works.

This is an interesting report—I can't reproduce. Are you able to take a screen recording of this happening (probably with some dummy time entries, if you don't want to use your real data)?

Hey there, apologies, I was missing a step (an 'Enter') in the reproduction description, which I've now edited in. Here is a gif of the resulting behavior.

Ahh... I think I know what's happening there... because you're selecting the previous project and 'replacing' it immediately, it never goes into the blank t reports day projects, which is what resets the internal state...
I would always change project by Ctrl + Backspace to delete the entire word(s), then starting to type the new project (with the added assistance of fuzzy search + autocomplete).
Could I suggest you try to adopt this usage?
I can't remember if there was a deliberate design decision to persist the project until it resets completely (probably?), but that's how it is 😅

Ah, that makes sense. And as you say, there are ways to successfully reset the project. So I guess this issue can be closed then.


overflowMode doesn't work properly

If I set maxValue to 100 and overflowMode to 'ignore', supposedly when I type 111, it will revert to 11 but the value changes to 100 (maxValue). Is it by design?

I have the same issue :cry:

I hear you guys. And even though this issue is created over a year ago, it is not forgotten.
I am planning to come back to the project and fix all issues and make a few minor improvements.
Soon... very soon :)
Thanks for your patience!

Thank you for your time!! :D


megasync: use ffmpeg instead of ffmpeg_3

Motivation for this change
#94003, #120372 and #120705
Things done

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

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

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

Result of nixpkgs-review pr 121236 at 750ffff9 run on x86_64-linux 1

1 package built successfully:

megasync

15 suggestions:

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-curl.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/autogen.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-cares.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-webrtc.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/contrib/build_ffmpeg/ffmpeg/build_minimum.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-libsodium.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/clean.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-all.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/contrib/build_pdfium/build.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/contrib/clang-analyzer.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-mediainfolib.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-openssl.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-libwebsockets.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-libuv.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^

warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/MEGASync/mega/bindings/ios/3rdparty/build-cryptopp.sh'
Near pkgs/applications/misc/megasync/default.nix:119:0:
    |
119 |     description =
    | ^


Make the Dexter API fluent

I opened an issue talking about adding a new parameter to notify Dexter errors (#53) and seems to me that adding new parameters to the current API will eventually make it impossible to develop.
I think it would be much better to create a fluent API to use Dexter both in readability and extensibility. The proposed API would be used like:
public void someMethod() {
    Dexter.withPermissions(Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS)
          .withListener(someListener)
          .withErrorListener(errorListener)
          .onSameThread()
          .check();
}

Thoughts are more than welcome.

Awesome idea!
I would personally prefer a more semantic or granular API, such as
public void someMethod() {
    Dexter.forPermissions(Manifest.permission.CAMERA, Manifest.permission.READ_CONTACTS)
          .doOnGranted(someListener)
          .doOnDenied(errorListener)
          .doWhenRationaleShouldBeShown(someListener)
          .onSameThread()
          .check();
}

It's just my personals and maleable opinion. But the idea of a fluent API is great.

I can see why you'd separate the doWhenRationaleShouldBeShown callback but I can't think of any use case where you wouldn't handle at least the two basic responses, doOnGranted and doOnDenied. Anyways, you can always create a composite listener with a generic onDenied listener and specific onGranted implementations, actually, you can do the same with the rationale callback as well.
In this case, I'd rather keep a single interface than splitting it into three for three reasons: it's easier to implement, it's easier to understand (IMHO) and we can move towards simpler interfaces whenever we want keeping it backwards compatible (but not the other way around!).

Yep you're right, it doesn't make much sense implementing only one of the two callbacks. I was thinking more on lambda support. Two methods with one functional interface can use lambdas, but one method with a two method interface can't.
But of course, at the current state of Android, lambda support should not be a priority for an API design :p
Maybe a middle solution would be a RxJava-like listener supporting both forms, one interface with two methods and two interfaces with one method.
Anyway, just that you have thought about it is good enough for me. The real advantage here is the fluent API \o/

@Serchinastico do you have a branch to implement this one? Could be great to publish the 3.0.0 version with my last PR #73 and this one.


Option to delete the PII categories from management console

We can delete PII categories of a consent purpose from the REST API, but not from the management console. Need to have that option from the MC too.
https://docs.wso2.com/display/IS550/Managing+Consent+Purposes

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Docs onboarding language-specific cleanup

Partial https://github.com/Azure/azure-sdk-tools/issues/6800

Partial Azure/azure-sdk-tools#6800

Are there more changes coming in this PR?

Partial Azure/azure-sdk-tools#6800

Are there more changes coming in this PR?

No more changes. I was waiting on the release build to succeed to ensure nothing regressed.


Update to node 10 in .travis.yml

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Resources CSS and JS 404

Describe the bug
In staging (Laravel Forge) the Orchid resources CSS and JS are not found, giving a 404.
Have tried php artisan orchid:link but this has not solved the issue.
Is this an issue with the Symlink or is there something else I can do to resolve this?

I can't open your domain. I think this is still an example.
If you have css/scripts available at:
dev-foobar.io/admin/resources/orchid/css/orchid.css?id=01005b7515df1f41ec1f

Then you didn't need to create a symbolic link. Delete it manually

Hi @tabuna, Thanks for getting back to me,
That was an example, the real url is
https://occupy.dev-housemates.io/admin
https://occupy.dev-housemates.io/admin/resources/orchid/css/orchid.css?id=01005b7515df1f41ec1f
I have removed the symlink and the file is still not found

Do you still have a public/resource directory?

Path selection logic

If there is a setting for app.mix_url, we will use it.
If there is a resource directory. Then contact her for data
We return with the controller with the full cache and headers.

Do you still have a public/resource directory? If yes, then remove it
@tabuna this has resolved the issue!

Excellent! Cool project. Good luck

Do you still have a public/resource directory? If yes, then remove it
@tabuna this has resolved the issue!

This Works! like a charm!


Extract docs engine into reusable package

We currently use our custom docs engine on dvc.org and cml.dev, with plans to add it to all our product sites. The docs engine is currently "shared" between the two sites by simply copy-pasting 90+% of the code between the dvc.org and cml.dev repos. This already poses a problem when it comes to updating the engine, and will only get worse as we introduce new sites.
Due to these requirements and issues, we're undertaking an effort to move the docs engine to a reusable package, leaning on the Gatsby Plugin and Theme API as well as more general Node package interfaces like module exports. The long-term plan is to package the docs engine as an NPM package.
To ease the transition, we'll break development into multiple phases
Phase 1: dvc.org local plugin
We'll start by moving all dvc.org docs logic into a local Gatsby plugin, a pseudo-npm package in the plugins folder. This will allow for much easier rapid incremental development with minimal worry about maintaining updates for a half-working package. This phase ends after we move all of dvc.org's docs engine to this local package.

[x] #3113
[x] Move docs sidebar logic to local plugin (https://github.com/iterative/dvc.org/pull/3170)
[x] Move generalized React components to local plugin (either as exports or shadowable components)(https://github.com/iterative/dvc.org/pull/3170)

Phase 2: Internal package sharing
Once we're confident we've moved all the docs code we want to share, we can start turning the local plugin into a real package and use it among all our internal sites. This phase specifically puts less of an emphasis on how external users would use the plugin, instead putting the most consideration on how we'll use the plugin for our product sites.

[x] Create a new repo and NPM package with the contents of the local plugin folder(https://github.com/iterative/gatsby-theme-iterative/)
[ ] Remove the local plugin from dvc.org and ensure all imports are changed to the npm package name (https://github.com/iterative/dvc.org/pull/3396)
[x] Remove the copy-paste docs engine from cml.dev and use the reusable package(https://github.com/iterative/cml.dev/pull/233)

Phase 3: Generalizing for outside audiences
After we're comfortably using this package for all our internal websites, we can consider the possibility of sharing it with the public as an option for other Gatsby sites to use as a docs engine. This is easily the most variable step- it could range from a massive refactor to being scrapped altogether if we decide to only ever consider internal use.

Will #3396 close this?

Will #3396 close this? (If so please link them.)

Yes, that would complete phase 2.


Update to the Circular Buffer

The Circular Buffer should now be functional. Removed the ICollection
interface as it did not apply to the definition of a circular buffer as
a FIFO data structure. Summary comments for some of the methods have
also been added. The class may be able to use a little more work.

Thanks! I've added some comments, please fix those issues and also remove temporary files from your git commit. We don't wanna make the repo polluted with temporary files.

I apologize for my inexperience. Would the temporary files be the ones located in obj/Debug?

 Learn git, at least basic things, it'll make your life easier when contributing to open source projects.

I think there's another binary file, use git diff to check which files you've changed and remove other files that aren't source.
Also there're lot of commits which are basically deleting temp files added by mistakes which pollutes project commit history. Create another pull request with one commit that described cleanly what you've changed, so in future someone can review.

Oh alright. So should I only be committing the Circular Buffer source file and the files in the main folder?

Wouldn't I have to create a new branch to clean the commit history? If I create another pull request all of the commit history is still there.

Yes, you have to create another branch or you can squish git commits. See here: http://stackoverflow.com/questions/5667884/how-to-squash-commits-in-git-after-they-have-been-pushed


[Doc] Cognitive Service Level README markdown

Add a README at cognitive service level folder.

not needed


perf optimizations to send event logging performance

Small improve performance

[Minimizing the usage of instanceof checks  ]
[uses a combined isinstance check for both NullAction and NullObservation ]

Fixed by https://github.com/OpenDevin/OpenDevin/pull/1635#pullrequestreview-2050919406


host volume not mounting in container

I recently rebooted my system (upped my aws server) and now host volumes are not mounting in the container.
Here is proof:
ubuntu@ip-10-0-0-82:~$ dokku enter x2baja
root@895b97d02826:/app# cd uploads/
root@895b97d02826:/app/uploads# ls
BeerCanRace.jpg  MBayInn.jpg    X2_EDM.mp3            X2_orchestra.mp3      guest_avatar.png           testing
CanneryRow.jpg   Ravendale.jpg  X2_India.mp3          X2_piano.mp3          logos
DeathValley.jpg  Redwoods2.jpg  X2_Jazz.mp3           X2_rock_and_roll.mp3  pigeon_point.jpg
Divers.jpg       X2_China.mp3   X2_Latin_America.mp3  default.png           santacruznight_blur.jpg
Lassen.jpg       X2_Drums.mp3   X2_Notification.mp3   gallery               slightly_less_default.jpg
root@895b97d02826:/app/uploads# touch mountworking
root@895b97d02826:/app/uploads# exit
exit
ubuntu@ip-10-0-0-82:~$ ls /data/appdata/x2baja/uploads/
BeerCanRace.jpg  gallery           pigeon_point.jpg           testing       X2_Jazz.mp3           X2_rock_and_roll.mp3
CanneryRow.jpg   guest_avatar.png  Ravendale.jpg              X2_China.mp3  X2_Latin_America.mp3
DeathValley.jpg  Lassen.jpg        Redwoods2.jpg              X2_Drums.mp3  X2_Notification.mp3
default.png      logos             santacruznight_blur.jpg    X2_EDM.mp3    X2_orchestra.mp3
Divers.jpg       MBayInn.jpg       slightly_less_default.jpg  X2_India.mp3  X2_piano.mp3
ubuntu@ip-10-0-0-82:~$ dokku volume:list:apps x2baja-data
x2baja
ubuntu@ip-10-0-0-82:~$ dokku volume:info x2baja-data
/data/appdata/x2baja/uploads:/app/uploads
/data/appdata/x2baja/php5-sessions:/tmp/php5-sessions
ubuntu@ip-10-0-0-82:~$

You can see that the file I created in the container (filename mountworking) was not written to the host.  You can also see that the files are not the same.

I'm also having this issue, have to remove/re-create/re-link my host based volumes after each server reboot.
It's a Ubuntu 14.04 hosted on digitalocean, I have nothing installed except for dokku-alt.

@ayufan Any updates on this one?  Its kind of a pain.

It's fixed on latest beta. I also added a couple of tests to test all volumes functionality


Disable enum cases as protocol witnesses.

Explanation: There is a serious miscompilation bug in the code generation for enum cases as protocol witnesses. There is a fix in #35838, but that fix affects a fairly low level of SIL type lowering that could have unforeseen knock on effects, so I don't want to risk the stability of 5.4. It is safer to disable this new feature in the meantime.
Scope: Removes a new feature from the 5.4 branch.
Issue: rdar://73855052
Risk: Low, removes a new feature.
Testing: Swift CI

@swift-ci Please test


Add parents for timestamps function

Just a tiny change for docs.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


trimmed() String function behaves unexpected.

trimming string means removing special characters from start and end of string. trim() removes whitespace characters from inside string
e.g:
let string = "  Hello how are you   "
let` trimmedStr =  string.trimmed() // = '"Hellohowareyou"

While expected result is "Hello how are you"

Thanks, fixed it 👍
https://github.com/goktugyil/EZSwiftExtensions/commit/609fce34a41f98733f97dfd7b4c23b5d16416206


Call more attention to README Hacktoberfest link

Will also help us remember to remove it!  😅

J'approuve 🎃👻

Glad you squash merged this Sarah 🙌


Pull in QT WebSocket library for parsing

This avoids crashes when frames arrive in separate TCP packets.

This is an alternative to #1335 and closes #1308. It pulls in the official Qt parser, which is otherwise a private API.
This is the output from a websocket test suite, index.html.pdf. The failed cases 1.1.6/1.1.7/1.1.8/1.2.6/1.2.7/1.2.8 are testing packet lengths that are too big, and the Qt code responds appropriately with response code 1009.
(To get it to work with the test suite, you have to slightly modify the code to echo back complete messages, see the following patch.)
diff --git a/webaccess/src/qhttpserver/qhttpconnection.cpp b/webaccess/src/qhttpserver/qhttpconnection.cpp
index 806a8f219..2549dde70 100644
--- a/webaccess/src/qhttpserver/qhttpconnection.cpp
+++ b/webaccess/src/qhttpserver/qhttpconnection.cpp
@@ -362,6 +362,8 @@ QHttpConnection *QHttpConnection::enableWebSocket()
         this, SLOT(slot_pingReceived(const QByteArray&)));
     connect(m_webSocketParser, SIGNAL(textMessageReceived(const QString&)),
         this, SLOT(slot_textMessageReceived(const QString&)));
+    connect(m_webSocketParser, SIGNAL(binaryMessageReceived(const QByteArray&)),
+        this, SLOT(slot_binaryMessageReceived(const QByteArray&)));
     connect(m_webSocketParser, SIGNAL(errorEncountered(QWebSocketProtocol::CloseCode, const QString)),
         this, SLOT(slot_closeReceived(QWebSocketProtocol::CloseCode)));
     connect(m_webSocketParser, SIGNAL(closeReceived(QWebSocketProtocol::CloseCode, const QString)),
@@ -398,6 +400,11 @@ void QHttpConnection::webSocketWrite(WebSocketOpCode opCode, const QByteArray &d
     }
 }

+void QHttpConnection::slot_binaryMessageReceived(const QByteArray &data)
+{
+    webSocketWrite(BinaryFrame, data);
+}
+
 void QHttpConnection::slot_pingReceived(const QByteArray &data)
 {
     webSocketWrite(Pong, data);
@@ -405,6 +412,7 @@ void QHttpConnection::slot_pingReceived(const QByteArray &data)

 void QHttpConnection::slot_textMessageReceived(const QString &data)
 {
+    webSocketWrite(TextFrame, data.toUtf8());
     Q_EMIT webSocketDataReady(this, data);
 }

diff --git a/webaccess/src/qhttpserver/qhttpconnection.h b/webaccess/src/qhttpserver/qhttpconnection.h
index cca596a59..100c40c64 100644
--- a/webaccess/src/qhttpserver/qhttpconnection.h
+++ b/webaccess/src/qhttpserver/qhttpconnection.h
@@ -109,6 +109,7 @@ Q_SIGNALS:
 private Q_SLOTS:
     void slotWebSocketPollTimeout();
     void slot_pingReceived(const QByteArray &data);
+    void slot_binaryMessageReceived(const QByteArray &data);
     void slot_textMessageReceived(const QString &data);
     void slot_closeReceived(QWebSocketProtocol::CloseCode closeCode);

3da306527 is pulled from Qt 5.15.2 and appears to use some API features too new for 5.14.2... Let's try downgrading to 5.15.0 before QStringView::toInt was introduced and see if that fixes the build

@awwright  please see my last comment on #1308
What you're experiencing with this build is exactly what I'm talking about.
Let's avoid it...

@mcallegari I see—sorry, I thought I was trying something new by copying in the sources. However, I was able to get much further in just a couple hours of work, compared to #1335. I tried this because when I was running the tests on #1335 there were still more than a few failures that could plausibly cause data corruption or some other problems in the future. I can provide the test results if you're interested.
Maybe you can still take a look at this, I seem to have everything working. There's just one error from the code analysis tool that can probably be ignored.

@mcallegari There seems to be an error with the AppVeyor builds in general (was there a system change?), but otherwise it should pass, and I think this is ready for your consideration. The Codacy analysis shows one type of error ("Check buffer boundaries") which can be ignored: in all the cases the code has already checked the buffer boundary using bytesAvailable. Please see https://github.com/mcallegari/qlcplus/issues/1308#issuecomment-1140605478 for a comparison of the solutions I've tried.

@mcallegari This PR is ready for your consideration, could you please take a look? The only remaining error is the code analysis wants read() calls to check the return value, which it is doing.

As I mentioned here a month ago, I'm not sure if I want to drag in another Qt dependency to the project.
I'd prefer to fix the current implementation as, thanks to your analysis, it seems the issue to fix is a corner case reported basically only by you.
I could spend some time to reproduce the issue and attempt a fix myself without extra dependencies.

@mcallegari I'm hoping to submit a number of other improvements to the Web interface, especially around tempo, and even with the simple fixes that prevents crashing, the test suite still flagged a number of other issues that will likely cause problems, see qlc+-websocket-parsing.pdf.
We could write code that fixes all of those problems, but it would not be as quick to implement, or easy to maintain, as copying in an existing parser. No dependencies have been added, it uses the same public Qt API that the rest of QLC+ uses.
I spent several days on #1335; I was able to finish this PR in a couple hours. In my testing, everyone who uses Wi-Fi is affected.

@mcallegari Can you please merge this? It doesn't add any dependencies.

coverage: 32.021%. remained the same
when pulling 6a1596e6fa0d845292c5a1bdd5310e6467a1df9f on awwright:issue-1308-b
into d69133f5d22ff8451300a5d52b84de145222e090 on mcallegari:master.


Add Fedora build instructions to README.md

Trivial, as per title.

Thanks.
utACK.

utACK. Cheers!


Require at least one ET_TASK thread

This also (rightfully) makes us require at least one ET_TASK thread.
There are already things depending on ET_TASK, so this is nothing new.

[approve ci]

[approve ci]


[Cluster Object Model] Grafana configuraiton compatibility

Old
grafana:
  # port for grafana
  grafana-port: 3000

New
grafana:
   port: 3000

Coverage remained the same at 51.762% when pulling 70b43e764bbdf0aec52fffe555f90e3bb3a2898c on yuye/comp-grafa into e74e7325837648296f7e648fdc659c214f2a6e48 on yuye/compeitable.

Coverage remained the same at 51.762% when pulling 70b43e764bbdf0aec52fffe555f90e3bb3a2898c on yuye/comp-grafa into e74e7325837648296f7e648fdc659c214f2a6e48 on yuye/compeitable.


refactor(policies): refactor of the rules API data transformations

Refactors the 'Rule' objects to use a similar Rule.fromObject/fromCollection interface of our data layer.
We'll be using these objects in the dataplane viz side panels soon, so wanted to get familiar with the shape of things as well as move things over to our toObject interfaces.
The shape of these has changed slightly in that we just produce a big list of rules then filter/pick what we want from those in the view.
I guess there will be a file move PR to come after this, but I wanted to avoid renaming and moving files around too much in a PR with this amount of change in it.

General question: wasn’t one of the conclusions from yesterday’s meeting that the complete flattening of the rules structure was problematic with regards to the warnings appearing on the original response? I thought we were gonna keep the grouping by policy type intact.

The conclusion was that I was going to have a quick look at warnings and how they would fit here if/when we ever come to use those (considering we don't use those at the moment).
From an initial look, warnings is just an array of strings, and don't contain anything that would indicate that it specifically applies to a to or from rule so we could quite happily add a .warnings array to the new Rule here and add them there. TLDR; it doesn't change how I would do this PR as its stands now.

Seeing as we’re not currently consuming these warnings, I’m happy to shelf this consideration for later

Awesome, thankyou


Download task always up to date with gradle-download-task 4.x

Multiple file download task seems to always be up to date and thus does not download any files. Same task declaration works on 3.4.3, i.e. last 3.x release.
Versions: gradle-download-task:4.0.0+ (tested on 4.0.0 and 4.0.4)
Task:
task fetchAssetBundles(type: Download) {
    doFirst {
        src([
                ...,
                ...
        ])
        dest buildDir

        acceptAnyCertificate true
        onlyIfNewer true
    }
}

Output snippet:
Selected primary task 'fetchAssetBundles' from project :
Tasks to be executed: [task ':fetchAssetBundles']
:fetchAssetBundles (Thread[Execution worker for ':' Thread 2,5,main]) started.

> Task :fetchAssetBundles UP-TO-DATE
Custom actions are attached to task ':fetchAssetBundles'.
Caching disabled for task ':fetchAssetBundles' because:
  Caching has not been enabled for the task
Task ':fetchAssetBundles' is not up-to-date because:
  Task.upToDateWhen is false.

Gradle version:
$  ./gradlew --version

------------------------------------------------------------
Gradle 5.6.4
------------------------------------------------------------

Build time:   2019-11-01 20:42:00 UTC
Revision:     dd870424f9bd8e195d614dc14bb140f43c22da98

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          11.0.4 (Azul Systems, Inc. 11.0.4+11-LTS)
OS:           Mac OS X 10.14.6 x86_64

Can you please give me some more details. What do you mean with "seems to always be up to date". What is the expected behaviour? Have the files on the server changed and you want to overwrite the local files? Or are the files not downloaded at all in the first place?
I see that you get a warning regarding "custom actions". Please try to remove the doFirst statement. It's not necessary and probably the root of your issue.

Files were not downloaded at all in the first place. Yes, you are right, the problem was with the doFirst block which was necessary due to another plugin that injected information at runtime.


Reorganize file tracker

This is precursor to a much bigger change. Pushing out some of the
changes that have broad impact early to make it easier to review the
real change.

FYI only - will merge once CI passes


request to deploy my first plugin for jenkins

Repository URL
https://github.com/gabo89/container-image-link
New Repository Name
container-image-link-plugin
Description
this plugin allow to add a  badge and a permalink in the ui with an url provided in the step, i find it very useful to use on the published container image or build image in jenkins, for example when i build my image with kaniko and publish to harbor i want to make a click in the ui and let jenkins me redirect me to the harbor url , so i compose the harbor url by myself and then i pass the harbor url to this plugin so it forward to the badge and the button then when i make click to the badge or tab it forward me to harbor, the same logic aplies to any other container registry , it was intented for harbor but i think it can be useful for all
GitHub users to have commit permission
@gabo89
Jenkins project users to have release permission
gabocuadros
Issue tracker
Jira

/hosting re-check

doing a rapid check and comparing my ticket to other  i see that i am missing unit testing , implementing it while waiting

added unit test successfully

Hi

I would suggest something less generic than newImageLink for the step name, possibly containerImageLink?
It's preferable to use svgs over pngs for Icons.

No blockers though from me.
@Wadeck did you want to take a look?

hello @timja thanks for the recommendation, i just aplied them to the repository , let me know if something else can be improve

hello @Wadeck , do you have any news about this ticket ?

hello @timja can you help me with attendance of this ticket ? :)

Just awaiting confirmation from the security team, if no word by the end of the week I’ll host it then

Thanks for the ping. At first look there is a chance of XSS, deeper audit will be tracked as JENSEC-1811.

hello @Wadeck @timja , do we have any news about this plugin :)?

Hi @gabo89,
We're able to perform a more complete audit on your plugin here are the feedback:

A stored XSS in HarborBadgeAction/badge.jelly#L3, you're using a variable coming from the user directly in an attribute that can execute javascript (href).
If you use the payload javascript:alert(1) as url, it will raise an XSS when you click on the link.

Recommendation:
Check for allowed protocols, and reject anything not specifically allowed as a start.

Not a security vulnerability but please provide a short description of your plugin in resources/index.jelly#L3, it will be displayed in the plugin manager.

We will let you correct the finding and ping us when you are done or if you have questions.

hello @Kevin-CB  thanks for pointing that out, also another payload that cause the xss are data:text/html;base64,PHNjcmlwdD5hbGVydCgiaGFja2VkIik7PC9zY3JpcHQ+ which is a box that says hacked , i am planning to just add http:// or https:// in short term to all request but as im discussing with friends that might not solve all issues ass well , i will try many alternatives and let you know when is fixed

hello @Kevin-CB  i managed to solved the xss security error and also added a description in index.jelly  please have a look to see ifs its follow the security rules , i validate agaisnt a few url and seems to be working as expected from my side

Hi @gabo89,
I manually tested your correction and it looks OK!
However I forgot to ask you to add the rel="noopener noreferrer" attribute to HarborBadgeAction/badge.jelly#L3 to avoid tabnapping vulnerability.

hello @Kevin-CB  i just added the additional lines to make it  more secure, let me know if something else is missing,

Perfect, everything is good from a security point of view, we can continue the hosting process!

/hosting re-check

/hosting host

thanks you all for the help!


Make kubeconfig ttl global settings configurable

This adds kubeconfig-token-ttl-minutes and kubeconfig-generate-token to the global settings page

Addresses: https://github.com/rancher/dashboard/issues/3044

Can you change just the lines you need in en-us without something linting it & making whitespace changes all over..  this leads to non-conflicts (like right now)

Done

Hi @bashofmann , Neil and I had a look and the settings make sense. We tested both ... kubeconfig-generate-token worked as expected however changing kubeconfig-token-ttl-minutes didn't. Should it change the ttl value of the token generated when downloading kube when kubeconfig-generate-token is true... or does it only effect the token generated by the rancher cli tool when kubeconfig-generate-token is false?

It only affects the ttl of the token that is generated by the rancher cli. This is currently documented here: https://rancher.com/docs/rancher/v2.5/en/api/api-tokens/#setting-ttl-on-kubeconfig-tokens.
If kubeconfig-generate-token is true, kubeconfig-token-ttl-minutes currently has no effect.
The rancher CLI currently generates two tokens, a kubeconfig token, which has a TTL, and some login/session token, which does not. This should be fixed in master though: https://github.com/rancher/rancher/issues/31593.


Move ClientInfo from MSAL to common

ClientInfo will become part of the response on the Azure AD v1 endpoint
Need to update MSAL to leverage common

I'll pick this up @shoatman -- Will likely do this in two PRs: first PR will establish submodule dependency, once that merges I'll set this up.

Completed by 584c9bbcad7d1fe7923209557e51fce06d01c24b


Text editor widget fires OnChange event even when nothing changes

Describe the bug
Exiting a text editor widget fires the OnChange event despite no changes.
How to reproduce

Go to the documentation page for text editors: https://www.cogentcore.org/core/widgets/inputs/text-editors
In the example text editor that shows a snackbar message for the OnChange event, enter some text like "Test" and then click somewhere outside of the field
Observe the OnChange event fires and there is a snackbar message as expected
Wait for the snackbar message to disappear
Focus the text editor and click somewhere outside of it so that it loses focus without making any changes to the text.
Observe the OnChange event fires despite the text not having changed and thus there is an unexpected snackbar message showing the event.

Example code
ed := texteditor.NewEditor(b)
ed.OnChange(func(e events.Event) {
	core.MessageSnackbar(b, "OnChange: "+ed.Buffer.String())
})

Relevant output
No response
Platform
Web

I can fix this soon -- nice catch!


Remove gist:has(Direct)Sub(Super)Category properties. Use skos:broader instead.

There is no need for the gist properties that are used to create hierarchies of gist:Category instances.  I don't think I ever used them.  We can just use skos:broader and skos:broaderTransitive

Instead of gist:hasSuperCategory use skos:broaderTransitive
Instead of gist:hasDirectSuperCategory use skos:broader
gist:hasSubCategory   we usually do not have inverses anyway.
gist:hasDirectSubCategory we usually do not have inverses anyway.

Note that skos:broader and skos:broaderTransitive makes the same distinction we make with our x/directX pattern with a different naming convention.   Meaning is identical.
We started using skos:broader for region and commodity hierarchies at Platts because they were used to using skos:broader. Now that we are moving to using skos in other ways, this make sense. And we get the benefit of trimming 4 properties from gist.
See also, issue https://github.com/semanticarts/gist/issues/374

Personally, I am all for this change. However, it is a departure from standing gist practice, which is not to import external ontologies. Is there a reason why we have been resistant to this? See also #155.

The hasX/hasDirectX is not problematic here, because the goal is precisely to create taxonomy trees with fully defined broader and narrower relationships. It does not have the problem we noted in the other cases of this pattern.

However, it is a departure from standing gist practice, which is not to import external ontologies.

We use skos annotations w/o importing. We could decide to use skos:Concept also.

Reference comments on #455.

@rjyounes
I think this is now moot, we decided to keep this a while ago.


Increase NIDs on server detail page

Fixes #101
Fox-13 shows a customer who needs support for 32 nids. We would like to put in a better
interface but for now, we will add support for 50 nids.
Signed-off-by: Joe Grund<EMAIL_ADDRESS>

Codecov Report

Merging #108 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   95.29%   95.29%
=======================================
  Files         306      306
  Lines        4121     4121
  Branches      496      496
=======================================
  Hits         3927     3927
  Misses        173      173
  Partials       21       21

Impacted Files
Coverage Δ

source/iml/lnet/lnet-options.js
100% <100%> (ø)
:arrow_up:

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 8ea65c6...9efe7c7. Read the comment docs.


Update intent-button.md

Added a working example for insert, remove and reorder intents.

Hi @KirillSBarsukov, sorry for the confusing example in the docs. If you need to update the value of a field, the minimal setup as of v1.1.5 would be <input key={task.key} name={task.name} defaultValue={task.initialValue} /> and so your changes using getInputProps does fix the issue you had with the form intents.
Having said that, the situation is a bit different with our newly released v1.2.0. As it is no longer required to pass a key to the input element. The defaultValue is also optional depending on your usecases. The original example is now working as expected without any changes! Please give it a try and let me know if you run into any other problems :)

The change looks right to me! Thanks a lot and sorry for all the confusions.

One little request, can you help applying the same change on the ja docs? You can find it here https://github.com/edmundhung/conform/blob/main/docs/ja/intent-button.md
This is pure code change so we don't need to worry about translations. Thanks again :)


#1386: Support a configurable timeout

This PR supplies a robust solution to #1386. It offers three new configurable variables, http_timeout, connect_timeout, and bulk_timeout which are used in the places where timeout durations were previously hardcoded.
Unit tests were added to confirm that the features added work. For a final manual sanity check, I ran wrangler publish on a 2.4MiB JS file (on my 0.5Mbps upload internet), one without setting the related environment variables and one with. When the timeout variables weren't set, my internet upload was getting maxed out, and when setting the timeout to 0 the upload instantly failed. huzzah :DDD :tada:
$ CF_HTTP_TIMEOUT=0 CF_CONNECT_TIMEOUT=0 CF_BULK_TIMEOUT=0 wrangler publish
 JavaScript project found. Skipping unnecessary build!
Error: error sending request for url (https://api.cloudflare.com/client/v4/accounts/x/workers/scripts/worker): operation timed out

Relevant documentation should be added to notify users that they can set these environment variables if they need to increase the timeout.

Do you think we could solve the same problem with a simpler solution like increasing the timeouts to 5 minutes, and 15 minutes for the bulk API?

I can't disagree - that would solve the problem for the majority of users, and a much simpler one at that. However, one drawback I see with this is that if users cannot reach the target endpoint, they will have to wait for the duration of the timeout before an error occurs. The benefit of a robust solution such as this one allows users to be conscious of how long they have until they time out.
As for specific changes to the timeout values, this problem has been solved for me ever since the timeout was increased to a minute, so I cannot weigh in on a value for a good increase.

That would also make it easier for us to get this into the next wrangler release.

If this PR is too much to properly code review for the time being, I don't mind it being put on the back burner. The current timeout values satisfy my needs, so I have no dire need for this to get in anytime soon.


Training time

Thank you for your amazing work and contribution to the trajectory prediction community, since the model is big and requires large resources to train, how long did you train the model with those resources?

4*A40 for 2~3 days.


vscode.InlineCompletionItemProvider show text at current cursor position and Accept word/Accept line does not work on mac and for windows on latest vscode version

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

VS Code Version: 1.87.2
OS Version: windows and mac

Steps to Reproduce:

In vscode editor (for our extension), we need to show some text on user action (lets say on clicking some context menu).
After displaying the text, User can insert entire text or insert the text word by word or line by line.
The text which needs to be displayed and inserted would be fetched on clicking context menu and can be passed to vscode provider.
We need to show the text in new line after the end of the statement rather than at current cursor position
In order to achieve both requirements we have used  vscode.InlineCompletionItemProvider.
i have found vscode.InlineCompletionItemProvider does not fulfill both requirements completely and we are facing below issues
1)Accept word and Accept Line does not work on Windows for vscode version later than 1.86.2. On vscode version later than 1.86.2, On clicking Accept word only first word gets inserted and after that inline suggest toolbar gets disappears.
2)Accept word and Accept Line does not work on mac for any vscode version. On clicking Accept word only first word gets inserted and after that inline suggest toolbar gets disappears.
3)Text is shown at current cursor position rather than at the end of statement.

I have also raised above issues on threads https://github.com/microsoft/vscode/issues/207414 and https://github.com/microsoft/vscode/issues/207753
but did not get resolution yet
I was wondering do we need to implement any other provider or i am using the provider in wrong way(particularly related to range)  or is their any bug with vscode?
Below is the code snippet.  ( please note, inlineCompletionitemProvider.pos is the current position of cursor which does not change after we trigger command - editor.action.inlineSuggest.trigger
class inlineCompletionitemProvider implements vscode.InlineCompletionItemProvider {
public static hint:string = "";
public static pos:vscode.Position;
public static range:vscode.Range;
provideInlineCompletionItems(document: vscode.TextDocument, position: vscode.Position, context: vscode.InlineCompletionContext, token: vscode.CancellationToken): vscode.ProviderResult<vscode.InlineCompletionItem[] | vscode.InlineCompletionList> {
if (context.triggerKind == vscode.InlineCompletionTriggerKind.Invoke)
{
let vscodeRange:vscode.Range = new vscode.Range(inlineCompletionitemProvider.pos,position);
let item: vscode.InlineCompletionItem = new vscode.InlineCompletionItem(${inlineCompletionitemProvider.hint},vscodeRange);
return [item];
}
else{
return [];
}
}
}
//code snippet to explicit trigger inline hint provider and display them
private onResult = async () => {
oracleInlineCompletionitemProvider.hint = "testing accept word";
oracleInlineCompletionitemProvider.pos = activeTextEditor.selection.active; // this is cuurent cursor position. hints would be displayed at this position
await vscode.commands.executeCommand('editor.action.inlineSuggest.trigger');
}

I encountered the same problem.
In earlier versions:

When always show toolbar is false, clicking accept word will trigger provideInlineCompletionItems, context.triggerKind is Automatic, then I return undefined and the suggestion code will still exist;
When always show toolbar is specified as true, clicking accept word will trigger provideInlineCompletionItems, and context.triggerKind is Invoke. In this case, undefined will be returned and the suggestion code will not exist. So in this case I returned the rest of the code;

In the current version:

Regardless of whether always show toolbar is specified as true, context.triggerKind is Automatic, the returned undefined suggestion code will not exist

Type: Bug
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1260P (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_ok< br>skia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.69GB (4.42GB free)

Process Argv
--crash-reporter-id 8907859a-dd42-4cff-a463-eec6c8d4e7bb

Screen Reader
no

VM
0%

Extensions (29)

Extension
Author (truncated)
Version

codesnap
adp
1.3.4

tsl-problem-matcher
amo
0.6.2

regex
chr
0.4.0

vscode-eslint
dba
2.4.4

EditorConfig
Edi
0.16.4

prettier-vscode
esb
10.4.0

codespaces
Git
1.16.18

todo-tree
Gru
0.0.226

vue-snippets-self
jwy
0.0.7

i18n-ally
lok
2.12.0

gitless
maa
11.7.2

git-graph
mhu
1.30.0

vscode-docker
ms-
1.29.0

vscode-language-pack-ko
MS-
1.88.2024040309

vscode-language-pack-zh-hans
MS-
1.88.2024040309

git-emoji-message
nai
1.1.0

indent-rainbow
ode
8.3.1

svg-preview
Sim
2.8.3

vscode-rustfmt
sta
0.1.2

code-spell-checker
str
3.0.1

vscode-stylelint
sty
1.4.0

pdf
tom
1.2.2

errorlens
use
3.16.0

explorer
vit
0.4.1

vscode-icons
vsc
12.7.0

volar
Vue
1.8.27

vscode-typescript-vue-plugin
Vue
1.8.27

pretty-ts-errors
Yoa
0.5.4

type-challenges
YRM
1.15.0

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
g1icg217:30999571

This issue exists on latest vscode version 1.88.
Can anyone help in resolving this issue?


Undefined is not an object (evaluating 'CustomTabsManager.openURL')

When just copying your example and rebuilding the app, I get this message when I try fire up a new tab:
Undefined is not an object (evaluating 'CustomTabsManager.openURL')

@KeizerDev
Sorry for the late reply.
This error occurs if CustomTabsPackage is not provided. I updated the installation of README.md.

https://github.com/droibit/react-native-custom-tabs#android

@droibit
I imported CustomTabsPackage but still have the same error
My MainApplication.java:
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;

import com.dstaley.ReactNativeChromeCustomTabs.ChromeCustomTabsPackage;

import java.util.Arrays;
import java.util.List;

public class MainActivity extends ReactActivity {

    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    @Override
    protected String getMainComponentName() {
        return "Glever";
    }

	/**
	* A list of packages used by the app. If the app uses additional views
	* or modules besides the default ones, add more packages here.
	*/
	@Override
    protected List<ReactPackage> getPackages() {
		return Arrays.<ReactPackage>asList(
			new MainReactPackage(),
			new ChromeCustomTabsPackage(this)  // <-- Register
		);
	}

}

I guess @ethanyuwang 's issue is in the Javascript code.
You need to import the CustomTabs object from the react-native-custom-tabs library at the top of your file then use it withCustomTabs.openURL(...):
import { CustomTabs } from 'react-native-custom-tabs';

...

CustomTabs.openURL('someURL')
    .catch((e) => handleError(e));

Hi i'm having this issue as well! i am using expo also or is this not compatible?


Find linkcheckerrc

@LSchwiebert - It looks like you're right and ubuntu-latest now uses 24.04, which includes a newer version of Python.  This PR updates the Link Checker workflow script to search for the needed linkcheckerrc file instead of using a hard-coded path that specifies Python 3.10.
I'll also apply this update to the JETSCAPE site.

[like]  Loren Schwiebert reacted to your message:

From: Joe Latessa @.>
Sent: Sunday, December 22, 2024 9:19:07 PM
To: GOMC-WSU/gomc-wsu.github.io @.>
Cc: Loren Schwiebert @.>; Mention @.>
Subject: [GOMC-WSU/gomc-wsu.github.io] Find linkcheckerrc (PR #7)
[EXTERNAL]
@LSchwieberthttps://github.com/LSchwiebert - It looks like you're right and ubuntu-latest now uses 24.04, which includes a newer version of Python. This PR updates the Link Checker workflow script to search for the needed linkcheckerrc file instead of using a hard-coded path that specifies Python 3.10.
I'll also apply this update to the JETSCAPE site.

You can view, comment on, or merge this pull request online at:
https://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7
Commit Summary

24cf10ehttps://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7/commits/24cf10efeb50d9b9e5c3159171f4da34cf6f715f find linkcheckerrc path modified by Python update
a99cfb2https://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7/commits/a99cfb23afaadc7d9c00ad69eab831df11416555 run linkchecker on find_linkcheckerrc branch

File Changes
(1 filehttps://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7/files)

M .github/workflows/linkchecker.yamlhttps://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7/files#diff-df30c24ba54dd9eb504929477aa0e7cd25479b2233b52edb718d29f05dec0f21 (12)

Patch Links:

https://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7.patch
https://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7.diff

—
Reply to this email directly, view it on GitHubhttps://github.com/GOMC-WSU/gomc-wsu.github.io/pull/7, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC7C7WLXF64C2Q4XK7S66332G4UEXAVCNFSM6AAAAABUB75E6GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TIOBUHA3TQNQ.
You are receiving this because you were mentioned.Message ID: @.***>

The patch is working, but there is the following warning:
The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
So, I think it would be a good idea to modify the patch now rather than after this deprecated command is disabled.

I replaced the deprecated set-output with $GITHUB_OUTPUT.  The PR has been updated.


Honda carstate: fix forcing is_metric to False

A bug in !CIVIC case would override the user's IsMetric option with False, and subsequently that forced value is written back to the car HUD (via IMPERIAL_UNIT).

I misunderstood was that the is_metric in controlsd is different than is_metric in carstate.  They are independent:

controlsd - Controls.is_metric is only used for call to create_alerts()
carstate - CarState.is_metric is written out to ACC_HUD / IMPERIAL_UNIT

But it means that:

IMPERIAL_UNIT is forced True for all Honda's other than Civic.  I don't know if that causes problems in practice.
the user's IsMetric toggle is not propagated to the HUD


Welsh (Cymraeg) language file

Translation file for Welsh (Cymraeg)

Awesome work! Could you please add an updates translations.js file? Thanks!


feat: add features to conformance and do some refactors

Ⅰ. Describe what this PR did
As more and more test cases added, we need high-level group of single cases.
Some advantages:

Easier to maintain testcases
Clearer context of testcase
Better to control a enable/disable group of testcases

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #532 (88bd728) into main (54a8a90) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #532   +/-   ##
=======================================
  Coverage   40.26%   40.26%
=======================================
  Files          45       45
  Lines        6184     6184
=======================================
  Hits         2490     2490
  Misses       3521     3521
  Partials      173      173

https://github.com/alibaba/higress/actions/runs/6230614285/job/16911043103?pr=532
https://github.com/alibaba/higress/actions/runs/6230614285/job/16911042810?pr=532


Defer creation of install* Gradle tasks, fixing Linux clean build

A clean checkout of master @ b07dace1d08e1e09e259edf370fd7390be00eb3d doesn't build (or even configure) on Linux for me. For example on my Linux computer ./gradlew tasks fails with:
Could not determine the dependencies of task ':drivers:ios-driver:installLocally'.
> Task with path 'publishIosX64PublicationToTestRepository' not found in project ':drivers:ios-driver'.

These changes defer creation of the various publish* tasks so that they are not created during the configuration phase and so don't need to exist if they aren't used in the build. This is also in line with Gradle's documentation recommending configuration avoidance APIs be used.
As a side note, I'm not sure what difference makes the CI Linux builds succeed, but not the build on my computer. Perhaps something about the task configuration is being cached as part of the CI caching ~/.gradle/caches.

Ah, the difference with CI is that it has TRAVIS_OS_NAME environment variable set.
Running this on master b07dace1d08e1e09e259edf370fd7390be00eb3d succeeds on my Linux computer:
TRAVIS_OS_NAME=linux ./gradlew ...
due to triggering this:
https://github.com/square/sqldelight/blob/b07dace1d08e1e09e259edf370fd7390be00eb3d/sqldelight-gradle-plugin/build.gradle#L50

Thank you!


Engine tree closed on failure to upload benchmark results

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux linux_benchmarks/706/overview

Message is:
The lock is waiting for a long time: 0:00:10.240000. If the lock file flutter-engine/2023/07/16/08/b5282b08951344e5f4b6eaf1c8e5ee153bb9ee9e/flutter_engine_benchmark_values.json.lock in bucket flutter-skia-perf-prod seems to be stuck (i.e., it was created a long time ago and no one seems to be owning it currently), delete it manually to unblock this.

I'm looking to resolve the lockfile issue now go/flutter-luci-playbook#a-lingering-lock-file-causing-the-framework-tree-to-be-red

The re-run passed, but the tree did not re-open. I clicked the re-run button in Cocoon. If that still doesn't work, I'll manually land a safe commit.

The tree is green following the Cocoon-triggered re-run


Doing "Extract" on MIDI-OX MSI file produces no results

Describe the bug
Possibly related to #194  ?
MIDI-OX MSI doesn't extract
To Reproduce
Steps to reproduce the behavior:

Go to 'http://www.midiox.com/'
Click on 'Download: MIDI-OX 7.0.2'
unzip the exe, e.g. 'unzip.exe midioxse.exe' which will give you MOXSETUP.MSI
Run 'lessmsi.exe x .\MOXSETUP.MSI'

Expected behavior
should be extracted. It isn't.  'lessmsi.exe o **.\MOXSETUP.MSI' shows correct content.
Desktop (please complete the following information):

OS: Windows 11 23H2 (OS Build 22631.3447)
lessmsi <IP_ADDRESS>

Thank you for reporting. We will investigate. @mega5800 FYI - no pressure just letting you know.


[scripts-audit] z_vcpkg_get_cmake_vars

Rename vcpkg_internal_get_cmake_vars -> z_vcpkg_get_cmake_vars, and do an audit. Also add a cache variable so we don't rerun, and remove the OPTIONS variable since it probably shouldn't be used.

remove the OPTIONS variable since it probably shouldn't be used.

OPTIONS allowed to query additional variable without changing this script. A pending use is in PR #16706.
However, I would agree that this must eventually be achieved in another way - OPTIONS requires knowledge of implementation details.

I wish there was a way to silence the output of this function. It causes an extra "Configuring " which is quite confusing.

Closing because this is the wrong account -.-


TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

(base) [root@ai_test src]# python main.py --prot-file chig.pdb --preprocess-dir chig_preprocessed --preeq-steps 0 --sim-steps 1000 --record-per-steps 1
Traceback (most recent call last):
File "/root/AI2BMD/src/main.py", line 10, in
from AIMD.simulator import SolventSimulator, NoSolventSimulator
File "/root/AI2BMD/src/AIMD/simulator.py", line 19, in
from Calculators.fragment import FragmentCalculator
File "/root/AI2BMD/src/Calculators/fragment.py", line 4, in
from Calculators.bonded import DLBondedCalculator
File "/root/AI2BMD/src/Calculators/bonded.py", line 15, in
from Fragmentation import DistanceFragment
File "/root/AI2BMD/src/Fragmentation/init.py", line 1, in
from .distancefrag import DistanceFragment
File "/root/AI2BMD/src/Fragmentation/distancefrag.py", line 17, in
from Fragmentation.hydrogen import CTable, HydrogenOptimizer, ProteinData, ProteinDataBatch
File "/root/AI2BMD/src/Fragmentation/hydrogen/init.py", line 2, in
from .energies import HydrogenOptimizer
File "/root/AI2BMD/src/Fragmentation/hydrogen/energies.py", line 5, in
from Fragmentation.hydrogen.topology import ProteinData
File "/root/AI2BMD/src/Fragmentation/hydrogen/topology.py", line 133, in
class ProteinDataBatch(Batch, ProteinData):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Is there same thing wrong with python code about subclass？

how are you running the code? we cannot reproduce this error in the docker container we provide


Ligatures

Support for common ligatures such as "fi" would be nice. Limited to those with their own unicode code points.

There's something new?
I'm very interesting too in ligatures.


Add action view for the button

Inspecting the button should offer the action through a direct view.

Wonderful!!


Branch name overrun repo name in Source Control panel

Issue Type: Bug
Introduced in the new 1.48.0.
In the Source Control sidepanel, if you have a repo with a long enough branch name such that the sidepanel size doesn't allow for both the repo and the branch name to appear side by side, then the branch name overruns the repo name.
The previous and "correct" behaviour is that the repo name always appear even if the branch name must be collapsed.
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T08:03:27.059Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
8, 9, 6

Memory (System)
16.00GB (0.81GB free)

Process Argv
-psn_0_15822614

Screen Reader
no

VM
0%

Would be good if this could be a candidate for a recovery build, this makes dealing with multiple repositories that use long JIRA generated branch names like bugfix/VSC-123-some-really-long-ticket-title quite annoying. When the branch name is long enough the repository name disappears all together and makes the branches almost look like subtree entries.

This is a big usability issue for me too unfortunately... Very common to have long branch names, which make navigating multiple checkouts much more difficult with the new behavior...

Actually there's no winning here. The solution you're proposing was implemented first and then came the issues: https://github.com/microsoft/vscode/issues/102108
There will always be people which really want to see the repository name. There will also always be people which really want to the see the checked out branches. We're sticking with the latter for now, sorry about that.


⚠ SkipTheCommericals has degraded performance

In c7db58d, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 3022 ms

Resolved: SkipTheCommericals performance has improved in 3a85360.


Decide on UI library approach

Do we want to roll our own UI library? Probably not, at least not for v1. There are already people doing excellent work on this.
So then we have two options:

Choose a UI library and commit to it
Conceptualise how we can encapsulate and support multiple UI libraries

E.G. if we have a Navbar from shadcn and another from ReactPrime, how can we best support them both, and allow the end user to choose the library they want to use? Is this practical?
Perhaps this is a later extension, if it is deemed necessary and popular.
For now, what is a widespread, accessible UI library?
Possibilities include:

radix UI
shadcn
primereact
chakra UI
mantine
react aria
NextUI

There is also MUI but I feel it is too opinionated to be a contender
I think it's the same for Tailwind UI. Things built with it are easily recognisable. I'd like to stay extensible—apps built with Lucidity should not look the same.

+1 on React Aria. Personally prefer shadcn and the likes for quick proof of concepts.

I think shadcn is nice but it comes with styles out of the box. The nav bar from Radix and shadcn is also a bit clunky and slow.
We did use shadcn for the Too Good To Go site and it worked out well there, and there is v0 that could be useful for quick modular content blocks.
Just wanted to make sure we're fully supporting WCAG 2.2 AA, which makes me lean towards React Aria. NextUI can also be added on top of that if people require more styled UI out of the box.
Still in two minds on this, what do you think?

React Aria for the inner modules? Leave shadcn or any other library for the outer sections?
V0 continues improving, but I find it's usually easier to let it use plain text and replace them with field values after anyway.
Not exactly sure how that might work, but decoupling the inner field logic from the section design could be a nice approach. Keeping it flexible at the design level while ensuring it's accessible where it matters?

I'm not 100% sure yet. I'm not certain I'll even add modular content blocks to this starter—perhaps save that for a separate repo, so that we don't even need to tie it to a specific UI framework.
The only exception here is that I'd like to create a Header, Footer, Announcement Bar, Article Page and list of Articles page UI out of the box (but very bare bones). It would be nice if the Header was fully accessible. Again, not sure if that should be a separate package so people can drop it in after forking this one, so that we don't end up making that choice for them.
I think it's one to play around with when we get there to make that decision.

I almost wonder if it'd be easier to switch it out, rather than plug it in?
90% of the time, those components are identical with influence from global styling anyway.
Obviously just speaking from my own experience, but there's rarely a time I'm not using a header with a logo, menu and some form of a hamburger.
Could be a neat way to show the mindset of how to use the starter too. I feel there's a gap in the market for that in-between.
A lot of starters are either overly bare or just an all in one solution.
I imagine a lot of forks will evolve into their own internal versions of a starter. Having that guiding hand from the first fork might be nice?

Went a little all over the place in the last one, but I think use packages for functionality that likely needs to change or update over time. For things like headers/footers that users may want to tweak and change, could be nice to keep that in the starters app file structure.

Yeah, just want to try and find a way to provide that functionality out of the box but without prescribing it.
I don't want users who want to use Shadcn to have to remove the headers and footers, remove the React Aria package, remove any styling etc that we've done, to get to a baseline.
It might be nicer to do like pnpm lucid setup react-aria or pnpm lucid setup shadcn for instance, and get that stuff added in

Could also take a branch approach. main has our base work, then there's a shadcn branch and a react aria branch, that have headers/footers and other UI implemented out of the box, so end user's can choose their flavour.

Liam mentioned a Figma file: here's a nice one by cal.com as inspo: https://www.figma.com/design/9MOufQNLtdkpnDucmNX10R/Cal-DS---Components?node-id=13743-97381&node-type=canvas&t=hgP3aCBm137nwyOD-0


[MLJLinearModels] solver got nothing

Context: https://github.com/alan-turing-institute/MLJ.jl/issues/401
Fix: make sure that these regressions get a default solver.

Fixed with  MLJLinearModels 0.2.3


Applying logical OR to a constraint "fails" silently

✨ Feature Request

Whilst answering a recent support query, it was highlighted to me that currently applying logical OR to two constraints effectively fails silently.
Motivation

We could change Constraint to throw a NotImplementedError. Pros: people don't have a silent failure. Cons: currently functional code could start throwing exceptions.
Which should we do? Change it or leave it?
Additional context

The lack of an OR operator on them means that python falls back to its default behaviour of checking for truth in the first argument, returning it if it's "truthy", and if not returning the second argument

I've experimented a bit and I think I was wrong above - at least in what I meant. Using "and" or "or" will fail silently, but the thing that we'd be spotting to catch this is Constraint being cast to a bool. Using "&" works as expected and "|" fails with a TypeError.
Given our docs don't say anything about "and" or "or" being ok, maybe it's just that one user thought that would be ok, rather than something that should be changed.

The @SciTools/peloton have agreed that the Constraint class should include the appropriate override to prevent it being used in boolean statements - there is an accepted way of doing this - to raise NotImplementedError. A unit test for this error should also be added.
This is not considered a breaking change since any code it breaks is using an anti-pattern.
The docs are already clear on the correct use of & instead.

the appropriate override to prevent it being used in boolean statements

After a little searching, I think raising TypeError from __bool__ is the "correct" way.
But I think providing a custom explanatory text is also very useful.
So, something like this:
>>> class MyClass:
...   def __bool__(self):
...     raise TypeError('Cannot use MyClass as a boolean')
...
>>> myc = MyClass()
>>> print('yes' if myc else 'no')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in __bool__
TypeError: Cannot use MyClass as a boolean
>>>

For reference, this is how numpy generates its familiar message The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() : here
Having said that, I think their use of ValueError instead of TypeError may be historical, and actually not quite right

as explained here


White page

After install the script all the front page it's white if I change to development environment return this:
`A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257`

i have same error . can i contact you   please write my whatsapp    +94712556303    https://wa.me/94712556303

You need to downgrade your PHP version to 5.6 so all notices will goes disappeared.


Document characteristics of various Observables

Summary
Documentation request

I frequently have questions about the behavior of the various Observables produced by RxAndroidBle, and can't find the answers in the JavaDoc or anywhere else.
For example, does the readCharacteristic Observable emit a single value and then stop? Does it call onCompleted() after emitting the value? What about the notification Observables?
I suggest a table showing, for each Observable, whether it is single-valued, multi-valued, or infinite, hot or cold, and describing under what circumstances its onError() and onCompleted() methods are invoked. If this already exists somewhere, kindly point me at it.

Added in Readme.

Very helpful—thank you!


endTime.Sub(startTime).Milliseconds undefined

Hello, I'm trying to install "aws-iam-authenticator" on my docker image through a dockerfile but it is failing on the go get .... step.
My dockerfile has this line for installation and it was working a while ago:
RUN go get -u -v sigs.k8s.io/aws-iam-authenticator/cmd/aws-iam-authenticator
Since it run it on verbose mode, I could see where its failing and what packages it gets. The error is here:

sigs.k8s.io/aws-iam-authenticator/pkg/mapper/crd
sigs.k8s.io/aws-iam-authenticator/vendor/github.com/aws/aws-sdk-go/service/ec2/ec2iface
sigs.k8s.io/aws-iam-authenticator/pkg/ec2provider
src/sigs.k8s.io/aws-iam-authenticator/pkg/ec2provider/ec2provider.go:237:57: endTime.Sub(startTime).Milliseconds undefined (type time.Duration has no field or method Milliseconds)
The command '/bin/sh -c go get -u -v sigs.k8s.io/aws-iam-authenticator/cmd/aws-iam-authenticator' returned a non-zero code: 2

The funny thing is that it was working before…on my earlier docker image builds. I rebuilt an image today and it started failing.
Could you please help me out here? Thanks in advance!

Hello,
I'm having exactly the same issue, it was working before, and now I have this error too.

Do check you the version of go you are using.
Mine happened on a Ubuntu 18.04.4 LTS and go version go1.10.4 linux/amd64.
When I upgrade my go to go version go1.14 linux/amd64 using the instruction here the error went away.

@walideduc @chuajiesheng Yes, it was working for me back in December or late Nov IIRC. I solved this by updating the alpine docker base image. The current docker image was on go version 1.10.x After carefully reading the error I felt that the method might not have been defined in the old api. Once the latest docker base image was pulled, my go version in the container changed to 1.13.xx.
docker build -t <myImageName> . --no-cache <<--- pulled in the latest docker base image. The --no-cache part is important.
I guess the sigs.k8s.io/aws-iam-authenticator/cmd/aws-iam-authenticator library requires go v1.13 and above. Hope this helps you guys!


[BUG] Failing to call CVRPEnv.local_search

Describe the bug
Calling CVRPEnv.local_search raises error and it fails.
To Reproduce
import torch
from rl4co.models.zoo import AttentionModelPolicy
from rl4co.envs import CVRPEnv

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
trained_model = AttentionModel.load_from_checkpoint("path/to/checkpoint")
env: CVRPEnv = trained_model.env
trained_policy = trained_model.policy.to(device)
td_init = env.reset(batch_size=[1]).to(device)

out_trained = trained_policy(
    td_init.clone(), phase="test", decode_type="greedy", return_actions=True
)

improved_actions = env.local_search(td_init, out_trained["actions"]) # raises error!!

Traceback (most recent call last):
  "name": "TypeError",
	"message": "__init__(): incompatible constructor arguments. The following argument types are supported:\n    1. pyvrp._pyvrp.ProblemData(clients: List[pyvrp._pyvrp.Client], depots: List[pyvrp._pyvrp.Depot], vehicle_types: List[pyvrp._pyvrp.VehicleType], distance_matrices: List[numpy.ndarray[int]], duration_matrices: List[numpy.ndarray[int]], groups: List[pyvrp._pyvrp.ClientGroup] = [])\n\nInvoked with: kwargs:

System info
INSTALLED VERSIONS
-------------------------------------
            rl4co : 0.5.0.dev2
            torch : 2.4.0
        lightning : 2.4.0
          torchrl : 0.5.0
       tensordict : 0.5.0
            numpy : 1.26.4
pytorch_geometric : 2.5.3
       hydra-core : 1.3.2
        omegaconf : 2.3.0
       matplotlib : 3.9.2
           Python : 3.11.9
         Platform : macOS-14.4.1-arm64-arm-64bit
 Lightning device : mps

Reason and Possible fixes
#211
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Hi @ShuN6211 !
Thanks a lot, I pushed some hotfixes :)
%load_ext autoreload
%autoreload 2

import torch
from rl4co.models.zoo import AttentionModelPolicy
from rl4co.envs import CVRPEnv

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

# Initialize environment and policy
env = CVRPEnv(generator_params={'num_loc': 50})
policy = AttentionModelPolicy(env_name=env.name).to(device)
td_init = env.reset(batch_size=[8]).to(device)

# Rollout policy (untrained here, you may load a pre-trained model first)
out = policy(
    td_init.clone(), phase="test", decode_type="greedy", return_actions=True
)

# Get initial rewards
rewards = env.get_reward(td_init, out["actions"])
print(f"Rewards: {rewards.mean():.3f}")

# Improve actions using local search
improved_actions = env.local_search(td_init.cpu(), out["actions"].cpu()) # raises error!!
rewards = env.get_reward(td_init.cpu(), improved_actions)
print(f"Rewards: {rewards.mean():.3f}")

The above should work!

@fedebotu  Thanks for fixing not only local_search for CVRP but also other modules!! So, I think this issue and #211 can be closed.

Not a problem🤣  Your work was so quick and just impressed!! thanks!!


Consider placing remote functionality behind a feature flag

For applications where only local MRT files are to be processed it would be nice to be able to remove the need to compile all the
components for fetching remote MRT files. I tried doing this by only using the parser feature flag, however this leads to an error with oneio being required for OneIoError.

Thank you for your suggestion!
I have put together PR #183 to resolve this. Could you take a look?
I have also added an example that uses only the parser feature and it should not bring in any remote-related dependencies.
If you have the source code checked out, you can run this to check the dependencies yourself.
git fetch --all
git checkout feature/local_only
cd examples/local_only
cargo tree

Thanks for testing! I have merged #183 to main branch. Will cut a release soon, perhaps after I figure out a plan for #182.

@outis151 i've added another patch that further decouple oneio from the parser code: 4b77766087167ca7b2816b427be19630f52ba12a
After this commit, when using no default and parser feature, the library will not bring oneio dependency in, and you can pass in your own reader that implements Read+Send via the BgpkitParser::new_with_reader(reader: Box<dyn Read + Send>) function. The previously default BgpkitParser::new(path: &str) is now behind oneio dependency. You can get use parser,oneio features to get the dependencies for local-only oneio without any remote functionalities, as in #183.


Creating pointer using same name as Pointer class name gives an error when retrieving the object

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[v] You've met the prerequisites.

[v] You're running the latest version of Parse Server.

[v] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup
parse-server version: 2.1.5
mongod version: 3.2.3
Steps to reproduce
Parse.Cloud.beforeSave("MyClass", function (request, response) {

    var object = request.object;
    var AnotherClass = Parse.Object.extend("**AnotherClass**");
    var anotherClass = new AnotherClass();
    anotherClass.save(null).then(
        function(result) {
            var obj = request.object;
            obj.set("**anotherClass**", result);
            response.success();
        },
        function(error) {
            response.error(error);
        });;
});

When saving  obj.set("anotherClass", result) using as name anotherClass, similar name to class name AnotherClass successfully add it to MyClass, but trying to retrieve it later:

 var MyClass = Parse.Object.extend("MyClass");
    var query = new Parse.Query(MyClass);
    query.find({
        success: function (data) {
                console.log("success");
                 // assume we have array of objects
               ** var anotherClass = data[0].get("anotherClass"); // throw exception**
                response.success(data);
        },
        error: function (error) {
            response.error(error);
        }
    });

gives error:
Uncaught internal server error. pointer to incorrect className undefined
Logs/Trace
Uncaught internal server error. pointer to incorrect className undefined

try to add:
query.include('anotherClass')  before running your query

any news?

Sorry, didn't check it yet, since I've a workaround, using another name in the setter:
obj.set("new_name", result);
I'll try to check it later

Sorry, didn't check it yet, since I've a workaround, using another name in the setter:
obj.set("new_name", result);
I'll try to check it later

Closing due to lack of activity and test case


Features/UI rebuild story 102

Implemented story #102:

Setup Gradle build configuration for building and packing VUE code into webjar. Install the webjar to the local maven repository 2. Integrate the webjar with webapp. Made the webjar loaded and served by the webapp service.
A link to the new UI was added on the existing UI of webapp.

@jeremy-liss does the webcurator-ui build.gradle need the java version specified in it like the other gradle build files?


Crankshaft black screen

Hello,
When connecting a USB webcam with crankshaft, I get a black screen whenever I switch to the camera.
The device supports MJPG pixel format, I don't know if this is the cause. I have similar results with this issue. https://github.com/meekys/cam_overlay/issues/10
I would very much appreciate any help

@Ramortada Just a couple of questions.

Which branch are you using? MJPG is only available in the cpp branch
After stopping (Ctrl+C or killing the process), what is logged in the terminal?

I don't know what you mean by cpp branch. I am using an FPV RCA camera connected to usb with this device : https://fr.aliexpress.com/item/1005004107556241.html?spm=a2g0o.cart.0.0.3f9e378dy4kvvB&mp=1&gatewayAdapt=glo2fra
I get a video signal on my laptop.
Could be the same as issue #25 ?
I won't have access to my setup until next week, I can try any commands Im sorry

@Ramortada Without seeing the console output, I can't really say why it might not be working. Once I see them, hopefully we can figure out what's causing the black screen.
Did you compile cam_overlay yourself, or are you using it as part of crankshaft?

Thank you this is very nice of you.
What do you mean by seeing the console output?
And I am using cam_overlay  with crankshaft

Hello, so I have the output when I use 'crankshaft rearcam show :
Opened device ' /dev/video0' Dimensions : 640 x 480 Pixel Format : MJPG Cannot open 'shader-MJPG.frag' : 2, No such file or directory
I get the same result if the cam is connected and not connected. I also tried to remove the 'dtoverlay=vc4-fkms-v3d' command from config.txt but I had the same output.

Ok, thanks for the logs.
This is an issue with crankshaft, as they'll need to update to the cpp branch, which should support MJPG
Unfortunately, as there are breaking changes, this hasn't happened yet

I'm not sure, sorry. I'm not familiar enough with how it's been integrated into crankshaft
The best I can suggest is looking at stage3/03-crankshaft-base/files/opt/crankshaft/service_gpiotrigger.sh, as that looks like it starts the process.
You'd need to compile the cpp branch of cam_overlay, as well as integrating it into crankshaft in that script (presumably)

I appreciate it, I will start from there

Hi @Ramortada
Did you have any joy with this?
I'm kinda in the same boat, certainly in the sense of I'm getting:
Crankshaft Management Tool v2.4.0 is executing command...
Show rearcam...
Done.
pi@CRANKSHAFT-NG:~ $ Opened device '/dev/video0'
Dimensions: 1920 x 1080 Pixel Format: MJPG

failed to add service - already in use?

Any suggestions on how to resolve this issue?


Make table row sizing more user friendly

Add two behaviour:

default size based on type
convenience function to specify a non-default size
persistence function to store column sizes set by the user in localStorage
persistence function to store column sizes set by the user with the account
setting for the user to specify if persistence is required

out-of-scope atm


create_for_grayskull_cluster -> create_mock_cluster

Issue
Contributes to #99 , and a continuation of #280
Description
This function is now only used for creating a cluster descriptor for simulation or mockup environment. Changing accordingly.
List of the changes

Renamed create_for_grayskull_cluster to create_mock_cluster
Changed arguments and functionality so that this function does not accept physical device ids at all.
Accepting std::vector instead of std::set for logical device ids

Testing
Code builds.
API Changes
This PR has API changes:

[ ] tt_metal approved PR pointing to this branch: TBD
tt_debuda doesn't use this

Just FYI that I just uncovered last night that simulator was broken on the metal level due to changes made in this https://github.com/tenstorrent/tt-metal/pull/14945.
Is there a branch with related metal changes? I want to see if this fixes the simulator problem.

Could you try and bisect the commits to see which one breaks the simulator? Not really sure there is a branch with related metal changes. So far uplift strategy was to uplift everything that changes the API plus Almeet uplifts some things that are useful for metal when there is some change inside UMD. If you can pinpoint the commit maybe we can debug it together

I have a small change to fix for simulator. Is it ok if I push to your branch @broskoTT


Random value accessory

Based on my old https://github.com/paolotremadio/homebridge-automation-random-choice which I'll be happy to deprecate once this is merged :)

Merged to master