Sweetpad issue: No schemes

Please describe your issue here.
Last logs:
{
  "message": "Sentry setup",
  "level": 1,
  "time": "2024-12-16T18:33:10.275Z",
  "sentryDsn"<EMAIL_ADDRESS>  "sentryIsEnabled": false,
  "sentryIsClientIsInitialized": true
}
{
  "message": "Failed to get schemes",
  "level": 3,
  "time": "2024-12-16T18:33:10.308Z",
  "stackTrace": "Error: Error executing \"xcodebuild\" command\n\tat /Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:47427:13\n\tat Generator.throw (<anonymous>)\n\tat rejected (/Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:81:29)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "error": {
    "options": {
      "context": {
        "errorMessage": "Command failed with exit code 1: xcodebuild -list -json",
        "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
        "command": "xcodebuild",
        "args": [
          "-list",
          "-json"
        ],
        "cwd": "/Users/sergeyolykov/Downloads/Local Dev"
      }
    }
  }
}
{
  "message": "No xcode workspaces found",
  "level": 3,
  "time": "2024-12-16T18:33:48.089Z",
  "stackTrace": "Error: No xcode workspaces found\n\tat /Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:46436:13\n\tat Generator.next (<anonymous>)\n\tat fulfilled (/Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:74:24)",
  "command": "sweetpad.build.selectXcodeWorkspace",
  "errorContext": {
    "cwd": "/Users/sergeyolykov/Downloads/Local Dev"
  },
  "error": {
    "options": {
      "context": {
        "cwd": "/Users/sergeyolykov/Downloads/Local Dev"
      }
    }
  }
}
{
  "message": "No xcode workspaces found",
  "level": 3,
  "time": "2024-12-16T18:33:48.302Z",
  "stackTrace": "Error: No xcode workspaces found\n\tat /Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:46436:13\n\tat Generator.next (<anonymous>)\n\tat fulfilled (/Users/sergeyolykov/.cursor/extensions/sweetpad.sweetpad-0.1.46/out/extension.js:74:24)",
  "command": "sweetpad.build.selectXcodeWorkspace",
  "errorContext": {
    "cwd": "/Users/sergeyolykov/Downloads/Local Dev"
  },
  "error": {
    "options": {
      "context": {
        "cwd": "/Users/sergeyolykov/Downloads/Local Dev"
      }
    }
  }
}

@Gerrero26 could you try solution from this comment https://github.com/sweetpad-dev/sweetpad/issues/3#issuecomment-2017742269?


Title: Improve the services section of the website

Is your feature request related to a problem? Please describe.
When we hover over cards in the service section, It flips only when we click it. Maybe someone never clicks on the cards then the information will be hidden from the user as new user do not know that he have to click on the cards
Describe the solution you'd like.
I will add some pseudo-classes upon service cards to get better experience
Describe alternatives you've considered.
I want to make a better user experience at your site
Add any other context or screenshots about the feature request here.
Kindly assign me this issue to get started.
Thanks :)

issue raised before already


Create  workbook

First of all, Thanks for collaborating with us!!! its a request to please put your code in appropriate file location .we will merge then shortly .no worries


about se3_refine parameter

Hello! I'm a student studying NeRF, and I have a question about the SE3_refine function in the BARF code. I'm not sure what the parameters of 6-DoF refer to. Are they related to affine transformation? I'm not entirely certain.
And regarding automatic backward, how do you know the Jacobian formula of the model and how do you compute automatic backward? I want to implement backward myself but I don't understand it well
Thank you for your research.

Hi @pcc1016, rigid transformations (in the SE(3) space) have 6 degrees of freedom (3 for rotation and 3 for translation). The gradients are computed via autodiff with PyTorch in practice.


[PE-D][Tester A] list_modules has no example and is confusing.

There is no example for the list_modules command.
The list_modules is very short and confusing as there is no code to add information for the modules.

Labels: type.DocumentationBug severity.VeryLow
original: DominicFuMJ/ped#5

Not really a bug since its not a necessity to have detailed guides for each command. Assigned low priority for now but we can re-evaluate in a couple of days.

Closed by #143


Refactor lint api

This PR is a preparatory refactor to separate out the Lint functionality from the project as a separate library for use with package publication tools to prevent badly linted PRs being opened on opam-repository.
The big API change is to use parsed OPAM.t objects instead of parsing the opam files in the lint library. This should make it easier to use the library API from the publication tools. This also allows us to run the lint before creating the package directory in the opam-repository. (In such cases, we skip the check_package_dir lint).
Also, the download of package sources in the check_dune_constraints test has been removed and the downloads are now moved to the main module. This allows us to prevent any package downloads as part of the library, and allows us to pass the path of the directory when using the API.
We also add some light-weight analysis to be able to infer if a package being linted is a "newly-published" package, or an update to an existing one. This makes the public API simpler. But, we also allow explicitly specifying this information to bypass the inference, if required. This can be used from the CLI by the CI.
The PR has a few minor clean-ups/improvements:

Remove use of Option.default from extlib
Minor formatting change with ocamlformat
Ensure temp directory is always removed
Rename repo_dir argument as opam_repo_dir for clarity

The inference of "newly published" or not isn't yet exposed on the CLI, and we always need to explicitly specify that from the CLI, as of now. But, I think the rest of the API change is self contained and useful to merge even without the CLI improvement.

The inference of "newly published" or not isn't yet exposed on the CLI, and we always need to explicitly specify that from the CLI, as of now. But, I think the rest of the API change is self contained and useful to merge even without the CLI improvement.

I pushed a WIP commit to expose the newly-published inference and also to allow specifying the pkg_src_dirs from the CLI. I've not yet changed the usage of the CLI in the CI to use this CLI. This needs to be done once we are happy with the interface.

I'm seeing the CI tests failing, and there are at least two points where I think clarification of improvements should be considered here before merging, regardless.

Yes, I didn't spend time on fixing all the CI tests because I wanted to see if we like the interface, first. Having a quick sync chat to decide this, sounds fine to me!  I'm also happy to open the CLI changes as a separate PR if that makes it easier to merge the other changes.

Looks great! Thanks for all the careful work on this, and for ensuring we prioritize trying to meet needs of package authors and repo maintainers!

Thanks for all your reviews, suggestions and brainstorming! It was fun. :)


Stop tests and exit in case of TERM or INT signals

run.sh is renamed to tests.sh
run.sh becomes a generic script to run an app which a possibility of
killing after a keyboard interruption

@vadmeste I observed that even after the tests are done, container doesn't exit. It just waits until manual ^c . It should exit on completion or first failure.
Use 'docker ps -a' to find container-id
Export run logs from the container using 'docker cp container-id:/mint/log /tmp/mint-logs'

^CEXIT signal captured..


Feature to Install multiple chaincodes on peers

Description :
Now BAF is supporting to install single chaincode on peer. I would like to install multiple chaincodes on peers
Proposal Summary:
would like to install multiple chaincodes on peers. And the proposal network.yaml would be like this
network.yaml

1. network:
2.   chaincodes:
3.     - chaincode1:
4.         ........
5.     - chaincode2:
6.         ........
7.     - chaincode3:
8.         ........
9.   organizations:
10.     - organization:
11.       name: <name of the org1>
12.       services:
13.         peers:
14.           - peer:
15.             name: peer0
16.             chaincodes:
17.               - name: <Name of the chaincode>
18.                 version : <version of the chaincode>
19.                 installed: true | false  # default value is false
20.               - name: <Name of the chaincode>
21.                 version : <version of the chaincode>
22.                 installed: true | false  # default value is false
23.           - peer:
24.             name: peer2
25.             chaincodes:
26.               - name: <Name of the chaincode>
27.                 version : <version of the chaincode>
28.                 installed: true | false  # default value is false
29.               - name: <Name of the chaincode>
30.                 version : <version of the chaincode>
31.                 installed: true | false  # default value is false
32.     - organization:
33.       name: <name of the org2>
34.       services:
35.         peers:
36.           - peer:
37.             name: peer0
38.             chaincodes:
39.               - name: <Name of the chaincode>
40.                 version : <version of the chaincode>
41.                 installed: true | false  # default value is false
42.               - name: <Name of the chaincode>
43.                 version : <version of the chaincode>
44.                 installed: true | false  # default value is false
45.           - peer:
46.             name: peer2
47.             chaincodes:
48.               - name: <Name of the chaincode>
49.                 version : <version of the chaincode>
50.                 installed: true | false  # default value is false
51.               - name: <Name of the chaincode>
52.                 version : <version of the chaincode>
53.                 installed: true | false  # default value is false
54.       - organization:
55.         name: <name of the org3>
56.         services:
57.           peers:
58.             - peer:
59.               name: peer0
60.               chaincodes:
61.                 - name: <Name of the chaincode>
62.                   version : <version of the chaincode>
63.                   installed: true | false  # default value is false
64.                 - name: <Name of the chaincode>
65.                   version : <version of the chaincode>
66.                   installed: true | false  # default value is false
67.             - peer:
68.               name: peer2
69.               chaincodes:
70.                 - name: <Name of the chaincode>
71.                   version : <version of the chaincode>
72.                   installed: true | false  # default value is false
73.                 - name: <Name of the chaincode>
74.                   version : <version of the chaincode>
75.                   installed: true | false  # default value is false
76.   channels:
77.     - channel:
78.       channel_name: <channel name1>
79.       chaincode:
80.          - name: <chaincode name>
81.            version: <version of the chaincode>
82.          - name: <chaincode name>
83.            version: <version of the chaincode>
84.       participants:
85.         - organization:
86.           name: <name of the org 1>
87.           peers:
88.             - peer:
89.               name: peer0
90.             - peer:
91.               name: peer1
92.         - organization:
93.           name: <name of the org 2>
94.           peers:
95.             - peer:
96.               name: peer0
97.             - peer:
98.               name: peer1
99.     - channel:
100.       channel_name: <channel name2>
101.       chaincode:
102.          - name: <chaincode name>
103.            version: <version of the chaincode>
104.          - name: <chaincode name>
105.            version: <version of the chaincode>
106.       participants:
107.         - organization:
108.           name: <name of the org 2>
109.           peers:
110.             - peer:
111.               name: peer0
112.             - peer:
113.               name: peer1
114.         - organization:
115.           name: <name of the org 3>
116.           peers:
117.             - peer:
118.               name: peer0
119.             - peer:
120.               name: peer1

Note :
Here with the chaincode section in the network.yaml file defines all the chaincode and its parameters . And in the remaining places where we need to use the chaincode just need to use the name and version of the chaincode.

@KarthikSamaganam550 is there any update on this issue?

i would like to work on this issue

@divyabhanu97 Thanks for taking this up. This is assigned to you now.

this is a really necessary feature for production environments with multiple uses cases +1.

@divyabhanu97, any updates on this issue ?

Hi Suvajit, i have tested the external chaincode deployment, changes pending with bevel, i am trying to complete it ASAP

Hi @divyabhanu97, please at least send a draft PR for this issue

Hi Suvajith,
Manual Deployment Steps:
Step 1: Generation of certificates for organization that requires external chaincode
Step 2: Create chaincode files with connection.json and metadata.json and package it in .tgz format. Make sure Connection.json should have server address and values of certificates generated.
Step 3: Copy the packaged chaincode into organization containers and go into peer cli and install the chaincode using “peer lifecycle chaincode install ”
Step 4: Create configmap for certificates generated and map the certificates with external chaincode deployment file, run external chaincode as pod &deployment and expose as a service
Step 5: Use the exposed chaincode Service IP to create a DNS name.
Step 6: Go inside the peer cli and approve and commit the chaincode If the commit is successful try to invoke the chaincode from cli and query.
these manual steps are working fine for now, i am in the middle of automation with bevel..


[gtk] Non-panicking manual ApplicationBuilder impl

Closes gtk-rs/gtk4-rs#287

Shouldn't we make this the implementation by default when generating builders in gir?


Constructing PTY instance kills terminal

When I try to construct a PTY instance, it terminates my terminal program. With both cmd.exe and PowerShell, the following program will kill my terminal as soon as I execute the PTY constructor:
from winpty import PTY
PTY(10, 10, 'utf-8', None)

Strangely, the terminal built in to VSCode seems to behave correctly when I do the same thing.
This is on Windows 10, build 19043.1237. I'm running Windows under Parallels Desktop 17 on macos 11.6.
I'm at a loss as to how to proceed. Any idea what's going on? Or is there something I can do to help diagnose it?

Sorry, didn't mean to close this.
It seems like I should be able to use the ConPTY backend, so is there more I should try?

I will try to do this sometime soon. My windows 10 system was retired, though I think I might be able to spin it up for this.


[Bug Report] el-menu in router mode should expose router-links so that users can "Open Link in New Tab"

Element UI version
2.4.11
OS/Browsers version
Windows 10 / Version 70.0.3538.102 (Official Build) (64-bit)
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/fuyrvn6L/2/
Steps to reproduce
See the reproduction link. A normal router-link places an anchor on the DOM and then users can Ctrl click or right click to open link in a new tab. Unfortunately, with the el-menu, this does not work.
Note: I have also tried placing a router-link inside the el-menu, like this <el-menu><router-link>click me</router-link></el-menu>. This is not ideal either though because then a user has to click on the words themselves and not overall menu item.
What is Expected?
I expect el-menu in router mode to expose a router-link/anchor
What is actually happening?
pure javascript is being used to perform a router.push

Received, we see how to support


⚠ SceneTime has degraded performance

In de2efa8, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3608 ms

Resolved: SceneTime performance has improved in c90f267 after 13 minutes.


add logic to instant delete segment

Make SegmentDeletionManager instantly delete a segment if DeletedSegmentsRetentionInDays is set to zero. see #8072.

Codecov Report

Merging #8077 (9d3b26f) into master (cc2f3fe) will increase coverage by 0.00%.
 Consider uploading reports for the commit e4eea6b to get more accurate results

@@            Coverage Diff            @@
##             master    #8077   +/-   ##
=========================================
  Coverage     64.63%   64.64%
  Complexity     4260     4260
=========================================
  Files          1562     1562
  Lines         81525    81545   +20
  Branches      12252    12256    +4
=========================================
+ Hits          52695    52714   +19
+ Misses        25072    25071    -1
- Partials       3758     3760    +2

Flag
Coverage Δ

unittests1
67.86% <0.00%> (+<0.01%)
:arrow_up:

unittests2
14.23% <51.16%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ment/creator/impl/SegmentColumnarIndexCreator.java
86.32% <0.00%> (-0.94%)
:arrow_down:

.../controller/helix/core/SegmentDeletionManager.java
71.73% <51.42%> (-2.25%)
:arrow_down:

...ntroller/helix/core/PinotHelixResourceManager.java
61.70% <100.00%> (+0.02%)
:arrow_up:

...lix/core/realtime/PinotRealtimeSegmentManager.java
77.48% <0.00%> (-2.62%)
:arrow_down:

.../aggregation/function/ModeAggregationFunction.java
88.64% <0.00%> (+0.27%)
:arrow_up:

...rg/apache/pinot/broker/routing/RoutingManager.java
72.63% <0.00%> (+0.70%)
:arrow_up:

...lix/core/minion/PinotHelixTaskResourceManager.java
2.71% <0.00%> (+1.16%)
:arrow_up:

.../pinot/core/query/scheduler/PriorityScheduler.java
83.56% <0.00%> (+2.73%)
:arrow_up:

...ntroller/helix/core/minion/TaskMetricsEmitter.java
34.09% <0.00%> (+15.90%)
:arrow_up:

Continue to review full report at Codecov.

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


Leading commas

Writing a list of elements or clauses in leading-comma style is one of those things you miss very much, once you've gotten used to it. It also helps with seeing what line has a comma.
The example below is very simple and not representative of real code, so please ignore how the list of ints may or may not deserve to be written in this style. If needed, I can expand with other examples, where the benefit is much more evident.
Say you have
    let foo = vec![ 1
        , 2
        , 3
        , 4
        , 5
        , 6
        , 7
        , 8
        , 9
        , 10
        , 11
        , 12
        , 13
        , 14
        , 15
        , 16
        , 17
        , 18
        , 19
        , 20
        , 21
    ];

What I really want do is use leading-comma style as follows:
    let foo = vec![ 1
                  , 2
                  , 3
                  , 4
                  , 5
                  , 6
                  , 7
                  , 8
                  , 9
                  , 10
                  , 11
                  , 12
                  , 13
                  , 14
                  , 15
                  , 16
                  , 17
                  , 18
                  , 19
                  , 20
                  , 21
                  ];

The alignment of the comma is very important, but the column of the last line is open for stylistic debate. I use this style in Haskell, where it's very popular, but also in Erlang, where it also helps with avoiding mistakes in case..of (Rust match) clauses.
If I run it through rustfmt, this is what I get:
let foo = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21];

Problems with this:

reverses leading-comma style
exceeds column limit

Not everybody wants to use leading-comma style, so this should probably be opt-in.

    let foo = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21];

This exceeds ideal_width (=80) but is shorter than max_width (=100). You can set max_width smaller value to get this line splitted into new lines.
I grepped rustfmt code with ideal_width and found that it is hardly used (only formatting where clauses, trait bounds and attributes). Not sure what ideal_width is supposed to be.


Use adoc instead

Are we going to close this ? I see https://github.com/hazelcast-guides/hazelcast-quarkus/pull/46 is merged.

Yes


Only allow connections to a specific host

Added two options to specify a single host and port which will only be allowed to connect

Codecov Report

Merging #36 into master will decrease coverage by 0.77%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage    90.7%   89.92%   -0.78%
==========================================
  Files           6        6
  Lines         527      536       +9
  Branches       73       76       +3
==========================================
+ Hits          478      482       +4
- Misses         34       37       +3
- Partials       15       17       +2

Impacted Files
Coverage Δ

webssh/settings.py
100% <100%> (ø)
:arrow_up:

webssh/handler.py
91.78% <37.5%> (-1.56%)
:arrow_down:

Continue to review full report at Codecov.

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

If you want to allow connection to specific host(s), you can use option tdstream  or reject policy with your known_hosts.

If you want to only allow connection to specific host(s), you can use option policy reject with your known_hosts.

tdstreamonly allows connections from specific host, and reject policy requires the host key to be known in advance. I guess what I implement is "trusted upstream".
Maybe a more acceptable solution would be to show a select element in the page, populated with known host connections, when reject policy is applied. For example, when I set only 1 known host, why make the user type it out each time?


Deploy your Docker image to Kubernetes

As a service provider
I need my service to run on Kubernetes
So that I can easily scale and manage the service
Assumptions

Kubernetes manifests will be created in yaml format
These manifests could be useful to create a CD pipeline
The actual deployment will be to OpenShift

Acceptance Criteria
Given the Kubernetes manifests have been created
When I use the oc command to apply the manifests
Then the service should be deployed and run in Kubernetes

https://github.com/Toluwalemi/devops-capstone-project/blob/main/Dockerfile


Link to "Identifiers for Audio Devices" is broken

[Enter feedback here]
Hello Microsoft,
This is a feedback for the page in Description:
Link to "Identifiers for Audio Devices" is broken.
Identifiers for Audio Devices is tagged with ISAPNP Device Identifiers.
Please update the link for "Identifiers for Audio Devices".
Thanks,
Sumit

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

ID: e29e581e-02a0-dab0-83db-25ae1ca1aebb
Version Independent ID: 21141809-e821-8e58-dcf2-be1d1bb9be87
Content: Step 1 The New Device is Identified - Windows drivers
Content Source: windows-driver-docs-pr/install/step-1--the-new-device-is-identified.md
Product: windows-hardware
Technology: install
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

@Sumit-Nbase2 - Thanks for seeing this error on my part and creating this helpful issue. The link is now fixed. Thanks for caring about the docs, and helping the next reader get to the proper audio topic!

Most Welcome :)


init changes

Description
Please explain the changes you've made
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

Suggest closing this in favor of https://github.com/dapr/dotnet-sdk/pull/589

Closing this as stale


[BACKLOG-16413] - AEL is generally missing from pdi-ce

@dkincade @mdamour1976 please review

Build Skipped
:white_check_mark: There was nothing to build. The changes are probably excluded by the build rules. If this is an error, please contact your system administrator.


Doesn't seem to allow scripts that span more than one line

We've noticed that the script executor task doesn't like scripts that span more than one line.  Is this intentional???

shouldn't be the case. could be due to #4 fix. can you cat the script & post the output?

Ah... the plugin version we are using is from a month ago.  Looks like fix for #4 is the issue we are seeing.  We'll try latest.  Thanks!

Quick question:  if I replace /var/lib/go-server/plugins/external/script-executor-0.1.jar with /var/lib/go-server/plugins/external/script-executor-0.2.jar
what happens to the  script-executor-0.1.jar in my 50 or so agent directories?  ie: /var/lib/go-agent/plugins/external/script-executor-0.1.jar
Is Go smart enough to blow away all previous jars and refresh them with the plugins in /var/lib/go-server/plugins/external/  or will I end up with both script-executor-0.1.jar and script-executor-0.2.jar in the /var/lib/go-agent/plugins/external/ directory of all my agents?

We're good to go: script-executor-0.2.jar fixed our problems.  Also, we answered my last question by holding our breath and replacing the jar in the go-server directory (hoping we wouldn't have to go clean up 50+ agent installs).  Go upgraded the plugins in all of the agents cleanly... looks like it does so even if the agents are explicitly run.  Very nice!

great! :) & yes Go takes care of upgrading plugins on all agents. Agents automatically restart after plugin upgrade as well.


MWPW-139604-Implement RTL design for selector tray and enticement

Implements RTL design for selector tray and enticement
Fixes minor spacing issue mentioned in point 5 in jira ticket https://jira.corp.adobe.com/browse/MWPW-140669
Also small code update to delete all query params on click of generate before setting new query params

Resolves: MWPW-139604
Test URLs:

Before: https://main--cc--adobecom.hlx.live/drafts/ruchika/firefly/remove-dnt/document1?martech=off
After: https://rtl-ff--cc--adobecom.hlx.live/drafts/ruchika/firefly/remove-dnt/document1?martech=off

Note: First 2 point mentioned in the PR description have been verified with UX team on feature branch.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (225a647) 89.83% compared to head (a80c39d) 89.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   89.83%   89.83%
=======================================
  Files           8        8
  Lines         679      679
=======================================
  Hits          610      610
  Misses         69       69

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


about training set

Hello! Thank you very much for your work! I am currently facing some issues. The training set I made according to the original paper never meets the number of 8000k phrases mentioned in the paper, can you provide me with the code to make the training set or the training set?

Looking forward to your reply. Thank you very much!


XamarinEvolve.Clients.UI.Controls.CardView

There seems to be a typo in the CardView class that extends Frame.
`public CardView()
    {

        Padding = 0;

        if (Device.OS == TargetPlatform.iOS || Device.OS == TargetPlatform.iOS)

        {

            HasShadow = false;

            OutlineColor = Color.Transparent;

            BackgroundColor = Color.Transparent;

        }

    }`

Second check should be Android (?) instead of iOS.

Updated, it is iOS only


Use standard for linting

Adds standard for linting.

@gr2m thanks for the review. I pushed fixes for the feedback. Would you mind reviewing again?


Generation speed quite different

From my observation, the gereration speed are quite different between different prompt.
Some quick just need 1 hour maybe(GPU 3090), but some need cost 20+ hours.
Is that right that some prompt will cost far more time than other? Or is most of the generation time the same, no matter what prompt it is?

Are you talking about the 3D generation with threestudio repo?
The generation speeds would be affected by the prompt because InstantNGP does pruning when sampling along rays. However, I have never observed such a big difference between prompts.
For example, the config without shading takes me 40-60 min on V100, never goes up to 2hours.
Can you share the prompt and results that cost you 20 hours?

yeah, it's 3d generation. You can try this one: 'Rhinoceros statue, art, Rhinoceros head', which cost me 12 hours and just arrive 8537 iter
Epoch 0: : 8539it [12:12:08,  5.14s/it]
Im not sure is that because my PC's problem or some GPU memory accumulation or something lead to such slow generation. I can feel very big difference between prompt. If there are some commom prompt, such as 'cat' \ 'dog' \ 'chair', it will be quick, but if there are some uncommon prompt, it will cost me a lot of time.


Cannot rename compressed folders in explorer

Issue Type: Bug
Repo

Create a project with two directories and the structure:

src/
   sub/

In explorer, see the directory is compressed and displayed as src/sub
Trigger a rename in the explorer on src/sub

Bug
The entire explorer becomes greyed out. No rename happens:

VS Code version: Code - OSS Dev 1.41.0 (Commit unknown, Date unknown)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.32GB free)

Process Argv
.

Screen Reader
no

VM
22%

One interesting option would to let users enter a new folder path in the rename dialog. For example, while renaming src/sub the dialog would show src/sub. If I enter code/cat/bla, it would create a new directory structure:
code/
  cat/
    bla/
       ...files previously under `src/sub`

I would like to work on this issue.


Selected movies showed up on the corner of the webpage

Describe the bug
Selected movies showed up on the corner of the webpage.
To Reproduce
Steps to reproduce the behavior:

Login
Select a movie "Toy Story3" and then click "predict"
Selected movies showed up on the left corner of the webpage.

Expected behavior
There is no duplicated text shown up on the corner
Screenshots

Desktop (please complete the following information):

OS: MAC OS
Browser: google chrome

solved by https://github.com/CSC510-GROUP-40/MovieRecommender/pull/22


yarn ios一直卡在这里，动都不动一下?有谁遇到过吗

Description

React Native Version
0.71
Output of npx react-native info
System:
OS: macOS 13.2.1
CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
Memory: 34.47 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.15.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 9.5.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.0 - /Users/mac/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_211 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
按照官网
1.翻墙
2. npx react-native init project
3.sceessed
4. yarn ios
5.一直卡死
Snack, code example, screenshot, or link to a repository
npx react-native init project

I'm not sure what the report is about here - the screenshots only show a warning?

"I tried to use the react-native doc command to fix it, but an error occurred. An error occurred while xocde was running native, and it was automatically fixed by pressing e"

我尝试使用了react-native doctor命令去修复它，产生了一个错误，xocde运行native中出错了，按e自动被修复掉

Hi @sparGuan
In this issue tracker we accept only issues that are in English.
Sadly we can't support you further if your issue is not in English. I'm closing this for now, please consider translating it to English and reopening it.
Thanks.

This problem has reappeared. I have been stuck in Yarn IOS all the time. Finally, I found out that it was due to the icloud cloud folder that caused xcode to fail to open. Just move it out of the icloud cloud folder

Developing with Xcloud and never using iccloud cloud have many problems

After I removed it from the icloud cloud, it now runs normally with xcode!!!!, Yarn ios is not stuck either!!!!

https://www.5axxw.com/questions/content/j43wlo
谢谢他给了我灵感


Improved physical device selection

Currently in (I believe) every chapter of the book from the point at which physical devices are introduced onwards uses a hard set device name in the eng.properties file to select a device. A better approach could be to find the first available device with the required features(like the KHR swapchain extension and a graphics queue family for example).
To expand on that, could even have it score devices based on extra features, such as prioritize a discrete over integrated GPU, etc. This technique shows a quick implementation in the C vulkan-tutorial here.
A rough idea of what this might look like in this project might be something like below. This is definitely open to further thoughts and development but I've tested the implementation and it works at least. I would think if this were to be included it would make sense to include from the physical devices initial implementation onwards
Create a new method rateDeviceSuitability in PhysicalDevice:
private static int rateDeviceSuitability(PhysicalDevice device) {
    VkPhysicalDeviceProperties properties = device.getVkPhysicalDeviceProperties();
    VkPhysicalDeviceFeatures features = device.getVkPhysicalDeviceFeatures();

    // Device must support a swap chain and graphics queue
    if (!device.hasGraphicsQueueFamily() || !device.hasKHRSwapChainExtension()) {
        return 0;
    }

    int score = 1;

    // Discrete GPUs are always better
    if (properties.deviceType() == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) {
        score += 1000;
    }

    return score;
}

Then update the createPhysicalDevice function to work something like this:
Map<Integer, PhysicalDevice> devices = new HashMap<>();
for (int i = 0; i < numDevices; i++) {
    VkPhysicalDevice vkPhysicalDevice = new VkPhysicalDevice(pPhysicalDevices.get(i), instance.getVkInstance());
    PhysicalDevice physicalDevice = new PhysicalDevice(vkPhysicalDevice);
    rating = rateDeviceSuitability(physicalDevice);
    if (rating > 0) {
        devices.put(rating, physicalDevice);
    }
}

SortedSet<Integer> keys = new TreeSet<>(devices.keySet()).descendingSet();
selectedPhysicalDevice = devicees.remove(keys.first());

for (PhysicalDevice physicalDevice : devices.values()) {
    physicalDevice.cleanup();
}

Many thanks for the suggestion.
Actually, the code iterates over available phsysical devices and checks if they support swap chain and graphics queue. With all  of these candidates, we try to select the one that is on the properties file. It is explained that you may want to add additional heuristics, such as the approach tou propose, to select the most performant device. In any case, I would prefer not to add more code and complicate first chapters.


Extend parse_iso to accept '2020-06-10 14:33:23.489 +0200'

Feature Request
I would like
arrow.get('2020-06-10 14:33:23.489 +0200')

To work. For now it doesn't like the second space. It would be easy for me to fix this but it kind of looks like this is something that should work.
I understand that it might not be striclty ISO 8601 compliant but the following comment suggest that the function is a bit more inclusive:
https://github.com/crsmithdev/arrow/blob/0a37fa5643ed2a0fe7714854fc3d91644fc8fb4e/arrow/parser.py#L115

For reference, this is the format used by micromanager:
https://github.com/micro-manager/micro-manager/blob/9e32d4c66b1fdf3bf038994a016dc5449f108cc1/mmstudio/src/main/java/org/micromanager/acquisition/internal/DefaultAcquisitionManager.java#L58

PS: This is also the format used in the doc at https://arrow.readthedocs.io/en/latest/:
>>> local.format()
'2013-05-11 13:23:58 -07:00'

but on my computer I don't get the space so it might be an error in the doc:
>>> local.format()
'2020-06-15 03:23:43-07:00'

Hello @impact27, we've thought about adding white space normalization before (#421) but I guess this is slightly different.
I'm not opposed to adding support for this as it's a reasonable format but we need to avoid breaking too much stuff in the parsing methods. The snippet from the docs is wrong and needs fixing.

Hey @impact27 just checking you know that custom formats can be passed to arrow?
(arrow) chris@ThinkPad:~/arrow$ python
Python 3.7.4 (default, Sep 19 2019, 11:01:37)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import arrow
>>> arrow.get('2020-06-10 14:33:23.489 +0200', "YYYY-MM-DD HH:mm:ss.SSS Z")
<Arrow [2020-06-10T14:33:23.489000+02:00]>

You can also escape special characters (i.e. regex) using [ ]
>>> arrow.get('2020-06-10 14:33:23.489   +0200', "YYYY-MM-DD HH:mm:ss.SSS[\s+]Z")
<Arrow [2020-06-10T14:33:23.489000+02:00]>

Thanks for the tip about regex :) I think that if arrows accept '2020-06-10 14:33:23.489+0200' in addition to the T notation of ISO 8601, it would make sense to accept a space before the time zone as well. I am using "YYYY-MM-DD HH:mm:ss.SSS Z" in my code for now.

Glad to hear you found a solution with a custom format string. Regarding this issue, I am going to close it since it is very similar to https://github.com/crsmithdev/arrow/issues/421.
Also, we are looking to keep the parse_iso function (the function that is called when arrow.get() is invoked with one argument and without a format string) primarily focused on ISO 8601 formats. When we say "support more than ISO 8601" in the TODO comment, we mean that we are expanding the token combinations and dividers we support, rather than particular spacing choices. Redundant spacing is better kept to a new function argument we add if there continues to be enough support for the feature 😄 .
Currently, the best solution is passing a custom format string or the regex Chris mentioned above.


tablet_flow_control polish

What is changed and how it works?

Issue Number: Ref #12842
What's Changed:

1) Remove the suffix parameter in tablet flow control code as it's not needed anymore by using the FlowControlFactorStore.
2) Before this change, it the tablet flow control may not work properly because of unnecessarily checking the suffix value.
3) Fix the scheduler flow's metrics for multi-rocksdb

Related changes

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

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Side effects
Release note
None

/merge


Small changes to documentation

Fix some typos in documentation and docstrings
Also two more comments/questions:

If I am not mistaken, the description of pounders isn't correct. The criterion function seems to be expected as just returning value

 ```{eval-rst}
.. dropdown:: pounders

    .. code-block::

        "pounders"

    Minimize a function using the POUNDERS algorithm.

    POUNDERs (:cite:`Benson2017`, :cite:`Wild2015`, `GitHub repository
    <https://github.com/erdc/petsc4py>`_)
[]
    The criterion function :func:`func` should return a dictionary with the following
    fields:

    1. ``"value"``: The sum of squared (potentially weighted) errors.
    2. ``"root_contributions"``: An array containing the root (weighted) contributions.

The graph in how_to_algorithm_selection mentions scipy_ls_dogleg, but this algorithm doesn't seem to be supported, yet.

Thanks, I'll have a look at your comments. The description of the pounders objective function is definitely outdated. I'll check about scipy_ls_dogleg.

The correct name of the algorithm is scipy_ls_dogbox because it is a dogleg algorithm with support for box constraints. I adjusted the decision tree.


Add brandonlebeau.org

Add the json for my website/blog that uses blogdown.
Cheers

Thanks for the submission!


Implement sns-handling view including a good initial level of tests

https://trello.com/c/i30jDD69/14-automatically-virus-scan-uploaded-files
There probably should be some more tests around the edge cases here in time, but initially this appears to work quite well.
Example things that are untested:

multiple Records in a single sns message, though it's unclear whether this actually ever happens with our setup.
any one of our calls to external services could in theory fail for random network-related reasons. How many of these cases we should actually cover is up for debate. Currently we test a few of them.

Not included here (though perhaps in time) is handling of infected-file-reversion.

Changes pushed, @benvand can I merge this?


feat: add DataBrokerDAO to the default list

and at the same time dedupe the DATA token for all holders

Please add support email address https://myetherwallet.groovehq.com/knowledge_base/topics/i-just-created-a-new-token-can-you-add-it-to-mew

Hi @tayvano, would love to, but where exactly, is there a different file to put it in?
We are already in https://github.com/MyEtherWallet/ethereum-lists/blob/master/tokens/tokens-eth.json#L1150 (did only today figure out that this repo was different, my bad)


Low cap crypto quote response validation

Bug Report
Describe the bug
Low cap crypto quotes return a lot of quote validation errors.
Minimal Reproduction

const result = await yahooFinance.quote('ZRC-USD');
console.log('coin', result);

Environment
Node version (if applicable):  v17.5
Npm version:  8.4.1
Library version (e.g. 1.10.1): 2.1.4

I'm not sure if this is the same issue you have with "low cap crypto".
For
await yahooFinance.quote('ETH-USD');

I get 67 validation errors. I'm not able to reproduce this in the codesandbox, though.
Environment
Library version: 2.1.5

@dtslvr try 2.1.6 from 2 days ago that better accommodates a new field Yahoo added around then.

Thanks, @Sitebase, for reporting.  This is fixed in devel and will be in the next release.  There'll be an automated message here when that happens.

:tada: This issue has been resolved in version 2.1.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@dtslvr try 2.1.6 from 2 days ago that better accommodates a new field Yahoo added around then.

Thanks @gadicc. I will try this. I have just upgraded to 2.1.7 and now I have another question: https://github.com/gadicc/node-yahoo-finance2/discussions/416 🙂


Implement CAP 15 (fee bump) support in Go SDK

This work needs to be done in two parts.

In part 1, we release an SDK that sends protocol 12 transactions, and can read protocol 13 as far as possible.

In part 2, we release an SDK that reads and writes protocol 13 transactions.

[ ]  Update SDK so that it is compatible with the new horizon transaction response structure

[ ] Update SDK to allow transaction lookup by either its hash or its inner hash (in the case the transaction is a fee bump)

[ ] Consider what other features could make look ups for fee bumps ergonomic

[ ] Update SDK to build transactions from XDR from both protocol 12 and protocol 13, as far as possible. This means shimming for part 1.

[ ] Update SDK with functionality to create and submit fee bump transactions. Note that fee bump transactions have a different fee rate calculation compared to normal transactions.

[ ] Consider SEP 10 implications of fee bump transactions. We probably want to add the restriction that a fee bump transaction cannot be a valid SEP 10 challenge transaction.

Parent issue: #2360

@tamirms I made a first sketch summarising the work, please edit at will.

Presumably fixed by https://github.com/stellar/go/pull/2495. Can you confirm? If not, please reopen.


Design of dialogs

@cameronoelsen and I have been talking about the dialogs in JupyterLab. Some things that probably need a second look:

The per/panel dialogs get really awkward when the panel gets small. Should we enforce having full-page dialogs only?
Font sizes are probably too large and inconsistent with rest of the app.
We are moving towards blue for primary color rather than orange.

This is an issue to track this stuff and let @cameronoelsen do design work.

Before I continue to iterate on the dialogs, I wanted to know what we think about where dialogs should be displayed (within each plugin or the entire screen):
Within the plugin
Version 1 (Popup Dialog)

Version 2 (Inline/dropdown Dialog)

Covering the entire environment
Version 3 (Popup Dialog)

I personally like the approach of covering the entire environment for all dialogs, seeing I haven't seen any other platform do per-plugin dialogs. I talked with Matt as well and he agrees. I just think using the fullscreen, full attention dialog is standard. What do you guys think? I am not set on all of the colors, but I made the buttons drastically smaller and made the fonts standardized with the rest of JupyterLab. We also were straying away from the orange highlight color for the actions and highlights!


Take OUT_DIR environment variable into account instead of hardwiring to out/ dir

Shouldn't it be $OUT?


dont sync bbinfo fix

https://forum.babylonjs.com/t/greasedline-mesh-doesnt-respect-donotsyncboundinginfo/53829

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15644/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15644/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15644/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15644/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15644/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15644/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15644/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15644/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15644/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15644/merge/testResults/webgl2playwright/index.html


filter lock relation metrics by relkind

Depends on:

https://github.com/DataDog/integrations-core/pull/9322 (merged)
https://github.com/DataDog/integrations-core/pull/9329 (pending)

Adds relkind filter to lock relations

I do not think new types are going to be added (I think that would be a big change in postgres) but the relation query is written in debug logs https://github.com/DataDog/integrations-core/pull/9323/files#diff-d25442ec2239460625e8f0a49b8dcc7f237ade6659bf380d718a0632e88d9b29R173
which should help spot issues there.


CIP-0102 | Reference Implementation

A reference implementation for CIP-0102 royalties, written in Lucid (offchain) and Aiken (onchain).
In this reference implementation you'll find examples of:

Minting a CIP 102 compliant NFT with royalties
Validators for storing royalty metadata

Always Fails (royalty cannot be modified)
Reducible (royalty cannot be increased, but can be decreased)

Reading a CIP 102 NFT’s royalties off chain
Reading and validating against CIP 102 NFT royalties on chain

This code has not been audited and is NOT INTENDED FOR PRODUCTION, but to provide code examples of expected behavior.

I still have some cleanup for clarity and consistency to be done here, and may dabble in some optimizations; however, it's now fully featured & ready for review by interested parties who don't mind digging through some sub-optimal code. Feedback is very welcome :)
I will mark as ready for merge when I'm satisfied with my sanitization.

@rphair I was not aware of that decision, thanks for letting me know! No links necessary, I trust you 😄
I'll move my code to another repo & update this PR accordingly.

Moved the code I had here to a new repo as requested. I can include my disclaimers about production readiness & general lack of polish in that repo, so I see no reason to delay this PR. Marking as ready for review & merge.

@SamDelaney https://github.com/cardano-foundation/CIPs/pull/848#issuecomment-2195772602: @rphair I was not aware of that decision, thanks for letting me know! No links necessary, I trust you 😄

Thanks for your trust but I thought [recalling incorrectly] that one of the outcomes of that past deliberation was to update CIP-0001 (and now that I think about it, CIP-9999) with this reservation.  I'll submit a change request in the near future which will have the additional advantage of the 3 currently active editors unanimously confirming both this policy & the language used to express it.  cc @Crypto2099 @Ryun1

@rphair I think you may have misread the files changed. TODO.md was already included in the last PR so I'm just removing it here.
Here's the current state of the CIP-102 subdirectory, and here's what I'm updating it to with this PR.

Marked Last Check so we can merge at Tuesday's meeting (or before then) once @Crypto2099 can also give it a look: https://hackmd.io/@cip-editors/92

taking off agenda & merging then, since unanimous 🚀


Update for Euler as of 2023

I've updated a bunch of the information pertaining to Euler as it stands in Fall 2023.
Please merge this at your convenience.

ready.


Vaccine demo typescript changes

This PR has been opened to share the changes made to the TypeScript sample test suite -- VaccineDemoShared.ts -- with @fundthmcalculus and @MichaelEdwardBlack.
Note: To understand the context of these changes, you should mkdocs serve the docs locally and then view the walkthrough on this branch. Follow along with the Typescript route.

Let me fix the compile errors. Hang on a moment.


[core] Better hub kwargs management

What does this PR do?
Currently the Hub kwargs are not correctly managed if one passes explicit key word arguments to PeftModel.from_pretrained the model loading fails. This is because some key word arguments are duplicated across the hf_hub_download method and the current kwargs that are passed.
in this PR, I propose to refactor things a bit and make a better kwargs managed of hub-related methods. Note that some arguments such as use_auth_token are not in the hf_hub_download signature, thus needs a special care for handling them.
Encountered this issue while working on https://github.com/huggingface/transformers/pull/24827
cc @pacman100 @BenjaminBossan

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


LAZR json decoding alexanderstreet extraction

So... My university got a subscription to this thing and I've been playing with it to see if youtube-dl could dump it.  I found some information that suggests that it might be using this nonstandard method to serialize json data or something? Anyway... I'll play with this more when I have some free (yeah right) time, but I thought y'all should know about these things anyway. I'll probably actually have the time to play with it in December. One thing, the content is "too long", and it throws a content too short exeception. The content that it downloads is the just the page again ( I diffed the outputs), which suggests that their player requires some data that needs to be scraped out and passed into the request. Idk what that is yet.
http://bazaar.launchpad.net/~lazr-developers/lazr.json/trunk/view/head:/README.txt
E:>youtube-dl.exe -v http://search.alexanderstreet.com/view/work/2725242
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://search.alexanderstreet.com/view/work
/2725242']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 2725242: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2725242: Downloading webpage
[generic] 2725242: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 2 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[debug] Invoking downloader on u'http://search.alexanderstreet.com/view/work/\/
/alexstreet.vo.llnwd.net/o25/muco/1006835xxx/1006835573/1006835573-d
isc001-file001-400kbps-400pixels.m4v?e=1446197306\u0026h=749e220b03ae69f6bc6d43
3f9287e47f'
[download] Destination: A Hard Day's Night _ Alexander Street (1)-u0026h=749e220
b03ae69f6bc6d433f9287e47f.m4v
[download] 348.1% of 8.93KiB at Unknown speed ETA Unknown ETAERROR: content too
short (expected 9142 bytes and served 31824)
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 1597, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1539, in dl
File "youtube_dl\downloader\common.pyo", line 342, in download
File "youtube_dl\downloader\http.pyo", line 238, in real_download
ContentTooShortError
E:>youtube-dl.exe -j http://search.alexanderstreet.com/view/work/2725242
WARNING: Falling back on generic information extractor.
{"display_id": "u0026h=749e220b03ae69f6bc6d433f9287e47f", "extractor": "generic"
, "format": "0 - unknown", "requested_subtitles": null, "uploader": "search.alex
anderstreet.com", "format_id": "0", "playlist_index": 1, "playlist_title": null,
"playlist": null, "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept
-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,applicat
ion/xml;q=0.9,/;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0
) Gecko/20150101 Firefox/20.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0
.7,;q=0.7", "Cookie": "SESS7beeaee852f6adcf8b7816afcd99defe=Sr4F9GJ0otaCiyLhve1
JXLbsQbGgqL5ry6S5dLzYZ20; cookied_customer_id=17"}, "url": "http://search.alexan
derstreet.com/view/work///alexstreet.vo.llnwd.net/o25/muco/1006835xxx
/1006835573/1006835573-disc001-file001-400kbps-400pixels.m4v?e=1446197306\u0
026h=749e220b03ae69f6bc6d433f9287e47f", "extractor_key": "Generic", "title": "A
Hard Day's Night | Alexander Street (1)", "id": "u0026h=749e220b03ae69f6bc6d433f
9287e47f", "playlist_id": null, "ext": "m4v", "webpage_url_basename": "2725242",
"webpage_url": "http://search.alexanderstreet.com/view/work/2725242", "filenam
e": "A Hard Day's Night _ Alexander Street (1)-u0026h=749e220b03ae69f6bc6d433f92
87e47f.m4v", "fulltitle": "A Hard Day's Night | Alexander Street (1)", "age_limi
t": 0, "n_entries": 2}
{"display_id": "u0026h=2cf5527087b04ea40775894be8b092c9", "extractor": "generic"
, "format": "0 - unknown", "requested_subtitles": null, "uploader": "search.alex
anderstreet.com", "format_id": "0", "playlist_index": 2, "playlist_title": null,
"playlist": null, "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept
-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,applicat
ion/xml;q=0.9,/;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0
) Gecko/20150101 Firefox/20.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0
.7,_;q=0.7", "Cookie": "SESS7beeaee852f6adcf8b7816afcd99defe=Sr4F9GJ0otaCiyLhve1
JXLbsQbGgqL5ry6S5dLzYZ20; cookied_customer_id=17"}, "url": "http://search.alexan
derstreet.com/view/work///alexstreet.vo.llnwd.net/o25/muco/1006835xxx
/1006835573/1006835573-disc001-file001-800kbps-640pixels.m4v?e=1446197306\u0
026h=2cf5527087b04ea40775894be8b092c9", "extractor_key": "Generic", "title": "A
Hard Day's Night | Alexander Street (2)", "id": "u0026h=2cf5527087b04ea40775894b
e8b092c9", "playlist_id": null, "ext": "m4v", "webpage_url_basename": "2725242",
"webpage_url": "http://search.alexanderstreet.com/view/work/2725242", "_filenam
e": "A Hard Day's Night _ Alexander Street (2)-u0026h=2cf5527087b04ea40775894be8
b092c9.m4v", "fulltitle": "A Hard Day's Night | Alexander Street (2)", "age_limi
t": 0, "n_entries": 2}
E:>

@kevin-vilbig Did you ever figure this out? I'm trying to sort out the same thing.

I am also interested in this. Has anyone tried playing with this problem?


frontend-plugin-api: no longer require factory for extension overrides

Hey, I just made a Pull Request!
Had a couple of cases now where I just wanted to disable an extension with an override. I think it makes sense to support that without the need to define a factory.
Also snuck in a fix for the tester which was unintentionally enabling extensions.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

I guess there might be a slight corner case of trying to declare a disagreeing output data ref set, and not yet having specified a factory that actually produces that - i wonder what the error messages are going to be like 🤔

@freben ah yep I'll make sure that errors correctly

@freben ended up making a runtime check for overriding output without a factory. A valid reason to do that is very much the edge case and declaring a no-op factory for that seems like a minimal issue. Adding type checks for it proved to be very fragile, at least the methods I tried. We could also do overloads/option union that reflects the runtime check, but that just unnecessarily complicates the types imo.


Regarding help in Session Handling with Burp Intruder and Custom Parameter Handler for Oauth App

My Problem statement : This is what I need and configured so far

After my Intruder requests starts getting HTTP/1.1 Unauthorized I have configured a Rule 1 with Rule Actions : Check session is valid
Under Check session is valid I have

Added a Macro to validate session ---> In this have added the PUT request I use in the Intruder
Under Inspect response to determine session validity ---> In this have checked Locations : HTTP headers and Response body : to Look for expression
401 Unauthorized
Now checked if seesion is invalid, perform action below ---> Here I select Run a macro
I have added a macro POST request with username and password to authenticate to the application

Now my problem is how to retrieve the access token send through the above POST response and use the token in the Authorization : Bearer "access-token should be placed here" in this format in the subsequent PUT request in the Intruder when 401 Unauthorized is seen during the attack.

I have Customer Parameter Handler installed and would need steps on how to include and configure CPH when "After running the macro ,invoke a Burp extension action handler " is checked

@santokri,
Have you explored the following example?
https://github.com/elespike/burp-cph/wiki/07.-Extracting-replace-value-from-final-macro-response
It's analogous to what you're trying to achieve, if I understand your scenario correctly.


View metadata next to a document in sequence labeling

Hi guys! The idea of adding metadata to a document and keeping it while exporting is great. Sometimes though, a quick glance at these metadata while working on a document would be just a game changer. I recommend adding button "Peek metadata".  Would you consider adding such feature in next releases?
Thank you :-)

In my opinion this is a great suggestion. The "peek metadata" feature will be especially useful for annotation projects where the source of the text may be diverse (e.g. text extracted from DOCX or PDF, text extracted from images via OCR, etc.) so that the annotated text can be linked back to the source.
I've implemented this in #200 using a modal like we already have in use for the annotation guideline. I'm struggling a bit to find a good icon to represent the concept of metadata though. Does anyone have suggestions for which icon to use? For reference, here is the list of all the icons that should be available to doccano: https://fontawesome.com/icons?d=gallery&m=free


Health Monitor report 'Connection Failed' when bosh-lite director is deployed with UAA

We had a working deployment without the uaa using these ops-files:
bosh2 create-env   \
  --vars-store ~/workspace/bosh-deployment/bosh-vars.yml   \
  --state ~/workspace/bosh-deployment/bosh-state.json   \
  -o ~/workspace/bosh-deployment/gcp/cpi.yml   \
  -o ~/workspace/bosh-deployment/bosh-lite.yml   \
  -o ~/workspace/bosh-deployment/gcp/bosh-lite-vm-type.yml   \
  -o ~/workspace/bosh-deployment/jumpbox-user.yml   \
  -o ~/workspace/bosh-deployment/bosh-lite-runc.yml   \
  -o ~/workspace/bosh-deployment/external-ip-not-recommended.yml   \
  ~/workspace/bosh-deployment/bosh.yml

We then added the uaa ops-file (and the external-ip-not-recommended-uaa.yml)
bosh2 create-env   \
  --vars-store ~/workspace/bosh-deployment/bosh-vars.yml   \
  --state ~/workspace/bosh-deployment/bosh-state.json   \
  -o ~/workspace/bosh-deployment/gcp/cpi.yml   \
  -o ~/workspace/bosh-deployment/bosh-lite.yml   \
  -o ~/workspace/bosh-deployment/gcp/bosh-lite-vm-type.yml   \
  -o ~/workspace/bosh-deployment/jumpbox-user.yml   \
  -o ~/workspace/bosh-deployment/bosh-lite-runc.yml   \
  -o ~/workspace/bosh-deployment/uaa.yml \
  -o ~/workspace/bosh-deployment/external-ip-not-recommended.yml   \
  -o ~/workspace/bosh-deployment/external-ip-not-recommended-uaa.yml   \
  ~/workspace/bosh-deployment/bosh.yml

Here is the monit summary:
Process 'nats'                      running
Process 'postgres'                  running
Process 'blobstore_nginx'           running
Process 'director'                  running
Process 'worker_1'                  running
Process 'worker_2'                  running
Process 'worker_3'                  running
Process 'worker_4'                  running
Process 'director_scheduler'        running
Process 'director_nginx'            running
Process 'health_monitor'            Connection failed
Process 'warden_cpi'                running
Process 'garden'                    running
Process 'uaa'                       running
System 'system_localhost'           running

Both /var/vcap/sys/log/health_monitor/health_monitor.stderr.log and /var/vcap/sys/log/health_monitor/health_monitor.stdout.log are empty:
bosh/0:/home/jumpbox# ll /var/vcap/sys/log/health_monitor/
total 128
drwxr-xr-x  2 vcap vcap   4096 Jun 15 13:39 ./
drwxr-x--- 14 root vcap   4096 Jun 15 13:39 ../
-rw-r--r--  1 vcap vcap 112096 Jun 15 15:03 health_monitor.log
-rw-r--r--  1 vcap vcap      0 Jun 15 14:15 health_monitor.stderr.log
-rw-r--r--  1 vcap vcap      0 Jun 15 13:39 health_monitor.stdout.log

Here is a dump of the health_monitor.log:
I, [2017-06-15T15:03:12.373508 #13734]  INFO : HealthMonitor starting...
I, [2017-06-15T15:03:12.375070 #13734]  INFO : Logging delivery agent is running...
I, [2017-06-15T15:03:12.375455 #13734]  INFO : Event logger is running...
I, [2017-06-15T15:03:12.376172 #13734]  INFO : HTTP server is starting on port 25923...
I, [2017-06-15T15:03:12.405311 #13734]  INFO : BOSH HealthMonitor 0.0.0 is running...
I, [2017-06-15T15:03:12.407186 #13734]  INFO : Connected to NATS at 'nats://<IP_ADDRESS>:4222'

The above pattern repeats itself.
We noticed that the pid is always out of sync with the health_monitor.pidfile. Coupled with the fact that the health_monitor stderr and stdout logs are empty, we think that this points to an issue with the ctl script.
Any help would be much appreciated.

Bump

Can you verify the firewall to ensure the director's external IP is allowed to access its own external IP (if, for example, you were restricting the director so only office IPs could access it)?

Thanks for the reply @dpb587-pivotal, the director is able to access its own external IP. To verify that this is true I tried to access the bosh director via the bosh-cli on the bosh director VM using the external IP address and I was able to communicate with the bosh director.

We managed to resolve the issue. When we ran the terraform and setup the networks it doesn't add the uaa port to the firewall, we had to manually add that to the firewall for it to succeed.


Allow configuring the default click action

DiffEngineTray Version: 6.7.0+9fa4bef3082fd2ad6f7896f4a3f200b403bae808
OS: Microsoft Windows NT 10.0.19043.0

Would it be possible to configure the default click action for items in the diff engine tray? Currently it requires a lot of clicking and fine mouse work:

Right click the tray icon
Click the drop down next to the item. 9 times out of 10 (or at least if feels like it) this opens the drop down the other side of the window
Carefully move the mouse to the drop down, making sure to not stray off the item, otherwise the drop down will close
Click "Open diff tool"

agreed. the existing behavior is horrible.
i just released 6.8.3-beta.1 that has no default action, and any click will drop down for the other options.
can u have a try and tell me what u think?

Very nice, just given it a try and it makes it way easier! Appreciate it 🙂
The only slight annoyance now is that the drop down sometimes opens on the right, and sometimes on the left. I wonder if it would be possible to force this to be consistent (e.g. left hand size when taskbar is docked to the bottom, right hand side when docked to the left? I realise that may not be doable, just wondering 🙂

can u try 6.8.3-beta.2

Oops, sorry, missed that one - looks good to me, I've updated to latest 🙂 Thanks again!

@andrewlock no worries. thanks for the prompting to find a better solution


Add coverage for prvAddNewTaskToReadyList and vTaskCoreAffinitySet.

Add coverage tests for the functions mentioned in the title.
Add a subdirectory task_creation_covg to FreeRTOS/Test/CMock/smp/ and update the Makefile to include it in the list of test suites.
Note that one test, test_create_more_tasks_than_there_are_cores() does not currently reach one branch of a for loop. I think the functions static keyword may need to be removed so that a mock function can access it.
Test Steps
From the FreeRTOS/Test/CMock/smp subdirectory run 'make' against the default target followed by running 'make lcovhtml' to generate an HTML coverage report.
Related Issue
TS-24171, TS-24181
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Create new folder only when the FreeRTOSConfig.h file is different
It looks like the task_creation_covg has similar FreeRTOSConfig.h with multiple_priorities_no_timeslice. Suggest we use the same folder and put the test in covg_multiple_priorities_no_timeslice_utest.c.

test_coverage_<API>_<tested behavior>
Example:
test_coverage_xTaskResumeFromISR_resume_lower_priority_suspended_task

The test case naming is different from the test format guideline. Suggest we update the test case naming.

@adam-scislowicz

Please create new different PRs for the new commits. This would help the reviewer focus on the changes. We can also contribute to the project gradually.

https://github.com/chinglee-iot/FreeRTOS/pull/6/commits/09ed1b7d6b80d04a201822124c0ddd1a8268d6f7
https://github.com/chinglee-iot/FreeRTOS/pull/6/commits/72609558b744a8882086c4da30ca63a8f4ee4fc1
https://github.com/chinglee-iot/FreeRTOS/pull/6/commits/e7de660dc0f6554c42e0758ad1854266bcb8a8c8

We agree to use doxygen comment format in the meeting. Suggest we also update the comments section. This can be referenced in the #4 .
printf is used in the test cases. I think they are for debug purpose. Suggest we remove it.
We suggest to use mocks and variables to implement the test cases ( reference #4 ). If there is difficulty we can't use mock or variable, please feedback the problem and we will discuss over it.


Sunsetting Github AoR

Task/Issue URL: https://app.asana.com/0/1174433894299346/1204558888185157/f
Description
This PR adds the changes described in the task above.

New workflows to react to issues created
New workflow for PR opened
Updated Contributing guidelines to reflect we don’t take feature requests

@cmonfortep can you please review this with the latest changes?


QOL: selecting countries to graph

In certain graphs (for example):

Pollutant: PM2.5 Concentration
Region: Europe
Station type(s): all
Data Type: Concentration
There's too many countries graphed to make any sense of the plot on an individual level. Perhaps it would be useful to be able to deselect all countries to include in the dataset except for one?

It seems that this is actually already possible - by single/double clicking the name of the country you can deselect individual countries or select only one. Some sort of legend on the plot describing this feature would be helpful.


Don't newly create .bash_profile

https://github.com/moonrepo/starbase/blob/aa293bafa9094866e0ec030fa82e643c4472b2aa/crates/shell/src/shells/bash.rs#L72-L86
In the initial environment in Ubuntu, there is no .bash_profile.
$ docker run -it --rm ubuntu ls -A /home/ubuntu
.bash_logout  .bashrc  .profile

If there is .bash_profile, .profile will not be read. Ubuntu has set up some initial configurations in .profile.
$ docker run -it --rm ubuntu cat /home/ubuntu/.profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

Other tools that don't use this library add their configurations to .profile (if there's no .bash_profile).
If a tool like Proto tries to create .bash_profile despite the existence of .profile, such configurations will never be loaded anymore.
This bad "specification" discourages us from adopting Proto in Ubuntu or other Debian-based Linux distros.

This seems fair. I'm a bit swamped right now, can you maybe give it a shot? Cool if not.

No worries, I'll try to get around to it soon.


Add support for label formatter

Is there a way to format the label on y axis? Would be great to be able to format the string. It's useful to display currency and other types of data.

The only options at the moment for the labels on the y-axis are:

Property
Description

referenceLineLabelFont
The font to be used for the reference line labels.

referenceLineLabelColor
The colour of the reference line labels.

shouldShowReferenceLineUnits
Whether or not to show the units on the reference lines.

referenceLineUnits
The units that the y-axis is in. This string is used for labels on the reference lines.

referenceLineNumberOfDecimalPlaces
The number of decimal places that should be shown on the reference line labels.

So for example, if you wanted the labels on the y-axis to look something like:
2.0 metres
1.5 metres
1.0 metres
You could use:
graphView.shouldShowReferenceLineUnits = true
graphView.referenceLineUnits = "metres"
graphView.referenceLineNumberOfDecimalPlaces = 1

I think I might change this in the future so that you can provide a closure to customise the label however you want, but for now the above is all that is possible.

I made this #30  before I saw this ticket
@hdoria would using a NSNumberFormatterStyle do what you need?

I think pull request #30 satisfies this. If not feel free to re-open it!


ConversationBufferMemory fails to capture OpenAI functions messages in LLMChain

System Info
Adding memory to a LLMChain with OpenAI functions enabled fails because of AIMessage are generated instead of FunctionMessage
    self.add_message(AIMessage(content=message))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/pas/development/advanced-stack/sandbox/sublime-plugin-maker/venv/lib/python3.11/site-packages/langchain/load/serializable.py", line 74, in __init__
    super().__init__(**kwargs)
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for AIMessage
content
  str type expected (type=type_error.str)

where AIMessage.content is in fact a dict.
Tested version : 0.0.215
Who can help?
@dev2049
@hwchase17
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[X] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction

Create a LLMChain with both functions and memory
Enjoy :)

Expected behavior
When LLMChain is created with functions and memory, generate FunctionMessage and accept dict (or json dumps)

It may be the JsonOutputFunctionsParser that is executed and then provides a dict to the Memory backend (and then failing)

I'm having the same issue working with an Agent with conversational memory and open source models

same issue here. I can't chain in a SequentialChain both a structured_output_chain (openai functions) and another LLMchain with memory because it fails in the same way as explained here.
ValidationError: 1 validation error for AIMessage
content
  str type expected (type=type_error.str)

Encountered a similar issue:
self.messages.append(AIMessage(content=message))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for AIMessage
content
  str type expected (type=type_error.str)

Here's a "solution" (more like a workaround):
Open chat_memory.py in C:\Users\YOURNAME\Programs\Python\Python311\Lib\site-packages\langchain\memory\chat_memory.py and replace this part:
class ChatMessageHistory(BaseModel):
  messages: List[BaseMessage] = Field(default_factory=list)

  def add_user_message(self, message: str) -> None:
      self.messages.append(HumanMessage(content=message))

  def add_ai_message(self, message: str) -> None:
      self.messages.append(AIMessage(content=message))

  def clear(self) -> None:
      self.messages = []

with:
class ChatMessageHistory(BaseModel):
  messages: List[BaseMessage] = Field(default_factory=list)

  def add_user_message(self, message: str) -> None:
      self.messages.append(HumanMessage(content=message))

  def add_ai_message(self, message: str) -> None:
      if not isinstance(message, str):
          message = str(message)
      self.messages.append(AIMessage(content=message))

  def clear(self) -> None:
      self.messages = []

@abdulrahimpds  but this workaround will fail when attempt to reinstall the pkg correct?
the issue appears when i tried to pass an extra variable
results = self.agent_chain.run(input={
"message": message,
"phone_number": phone_number,
})

@ferasawadi The workaround essentially converts any non-string message to a string before adding it to the messages list, which addresses the ValidationError. This alteration in the add_ai_message method ensures that the message is always a string type, thus preventing the error. You're correct that reinstalling the package would overwrite this change, but this modification is just a temporary fix. (Devs should notice this issue and get it fixed ASAP)
In your case, when passing an extra variable (phone_number), you should ensure that the input parameter is a string type to avoid similar issues. You can do so by converting the input parameter to a string as shown:
results = self.agent_chain.run(input=str({
    "message": message,
    "phone_number": phone_number,
}))

This will convert the entire input dictionary to a string, ensuring that the message is a string type as expected by the add_ai_message method.

@ferasawadi For a permanent solution, developers should modify the ChatMessageHistory class to ensure both input and output messages are always converted to string types, preventing the ValidationError. The revised add_user_message and add_ai_message methods should check the message type and convert it to a string if it's not already, as shown below:
class ChatMessageHistory(BaseModel):
  messages: List[BaseMessage] = Field(default_factory=list)

  def add_user_message(self, message: str) -> None:
      if not isinstance(message, str):
          message = str(message)
      self.messages.append(HumanMessage(content=message))

  def add_ai_message(self, message: str) -> None:
      if not isinstance(message, str):
          message = str(message)
      self.messages.append(AIMessage(content=message))

  def clear(self) -> None:
      self.messages = []

This adjustment will handle the ValidationError by ensuring that messages are always of string type, negating the need for manual conversion and addressing the issue at its root.

Getting this error in 0.1.0 as well

I'm experiencing this issue with version langchain==0.1.13 too. How can I fix that? Thank you

This still exists in langchain_0.1.13, as stated above.
The issue is coming all the way from BaseChain or BaseChatMemory, depending on how it's fixed.
The type-hints need to be fixed in both of those classes, since they expect output_str == str, but the output_str comes from a dictionary and could be a compound dictionary (as is the case here), meaning output_str == dict (currently).
Instead of editing source-code that'll be broken by updates, here is a temporary fix using inheritance method override:
class PatchedConversationBufferMemory(ConversationBufferMemory):
    def save_context(self, inputs, outputs) -> None:
        """Save context from this conversation to buffer."""
        input_str, output_str = self._get_input_output(inputs, outputs)
        output_str = output_str if isinstance(output_str, str) else str(output_str) # this line is the temp-fix
        self.chat_memory.add_messages(
            [HumanMessage(content=input_str), AIMessage(content=output_str)]
        )

# so now, instead of creating memory from ConversationBufferMemory, you just use PatchedConversationBufferMemory

I'll see how much work it is to submit a PR for this, but a workaround is above.


[Documentation Update]:  add Sorting Algorithms

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Sorting Algorithms:
such as
bubble-sort.md
quick-sort.md
merge-sort.md
heap-sort.md
Suggested Change
Improve the data in the repo
Rationale
No response
Urgency
High
Acknowledgements

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository
[X] I have read and followed the Contribution Guidelines
[X] I have followed the code style guidelines of this project
[X] I have checked for any existing open issues that my pull request may address
[X] I have ensured that my changes do not break any existing functionality
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently
[X] I have read the resources for guidance listed below
[X] I have not used AI-generated content (e.g., ChatGPT, other AI tools)
[X] I have not used content from existing sites (e.g., text, images)
[X] I have followed all security rules and only shared trusted resources

Can you assign me the issue

Can you assign me the issue


Test and documentation for save/load of external Sidre views.

Summary

This PR is an addition of a test and documentation of the relevant feature.
It does the following (modify list as needed):

Restores a test for serial save/load of Sidre views with external data.  A broken test was present in the code in an #if 0 block.  Here this test is fixed to do the right thing and includes a section to be used as a snippet in the sphinx docs.
Add sphinx documentation of the process required to save and load external views in a way that restores the external state that was saved.

Based on recent conversations I realized that the process to save and load views with external data lacked sufficient documentation, and had no active test code for the serial case (i.e. not using SPIO).  The process takes three steps and is not obvious.  I found the inactive test code and revised it so that it works, and added an explanation to the sphinx docs.

https://axom.readthedocs.io/en/feature-nselliott-external-saveload/axom/sidre/docs/sphinx/file_io.html#file-i-o-using-the-group-class


reduce deps required for 3bot docker image

3bot requires sonic, some lua rocks which is ridiculously slow for starting a 3bot container.
Prepare image that has sonic binary and the required lua libs (if we still need it)

duplicate of https://github.com/threefoldtech/jumpscaleX_core/issues/231


Unexpected token import for symlink (not for relative path)

For my application I create a symlink inside the node_modules so, I dont have to use relative paths for import, and my test looks like
import Dictionary from 'myapp/utils/Dictionary';

describe('Dictionary', () => {

  it('should return the same text if no definition found', () =>{
    const text = 'This is 100% not in the dictionary';
    expect(Dictionary.instant(text)).toEqual(text);
  });
});

Where myapp is the symlink inside the node_modules, using this way I am getting unexpected token import. If I use relative path, like ../../Dictionary everything works fine. Is it a way to achieve that? I am suspecting it has to do with the transformation config but I couldnt figure out.
My settings look like
  "jest": {
    "setupTestFrameworkScriptFile": "./app/src/jest.init.js",
    "verbose": true,
    "testRegex": "(/__tests__/.*|(\\.|/)(jest))\\.jsx?$",
    "moduleFileExtensions": [
      "js",
      "jsx"
    ],
    "automock": false,
    "collectCoverage": true,
    "coverageDirectory": "./coverage",
    "coverageReporters": [
      "json",
      "text",
      "html"
    ],
    "coverageCollector": "jest-babel-istanbul"
  },

You need to adjust transformIgnorePatterns to whitelist those node modules. By default, Jest doesn't transform files in node modules folders.


site support: likeafool

[x] I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Single video: http://www.likeafool.com/video/13799/moose-unexpectedly-gives-birth-to-twins

For someone picking up this issue, I don't have time to but I took a quick look at the way video urls are formed; this appears to work
url = "http://www.likeafool.com/video/13814/this-mom039s-experiment-proves-that-bottled-water-is-not-as-quothealthyquot-as-it-claims".split("/")
video_id = str(url[4])
video_path = str(url[5])
video_short_id = video_id[2:]
video = "http://video.favour.me/{}/{}_{}.mp4".format(video_short_id, video_path, video_id)
print(video)


Multi-Account Management - How

In the features list, there is Multi-Account Management.
How do you use this? I can't see a place to add an additional account details

I think you don't know a lot about python lists...
The ACCCOUNTS variable looks like this with 1 account :
ACCOUNTS = [
    {
        "username": "Your Email",
        "password": "Your Password"
    }
]

So if you want 2 accounts you have just to make this :
ACCOUNTS = [
    {
        "username": "Your Email",
        "password": "Your Password"
    },
    {
        "username": "Your Email 2",
        "password": "Your Password 2"
    }
]

great thanks