Npm run dev crashes randomly

Hi everyone,
first of all: thanks for this great piece of software. Unfortunately and out of the blue I'm facing an issue that makes it nearly impossible to work with it locally.
Running npm run dev compiles everything nicely and then it's waiting for changes as it's supposed to do. Upon saving a file it compiles again but randomly aborts the whole script with the following error message:
Assertion failed: (napi_create_string_utf8(env, events->events[idx].path, NAPI_AUTO_LENGTH, &args[0]) == napi_ok),
function fse_dispatch_event, file ../src/fsevents.c, line 147.

Versions

nuxt: 2.14.12
node: 14.15.4
npm: 6.14.11
OS: MacOS 10.14.6

Reproduction
I guess it's hard to reproduce as even here npm run dev aborts not every time I'm saving a file. I've added my dependencies from package.json here:
{
  "name": "my-project",
  "version": "1.0.1",
  "private": true,
  "repository": {
    "type": "git",
    "url": "my-repo.com"
  },
  "auto-changelog": {
    "commitUrl": "my-url.com"
  },
  "scripts": {
    "dev": "nuxt-ts",
    "build": "nuxt-ts build",
    "start": "nuxt-ts start",
    "generate": "nuxt-ts generate",
    "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "lint": "npm run lint:js",
    "test": "jest",
    "version": "auto-changelog --commit-limit false -p && git add CHANGELOG.md"
  },
  "dependencies": {
    "@fortawesome/fontawesome-free": "^5.15.1",
    "@nuxt/content": "^1.11.1",
    "@nuxt/typescript-runtime": "^1.0.0",
    "@nuxtjs/axios": "^5.12.5",
    "bootstrap": "^4.5.3",
    "bootstrap-vue": "^2.21.2",
    "cookie-universal-nuxt": "^2.1.4",
    "nuxt": "^2.14.12",
    "nuxt-typed-vuex": "^0.1.22",
    "video.js": "^7.10.2"
  },
  "devDependencies": {
    "@nuxt/types": "^2.14.12",
    "@nuxt/typescript-build": "^2.0.3",
    "@nuxtjs/eslint-config": "^3.1.0",
    "@nuxtjs/eslint-config-typescript": "^3.0.0",
    "@nuxtjs/eslint-module": "^2.0.0",
<EMAIL_ADDRESS>"^7.3.11",
    "@types/webpack": "^4.41.26",
    "@types/webpack-env": "^1.16.0",
    "@vue/test-utils": "^1.1.2",
    "auto-changelog": "^2.2.0",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.17.0",
    "eslint-plugin-nuxt": "^1.0.0",
    "fsevents": "^2.3.1",
    "jest": "^26.6.3",
    "node-sass": "^4.14.1",
    "sass-loader": "^9.0.3",
    "ts-jest": "^26.4.4",
    "vue-jest": "^3.0.7"
  }
}

What is Expected?
npm run dev compiles again upon saving a file.
What is actually happening?
npm run dev randomly aborts compilation. Upon some file savings it works, then it aborts again.

+1 . I dont understand, I havent modified anything.
I don't find any pattern when it crash.

+1 . I dont understand, I havent modified anything.
I don't find any pattern when it crash.

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

Yes,  And it only happens to me on mac!

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

Yes,  And it only happens to me on mac!

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

I solved this problem with: npm cache clear --force
Hope this can help you

Hi @EduardoMateos ,
do i get you right, that it crashes for you too?

I solved this problem with: npm cache clear --force
Hope this can help you

I already tried that and it didn't solve the problem on my end. I also tried this already
· Remove node_modules folder
· Remove package-lock.json
· npm cache clear --force
· npm install
And the problem does still exist.

I already tried that and it didn't solve the problem on my end. I also tried this already
· Remove node_modules folder
· Remove package-lock.json
· npm cache clear --force
· npm install
And the problem does still exist.

I've got the same problem, except that it fails in run dev mode on any change in the underlying code.
Assertion failed: (napi_create_string_utf8(env, events->events[idx].path, NAPI_AUTO_LENGTH, &args[0]) == napi_ok), function fse_dispatch_event, file ../src/fsevents.c, line 147.
error Command failed with signal "SIGABRT".

I've got the same problem, except that it fails in run dev mode on any change in the underlying code.
Assertion failed: (napi_create_string_utf8(env, events->events[idx].path, NAPI_AUTO_LENGTH, &args[0]) == napi_ok), function fse_dispatch_event, file ../src/fsevents.c, line 147.
error Command failed with signal "SIGABRT".

I started encountering this issue after upgrading to node v14.15.4

I started encountering this issue after upgrading to node v14.15.4

In my case the issue started with node v12 (something) and I upgraded to v14.15.4 because i thought maybe i need to update my node version to get rid of the issue. But that didn't work out.

In my case the issue started with node v12 (something) and I upgraded to v14.15.4 because i thought maybe i need to update my node version to get rid of the issue. But that didn't work out.

@danielroe I believe you are on the right path. I'm fairly certain that it revolves around the @nuxt/content module. I was on another project using Nuxt, but without the @nuxt/content module, and this error never popped up. Upon further investigation, my nuxt project with the error uses @nuxt/content, which has a dependency of<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>

@danielroe I believe you are on the right path. I'm fairly certain that it revolves around the @nuxt/content module. I was on another project using Nuxt, but without the @nuxt/content module, and this error never popped up. Upon further investigation, my nuxt project with the error uses @nuxt/content, which has a dependency of<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>

@danielroe would it be best to post this issue on the @nuxt/content issues, or to attempt to pin earlier versions of chokidar with earlier versions of fsevents?

@danielroe would it be best to post this issue on the @nuxt/content issues, or to attempt to pin earlier versions of chokidar with earlier versions of fsevents?

This is relevant for nuxt in general because builder depends on chokidar, and in fact upcoming v2.15 bumps the chokidar version to ^3.5.1. It would be helpful to know if pinning chokidar to a lower version solves the issue for you.

This is relevant for nuxt in general because builder depends on chokidar, and in fact upcoming v2.15 bumps the chokidar version to ^3.5.1. It would be helpful to know if pinning chokidar to a lower version solves the issue for you.

Is there a recommended way to pin something with npm? I've tried npm-force-solutions, but it doesn't seem to be working for me.

Is there a recommended way to pin something with npm? I've tried npm-force-solutions, but it doesn't seem to be working for me.

I have noticed the same issue. Im running on macOS Big Sur 11.1
Some of my colleagues reported that this issue does not happen on windows.

I have noticed the same issue. Im running on macOS Big Sur 11.1
Some of my colleagues reported that this issue does not happen on windows.

In my case, this problem occurs just by editing some components in the GLOBAL Component folder. Maybe this helps to narrow it down?

Hi 🖐, I also have this error for a week since starting a new setup, 100% of the time the dev. server crashes on saving files inside the global component subdirectory. On other subdirectories the crash is more sporadic

Good catch jantastic, same scenario here

I guess this one is related too, when I change something like nuxt.config.js I get this error instantly, but with changing something inside components folder for example the builder is just halted on like 80% or 90% and stays like that for a long time.

FWIW, I ended up downgrading node to v12.20.1 and have not had this issue since.

@jpcarpenter what you did besides downgrading to v12.20.1 because I just downgraded to that version to on Big Sur (M1) and it doesn't change anything for me?

The fix for fsevents is here fsevents/fsevents#356 but it's still doesn't work as expected inside nuxt

To be specific, when I save nuxt.config.js or any other file everything is fine and when I save any .vue file I suppose that webpack gets stuck. Maybe it's a different problem.

The problem was fixed with fsevents/fsevents#356 , I had an issue with eslint config inside nuxt.config.js, no idea why but I removed it for now.


Getting Started Documentation

Complete the getting started documentation on readme.io

[ ] Android documentation
[ ] iOS documentation
[ ] JavaScript documentation

@robinsdm Do you have an update on this?

The main documentation is done and Android's code is added. We still need iOS and JavaScript's code now.

iOS docs are done.
Waiting on JS to close. @danhanson

Should we check the docs into version control somewhere? I'm a little worried by the fact that I don't see an obvious "history" tab on readme.io and they make it really easy to delete pages.

In the top left corner of the docs modification tool is a versions button

.

Does that keep history on every save though? I dont think so and Im scared to test. I think that that version is supposed to indicate the version of your SDK that the docs are for. Not the revision history.


fix: fix GUID_DEVCLASS_* constants

Description
These constants were missing the } character at the end.
Related Issue

Type of Change

[ ] ✨ feat -- New feature (non-breaking change which adds functionality)
[x] 🛠 fix -- Bug fix (non-breaking change which fixes an issue)
[ ] ❌ ! -- Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 refactor -- Code refactor
[ ] ✅ ci -- Build configuration change
[ ] 📝 docs -- Documentation
[ ] 🧪 test -- Test
[ ] 🗑 chore -- Chore

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

Project coverage is 61.96%. Comparing base (ce6cbf6) to head (6e198c7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #881   +/-   ##
=======================================
  Coverage   61.96%   61.96%
=======================================
  Files          33       33
  Lines        1057     1057
=======================================
  Hits          655      655
  Misses        402      402

Flag
Coverage Δ

win32
59.94% <ø> (ø)

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


[PE-D][Tester E] Person not in app after startup

Added a person into the app, exited and then re opened the app, but doesnt reflect the added person in app. It is in the .json file though.
Tried to edit the .json file but to no avail as well.
Performing clear, exiting and re opening the app just repopulates with sample data.

This also violates the features below.

Labels: type.FunctionalityBug severity.High
original: rylzxc/ped#4

To be fixed.


Node labels to identify and select spot instances/VMs for workloads

Assigning workloads to spot instances/VMs, or avoiding spot, currently requires knowledge of the node pool name (identifier), to be used as a node selector.
On AWS, if a node pool has a mix of spot and on-demand instances (via the spot/on-demand percentage and the on-demand base capacity), it is not possible to assign workloads to spot instances only (or avoid running on spot instances).
EKS seems to add lifecycle node labels to instances. In spot instances, this label gets the value EC2Spot.
A similar node label for each worker node in a cluster, with a dedicated value for spot instances (AWS)/VMs (Azure), would allow for simple workload assignment. A dedicated value for non-spot (on-demand) nodes would also allow for a descriptive assignment of workloads to only on-demand instances.

@alex-dabija @T-Kukawka this an old issue still labeled with firecracker? To phoenix or close?

Old issue. Closing for now.


add test cases for group function in backend

since we add group function to the backend, I add some test cases for this. and I found and fix some logical bugs in it:

when adding expenses to a group, the backend doesn't check if the user belong to the group.
when get the group expenses, the backend does not check the validity of some parameters (limit and skip)

@TomasAndersonFang I add some test cases for backend and add some check step to it. please review them :)

It seems when you added new tests, you found some potential bugs. Could you explain what happened and introduce the bug, then show how to fix the bug?

It seems when you added new tests, you found some potential bugs. Could you explain what happened and introduce the bug, then show how to fix the bug?

Sure, let's talk about it more specifically.
Originally, there are three failing cases (I'll post detailed error information below):

test_api_create_group_expenses.py::TestGroupExpenses::test_create_expense_non_member
test_api_read_group_expenses.py::TestGetGroupExpenses::test_get_expenses_negative_limit
test_api_read_group_expenses.py::TestGetGroupExpenses::test_get_expenses_negative_skip

For the first one, the reason is that the function create_group_expense didn't check if the user creating the expense belongs to the group. I fixed this by add this checking logic:
def create_group_expense(db: Session, group_id: int, expense: schemas.GroupExpenseCreate, paid_by: int):
    # code looking up group
    is_member = db.query(models.GroupMember).filter(
        models.GroupMember.group_id == group.id,
        models.GroupMember.user_id == paid_by
    ).first()
    if not is_member:
        raise HTTPException(status_code=403, detail="Not a member of this group")

For the last two, the reason is that the function get_group_expenses didn't check the validity of the parameters limit and skip. I fixed this by add following check:
if skip < 0:
    raise HTTPException(
        status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
        detail="Skip value cannot be negative"
    )
if limit < 0:
    raise HTTPException(
        status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
        detail="Limit value cannot be negative"
    )

Below is the detailed error information for the failing test cases:
_____________________________________________________________________________ TestGroupExpenses.test_create_expense_non_member ______________________________________________________________________________

self = <tests.test_api_create_group_expenses.TestGroupExpenses object at 0x10652c6d0>
auth_headers_list = [{'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0X2dyb3VwX2V4cGVuc2VfMF8xNzMyNTk4OTkyLj...tcGxlLmNvbSIsImV4cCI6MTczMjYwMDc5NH0.Dnd9xzdbrZBsLZRz9q9r22k8tehiwD2-wqLPHzOT3l0', 'Content-Type': 'application/json'}]
created_group = {'created_at': '2024-11-26T05:29:54.019116', 'created_by': 373, 'id': 101, 'name': 'Test Expense Group<PHONE_NUMBER>.0173929'}
valid_equal_split_expense = {'amount': 300.0, 'category': 'Groceries', 'date': '2024-11-26T05:29:54.025681+00:00', 'description': 'Weekly groceries', ...}
test_users = [{'email'<EMAIL_ADDRESS>'full_name': 'Test Group Expense User 0'<EMAIL_ADDRESS>'full_name': 'Test Group Expense User 2', 'password': 'testpassword123'}]

    def test_create_expense_non_member(
        self, auth_headers_list, created_group, valid_equal_split_expense, test_users
    ):
        """Test expense creation by non-group member"""
        # Create a new user who is not a member of the group
        new_user = {
            "email"<EMAIL_ADDRESS>            "password": "testpassword123",
            "full_name": "Non Member User"
        }
        requests.post(f"{BASE_URL}/users/", json=new_user)
        token_response = requests.post(
            f"{BASE_URL}/token",
            data={
                "username": new_user["email"],
                "password": new_user["password"]
            },
            headers={"Content-Type": "application/x-www-form-urlencoded"}
        )
        non_member_headers = {
            "Authorization": f"Bearer {token_response.json()['access_token']}",
            "Content-Type": "application/json"
        }

        response = requests.post(
            f"{BASE_URL}/groups/{created_group['id']}/expenses",
            json=valid_equal_split_expense,
            headers=non_member_headers
        )
>       assert response.status_code == 403
E       assert 200 == 403
E        +  where 200 = <Response [200]>.status_code

test_api_create_group_expenses.py:304: AssertionError
___________________________________________________________________________ TestGetGroupExpenses.test_get_expenses_negative_limit ___________________________________________________________________________

self = <tests.test_api_read_group_expenses.TestGetGroupExpenses object at 0x104587ac0>
auth_headers_list = [{'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0X2dldF9leHBlbnNlc18wXzE3MzI1OTkyMzEuNz...tcGxlLmNvbSIsImV4cCI6MTczMjYwMTAzM30.tcxroL_cbmoIhlNYJeOwDDQkP0EAHSIAx4kt9cPFYIg', 'Content-Type': 'application/json'}]
group_with_expenses = {'created_at': '2024-11-26T05:33:53.084413', 'created_by': 396, 'id': 107, 'name': 'Test Get Expenses Group<PHONE_NUMBER>.082772'}

    def test_get_expenses_negative_limit(self, auth_headers_list, group_with_expenses):
        """Test reading expenses with negative limit"""
        response = requests.get(
            f"{BASE_URL}/groups/{group_with_expenses['id']}/expenses/?limit=-1",
            headers=auth_headers_list[0]
        )
>       assert response.status_code == 422
E       assert 200 == 422
E        +  where 200 = <Response [200]>.status_code

test_api_read_group_expenses.py:256: AssertionError
___________________________________________________________________________ TestGetGroupExpenses.test_get_expenses_negative_skip ____________________________________________________________________________

self = <tests.test_api_read_group_expenses.TestGetGroupExpenses object at 0x104586f80>
auth_headers_list = [{'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0X2dldF9leHBlbnNlc18wXzE3MzI1OTkyMzMuMT...1wbGUuY29tIiwiZXhwIjoxNzMyNjAxMDM0fQ.0385FjNBMuRvjVQxmW1XrsR6xjbxNTpvSLu50Bf8u2U', 'Content-Type': 'application/json'}]
group_with_expenses = {'created_at': '2024-11-26T05:33:54.475022', 'created_by': 399, 'id': 108, 'name': 'Test Get Expenses Group<PHONE_NUMBER>.472963'}

    def test_get_expenses_negative_skip(self, auth_headers_list, group_with_expenses):
        """Test reading expenses with negative skip"""
        response = requests.get(
            f"{BASE_URL}/groups/{group_with_expenses['id']}/expenses/?skip=-1",
            headers=auth_headers_list[0]
        )
>       assert response.status_code == 422  # Validation error
E       assert 200 == 422
E        +  where 200 = <Response [200]>.status_code

test_api_read_group_expenses.py:264: AssertionError


feat(ui/rate): 新增4个图标 + 修改Rate组件案例与排版

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #990 (cd34a44) into dev (8c8d038) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##              dev     #990   +/-   ##
=======================================
  Coverage   95.94%   95.94%
=======================================
  Files         324      324
  Lines       21046    21046
  Branches     2203     2203
=======================================
  Hits        20193    20193
  Misses        771      771
  Partials       82       82

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Aladdin] Parse generated examples into commands' _help.py

This PR is created by AladdinParser Pipeline which is automatically triggered by a merge of Aladdin-src branch.

Nice work!

It seems you removed some examples?

Fixed here,https://github.com/haroldrandom/azure-cli/commit/6a78f7c9491d04a75da1430066456a51aa06d8e2  but not on board to Azure/azure-cli:Aladdin-src. Otherwise will create another PR.
After Aladdin team replied, will push this fix to Azure/azure-cli:Aladdin-src

For storage related part, I will prefer that all the generated examples follow storage naming rules, e.g. storage account name and container name in lowercase.

Please review again. Merge conflicts already and a ypplied our changes.


Force deploying of HA-SNO operator to the proper namespace

Make sure ha-sno operator is deployed to the correct namespace.

/lgtm

/approve


Continue with checkpoint

Hi, I was using the script for supervised training. My dataset is fairly large, and some checkpoints were made during the training. However, the training was not completed, and I was wondering how can I use the checkpoints to continue the training?
I tried setting the checkpoint as the model name, but it seems like the training will start from the begining. Here is the script I used:
python3 run_train.py
--output_dir=$OUTPUT_DIR
--model_name_or_path=checkpoint-12000
--extraction 'softmax'
--do_train
--train_so
--train_data_file=$TRAIN_FILE
--train_gold_file=$TRAIN_GOLD_FILE
--per_gpu_train_batch_size 2
--gradient_accumulation_steps 4
--num_train_epochs 5
--learning_rate 1e-4
--save_steps 2000

Hi, for now the code only supports reloading the model weights but not the optimizer states. You may have to tune the learning rate and max_steps for continuing training.

Thanks a lot!

Thanks a lot!


Add new SNX token

The SNX token has been migrated
see https://blog.synthetix.io/proxy-contract-cutover-on-may-10/
New address:
https://etherscan.io/address/0xc011a72400e58ecd99ee497cf89e3775d4bd732f

Hi, I've migrated SNX last week https://safe-relay.gnosis.io/api/v1/tokens/0xc011a72400e58ecd99ee497cf89e3775d4bd732f/


WIP: Update defaultTo to stringify jsonb columns. Fixes #3167

What makes this WIP?

Some mysql & mssql issue. I added an integration test and it seems like default value for json were failing for them. Checking on it.

Is the mysql image specified in docker-compose.yml actually used in the tests ? It appears that even though the latest version is getting pulled, the tests are run against some older mysql version.
The Build System Information section in Travis logs, show the following:

mysql version
mysql  Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using  EditLine wrapper

Do we want to support older versions of mysql (which didn't support default values for json columns) ?

@lorefnon Hmmm, good question, I wonder where else it could come from. travis.yml doesn't specify any alternative versions.

I would say that since we made a switch to run tests on MySQL 8, it would make sense to run them on latest one. As long as older versions are still supposed to work when not using the new functionality, we should be good.

Im pretty sure that docker version is used. The one coming from travis is the old one. Docker version is running in different port.

I think using latest version is better than fixing version to 8

Yes, I have verified that now. Something else is wrong. I'll remove the second commit before removing WIP. I fixed the version just to be sure.

Sorry about the spam about incorrect version.
The problem was that mysql allows default values for json, only when they are expressions. So json string literals need to be wrapped in parenthesis.

Would be cool to also have an integration test which would verify that defaults actually kick in inserting new rows.

new test seems to be failing in pg, mysql and mssql.

Is it expected that in dialects other than postgres, json columns are returned as string ? I initially thought something was wrong with how default value was getting populated but it seems unrelated:
λ node --experimental-repl-await
> knex = require('knex')({client: 'sqlite3', connection: {filename: ':memory:'}})

> await knex.schema.createTable('users', (t) => { t.increments(); t.json('metadata'); })
[]

> await knex('users').insert({id: 1, metadata: {foo: 'bar'}})
[ 1 ]

> await knex('users').where('id', 1).first()
{ id: 1, metadata: null }
// The metadata is gone

> knex('users').insert({id: 1, metadata: {foo: 'bar'}}).toSQL()
{ method: 'insert',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [ 1, { foo: 'bar' } ],
  __knexQueryUid: '29507f8d-f2ae-47a6-b2cc-8c2f544bd582',
  sql: 'insert into `users` (`id`, `metadata`) values (?, ?)' }

> knex('users').insert({id: 2, metadata: JSON.stringify({foo: 'bar'})}).toSQL()
{ method: 'insert',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [ 2, '{"foo":"bar"}' ],
  __knexQueryUid: 'cb2455a1-64a1-499e-b8ee-19980000074a',
  sql: 'insert into `users` (`id`, `metadata`) values (?, ?)' }

> await knex('users').insert({id: 2, metadata: JSON.stringify({foo: 'bar'})})
[ 2 ]

> await knex('users').where('id', 2).first()
{ id: 2, metadata: '{"foo":"bar"}' }
// metadata is stringified json

> await knex('sqlite_master').where({name: 'users'})
[ { type: 'table',
    name: 'users',
    tbl_name: 'users',
    rootpage: 2,
    sql:
     'CREATE TABLE `users` (`id` integer not null primary key autoincrement, `metadata` json)' } ]
// (Verified that this uses json column and not text)

In postgres though querying json column returns javascript objects, which imho is the ideal thing to do.

@lorefnon I think this is leftover from the times where those databases didn't support proper JSON columns so we were storing them as strings. I agree that javascript objects make more sense, but that would be a breaking change; probaably we can do it in 0.19.0 after 0.18 branch quiets down a bit.

new test seems to be failing in pg, mysql and mssql.

This is fixed now.


feat : add tests for tools component of the website

Reason/Context
AsyncAPI website has many components and thus it requires a testing suite , so that it is easy for both contributors and maintainers of the code .
Description

Add unit tests for tools component
No this won't be a breaking change
Writing tests using cypress

NOTE : This is for GSOC and I will be working on this issue


Get rid of Webflow library

The patch #283 inlines the webflow.js file from an earlier revision as we have not been able to find it back anywhere upstream. It weighs in with 140k(!). We might want to get rid of this.
As we learned from #281, it is currently still needed by the version picker drop-down menu and probably also other elements. References to other CSS classes prefixed with w-, implemented by Webflow, can be found within navbar.html and layout.html.

Thank you so much for submitting a patch to fix this, @msbt.

GH-471


Tengine Dyups Module with IP Hash

Hi. I am using Tengine with the dyups module installed. It seems to work fine, but I want to use the ip_hash load balancing scheme instead of round robin. Normally, I would just add this to the upstream server declaration. How would I do via the dyups module?
I found this:
https://github.com/alibaba/tengine/blob/master/tests/nginx-tests/cases/dyups.t#L266
However, when I add ip_hash; to my endpoint call:
curl -d "ip_hash;server <IP_ADDRESS>:8089;server <IP_ADDRESS>:8088;" <IP_ADDRESS>:8081/upstream/test
the dyups config file does not have the line ip_hash;, only the two server lines.

Yes, the dyups modules would not show u "ip_hash" when u call the API /detail get all upstreams and their servers.  And u could find like this cases:
like(mhttp_post('/upstream/dyhost', 'ip_hash;server <IP_ADDRESS>:8088; server <IP_ADDRESS>:8089;', 8081), qr/success/m, '2013-03-04 15:53:41');
like(mhttp_get('/', 'dyhost', 8080), qr/8088/m, '2013-03-04 15:53:44');
like(mhttp_get('/', 'dyhost', 8080), qr/8088/m, '2013-03-04 15:53:46');
like(mhttp_get('/', 'dyhost', 8080), qr/8088/m, '2013-03-04 15:53:49');

As the cases show, the load balancing scheme is ip_hash.


Fedora Atomic tracking issue

With the introduction of Fedora Atomic as alpha, there are several issues we'll track at a high level.

[x] Fedora 28

DigitalOcean: updated from Fedora 27 to 28 in #225
AWS: Updated from Fedora 27 to 28 in #258
Google: Updated from Fedora 27 to 28 in #259
Bare-Metal: Updated from Fedora 27 to 28 in #263

[x] The Ingress controller addon is known to not work on Google Cloud. Solved by #252
[ ] Switch CNI plugin location from /opt/cni to /var/cni or somewhere else

Plugins may be lost rpm-ostree updates. Restarting flannel / calico required
Without an atomic-reboot-coordinator, requires ssh'ing to nodes to run atomic host upgrade

[x] Fedora Atomic doesn't officially support Google Cloud. We've provided instructions to do it yourself.
[ ] Leverage firewalld (disabled). Currently we rely on cloud firewalls just like Container Linux, but this can be improved.
[ ] No story for coordinated drains and reboots of nodes for OS upgrades.
[ ] On AWS, implement node self-deletion on shutdown to avoid preempted spot instances piling up and triggering alerts (we have to do this on Container Linux AWS as well). See #207

Notes:

bare-metal: Fedora Atomic can fail in dracut on bare-metal IBM systems if in-band IPMI over USB interface is enabled since it was preferred over NICs. Disabling was a work-around.
bare-metal: I've had considerable difficulty getting Fedora Atomic to install on some IBM systems. I've mostly ended up validating clusters on Supermicro. In short, if you're going to use Fedora Atomic, evaluate it on your hardware. Or just use Container Linux which is more mature/reliable.
bare-metal: Do not prepare the ostree repo on an older system (Fedora 25 in my case). Preparing the repo with rpm-ostree-2018.4-1.fc28.src.rpm solved the sysimage mount issue.
AWS: Use the default network_mtu rather than setting it to 8981 to take advantage of jumbo packets. The kernel regressed MTU detection recently. Container Linux has been patched (rel: https://github.com/coreos/bugs/issues/2443). Fedora has not.

You should NOT have any issues with log, exec, port-forward, or any addons. Recovery from control plane reboots and total cluster power cycles works correctly. Prometheus alerts should all be green as well. If you observe otherwise, please mention.

Fedora Atomic will be replaced by Fedora CoreOS, so I'm not planning to invest effort into pushing these modules beyond alpha. Their value lies in aiding the addition of Fedora CoreOS or in experimenting with ideas being developed in Atomic for inclusion in Fedora CoreOS.

Fedora Atomic 29 has been released, but I haven't seen it published to Digital Ocean.


Incorrect Reading Order in Single-page Image-Text Layouts

Bug
There is an issue with the page reading order. Especially in single-page documents, the reading order of images on the left and text content on the right is not working as expected. This causes incorrect information mapping under images when converting to Markdown format.
Steps to reproduce

Upload a single-page document
Use a page layout with an image on the left and text on the right
Convert the document to Markdown format
Check the output

Expected Behavior:
Reading order should be: Page Title => Image 1 => Section-Header 1 => List Items => Image 2
Actual Behavior:
Reading order is incorrect: Page Title => Image 1 => Image 2 => Section-Header 1
Docling version
2.10.0
Python version
3.10
Sample layout

@Bariskau what is the input format you were using? Is this a native Powerpoint, a PDF, or something else? If you provide the source file we could verify more easily.

sample-cpu.pdf
@cau-git I am using PDF format. I shared a sample layout as PDF. Thank you.


Fix missing signature key error when pulling Docker images with SERVE_DIRECT enabled

Fix #28121
I did some tests and found that the missing signature key error is caused by an incorrect Content-Type header. Gitea correctly sets the Content-Type header when serving files.
https://github.com/go-gitea/gitea/blob/348d1d0f322ca57c459acd902f54821d687ca804/routers/api/packages/container/container.go#L712-L717
However, when SERVE_DIRECT is enabled, the Content-Type header may be set to an incorrect value by the storage service. To fix this issue, we can use query parameters to override response header values.
https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html

In this PR, I introduced a new parameter to the URL method to support additional parameters.
URL(path, name string, reqParams url.Values) (*url.URL, error)

Most S3-like services support specifying the content type when storing objects. However, Gitea always use application/octet-stream. Therefore, I believe we also need to improve the Save method to support storing objects with the correct content type.
https://github.com/go-gitea/gitea/blob/b7fb20e73e63b8edc9b90c52073e248bef428fcc/modules/storage/minio.go#L214-L221

I was unable to create a backport for 1.22. @Zettat123, please send one manually. :tea:
go run ./contrib/backport 32365
...  // fix git conflicts if any
go run ./contrib/backport --continue


Can cuda10.1 be used？

Yes.  Replace the yolo_cpp_dll* with the following files:
https://github.com/zgabi/Yolo.Net/tree/master/lib/Cuda10.1
(The build will every time overwrite this files from the package, so it should be added to an after build event in your csproj file)

Yes.  Replace the yolo_cpp_dll* with the following files:
https://github.com/zgabi/Yolo.Net/tree/master/lib/Cuda10.1
(The build will every time overwrite this files from the package, so it should be added to an after build event in your csproj file)


chore: move all linters to golangci-lint

Closes #257

LGTM, adds more flexibility than the pre-commit hooks, rules are easier to configure and more flexible


Still confused although I know the number of classes is different

I know the number of classes is differrent, but you all train on 7 classes, right?
They use 4 classes on test  phase , and you use all classes, but you should get same results on same labels. In other words , your paper should get same value of UWA on label "happy","sad","neutral","anger". But in fact they are much more lower than CMN paper
It's a little wierd that the two results are too different, although more labels used in you experiment.
Proposing this question is to consult the DialogueRNN's performance on imbalance dataset, I test DialogueRNN on EmotionLines, it even worse than CNN+biLSTM

hope not close this issue so fast, I'am afraid that I still have many questions to inquire you. Thanks

When you change the number of classes the performance will change because you are changing the weights in the softmax layer. I hope it is clear now?
You will need to use classweight when you apply DialogueRNN on an imbalanced dataset.

..Sorry, I am not  much clear.
So you mean CMN paper use 4 classes softmax in train phase ?
if it is true, they should delete the data of labels not in those 4 classes??

ok  I know what you mean now, just neglect above

So , how do you think this augment : DialogueRNN does not perform better than CNN-BiLSTM on imbalance dataset?
I think in you paper'result, it is can be seen.

LSTM method is more smooth on all labels.
It is also witnessed in my experiment of testing your model  on EmotionLines. It's not better than CNN+BiLSTM

Hi @lsy641,
Let me try to clarify your doubts. In general, LSTM+att networks do provide good baselines in many applications, including ERC. However, to improve further, we look for more expressive networks with logical inductive bias (network design). The associated trade-off is that these networks become more prone to overfitting and sensitive towards label imbalances. Thus, sophisticated approaches (such as class weights, etc.) have to be adopted. In the right setting, which is normally found via an in-depth hyperparameter search, these networks have the potential to succeed over the LSTM baselines. Our results in the above-cited image demonstrate that on IEMOCAP and AVEC.

Hi @lsy641,
Let me try to clarify your doubts. In general, LSTM+att networks do provide good baselines in many applications, including ERC. However, to improve further, we look for more expressive networks with logical inductive bias (network design). The associated trade-off is that these networks become more prone to overfitting and sensitive towards label imbalances. Thus, sophisticated approaches (such as class weights, etc.) have to be adopted. In the right setting, which is normally found via an in-depth hyperparameter search, these networks have the potential to succeed over the LSTM baselines. Our results in the above-cited image demonstrate that on IEMOCAP and AVEC.

Thanks a lot @devamanyu

Sorry, I come back and carry a new question.
What is the exact meaning of accuracy reported in your table below?

In my comprehension of accuracy , it is formulated as (TP+TN)/(TP+TN+FP+FN)。Why the accuracy of all labels so low in your table? I think they all should be more than 80, even 90. Because TN will contribute most of the accuracy even if  TP is little.
@devamanyu @soujanyaporia   Thank you for your patience !!

Could you please run the models once and see the confusion matrix? That should clear your doubts and a faster way too.

I guess it is unweighted average recall （UAR）or unweighted average presicion（UAP）.  And I cant't assure which one further  .


Documentation: SmartNoise python bindings

Round 1 of the Documentation proposal:
Proposal: https://docs.google.com/document/d/1FLDUrfhOVhfjmuvLUtWFBUirgmhB2EUzTtysGsG5nfw/edit?ts=5f9c4aca

[x] Make sure there is 100% API coverage in the docs

This is basically going through the Doc Source component files below and filling in any missing parameters.
Easiest way to read is probably going through the Doc Output below.

Doc source:  https://github.com/opendifferentialprivacy/smartnoise-core/tree/develop/validator-rust/prototypes/components

Doc Output: https://opendifferentialprivacy.github.io/smartnoise-core-python/opendp.smartnoise.core.components.html

Decide on final doc output format.

Preferred format, something similar to fairlearn: https://fairlearn.github.io/master/api_reference/index.html

Example of Cast Component

Documentation starts in JSON:

https://github.com/opendifferentialprivacy/smartnoise-core/blob/develop/validator-rust/prototypes/components/Cast.json

After Rust, python, doc generation, appears in API docs:

https://opendifferentialprivacy.github.io/smartnoise-core-python/opendp.smartnoise.core.components.html

[ ] Document the documentation generation path ^ from JSON specs -> Rust components -> Python bindings -> Python docs -> Deploy

https://docs.google.com/spreadsheets/d/107XO6kELuvfQZveBRZv8QoOkG3nK4F-qJcroyE6BNqU/edit#gid=0

initial component docs are in


zh: update config-overview.md for 2.0

What is changed, added or deleted? (Required)
update config-overview.md for 2.0

Which TiDB Data Migration (DM) version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):
preview: https://github.com/GMHDBJD/docs-dm/blob/config-overview-2.0/zh/config-overview.md

I'm sorry that your comment was deleted due to my mistake. @WangXiangUSTC

I'm sorry that your comment was deleted due to my mistake. @WangXiangUSTC

ok, seems that you have already address my comment. Need to fix the CI. Rest LGTM

@GMHDBJD It is recommended to merge this PR after manage-replication-tasks.md#加载数据源配置 is merged.


[Bug]: useCloudStorage seems to be not working in Web clients

Telegram Application
Telegram Web A, Telegram Web K
Describe the Bug
Using await cloudStorage.get(...) will do nothing and not throw any error in try catch block despite that cloudStorage.supports("get") returns true
To Reproduce
Steps to reproduce the behavior:

Implement method using cloud storage
Open component/page using this method and try to fetch cloud storage data
See no data in variable which awaits the result and no error in catch block

Expected Behavior
Data is fetched successfully

I have tried to reproduce it using the reactjs-template but was still not able to do it. Do you have and reproducible example?

Hey @heyqbnk! Sorry, was not touching the laptop during the weekend. Will try to reproduce with starters today

Okay, I was able to reproduce the issue here https://github.com/thecoorum/tma-cloud-storage-web-issue. And here is the Mini App to test it out https://t.me/tma_cloud_storage_web_issue_bot/app

For some reason, this project works fine for me. Could you try using different devices or maybe even networks? I tried to reproduce the problem using both your application and repository, launching it on myself. None of it showed the problem.

Ah, okay. Seems like I was testing it against outdated web client. Are there any difference between webk.telegram.org and web.telegram.org? I thought both are using K web client by default, but seems they are different. Here are the app window from both of them. You could also notice that the main button is not initializing in the webk.telegram.org. I think then the issue is resolved by itself. Anyway, thanks for looking into this one so quickly

web.telegram.org
webk.telegram.org

I assume, this is the problem on the webk.telegram.org side. To be honest, it is the first time I hear about this version of Telegram. As far as I know, Web K version is placed on the web.telegram.org/k URL. I am not sure, but @tma.js will probably not work outside of web.telegram.org by default due to security reasons. It just restricts the list of parent iframe URLs which are capable of processing Telegram Mini Apps methods.
You can learn more about this mechanism in the docs:
https://docs.telegram-mini-apps.com/packages/tma-js-sdk/methods-and-events#target-origin
To try to solve the issue, just try calling something like:
import { setTargetOrigin } from<EMAIL_ADDRESS>
setTargetOrigin('https://webk.telegram.org');

I am not sure this will help, but we could give it a try


Fixed evalsha(byte[] script) throws JedisDataException

Fixes #1651

LGTM!. Sorry not to review before. Seems like it needs rebasing now.

Merged into master, 2.10, 2.9.


Support node 20

As of today I'm receiving the following deprecation warning for this action
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: machulav/ec2-github-runner@v2.

+1

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/


Bootstrapping Script Fixes for 1.0

Raspbian Buster shipped pulling packages from the 'testing' Debian Buster repo. It needs an 'apt-get update' before Swift 5's dependencies can get installed.
Need to make sure Swift is in the PATH before calling the build script while bootstrapping. I've got a patch ready, just need to test it.

 Fix Bootstrapping Script for Swift 5


File IO Consolidation

This PR fixes #83 by rewriting print, println and input in terms of the preexisting stdout i/o.

Additionally, I stylized raw_print to __raw_print__.


Some Processed Movie Files Just Show Tagged Poster On Screen

Hello! As the title says, when playing some processed movie files the video doesn't show on screen. I just see the movie poster. Seems random and I only find them occasionally. Audio tracks play fine. I can share info about the files and the config file, but was wondering if you've seen this before? Thanks for help!

That's usually only when there's a problem with the video stream either being corrupt to absent

Hmmm, I don't think that was the case here. It turns out this happened to
about 200 movies. Most of them I know for sure played just fine before
conversion. I've re-downloaded them all now, but thanks for your reply.
On Thu, Nov 7, 2019, 6:15 AM Michael Higgins<EMAIL_ADDRESS>wrote:

That's usually only when there's a problem with the video stream either
being corrupt to absent
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mdhiggins/sickbeard_mp4_automator/issues/1080?email_source=notifications&email_token=ALZ44RKBZOXR3IR7CGIDGC3QSP2D7A5CNFSM4JIOFC22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMCIPQ#issuecomment-551035966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZ44RKQHHZTTXOSQLFOPSDQSP2D7ANCNFSM4JIOFC2Q
.

Feel free to post some actual info on a file that's failing otherwise its all speculation
ffprobe file.mp4 -show_streams and post that whole dump of info


How to attach routes to the Dax Cluster

Hi there
I need assistance making a query to a DynamoDB table through the Dax .After reading through the Code i see that the only way to get the Error "Service Unavailable : no routes found" is the endpoint or the port are not found in the confuguration
please correct me on how i can attach me endpoint

Error :

This is where the error is occurring :

I am currently getting this error when testing code that I implemented to test queries through the Dax Cluster

Hi there
I need assistance making a query to a DynamoDB table through the Dax .After reading through the Code i see that the only way to get the Error "Service Unavailable : no routes found" is the endpoint or the port are not found in the confuguration
please correct me on how i can attach me endpoint

Error :

This is where the error is occurring :

I am currently getting this error when testing code that I implemented to test queries through the Dax Cluster

Hello,
we have sample code here to demonstrate how to use DAX Go client. https://github.com/aws-samples/aws-dax-go-sample/blob/master/try_dax.go#L213
The error you attached can also indicate a network problem. We recommend you to check your network security group setting to ensure the host you run the client can connect to DAX node.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.create-cluster.cli.configure-inbound-rules.html

Thank you it was indeed a security group issue , It has been resolved thanks
Arnaldo Manjate
Developer
| T<PHONE_NUMBER>
| E<EMAIL_ADDRESS><EMAIL_ADDRESS>| www.rapidtrade.com
On Fri, Apr 24, 2020 at 10:15 PM Jiaqi Huo<EMAIL_ADDRESS>wrote:

Hi there
I need assistance making a query to a DynamoDB table through the Dax
.After reading through the Code i see that the only way to get the Error
"Service Unavailable : no routes found" is the endpoint or the port are not
found in the confuguration
please correct me on how i can attach me endpoint
[image: client]
https://user-images.githubusercontent.com/52455180/80098940-fd8c9600-856d-11ea-8ed2-d000d68f884c.png
Error :
[image: 2]
https://user-images.githubusercontent.com/52455180/80099215-67a53b00-856e-11ea-9b61-1f37a87921c1.png
This is where the error is occurring :
[image: AwsErr]
https://user-images.githubusercontent.com/52455180/80099805-5c064400-856f-11ea-9b36-db4fab1c8f9c.png
I am currently getting this error when testing code that I implemented to
test queries through the Dax Cluster
Hello,
we have sample code here to demonstrate how to use DAX Go client.
https://github.com/aws-samples/aws-dax-go-sample/blob/master/try_dax.go#L213
The error you attached can also indicate a network problem. We recommend
you to check your network security group setting to ensure the host you run
the client can connect to DAX node.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.create-cluster.cli.configure-inbound-rules.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-dax-go/issues/24#issuecomment-619219111, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMQGODG2RNTMNVAPVTAWKC3ROHXNLANCNFSM4MPAWMLQ
.

Ah the hours I wasted on this. My problem was not running my program from within the AWS VPC. I thought it's a security group issue as well. Then I scp my program binary to EC2, run it, and voila... I queried an Item from my DAX.
DAX is only accessible from AWS VPC!


Disable Facebook Like in favour of share

I want to add the Facebook share and not the like. Was expecting something similar to :like => 'false'

Check this fork


simplify patterns: x*1=x and x+0=x

How much perf gain observed with these simplifications?

How much perf gain observed with these simplifications?

These patterns are used to remove some redundant biasadd (e.g. bias is zero) or pattern like alpha * x * y + beta, where alpha = 1, beta = 0. The performance improvement from the these patterns may not significant. However it can help us to simplify the graph, which in turn enables more opportunities.


[enhancement]: The ControlNet preview should accurately display the image as it will be sent to AI model when ControlNet is set to crop or resize the input image.

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
When you input a image in the ControlNet, the preview image after preprocessing maintains the dimensions of the input image. However, the image actually sent to the AI model will be cropped or resized according to generation parameters set when ControlNet is set to crop or resize the input image. This leads to a mismatch between what is previewed and the final output. The correct behavior is to show the final processed image in the preview so that user can see what AI see.
Alternatives
No response
Additional Content
No response

I don't think this is feasible with the current implementation. The crop/resize logic is dependent on dynamic attributes like the size of the noise tensor, which isn't known at the time the control image is processed.

Ok... then please add basic image editing features like cropping or resizing of the asset images in invoke's gallery itself.

It's something we've wanted to do for a long time, but I don't see a feature request for it. Please do make one

Added new feature request, closing this one.


APIGatewayAuthStack.json is removed on pull, added on push

Whenever I pull an env the APIGatewayAuthStack.json is removed.  Then when I push it adds it back.  Should APIGatewayAuthStack.json  be in the gitignore?  Otherwise it keeps changing my repo.
Which Category is your question related to?
api
Amplify CLI Version
8.1.0
What AWS Services are you utilizing?
Cognito, lambda,

yes i've seen this too in our repo

Hey @franklin113 and @hisham I was able to reproduce this issue, and this doesn't appear to be the intended behavior. Marking as a bug 🙂

After further consideration I've adjusted the labels from bug to feature request and labeled as a p3 for the team to evaluate further 🙂


To add default foundry diamond template

this is to add a default foundry template with comprehensive tests

@collinsadi please assign me to this issue so I can start working on it

@collinsadi Done with this implementation here https://github.com/collinsadi/diamonds/pull/13


Access Denied error in Section 5: Medical Imaging Toolbox

When running section 1.4      # Downloading the zip archive containing sample images,
get error:
Access denied with the following error:
unzip:  cannot find or open Sampledata_5A.zip, Sampledata_5A.zip.zip or Sampledata_5A.zip.ZIP.
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

FileNotFoundError: [Errno 2] No such file or directory: 'Sampledata_5A.zip'

Thank you for bringing this to our attention. We have fixed the access issue, and it should work now.
I will close this issue, but feel free to re-open it if the issue still persists on your side.


add const TEST_NETWORK

hi
you have
export const NETWORK = {
  bech32: 'bc',
  pubKeyHash: 0x00,
  scriptHash: 0x05,
  wif: 0x80,
};

https://github.com/paulmillr/micro-btc-signer/blob/main/index.ts#L108
could you please add TEST_NETWORK exported variable for testnet
thanks

@paulmillr  hi, could you please check PR
https://github.com/paulmillr/micro-btc-signer/pull/15


Fix url path printing in etcd CLI

Based on https://neondb.slack.com/archives/C036U0GRMRB/p1654113394396859?thread_ts=1654082043.264319&cid=C036U0GRMRB

The only place that does not like URLs is the etcd CLI, the etcd-client Rust crate does not mind trailing /


Resolve alignment on the "people" cards

This is related to PR #499.
It fixes issue #432.
This was resolved by adding a fixed height (230px) to the media class, and 150px to the people-description class.

Note for reviewers: This does leave some whitespace, but that might be a sacrifice worth paying for proper alignment. :)

It looks a bit strange here:

Yeah. It looks a bit weird on every card with long description.
The .people .people-description class needs a height of auto.

Looks better. Thanks


Release version 0.17.3 - 0.18

I've noticed in master there's a lot of useful commits and bugfixes (ie. django 3.0 support).
The latest release, 0.17.2, is pretty old and does not include the latest works.
Is it possibile to release a new version (0.17.3 or 0.18) to have full support of the fixes through the package management?
Thank you all.

I fixed all the tests as part of #167. Seems some got fixes in #175 already though

0.18 and 0.18.1 has now been released


Add images and english terms for the three git states

Added the logo image
Added one image to represent Distributed Version Control Systems
Added one image to represent the three git states and their english terms on the text above, to help understanding the image

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

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

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


HACK: code-generator: correctly generate NewForConfigOrDie

Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>

LGTM, thanks


All settings gone after update to 5.207

Phone: LG Leon with Android 6.0
In google play store, I manually started the update for K9.
But my phone gave me a message that the update did not work.
But I have 5.207 now installed.
I started K9 mail, but all settings were gone, i.e. my 2 mail accounts are gone, K9 looks like after a fresh install.

Duplicate of #750


Create the Road Thing

Road (defined by dots joined by lines)

Line Thing implemented. Now time to define the Road Things based on it.

Not sure we need a road for the 1.0 scene, so removing it from this milestone.


Scheduler: remove allow(dead_code) markers

Problem

Some old #[allow(dead_code)]

Summary of Changes

Remove them

Fixes #

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

Project coverage is 81.8%. Comparing base (182d27f) to head (50e6e08).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #481     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%
=========================================
  Files         842      842
  Lines      228492   228489      -3
=========================================
- Hits       187104   187054     -50
- Misses      41388    41435     +47


ascii-math (npm/nodejs)

Not an issue, just a note. In case you don't know it, https://github.com/psalaets/ascii-math is a nodejs package based on asciimath. It would be worthwhile to connect up to reduce fragmentation (e.g., https://github.com/ForbesLindesay/ascii-math/pull/1)

I just published a placeholder package to https://www.npmjs.com/package/asciimath
so we can use the name in the future.
What about the get together aka hackathon to implement commonjs functionality?
Is this still a thing? I'd like it =)


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2023-10-31T17:35:55+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ds_istio
cbe73a7c4dd05db5adc4d6860350ef2953fd02fb
link
true
/test integ-ds

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-ds


current positions and final positions

Can we get the current positions of nodes, and the final position when the move completed?

Hello @AliZaibazr
Use events nodeSelected and nodeMoved
And Methods getNodeFromId
Jero

Is there any example to use these methods in vue.js
I am using them in a way
this.editor.on('nodeMoved', function(id){       this.getCoords(id) })
getCoords in an other method in which getNodeFromId is called, but unable to call this method from event.

Use arrow functions
View https://github.com/jerosoler/Drawflow/issues/65#issuecomment-726160493
Jero

Thank You @jerosoler


retain select value

For #1762, makes sure that when replacing option elements, the value is maintained.

+1

Looks like tests were failing because bower install failed; GitHub was probably down, so I restarted the tests.


user_settings: Create RealmAuditLog entries for all user settings.

We previously created RealmAuditLog entries for user notification settings only.
This PR changes the code to create entries for all user settings. We cannot backfill
the entries since we don't have the data to do that.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @sahil839!


Optionally disable Barbican and Manila

Fix the Makefile and standalone.sh to forward
the appropriate env variables for disabling
Barbican and Manila.
Jira: https://issues.redhat.com/browse/OSPRH-6857

/retest

/retest

/retest

/approve


Why can't I use alternate port for Views?

Question
I'm sorry if this is the wrong place to ask this or if this has already been answered, I couldn't find anything when searching...
I'm trying to build a secondary Pode server to create a different API on the same machine, so I am changing my endpoints' ports, but I cannot imagine why the Views keep returning 404 pages when I'm using port 591 for my pages endpoint. The view loads just fine if I change the port back to 80 (but that will of course conflict with my main server listening on 80).
I feel like I must be missing something but I can't see anything in the documentation that would indicate what I am missing. How can I get this to work so the page renders properly using port 591 for all views.
I am using Pode 2.0.3.
.\server.ps1
Import-Module -Name Pode -MaximumVersion 2.99.99 -Force

Start-PodeServer -FilePath .\server-debugscriptblock.ps1 -Threads 2

.\server-debugscriptblock.ps1
{
    Add-PodeEndpoint -Address localhost -Port 8008 -Protocol Http -Name 'routes-endpoint'

    Add-PodeEndpoint -Address localhost -Hostname 'localhost' -Port 591 -Protocol Http -Name 'pages-endpoint'

    Set-PodeViewEngine -Type Pode

    Add-PodeRoute -EndpointName 'routes-endpoint' -Method POST `
        -Path '/api/tool' `
        -FilePath '.\routes\tool.ps1'

    # render the index.pode in the /views directory
    Add-PodeRoute -Method GET -Path '/' -EndpointName 'pages-endpoint' -ScriptBlock {
        Write-PodeViewResponse -Path 'index'
    }
}

.\views\index.pode
<!-- /views/index.pode -->
<!DOCTYPE pode>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        <span>$([DateTime]::Now.ToString('yyyy-MM-dd HH:mm:ss');)</span>

    </body>
</html>

Navigating to localhost:591
I get a 404 error page:

Hey @sijet-dot,
It would seem there's a bug when the -Hostname parameter is set to localhost on Add-PodeEndpoint, and using -EndpointName on a route for that endpoint. If you you remove the -Hostname it should work:
Add-PodeEndpoint -Address localhost -Port 591 -Protocol Http -Name 'pages-endpoint'

I'll get this fixed so -Hostname 'localhost' works!

Hey @sijet-dot,
It would seem there's a bug when the -Hostname parameter is set to localhost on Add-PodeEndpoint, and using -EndpointName on a route for that endpoint. If you you remove the -Hostname it should work:
Add-PodeEndpoint -Address localhost -Port 591 -Protocol Http -Name 'pages-endpoint'

I'll get this fixed so -Hostname 'localhost' works!

I tested my server using port 591 with localhost and it worked, but it is not working on my server machine when I switch the Add-PodeEndpoint calls to use the actual machine name:
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 8008 -Protocol Http -Name 'routes-endpoint'

Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 591 -Protocol Http -Name 'pages-endpoint'

When running this on my server, I can hit the server on port 591 and with that hostname, but I get a 404 error page.

I tested my server using port 591 with localhost and it worked, but it is not working on my server machine when I switch the Add-PodeEndpoint calls to use the actual machine name:
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 8008 -Protocol Http -Name 'routes-endpoint'

Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 591 -Protocol Http -Name 'pages-endpoint'

When running this on my server, I can hit the server on port 591 and with that hostname, but I get a 404 error page.

Localhost and ComputerName suffered from the same bug; are you able to try using the code changes in the commit above? They should resolve the issue for you.

Localhost and ComputerName suffered from the same bug; are you able to try using the code changes in the commit above? They should resolve the issue for you.

I should have been more clear, I was able to test commit 89e428c on my local machine and on my server, I am still getting 404 errors using this commit from my server, but not from my local machine when using localhost. I copied the built pode directory up to my server and uninstalled Pode 2.0.3 to ensure I used this commit and tried.

I should have been more clear, I was able to test commit 89e428c on my local machine and on my server, I am still getting 404 errors using this commit from my server, but not from my local machine when using localhost. I copied the built pode directory up to my server and uninstalled Pode 2.0.3 to ensure I used this commit and tried.

Hi @sijet-dot,
Are you all right to double check on your server? I have edited the commit a little bit, but the former also worked for me as well.
I tried myself on a server with 2 endpoints setup like yours above: with the server's IP and Name, ports 8008/591 and HTTP, and using -Name/-EndpointName. For me it worked locally on the server, and externally as well 🤔
So for me:
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 8008 -Protocol Http -Name 'routes-endpoint'
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 591 -Protocol Http -Name 'pages-endpoint'

Add-PodeRoute -Method GET -Path '/' -EndpointName 'pages-endpoint' -ScriptBlock {
    Write-PodeViewResponse -Path 'index'
}

and http://qa-dockertools.contoso.local:591/ works - on the box and off the box.

Hi @sijet-dot,
Are you all right to double check on your server? I have edited the commit a little bit, but the former also worked for me as well.
I tried myself on a server with 2 endpoints setup like yours above: with the server's IP and Name, ports 8008/591 and HTTP, and using -Name/-EndpointName. For me it worked locally on the server, and externally as well 🤔
So for me:
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 8008 -Protocol Http -Name 'routes-endpoint'
Add-PodeEndpoint -Address <IP_ADDRESS> -Hostname 'qa-dockertools.contoso.local' -Port 591 -Protocol Http -Name 'pages-endpoint'

Add-PodeRoute -Method GET -Path '/' -EndpointName 'pages-endpoint' -ScriptBlock {
    Write-PodeViewResponse -Path 'index'
}

and http://qa-dockertools.contoso.local:591/ works - on the box and off the box.

@Badgerati I must have messed up testing on the box, because yes, it's working now using that same commit! Thanks!

@Badgerati I must have messed up testing on the box, because yes, it's working now using that same commit! Thanks!

I'll get this merge then, the same changes are also in Issue-669 with further improvements for more use cases - which should also be getting merged soon.

I'll get this merge then, the same changes are also in Issue-669 with further improvements for more use cases - which should also be getting merged soon.


Add transition between Chats and Search views

Details
cc @shawnborton wondering if you are into a transition like this?
Was cleaning some things up and thought it could use a fade.
Fixed Issues

Fixes GH_LINK
Tests

Tested On

[ ] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots
Web
https://user-images.githubusercontent.com/32969087/104796392-c85a5080-5759-11eb-8223-4d820588504c.mp4
Mobile Web

Desktop

iOS

Android

Looks great to me! Curious about how the animation stuff works - can we pass easing functions into it, etc? How do we control the animation function/timing/duration/etc?

Looks great to me! Curious about how the animation stuff works - can we pass easing functions into it, etc? How do we control the animation function/timing/duration/etc?

Can read about the animation options here -> https://reactnative.dev/docs/animations

Can read about the animation options here -> https://reactnative.dev/docs/animations

Seems like Animated.Timing supports an easing parameter. Didn't spend too much time with it yet.

Seems like Animated.Timing supports an easing parameter. Didn't spend too much time with it yet.

Bit lost on exactly how they are supposed to work... https://reactnative.dev/docs/easing

Bit lost on exactly how they are supposed to work... https://reactnative.dev/docs/easing

This might fill in some gaps - https://medium.com/oberonamsterdam/what-the-react-native-docs-forgot-to-tell-you-about-animations-c21d67abf14d

This might fill in some gaps - https://medium.com/oberonamsterdam/what-the-react-native-docs-forgot-to-tell-you-about-animations-c21d67abf14d

Cool, I remember Lucas doing something with animations for the FAB. Here it is for reference: https://github.com/Expensify/Expensify.cash/blob/d5d08ada8f7a7df458e553b31c5f9fb69b2eea20/src/components/FAB.js#L45-L51
Basically it would be nice to reuse easeInOut for this, that's really all I am getting at.

Cool, I remember Lucas doing something with animations for the FAB. Here it is for reference: https://github.com/Expensify/Expensify.cash/blob/d5d08ada8f7a7df458e553b31c5f9fb69b2eea20/src/components/FAB.js#L45-L51
Basically it would be nice to reuse easeInOut for this, that's really all I am getting at.

Care to test it out? I'm curious if you can spot any visual difference.

Care to test it out? I'm curious if you can spot any visual difference.

I tried and couldn't 🤷♂

I tried and couldn't 🤷♂

Yeah I tried and I don't think I see a difference really, though I might be doing something wrong for all I know.

Yeah I tried and I don't think I see a difference really, though I might be doing something wrong for all I know.

Are we still planning to do this one? The spacing in the LHN is killing me, and I know this branch fixes it.
For reference:

Are we still planning to do this one? The spacing in the LHN is killing me, and I know this branch fixes it.
For reference:

Yeah let's do it lemme fix up the conflicts here.

Yeah let's do it lemme fix up the conflicts here.

Just pulled, did npm install, and npm run web and I am still seeing the misalignment in the LHN header area:

Will take another look at this today. Didn't quite grasp what you were asking in that last comment.

Ah, basically there is this empty div with a margin top of 4px that causes the top row of the LHN to not line up with the bottom edge of the chat header:

So we should get rid of that empty div or whatever it is.

It also looks like the LHN header area is too tall. Currently it is 68px tall but it should be 64px tall.

That being said, I can see where we can solve all of that in a separate issue.

Updated


Windows platform guide is outdated

Webpage: https://cordova.apache.org/docs/en/latest/guide/platforms/windows/index.html
Source: https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/platforms/windows/index.md

[x] Determine whether or not we are still supporting Windows 8.1 (I thought we had already dropped Windows pre-10)
Remove all mention of Windows 8.1 host, Windows 8.1 target (assuming I am not mistaken)
ensure there is no mention of Windows Phone 7, 8, or 8.1
[ ] explain that the developer must use VS 2017 and no other version or VS 2015 (which is deprecated), along with link to apache/cordova-windows#327, as I proposed in apache/cordova-windows#355 (VS 2019 is definitely not supported as discussed in apache/cordova-windows#327; now I am not sure about VS 2017. Any input from @janpio or others?)

You are mistaken, see https://github.com/apache/cordova-windows/pull/355#issuecomment-510803315
Your checkboxes 1 to 3 are invalid (and only Windows versions mentioned are 8.1 and 10).
Your checkbox 4 is already covered in https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/platforms/windows/index.md, which just hasn't been promoted to lastest.
So I think you could fix all that by promoting dev to latest in the docs and deploy the result.

I updated the description accordingly.

So I think you could fix all that by promoting dev to latest in the docs and deploy the result.

Any pointers would be appreciated. But I cannot promise when I will get a chance to do this.

Platform was deprecated. Docs removed in dev (next release).


Remove unused imports from the JSX visualizers

With the help of ESLint's no-unused-vars I was able to identify unused imports.
To keep the code clean and understandable, I recommend to remove these imports.

Thanks!


Set GitHub Release Title to the version of the release

Shortening this

to

@cardil I don't know what's going on with these unit tests
    sharedlib_test.go:67:
        	Error Trace:	/home/prow/go/src/knative.dev/hack/test/unit/sharedlib_test.go:67
        	            				/home/prow/go/src/knative.dev/hack/test/unit/sharedlib_test.go:97
        	Error:      	Not equal:
        	            	expected: ""
        	            	actual  : "Error: cannot list tags: lstat /home/prow/go/src/knative.dev/hack/test/unit/unittest-RmC09gAzsjtw.bash: no such file or directoryexit status 21\n"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1,2 @@
        	            	+Error: cannot list tags: lstat /home/prow/go/src/knative.dev/hack/test/unit/unittest-RmC09gAzsjtw.bash: no such file or directoryexit status 21

        	Test:       	TestMainFunc/main_--build-tests

/assign @kvmware @upodroid

It looks to me like a fluke. Maybe a file collision on file unittest-RmC09gAzsjtw.bash?! First time I see such failure. It works on my PR. Retesting.
/approve
/lgtm
/test unit-tests


[WIP] Os/commit denied race condition

To prevent the race condition when the executor gets preempted after being authorized to commit.

I chatted with @onursatici offline and he's planning to address these comments on Monday

Spoke offline. Seems everything in spark uses system.currenttimemillis so we can leave as is. Worst case scenario we are holding lock for longer than the setting.

Upstream added a (partial) fix for this and some tests at the PR linked from https://issues.apache.org/jira/browse/SPARK-18113.  Maybe we can use that as a base for adding tests here?

@onursatici is this something you guys can work through this week?

@ash211 can we merge this?

We hit a TaskCommitDenied exception once after having this pr on our stack
yesterday; this is less than what we would have otherwise, but still I want
to investigate a bit next week.
On Wed, 15 Feb 2017 at 19:13, Robert Kruszewski<EMAIL_ADDRESS>wrote:

@ash211 https://github.com/ash211 can we merge this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/palantir/spark/pull/94#issuecomment-280055541, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE0UsXwHgV2Fe00Gejo7EcqaCnCDC6A1ks5rcyQpgaJpZM4LiPXB
.

It turns out that exception we got was irrelevant from this PR, and a fix for that is here: https://github.com/apache/spark/pull/16959

Hey @onursatici is anything blocking this? Would like to see this fixed if possible.

We have a correct fixed already merged upstream. Will have a release within
a week
On Mon, 6 Mar 2017 at 11:22, Greg Kinman<EMAIL_ADDRESS>wrote:

Hey @onursatici https://github.com/onursatici is anything blocking
this? Would like to see this fixed if possible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/palantir/spark/pull/94#issuecomment-284370329, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAfQVO6Hycct0aivte7EIrYTt1y1AFt6ks5ri-x3gaJpZM4LiPXB
.


[Feature]: export LastUpdated and PrevNextPage component in default theme

What problem does this feature solve?
#381 More fine-grained component export.
What does the proposed API look like?
We export components in @rspress/theme-default package, so user can import and use them in custom page:
import { LastUpdated,  PrevNextPage } from 'rspress/theme'

Is anyone interested in this feature?

I am interesting in this feature.


[🐞] CloudFlare Pages - TypeError ERR_INVALID_STATE WritableStream is locked

Which component is affected?
Qwik City (routing)
Describe the bug
When running a Qwik app with CloudFlare Pages adapter locally with wrangler the following error is show on each request:
GET / 200 OK (9.81ms)
TypeError [ERR_INVALID_STATE]: Invalid state: WritableStream is locked
    at TypeError.get (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:292489)
    at getStackString (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:103714)
    at https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:99368
    at https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:101165
    at formatValue (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:103551)
    at inspect (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:92244)
    at formatWithOptionsInternal (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:115080)
    at formatWithOptions (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:116335)
    at console.value (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:1056416)
    at console.warn (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:6:1056510)
    at consoleCall (https://qwikstarterh6qgw5-elhb.w-corp.staticblitz.com/blitz.50571018ddcbc3a25df8994336c28d766f1073a1.js:15:389734)
    at eval (/home/projects/qwik-starter-h6qgw5/server/entry.cloudflare-pages.js:15:13290) {
  code: 'ERR_INVALID_STATE'
}

Reproduction
https://stackblitz.com/edit/qwik-starter-h6qgw5
Steps to reproduce

Create a new Qwik app npm create qwik@latest
Add CloudFlatre Pages npx qwik add
Build and launch the app with wrangler: npm run build && npm run deploy
Open the app under http://localhost:8788/ and see the error in the log

System Info
success Install finished in 2.352s

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @builder.io/qwik: 0.20.1 => 0.20.1
    @builder.io/qwik-city: 0.5.2 => 0.5.2
    undici: 5.20.0 => 5.20.0
    vite: 4.1.4 => 4.1.4

Additional Information
The application itself seems to work without issue.

I still get this error even with a blank project.

(error) TypeError: This WritableStream is currently locked to a writer.

@gioboa nope never did - the app had no issue so I did not dig further

I experienced this issue too, and have found the reason; the polyfill for cf pages TextEncoderStream doesn't properly lock the stream (among other issues) – I initially looked to fix the polyfill but then I realised that CF pages implemented the native API over a year ago 😅 so I'm sending my favorite kind of PR: one that only removes code at #5352


fastboot is unable to handle file greater than 100M?

Here is the error code:
fastboot.FastbootRemoteFailure: ('FAIL: data too large', 'data too large')

I noticed that the adb in platform-tools is working by sending sparse data.

Yes, that feature started coming out when I wrote this. Unfortunately, as far as I can tell, there's a lot of code in C++ to generate the files. If you can figure out how to get the data in 'sparse' format from the image in Python, then I can work on adding this to fastboot. Sorry about that!

@fahhem Thanks for your comment.
I don't know fastboot protocol very well. Can the big file be downloaded by multiple chunks and then flash once? If yes, the solution will be simple.

    def download(self, source_file):
        file_size = os.stat(source_file).st_size
        if file_size > MAX_ACCEPT_SIZE:
            chunks = [MAX_ACCEPT_SIZE] * (file_size / MAX_ACCEPT_SIZE) + \
                     [file_size % MAX_ACCEPT_SIZE]
            offset = 0
            for i in chunks:
                f = open(source_file)
                f.seek(offset)
                temp = StringIO(f.read(i))
                self.fb_inst.Download(temp, info_cb=self.info_cb)
                offset += i

I tried this codes and the big files can be downloaded with returning "OK". I am not sure whether I can flash the files. Yet no idea how to combine the small size file chunks.

The way normal fastboot flash works is to send 2 commands:

download:%(size)d followed by size bytes
flash:%(partition)s

From what I gather with the code, they do this instead:

getvar max-download-size to know the 'sparse limit'
download:%(total_size)d followed by the data in up to max-download-size byte chunks
flash:%(partition)s

However, the major factor here is what the data is in the second case.  If we're lucky, we can get that data and then send it over correctly. The code that seem relevant here is sparse's img2simg.c which may do it for us, though here is the initial sparse-file entry point in fastboot
What your code is doing is overwriting the data that will be flashed with the latest chunk, so you will end up with the end of your bootloader flashed to the front of the partition.

After looking into it and following the winding codebase, it seems like android-fastboot essentially does this:

Call getvar max-download-size to get the target's max size.
If the result (max_size) is greater than the filesize, then just flash it normally.
Call s = sparse_file_import_auto(fd, check_crc=false, verbose=true) on the file descriptor
Call count = sparse_file_resparse(s, max_size, out_s=nullptr, count=0) to get the size of out_s
Allocate out_s as a list of struct sparse_file of size count
Call sparse_file_response(s, max_size, out_s, count)

Now the file is in a list of struct sparse_files called out_s.

Rip them into a list of (sparse_file, block size) pairs by calling sparse_file_len(s, sparse=true, crc=false)
For each pair:

Immediately forget that we got the size and get the size again (ugh...) with sparse_file_len(s, sparse=true, crc=false)
Send a download:%(block_size)s with that block size
Call sparse_file_callback(s, sparse=true, crc=false, write=callback, priv=transport) which calls the callback as callback(transport, data, len)
In callback, concatenate the data and send it in chunks of 1024 bytes
Send the last chunk, if any, of bytes (< 1024 by definition)
Send a flash:%(partition)s for the current partition

So that's how it's done. It looks like libsparse is pulled out into a separate deb file in newer Debian and Ubuntu distributions, but it seems we'll need to ship a copy internally for now.


feat: add logic to override default prompts and method to get default…

Adding Options to the fromLLM Method in ChatVectorDBQAChain
The ChatVectorDBQAChain class provides a powerful mechanism for doing question answering over a large corpus of text documents. Given a question and a chat history, it first combines them into a standalone question, then looks up relevant documents from a vector database, and finally passes those documents and the question to a question answering chain to return a response. This process can be customized in a variety of ways to suit the specific needs of the user.
In a recent update to the library, the fromLLM method in the ChatVectorDBQAChain class has been enhanced to allow for additional options to be passed in during instantiation. These options provide a way for the user to customize the behavior of the ChatVectorDBQAChain object in various ways.
Available Options
The following options are now available when creating a new ChatVectorDBQAChain instance using the fromLLM method:
questionGeneratorTemplate: A string that specifies a question generation template. If provided, the ChatVectorDBQAChain will use this template to generate a question from the conversation context, instead of using the question provided in the question parameter. This can be useful if the original question does not contain enough information to retrieve a suitable answer.
qaTemplate: A string that specifies a response template. If provided, the ChatVectorDBQAChain will use this template to format a response before returning the result. This can be useful if you want to customize the way the response is presented to the end user.
returnSourceDocuments: A boolean value that indicates whether the ChatVectorDBQAChain should return the source documents that were used to retrieve the answer. If set to true, the documents will be included in the result returned by the call() method. This can be useful if you want to allow the user to see the sources used to generate the answer. If not set, the default value will be false.
Benefits of the Options
The addition of these options to the fromLLM method in the ChatVectorDBQAChain class provides a way for users to further customize the question answering process to their specific needs. By allowing for the customization of the question generation and response formatting steps, users can ensure that the ChatVectorDBQAChain object returns answers that are tailored to their requirements. Additionally, the returnSourceDocuments option provides users with greater transparency into the question answering process, allowing them to see the sources used to generate the answer and to perform additional analysis if necessary. Overall, the addition of these options enhances the flexibility and utility of the ChatVectorDBQAChain class, making it an even more powerful tool for doing question answering over large collections of text documents.

Is there an example of using this anywhere?


Support NeoForge 1.20.2+

Needs an updated ForgeWrapper!

Currently includes a workaround for https://github.com/neoforged/NeoForge/issues/228


Saving videos of not-fully-solved plans

Adds a flag that enables saving videos of plans that did not solve the goal to help debug planning failures. For each NSRT skeleton, it saves the refined plan that made the most progress towards the goal as measured by number of options in the plan (not number of goal conditions fulfilled– maybe we should change it to this.).
Still need to write tests.

moved this code to #371


Save and Load TODO items with SharedPreferences

Closing as I have decided to use SQLite immediately instead of using SharedPreferences temporarily.


FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

I am struggling with the React Native and aws-sdk. The reason I use aws-sdk instead of aws-amplify is because:
aws-amplify does not support Using a pre-signed URL to upload a file
My project is working fine until aws-sdk is installed by npm and aws-sdk-react-native is imported (this file is 4.3MB when aws-sdk version is "2.369.0").
After adding this line of code:
const AWS = require("aws-sdk/dist/aws-sdk-react-native");

The application crashes with the error message:
transform[stdout]: <--- Last few GCs --->
transform[stdout]:
transform[stdout]: [5433:0x103800000]    59176 ms: Mark-sweep 1256.2 (1442.0) -> 1236.2 (1434.5) MB, 3855.9 / 0.0 ms  (average mu = 0.239, current mu = 0.130) allocation failure scavenge might not succeed
transform[stdout]: [5433:0x103800000]    63390 ms: Mark-sweep 1259.8 (1442.5) -> 1243.1 (1438.5) MB, 3924.9 / 0.0 ms  (average mu = 0.161, current mu = 0.069) allocation failure scavenge might not succeed
transform[stdout]:
transform[stdout]:
transform[stdout]: <--- JS stacktrace --->
transform[stdout]:
transform[stdout]: ==== JS stack trace =========================================
transform[stdout]:
transform[stdout]:     0: ExitFrame [pc: 0x1e49a5a5be3d]
transform[stdout]: Security context: 0x21d5cac9e6e1 <JSObject>
transform[stdout]:     1: queue [0x21d5c3f5fc09] [/Users/yumac/Projects/ReactNative/Demo/OutOfMemory/node_modules/@babel/generator/lib/buffer.js:~88] [pc=0x1e49a5f9825e](this=0x21d55e682309 <Buffer map = 0x21d51ca6ba29>,str=0x21d577355491 <String[12]:             >)
transform[stdout]:     2: StringLiteral [0x21d5c3f07491]<EMAIL_ADDRESS>transform[stdout]:
transform[stderr]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
transform[stderr]:  1: 0x10003ae75 node::Abort() [/usr/local/bin/node]
transform[stderr]:  2: 0x10003b07f node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
transform[stderr]:  3: 0x1001a7ae5 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
transform[stderr]:  4: 0x100572ef2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
transform[stderr]:  5: 0x1005759c5 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
transform[stderr]:  6: 0x10057186f v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
transform[stderr]:  7: 0x10056fa44 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
transform[stderr]:  8: 0x10057c2dc v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
transform[stderr]:  9: 0x10057c35f v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
transform[stderr]: 10: 0x10054bca4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
transform[stderr]: 11: 0x1007d3b54 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
transform[stderr]: 12: 0x1e49a5a5be3d
transform[stderr]: 13: 0x1e49a5f9825e
transform[stderr]: 14: 0x1e49a5f84e0f
transform[stderr]: 15: 0x1e49a5a0a5c3
transform[stderr]: 16: 0x1e49a5ee8a79

I try a lot of solution like:
increase-memory-limit
node --max-old-space-size=8192 index.js
If you tried these solution and it is work, please let me know. Maybe I did something wrong
If you have any suggestion, I am always willing to hear from you.
Thank you in advance!

What the heck, I have a similar problem but I don't understand why would this program need 8GB of ram to process a 4MB file?

Same issue but only after upgrading to the latest RN version and only when archieving my app.

^^ Me too. Going from SDK 27 to 33... Of course it cant be smooth.

for anyone bundle images in terminal by using react-native bundle command
node --expose-gc --max_old_space_size=8192 ./node_modules/react-native/local-cli/cli.js bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'

I am having the same issue and I have tried the solution but that is not working in my case. I am getting this also when I am trying to build debug apk.
@truongluong1314520

Configure project :react-native-fetch-blob
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1.
Android SDK Build Tools 28.0.3 will be used.
transform[stderr]:  9: 00007FF62C6FA0B7
transform[stderr]: 10: 00007FF62C6FA136
transform[stderr]: 11: 00007FF62C82DCDF
transform[stderr]: 12: 00007FF62CB20117
transform[stderr]: 13: 00007FF62C71F41E
transform[stderr]: 14: 00007FF62C71DFCC
transform[stderr]: 15: 00007FF62C7258B3
transform[stderr]: 16:<PHONE_NUMBER>4DC6C1
<=======------> 56% EXECUTING [35m 40s]
IDLE
:app:bundleDebugJsAndAssets
IDLE
IDLE

Thank you for the solution. I tried the solution and that worked but I am again facing this with creating debug build.
@truongluong1314520
Task :app:bundleDebugJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
transform[stderr]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
transform[stderr]:  1: 00007FF62C36EEE5
transform[stderr]:  2: 00007FF62C348CD6
transform[stderr]:  3: 00007FF62C3496E0
transform[stderr]:  4: 00007FF62C7B0D3E
transform[stderr]:  5: 00007FF62C7B0C6F
transform[stderr]:  6: 00007FF62C6FC594
transform[stderr]:  9: 00007FF62C6FA0B7
transform[stderr]: 11: 00007FF62C81F7B7
transform[stderr]: 12: 00007FF62C8F87FA
transform[stderr]: 13: 00000139EC55C6C1
<========-----> 62% EXECUTING

IDLE
IDLE
IDLE

Thank you for the solution. I tried the solution and that worked but now I am again facing this with creating debug build.
@truongluong1314520

Configure project :react-native-fetch-blob
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Configure project :react-native-splash-screen
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :app:bundleDebugJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
transform[stderr]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
transform[stderr]:  1: 00007FF62C36EEE5
transform[stderr]:  2: 00007FF62C348CD6
transform[stderr]:  3: 00007FF62C3496E0
transform[stderr]:  4: 00007FF62C7B0D3E
transform[stderr]:  5: 00007FF62C7B0C6F
transform[stderr]:  6: 00007FF62C6FC594
transform[stderr]:  7: 00007FF62C6F2B67
transform[stderr]:  8: 00007FF62C6F10DC
transform[stderr]:  9: 00007FF62C6FA0B7
transform[stderr]: 10: 00007FF62C6FA136
transform[stderr]: 11: 00007FF62C81F7B7
transform[stderr]: 12: 00007FF62C8F87FA
transform[stderr]: 13: 0000007C3E35C6C1
<=======------> 56% EXECUTING [4m 3s]
IDLE
:app:bundleDebugJsAndAssets
IDLE
IDLE

Hi @aashu700 , sorry for the late reply. As far as I know, for debug, instead of using the started Nodejs server, you should shut it down and start a new one by using this command:
node --max-old-space-size=8192 node_modules/react-native/local-cli/cli.js start

You can change the number "8192" to the higher number, but make sure you have enough RAM. Hope it can help


join us form does not have compulsory fields

What happened?
even if we are not filling all the info, the form is being submitted. This will not add valuable information to our database.

How can we reproduce this bug?
We can perform some checks in frontend , if any of the field is empty then we can show error to fill the field then only pass it into another page.
Desktop Information (Optional)
No response
Urgency (Optional)
None
Please assign this issue to me under GSSOC'23

can i work on this issue?

please assign me this issue

Issue assigned before already


Example category rehaul

What

WIP rehaul of the example categories to work with the new design where all examples are shown on one big page with groups of examples separated by category title and description. WIP landing page PR: https://github.com/rerun-io/landing/pull/757
Added some example that weren't previously listed (e.g. blueprint_stock)
Added a script to check that all of our examples are indeed listed in the manifest (or explicitly excluded).

Closes https://github.com/rerun-io/rerun/issues/5665

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Another follow up PR should probably go through and clean up the formatting of all the tags. @martenbjork thinks it looks much better to for with "Pinhole Camera" rather than "pinhole-camera" so we should probably just take a pass and fix that.

It seems the frontend does that automatically. We should do the same  in app though.

For this or a later PR it would be great to add a last category called "API usage examples", which doesn't contain any examples but links to https://www.rerun.io/docs/reference/types/archetypes.

This one seems tricky. We probably need to either codegen READMEs, or some custom treatment on landing.
Relatedly, I think we shouldn't first focus on linking all example that make use or primitive XXX in the reference doc of XXX. This feels more useful than the other way round?