Feature/retry

This change is

Reviewed 1 of 3 files at r1, 6 of 7 files at r3.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 36 at r3 (raw file):

	}

	public ByuCallback(ByuCallManager callManager, String defaultErrorMessage, String pathToReadableError, boolean shouldRetry) {

Comment above about when to use

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 40 at r3 (raw file):

		this.pathToReadableError = pathToReadableError;
		this.callManager = callManager;
		this.shouldRetry = shouldRetry;

retryCounter

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 66 at r3 (raw file):

					onFailure(call, new ByuError(readableError != null ? readableError : defaultErrorMessage));
				} catch (IOException ignore) {
					onFailure(call, new ByuError(response, defaultErrorMessage, pathToReadableError));

Change to retry on all exception

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 107 at r3 (raw file):

	}

	public ByuCallback<T> reuse() {

Comment above this one as well (as to when to use it)

Comments from Reviewable

Review status: 6 of 7 files reviewed at latest revision, 4 unresolved discussions.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 36 at r3 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> Comment above about when to use

Done.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 40 at r3 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> retryCounter

Done.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 66 at r3 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> Change to retry on all exception

Done.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 107 at r3 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> Comment above this one as well (as to when to use it)

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 24 at r4 (raw file):

	public ByuCallback(ByuCallManager callManager) {
		this(callManager, "The server encountered an error. Please try again later.");

Extract this as a psf

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 32 at r4 (raw file):

	public ByuCallback(ByuCallManager callManager, String defaultErrorMessage, String pathToReadableError) {
		this.defaultErrorMessage = defaultErrorMessage;

Call through to other constuctor

Comments from Reviewable

Review status: 6 of 7 files reviewed at latest revision, 2 unresolved discussions.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 24 at r4 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> Extract this as a psf

Done.

support/src/main/java/edu/byu/support/retrofit/ByuCallback.java, line 32 at r4 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
> Call through to other constuctor

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Attempt at BVP solver compatibility

I've yet to test this, for now just adding it here in case there's something obvious that needs to change

@ChrisRackauckas does this need to be here? Can't we put it in a extension in BVPs itself?

I don't know how you'd handle the init which auto-installs SciPy


Update dependencies and concentrate dependencies in toml

Kotlin: 1.6.10
Almost all versions now inside of toml (excepting versions in buildSrc gradle kts)

Thank you!

Glad to help :)


How to use CUDA models?

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Clone this repo
Clone https://huggingface.co/microsoft/Phi-3-vision-128k-instruct-onnx-cuda
Open md/07.Labs/Csharp/src/LabsPhi3.sln
change modelPath to Phi-3-vision-128k-instruct-onnx-cuda\cuda-int4-rtn-block-32 in LabsPhi304 Program.cs https://github.com/microsoft/Phi-3CookBook/blob/058e289ecb2aca1bc5ea330c2da1bced919c1b93/md/07.Labs/Csharp/src/LabsPhi304/Program.cs#L31
run LabsPhi304

Any log messages given by the failure

OnnxRuntimeGenAIException: CUDA execution provider is not enabled in this build.

Expected/desired behavior
Sample works
OS and Version?

Windows 11 23H2
CUDA 11.8 and 12.1 installed

azd version?
N/A
Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Hi @lostmsu can you confirm your running this sample of your local machine with a Nvidia GPU which support CUDA
To check the CUDA version installed on your system, you can use one of the following methods:
Using nvcc (NVIDIA CUDA Compiler):
Open your command prompt or terminal.
Run the following command:
nvcc --version

The output will display the CUDA compiler version, which corresponds to the toolkit version
Example
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
See https://developer.nvidia.com/cuda-downloads for version
###Using nvidia-smi:
Open your command prompt or terminal.
Run the following command:
nvidia-smi

Look for the “CUDA Version” in the top right corner of the output
Example
nvidia-smi
Fri Jun 28 11:59:55 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.02              Driver Version: 529.19         CUDA Version: 12.0     |
|-----------------------------------------+------------------------+----------------------+

@lostmsu Did you resolve your issue?

@leestott I was able to use CUDA version, but I did not follow any of the steps you provided. I believe the issue was that labs explicitly reference CPU builds of OnnxRuntime.

Closing this issue as the initial query was focused on changing the CPU Phi-3 model to a CUDA model.


Feature request: map.pick

Hi
It would be nice to have a shortcut for picking values out of map instance similar to lodash pick.
mapInstance.pick(key1, key2) => Map({ key1, key2 })

Same here. Like lodash _.pick and _.omit.


Proper way of posting an XML string?

I'm using laravel 5 and guzzle 5.0. Can't seem to make XML work (POST). Am I doing it right?
$xml = new \SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><request></request>');
$xml->addChild('username', 'user');
$xml->addChild('password', 'pass');
$xml->addChild('field', 'test');
$xml = $xml->asXML();

$client = new Client();
$request = $client->createRequest('POST','https://thisistheurl', array(
     'body' => array(
         'file_filed' => $xml
     ),
     'cookies' => true
 ));
$response = $client->send($request);

So if you're sending a POST request with an XML body, then there's no need to wrap the 'body' param in an array. Just pass it in as a string.


Add rest of 2024 Mechanisms

Add Pivot and Climber, etc.
Should let us eventually test this on FM/PM. Should be done in the style of the new Elevator

@allengregoryiv Can I have write access to the repository so I can push some code I wrote at home?

I think that should work now

It works, thank you

I've added pivot and most of its code from Ultraviolet. Although I've tried to structure it in the style of the current repository, it could probably use some clean up and other improvements. Also, the simulation isn't working right now.


fix(ad_service_state_monitor): add missing vector map input

These updates could fix the issue #1168

before
❯ ros2 launch ad_service_state_monitor ad_service_state_monitor.launch.xml

❯ ros2 topic list
/api/autoware/get/engage
/autoware/engage
/autoware/state
/control/command/control_cmd
/control/trajectory_follower/control_cmd
/diagnostics
/initialpose3d
/input/vector_map
/localization/kinematic_state
/localization/pose_twist_fusion_filter/pose
/map/pointcloud_map
/map/vector_map
/parameter_events
/perception/object_recognition/objects
/perception/obstacle_segmentation/pointcloud
/planning/mission_planning/route
/planning/scenario_planning/trajectory
/rosout
/system/emergency/control_cmd
/tf
/tf_static
/vehicle/status/control_mode
/vehicle/status/steering_status
/vehicle/status/velocity_status

after
❯ ros2 topic list
/api/autoware/get/engage
/autoware/engage
/autoware/state
/control/command/control_cmd
/control/trajectory_follower/control_cmd
/diagnostics
/initialpose3d
/localization/kinematic_state
/localization/pose_twist_fusion_filter/pose
/map/pointcloud_map
/map/vector_map
/parameter_events
/perception/object_recognition/objects
/perception/obstacle_segmentation/pointcloud
/planning/mission_planning/route
/planning/scenario_planning/trajectory
/rosout
/system/emergency/control_cmd
/tf
/tf_static
/vehicle/status/control_mode
/vehicle/status/steering_status
/vehicle/status/velocity_status

@brian841102 Thank you for the fix. It looks good to me. I recommend that you use github template even though it's a small fix.

Thanks for your advice. But I am new to Autoware Community, could you tell me which github template I should follow?

@brian841102
Thank you for your contribution!
PR guideline is here.
https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/
You can choose template from preview page

@brian841102 Thank you for your contribution! PR guideline is here.
You can choose PR template from preview page: standard change or small change. But once you don't choose template, it may disappear. So you cannot use a template for this PR maybe. FYI, template is created from here.

Haha Okay~ Actually I noticed after pull request was sent.
And like you said, I cannot get the template afterward.
I will follow the template next time. ＾＿＾


Setup process for partners to use our release pipeline

In order for partner teams that are outside of our repos to use our release pipelines we need to setup the following:

Security Group to use for access and to ask partners to join.
A blob storage account teams use to upload their artifacts.
A keyvault that contains the necessary blob keys for publishing artifacts, giving permission to folks in the security group setup in (1).
Setup permissions in azure-sdk devops org to allow folks in security group to view and queue release pipeline builds. Ideally only the release pipelines that come from the partner blob.
Write a setup of instructions for partner teams to follow to do releases.

The instructions are updated and tested for java. All the pipelines are created and believed to be working but not fully tested yet. We will address any issues as consumers start to use them.


Improve documentation

How to destroy properly
more usage examples

https://github.com/teodesian/playwright-perl/commit/ed6e2e40469ce3759ad9a122f5950a29e46b544e


Facebook button always loading

Hello, I encountered an issue where the facebook login button is always loading like in the link IMAGE
<v-facebook-login                 app-id="12345678934567"         ></v-facebook-login>
It did displayed correctly once, but when I refreshed the page it returned to loading state. any ideas how is this happening?

Share more details, like a code snippet.

hello. I think its okay, the issue has been fixed I'm not sure why and how. I will try to observe if the issue will return, nevertheless the plugin is working great.


[Draft PR] Add field names to the grammar

This is a draft PR related to Issue https://github.com/fwcd/tree-sitter-kotlin/issues/72. Its purpose to give a general idea about the changes I propose and to collect feedback about requirements and expectations regarding the coding style, stability of field names, consistency of field names with other tree-sitter parsers, etc.

I've promoted this draft PR to a regular (non-draft) PR https://github.com/fwcd/tree-sitter-kotlin/pull/74.
But still, I would like to collect feedback about requirements and expectations regarding the coding style, stability of field names, consistency of field names with other tree-sitter parsers, etc. I will address all the feedback before proposing to actually merge that PR.


[W4.4][T15-A1]Wong Khia Yi

W4.4 added class: Block, Street, Unit, PostalCode. updated tests.
OutOfBoundsException when input does not follow the format

check out good commit message style

Close this PR if you have no other questions


function build contract and onboarding sdk

List of Changes

Module onboarding-sdk-azure-storage for download and upload file from azure storage
Module onboarding-sdk-product for handle producs as json, you pass a json string loaded by storage and using product service for getting some utility method. It replaces calling rest api product
Module onboarding-sdk-common for common utility classes
Functions build contract as step of workflow: implements business logic for create a contract for selfcae onboarding

Motivation and Context

Build contract step is a part of async workflow for selfcare onboarding. It is implemented using an azure durable function.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

This PR is too bug to be reviewd, please make shorter PRs and add unit tests.


Add release notes generator script

This PR adds a release-notes.sh script to generate release notes
and documents how to use it.

Proposed Changes

Add release notes generator script

Release Note

 🎁 Add new feature
- release leads or contributors can generate release notes using the `./hack/release-notes.sh` script.

@n3wscott can you check out this one?

/cc @n3wscott

/retest


cause mermaid cannot be rendered

https://github.com/mjbvz/vscode-markdown-mermaid/issues/120
install this mathpix, mermaid cannot be rendered

Could you fix it?
I am using mentioned extension which renders mermaid diagrams and when installing mathpix extension mermaid diagrams stop rendering.

Fixed in v0.2.1


Migration of Snowflake Provider Broke Configuration

Provider Version
0.25.36
Terraform Version
0.14.7
Describe the bug
The snowflake terraform provider has migrated to Snowflake-labs from chanzuckerberg, and suddenly 0.25.36 is not available:
The literal output from this bug is the following:
Warning: Additional provider information from registry

The remote registry returned warnings for
registry.terraform.io/chanzuckerberg/snowflake:
- For users on Terraform 0.13 or greater, this provider has moved to
Snowflake-Labs/snowflake. Please update your source in required_providers.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Error: Missing required argument

The argument "region" is required, but was not set.

Providing the "region" input to the provider config did not get rid of the error.  It is a deprecated field anyhow, and the provider gets the region from the account field (i.e. blahblah.us-east-1)
Moving to the snowflake-labs/snowflake provider resulted in the following:
Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
snowflake-labs/snowflake: no available releases match the given constraints
0.25.36

Expected behavior
A successful terraform plan for the snowflake provider formerly know as chanzuckerberg/snowflake
Code samples and commands
terraform {
  required_providers {
    snowflake = {
      source = "chanzuckerberg/snowflake"
      version =  "0.25.36"
    }
...
}

Additional context

@Kyle-Hughes-Imprivata - you can use the terraform state replace-provider command to migrate
https://www.terraform.io/cli/commands/state/replace-provider
Personally, I had to clone this repo, switch to the tag I wanted, 0.34.0 in my instance, and the compile a version for my OS/Arch, effectively forcing terraform to use a local mirror for the old reference to chanzuckerberg.
If you already have a local copy/mirror then this wouldn't be needed.
# in clone of provider code
git checkout v0.34.0
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o ~/.terraform.d/plugins/registry.terraform.io/chanzuckerberg/snowflake/0.34.0/darwin_arm64/terraform-provider-snowflake

# in terraform code
terraform replace-provider chanzuckerberg/snowflake Snowflake-Labs/snowflake

Hello @Kyle-Hughes-Imprivata
Warning: Additional provider information from registry

The remote registry returned warnings for
registry.terraform.io/chanzuckerberg/snowflake:
- For users on Terraform 0.13 or greater, this provider has moved to
Snowflake-Labs/snowflake. Please update your source in required_providers.

This is not an error but a desired warning message. We want people to know that the provider has moved from chanzuckerberg organization to Snowflake-Labs. If you want to use 0.25.36 then you can continue to do so using the chanzuckerberg provider.
I am not sure why not all of the older versions transferred over when we registered the new provider location. Only versions 0.28.6 and newer transferred over. This is more of a HashiCorp question.
Agreed with @robbruce on the procedure for upgrading. The chanzuckerberg provider has been archived and if you want any newer version then you will want to use the Snowflake-Labs provider source.
Regards,
Scott

Hello @robbruce and @sfc-gh-swinkler your feedback has been helpful.  There did seem to be a network interruption or something where I couldn't download the older provider version, but it's passed now.  I haven't had to migrate yet, but I'll follow these instructions when I do.  Thank you!


Can we make a quantized version of this model for better performance in other devices.

I tried to convert the provided model.pb into quantized version of tflite model to achieve ~10 FPS on other devices(less than Snapdragon 845, like 660s, 450, 835..). Unsuccessfully it produced an error  - "Require quantized dataset to produce quantized tflite model".
Though I am working on generating the model from scratch using dataset with this project, I request you to guide us to achieve this goal.

Pls check rep for using GPU on android.
Now it can reach 50+ FPS on Snapdragon 845.
😁


Add missing secretmanager project service and dependencies

#6

Feels like this storage module name is becoming increasingly inaccurate though, might be worth a TODO to have a ponder on renaming it at some point in the future?

Ah, that looks like what #51 is about - great minds!
Carry on :)


Exporting slices

Hi all,
I am using the H5Web extension in VSCode and trying to use the export functionality; I want to save certain slices to another files. However the export button/functionality is always disabled. Is there something I need to do to enable it?
Thank you!
Is your feature request related to a problem?
I cannot export slices to CSV. The "Export" bottom is disabled.
Alternatives you've considered
Copy/paste
Additional context

Hi there, CSV export (or any other type of export) is not currently implemented in the VS Code extension. This is because the VS Code extension does not provide an implementation for H5WasmProvider's getExportURL prop.
If you're interested in contributing, feel free to have a go at it! You can implement a getExportURL function as explained here, and pass it as prop to H5WasmProvider here: https://github.com/silx-kit/vscode-h5web/blob/main/app/Viewer.tsx#L26

Thank you for the response @axelboc ! Sure, I will try to carve some time and give it shot. Thanks for the guidance.

I am also interested in this export slice feature being supported. I made an attempt at implementing this feature, using your suggestions @axelboc . Should I create a fork and submit a pull request for your review?

Hi @mandrew9, for sure, please do go ahead! Thanks a lot :blush:


Login via Google doesn't work

I tried to log in via Google and it failed while redirecting me back form the browser with error that there is no application registered for URL notion:/oauth2callback...
I solved this by creating file ~/.local/share/applications/Notion.desktop with contents
[Desktop Entry]
Type=Application
Name=Notion desktop application
Exec=notion-desktop %u
Icon=notion-desktop
StartupNotify=false
MimeType=x-scheme-handler/notion;
Type=Application
Categories=GNOME;GTK;Utility;

and then running
xdg-mime default Notion.desktop x-scheme-handler/notion

Later I found /usr/share/applications/notion-desktop.desktop (which, curiosly, is still returned as a default handler by command xdg-mime query default x-scheme-handler/notion) and compared it to the one I created and it seems that missing MimeType declaration might be the issue.

I forgot - I installed Notion version 2.0.11-8_amd64 via apt and I'm running Kbuntu 20.04.2 LTS x86_64.

I tried to log in via Google and it failed while redirecting me back form the browser with error that there is no application registered for URL notion:/oauth2callback...
I solved this by creating file ~/.local/share/applications/Notion.desktop with contents
[Desktop Entry]
Type=Application
Name=Notion desktop application
Exec=notion-desktop %u
Icon=notion-desktop
StartupNotify=false
MimeType=x-scheme-handler/notion;
Type=Application
Categories=GNOME;GTK;Utility;

and then running
xdg-mime default Notion.desktop x-scheme-handler/notion

Later I found /usr/share/applications/notion-desktop.desktop (which, curiosly, is still returned as a default handler by command xdg-mime query default x-scheme-handler/notion) and compared it to the one I created and it seems that missing MimeType declaration might be the issue.

Thanks It is working for me now, I am also in kubuntu 20.4 lts

Just installed today (version 2.0.11-8) on Ubuntu 20.04.2 LTS, and this fix did not work for me.
I tried creating the new desktop entry and editing the existing desktop entry (in /usr/share/applications) to add the MIME Type, nothing changes.
Any help appreciated ! Thanks !

Just installed today (version 2.0.11-8) on Ubuntu 20.04.2 LTS, and this fix did not work for me.
I tried creating the new desktop entry and editing the existing desktop entry (in /usr/share/applications) to add the MIME Type, nothing changes.
Any help appreciated ! Thanks !

Did you set the desktop entry with the MIME Type as a default handler using xdg-mime command as described in my original post?

Just installed today (version 2.0.11-8) on Ubuntu 20.04.2 LTS, and this fix did not work for me.
I tried creating the new desktop entry and editing the existing desktop entry (in /usr/share/applications) to add the MIME Type, nothing changes.
Any help appreciated ! Thanks !

Did you set the desktop entry with the MIME Type as a default handler using xdg-mime command as described in my original post?

Yes, and I also tried editing them to use the "default" notion-desktop app, nothing changed, no feedback in the app

I'm afraid I am no longer supporting this project, so I will not be looking into this issue. Please see the updated README for more information. I will leave the issue open, in case of a new maintainer who is able to look into it.

I'm afraid I am no longer supporting this project, so I will not be looking into this issue. Please see the updated README for more information. I will leave the issue open, in case of a new maintainer who is able to look into it.

No worries, I've been using the web app in the mean time, I'll just keep using it :)

Later I found /usr/share/applications/notion-desktop.desktop (which, curiosly, is still returned as a default handler by command xdg-mime query default x-scheme-handler/notion) and compared it to the one I created and it seems that missing MimeType declaration might be the issue.

Thanks It is working for me now, I am also in kubuntu 20.4 lts

Hi there! Also in Kubuntu 20.04.2 LTS here. The solution worked!
Quick way here:
sudo bash -c 'echo "MimeType=x-scheme-handler/notion;" >> /usr/share/applications/notion-desktop.desktop'

This will append the needed MimeType=x-scheme-handler/notion; into the original notion-desktop.desktop file.
Obs.: this assumes that notion-desktop.desktop is in /usr/share/applications/


Slashes don't work in the alias of links to headers

Obviously when linking to headers with a slash the slash is left away as not to confuse Hugo
- [[Composition#Focal Elements Emphasis]]

## Focal Elements/ Emphasis

But when doing this the display name of the link doesn't have a slash anymore, so one can add it back through aliases.
- [[Composition#Focal Elements Emphasis|Focal Elements/ Emphasis]]

## Focal Elements/ Emphasis

Obsidian will understand this, as it should, but when quartz converts this  to Hugo it doesn't work.
In the browser it will appear like this:
- Emphasis

# Focal Elements/ Emphasis

(Everything before the slash is cut away)

This issue should be fixed in Quartz 4. I'll be closing it for now but please reopen this issue if this persists in the new version.


Fix Grammar mistakes in paragraph 3, 5 and 26.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@1634640 Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


[BP-510] 2.3.6 compatibility? (framework 102.0.6 compatibility)

buckaroo/magento2 v1.26.0 requires magento/framework >=100.1.0,<=100.1.18|>=101.0.0,<=101.0.11|>=102.0.0,<=102.0.5-p2|102.0.2-p2|>=103.0.0 -> satisfiable by magento/framework[102.0.5-p2, 103.0.1, 103.0.0-p1, 103.0.0, 102.0.4-p2, 102.0.5, 102.0.4-p1, 102.0.3-p1, 102.0.4, 101.0.11, 102.0.2-p2, 101.0.10, 102.0.3, 101.0.9, 100.1.18, 102.0.2, 101.0.8, 102.0.1, 100.1.17, 102.0.0, 101.0.7, 100.1.16, 101.0.6, 100.1.15, 100.1.14, 101.0.5, 101.0.4, 100.1.13, 101.0.3, 100.1.12, 101.0.2, 100.1.11, 100.1.10, 101.0.1, 101.0.0, 100.1.9, 100.1.8, 100.1.7, 100.1.6, 100.1.5, 100.1.4, 100.1.3, 100.1.2, 100.1.1, 100.1.0].
- magento/product-community-edition 2.3.6 requires magento/framework 102.0.6 -> satisfiable by magento/framework[102.0.6].
- magento/product-enterprise-edition 2.3.6 requires magento/product-community-edition 2.3.6 -> satisfiable by magento/product-community-edition[2.3.6].
- Installation request for magento/product-enterprise-edition 2.3.6 -> satisfiable by magento/product-enterprise-edition[2.3.6].

I think this just about sums it up, when can we expect the module to be compatible with 102.0.6?

Hello @timkoopmans50 We are currently in our final stage of testing and expecting a new release next week (wednesday or thursday). This release will include support for Magento 2.3.6.

Thanks for 1.27.0!

I am running 2.3.6 with 1.27.0 but it seems to have a bug in it causing an error 400 bad request in relation to the rest API. Although the checkout still works I think this is not the way it supposed to work? Is the compatibility for 2.3.6 fully tested?

@tbiest 2.3.6 is fully tested and should be compatible. Please also check our latest release.


Is it possible to provide suggested "subquestions" as well as a main question?

It looks like the package only provides the ability to input one main question and it automatically generates the subquestions.  This is very cool, but is it possible to also suggest subquestions to be included with the main question?

researcher = GPTResearcher(query, subquestions, report_type)
subquestions is array of sub questions

Thanks in advance for your advice / feedback.

Hey @SeanJAmmirati can you please share more about the motivation for this feature? What are you trying to achieve with it and what output are you expecting?

Thanks for getting back to me @assafelovic!
The motivation for this feature is to generate a "larger report" that contains multiple defined sub-themes but all fit together into one unified report under the one main top-level query.
Based on my experience using GPTResearcher so far it does a great job automatically generate a set of sub questions and flush out a report based on a primary top-level query.  What I'd like to do is say: here is a primary top-level query, here are some sub-questions to that query and have it use that outline to build a unified report that answers the primary question by answering the subquestions (and where necessary adds for lack of a better term "sub sub questions".)
Today Output:
Primary Top-Level Query (user inputed)
1. Sub question (AI generated)
2. Sub question (AI generated)
3. et c...
Requested Output:
Primary Top-Level Query (user inputed)
1. Sub Question (user inputed but answer AI generated)
2. Sub Question (user inputed but answer AI generated including sub sub questions)
2a.  AI generated
2b.  AI generated
2c.  AI generated
3. Sub Question (user inputed)
4. etc ...
I realize you could use GPTResearcher to just build reports for each Sub Question as standalone and then merge them into one document, but then you don't have the advantage of a unified answer.
Let me know if this makes sense?

@SeanJAmmirati It absolutely makes sense! In fact I was considering using this approach myself for generating a detailed report. This would overcome the limitation of having the report restricted to two pages.
But there are some challenges:

Would need to make a LLM call to arrange sub-topics in a logical manner.
Would need to make multiple LLM calls one for generating report on any subtopic.
Would need to ensure in the prompt that what is previously generated by the LLM for one-subtopic is not generated again during the next call...to avoid duplicate information.
Costly, as there would be multiple LLM calls.
Would take much longer to generate the report.

If this seems ok to implement then I have some ideas which I can try to implement @assafelovic .

Ok sure...on it 🫡

@proy9714 this is a long awaited feature with huge impact so happy to see what you bring! I'd take a look at here as well for inspiration: https://github.com/langchain-ai/langgraph/blob/main/examples/storm/storm.ipynb
It uses the STORM methodology. Generally you'd generate subsections and then for each generate content leading to much longer and more detailed research reports.
Looking forward to see your further impact on this project! As regards to costs, maybe we can consider adding a flag in config file for each one report generation or using the "advanced in depth" for longer but costlier reports. Also feel free to ping me on the Discord community channel to further discuss! 🚀

I strongly recommend the Storm methodology. I'm glad that you brought it up.

Hi @proy9714 how is this going?  I'm not an engineer so can't help with development, but let me know if there is any way I can support you on this work.

Hi @assafelovic @proy9714 @SeanJAmmirati ,
I'm very new to this project and just going through the code for the first time. (Very cool stuff!)
The STORM methodology seems interesting. But as I was reading the comments, I thought a simple, intermediate solution might be to update the current prompt that generates subtopics.
You could inject the user-provided subtopics into the current prompt that requests the LLM to build additional topics.
The prompt should be engineered such that {max_iterations} are preserved, the main {task} is primary, and the provided {subtopics} must be included in the output. Additional topics should not repeat any provided topic and should fill any gaps in context to create a cohesive outline.
I have no expertise in prompt engineering, so I am not sure how well an LLM would do on this task.
I'd love to hear your thoughts on this simplified approach. If it does not align also fine to hear that too!
Thanks,
Dan

Dan

Yeah Dan. I have in fact thought about this same approach. Combining user provided subtopics with ones generated by the AI. Absolutely possible. Will definitely get to it when I have time.

Hey @dphiggs01 I have in fact thought about this same approach. Combining user provided subtopics with ones generated by the AI. Absolutely possible. Will definitely get to it when I have time.


new option refreshWithCredentials sends cookies with token refresh

fixes https://github.com/authts/oidc-client-ts/issues/607
PR could be improved by allowing more credentials settings besides include.
the PR is very helpful in the case that the openid server sets cookies which can be updated by refresh so that silent signin works longer.
Checklist

[x ] This PR makes changes to the public API
[ x] I have included links for closing relevant issue numbers

Test fails
would be nice if as you noted more options would be supported

"same-origin" (default)
"include"
"omit"

the settings name could be more explicit

refreshTokenCredentials?: "same-origin" | "include" | "omit"

thanks for the quick review, i fixed the unit test and changed it to refreshTokenCredentials and allow all possible options

Looks good, ready to merge? I will squash all commit into one unless you rebase first :-) ...

Yes, looks good to me. Merge at your pleasure

Nice work, thanks for contributing!


Bug at ripping vrchat avatar

Game name: VRChat
Engine version: 2019.4.31f1
Platform: standalonewindows
Error message: Read 24 but expected 219
Stack trace:    at uTinyRipper.BundleFileScheme.ReadMetadata(Stream stream, Int32 metadataSize)
at uTinyRipper.BundleFileScheme.ReadFileStreamMetadata(Stream stream, Int64 basePosition)
at uTinyRipper.BundleFileScheme.ReadScheme(Stream stream)
at uTinyRipper.GameCollection.ReadScheme(SmartStream stream, String filePath, String fileName)
at uTinyRipper.GameCollection.LoadScheme(String filePath, String fileName)
at uTinyRipper.GameStructure.ProcessPlatformStructure(GameStructureProcessor processor, PlatformGameStructure structure)
at uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo)    at uTinyRipper.GameStructure.Load(IEnumerable1 pathes, LayoutInfo layinfo)
at uTinyRipperGUI.MainWindow.LoadFiles(Object data)

uTinyRipper has been abandoned, but you can try my AssetRipper fork. In the event that AssetRipper encounters issues while ripping your files, feel free to post an issue on that repository.
AssetRipper is actively being developed with the intent to recover games as best as possible. Weekly releases are normally on Sunday or Monday. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.
If you like the work I've done and want to see it continue, please consider sponsoring me. It really does help with development. These are some of the notable things I've implemented since taking over development:

2020+ support
APK, XAPK, and IPA reading with SharpZipLib
Dummy shaders (so everything isn't pink when you open the project)
IL2Cpp support via an integration of Cpp2IL
Better game platform support
Full script decompilation with the ILSpy decompiler
Cross-platform support
Multiple configuration options
Numerous performance improvements
Support for all asset types

Sponsorship Links:

GitHub Sponsors
Patreon
Paypal


Automate bumping of sec-scanner-config.yaml after changes to the code

Description
Manually bumping the images after every change is cumbersome. We should automate it.
We should think of a solution that could be easily reused in both keda-manager and serverless-manager
Example
https://github.com/kyma-project/keda-manager/pull/284/files

Having the release tagging for operator images changes the scope:

release action should verify if the tag used in sec-scanner-config is matching the release sem version


Externalize OAuth2 audience

Lib changes to fix https://github.com/jhipster/generator-jhipster/issues/10449

@vishal423 You have errors in test:
[INFO] Running io.github.jhipster.config.JHipsterPropertiesTest

[ERROR] Tests run: 69, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.122 s <<< FAILURE! - in io.github.jhipster.config.JHipsterPropertiesTest

[ERROR] testComplete  Time elapsed: 0.018 s  <<< ERROR!

java.lang.NoSuchMethodException: io.github.jhipster.config.JHipsterPropertiesTest.testSecurityOauth2Audience()

	at io.github.jhipster.config.JHipsterPropertiesTest.testComplete(JHipsterPropertiesTest.java:46)

thanks @DanielFran I hope it should be good now

It seems some unrelated issues in (Test ngx-couchbase) pipeline. Does anyone have an idea on what could be wrong with that (being stuck on backend tests for 60mins)?

ngx-couchbase is broken with jdk8 for a while.
I didn't take the time to open a new ticket for that...
Then, LGTM, I think it can be merged


Bazel

This is currently mostly just the steps I took to get a working build using bazel.
We should decide if we're going to use the C++ tutorial or host our own.

The error page in the preview app is triggered by the follow error in the logs:
2020-04-09T11:58:18.721443+00:00 app[web.1]: Sprockets::Rails::Helper::AssetNotFound (The asset "tutorials/bazel/add-to-bazel" is not present in the asset pipeline.):
2020-04-09T11:58:18.721499+00:00 app[web.1]:
2020-04-09T11:58:18.721535+00:00 app[web.1]: app/models/page.rb:43:in `image_url'
2020-04-09T11:58:18.721535+00:00 app[web.1]: app/models/page.rb:28:in `image'
2020-04-09T11:58:18.721536+00:00 app[web.1]: (erb):49:in `get_binding'
2020-04-09T11:58:18.721536+00:00 app[web.1]: app/models/page.rb:105:in `body'
2020-04-09T11:58:18.721537+00:00 app[web.1]: app/controllers/pages_controller.rb:15:in `show'

My mistake again, thanks for fixing @yob.

@toolmantim could you take a look at the codeblock inside lists?

Ah, I booted this up this branch and started digging in, thinking I should get that issue looked at today… I'd started on it… but turns out it's no longer necessary 🙌🏼
(I didn't get a notification for the above comment edit tho)

It's looking pretty great to me! Wanna request a review?


Is it possible to get whether a user open a file or exit the browser?

For example, I want to create a usercmd Config, which will use the file_browser to choose file in vim.fn.stdpath('config'), and call vim.api.nvim_set_current_dir(vim.fn.stdpath("config")) if I open a file by <cr> in the file-browser (and do nothing if I exit the browser, for example, by typing esc)
-- An example for my perpose
M.start_config = function()
    local config_path = vim.fn.stdpath("config")
    require("telescope").extensions.file_browser.file_browser({
        path = config_path,
        cwd_to_path = true,
    })

    --the function will be called even if I exit the file_browser
    vim.api.nvim_set_current_dir(config_path)
end

I don't know how to get whether the user open a file, and the fb_picker.file_browser cannot specify mapping for a certain browser as well. So how can I do this elegantly?

I'm not sure this is elegant but you can tweak the select action here https://github.com/nvim-telescope/telescope-file-browser.nvim/blob/8e0543365fe5781c9babea7db89ef06bcff3716d/lua/telescope/_extensions/file_browser/config.lua#L60
local action_state = require("telescope.actions.state")
local action_set = require("telescope.actions.set")
local fb_actions = require("telescope._extensions.file_browser.actions")

local function start_config()
  require("telescope").extensions.file_browser.file_browser({
    path = vim.fn.stdpath("config"),
    cwd_to_path = true,
    attach_mappings = function(_, _)
      local entry_is_dir = function()
        local entry = action_state.get_selected_entry()
        return entry and entry.Path:is_dir()
      end

      local entry_is_nil = function(prompt_bufnr)
        local prompt = action_state.get_current_picker(prompt_bufnr):_get_prompt()
        local entry = action_state.get_selected_entry()

        return entry == nil and #prompt > 0
      end

      action_set.select:replace_map({
        [entry_is_dir] = function(prompt_bufnr, type) -- modifying this mapping
          fb_actions.open_dir(prompt_bufnr, type) -- calling the default action to open a directory

          local entry = action_state.get_selected_entry() -- getting new entry after opening directory
          vim.api.nvim_set_current_dir(entry.path) -- setting current dir with the newly opened directory path
        end,
        [entry_is_nil] = fb_actions.create_from_prompt,
      })

      return true
    end,
  })
end

This seems to work for me unless I've misinterpreted something.
I'll close this issue but feel free to reopen/ask questions if I've missed anything.

I found a cleaner solution and updated my original response, in case you've seen it already.

I think something like this is what you're asking for?
local function start_config()
  require("telescope").extensions.file_browser.file_browser({
    path = vim.fn.stdpath("config"),
    cwd_to_path = true,
    on_complete = {
      function(picker)
        local finder = picker.finder
        local path = finder.path
        if vim.fn.isdirectory(path) then
          vim.api.nvim_set_current_dir(path)
        end
      end,
    },
  })
end

This seems to work for me unless I've misinterpreted something. I'll close this issue but feel free to reopen/ask questions if I've missed anything.

Actually I'd like to change the dir only when I pick a file. If I close the file-browser by esc, the dir shouldn't be changed.
However, I find that functions in on_complete will be called even though the file-browser is closed by esc. And I cannot find the document of on_complete. I have searched on_complete on :h telescope.nvim, but found nothing.
So is there any way to call a function only when I pick a file?

I think the easiest (but not so elegant way) off the top of my head is to just copy/paste our select (<cr>) logic and add some lines to change cwd.
local function start_config()
  require("telescope").extensions.file_browser.file_browser({
    path = vim.fn.stdpath("config"),
    cwd_to_path = true,
    attach_mappings = function(_, _)
      local entry_is_dir = function()
        local entry = action_state.get_selected_entry()
        return entry and fb_utils.is_dir(entry.Path)
      end

      local entry_is_nil = function(prompt_bufnr)
        local prompt = action_state.get_current_picker(prompt_bufnr):_get_prompt()
        local entry = action_state.get_selected_entry()

        return entry == nil and #prompt > 0
      end

      action_set.select:replace_map({
        [entry_is_dir] = function(prompt_bufnr)
          -- changes here [[
          fb_actions.open_dir(prompt_bufnr)
          local current_picker = action_state.get_current_picker(prompt_bufnr)
          local finder = current_picker.finder
          vim.api.nvim_set_current_dir(finder.path)
          --]]
        end,
        [entry_is_nil] = fb_actions.create_from_prompt,
      })

      return true
    end,
  })
end


Taxon names should be underlined in sidebar

Trello: https://trello.com/c/koyo5MKj/48-topic-titles-in-sidebar-should-be-underlined
@alextea is this what you expect?

👍


Does not work in various apps like Discord and Thorium Reader

Hi. I have installed both 64bit and 32bit versions, however it doesn't work in Thorium reader. I have changed the default system voice and tried to change the voice Thorium uses, but it doesn't appear among the available voices.
It also doesn't work when using the /tts command in Discord, although you can't change the voice in Discord, but I thought changing the default voice would work.
I haven't tried in other apps yet

As for now, Chromium/Electron apps are not able to use the voices from this engine. In fact, they cannot use any third-party SAPI5 voice. They only support WinRT/OneCore voices, which are not supported (yet) by this engine, because Microsoft provides no documentation on how to make a third-party OneCore voice.
Related issue: #4
For technical details about why Chormium doesn't support SAPI5 voices, see my comment here.

A temporary workaround is to copy the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\TokenEnums to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore\Voices\TokenEnums.
You can use the following PowerShell code. Open Windows Powershell with admin privilege, paste the following line and press Enter:
Copy-Item HKLM:\SOFTWARE\Microsoft\Speech\Voices\TokenEnums\ HKLM:\SOFTWARE\Microsoft\Speech_OneCore\Voices\ -Recurse

This can make Chromium apps able to use the voices. But I'm not sure whether this will affect other programs that use OneCore voices.

Thank you very much. I will try it and if anything I will leave a new comment. I am not sure if I should close the issue as it does not seem to be an app issue.


build: set min build version to Go 1.22.6

Go 1.23 was released this week, so with this PR we update the build system to officially support the last two releases.

There's still one missing file: lnrpc/Dockerfile.

Dockerfile is using Go version 1.22.6.
FROM golang:1.22.5-bookworm
Error: ./make/builder.Dockerfile does not use Go version 1.22.6 exclusively.
make: *** [Makefile:314: check-go-version-dockerfile] Error 1

You can also just run make go-check-version.

weird the linter is failing but make check-go-version is passing on my local machine (after updating via go work use and a rebase)

I pushed two commits that fixes the linter issue by updating it (and fixing newly discovered issues).

ok added a commit to fix the linter CI, lets see if it passes

ok added a commit to fix the linter CI, lets see if it passes

Oops, I did the exact same... Updated the new-from-rev as well... Thanks for the diff!


how run 'top' cmd and interactive

how run 'top' cmd and interactive
or run telnet cmd and interactive
or nc cmd

@hktalent, not sure what your question is. Are you saying that you're unable to run these commands in a session?

run exec after  and interactive

So, after a user logs in, you'd like to run a command in the terminal without user interaction? Is that it?

@billchurch in web B/S? so good

I'm not sure I want to put this in the master branch, created an "exec-test" branch for this PoC. Looks like it does what you want... Check it out.

@billchurch  thank you


App crashes

As soon as I upload an answer to a mission the app crashes.
I am on a pure android one device. Installed the app from google play store.

I had the same issue but only if GPS is disabled

@TobiasMie You are right. Thanks for the heads up. Can i consider this issued solved and close it?

I thing not, because the app crashes and you have to restart it. This is especially for new users a bad thing. If they try the app without GPS and it crashes they will leave a bad rank in the appstore and uninstall it. Another aspect is that I would often use it without location services in areas that I know. Maybe there could be a message that the user should ensure that he edit the right element.

I thing not, because the app crashes and you have to restart it. This is especially for new users a bad thing. If they try the app without GPS and it crashes they will leave a bad rank in the appstore and uninstall it. Another aspect is that I would often use it without location services in areas that I know. Maybe there could be a message that the user should ensure that he edit the right element.

I have labelled it as a bug, and will be fixed in the next release


X-Cache-Status always showing Bypass

Hi,
I have used this plugin with Kong (2.0.4) Community edition but X-Cache-Status is always Bypass. have set this proxy-caching using below command for all consumers. Please help me to sort this out.
curl -X POST http://xxx.xxx.xxx.xxx:8001/services/test-proxy-cache/plugins
--data "name=proxy-cache"
--data "config.cache_ttl=300"
--data "config.strategy=memory"
--data "config.content_type=text/plain; charset=utf-8"
curl -X POST http://xxx.xxx.xxx.xxx:8001/routes/test-proxy-cache-route/plugins
--data "name=proxy-cache"
--data "config.cache_ttl=300"
--data "config.strategy=memory"
--data "config.content_type=text/plain; charset=utf-8"
Br,
Tanmoy

Hey @tanmoyrsc, could you share with us the headers your upstream service is responding with?

Hi @tanmoyrsc, can you still reproduce this issue? Have you tried with the most recent Kong release?

Also, verify that the content-type returned by the upstream service exactly matches one of the values in content_type

Closing this issue as we didn't receive updates. Please feel free to reopen it if the problem happens again.


Create a secure endpoint (only runnable with masterkey) that deletes all the Twilio users.

Must delete all parse users too, right?


Don't mutate ActionView::PathSet [6-0-maintenance backport]

https://github.com/rspec/rspec-rails/pull/2631 comprised two commits; the second was backported to 6-0-maintenance as https://github.com/rspec/rspec-rails/commit/bd2bb24373f2343b9d60027cf0aeb4ce791bd8df, but the first wasn't.
CI on 6-0-maintenance is still failing for Rails main:
https://github.com/rspec/rspec-rails/actions/runs/3345336900/jobs/5540735966#step:7:50

Thanks for pointing this out, taken care of with a manual cherry-pick.

FYI, backporting https://github.com/rspec/rspec-rails/pull/2648 will fix the failing Ruby 2.5 job.


Updated hub page

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

File
Status
Preview URL
Details

microsoft-edge/index.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit 599c0ec:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/index.yml
:white_check_mark:Succeeded

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

#sign-off and merged.


Home is different in JupyterLab versus RStudio

Case:

You use the Openscapes R image.
You open a terminal in \lab versus \rstudio

In rstudio, ~ is \home\jovyan
In jupyterlab, ~ is \home\rstudio
This is weird and annoying with earth data access because you .netrc file created in one is not appearing in the other.  We are starting to do workflows where we have both the lab and rstudio tabs open to do Python and R work, and people keep running into this.
Personnaly I think we should stick with \home\jovyan since we are on a JupyterHub. It's annoying to explain to students to write different file paths if they writing Python in rstudio vs lab on the JupyterHub.   I know know students should not use hard paths but despite our admonitions they do. I am constantly debugging the \home\rsdudio versus \home\jovyan "feature". But I think Yuvi disagrees. @cboettig ?

I think there's lots to be said here in the details but overall I agree we should present users with a consistent home experience.  Specifically, I think a given user should ideally not experience different expansions of ~  when working in the different environments,  the ~ expansion in a terminal should always match $HOME and also match /home/$USER and $USER should match whoami in the same terminal.
I would like to better understand the examples where this creates trouble though.
with respect to .netrc,  I think software should be taking care of netrc login and that software should not be making assumptions about ~ expansion, $HOME, etc.  earthdatalogin uses an explicit path for the netrc file following the XDG Spec for where installed software should store configuration and data files relative to each operating system, (as required by CRAN -- we're not allowed to write configs to ~/). However, older versions of gdal don't understand alternative .netrc paths, so in that case we have to symlink  to ~/.netrc - - https://github.com/boettiger-lab/earthdatalogin/blob/main/R/edl_netrc.R#L112 (and it looks like arguably I should be wrapping that with path.expand() ... )
Does this problem appear in other settings? (Like python versions?  I think there's a separate issue there where we also want to better align PATH between the two environments...)


Support explicit binding on entrypoint parameters.

After digging more into the code for this, it appears that the fix will be more involved.
We don't have the capacity to work on this now and will have to defer the fix until a later time.


bug: Custom snippets not working after latest update

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
MacOS 14.5
Describe the bug
I have custom snippets in my config path at snippets/gitcommit.json -- these were working with LuaSnip.
With the update to Neovim 0.10 and LazyVim's switch to native Neovim snippets these no longer work.
I do see that nvim-snippet and friendly-snippets get loaded by Lazy when I start typing in a git commit. friendly-snippet snippets actually work -- I type feat and nvim-cmp shows me the canonical commit snippet. But custom snippets from that file are not available to me.
vim.fn.stdpath('config') prints the expected path to my configuration and I see my snippets/gitcommit.json file at that path.
Snippets file is here: https://github.com/ianchesal/dotfiles/blob/main/nvim/snippets/gitcommit.json
My configuration is here: https://github.com/ianchesal/dotfiles/tree/main/nvim
I've been over the docs and the LazyVim configs and I can't see why this isn't being loaded.
Steps To Reproduce

Place my gitcommit.json file at snippets/gitcommit.json
Open a git commit with neovim as your editor
Type risk -- you see no nvim-cmp completions when you type this.

Screen shot shows that ris produces no nvim-cmp completions to choose from when in a git commit.
Expected Behavior
Expected behavior is nvim-cmp shows you two possible, custom snippets you can choose from based on the contents of that custom snippet file.
Repro
I'm not sure how to repo this with pure lua, sorry.

I forgot to note: if I re-enable luasnip the custom snippets work. Here's what working looks like:

This could possibly be a bug in vim-snippets as well.

You have to configure nvim-snippets, see docs for search_paths.

Custom snippets may require some additional configuration.
See here https://github.com/garymjr/nvim-snippets

Thanks @folke -- I read over that before filing. The default for  search_paths should cover this. But I'll set that explicitly. I appreciate all the recent updates! LazyVim is in an amazing spot.

Try as I might, I could not find a set of nvim-snippets configuration options that work. Any combination of settings for nvim-snippets ends up disabling friendly-snippet completion and does not fix the problem with custom snippets not working.
There's some conflux of nvim-snippets configuration and LavyVim configuration that I think might be intersecting here and causing the trouble.
I wrote some notes about what I tried in this thread: https://old.reddit.com/r/neovim/comments/1cw9jt3/using_native_snippets_in_lazyvim/l4vgdp4/
I have to put it down for now. I'll pick it back up again tonight after work.

@ianchesal
Can you try adding the following to your personal configuration
-- ~/.config/nvim/lua/plugins/snip.lua
return {
      {
        "garymjr/nvim-snippets",
        dependencies = {
          "rafamadriz/friendly-snippets",
        },
        opts = { search_paths = { vim.fn.stdpath("config") .. "/misc/snippets" } },
      },
}

For the custom snippets, pls see this comment. It seems the plugin does not handle nested folders. So, like that comment suggests, I have all my snippets under /misc/snippets/.

@dpetka2001 I tried that but that does not seem to help.

I did some further testing and I noticed indeed that custom snippets do not work. Other global  snippets from friendly-snippets are also not working. For example dateYMD or uuid. Seems like the same problem as reported in this issue. File specific snippets are available though.
If I enable luasnip everything works as expected.

You need to enable global_snippets = { "all", "global" }, in the opts for global to be included.

I created a test repo with default LazyVim settings and then added native snippets support. You can see the changes from the default LazyVim installation in this commit. Nested folders work for me for custom snippets, as well as friendly-snippets tested in Python and Lua files.

https://github.com/garymjr/nvim-snippets/pull/10

I've linked nvim-snippets to my PR for now till they merge it.

I'm using luasnip + nvim-cmp and get the same issue in nvim 0.10
Has anyone moved to nvim-snippets yet? or still sticking with luasnip?

My PR has been merged, so custom snippets work on 0.10.
You say you're using luasnip. This is not about luasnip.
You cant use both at the same time


Add zsh completion, fix #4058

https://github.com/search?q=zsh+completion+is%3Apr+language%3Ac%2B%2B&type=issues
https://github.com/search?q=zsh+completion+is%3Apr+language%3Ac&type=issues

@stweil I have change it to contrib/completions/zsh. Is it your need?


Detect version mismatches between the plugin and the adobe_xd package.

It would help prevent issues like #74 if we could detect and surface mismatches between the plugin versions and the adobe_xd package version it relies on.
A stretch goal would be to fix it, though we've avoided writing to pubspec.yaml thus far.

Who use the flutter_svg package and xd package use this version's dependencies.
environment:
  sdk: ">=2.10.4 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_svg: ^0.17.0+1
  adobe_xd: ^1.0.0+1

Who use the flutter_svg package and xd package use this version's dependencies.
environment:
  sdk: ">=2.10.4 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_svg: ^0.17.0+1
  adobe_xd: ^1.0.0+1

Who use the flutter_svg package and xd package use this version's dependencies.
environment:
  sdk: ">=2.10.4 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_svg: ^0.17.0+1
  adobe_xd: ^1.0.0+1

This works for me ...

This is largely resolved in v2.0.0. Closing in favor of the more general issue #26


[bookkeeper, pravega] Issues 18: Make how to specify the image format consister w/ the cluster charts

Change log description
How the pravega & bk (cluster) charts specify their image is different than how the bk-operator, pravega-operator, zk-operator, and zk-cluster specify their image. Specifically, the former do:
version: x.y.z

and the rest do:
image:
    tag: x.y.z

Purpose of the change
To unify the format that the values are given to reduce bugs caused by improper usage due to the inconsistency.
What the code does
Changes the format.
Checklist

[x] PR title starts with the name of the chart followed by the issue number (e.g. [bookkeeper-operator] Issue XX: "Description")
[x] Verified output of helm lint
[x] Changes have been tested manually

You lose many of the benefits of having the charts co-located in the same git repo with a model like that and you generate a whole host of issues (ex. if a BK op change requires a BK cluster change). I won't argue in a PR about it though.


fix issue 240

fix readdir issue 240 when readdir from 2 volumes and the first if one has the dir we need then return it and not the error

@amitgilad3 I found this PR just now, I did another one fixing the same issue. Will be nice if you can review/give feedback: #348

Closing as this was fixed by #348


[K3s] Revise 'how it works' diagram

We need to update this diagram based on feedback:

The How It Works diagram isn’t really accurate and it keeps confusing users. It makes it look like servers lack kubelet and containerd and therefore cannot run pods, which leads to them asking how to run server and agent on the same node.
https://k3s.io/images/how-it-works-k3s.svg

In terms of what to change:

change the server "tunnel proxy" box to say “supervisor”
add kube-proxy, flannel, kubelet, containerd, and pods from Agent to the Server. Kubelet and Kube-proxy on the server should have arrows pointing directly to API Server instead of Tunnel Proxy.

@brandond @catherineluse please review

Looking much better! A couple more tweaks:

Only the server side of 'tunnel proxy' needed to be changed to 'supervisor' - on the agent it should still say 'tunnel proxy'
On the server side, 'kube proxy' should be connected directly to 'api server'

I missed this on Slack, but @lvuch sent me this last week and it looks good!

Final svg sent via slack

Closed; moved to https://github.com/rancherlabs/k3s-website/pull/64.


Docker Frontend permission error

I have a problem with the docker container. When I follow the instructions I get an error when starting the frontend:
ERROR: for frontend Cannot start service frontend: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/serve": stat /serve: permission denied: unknown
Can anyone help me with this?
I use Docker version 20.10.22, on Debian 10 (buster)
I found out that the Dockerfile contains the following information: ENTRYPOINT ["/serve"]
This is what will cause the error? Can I change the permissions? I do not know where /serve can be found.

This is most likely an issue with Debian 10 and your specific docker version. The frontend is a simple container, which contains the HTML, JavaScript and CSS and runs a static file server, which starts with the serve command.


fix(testing): correct info for integration_test dir

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


Is there a way to override __typename?

I would like the ability to specify a resolver for __typename similarly to other resolvers.  Is there a way to do this?  If not, is this a feature that can be added?
Use case:  I've found graphql-go to be useful for parsing a GraphQL query and translating it to a query in a similar query language (Dgraph).  I do this using code in the resolvers, and after execution I discard the result from graphql-go.  Right now it seems that __typename is handled as a special case and can only be found in the result.  But for a proper translation to the target language, I'll need to be able to specify a resolver for __typename as I have other fields.

Hi @emwalker,
I know that this issue is a bit old... AFAIK, this is not supported. Why do you want to override a special type in GraphQL? Can't you have the same type names in both the GraphQL schema and the Dgraph schema? Ideally, I would like this library to be agnostic of the underlying datasource(s). I am closing this issue as it is not directly related to the library.
Out of curiosity, do other libraries provide you with a __typeresolver or have you found a better workaround?

Hi @pavelnikolov — no problem.  It's been a while since I was looking at this.  Going from memory, Dgraph might not have provided a __typename, or the value that it was providing made some assumptions that didn't work for my use case.
Dgraph uses its own adaptation of GraphQL that it calls GraphQL+-, and there are a few incompatibilities with GraphQL.  At the time, I was attempting to create an intermediate layer that would emit genuine GraphQL that a Relay client could consume without issues.  I believe it's possible in some cases to specify the (equivalent of the) __typename at the library layer, as in the case of graphql-ruby, which provides a hook to resolve the type (in Ruby).
But I'm not pitching for providing this ability in this library any more, as I'm not currently working on that project at this time.


is it possible to disable all dates

is it possible to disable all days by default and then enable an array of days?

Hello @feldmarv!
Thank you for asking.
No we have not allowed date range picker features yet.
But i can update with in this week.
Cloud you please tell me specific specs that you want to use?
Sorry about the sentence!
And if you have any questions, please send me any format. I will reply as soon as possible.
Thank you

@KennethanCeyer
Thanks for your fast answer.
What we need is not exactely a date range picker. We just want to disable all days bi a default (should be a setting). Disabled means its not clickable on UI and is marked as disabled. Then we load an array of dates (days). This dates should then be clickable.
Thanks in advance

Hi @feldmarv,
I think i can make for your needs.
The update may will be on Oct 21 or 22.
I am sorry but, Please waiting few days for updating.
Thank you for your time 👍

@KennethanCeyer
Thanks this sounds nice! Can you assure that its ready by the end of the week? Because i need to create some implementation.

Yes sure, maybe i will be working on next day.

Hi @feldmarv
I have updated for your feature disabled dates.
You can check the feature on Demo site
You can use this feature by download v1.2.9 version.
Thank you.

@KennethanCeyer
Wow thanks that looks cool!
So how to disable all dates by default. Is there an option called: disabledDates: true, and then enableDates: [2016-01-03, 2016-01-04] that will for example only enable this two dates?

As I see the options
toggle: true,
reverse: true,
does disable the whole calendar which is great, but dates are still clickable. And how to enable now an array of dates?
thanks in advance

@feldmarv
OMG I think i don't understand your needs.
I will make displayDates and readonly specs today.
I think you want to display only readable dates, is it correct?
Thank you for your time :)

@KennethanCeyer
Thanks a lot for your answer.
Yes, on the calendar disabled dates are visible but not accessible (grey font). Enables dates are accessible and font is green.

Hi @feldmarv
I have updated 1.2.11 version
enabledDates option is date array format like disabledDates.
This option makes all dates to disabled state and
only declared item in enabledDates will be enabled state (clickable date).
Thank you

GREAT! This really is our Usecase!
One question: I load activeDays via ajax. Then the calendar just is empty. If  I try to load the exact data without ajax directly hardcoded its working. Do we need a setter method maybe setEnabledDay. Or is there just an issue with loading order?
var activeDays = [];
$.ajax({
url: 'xyz',
dataType: 'json',
method: "get",
async: false,
cache: false,
success: function (data) {
$.each(data.dates, function (i, d) {
var date = new Date(d).toISOString().slice(0, 10);
activeDays.push(date);
});
}
});
$('#datetimepicker').pignoseCalendar({
select: getFreeAppointments,
enabledDates: [activeDays]
});

I think you must to use like the snippet.
$('#datetimepicker').pignoseCalendar({
    select: getFreeAppointments,
    enabledDates: activeDays // It be changed.
});

true thanks! such this small typo.
Thanks for your GREAT work!

I want to pass array of collection of dates to disabled when i press button how we can do in ngxbootstrap?
Thanks in advance

here I solved in this way:
$init_date = new Date();  $current_date = $init_date.getFullYear() + '-' + ($init_date.getMonth() + 1) + '-' + $init_date.getDate();
$('.pig_calendar').pignoseCalendar({       minDate: $current_date   });


Command-line interface

Hey Mike,
Just wondering what you think about creating a CLI for exifr ? I'd love to be able to run npx exifr-cli ./image.png
If you're interested I might have a look at making one. I just want to make sure that you're OK with it :)
Thanks,
Alvin

Hello. Thanks for reaching out.
I'm sorry for responding late. As always, I can only find a few hours throughout the week to work on my project and I'm currently occupied by PR #57.
CLI is a great idea. It's been on my wish list for a while now, but I didn't yet have the time, nor a concrete idea (output format, arguments, etc...)
I'd love for you to look into it. I'd try my best to be around and helping out.


nibbles: failed to compile hs (tuples)

I suspect this nibbles code is erroneous, but the error message is "please report a bug" rather than a more helpful error message
My attempt at a minimal repro case:
. ; . ;@ ~$$ `& _ 1

Results in the following output:
size = 13 nibbles (6.5 bytes)

out.hs:192:1162: error:
    • Couldn't match type ‘(t0, t1)’ with ‘()’
      Expected type: () -> Integer
        Actual type: (t0, t1) -> Integer
    • In the first argument of ‘\ a1
                                  -> (((: []) . (\ a1 -> ((sToA . show) a1))) a1)’, namely
        ‘(bb ())’
      In the second argument of ‘($)’, namely
        ‘(\ a1 -> (((: []) . (\ a1 -> ((sToA . show) a1))) a1)) (bb ())’
      In the second argument of ‘($)’, namely
        ‘(\ x -> zip x $ map id x)
         $ (\ a1 -> (((: []) . (\ a1 -> ((sToA . show) a1))) a1)) (bb ())’
    • Relevant bindings include
        bb :: (t0, t1) -> Integer (bound at out.hs:192:975)
nibbles: failed to compile hs (likely an internal nibbles bug, please report it!)
CallStack (from HasCallStack):
  error, called at nibbles.hs:163:24 in main:Main

There are a number of variations of this code that can produce different tuple types, but still error in the same place with "Couldn't match type".  I personally am unfamiliar with Haskell so I am not able to interpret what is causing the error here.

Thanks for the report. I believe the problem is caused by lack of support for tuples in set ops (noted by a todo here). It's been a while since I messed with this code, and it is a bit hacky, so I wasn't able to fix it on my first go. I may work on it later


Lazy loading with forced query, limit and offset

$posts->load('comments', [
    'orderBy' => [
<EMAIL_ADDRESS>=> 'DESC'
    ],
    'limit' => 10
]);

Will only work via postload.


[WIP] Refactor XPathAbstract into UserDefinedAbstract

The reason for this refactoring is to allow other forms of input data, such as JSON (see #1916). The PR also adds this JSON interface (see JSONAbstract.php) and an example JSON bridge that inherits it. The PR is WIP as I still need to update documentation.

I added some comments. They are not directly pointed at you since I know you did not author the XpathAbstract. I think it's a good idea to refactor a bit before implementing the changes.
I think introducing a JsonBridge that inherits from BridgeAbstract is sufficient. The UserDefinedAbstract is a costly abstraction.

The default delimiter would probably be easier to understand and less likely to conflict if it was '->'.

My opinion is that this is unnecessary complexity. I think it would be nice in the future if there is a large increase in the demand for json bridges. Until then I prefer less complexity and more manual work.

@dag I will modify my changes to remove the unnecessary level of abstraction. Instead, JsonPathAbstract can inherit directly from XPathAbstract, which will be structured similarly as the current UserDefinedAbstract.

I reject your revised proposal yamanq. I prefer that each bridge manually does the json parsing etc.

Could you explain in detail in the original issue? (#1916)

Yes I can. I also this https://github.com/RSS-Bridge/rss-bridge/pull/2738/commits/c3dab45827f3b5a5619645473b31eb8ab0c6c7d1 does cover op's request but im not 100% sure.

I will continue with this proposal. If you have any reasons that are not just personal preference, please explain.

The main reason is I want to avoid the extra complexity e.g. the multiple inheritance levels.

I think this is a bad idea. I'm fine with merging it to see how it goes.

Closing since op lost interest.

@dvikan I think the idea behind this PR was quite good, It would have made creation of new bridges for newcomers even more easy. I agree that to many levels of inheritance should be avoided. My suggestion would have been to merge the functionality of UserDefinedAbstract  right into AbstractBridge.


Include gene name(s) in PSMs file

There are gene names annotated in FASTA and in XML that we are capturing. Could we include those gene names in the PSM output? Maybe adjacent to the Protein Accession column.

done in https://github.com/smith-chem-wisc/MetaMorpheus/pull/482


Add members to a board fails

Can be reproduced for example with the Docker image:

Add Members...
Type anything in the search field, including an existing username
On the client side (the loader keeps spinning):

a["{\"msg\":\"nosub\",\"id\":\"rT5vWMAoSeXtX9zxh\",\"error\":{\"error\":400,\"reason\":\"Match failed\",\"message\":\"Match failed [400]\",\"errorType\":\"Meteor.Error\"}}"]
["{\"msg\":\"sub\",\"id\":\"rT5vWMAoSeXtX9zxh\",\"name\":\"users/easySearch\",\"params\":[{\"value\":\"grgr\",\"limit\":10,\"props\":{},\"skip\":0}]}"]
a["{\"msg\":\"ready\",\"subs\":[\"giedX2JGxkNtMQEmg\"]}"]
["{\"msg\":\"sub\",\"id\":\"giedX2JGxkNtMQEmg\",\"name\":\"users/easySearchCount\",\"params\":[]}"]

On the server side:

Exception from sub kbcRq92CTp2KLMZNF Error: Match error: Failed Match.OneOf or Match.Optional validation
    at checkSubtree (packages/check/match.js:244:1)
    at check (packages/check/match.js:32:1)
    at [object Object]._.extend._getFindOptions (packages/mongo/collection.js:238:1)
    at [object Object]._.extend.find (packages/mongo/collection.js:274:1)
    at Object.methods.search (packages/matteodem:easy-search/lib/searchers/mongo.js:52:1)
    at [object Object].<anonymous> (packages/matteodem:easy-search/lib/easy-search-common.js:65:1)
    at packages/matb33:collection-hooks/collection-hooks.js:214:1
    at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
    at [object Object]._handler (packages/matb33:collection-hooks/collection-hooks.js:213:1)
    at packages/check/match.js:109:1
Sanitized and reported to the client as: Match failed [400]

+1

It seems this is fixed in the current development version? At least I am not able to reproduce it anymore with latest master.

Works for me now on latest master

Cannot reproduce with latest master.
As there is no official Docker image yet it should work if you build on your own. May cause problems on several machines - see #164


Docs: Typo fix

Corrected "[Intsall]" to "[Install]" in [README.md].
This pull request addresses a minor typo found in repository. The typo has been corrected to improve clarity and maintain the quality of the documentation.
This change is purely cosmetic and does not affect functionality.

Thank you for your contribution

@Dnyanu76 Hi，Thank you for your contribution to MemFree.
In return, if you are interested, I can give you a 20% discount code for MemFree. You can send me a private message via discord, Twitter or email.
Looking forward to your more contributions to MemFree. Let us work together to make MemFree better and better.


Remove dart-pub-cache

There's no reason for us to have our own dart-pub-cache in the source tree.  We
can just use the default one on the system.

@chinmaygarde

This means if I do a gclient sync from two different sky checkouts at the same time I get a corrupt pub cache, correct?

Yes, just like if you run pub get in two different Dart projects at the same time.

lgtm


Push kak-lsp to crates.io

This will make installing and updating it much less fiddly. For instance I have a few other binaries installed through Cargo and I have a single command set up to automatically fetch updates and recompile only changed projects, but it only works if the projects are installed through crates.io; I'd really rather not have to replicate all that logic manually in my update script.

sounds reasonable, will do soon

I have a single command set up to automatically fetch updates and recompile only changed projects

To be clear that command is just cargo install foo bar that gives you caching for free, right?

@krobelus No, as far as I know that doesn't work. I use a tool called cargo-update (from crates.io); that allows to cargo install-update -a. Such functionality really should be included in base Cargo but it isn't. (And the tool really should allow installing from local repo but it doesn't.)

done


GLTF loader - winding order reversed?

I'm uploading a simple cube created with Blender in GLTF format. Upload works fine, including textures, but objects appear inside out, probably because the winding order is reversed.  I know about flip_winding_order. But I can't use it when all I have is a mesh handle after the upload. I think it's too late by then.
So here's a unit cube created in Blender, with normals pointing out, back faces being culled, and rendering properly in Blender. Something needs to be flipped, but I'm not sure what.
unitcube.zip

When I view this mesh in scene viewer, everything works and expected.

Are you modifying the transform of the cube at all? If you are, you need to keep in mind the gltf transform hirearchy, most importantly starting with a transform that inverts the z axis and fixes the winding order (and coordinate system).

When I view this mesh in scene viewer, everything works and expected.

Are you modifying the transform of the cube at all? If you are, you need to keep in mind the gltf transform hirearchy, most importantly starting with a transform that inverts the z axis and fixes the winding order (and coordinate system).

Closing as not an issue per email.

Closing as not an issue per email.


The grid-col-uncollapse mixin doesn't work

It looks like grid-column-uncollapse uses not defined variable $grid-column-gutter by default. When I don't pass any value rem-calc try to calculate gutter from null:
Running "sass:default" (sass) task
WARNING: null was passed to rem-calc(), which is not a number.
        on line 75 of node_modules/foundation-sites/scss/util/_unit.scss
        from line 44 of node_modules/foundation-sites/scss/util/_unit.scss
        from line 19 of node_modules/foundation-sites/scss/grid/_gutter.scss
        from line 33 of node_modules/foundation-sites/scss/grid/_gutter.scss
        from line 22 of saleor/static/scss/store/partials/product_page.scss
        from line 140 of node_modules/foundation-sites/scss/util/_breakpoint.scss
        from line 21 of static/scss/page.scss

>> Invalid null operation: "null plus "2"".
>>   Line 19  Column 22  node_modules/foundation-sites/scss/grid/_grid.scss
Warning:  Use --force to continue.

I am using foundation-sites 6.1.2, my code:
  .content {
    padding: 0 $global-padding * 4;

    @include breakpoint(medium) {
      @include grid-col-uncollapse();
    }
  }

My solution for this problem:
  .content {
    padding: 0 $global-padding * 4;

    @include breakpoint(medium) {
      @include grid-col-uncollapse(map_get($grid-column-responsive-gutter, 'medium'));
    }
  }

With the switch to responsive gutters, you have to be explicit with grid-column-uncollapse() regarding which padding value you want to uncollapse back to.
Not sure if there's a sensible default we can put in—maybe just pick the first value in the list if you don't provide one? So if you have:
$grid-column-gutter: (
  small: 20px,
  medium: 20px,
);

And you call with no parameters:
.thing {
  @include grid-column-uncollapse;
}

It just goes with 20px. The other option is we output a warning.

Just came across this issue when I encountered the same thing in my project. Why can't the function uncollapse the gutters to the $grid-column-gutter value based on the current screen size if no argument is passed in?
Can't the mixin output media queries the same way it does when a column is created?

@ncoden does this interact with the work you were doing in #8528?  Even if not, do you want to take a look at implementing something along the lines of what @flyingL123 suggested for a default?

@kball Yes, it interact. I'll take a look :)

@kball https://github.com/zurb/foundation-sites/pull/8693

6 months later
@mociepka Does https://github.com/zurb/foundation-sites/pull/8693 resolves this issue ?


Does not work on non-git directory

It looks like linguist will only successfully run inside an actual git repository, not just a directory.
Preliminary Steps
Please confirm you have...

[x] reviewed How Linguist Works,
[x] reviewed the Troubleshooting docs,
[ ] considered implementing an override,
[x] verified an issue has not already been logged for your issue (linguist issues).

Problem

Run linguist in an empty directory

I did this using crazymax/linguist docker image because it's easy to setup

Throws ugly error

Expectation

A nicer error that says something about "this has to be run in a git repo"
Ignore the git stuff if not in a git repository

Steps to replicate
$ mkdir bar

$ cd bar

$  docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0
Unable to find image 'crazymax/linguist:7.9.0' locally
7.9.0: Pulling from crazymax/linguist
Digest: sha256:13e31803de310529e01e842bf31c5a4f8881469e5d855e1962e9c18073d60f75
Status: Downloaded newer image for crazymax/linguist:7.9.0
Traceback (most recent call last):
        3: from /usr/bin/github-linguist:23:in `<main>'
        2: from /usr/bin/github-linguist:23:in `load'
        1: from /usr/lib/ruby/gems/2.6.0/gems/github-linguist-7.9.0/bin/github-linguist:27:in `<top (required)>'
/usr/lib/ruby/gems/2.6.0/gems/github-linguist-7.9.0/bin/github-linguist:27:in `new': could not find repository from '/repo' (Rugged::RepositoryError)

$ git init
Initialized empty Git repository in /<REDACTED>/bar/.git/

$ docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0
Traceback (most recent call last):
       3: from /usr/bin/github-linguist:23:in `<main>'
       2: from /usr/bin/github-linguist:23:in `load'
       1: from /usr/lib/ruby/gems/2.6.0/gems/github-linguist-7.9.0/bin/github-linguist:28:in `<top (required)>'
/usr/lib/ruby/gems/2.6.0/gems/github-linguist-7.9.0/bin/github-linguist:28:in `head': reference 'refs/heads/master' not found (Rugged::ReferenceError)

$ echo "# README" > README.md

$ git add README.md

$ git commit -m "Added README.md"
[master (root-commit) e42c0c5] Added README.md
1 file changed, 1 insertion(+)
create mode 100644 README.md

$ docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0

$

So, maybe this is "working as designed" because when linguist seems to ignore all uncommitted code:
(following from above):
$  ls
README.md

$ docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0

$ echo "import sbt" > build.sbt

$ docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0

$ git add build.sbt

$ git commit -m "Added build.sbt"
[master 43ed6bd] Added build.sbt
 1 file changed, 1 insertion(+)
 create mode 100644 build.sbt

$ docker run -t --rm -v "$(pwd):/repo" crazymax/linguist:7.9.0
100.00% Scala

$

The README.md says "repository" a lot yet it never says that it only looks at what is in the repository as opposed to the directory. I figured it was just using "repository" as a synonym for "working directory", but I guess not...?

Correct. This only works on Git repos and only on committed changes or single files. It's primary use is on GitHub.com which uses bare repositories and thus changes need to be committed as individual files don't show on the filesystem.
So whilst not explicitly stated, it is repeatedly indicated by "detect blob languages" in the very first sentence of the READNE.md and the term repository and not directory in all the documentation. The override method drives that home too.
If you really wanted to, you could iterate over every file and pass it to Linguist to analyse as it can perform analysis on a single file without committing to a repo, however this isn't likely to be very performant and you'll still need to implement a lot of other glue for the totals and override support.
Alternatively you could initialise a temp repo as demonstrated in the script mentioned in https://github.com/github/linguist/issues/3563 about this same topic.

Thank you for your detailed response!
I took a whack at trying to be a bit more explicit in the README, since clearly some people are missing these clues. https://github.com/github/linguist/pull/4856

https://api.whatsapp.com/send?phone=+967713683710

https://api.whatsapp.com/send?phone=+967713683710

https://api.whatsapp.com/send?phone=+967713683710

Thank you for your detailed response!
I took a whack at trying to be a bit more explicit in the README, since clearly some people are missing these clues. #4856


我这安装好后404怎么办

Not Found
The requested URL /login was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
我这安装好后404怎么办
安装环境:
phpstudypro <IP_ADDRESS>
apache2.4.39
mysql5.7.26
php7.3.4
.htaccess文件设置的如下:

  Options +FollowSymlinks -Multiviews
  RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

Apache访问目录是设置的public目录么
---原始邮件---
发件人: @.>
发送时间: 2023年3月27日(周一) 上午9:56
收件人: @.>;
抄送: @.***>;
主题: [974988176/StudentCMS] 我这安装好后404怎么办 (Issue #2)
Not Found
The requested URL /login was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
我这安装好后404怎么办
安装环境:
phpstudypro <IP_ADDRESS>
apache2.4.39
mysql5.7.26
php7.3.4
.htaccess文件设置的如下:
Options +FollowSymlinks -Multiviews   RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Swipe To Show/Hide Sidebar

Can now swipe left 10px of screen to open the sidebar and swipe anywhere on the screen while open to close it.


Reenable Cirrus CI

I temporarily disabled Cirrus CI for repo migration (#144).
Trying to enable Cirrus CI for lima-vm org via https://github.com/marketplace/cirrus-ci , but can't choose lima-vm ("already setup").
I guess we have to wait for a couple of hours or maybe days until something in their database gets synchronized.

@jandubois
I tried to uninstall and reinstall Cirrus CI several times, but still no success.
Could you try reinstalling Cirrus CI?
( https://github.com/marketplace/cirrus-ci -> "Public Repositories" -> "Account: lima-vm" -> "Install it for free")

Could you try reinstalling Cirrus CI?

I've installed it; how can we test if it worked? It will only add checks to PRs created after it has been installed, right?

Thanks, but seems not working...
If it works we should be able to see "➕ Create Build"  and "⚙ Repository Settings" buttons in https://cirrus-ci.com/github/lima-vm/lima

Opened PR https://github.com/lima-vm/lima/pull/153 , but Cirrus does not seem triggered 😞

Maybe send email to<EMAIL_ADDRESS>and ask for help?
Maybe it doesn't deal with moved repositories correctly? It does notice that it is still the same repo, as it lists all the old tasks on https://cirrus-ci.com/github/lima-vm/lima. Maybe it still has the old user/org information cached in its database somewhere?

Yes, sent an email. CC'ed you.

Works now 🎉


Clarify relation with ManufacturingOntologies

Is this repo a fork of https://github.com/digitaltwinconsortium/ManufacturingOntologies ?

It's not a fork. It's the master or working repo. Releases of the complete ontology get copied to https://github.com/digitaltwinconsortium/ManufacturingOntologies/tree/main/Ontologies/ISA95

thanks @JMayrbaeurl , is there any process to keep both repos in sync?
/cc @barnstee

I'm using PRs

The PRs came from https://github.com/JMayrbaeurl/ManufacturingOntologies not this repo.. or am I missing something?

No. Just to clarify the process:

All work for the DTDL models (changes, additions, ...) is done in this repo
Changes are copied over to my fork of the DTC ManufacturingOntologies repo
PR is created for the original DTC ManufacturingOntologies repo
Erich merges the PR


fix(carousel): apply same height function to heading used in dds-card-cta

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/8247
Description

This PR addresses the alignment issue seen when there's a mixture of <dds-card> and <dds-card-cta> within the <dds-carousel> component.

Changelog
New

Add a new SB variant called Carousel > Cards with Media - https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/8336/index.html?path=/story/components-carousel--cards-with-media

Removed

Removed <dds-card-heading> from CardsWithVideos as the card heading should be coming from the Mediacenter/Kaltura because this is the content usage when displaying a card with a video button.

@proeung Looking good upon resize, but at first render it looks a bit off:

This probably happens due to the max height being applied from the other regular cards before the tallest title (from the video API) comes through. Maybe we could add setTimeout or something that will trigger once the video titles come through that will retrigger the sameHeight function.


How to use Flask_Images with a document api endpoint?

I now have flask_images working flawlessly for static images with the following code:
{{ url_for('images', filename='have-a-nice-day.jpg', width=50) }}

I now want to use it for my dynamic document endpoint which gets images from a MongoDB instance. It is defined in Flask like this:
@app.route('/doc/')
def getDoc(docId):
userDoc = UserDocument.objects(id=docId).first()
if not userDoc:
return abort(404)
return Response(userDoc.file_.read(), mimetype=userDoc.file_.content_type)
So normally I create urls for an image using getDoc like this;
{{ url_for('getDoc', docId='8eb1796c-73b3-4398-855e-bfbfa02685d4') }}

How would I convert this to use flask_images for resizing? All tips are welcome!

I think you will be running into the same issue as #13, in that this project currently requires the images to actually exist on disk. There isn't an absolute requirement for that, so we've been throwing around the idea of abstracting the IO such that one could load/cache images anywhere.

It is quit inelegant, but Flask-Images may be able to make HTTP requests of itself for images. You could provide an endpoint that serves image data that is only accessible from localhost. It would end up downloading and caching a copy of every image (by default), and you would lose the cache-busting features.
Tell me more about your use case?

@mikeboers
My use case is that users can upload image files which I, for various reasons (scalability/security), save in a MongoDB instance. I need to keep the original image file data, but I guess 99% of the images that I'll be serving are thumbnails of the originals. For this reason I thought flask_images was perfect, but unfortunately this requirement that the file needs to exist on disk is quite inconvenient for me.
I guess what you're suggesting in your second post is to use the external option in core.build_url() to make a local http request. Is that correct?
I am now thinking it would be something like this:
{{ url_for('images', scheme='http', external='localhost', filename='doc/8eb1796c-73b3-4398-855e-bfbfa02685d4', format='png', width=100) }}

Would you have a suggestion of how I would be able to make that local http request?
And also: are you planning on implementing some of your IO-abstraction ideas in the near future or is that more of a long term plan? The website I'm building will probably be going live in about two months, so if this is something coming soon I would be happy to wait and maybe help out where I can so that I can use your (for the rest awesome!) plugin.. :-)

What I was suggesting would be a way to hack this system into working, but it would still result in a full copy of the image existing on disk (except that Flask-Images would manage it).
This IO abstraction isn't currently on my roadmap, as none of my current work comes near it. If your project enabled you to hire me to implement this, I could likely shift some things around to make it work.

@mikeboers
Mike, in the meantime I solved it myself using code I pasted in this gist: https://gist.github.com/kramer65/b1c93b5cc1ce023d070a
Your code and your suggestions in this thread have been a great inspiration though. Do you have a Bitcoin address where I can send you some beers?


History timestamp not correct time.

Steps to reproduce:
Testing SAFE Browser v0.14-RC, macOS.

Launch browser and browse some pages.
Open history tab.

Expected:
Time stamps of pages visited are correct.
Actual:

Time stamps are an hour before the actual time. In the screenshot I have just visited the cat site which shows as 15:00 whereas actual local time is just after 16:00. Presumably this is related to the fact that current local time is BST which is GMT+1?

Hey @calumcraig! The timestamps for history in the browser at the moment are in GMT and not specific to local time zones

Hi @manavbp if this is expected behaviour I'll close this, that's fine.

As noted above, this is currently expected behaviour, timestamp feature not yet supporting accurate local time.
Closing this bug


Play against AI Bot.

It would be interesting to add Player vs. CPU option to the game.

:+1:

:+1:

Thanks for the wonderful idea ,will surely work on it.


updating the version of Jackson to 2.7

Jackson 2.1 is a pretty old version. Also, it appears that the CM is dependent upon a deprecated class which is not a great practice. These changes work and all tests pass.

this pull request handles issue #35 ,
i'll be happy if it will be merged.


Different small problems.

I got running this in real time from video-camera in a Jetson Xavier NX  but I'm absolutely  beginner and for sure I'm absolutely amazed, so first congratulations and thanks by share knowledge and effort.
i have the next problems that maybe are not issues ,but there is not a conversation room to ask other users.
-I  need use sudo and python3 command, in the guide don't use sudo,  how I an fix that (need use  python3 I guess is not a problem but correct the guide would be nice)?  Maybe giving permissions to some folder or making rules? (I don't know how do it if it is needed sadly)

It takes the 90% of my ram, and it doesn't use the  swap available (8gb), how I could low the resolution to low the memory usage? would help use the swap before use the whole memory? how, swappiness?
Im using always this command to run it :

sudo python3 eval.py --trained_model=weights/yolact_edge_54_800000.pth --score_threshold=0.3 --top_k=100 --video_multiframe=2 --trt_batch_size 2 --video=0 --use_tensorrt_safe_mode
so it needs convert to TRT every time, can I save and reuse the converted model, if so, what command I need use and were is the file? .
-the guide's file names of download with the command doesn't fit, so the guide wont work, but the mirror's ones are right and will work following the guide, for someone like me that is difficult to note.
Any help from any user will help, Im quite lost
cheers

For your questions,

need sudo: you need to add your user to video group so as to use the graphics card.
ram usage: see #88, and you can try use fp16 conversion also (which do not require calibration). And the model caches TensorRT modules, and it will automatically load the cached TRT models without converting if it is available.
guide download: I am not quite sure about what you mean by guide and mirror, please elaborate.

Ohh, thanks by the help I will try all that!
The guide issue is when you click download the weights, the filename do not fit with the name in the command included in the instalation guide (as it include the mobilenet word). But if you click to download from the mirror link, the file name that is downloaded fits (it doesn't include mobilenet in the name) with the one in the guide.
My English is very bad I hope I could explain it properly this time