Ghost property appended to payload upon submitting fileList component when execute script action is used instead of the default buttons

When a fileList component is rendered within a wizard component or within a dialog form, on submit and you execute a script it appends a ghost property on the payload
Steps to reproduce the behavior:

Go to 'https://function-adminportal-test.shesha.dev/dynamic/TestModule/public-table' or 'https://function-adminportal-test.shesha.dev/dynamic/Boxfusion.SheshaFunctionalTests.Common/Books-Table'
Click on 'Wizard Changes' button/Click on 'Add' button when using the second link
Open developers console
Enter all the details required until the end and click on 'Done' button on step 3
Check the error logged
Actual Results: _&@#GH0ST_fileList1 gets appended on the payload and the ednpoint status code is 400 bad request

Expected behavior
The file list should be rendered successfully

Hi @AlexStepantsov , with the current changes, the issue has been re-introduced again, so I had to re-open the item.

Navigate to this link: https://function-adminportal-test.shesha.dev/dynamic/TestModule/mondayTable-view
Click on 'Custom Execute' button
Open developer console
Enter the details, including attaching a file on the fileList
Afterwards click on 'Save' button
Check the payload and error on response error displaying on
Actual Results: The payload has 'ghost property' and the review complains about the

Expected Results: The endpoint should accept the fileList attached


This page should not list any download link for this program.

It has been so broken since 17.x that every little thing (dragging from object explorer to the editor, changing the active db, simply typing, etc) causes it to go Not Responding for long periods of time, sometimes never coming back and losing the work in progress.
It does this like 2-5 times a day during light use. How has this hot mess been allowed to pass any kind of QA testing? Versions before 17.x didnt have this problem. I'd use them more often but the start menu wont remember that I choose them more often and always serves me a 17 or 18.

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

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dnethi
Microsoft Alias: dinethi

@StingyJack  Thank you for the feedback, we're sorry your experiencing issues.
This issue in particular (referenced here) has been addressed and will be released in the next update.
Please refer to the SQL Server forums for product-related issues.

@msebolt - yeah, yeah, I know its a product issue. (but think of how many of your users you can help by altering the doc in the way that I mentioned =P )

@msebolt - i think part of the problem with this is that there is a Check for Updates menu option that lies like a rug


Supporting documentation

Adding in the documentation changes as identified in #245. The documentation aims to provide a more meaningful, and accessible way for users to get to the GitHub repo's where the package's minified JavaScript files reside. :book:
A few notes:

The proposed changes do not include CDN's, as mentioned in @alaframboise's note.
The proposed changes include updates to both the README.md and Getting Started page.

thanks for this @geospatialem!  i'm going to make a couple tweaks and deploy the updates shortly.

Sounds great, @jgravois!


Changes on Assigning/Reassigning/Unassigning Volunteer to Patient

Proposed Changes

Fixes #9316
Change Assign Button Label accordingly
Give proper Notification message for assigning/unassigning/reassigning volunteer to a patient

Screenshots
https://github.com/user-attachments/assets/ea4ea518-7adc-47d2-bc40-b7557d8afc31
@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

Summary by CodeRabbit
Release Notes

New Features

Added localization support for new keys: "Unassign" and "Reassign Volunteer."

Bug Fixes

Corrected spelling and grammatical errors in existing localization strings.
Enhanced user notifications for volunteer assignment, unassignment, and updates with clear success messages.

Improvements

Updated action button text in the confirmation dialog to reflect the current volunteer assignment status.

@Jacobjeevan please review the changes.


Remove comment outputs with command name

These comment outputs were intended to be used as part of an integration that is no longer going to take place so it is easiest to just remove them.
Resolves #57

LGTM


Add metadata for wine_quality_white

Work in progress.
Add metadata for wine_quality_white.

[x] Update the information on the dataset's metadata.yaml file.

[x] Verify the source for the dataset: Check here.

There are a few rows in the original source that is not in the dataset, all with NaN target (see here). However, there are still rows with NaN target remain in the pmlb dataset. @weixuanfu @lacava any idea why?
In general, I suspect a lot of other checks will be similar as well (minor differences between the dataframes). What should we do in these cases? Would eyeballing be efficient?

@weixuanfu Since we agree on adding the rows back in, could you help me do that so we can merge, please? 🙏

I will do that next week with adding an parameter (maybe called 'allow_na') in fetch_data to control it to export dataframe with or without NAs.

I will do that next week with adding an parameter (maybe called 'allow_na') in fetch_data to control it to export dataframe with or without NAs.

I like this idea!


How to query by GUID field

For example
public class Test
{
public Guid Key {get; set;}
}
Test test = new Test() { Key = new Guid("1eb2c168-ea2c-4692-b492-1309671c093a") }
I've tried to query the collection using the expression $.Key = '1eb2c168-ea2c-4692-b492-1309671c093a' but this returns no records.
Is there a special syntax required to query GUID columns?
Thanks

@sysmirror $.Key = GUID('1eb2c168-ea2c-4692-b492-1309671c093b') should work.

@sysmirror $.Key = GUID('1eb2c168-ea2c-4692-b492-1309671c093b') should work.

That worked. Thanks


Typing error in lab 6.2 - business process flow stages

Module: 6
Lab/Demo: 6.2 / exercise 2
Task: 2.1
Step: 16
Description of issue:
The lab instructs you to go to the "resolve stage", however it should say "rejected stage" for the exercise to be completed correctly.

Pull request 166 https://github.com/MicrosoftLearning/PL-200-Power-Platform-Functional-Consultant/pull/166 fixes this

Corrected in recent updates.


Mobile Indicator

if b1nzy doesn't correct himself in 15 minutes we're legally allowed to merge this

Discord won't be supporting this.


config: add init fetch timeout stat

Description: Adds a stat for init fetch timeout
Risk Level: Low
Testing: Added
Docs Changes: Updated
Release Notes: Added

@mattklein123  can you PTAL?

@mattklein123 changed to xds subscription, clarified what subscription with cross reference. PTAL.
Regarding, docs on a bunch of other xDS APIs , yeah it seems we are missing these stats docs for many xDS apis.


Migrate from python3.8 to python3.11

Curious to see if this gives us a speed bump based on what's been said about 3.11 :+1:


52 Add more key requirements in bundle configs

Fixes #52 .
Description
This PR adds the following requirements for bundles and modify the existing bundles if they do not meet the new requirements:

suggest to use the key output_dir if having output files.
require to have dataset_dir in train config.
require to have handlers if train config has train and/or validate sections.

Status
Ready
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build


I want to implement such an effect about wearing a set of +10 or higher equipments.

I want to implement such an effect that when the character wears a set of +10 or higher equipments, they can get an additional 5%~30% of defense, just like the official does.
But I haven't found a good way to write the code at the moment, the current Attribute System doesn't seem to support this feature easily, do you have any good suggestion?
Thank you.

I thought that it would work already - I'll check it soon.
AFAIK, it should work by defining item set groups.

It doesn't seem appropriate to use Item Set Group to do this. At least three reasons:

Each set of equipments has to define a Set Group Definition individually (as each Set Group Definition needs associate a set of items), which leads to a lot of work and data redundancy.
Mixing cases that cannot be handled well, such as one +10 helm and four +11 other parts, should be treated as a +10 set. This logic is not well defined by Item Set Group.
For the same set of equipments, such as Plate, the Magic Gladiator does not need a helm, while the Dark Knight needs all 5 parts to function.

I've done this in a hardcoded way —— which is the only way I can think of at the moment.
I'm not very satisfied, although it works well during testing.

Each set of equipments has to define a Set Group Definition individually (as each Set Group Definition needs associate a set of items), which leads to a lot of work and data redundancy.

I found this code here: https://github.com/MUnique/OpenMU/blob/01572855ccb731540b13365a9ce8efdab2354243/src/Persistence/Initialization/Items/ArmorInitializerBase.cs#L53
I think the issue here is, that the created objects are not appended to the GameConfiguration, and therefore not loaded and not effective.
However, I agree, that it's a lot of redundant data at first sight - need to test if that has some negative impact.

Mixing cases that cannot be handled well, such as one +10 helm and four +11 other parts, should be treated as a +10 set. This logic is not well defined by Item Set Group.

I think mixing these items is not a problem. It's handled in the ItemPowerUpFactory.GetSetPowerUps.
There are also some unit tests for that.

For the same set of equipments, such as Plate, the Magic Gladiator does not need a helm, while the Dark Knight needs all 5 parts to function.

Yes, that's correct. When equipping a Plate set, a Magic Gadiator cannot get the defense bonus - that's also the case in the original server. However, MG sets don't include a helm and will be seen as complete even without wearing a helm.

Very helpful. Thank you so much. :)
I'll try it next.

I fixed it, thanks for reporting :)


Braceless object after catch/when/for etc.

$ coffee -bsp
try f() catch e
  k: v
Error: Parse error on line 1: Unexpected 'CALL_START'

Unfortunately, I'm pretty sure these are all correct -- in each case, you're writing an implicit call ... and therefore the control statement has no body.
while foo
  k: v

... look ok, but is really:
while foo({
  k: v
})

which would give you the same "unexpected terminator".

Unfortunately, I'm pretty sure these are all correct -- in each case, you're writing an implicit call ... and therefore the control statement has no body.

So the wrong case here is actually if:
$ bin/coffee -bcs
  if f
    k: v

if (f) {
  ({
    k: v
  });
}

which should yield the same error as the while case. Edited the title and reopening.


fix(components): update attribute tabs style

:tada: This PR is included in version 2.1.0-alpha.6 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0-alpha.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Provide access to resave session config

Without setting resave = true, connect-redis is not updating session TTL, so active users experience session timeout.

I provided access to resave, rolling and saveUninitialized in https://github.com/iaincollins/next-auth/pull/23


Fix invisible indentation with tabs in the document

Fix invisible indentation with tabs, though it really affects nothing.

Thank you!


Fix release cycles for fluentd and fluentbit images manually.

What this PR does / why we need it:
https://github.com/fluent/fluent-operator/issues/1178
https://github.com/fluent/fluent-operator/pull/1079

Current Github workflows are following the same release cycle.
We have three different images fluent-bit, fluent-operator and fluentd, but these are on different release cycle and following same tag doesn't apply. Also we don't want to fallback on the make files again.
So instead of creating the images using tags, it asks for a input of what release number to follow and then docker image tags are build likewise.

Links to workflow runs:

Fluent Operator released on tag: https://github.com/sarathchandra24/fluent-operator/actions/runs/9248567473
Fluent Operator released on master: https://github.com/sarathchandra24/fluent-operator/actions/runs/9248514441
Fluent Bit released manually by specifying tag as input for workflow: https://github.com/sarathchandra24/fluent-operator/actions/runs/9248457484
Fluentd released manually by specifying tag as input for workflow: https://github.com/sarathchandra24/fluent-operator/actions/runs/9248735165

How to trigger manually

Which issue(s) this PR fixes:

Fixes #1178
Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

That's terrific, thank you!

Fluentd image build successful for tag 1.15.3: https://github.com/fluent/fluent-operator/actions/runs/9262668827
Fluent Bit image build successful for tag 3.0.4: https://github.com/fluent/fluent-operator/actions/runs/9262666460

Yes as per semver thing it is expected, but I can remove it if required. So when ever we release a x.y.z it will also tag x.y to x.y.z. it is controlled over here https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fb-image.yaml#L126-L129 and https://github.com/fluent/fluent-operator/blob/master/.github/workflows/build-fb-image.yaml#L65-L68. I think it's ok to have it, but if you want me to remove it I can raise a PR for it.

I think it's ok to have it, but if you want me to remove it I can raise a PR for it.

it's ok to keep it, thank you!


[Discussion] Quality Affected

I really liked the result of this tool, but there is something that bothers me and I hope the developers may be fixing it in the future.
I noticed that in the final file, the frequencies are cut in the spectrogram, which means a loss of quality in the audio, making it more muffled. I hope if possible this will be fixed and it managed to maintain the lossless quality of the file .. this would make the tool excellent!!
Original file:

Final file:

Hi
This issue having been raised multiple times, I've added an entry to the FAQ section about it.

Hi
This issue having been raised multiple times, I've added an entry to the FAQ section about it.

Thanks! I changed the info and the full spectrum was keep, so worked! But well... I hope they will soon the models be trained and groomed to work at frequencies above 11kHz, and this tool will be perfect!!


struct *::cookie: Make *mut c_voids into Option<NonNull<c_void>>s

This helps simplify some upcoming changes for Send + Sync safety.

I'd like to see the changes this facilitates before reviewing. It looks fine I'm just not sure what this is for. I'm sure it'll make sense with the other PR(s) on top.

This is ok, I haven't thoroughly looked at what it enables.

It just makes #1312 a bit easier, and so I don't have to specify all of the nullability stuff in the safety docs every time.


Compiled Flutter Desktop Windows App Starts Minimized on Windows 7

Steps to Reproduce

Run flutter create bug.
https://github.com/google/flutter-desktop-embedding.git
run example app demo
Update the files as follows:
window_configuration.h

const unsigned int kFlutterWindowOriginX = 0;
const unsigned int kFlutterWindowOriginY = 0;
const unsigned int kFlutterWindowWidth = 1200;
const unsigned int kFlutterWindowHeight = 768;

...
Copy  build\windows\x64\Debug\Runner\ folder to win7 pc
Copy dlls dependecys to app folder
DebugDllEmbedding
Run the App

Expected results:
Main window definitions in window_configuration.h
Actual results:

Logs

Nothing

Analyzing example...
No issues found! (ran in 12.2s)

[√] Flutter (Channel master, v1.15.3-pre.37, on Microsoft Windows [versÃ£o 10.0.18363.657], locale pt-BR)
    • Flutter version 1.15.3-pre.37 at D:\flutter
    • Framework revision 6dc3bfaa98 (12 days ago), 2020-02-07 18:28:02 -0800
    • Engine revision 6158f03ef5
    • Dart version 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Program Files (x86)\Android\android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Program Files (x86)\Android\android-sdk
    • Java binary at: C:\Program Files\Java\jdk1.8.0_161\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.4.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.4.29806.167

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[√] VS Code, 64-bit edition (version 1.42.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (1 available)
    • Windows • Windows • windows-x64 • Microsoft Windows [versÃ£o 10.0.18363.657]

! Doctor found issues in 1 category.

What is the scale_factor computed here when running on that machine? (You'll need to add logging, and then re-run.)
I'm wondering if we're somehow getting zero, and thus trying to make a zero-size window.

I just tried running the app and it works for me on Windows 7
[√] Flutter (Channel master, v1.14.7-pre.320, on Microsoft Windows [Version 6.1.7601], locale en-US)
    • Flutter version 1.14.7-pre.320 at C:\Users\Admin\Developer\flutter
    • Framework revision 52ee8a6c65 (24 minutes ago), 2020-02-20 10:28:49 -0800
    • Engine revision f2f8c342be
    • Dart version 2.8.0 (build 2.8.0-dev.9.0 0f141be8bd)

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.4.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.4.29709.97

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] VS Code (version 1.41.1)
    • VS Code at C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Windows • Windows • windows-x64 • Microsoft Windows [Version 6.1.7601]

From your flutter doctor output, it seems like you are using windows 10?

Yes, I'm developing and compiling on windows 10.

My Flutter version 1.15.3-pre.37 its different from yours.

I missed this in your original output, sorry. This predates the last DPI fixes, so it's expected to be broken on Windows 7.
Please always use the latest master of both Flutter and FDE when filing bugs about Windows at this stage.


Installation fails with error 'path' argument must be of type string

Apologies if I am missing something obvious, but I can't seem to get the module to install. I went into the 'configuration and setup' section of Foundry and pasted the json url (https://github.com/MrPrimate/ddb-importer/releases/download/2.9.42/module.json ) into the 'Manifest URL' field. When I click 'install' it fails with the error 'Installation failed. The path argument must be of type string. Received undefined'.
I'm not sure what I'm missing here. Am I not using the correct URL?

Never mind. I was simply trying to import the wrong type of module.


Customize table header style and td style

Hello,
I want to reduce the font-size for the header and also reduce the height of each cell (td).
For Example, I updated tbody tr height:
.fc-basic-view .fc-body .fc-row {
min-height: 2em !important;
}
which is not reflecting.
Please tell me how to customize all the classes.

Into what css sheet are you adding the styles? Angular enforces scope on css to the associated component. So in the stackblitz example, the app.component.css wont apply to the html generated inside  because they are children in the ng-calendar scope.  If ng-calendar does not accept a style input, you could try global styles or the deprecated ng-deep.  https://angular.io/guide/component-styles

this issue deprecated.
<EMAIL_ADDRESS>released without Jquery,
try use<EMAIL_ADDRESS>with fulcalendar plugins


netflix clone

Title and Issue number

Title: Change the Netflix clone project
Issue No. : #949
Code Stack :  HTML,CSS
Close #949

Video (mandatory)

Uploading netflix.mp4…
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[x] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor

can i  again raise the pr


Activate Titlebar LAlt+letter

I really enjoy using the left alt on my pc(windows/linux) to open menu items in windows.
Is there a feasible way to get this to work?
Right now I have alt+space assigned to highlight the apple menu bar but ideally I would like to make it so that alt+letter automatically triggers "alt+space" "letter" "Enter"
I'm fairly certain the answer is yes but I haven't had enough time to mess with this yet.

@clemsam I would be interested to see your set up possibly.
Certainly sounds interesting.

Hi, limeb, I post my example for "Tags…".
A similar example for (e.g.) "Edit" would need one more line {"key_code": "right_arrow"} plus an alternative for "t" according to the item – BUT maybe you only want to roll down menus and pick items "manually" by 1st-letters?
In that case you would not need the "t"- and "return_or_enter"-part at all.
For "View" you'd need 4 lines of "right_arrow", 5 lines for "Go" and so on.
Which means: copy the entire "manipulator" (>  { "conditions":  … "basic"}, ), append it to the last one etc.
The whole menu-roll-down happens so fast, you won't notice any delay.
|   |  Finder  |  File  |  Edit  |  View | Go | Window | Help
|
| . . | . . . . . .|Tags |
{ "title": "Finder … ''Tags…''",
   "rules": [
      { "description": "Finder:  ''Tags…'' ",
        "manipulators": [
                { "conditions": [
                            { "bundle_identifiers": [
                                    "^com.apple.finder" ],
                            "type": "frontmost_application_if" }
                                ],
                  "from": { "key_code": "t",
                            "modifiers": {
                                "mandatory": ["left_option"] }
                          },
                    "to": [ { "key_code": "f2",
                              "modifiers": ["left_control"] },
                            { "key_code": "right_arrow"},
                            { "key_code": "right_arrow"},
                            { "key_code": "down_arrow"},
                            { "key_code": "t"},
                            { "key_code": "return_or_enter"}
                        ],
                  "type": "basic"
 }    ]    }    ]    }


[main] Upgrade to latest dependencies

release -dprotaso
/cc knative/serving-writers knative/eventing-writers
/assign knative/serving-writers knative/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack e9a8475...d35c718:
  > d35c718 [release-1.7] go run... (# 211)

/lgtm
/approve


Simplify the L_RAISE block

The current flow of the L_RAISE block is as follows:
flowchart LR

raise((raise))
raise --> citop{"top of call info?"}

citop -- YES --> chftop{"no catch handler?"}
citop -- NO --> chf{"no catch handler?"}

chftop -- YES --> fiber{"root of fiber?"}
chftop -- NO --> vmexec((vmexec))

fiber -- YES --> vmstop((vmstop))
fiber -- NO --> fswitch["switch fiber"]
fswitch --> citop

chf -- YES --> cipop["cipop"]
chf -- NO --> vmexec((vmexec))
cipop --> citop

This patch makes the catch handler search first:
flowchart LR

raise((raise))
raise --> chf{"no catch handler?"}

chf -- NO --> vmexec((vmexec))
chf -- YES --> citop{"top of call info?"}

citop -- YES --> fiber{"root of fiber?"}
citop -- NO --> cipop["cipop"]
cipop --> chf

fiber -- YES --> vmstop((vmstop))
fiber -- NO --> fswitch["switch fiber"]
fswitch --> chf

It is easier to understand the changes if you check with git diff -w.
https://github.com/mruby/mruby/pull/5843/files?w=1

After this PR, we are considering moving the L_RAISE block.
Current candidates will be either of the following:
https://github.com/mruby/mruby/blob/4371b736b7dadad7366c14b4cb5e53292d057713/src/vm.c#L1356-L1362
or
https://github.com/mruby/mruby/blob/4371b736b7dadad7366c14b4cb5e53292d057713/src/vm.c#L1705-L1716

PS: The move targets the L_BREAK block as well.

If you want to move L_MOVE, I prefer L1713.

This PR was motivated by an attempt to move the L_RAISE block out of the instruction dispatch.
So I have not yet benchmarked it when the move is to OP_RAISEIF.
For reference, when I moved it into L1356, there seemed to be little performance impact, for better or worse.
There is also an attempt to replace struct RBreak::proc with ci-index.
I will be moving the L_RAISE / L_BREAK blocks as I see how it goes with this one.
After those, I would like to reduce some CHECKPOINT_MAIN().
# :black_cat: Currently, this test does not succeed.......
If these work, the outlook for OP_RETURN should be a bit better.

So should I wait til you move L_RAISE, or just merge this PR?


GraphQL type AppServerInfo#name rename and redefine.

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Bug
AppServerInfo#name is ambiguity, and the value in current implementation is applicationCode + ipv4, which is meanless, and even is required, it should be built in frontend.
So I proposal to rename field name to osName in type AppServerInfo.

Backend has done by #1006
@hanahmily Still need you to fix frondend, and update submodule.

Frontend has been fixed by https://github.com/apache/incubator-skywalking-ui/pull/154
Closing. Thanks @candyleer


Refactor receiveCaptured to use an iterator and insert so I don't have to call sort

We can do this instead in O(1) time. Do this by in driver, if destPiece != nullptr, that means we have captured a piece. If so, call sendCaptured with the destpiece val, otherwise, call sendCaptured with 0. Then in receiveCaptured we would only ever read in a single value, then just add that to the list if not 0 and sort. This does mean we would be required to sort every time.


solve kar do

The Composer installer script was not successful [exit code 1].
OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Authority file(s) on your system, which may be out of date.
Certificate location [from openssl.cafile ini setting]:
C:\xampp\php\cacert.pem
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Script Output:
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed

You need to update your certificate bundle at C:\xampp\php\cacert.pem
Or you can just comment out the openssl.cafile setting in your ini file, which allows the default certificate bundle to be used.


OwnsOne throws 'Unable to determine the relationship represented by navigation property'

The modelBuilder(p => { p.OwnsOne(x => x.EnderecoResidencial)}) was working great.
EnderecoResidencial class is a Value Object.
I did the Add-Migration command and it generates the expected files to run with Upgrade-Database.
But when I checked the file, I noted that I forget some configurations. So I came back to my modelBuilder and added what was needed.
The part that was missing was on another entity's modelBuilder. But suddenly the .OwnsOne mentioned before starts to throw:

System.InvalidOperationException: Unable to determine the relationship represented by navigation property 'Usuario.EnderecoResidencial' of type 'Endereco'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
   at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.PropertyMappingValidationConvention.Apply(InternalModelBuilder modelBuilder)
   at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.ImmediateConventionScope.OnModelBuilt(InternalModelBuilder modelBuilder)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel()
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider()
   at Microsoft.EntityFrameworkCore.Internal.InternalAccessorExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Unable to determine the relationship represented by navigation property 'Usuario.EnderecoResidencial' of type 'Endereco'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

I have pushed both on Git here: https://github.com/digogid/eStore.Sample/
Master branch will work, but it isn't complete. Ownsone-error will throw exception but it is what I really need to do.

@digogid It looks like there are two classes called "Usuario" and two classes called "Endereco", one in the "PedidoContext" namespace and one in the "UsuarioContext" namespace. The one in the "UsuarioContext" namespace uses OwnsOne and seems to be working fine. The one in "PedidoContext" is not explicitly configured and EF cannot figure out the relationship by convention. This can be fixed by adding an explicit call to configure it--for example:
modelBuilder.Entity<Domain.PedidoContext.Usuario>(p =>
{
    p.OwnsOne(x => x.EnderecoResidencial, o =>
    {
        o.OwnsOne(c => c.Cidade);
    });
});

However, this then reveals further errors related to the mapping of owned types. For example, because Pagamento and Pedio are setup as owned they will gave a 1:1 mapping using their PK values and there will be one PK column in the table. But then, this code:
p.OwnsOne(x => x.Pedido, o =>
{
    o.Property(x => x.Id).HasColumnName("PedidoId");
});

attempts to map the PK column on the owned type to a different PK column than the owner. This is the point where I'm not sure what you intention is, but removing these namings makes the model build.

Hello @ajcvickers , in this piece of code I am trying to add a FK to of PedidoId inside my Pagamento table. So, as I am seeing, that not the right way to do it. Maybe I misunderstood some EF concepts.
I'll try again in another way. Thanks for your support.


Ask coin

Token Name: Permission Coin
Token Symbol: ASK
Project Overview:  Permission.io is the leading provider of permission advertising for eCommerce. The company has created the ASK Coin to enable individuals to securely grant permission and monetize their data on Permission.io and third-party e-commerce platforms.  Advertisers reward shoppers with ASK for interacting with brands and content, building consumer loyalty and trust.
Project CEO:
Charles Silver has been building companies and creating liquidity events for shareholders for 30 years. He was an early visionary in the dot com era as founder and CEO of RealAge.com, which was amongst the first companies to use Big Data to connect individuals to advertisers on a permission basis. The company raised capital in the dot com boom, survived the crash by building a profitable business, and was sold very successfully to Hearst for over 9 figures. As an early investor in Permission.io Inc. (formerly Algebraix Data Corp.), Charles recognized the significance of Data Algebra to the entire software field and realized important use cases for the applied math. With the growth of the blockchain and big data industries, a natural application for Data Algebra emerged. ASK and PermissionQE were born, enabling individuals all over the world to own and monetize their data. In addition to founding Permission.io Inc., Mr. Silver is co-founder of LoveStoriesTV, the leading wedding-video platform, and is also co-founder and serves on the Board of Reality Shares (dba Blockforce Capital), an SEC registered investment adviser with five publicly traded ETFs and two cryptocurrency hedge funds.
Project CTO:
Hunter Jensen is responsible for translating strategic company goals into deliverable permission-based products. In addition to his role at Permission, Hunter is the Founder and Chief Executive Officer at Barefoot Solutions, a pioneer in web and mobile application development. Since 2003, Hunter has 39 motivated, directed, and led product teams to release best-in-class web and mobile applications for a wide variety of tech, e-commerce and media companies, including Samsung, Cisco, Salesforce. com, Avalara, Antengo and many more. Well-known for establishing impeccable software development protocols and standards, as well as for designing digital strategies that successfully drive user engagement and ROI, Hunter is a distinguished speaker, author, entrepreneur, and thought leader in the digital world. Hunter graduated with a B.S. in Computer Science from University of Virginia.
email<EMAIL_ADDRESS>Company Website:: https://permission.io/
Foundation Website: https://permissionfoundation.org/
Crunchbase Profile: https://www.crunchbase.com/organization/permission-io
Blockchain Explorer: https://explorer.permission.io/
Whitepaper:  https://cdn.permission.io/about/Permission-Foundation-Technical-Whitepaper.pdf
Messari Profile (Transparency Verified): https://messari.io/asset/permission
Supported Exchanges: Coming September 2020
Media:
https://www.marketwatch.com/press-release/permissionio-empowers-individuals-to-monetize-their-personal-data-take-back-power-and-influence-from-silicon-valley-2020-08-28
https://www.forbes.com/sites/forbestechcouncil/2020/08/11/shift-happens/#5b3bc8957d64
https://web.archive.org/web/20200408085850/https://www.marketwatch.com/press-release/advertising-industry-being-disrupted-by-ask-permission-first-ad-blockchain-2020-02-21
https://www.coindesk.com/messari-disclosures-registry-tops-50-cryptocurrencies-with-10-new-additions
https://www.businesswire.com/news/home/20190925005847/en/Permission.io-Launches-E-Commerce-Marketplace
https://www.crunchbase.com/organization/permission-io
Links:
Medium: https://medium.com/permissionio
Twitter: https://twitter.com/permissionIO
Facebook: https://www.facebook.com/PermissionIO
Telegram: https://t.me/permission_io
Reddit: https://www.reddit.com/r/PermissionIO
LinkedIn: https://www.linkedin.com/company/permission-io/
Gitlab: https://permission.gitlab.io/
Forbes: https://www.forbes.com/sites/forbestechcouncil/people/charlessilver/#3371fea33c9c

非常抱歉，PR不符合要求，请参考教程修改，注意文件名及checksum格式等
https://github.com/consenlabs/token-profile#token-profile-guideline

非常抱歉，由于该PR长时间未更新，我们先关闭这个PR
如果仍需提交，请参考教程重新提交：
https://github.com/consenlabs/token-profile#token-profile-guideline


{ error: 'Invalid signature' }

Getting this error when creating invoice via api on test server

Hi @rahul-0210 we are in the process of rewriting the Node.js SDK, but if you can share replication steps, including Node.js version, SDK version, and a script to replicate your issue, that would be very helpful. Thanks!

Hey @bobbrodie ,
I have one query while using client.GetLedger(Currency.USD,startDate,endDate) with my bitpay setup
It throws some error like this
error: LedgerQueryException { message: "failed to deserialize BitPay server response (Ledger) : Cannot read properties of undefined (reading 'data')", name: 'BITPAY-LEDGER-GET', code: 132, apiCode: '000000' }
Can you guys show me some alternative method of how to get Ledger details?

Hi @kameshdhana I believe that this is off-topic and is better suited for #62. I see you also posted there. We'll check on this. Thanks!

@bobbrodie Thanks

Closing due to age, but we are actively working on and releasing SDKs so please don't hesitate to reach out if this is still something you need. Thank you!


Reduce technical debt

No functional change
Replace deprecated/no-longer-maintained crates with a up-to-date replacement:

structopt -> clap allowing for more validation to be done during arguments passing
failure -> thiserror + anyhow

along with more tests and some refactoring.
this PR has maybe grown too big, and I can split it if needed, although efforts were made for it to be reviewed on a per-commit basis.

General note: I think I would prefer eyre (with color-eyre) over anyhow, but that's not a strong requirement

CI fixed, and previous comments should have been addressed.

General note: I think I would prefer eyre (with color-eyre) over anyhow, but that's not a strong requirement

I am not familiar with the library, from what I see the difference is that it includes spantrace. It will be a bit more noisy but considering our target are developers it should not be an issue. If we're good with leaving it by default, can make the switch.

Thanks!
I went ahead and merged it, since it can stand on its own.
Yea, using spantrace and being more developer focussed is good here, as failures in the tool are likely going to be debugged by users of the tool as you noted. Let's do that in a separate PR tho


[1.2.x] Fix inconsistencies when encoding the multipart body

Purpose

$Subject

Related to : https://github.com/wso2-enterprise/internal-support-ballerina/issues/255

Closing this on behalf of https://github.com/ballerina-platform/ballerina-lang/pull/41044


BUG: after_loading will recursion execute

if anywhere have created catppuccin.after_loading callback, the code below will create a new function then wrapped origin callback.
but this code have a bug, the new callback will recursive execute self, because here not old callback saved.
https://github.com/catppuccin/nvim/blob/773d339cbd307fe218cf7b3ea04eac26b345a3b7/lua/catppuccin/core/integrations/lightspeed.lua#L17-L26
maybe we need closure.
if catppuccin.after_loading ~= nil then
	local callback = catppuccin.after_loading
	catppuccin.after_loading = function ()
		callback()
		require'lightspeed'.init_highlight()
	end
else
	catppuccin.after_loading = function ()
	require'lightspeed'.init_highlight()
end

Closing because of #162


Cupertino localization step 11: add more translation clarifications in the instructions

Description
Add more translation instructions
Related Issues
#13452
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

LGTM.
Do we need similar fixes on the material side?

@Hixie The material date/time picker uses a different set of translations. Their descriptions seem to have been sufficient for the translators.


what‘s the meaning of the ADR ?

in the data/example
"type": "ADR"
could you pls help me ?

run the example got error
python main.py --config ./config/example.json
2023-03-06 16:42:31 - INFO: Epoch: 0
Traceback (most recent call last):
File "/data/W2NER/main.py", line 299, in
trainer.train(i, train_loader)
File "/data/W2NER/main.py", line 75, in train
label_result = torch.cat(label_result)
RuntimeError: torch.cat(): expected a non-empty list of Tensors

ADR means adverse drug reactions, you can find the detailed description in Cadec: A corpus of adverse drug event annotations.
The example is only for demostrating data structure, please replace it with one dataset in this link.


Aws::S3::Errors::InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.

https://sentry.io/uncw/rails/issues/492636982/
Aws::S3::Errors::InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
  app/models/artifact.rb:30:in `upload_to_s3'
    obj.upload_file(upload.path, acl:'public-read')
  app/controllers/artifacts_controller.rb:32:in `block in create'
    if @artifact.save
  app/controllers/artifacts_controller.rb:31:in `create'
    respond_to do |format|
...
(115 additional frame(s) were not displayed)

Aws::S3::Errors::InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.

Apparently there was some sort of error with the way the AWS service was setup. Will need to go back in and fix those issues in the AWS console.

Looks like AWS account was suspended due to some security issue and not replying to their email after dealing with the security issue. I have reached out to their support team to hopefully take care of this issue.


Checkmarx Bot - Auto Pull Request in branch "master"

Checkmarx created this PR to replace vulnerable packages.
You can check the package details in the Files Changed tab

Checkmarx One – Scan Summary & Details – d4066dd8-6c97-4a26-a073-edf3f27e6c32
No New Or Fixed Issues Found


Does react-jss not support using Dynamic Values(or function values) and jss-nested together?

My Example: https://codesandbox.io/s/n0wz3lj5l
This could be my mistake - because I think this should work because it's the one of main features that ReactJss offers - I'm experiencing jss-nested and React-jss' Dynamic Values feature are not working together.
Rules depend on jss-nested are not executed when they're combined together
// props do work well
const styles = {
  "@global": {
    // jss-global works well with Dynamic Values
    body: ({ width }) => ({
      background: width === "xs" ? "lightgray" : "blue"
    }),

    // jss-global works well with jss-nested
    "#root": {
      "&:hover": {
        border: "1px solid red"
      }
    }
  },

  // jss-nested is broken with Dynamic Values
  card: ({ width }) => ({
    padding: theme.spacing.unit * (width === "xs" ? 2 : 3),
    border: "1px solid black",

    "&:hover": {
      border: "1px solid red"
    }
  }),

  // jss-nested works stand-alone
  pureCard: {
    padding: theme.spacing.unit,

    "&:hover": {
      border: "1px solid red"
    }
  }
};

duplicate o https://github.com/cssinjs/jss/issues/682


ViteDevServer use express instead of connect

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

yes

Describe the solution you'd like
A clear and concise description of what you want to happen.

In Webpack DevServer, we often use devServer.before to mount some middlewares like proxy-server or mock-server.
ViteDevServer and the configureServer hook return Connect.Server, which is too simple to use.( e.g. no app.post/get..., not res.json, res.status... ), we cannot reuse most of our tools and packages.

examples:

https://github.com/chrisvfritz/vue-enterprise-boilerplate/blob/master/vue.config.js#L37
https://www.npmjs.com/package/webpack-mock-server

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Can Vite switch to express ? or how to do these(mock) in vite

Additional context
Add any other context or screenshots about the feature request here.

Thanks a lot.

It's not that hard to add a middleware to inject res.json yourself. I don't see a point in making Vite more coupled to a specific framework.


Please port to the new version of  xpath_selector

There is a new major version of  xpath_selector and it conflicts with multiple very popular other packages that depend on the new major version.
When I go flutter pub add xml_crypto I get this error:
Because flutter_native_splash >=2.2.3 depends on xml ^6.1.0 and xpath_selector <3.0.0 depends on xml ^5.3.1, flutter_native_splash >=2.2.3 is incompatible with xpath_selector <3.0.0.
And because every version of xml_crypto depends on xpath_selector ^2.2.4, flutter_native_splash >=2.2.3 is incompatible with xml_crypto.
So, because supabase_studio depends on both flutter_native_splash ^2.2.16 and xml_crypto any, version solving failed.
pub finished with exit code 65

After I removed the flutter_native_splash dependency I got this:
Because flutter_local_notifications >=13.0.0 depends on flutter_local_notifications_linux ^3.0.0 which depends on dbus ^0.7.8, flutter_local_notifications >=13.0.0 requires dbus ^0.7.8.
And because dbus >=0.7.4 depends on xml ^6.1.0, flutter_local_notifications >=13.0.0 requires xml ^6.1.0.
And because every version of xml_crypto depends on xpath_selector ^2.2.4 which depends on xml ^5.3.1, flutter_local_notifications >=13.0.0 is incompatible with xml_crypto.
So, because supabase_studio depends on both flutter_local_notifications ^13.0.0 and xml_crypto any, version solving failed.
pub finished with exit code 65

Hi, since xpath_selector 3.0.1 still depends on xml ^5.3.1, the upcoming new version of xml-crypto still can't solve your dependency issue.
I asked the author to upgrade the dependency too.
In the mean time, you can try dependencies_overrides in pubspec.yaml:
dependencies_overrides:
  xml: ^6.1.0

v3.0.1 released

You rock! I kinda did a quick and dirty port myself a few days ago but I honestly don't understand that ins and outs of this code so this is probably waaay better. :D Thank you so much!


[info] llama.cpp has made an breaking updated to the api within the last two weeks

hey
I had an older git clone of llama cpp and your integration with the llamacpp server was working perfectly.
I cloned the latest version on to a new server but keept getting 'Invalid JSON response error.
RetryError: Failed after 1 attempt(s) with non-retryable error: 'Invalid JSON response'
    at _retryWithExponentialBackoff (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/core/api/retryWithExponentialBackoff.cjs:42:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async LlamaCppTextEmbeddingModel.doEmbedValues (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/model-provider/llamacpp/LlamaCppTextEmbeddingModel.cjs:73:26)
    at async Promise.all (index 1)
    at async generateResponse (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/model-function/embed/embed.cjs:44:31)
    at async runSafe (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/util/runSafe.cjs:6:35)
    at async executeStandardCall (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/model-function/executeStandardCall.cjs:45:20) {
  errors: [
    ApiCallError: Invalid JSON response
        at /mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/core/api/postToApi.cjs:8:15
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        ... 6 lines matching cause stack trace ...
        at async executeStandardCall (/mnt/data/vscode/config/workspace/ai/jsagent/node_modules/modelfusion/model-function/executeStandardCall.cjs:45:20) {
      url: 'http://<IP_ADDRESS>:8080/embedding',
      requestBodyValues: [Object],
      statusCode: 200,
      cause: [ZodError],
      isRetryable: false
    }
  ],
  reason: 'errorNotRetryable'
}

After testing different git commit's of llama.cpp i found that cb33f43a2a9f5a5a5f8d290dd97c625d9ba97a2f was one of the last ones to still work. ( so one of those around that )
I know they have an issue open about implementing a new api, but to me it looks like they have not merged that yet so i hope it's a simple fix, to get this module to handle what ever they changed within the last two weeks ( just "nice to have" since they keep tweaking things and improving it, so would be nice, to be able to use latest version )
For anyone else having issues with that, you can go back to that version with
git checkout cb33f43a2a9f5a5a5f8d290dd97c625d9ba97a2f

@skadefro thanks for letting me know. I'll take a look. I think llama.cpp has also added grammar and image support in their API, so that should be fun to explore.

Ohh, that would be a dream come true ...
If we had an easy to use framework that would support both openai and llama.cpp and whisper.cpp

@skadefro I looked into whisper.cpp a little bit. Do you know if there are any projects that let you spin up whisper.cpp as a server?

For someone who just want a web interface, this have worked fine for me ps://github.com/jhj0517/Whisper-WebUI but i have not found any good api's for hosting it ( there is a few gist's laying around ) but i've seen at least 2 attempts on whisper.cpp's issue tracker and it looks like this one is coming out soon, so that looks promising. I had this one my my to-look-into list, but havent had time yet, but if the issue above turns into the "official" api, i would probably bet on that.
Speaking of new things; I just came across ollama .. for a die hard, docker/kubernetes fan like me, this looks very promising.

@skadefro I just tried out the llama.cpp with ModelFusion and it works for me. Have you started the llama.cpp server, e.g. like this? ./server -m models/llama-2-7b-chat.GGUF.q4_0.bin -c 4096 (you need to have the model available)
If you encounter the error with the llama.cpp server, could you provide more details about your setup?
Re ollama: it's been on my list for a while, just need to get around and add it. It seems simpler to use compared to llama.cpp and could be a good alternative.

Ah, sorry, forgot to mention what endpoint. It is the /embedding endpoint
I'm running with this.
./server -m models/llama-7b/llama-2-7b-chat.Q4_0.gguf -c 2048 --host <IP_ADDRESS>

and testing with this
        const Llamaapi = new LlamaCppApiConfiguration({
            baseUrl: "http://<IP_ADDRESS>:8080"

        });
        const embeddings = await embedMany(new LlamaCppTextEmbeddingModel({
            api: Llamaapi}), [
            "At first, Nox didn't know what to do with the pup.",
            "He keenly observed and absorbed everything around him, from the birds in the sky to the trees in the forest.",
        ]);
        console.log(embeddings);

This fails if server the latest version in master, but works if i checkout a commit that is around 2 weeks old
This still works just fine, on latest version
        const text = await generateText(
            new LlamaCppTextGenerationModel({ api: Llamaapi
            }),
            "Write a short story about a robot learning to love:\n\n"
        );
        console.log(text);

@skadefro just shipped v0.55.0 with Ollama text generation & streaming support: https://github.com/lgrammel/modelfusion/releases/tag/v0.55.0

Wow, that was fast ... Tested and it works :heart_eyes: Thank you very much.

This seems to be a llama.cpp bug. The embedding response it not a JSON response any more. Instead, an error {"content":"slot unavailable"} is returnd in the first response line and the actual embedding in the second response line.
❯ npx ts-node src/model-provider/llamacpp/llamacpp-embed-many-example.ts
{"content":"slot unavailable"}
RetryError: Failed after 1 attempt(s) with non-retryable error: 'Failed to process successful response'
    at _retryWithExponentialBackoff (/Users/lgrammel/repositories/modelfusion/dist/core/api/retryWithExponentialBackoff.cjs:42:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async LlamaCppTextEmbeddingModel.doEmbedValues (/Users/lgrammel/repositories/modelfusion/dist/model-provider/llamacpp/LlamaCppTextEmbeddingModel.cjs:73:26)
    at async Promise.all (index 1)
    at async generateResponse (/Users/lgrammel/repositories/modelfusion/dist/model-function/embed/embed.cjs:44:31)
    at async runSafe (/Users/lgrammel/repositories/modelfusion/dist/util/runSafe.cjs:6:35)
    at async executeStandardCall (/Users/lgrammel/repositories/modelfusion/dist/model-function/executeStandardCall.cjs:45:20)
    at async main (/Users/lgrammel/repositories/modelfusion/examples/basic/src/model-provider/llamacpp/llamacpp-embed-many-example.ts:4:22) {
  errors: [
    ApiCallError: Failed to process successful response
        at postToApi (/Users/lgrammel/repositories/modelfusion/dist/core/api/postToApi.cjs:94:19)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async _retryWithExponentialBackoff (/Users/lgrammel/repositories/modelfusion/dist/core/api/retryWithExponentialBackoff.cjs:18:16)
        ... 3 lines matching cause stack trace ...
        at async runSafe (/Users/lgrammel/repositories/modelfusion/dist/util/runSafe.cjs:6:35)
        at async executeStandardCall (/Users/lgrammel/repositories/modelfusion/dist/model-function/executeStandardCall.cjs:45:20)
        at async main (/Users/lgrammel/repositories/modelfusion/examples/basic/src/model-provider/llamacpp/llamacpp-embed-many-example.ts:4:22) {
      url: 'http://<IP_ADDRESS>:8080/embedding',
      requestBodyValues: [Object],
      statusCode: 200,
      cause: TypeError: Body is unusable
          at specConsumeBody (node:internal/deps/undici/undici:4712:15)
          at _Response.json (node:internal/deps/undici/undici:4614:18)
          at /Users/lgrammel/repositories/modelfusion/dist/core/api/postToApi.cjs:7:66
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
          at async postToApi (/Users/lgrammel/repositories/modelfusion/dist/core/api/postToApi.cjs:82:20)
          at async _retryWithExponentialBackoff (/Users/lgrammel/repositories/modelfusion/dist/core/api/retryWithExponentialBackoff.cjs:18:16)
          at async LlamaCppTextEmbeddingModel.doEmbedValues (/Users/lgrammel/repositories/modelfusion/dist/model-provider/llamacpp/LlamaCppTextEmbeddingModel.cjs:73:26)
          at async Promise.all (index 1)
          at async generateResponse (/Users/lgrammel/repositories/modelfusion/dist/model-function/embed/embed.cjs:44:31)
          at async runSafe (/Users/lgrammel/repositories/modelfusion/dist/util/runSafe.cjs:6:35),
      isRetryable: false
    }
  ],
  reason: 'errorNotRetryable'
}
{"embedding":[0.05569692328572273,-0.020548203960061073,0.27377715706825256,0.4976423382759094,0.16579614579677582,0.04679970443248749,0.19974836707115173,0.2295011579990387,-0.15478861331939697,0.3044094145298004,0.024075830355286598,-0.04952937737107277,0.1346544623374939,0.15864624083042145,-0.15292425453662872,-0.04481641948223114,0.07410169392824173,0.16139250993728638,0.013992399908602238,0.0525520034134388,0.17047853767871857,0.14821892976760864,-0.196890190243721,-0.34336787462234497,-0.03041764535009861,0.09776932001113892,0.2469785362482071,0.15258672833442688,-0.14246588945388794,0.03391014412045479,-0.20064757764339447,0.18357722461223602,-0.03650486096739769,-0.09382735937833786,-0.07598888128995895,-0.03402281180024147,-0.047186095267534256,-0.0483274981379509,-0.14382801949977875,0.17244981229305267,0.055998265743255615,-0.0007336181006394327,

Fix in https://github.com/lgrammel/modelfusion/releases/tag/v0.55.1


MBP half 2015 El Capt problem after restoring backup from MBP with CAT

I've bought a brand new MBP continuity and handoff should work out of the box but it isn't.
I started thinking that the issue could be caused by a full restore from a time machine backup of an old where I used to work with CAT and a Bluetooth dongle.
I made all the sanity check about WIFI, bluetooth etc, my iPad and my iPhone see each other without a problem but my MBP it doesn't seem to see them and vice-versa.
I've tried to uninstall disabling SIP, but It shows me this error.

Verifying SIP...                        OK
Restoring kexts...                      OK. No backups made with the tool were found, using the OS X Recovery Disk backups.
Mounting Recovery HD...                 OK
Reinstalling original Apple drivers...  OK
Applying correct permissions...         OK
Updating kext caches...                 OK
Updating system caches...               OK
Disabling any HCI switch behavior...    OK
Verifying system kexts signatures...    OK. 1 or more unsigned drivers were found. OS kext security protection won't be changed to prevent issues.
Patching ContinuitySupport...           Set: Entry, ":Mac-[hidden]:ContinuitySupport", Does Not Exist
OK.
36:71: execution error: System Events found an error: Impossibile obtain  (-1728)
OK. Automatic continuity check disabled.

I've translated last 2 lines from italian

lol, if you just bought a brand new MBP then you need to uninstall continuity activator and take it to the apple store. They will fix/replace whatever may not be working or troubleshoot it for you for free.

Just reistalled the OS and imported the account

And it worked?

Sure, probably making a full restore from TM restores also kext and stuff, by re-installing and just restoring the account using migration assistant everything worked.

okay great. can you close your issue then for us?


chore: release main

:robot: I have created a release beep boop
0.11.0
0.11.0 (2024-06-23)
Features

add add amqp-messenger (#405) (41baa72)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.11.0
:sunflower:


docs: Add scaling guidelines

Signed-off-by: Giovanni Liva<EMAIL_ADDRESS>

Thank you @StackScribe for the review. Good point about MongoDB 👍  I need to read the docs on Bitnami to provide a more descriptive documentation. I will do this in a follow-up PR


Cant stop ng serve

Please provide the environment you discovered this bug in.
https://stackblitz.com/github/web-dave/analog-project
Which area/package is the issue in?
create-analog
Description
I created the project.
Played with analog js (wich is nice btw) but cant stop ng serve
Please provide the exception or error you saw
cli doen not stop running

Other information
All my Angular v18 projects work fine
I would be willing to submit a PR to fix this issue

[ ] Yes
[X] No

+1

I've noticed this also. Its something to do with the wrapper around the vite builder. Pressing CTRL+C twice stops it.

ctrl+C twice
Doesn't work for me.
even q does not work.

I wonder if we could just add a process.on('SIGINT') and exit the process manually.

This could be due to us wrapping the Nx executors for supporting ng commands. Usually ctrl+c twice works across environments.


Pysnmp will no work with pyasn1 0.5.0 (last release before works fine)

Pysnmp (4.4.12, no change since 2019) will no work with pyasn1 0.5.0. The last release before works fine!
(hil) rohbot@rohbot001:~/ee-python-hil $ /home/rohbot/venvs/hil/bin/python3 /home/rohbot/ee-python-hil/test.py
Traceback (most recent call last):
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/asyncore/dispatch.py", line 46, in runDispatcher
    use_poll=True, map=self.__sockMap, count=1)
  File "/usr/lib/python3.7/asyncore.py", line 207, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python3.7/asyncore.py", line 188, in poll2
    readwrite(obj, flags)
  File "/usr/lib/python3.7/asyncore.py", line 123, in readwrite
    obj.handle_error()
  File "/usr/lib/python3.7/asyncore.py", line 108, in readwrite
    obj.handle_read_event()
  File "/usr/lib/python3.7/asyncore.py", line 422, in handle_read_event
    self.handle_read()
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/asyncore/dgram/base.py", line 170, in handle_read
    self._cbFun(self, transportAddress, incomingMessage)
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rohbot/ee-python-hil/test.py", line 5, in <module>
    mac = ps.getMacAddress()
  File "/home/rohbot/ee-python-hil/TestingSystem/Interface/Brennenstuhl/IF_PowerStripWebLine.py", line 121, in getMacAddress
    ans = quicksnmp.get(self.hostAddress, [oid], hlapi.CommunityData('public'))
  File "/home/rohbot/ee-python-hil/TestingSystem/Interface/Brennenstuhl/quicksnmp.py", line 27, in get
    return fetch(handler, 1)[0]
  File "/home/rohbot/ee-python-hil/TestingSystem/Interface/Brennenstuhl/quicksnmp.py", line 84, in fetch
    bla = next(handler)
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 113, in getCmd
    snmpEngine.transportDispatcher.runDispatcher()
  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/asyncore/dispatch.py", line 50, in runDispatcher
    raise PySnmpError('poll error: %s' % ';'.join(format_exception(*exc_info())))
pysnmp.error.PySnmpError: poll error: Traceback (most recent call last):
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/asyncore/dispatch.py", line 46, in runDispatcher
    use_poll=True, map=self.__sockMap, count=1)
;  File "/usr/lib/python3.7/asyncore.py", line 207, in loop
    poll_fun(timeout, map)
;  File "/usr/lib/python3.7/asyncore.py", line 188, in poll2
    readwrite(obj, flags)
;  File "/usr/lib/python3.7/asyncore.py", line 123, in readwrite
    obj.handle_error()
;  File "/usr/lib/python3.7/asyncore.py", line 108, in readwrite
    obj.handle_read_event()
;  File "/usr/lib/python3.7/asyncore.py", line 422, in handle_read_event
    self.handle_read()
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/asyncore/dgram/base.py", line 170, in handle_read
    self._cbFun(self, transportAddress, incomingMessage)
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
;  File "/home/rohbot/venvs/hil/lib/python3.7/site-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
;TypeError: <lambda>() takes 3 positional arguments but 4 were given
caused by <class 'TypeError'>: <lambda>() takes 3 positional arguments but 4 were given

duplicate of #28


Issue in android 2.3.6 + Chrome

Hello I tried your demo on an old Samsung with android 2.3.6 (I hear a lot of them are still around) and Chrome and there was one major issue: it's impossible to scroll.
Once the menu is open and covers the whole screen and some options get pushed down the screen, swiping the screen down over the menu to reach those below the fold items doesn't work.
It works fine on a new android though.
Other than that, great menu

Thanks for reporting, I will look into this! :)

I don't have any device to test this out, but this might do the trick for older Android phones:
http://stackoverflow.com/questions/16493724/overflow-auto-doesnt-work-in-android-browser
They reference this polyfill:
https://github.com/filamentgroup/Overthrow/


Model Builder generated code should be free of warnings and other errors.

System Information (please complete the following information):

Model Builder Version:
Visual Studio Version 2017

Describe the bug
I am trying to consume model created by model builder into windows application project
in .netFramework 4.6.1
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

If [applicable, add screenshots to help explain your problem.]( @URL)
Additional  #context
Add any other context about the problem here.

Should we fix this after we take over CLI, It should be Code Generator's problem.

I'd go ahead and check in a PR to the AutoML feature branch -- https://github.com/dotnet/machinelearning/tree/features/automl

It can't be reproduced on my laptop and my workstation (before it crashed) for VS 2019, VS 2019 preview and VS 2017. Let's just close that and reopen it if need


Update Dependencies

Description
Source: https://github.com/mono/skia/blob/xamarin-mobile-bindings/DEPS

[ ] "third_party/externals/angle2"
[ ] "third_party/externals/dng_sdk"
[ ] "third_party/externals/expat" (see also #405)
[x] "third_party/externals/freetype"
[ ] "third_party/externals/googletest"
[ ] "third_party/externals/harfbuzz"
[ ] "third_party/externals/icu"
[ ] "third_party/externals/imgui"
[ ] "third_party/externals/jsoncpp"
[ ] "third_party/externals/libjpeg-turbo"
[ ] "third_party/externals/libpng"
[ ] "third_party/externals/libwebp"
[ ] "third_party/externals/lua"
[ ] "third_party/externals/microhttpd"
[ ] "third_party/externals/piex"
[ ] "third_party/externals/rapidjson"
[ ] "third_party/externals/sdl"
[ ] "third_party/externals/sfntly"
[ ] "third_party/externals/spirv-headers"
[ ] "third_party/externals/spirv-tools"
[ ] "third_party/externals/swiftshader"
[ ] "third_party/externals/zlib"

VS bug #744225

Any idea of when this update will make it into a release? Thanks!

@spsteve10 I am not sure, this is more just to keep track of things that need to be done. No work has started yet.

FreeType has been updated to v2.10.1 in https://github.com/mono/skia/pull/65


Fix order to ensure rules pass check

In order to ensure that the config check passes, the order should be switched, in case of includes.

There is already a PR open for this, #26

Thanks @lae  losing this as a duplicate


[MXNET-683] [WIP] Adding Inplace Activated Batch Normalization

Description
Adding Inplace Activated Batch Normalization
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] mx.nd.contrib.InplaceABN
[x] mx.gluon.contrib.nn.InplaceABN

@zhanghang1989 could you please address the cpplint issue. Thanks

Thanks @stu1130 . The implementation is not fully working. Though it can pass the unit test and can even train for a few epochs. But it will fail in the middle of the training. I will debug it later when I have more time.

@sandeep-krishnamurthy Please change label to pr-work-in-progress


tests: Adds consumed memory stats test

We can check that the reported containers stats are not lower than it should by using the resource-consumer image. This image contains stress / testlimit.exe which can consume a specified amount of memory.

Could you please sign off your commits (try git commit -s) in order to pass CI checks?
https://github.com/containerd/project/blob/master/CONTRIBUTING.md#sign-your-work

/ok-to-test


Remove beta billing from internal endpoints

Was asked by @samcrichard to remove this, as I grabbed this info when launching the internal endpoints.
This removes the beta verbiage and replaces with some copy from Sam.

i'm pretty sure all the endpoints and policy stuff is still under dev preview.


Class constructors cannot be invoked without 'new'

I am using this library in my project but it does not seem to work with nodejs v5.8.0 (ES6).
interface IFoo {
    hello(): string
}

class Foo  {
    constructor(public name: string) { }

    hello(): string {
        return "hi";
    }
}

var mock : Mock<IFoo> = Mock.ofType(Foo)

executing this code gives a runtime error Class constructors cannot be invoked without 'new'
is this a known issue?

The code below works fine on latest TypeMoq (v0.1.0) and node.js v6.2.0
import typemoq = require("typemoq");

interface IFoo {
    hello(): string
}

class Foo {
    constructor(public name: string) { }

    hello(): string {
        return "hi";
    }
}

var mock: TypeMoq.Mock<IFoo> = typemoq.Mock.ofType(Foo)
mock.object.hello();
mock.verify(x => x.hello(), typemoq.Times.exactly(1));

Let me know if you run into issues.

It does't work with node 4.4.5

Indeed, it doesn't work for ES6. You're both right, my bad.
I'm going to look into it.

Great, thanks @rkostrzewski !
I'm going to merge your PR and then add some ES6 testing.


Compact view sort

I like the new compact view, but would appreciate the ability to sort the tiles more than the default (Node ID). If it helps (cannot be added all at once), this is the order I would prefer options to be added:
Name
Location
Last Active
Status
Power
etc.

Adding sorting there is not that easy, anyway would you like all this sorting together or only one for time? I could add an input to choose the sorting wanted

I'm sorry, but I don't understand your question.

No worries, I add this to my TODOs and will implement as soon as I will be back from vacations

Still requested please


Extension issue

Issue Type: Bug
Extension Name: html-css-class-completion
Extension Version: 1.20.0
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.62.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 85,
		"activateCallTime": 4,
		"activateResolvedTime": 129412,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "Zignd.html-css-class-completion",
				"_lower": "zignd.html-css-class-completion"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": [],
	"runningLocation": 1
}


Add new mask types .drop, .plusSign and .moon Close #482

(fix swiftlint warning about colon in demo app)

[x]  .drop 💧
[x]  .plus ➕

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

          1 Warning

:warning:
Consider adding supporting documentation to this change. Documentation can be found in the docs directory.

  Generated by :no_entry_sign: Danger

Added moon shape with angle

[x]  .moon 🌙

Added also the documentation in APIs.md
Update changelog


[Searchable Snapshot] Prevent deletion of snapshots that are backing searchable snapshot indexes

The system is missing the protection to prevent a snapshot from being deleted if it is currently backing a searchable snapshot index. The desired behavior is that a user should delete all such indexes before deleting the snapshot is allowed.

I am working on this task.

Can we look into keeping a reference count of active backup in progress. If the count is non-zero both command line and Ux can prevent it from deletion.

A snapshot is a backup of data, and it can be restored to this cluster or other opensearch clusters. Therefore, deleting snapshots and deleting indexes should not be directly related.

@opencmit1 A searchable snapshot is a new feature under development. You can follow the progress in #2919 A searchable snapshot index uses a snapshot instance as its source of data and fetches the data on demand at search time. Deleting that snapshot would render the index inoperable, hence the desire to add this protection.

Can we look into keeping a reference count of active backup in progress. If the count is non-zero both command line and Ux can prevent it from deletion.

@nandi-github Can you explain what "active backup in progress" means here?

@andrross I think what @nandi-github is referring to is the same as what we discussed earlier: If there is any index backed up by the remote snapshot, deny deletion using a reference count for such backed up indices. Eventual consistency in some of the repository implementations might lead to this approach being incorrect.

Do you need further clarification or it is good for now ?


fix outdated link in events-that-trigger-workflows.md

Why:
Closes https://github.com/github/docs/issues/3520
What's being changed:
The link/abel for 'Get a single commit', to the current equivalent link/label 'Get a commit'
Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Thanks again for this fix @0xdevalias! I'll update the branch and get this merged once tests are passing 🍏

Thanks again for this fix @0xdevalias! I'll update the branch and get this merged once tests are passing 🍏

No worries :) Sounds good!


TESTING Update the Add/Edit form when exiting the form

When use the edit form, if exited manually (not submitted), need to update dynamically to add form (since we are using the same form)

Fixed


[Convertio] - [Others]

Resource Name - Convertio
An online file converter for converting files to a different format
Link: https://convertio.co/
Checklist:

[Done ] I have performed a self-review of submitted resource and its follows the guidelines of the project.

Hey,
Thanks for the PR however this tool is not Free.


Cache-Control header

Hi, :smiley:
I have the problem that I try to set the "Cache Control" header, but unfortunately this doesn't work.
For this I use a NestInterceptor:
@Injectable()
export class CacheControlInterceptor implements NestInterceptor {
  intercept(context: ExecutionContext, next: CallHandler): Observable<any> {
    const parsedContext  = getContext(context);
    parsedContext.res.header('Cache-Control', 'public, max-age='+(60*60*24))// 1 day
    return next.handle();
  }
}

and the following route:
  @Get()
  @UseInterceptors(CacheControlInterceptor)
  @Render('index')
  public index() {
    // initial props
    return {
      title: 'Next with Nest',
    };
  }

But in this case I get the following header:
...
Cache-Control →no-store, must-revalidate
...

If I use a route without rendering, I get the correct HEader back.:
  @Get("/Test")
  @UseInterceptors(CacheControlInterceptor)
  public dsadas() {
    // initial props
    return {
      title: 'Next with Nest',
    };
  }

...
Cache-Control →public, max-age=86400
...

Thank you for your work.

Does this also happen with the app is running in production? I believe that Next always sets "no-store, must-revalidate" during development.

yes you are right :+1:


v7 Unify Breakpoint Configuration

A possibly breaking change for v7: Unify breakpoint configuration, i.e. let ResizeListener use Breakponts from BreakpointService?

I also noticed that the default breakpoints for MudHidden seem to be different than for our css breakpoint display classes

@Kuro noted that the two services already behave differently which should be considered a bug
https://user-images.githubusercontent.com/19953225/233993325-51652764-4d72-4faf-a4f1-c8f17b5bd2ca.png

I'm closing this ticket.
The old services were removed, and BrowserViewportService unified everything anyway with BreakpointGlobalOptions and the breakpoints are consistent.


Bot frequently stops due to unhandled error event

The stacktrace contains:
events.js:188
      throw err;
      ^

Error: Unhandled "error" event. ([object Object])
    at Client.emit (events.js:186:19)
    at WebSocketConnection.onError (/home/yokuyuki/spoilerbot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:374:17)
    at WebSocket.onError (/home/yokuyuki/spoilerbot/node_modules/discord.js/node_modules/ws/lib/event-target.js:128:16)
    at emitOne (events.js:116:13)
    at WebSocket.emit (events.js:211:7)
    at WebSocket.finalize (/home/yokuyuki/spoilerbot/node_modules/discord.js/node_modules/ws/lib/websocket.js:185:12)
    at ClientRequest._req.on (/home/yokuyuki/spoilerbot/node_modules/discord.js/node_modules/ws/lib/websocket.js:641:12)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:551:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:115:23)
    at TLSSocket.socketOnData (_http_client.js:440:20)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)

Interesting, not sure how easy it will be to reproduce.
How are you running the bot? Are you passing in an external bot instance?

I have it set up in the same way as specified in basic usage. If I leave the bot running all the time, it happens once a week when I notice the bot has left the channel because it is killed due to the above error.

Fair enough, will take a look later today.
Meanwhile you might wanna use a process manager like pm2 to automatically restart the bot after it crashes.

Based on https://github.com/discordjs/discord.js/issues/2523 it seems like, maybe client just need to handle the error. Maybe something as simple as client.on('error', log.error).

Did adding client.on('error', log.error) prevent the issue happening again for you? I added that to my bot a few weeks ago and I'm still getting the error you described on a regular basis

Do you have an idea ?

I'm also having this issue, when using the bot by passing it to an external instance.

The computer might be sleeping, or whatever, but the fact is the WebSocket disconnect needs to be handled gracefully without crashing. Ideally if the websocket gets disconnected, the bot automatically retries the connection to the server.

Can we get some light shed on this? This is still a problem for many of us in the community.

Hi,
What you can do is a simple change in node_modules/discord.js/src/client/websocket/WebSocketConnection.js
Line 364, change the whole function onError(err) to:
`
onError(error) {
if (error && error.message === 'uWs client connection error') {
this.reconnect();
return;
}
this.reconnect();
return;

}`
Which will force a connection instead of crashing on that error.

this fixed my problem. I slightly altered mwSora's version -- this.reconnect() errored out for me
client.on('error', error => {
if (error && error.message === 'uWs client connection error') {
this.reconnect();
return;
}
});

Yes, as other said, after my own investigations and asking a few other devs, this is a problem with discord.js timing/erroring out on some long-time connections. Simply catching the error and forcing the client to reconnect/restart will resolve the issue.

Hi people, can I ask you what are you using the bot for?
I think built-in spoiler functionality covers all use cases, or am I missing something?


VS2015 with node.js v.4.2.1 will cause cpu 100% and produce a lot of node.exe process.

When I turn VS2015 refer use node.js v4.2.1, this will cause cpu reach100% and produce a lot of node.exe process, but when i turn back to node.js v0.10.31 will be fine. did nodejstools didn't support v4.2.1 yet?

That's interesting. Haven't had any issues with node v4.2.1 myself.
Do you have resharper installed by any chance? Could you take a screenshot of the node processes in task manager when you turn the "command line arguments" column on?

Also are you doing anything specific when these processes spawn?

Hi @mousetraps , when i use npm to install which is working well when using command line with node v4.2.1 to me. But the issue is when I use VS2015 with node v4.2.1 will cause this issue.

I've try 2 kind of project so far as below:
The steps are:

Create a new project - TypeScript - HTML Application with TypeScript

Add New Item for "NPM configuration file" to project

And package to this file in "devDependencies" and save.

Then multiple node.exe produce and cpu high almost 100%

Creat a new project - ASP.NET Web Application - ASP.NET 5 Preview Templates(Empty)

Add New Item for "NPM configuration file" to project.

Then multiple node.exe produce and cpu high alost 100%

When I turn back to use VS2015 default Web Tools node v0.10.31, then there's no problem for me.

Thanks @jimior2 . Are you using Node Tools for Visual Studio at all? In these scenarios (TypeScript HTML app or ASP.NET project) the NTVS tools don't get used, so it would appear to be a separate Visual Studio issue (I believe the Web Tools also kick off Node/NPM for certain functionality). We can try and investigate with the right team if this isn't an NTVS issue.

@jimior2 are you running McAfee or some other virus scanner by any chance? If so, could you try turning off scanning for the node_modules directory and see if that resolves the issue?
@billti the rest of Visual Studio currently relies on our component for any npm integration, so we would need to resolve it on our end. We've also had a few users run into this issue at some point - it's been around for a while - but we were never able to track it down :frowning:. Since then, our codebase has changed to execute npm bin -g --silent rather than npm ls -g (VS is currently shipping an older version of the npm component). In any case, at some point we thought we resolved the issue, but unfortunately that fix only worked for about 50% of the people running into it (that said, I have a feeling this fix never made its way into Web Tools, so it very well could be resolved in this specific instance). Here's the original thread, and I also did some investigation over email at some point. https://nodejstools.codeplex.com/workitem/1791
And here's a video that one of our users recorded of the issue one time: http://screencast.com/t/QiKfmB67w
One interesting note from the video is that the first process never dies. And notice that it is actually spawned differently than the second process. The long-lived process was actually spun off in a background thread, whereas the completing process was not.

long-lived process: https://github.com/Microsoft/nodejstools/blob/8169f1e6fe7c83e3f4061631a44de79b3e80ec73/Nodejs/Product/Npm/SPI/NpmController.cs#L157
recurring, but completing process: https://github.com/Microsoft/nodejstools/blob/8169f1e6fe7c83e3f4061631a44de79b3e80ec73/Nodejs/Product/Npm/SPI/NpmController.cs#L132

So one question is... why would this make any difference?
The other question is... how is it even possible to have more than two npm bin -g processes ever running at one time in a solution with a single project?
I also believe McAfee either causes or exacerbates the issue, and my hunch is that for some reason the modify some file property when they touch the file during on-access scanning, which causes our file watcher to trigger unnecessarily often, which causes the on-access scanner to trigger, ad infinitum. (one of our earlier user reported that there were 2 files on his system that seemed to be getting scanned consistently.)

@jimior2 does this issue occur for you with Node.js Tools when you create, say, a new Node.js Express project? https://github.com/Microsoft/nodejstools/issues/releases
Otherwise there's a good chance we've already fixed this in NTVS (and just need to pull those changes into VS).

We're swapping the npm component in VS with a new one in a future release. Closing as it's not NTVS-releated.

McAfee on access scan holds nodejs from accessing any file. Add exception for the source code folder in on access scan should solve this.

Is this issue resolved?
I need some help, I am still getting the high CPU usage(100%) issue using Visual Studio 2015 with nodejs tools.
Below is my configuration:
node version: v4.4.6
Visual Studio 2015 Update 3 ASP.NET 5
Visual Studio is working fine untill I load any package from npm configuration file, after that this happens.


LSUN dataset

Hi,
I'm currently trying to setup the training data according to your description. However, I struggle with recreating the subset which you used for the real_LSUN category.
The link that you provide leads to the LSUN github page with a download script for the "scene" categories (bedroom, bridge, ...). However, according to the names from your real_lsun.txt, I assume that you did not use the "scene" categories, but the "objects" categories (airplane, bus, ...) instead. Is this correct?
I then proceeded downloading the object categories from http://dl.yf.io/lsun/objects/ zip files, extracting the contained mdb database files. However, I'm now facing two issues:
1.) The image data in the mdb file is in .webp format, whereas your .txt image list refers to .png images. Did you just convert the .webp images back to .png and is it thus safe to assume that using .webp as the input images will yield the same results, or did you use some different image source with original .png files before lossy .webp compression?
2.) The .txt image list uses the category name followed by 5 digits (decimal) for the image identification -- unfortunately, it is not obvious to me how to map this 5-digit number to the 40-digit-hex key that is used for storing the image in the LSUN database. Can you provide more information on the mapping you used?

Hi, for the real lsun data you can take the images from the dataset of the 2020 CVPR paper from Wang et al.: "CNN-generated images are surprisingly easy to spot...for now".

Thanks a lot!


Verifier.Verify wrapper around Debug.Assert

Is the feature request related to a problem
When in debug mode, I would like to be able to replace Debug.Assert with Verifier.Verify to compare two instances.
Describe the solution

New solution csproj, Verify.Diagnostics w/ corresponding nuget package
Implementation similar to Verify.Expecto except without the F# dependencies
Class Verify.Diagnostics.Debug w/ method Assert that has two overloads:

Assert<TLeft, TRight>(string snapshotName, TLeft left, TRight right);
Assert(string snapshotName, TLatest latest);

First Assert would take a snapshot of the left, save it, then snapshot the right.
Describe alternatives considered
Use https://github.com/replaysMike/AnyDiff instead of Verify
Additional context
I tried AnyDiff already, and the performance to compare even tiny object graphs (~100 lines of JSON serialized into an object tree) was absolutely terrible. :(

wont this be problematic since in release mode u would have a ref Verify.Diagnostics, Verify, DiffEngine, EmptyFiles, and Argon?

so your intent is that neither of the snapshots file would be written to disk? (or at least not written to the source controlled directory)

Writing it to disk would be very useful, actually, but what I really want written to disk is the patch file if there are differences.
Basically, one use case I have for this is to test whether the API I am using has certain isomorphic properties.
For example, I learned yesterday that on Save, they capitalize the Name property of an object, but then return back the saved object with the original, un-capitalized Name, I sent in, and only enrich the saved object with its newly minted Id, CreatedDate, UpdatedDate fields.
Having things with persistent snapshots and diffs would allow me to continuously keep this vendor on a short leash.  They're an industry leader but they lack a lot of formal development practices (like continuous delivery - they deploy everything manually in the year 2023).

Writing it to disk would be very useful, actually, but what I really want written to disk is the patch file if there are differences.

so doesnt that mean you really want Verify to work as it is now?

Are you asking, Why can't I just use the Verify package as standalone?
I would say, because Verify has a lot of internal helper assemblies.
I would actually like it yo work like Verify.Expecto (without the f# helpers) , since I think that's the right basic API to use Verify as a base library.

happy to expose some internals of verify if they are useful.
how about your submit a PR that does that, and shoes some use cases in tests


can not bring up keyboard instantly in ios 11.3

There is a weird behavior in ios 11.3.
From the second time I click the input element on,
the keyboard does not show up when i quickly click the input.
Only if i keep touching the input, the keyboard shows up.
Use code below to reporduce the problem.
<html>
<head>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no, email=no">
</head>
<body>
    <input type="text" placeholder="test" />

    <script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.js"></script>
    <script>
        window.FastClick.attach(document.body);
    </script>
</body>
</html>

The <input> element will not get focused if you give it a fast click (touching the screen less than 100ms).
You can see the code at line 574.

Any workarounds for this?

+1. focus() is not working in onTouchEnd, only when the function call is immediately following a touch/click interaction.Adding click function to the element to invoke focus function just works fine. Or better solution?
`

    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no, email=no">

<script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.js"></script>
<script>
    window.FastClick.attach(document.body);
    document.getElementById('test').onclick = function(e) {
      // works fine
      e.target.focus();
    };
    document.getElementById('test2').onclick = function(e) {
      // not working
      setTimeout(function() {
        e.target.focus();
      }, 50)
    };
</script>

`

There is a more serious problem. When "home" is pressed away from browser temporarily, all elements are clicked without response.

The people behind Framework7io could have found the reason and solution.

Seems to fixed now. Issue was due to iOS bug reporting touch event timestamp as negative value
https://github.com/framework7io/framework7/issues/2314#issuecomment-377778034

The commit that fixes the problem could be found here: https://github.com/framework7io/framework7/commit/ac02ad1514f53ddd47a663f281104049ae59cb52

@ronnievdc
According to the solution you have reissued, problem 2 has been solved.
But the bug of the form element has not been solved yet

change the focus method,
FastClick.prototype.focus = function(targetElement) {
'use strict';
targetElement.focus();
};

line 336 you there is a bug:
if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month' && targetElement.type !== 'email') {
should read
    if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== -1 && targetElement.type !== 'time' && targetElement.type !== 'month' && targetElement.type !== 'email') {

@tabtang

add targetElement.focus();

@yylgit 解决了，哥们！

@tabtang   怎么解决的姐们，是用我写的这种方法吗

Text areas also seem to be affected

@yylgit 是用的你的方法！（我也是哥们）

我这里试了 textarea也没有问题了

楼上：yylgit 修改为正解，亲测可用

Does anyone know how to reproduce this issue?

to me as well... targetElement.focus(); before targetElement.setSelectionRange(length, length); fixes the issue.

iOS11.3 fastclick.js 相关bug
这里有篇文章讲这个原因

@yylgit 你好，我是11.4的系统，打包hbuilder打包APP之后在ios上input输入框不能轻触弹出键盘，而要在输入框上停留一段1秒左右才会弹出键盘，以上你们讨论的方法我试了些还是不行，请问可以指教一二吗？

@tabtang

add targetElement.focus();
i use this method solve this problem

iOS11.3 + 都有这个问题，这种方式的确解决了，那是不是说明iOS11.3版本以后就不需要fastClick了？

@yylgit 加上了textarea还是没效果

@yylgit ios系统12.2

@yylgit 解决了,是缓存原因

为啥npm不发新版