[BUG] Trying to TRIM on 1.4.1: the discard operation is not supported

Describe the bug (🐛 if you encounter this issue)
I just upgraded from Longhorn Manager 1.2.4 to 1.4.1. The upgrade process was flawless. And upgrading the engine on the volumes was also done without any problems.
But i tried the new TRIM feature, since that was the reason I upgraded. But when I right click a volume, click "Trim Filesystem", it just says "Internal error".
I read the manual, and it said I could try to trim it manually by using fstrim. I tried that.  I tried both the mountpoints that df mentioned. Neither the "globalmount" or "mount" mountpoints accepts fstrim.
Maybe it is because the filesystems was created in < 1.4.0 (1.2.4)? But the documentation says only that you need to be running >1.4.0, not that it only works with new volumes created after the upgrade.
To Reproduce
Steps to reproduce the behavior:

Find a volume for trimming
Click on "Trim filesystem"
Click on "OK"
See error

Expected behavior
I would expect either the functionality to work. Or some informative error message if it is not possible with old volumes. And if so, it should be mentioned in the Prerequisites in the documentation for trim.
Environment

Longhorn version: 1.4.1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE

Number of management node in the cluster: 3
Number of worker node in the cluster: 3

Node config

OS type and version: Ubuntu 20.04.3 LTS
CPU per node: 1 cpu, 6 cores, (12 if you include ht)
Memory per node: 64GB
Disk type(e.g. SSD/NVMe): SSD
Network bandwidth between the nodes: 10GE

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal
Number of Longhorn volumes in the cluster: 61

Please check the concern of the discard mentioned in the doc.
If you want to enable to discard, you can add the discard the storageclass's mount options in the doc.

@derekbit Yes, I have read the doc about trim/discard. Thats the doc I was referring to. I don't feel that it says anything about my issue. I am not even using snapshots at the moment on this volume.
Do you manually need to add the discard mount option to be able to use this new feature? According to the documentation, it seems to be enough to be at version 1.4.0 or higher? But it also says that it would only trim the head unless you enable the extra "remove snapshots" option.

@derekbit Yes, I have read the doc about trim/discard. Thats the doc I was referring to. I don't feel that it says anything about my issue. I am not even using snapshots at the moment on this volume.
Do you manually need to add the discard mount option to be able to use this new feature? According to the documentation, it seems to be enough to be at version 1.4.0 or higher? But it also says that it would only trim the head unless you enable the extra "remove snapshots" option.

I mean the failure is caused by the lack of discard option in the mount point. You can add discard in storageclass' mount options and see if it can work.

I will try with an updated StorageClass when I have resolved issue #5807 first. Since I am now unable to mount anything.

For anyone looking back at this issue. This was now solved.
Either because I was able to fix the issue with pods not being able to mount any volumes at all.
Or by adding the following to my longhorn storage classes:
mountOptions:
- discard

If the latter is the reason, it should maybe be mentioned in the doc, I think.

I have a similar problem after update from 1.3.1 to 1.4.1. When I try to do a trim I get the following error: unable to trim filesystem for volume pvc-06043a16-9bd2-4d1a-83ad-38841f4c4602: cannot find volume pvc-06043a16-9bd2-4d1a-83ad-38841f4c4602 mount info on host: failed to execute: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net fstrim /var/lib/kubelet/pods/7ed1a206-b91a-4cb1-9949-fcf4cf6ae1af/volume-subpaths/pvc-06043a16-9bd2-4d1a-83ad-38841f4c4602/postgres/0], output , stderr fstrim: /var/lib/kubelet/pods/7ed1a206-b91a-4cb1-9949-fcf4cf6ae1af/volume-subpaths/pvc-06043a16-9bd2-4d1a-83ad-38841f4c4602/postgres/0: the discard operation is not supported : exit status 1 Tried to add Storageclass "mountOptions:- discard", reattach volume, but no change. Can you please tell me how to solve this problem?

Have you tried trimming after reattaching the volumes?
https://github.com/longhorn/longhorn/issues/5203#issuecomment-1372015161


General: Adjust the color of correction status based on the correctness of tutors' assessment in text exercises

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[ ] *This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] *Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[ ] *I followed the coding and design guidelines.
[ ] *I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] *I added @PreAuthorize and checked the course groups for all new REST Calls (security).
[ ] *I implemented the changes with a good performance and prevented too many database calls.
[ ] *I documented the Java code using JavaDoc style.

Client

[x] I followed the coding and design guidelines.
[ ] *I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] *I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[ ] *I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes.
[x] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] *I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] *I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

[ ] * - not needed
Motivation and Context

This PR solved the problem of the wrong color that correction status has in tutor training for text exercises.
As seen in Before screenshots, the color is dependent on what score the tutor gave to the feedback. We want however, the color to always be red if the correction status is indicating a wrong assessment or green if the correction status shows a right assessment.
Description

In order to achieve that we use text-success and text-danger css classes. As well as text-dark for coloring the exclamation mark.
Steps for Testing

Prerequisites:

1 Instructor
1 Tutor

Log in to Artemis as Instructor
Navigate to Course Administration
Navigate to an existing or new Text exercise.
Create an example submissions and example assessment and check Used for Tutorial.

Log in to Artemis as Tutor
Navigate to Course Administration
Navigate to the exercise dashboard of the exercise created as instructor and assess the example submission.
During the tutor training, observe the color that correction status takes. See after screenshots.

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

Before

After

Tested on TS1. Looks good. 👍 ✅


Test pipeline

Description
Test a Github Actions CI workflow to build the code and run the automated tests and checks (from Code Climate and SYNK).
Type of change

[x] New Feature
[ ] Bug Fix
[ ] Refactor
[ ] Documentation Update
[ ] Style
[ ] Performance Improvements
[ ] Test Update
[ ] Build/CI Update

Testing

[ ] Unit Tests Added/Updated
[ ] Integration Tests Added/Updated
[x] Manual Testing Completed

Test Cases

Run mvn clean install and viewed jacoco test coverage
Test CI pipeline with this PR

Deployment Instructions (optional)

Configure the necessary secrets in your GitHub repository:

CC_TEST_REPORTER_ID from Code Climate (Under 'Repo Settings' / 'Test Coverage')
SNYK_TOKEN from Snyk (https://app.snyk.io/account)

QA Instructions (optional)

Breaking Changes

[ ] This PR introduces breaking changes

Dependencies

Code Climate - https://codeclimate.com/
SYNK - https://snyk.io/
Jacoco  - https://www.jacoco.org/jacoco/

Related Tickets & Documents

Part of deliverable 1.4.1
Screenshots/Recordings

TODO
Checklist

[ ] Code follows style guidelines
[x] Self-review completed
[x] Tests pass locally
[ ] Documentation updated
[x] No new warnings generated

Additional Notes

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)

@timler I see that Code Climate is still not reporting a status even after I enabled the web hook. The only other thing I can think of is to maybe close this PR and create a new one from the same branch. Maybe Code Climate needs to be triggered at the creation of the PR.


[cc] Update choreo connent doc for auth, qsg, logging and tracing

Description:
$subject
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Closed with https://github.com/wso2/docs-apim/pull/6378


Unable to use integer division in template interpolation

Using

[2.1.0] Dart SDK Version (dart --version)
[5.2.0] AngularDart Version (i.e. 4.0.0, 5.0.0-alpha+5, MASTER)
[Windows 10 x64 ] Whether you are using Windows, macOS, or Linux (if applicable)

the following template expression will result in a compilation error:
{{ 1234 ~/ 1000 }}
Error message:
Lexer Error: Unexpected character [~] at column 6 in expression [ 1234 ~/ 1000 ]

Ah, this is because ~/ is specific to Dart and not in JavaScript/TypeScript.
Our template syntax was essentially borrowed from the TypeScript version of Angular when we split, so it has technically never fully supported Dart syntax. There just happens to be a lot of overlap between the two languages.
We have a long-term plan to eventually use the same Dart parser the language itself uses for expressions in templates, so I'd image this will get resolved for free when that happens.
In the meanwhile, you can either move the operation into a method, or exported function:
int divide(int m, int n) => m ~/ n;

@Component(
  template: '{{ divide(1234, 1000) }}',
  exports: [divide],
)
class Example { ... }


ksync get should provide info regarding both Pod and Container.

I'm using a multi-container Pod as described here: https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ and I have modified it so the containers don't exit as below:
apiVersion: v1
kind: Pod
metadata:
  name: two-containers
spec:

  restartPolicy: Never

  volumes:
  - name: shared-data
    emptyDir: {}

  containers:

  - name: nginx-container
    image: nginx
    volumeMounts:
    - name: shared-data
      mountPath: /usr/share/nginx/html

  - name: debian-container
    image: debian
    volumeMounts:
    - name: shared-data
      mountPath: /pod-data
    command: ["/bin/sh"]
    args: ['-c', 'while true; do echo Hello from the debian container > /pod-data/index.html; sleep 10; done']

Once I deployed the Pod, I labeled it as follows:
kubectl label pod two-containers app=two-containers

and finally I call ksync create twice like this:
$ ksync create -c nginx-container --selector=app=two-containers /Users/ashahba/jpgs/ /jpgs
$ ksync create -c debian-container --selector=app=two-containers /Users/ashahba/jpgs/ /jpgs

but when I call ksync get I have:
$ ksync get
      NAME               LOCAL              REMOTE       STATUS         POD
+---------------+----------------------+--------------+----------+----------------+
  busy-parakeet   ../../../jpgs-debian   /jpgs-debian
                                                        watching   two-containers
  warm-lemming    ../../../jpgs-nginx    /jpgs-nginx
                                                        watching   two-containers

As you see there is no way for me to tell with Container is used to Sync with folder(s).
Even when I check the UI, it only shows the one Pod under remote devices.

For this reason I believe ksync get should provide Container name within the Pod as well for unique identification of Synced folders.

@ashahba Hmm, this should be a fairly easy fix, as we pull that info. I'm wondering I should add anything else while I'm in there.

Thanks @timfallmk for the quick response!
You are right the spec has the right info for the container that I can check now until the fix is arrived 🙂


Feature - Menu

A menu to access different options of the pre-install and install

menu framework closes #1


How to remove a record from a collection manually

In case I have a Category model and a Post model, and I implemented a move method for posts, to move them in another category, I want to remove the post model from category.posts collection after it's post.category_id is updated.
What's the best way to remove the post model from category.posts collection?
Should I simply use native delete operator, or is something special restmod way to to this?

You can call $remove(obj) on the collection.

That's great! Would be useful to mention it in docs.


Fix #298 Handle removal of sklearn randomized l1 models

Fixes #298
Wrap import and decorators in a try-except block.

Codecov Report

Merging #302 into master will decrease coverage by 0.06%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
- Coverage   97.26%   97.19%   -0.07%
==========================================
  Files          44       44
  Lines        2851     2854       +3
  Branches      541      541
==========================================
+ Hits         2773     2774       +1
- Misses         41       43       +2
  Partials       37       37

Impacted Files
Coverage Δ

eli5/sklearn/transform.py
94.28% <71.42%> (-5.72%)
:arrow_down:


feat(endo): Add CommonJS and JSON module support

Achieves parity with Node.js behavior regarding the "type": "module" declaration in package.json, determining whether .js files are CommonJS or ECMAScript modules.  Goes beyond parity to support JSON modules.

cc @kumavis This came together faster than expected.

Replaced the whacky regex with a proper Babel visitor, so static analysis for require(id) calls is now as accurate as it will likely get.

Could you rebase this when you get a chance? The diff currently shows all the endo-main changes too, which should go away when the branch is moved to sit properly on top of the updated target.

Could you rebase this when you get a chance? The diff currently shows all the endo-main changes too, which should go away when the branch is moved to sit properly on top of the updated target.

Rebased this stack.


Instruction to add Voyager alias

Without voyager alias, installation fails with 'Route [voyager.posts.index] not defined.' message

hi @rohithmeethal, that is working fine with my configuration.
Are you using Homestead? php7? Please describe your system.
Thanks!

The Voyager alias is added automatically by the VoyagerServiceProvider, which should be added (per the install instructions in our documentation) to your config/app.php

@akazorg using php 7.1 on ubuntu 17.04 .
Reproducible error

composer create-project --prefer-dist laravel/laravel blog "5.3.*"
cd blog
// update .env and localhost url
composer require tcg/voyager
// update providers array in app.php
php artisan voyager:install

Publishing the Voyager assets, database, and config files
Copied Directory [/vendor/tcg/voyager/publishable/assets] To [/public/vendor/tcg/voyager/assets]
Copied Directory [/vendor/tcg/voyager/publishable/database/migrations] To [/database/migrations]
Copied Directory [/vendor/tcg/voyager/publishable/database/seeds] To [/database/seeds]
Copied Directory [/vendor/tcg/voyager/publishable/demo_content] To [/storage/app/public]
Copied File [/vendor/tcg/voyager/publishable/config/voyager.php] To [/config/voyager.php]
Publishing complete for tag []!
Copied File [/vendor/intervention/image/src/config/config.php] To [/config/image.php]
Publishing complete for tag []!
Migrating the database tables into your application
Migration table created successfully.
Migrated: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrated: 2016_01_01_000000_add_voyager_user_fields
Migrated: 2016_01_01_000000_create_data_types_table
Migrated: 2016_01_01_000000_create_pages_table
Migrated: 2016_01_01_000000_create_posts_table
Migrated: 2016_02_15_204651_create_categories_table
Migrated: 2016_05_19_173453_create_menu_table
Migrated: 2016_10_21_190000_create_roles_table
Migrated: 2016_10_21_190000_create_settings_table
Migrated: 2016_11_30_135954_create_permission_table
Migrated: 2016_11_30_141208_create_permission_role_table
Migrated: 2016_12_26_201236_data_types__add__server_side
Migrated: 2017_01_13_000000_add_route_to_menu_items_table
Migrated: 2017_01_14_005015_create_translations_table
Migrated: 2017_01_15_000000_add_permission_group_id_to_permissions_table
Migrated: 2017_01_15_000000_create_permission_groups_table
Migrated: 2017_01_15_000000_make_table_name_nullable_in_permissions_table
Migrated: 2017_03_06_000000_add_controller_to_data_types_table
Migrated: 2017_04_21_000000_add_order_to_data_rows_table
Dumping the autoloaded files and reloading all new files
Adding Voyager routes to routes/web.php
Seeding data into the database

  [InvalidArgumentException]
  Route [voyager.posts.index] not defined.

But on again running the install command on the same project leads to successful
php artisan voyager:install
Publishing the Voyager assets, database, and config files
Copied Directory [/vendor/tcg/voyager/publishable/assets] To [/public/vendor/tcg/voyager/assets]
Copied Directory [/vendor/tcg/voyager/publishable/database/migrations] To [/database/migrations]
Copied Directory [/vendor/tcg/voyager/publishable/database/seeds] To [/database/seeds]
Copied Directory [/vendor/tcg/voyager/publishable/demo_content] To [/storage/app/public]
Publishing complete for tag []!
Publishing complete for tag []!
Migrating the database tables into your application
Nothing to migrate.
Dumping the autoloaded files and reloading all new files
Adding Voyager routes to routes/web.php
Seeding data into the database
Adding the storage symlink to your public folder
The [public/storage] directory has been linked.
Successfully installed Voyager! Enjoy 🎉

but after logging in I am always redirected to default index page, not able to see admin dashboard.
I am able to do successful installation if I just add Voyager alias into app and run voyager:install

Hi @rohithmeethal, I'm not sure what is happening.
You seem to be the only one experiencing this issue, I guess there is something wrong with your setup/configuration. Homestead is great for developing since it's packed with all we need, I would give it a try.
Anyway, you might need to know what's causing that error, in case you have to setup a production server.


(update) Typo in Watchman

-corrected typo in troubleshooting.md- changed 'Wathcman' to 'Watchman'
-changed tense to make make more readable- 'to load' to 'from loading'

Thanks!

 :)


feat: toBoolean convert util

Description
Converts any value to a boolean value.
Linked Issues
N/A
Additional context
N/A

I am not so sure about it. I think the usage is a bit unclear and you don't always want to convert false to false. Without that conversion, I think a Boolean(value) would already do the thing.

I am not so sure about it. I think the usage is a bit unclear and you don't always want to convert false to false. Without that conversion, I think a Boolean(value) would already do the thing.

Such a function could be useful when converting boolean strings. For example, query parameters (foo=true&bar=false)

Yes, I knew. And also for env value parsing, I suppose. My point is that they are specific use cases. In general, most of the time, you don't want this convention. Even if you two, it's just a few line in the code base to create a local util. I think I am not confident to have it in this project. Thanks for bringing this up.


Increment version for confluent releases

Increment package version after release of Azure.ResourceManager.Confluent

API change check
API changes are not detected in this pull request.


DOCS-8296 adding files and structure for JSON 3.7 module.

Must be merged with https://github.com/mulesoft/docs-mule-runtime/pull/1469


feat(fossid): Make FossID sensitivity configurable

Add the option for the User to specify the sensitivity for a FossID Scan to reduce the number of pending identifications.

Add the option for the User to specify the sensitivity for a FossID Scan to reduce the number of pending identifications.

Commit message nits: No reason to capitalize "User" and "Scan".

@nnobelis, please re-review.


Fixed issue where MouseComponent would stay Clicked

Instead of resetting most values to false, we're now
forgetting every value from the last frame (with some
exceptions), to ensure things like Click don't fire twice. (which they do now)
Would you like to review @faide ?

@faide I have pushed a new version, which pushes the functionality of Track a bit upwards (now it works without having a SpaceComponent).
Is this still in line with your thoughts of Track, or did I misinterpret?
Feel free to criticize.

@EtienneBruines I'm happy for you to merge these this in once you have resolved @faide's comment :)

@EtienneBruines could you merge this one?


[11.x] assertChain and assertNoChain on job instance

If you are testing a job in isolation and that job appends or prepends job(s) to its chain, then there is currently no easy way to test that.
public function handle(): void
{
    $this->prependToChain(new FooBarJob());
}

This PR fixes that by introducing the assertChain method (and assertNoChain method):
public function test_job_chains_foo_bar_job(): void
{
    $job = new TestJob();

    $job->handle();

    $job->assertChain([
        new FooBarJob();
    ]);

    // $job->assertNoChain();
}

@gdebrauwer what if someone were to prepend a mixture of job instances of string class names to the chian?

@taylorotwell prepending or appending just a job class name is not something that is possible I think. In the background the serializeJob always uses the serialize global method unless the provided job is a closure. So if you provide a job class name, then prepending or appending would not work I think 🤔
I allowed the expectedChain to be either an array of job classes or an array of job objects as the Queuefake also allows that when performing chained job assertions.


prepareInterstitial returns "Error" on android BUG

Hi,
I have problem with prepareIntertitial. On iOS everything working just fine but on android I can not init interstitial. All the time I call prepareInterstitial I get "Error". Does anyone know where could be a problem?
it look like a bug. Because the add is loaded without problem but on android is firred ERROR
Thank you for any help.
TB

Could you please state the steps to re-produce the bug, or any error logs?

yes sure sorry.
my code looks like this:
    var prepareInterstitial = function () {
        typeof  AdMob !== 'undefined' && !isPrepare && AdMob.prepareInterstitial({
            adId: admobid.interstitial //ID admob
        }, function (success) {
            console.log('prepared suc');
            isPrepare = true;
        }, function (error) {
            console.log('prepared false '+ error);
            isPrepare = false;
        });
    };

and on android is called error function and in the log I can see: "prepared false Error" but when I call fcn AdMob.showInterstitial(); everything works fine. When I tested on iOS is called success function and everything works fine.
TB

Yes, you are correct, it's a bug. The prepareInterstitial() now always return error even in fact it succeeds. You can just ignore the error it returns.
Will fix it in next build. Thanks for the bug report.


Session terminated

Gitea Version
1.15.9
Git Version
No response
Operating System
Ubuntu 20.04
How are you running Gitea?
With the official docker repo. Port 3000 forwards to another port. Nginx couples this with a domain name
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When adding A user to the coloboration of a repo my sessions ends imidiatly.
I also noticed this when, in the activity tab of a repo, i pressed on the picture of the user profile.
Odly enough. I cant reproduce this on try.gitea.io
Only on my gitserver
Some logs when it happens:
[36m2022/01/13 22:59:10 Started GET /Schoolopdrachten/DigitalSignalProcessing/settings/collaboration for <IP_ADDRESS>:0 2022/01/13 22:59:10 Completed GET /Schoolopdrachten/DigitalSignalProcessing/settings/collaboration 200 OK in 12.79076ms 2022/01/13 22:59:10 Completed GET /user/events 200 OK in 9.389520873s 2022/01/13 22:59:10 Started GET /user/events for <IP_ADDRESS>:0 2022/01/13 22:59:11 Started GET /assets/serviceworker.js for <IP_ADDRESS>:0 2022/01/13 22:59:11 Completed GET /assets/serviceworker.js 304 Not Modified in 156.072µs 2022/01/13 22:59:23 Started GET /api/v1/users/search?q=Lars for <IP_ADDRESS>:0 2022/01/13 22:59:23 Completed GET /api/v1/users/search?q=Lars 200 OK in 2.094221ms 2022/01/13 22:59:23 Started GET /user/avatar/Lars/-1 for <IP_ADDRESS>:0 2022/01/13 22:59:23 Completed GET /user/avatar/Lars/-1 302 Found in 841.416µs 2022/01/13 22:59:23 Started GET /avatar/4511ade984482cb138c1152a14826816 for <IP_ADDRESS>:0 2022/01/13 22:59:23 Completed GET /avatar/4511ade984482cb138c1152a14826816 302 Found in 346.269µs 2022/01/13 22:59:24 Started POST /Schoolopdrachten/DigitalSignalProcessing/settings/collaboration for <IP_ADDRESS>:0 2022/01/13 22:59:24 Completed POST /Schoolopdrachten/DigitalSignalProcessing/settings/collaboration 302 Found in 428.803µs 2022/01/13 22:59:24 Started GET / for <IP_ADDRESS>:0 2022/01/13 22:59:24 Completed GET / 200 OK in 1.525797ms 2022/01/13 22:59:24 Completed GET /user/events 200 OK in 13.654303844s
Screenshots
No response

This problem doesn't occure on the mobile version (when surfing to my gitea server with my phone)

I don't know why, but the issue suddenly disappeared. Thanks for your time


Handle paste images on markdown editor

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


doom upgrade fails to upgrade org-mode and does return with exit code 0

What did you expect to happen?

[ ] org-mode to be upgraded to pinned version
[ ] doom upgrade to return with non-zero exit code in case of failure

What actually happened?
doom upgrade finished with exit code 0, but failed to upgrade org-mode
Additional details:
    > (133/206) Re-cloning org-mode...
      → Cloning org-mode...
Warning (straight): Could not check out commit "a88806b554b15461a88a4e00c9e0e338fe59ac37" in repository "org-mode"
      → Cloning org-mode...done
    ✓ (133/206) org-mode updated (6c75b00 -> a88806b)
        fatal: bad object a88806b554b15461a88a4e00c9e0e338fe59ac37

Steps to reproduce:

doom upgrade with org enabled in init.el

System information:

```
SYSTEM  type       gnu/linux
	config     x86_64-pc-linux-gnu
	shell      /run/current-system/sw/bin/zsh
	uname      Linux 5.4.73 #1-NixOS SMP Thu Oct 29 08:58:11 UTC 2020 x86_64
	path       (/nix/store/maxqkryq6hvchnfdvphj4fk7rhf30rp7-emacs-packages-deps/bin ~/.shims ~/bin ~/.cargo/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin /nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/bin /nix/store/z6xa96qymznhqnr7mh266djgdydqwvcc-qtile-0.16.0/bin /nix/store/fn6sjqf47cgalkxgp7dmqi5grp9ifqdm-cairo-1.16.0-dev/bin /nix/store/fwpg7xp5ka281nz4fqvyl8vl88gm1i8k-freetype-2.10.2-dev/bin /nix/store/71w61r13p1pvmgz16106k0ps0k7xpb6m-bzip2-<IP_ADDRESS>.1-bin/bin /nix/store/90j5pha0j02s9bq4gz23n6cxv4rnadsx-libpng-apng-1.6.37-dev/bin /nix/store/8rb9kmyz1nghwa412bb39v15alpsldnd-fontconfig-2.13.92-bin/bin /nix/store/5b2s8q8z0anw4hblkvsf8d03mjahcnik-expat-2.2.8-dev/bin /nix/store/3dzipf2c0flsvm6kvwzzdifpxv5258km-glib-2.64.5-dev/bin /nix/store/vkmnfr10cbz8799yvwy352607jrww92h-gettext-0.21/bin /nix/store/f6705kwn1w83jdcymvf3h9ccahmwwdf3-glib-2.64.5-bin/bin /nix/store/p2w7lf92l9hswqxz18qz7l0qlji65d2m-python3.7-setuptools-47.3.1/bin ~/.shims ~/bin ~/.cargo/bin /run/wrappers/bin ~/.nix-profile/bin /etc/profiles/per-user/$USER/bin /nix/var/nix/profiles/default/bin /run/current-system/sw/bin ~/.local/bin /nix/store/h583bd2ciqgm21l76bqdd3wfcj0m00ma-emacs-unstable-emacs-27.1/libexec/emacs/27.1/x86_64-pc-linux-gnu)
EMACS   dir        ~/.emacs.d/
	version    27.1
	build      Nov 14, 2020
	buildopts  --prefix=/nix/store/h583bd2ciqgm21l76bqdd3wfcj0m00ma-emacs-unstable-emacs-27.1 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft --with-cairo CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200
	features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER GMP
	traits     (batch)
DOOM    dir        ~/.doom.d/
	version    2.0.9
	build      HEAD -> develop 3265c2582 2020-11-13 13:11:34 -0500
	elc-files  0
	modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo minimap modeline ophints (popup +defaults) treemacs vc-gutter vi-tilde-fringe workspaces :editor file-templates fold format snippets :emacs dired electric undo vc :term vterm :checkers syntax spell grammar :tools direnv docker editorconfig (eval +overlay) lookup lsp magit make pass pdf tmux :lang data emacs-lisp (haskell +dante) json javascript latex ledger markdown nix org plantuml (python +cython +lsp) rst (rust +lsp) sh yaml :config (default +bindings +smartparens))
	packages   ((ace-jump-mode) (lsp-treemacs) (yasnippet) (visual-fill-column) (ox-reveal :recipe (:local-repo org-reveal)))
	unpin      (n/a)
	elpa       (vterm)
```

This is known issue with Doom's CLI and will be addressed in its rewrite. I've moved this and many other issues to #4273. Please keep track of it there.

Thank you! Just now, doom upgrade succeeded to upgrade also org-mode and emacs starts properly again.
    ✓ (133/206) org-mode updated (26ace90 -> a88806b)


[Feature][Connector-V2] Support TableSourceFactory/TableSinkFactory on kudu

close #5720

Purpose of this pull request
TableSourceFactory/TableSinkFactory on kudu

Does this PR introduce any user-facing change?

How was this patch tested?
Current e2e test

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@hailin0 @Hisoka-X Please help review, thank you

Please answer this question in PR template:
How was this patch tested?

Build info :https://github.com/Carl-Zhou-CN/incubator-seatunnel/actions/runs/6780548168/job/18429408057

Please merge from dev to retrigger CI.


[core] Add device id for EHL

Issue: MDP-58421

Please put MFX_

@onabiull Could you please clarify?


fix(make): defines default target

Make processes targets in order of their appearance in the Makefile [1] and executed first rule not prefixed with ..
The current definition of the "default" target is a .PHONY which effectively means that only build will be executed, as this is the first matching target.
To ensure both build and test are invoked the default phony target is defined instead, as the first one in the Makefile.
[1] https://www.gnu.org/software/make/manual/html_node/How-Make-Works.html

Thanks!


Thumbnail upload

This is coming along but I could use some help.
I have the file upload component calling the confirmation modal upon selecting a file which calls beginUpload which takes the correct data, the file path. I'm looking for the optimal way to upload a file with fetch. I'm seeing a bunch of different options with sync, async, stream, formdata.
The relevant code is in src/renderer/redux/actions/upload.js
Note: I am currently uploading to httpbin for development based on the assumption that the fetch mechanics will be the same so I can switch over to spee.ch easily enough later.

Please fix these

My recent push fixes the Magic Number issue and removes the local state in publishForm. I kept meta_thumbnail because that's where the thumbnail url has been stored.

@daovist @seanyesmunt any other potential solutions than using a random ID for the claim name? Not in love with this as a solution.
What about using a sanitized file name or delaying upload until they enter a claim name (then you could do claimname-thumb or similar).
Also, regarding spee.ch rejecting duplicates, you could append a number when a name is rejected. Alternatively, lbryio/spee.ch could implement an API endpoint that returns the name available closest to a desired one.

IMO users shouldn't have to worry about naming their thumbnail. Going off your idea, maybe spee.ch could offer a "quick publish" feature. Where it tries the claim name you give it (sanitized file name) and if that isn't available it chooses a close match.
Then the file is somewhat accessible via search, and the user doesn't have to worry about an additional step in the publish process.

@seanyesmunt 100% agreed, do not ask the user. Since this only happens during publish flow, I was suggesting using the name that they are already selecting for the content that they are publishing.

Gotcha. I think it could be confusing for a publish to fail just because the thumbnail upload failed. Or were you thinking start the thumbnail upload in the background?
I think I would rather have some indicator like "uploading..." appear as soon as you choose the file. We populate the name field from the content file, so you could just disable the thumbnail input until there is a file chosen to publish.

@seanyesmunt @daovist fuck, I think I did not read this code carefully enough at first and misunderstood it. Apologies for the noise.

My master got too far behind so here is the new PR:
[https://github.com/lbryio/lbry-app/pull/1047](https://github.com/lbryio/lbry-app/pull/1047)

@daovist this is an okay solution, but if you want to learn "proper" practices, it'd be to git rebase.


Making lossy tests deterministic [5073]

This PR changes the mechanism to drop packages from using rand() to a more deterministic approach using an accumulator.

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows


adding support for the autocomplete attribute to text inputs

FYI, I didn't do this as a wcag21 branch since this change can merge independently of that work.


admin: limit bots in settings page.

Only show bots created by the admin in the settings page. Modification to user's bots is still possible in the Administration console.
This closes #2657.

Automated message from Dropbox CLA bot
@tommyip, it looks like you've already signed the Dropbox CLA. Thanks!

This looks good.  The biggest risk of this change is that we somehow make it possible for non-admins to edit other users' bots.  I don't think it's broken, but I would do some thorough manual testing with one of the non-admin users like Cordelia.

@tommyip, the deletion of code should be done in a separate commit whose commit message explains why the code is not needed any more. Looks good otherwise.

(also, our convention is to use Fixes #<issue_number> in the commit message)

I am almost ready to merge this:

clean up the commit messages: s/lmproves/Improve/ and s/limit/Limit/
wait for Travis to pass

@tommyip, looks awesome! Thanks.

@tommyip, can you please also add 'Fixes #2657' to your second commit? Thanks.

Oops forgot about that. Updated and passed all tests.

I merged the first two commits; I'm not sure I understand why the last commit is an improvement.
Also, I realized that the change I just merged introduces a problem; now there's no easy way for organization admins to manage bots that other users created, because the /#settings page for administrators only lets you change bot names.  I think it might make sense to try to deduplicate that UI; e.g. remove the duplicate special admin-only bots page and just have a tab-switcher similar to what we have at the top of the settings page to show the "Your bots" view vs. the "All bots" view (only visible to admins).  What do you think @showell and @tommyip?

@timabbott

I'm not sure I understand why the last commit is an improvement.

The commit just removes the dead code. The function is no longer needed as both user and admins can only see their own bots in the settings page.

now there's no easy way for organization admins to manage bots that other users created

I might be wrong but isn't there a tab in the Administration page that can control all the bots?

@tommyip @timabbott I do think this change removes some admin power.  I communicated this vaguely earlier, but I probably should have been more clear.  I think that we're actually going to be fine here insofar as admins can still deactivate any rogue bot.  If a bot has issues with name/avatar type of things, I believe it's fine to have the bot owner manage those changes.  But that's just my personal opinion, so we should probably have a quick discussion on Zulip to reach some consensus here.

It's not good enough to just have bot owners manage those changes, because (1) we don't have a way to change the owner of a bot (just opened https://github.com/zulip/zulip/issues/2719 for that, since it seems valuable to change regardless); and thus when a user leaves the organization or is on vacation, their bots would no longer be possible to manage beyond deleting the bot.
I think the tab switcher approach that I suggested would be a pretty reasonable solution to the problem that we currently have 2 duplicate UIs for managing bots; is there a downside to that approach?  If not I can open an issue for doing it.

I think we should discuss this on Zulip. I'll start a thread.

So did we reach a conclusion on whether we'll want that function in the new version?  I'm wondering if we should merge that before closing this.

Off the top of my head, I feel like somebody has subsequently done a PR that might conflict with the unmerged commit here.  I would not be too concerned about just closing out this PR without merging the last change.  If it's just dead code removal, we'll probably re-detect it soon enough.

OK, fair enough.


AK+CMake: Use the find module to find the correct backtrace(3) header

As recommended by the CMake docs, let's tolerate systems or setups that don't have backtrace(3) in the <execinfo.h> header file, such as those using libbacktrace directly.
@sideeffect42 does this fix your issue in the same way that #274 does?

Thank you for implementing this, @ADKaster. This is clearly the better approach than shuffling parentheses in the distro list.
I tested it on my musl/ppc64 system and it built fine without backtraces.
Unfortunately I couldn't test if backtraces work using libbacktrace, because Gentoo dropped its libbacktrace package some time ago.
I'll see whether I can manually build libbacktrace and link Ladybird against it in the coming days.

@ADKaster unfortunately, it took me a bit longer to find time to play with Ladybird again.
On my musl-based system I tried to link Ladybird against libbacktrace, but unfortunately the API is different from glibc's execinfo.h.
I implemented a patch which generates a very simple backtrace using libbacktrace.
Would adding an alternative backtrace implementation to Ladybird be of interest for the project?
If so, I would open another pull request for review.


Addition of Linear Search

Describe the algorithm/code
I would like to add the linear search program.
Do you want to work on this feature?

[x] I am willing to implement this feature.

Sure you can work on thiss issue!


Can't bypass regional lock on the API with a VPN

Hello, Im using the API to get information of the titles. Some animes are not available in my country and to bypass this I usually use a VPN (which works fine). However, I noticed that the VPN does not affect the API in any way and when I try to get an episode list, for example, for a locked title it still shows no episodes.

I've encountered something similar before. but I'm not sure if your situation has the same root cause. Crunchyroll leaves some regional information in your local storage, which allows reidentification of a region after jumping around with a VPN. The solution in that case was to make sure that local storage is pruned; exit animesync, delete the chrome-data folder from your user\animesync folder, and restart animesync. That should solve the issue if this has the same cause.
FWIW the proxyServer setting is a more lightweight solution than a full blown VPN, and should work perfectly fine as well. Internally, when you set a different proxyServer, it also makes sure that the chrome-data folder is deleted. It might be a nice option to use :-)

I will try that out and give feedback.
The reason I didnt use the proxyServer function is because I have a VPN subscription, but the only way to use their servers is by using the app.

While testing, I encountered another problem, I think this is unrelated though. It is giving me invalid credentials.
When using the API:

When trying to download something:

Looks like you're using USA-based VPN. They've started forcing people to use the half-finished beta pages when they sign in from the USA (hint: your region is working!).
Right now I recommend not logging in when connecting from the USA.
Once they've fixed their pages to be usable and rolled out to everyone, support for the new CR pages will come.

Okay, so the issue is fixed. Thank you!

Wanted to let you know that beta.crunchyroll.com is now supported.
Give it a go 👍


V2: Bug in parallel shutdown

I'm opening an issue to investigate a bug from @GreyXor, shared in #45.

I have two services, Config and Event. Where Event is a dependency of  Config.
type ConfigService struct {
	Event *event.Service
}

In my Config's shutdown method, I calling anEvent's method.
With v2.0.0-beta.3, it's working as expected because the actual reverse order is respected.
With v2.0.0-beta.5, it's randomly not working because Event is randomly Shutdown before Config. (because of the async)

@GreyXor I was not able to replicate this bug. Can you write a demo?
FYI, I just added a commit to v2 for supporting shutdown on circular dependencies.

Hello, sorry but I cannot replicate it anymore. I rewrote my services, maybe that was the cause

@samber I will try to redo-it with your new commit supporting shutdown on circular dependencies

@samber it's normal between 2 run of my app that the shutdown order is not the same ?


Add Cilium CLI to arkade get

Description
Added the cilium cli to arkade get
Motivation and Context
I have raised issue #702 which was given the go ahead in this comment
How Has This Been Tested?
Output of unit test:
❯ go test -v -run Test_DownloadCilium
=== RUN   Test_DownloadCilium
=== RUN   Test_DownloadCilium/darwin_x86_64_v0.11.9
=== RUN   Test_DownloadCilium/darwin_arm64_v0.11.9
=== RUN   Test_DownloadCilium/linux_x86_64_v0.11.9
=== RUN   Test_DownloadCilium/linux_aarch64_v0.11.9
=== RUN   Test_DownloadCilium/ming_x86_64_v0.11.9
--- PASS: Test_DownloadCilium (0.00s)
    --- PASS: Test_DownloadCilium/darwin_x86_64_v0.11.9 (0.00s)
    --- PASS: Test_DownloadCilium/darwin_arm64_v0.11.9 (0.00s)
    --- PASS: Test_DownloadCilium/linux_x86_64_v0.11.9 (0.00s)
    --- PASS: Test_DownloadCilium/linux_aarch64_v0.11.9 (0.00s)
    --- PASS: Test_DownloadCilium/ming_x86_64_v0.11.9 (0.00s)

Output of make e2e:
❯ make e2e | fgrep cilium
=== RUN   Test_CheckTools/Download_of_cilium
=== PAUSE Test_CheckTools/Download_of_cilium
=== CONT  Test_CheckTools/Download_of_cilium
    --- PASS: Test_CheckTools/Download_of_cilium (0.60s)

Output of the dagger script:

Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[X] No

Types of changes

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

Documentation

[X] I have updated the list of tools in README.md if (required) with ./arkade get -o markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[X] My code follows the code style of this project.

[X] My change requires a change to the documentation.

[X] I have updated the documentation accordingly.

[X] I've read the CONTRIBUTION guide

[X] I have signed-off my commits with git commit -s

[X] I have added tests to cover my changes.

[X] All new and existing tests passed.

[X] I have tested this on arm, or have added code to prevent deployment

@Shikachuu This is now the PR based on the discussion from #701

Hi, we need a rebase on this due to a another PR being merged.

We'll need a rebase on this one now.
Thanks

@alexellis Done. Verified the e2e and unit test after the rebase.
❯ make e2e|fgrep cilium
=== RUN   Test_CheckTools/Download_of_cilium
=== PAUSE Test_CheckTools/Download_of_cilium
=== CONT  Test_CheckTools/Download_of_cilium
    --- PASS: Test_CheckTools/Download_of_cilium (0.91s)

❯ cd pkg/get && go test -v -run Test_DownloadCilium
=== RUN   Test_DownloadCilium
=== RUN   Test_DownloadCilium/darwin_x86_64_v0.11.9
=== RUN   Test_DownloadCilium/darwin_arm64_v0.11.9
=== RUN   Test_DownloadCilium/linux_x86_64_v0.11.9
=== RUN   Test_DownloadCilium/linux_aarch64_v0.11.9
=== RUN   Test_DownloadCilium/ming_x86_64_v0.11.9
--- PASS: Test_DownloadCilium (0.00s)
--- PASS: Test_DownloadCilium/darwin_x86_64_v0.11.9 (0.00s)
--- PASS: Test_DownloadCilium/darwin_arm64_v0.11.9 (0.00s)
--- PASS: Test_DownloadCilium/linux_x86_64_v0.11.9 (0.00s)
--- PASS: Test_DownloadCilium/linux_aarch64_v0.11.9 (0.00s)
--- PASS: Test_DownloadCilium/ming_x86_64_v0.11.9 (0.00s)
PASS
ok  	github.com/alexellis/arkade/pkg/get	0.564s

Thanks for contributing arkade.
It takes a considerable amount of time and energy to maintain arkade, so please consider helping us by becoming a sponsor via GitHub.
You'll find a big button on the repo and a link in the README file.


Add alternative bitcoin clients

Description
This adds casks for Bitcoin Classic and Bitcoin Unlimited clients to the existing Bitcoin Core and Bitcoin XT clients, and makes it so all 4 bitcoin-related casks are aware of conflicts with the other 4.
Checklist

[x] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
(Rubocop is freaking out on me locally)
[ ] The commit message includes the cask’s name and version.

See questions

[x] Named the cask according to the [token reference].
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no [open pull requests] for the same cask.
[x] Checked the cask was not already refused in [closed issues].
[x] Checked the cask is submitted to [the correct repo].

Questions

Would you rather it be three commits like this - one for each of the new casks, one for the conflicts? Or squash some/all of them?
Do you want versions for each of them in the commit msg, being new?
Anything else?

Three commits are preferred, but thee PRs are even more appropriate. More often than not this type of pull request brings problems with one or more of them, and it halts the inclusion of the other ones.

Three commits are preferred, but thee PRs are even more appropriate

Okay! I'll close this, and do 3 separates (including the changes requested here)


Feature: allow client-sso-user to switch to sso-users only when using P4V

Hello,
This is a MR request that allows switching a user from the client-sso-users group (non-interactive flow) to the sso-users group (interactive flow) when using P4V (which is intended for interactive use).
Due to our synchronization requirements, we cannot solely use the interactive flow (sso-users) for our user accounts. Over the weekend, we sync data using libraries through WAM to log in silently to Perforce, ensuring everything is ready for work on Monday morning. We aim to avoid any Web SSO authentication pop-ups that could disrupt this process.
The problem arises when a user is classified as a client-sso-user and attempts to log in using P4V. P4V prompts for the user’s password and does not execute the P4LOGINSSO routine. Therefore, the P4V app should automatically be considered as part of the interactive flow (Web SSO) since automation is not feasible in this context.

Hello Jérémie, thank you for the contribution. I will discuss this with product management and we will try to devise a more general solution to the problem of users that need to authenticate in different ways. While examining the clientprog is one way, hard-coding to "P4V" might be too restrictive to work for everyone. I also dislike leaving it up to the client to control this as an attacker could leverage this knowledge to find a way around web-based SSO authentication. Sure, it's not really any easier to hack the usual auth mechanism, but I prefer keeping the control entirely in the server rather than the client.


Allow processing locations before passing to browser

Proposal: add a transformLocation to the history options, and call it on all locations that are provided by the application; use the resulting location object (ignore falsy result)
// example
createBrowserHistory({
  transformLocation: loc => loc.pathName.startsWith('/xx/') && {
    ...loc,
    pathName: `/${currentLang}/${loc.pathName.slice(4)}`,
  },
})

Use case: In my application, the language is the first part of the URL. Most of the time when making links, they have to be "absolute", but the current language is not known in the part of the application that makes the link.
Right now I need to use LangLink which wraps Link and grabs the language, and replaces a leading /xx/ with the language, but that doesn't work for e.g. history.push()

Can't you use basename option when creating the history object, and then use method createHref to create valid link URLs?

basename: no, because it changes during the application lifetime
createHref: I would like to avoid any wrapping of Links or history methods, as well as any extra work on the API user side…

It feels like the right place to handle this kind of thing is in React, e.g. with your <LangLink> component. React provides a composition model, but the history library doesn't.
Why are you concerned about someone calling history.push directly? Why don't you just do all navigation with your <LangLink>s?


Update README.md

Added a From TSD to typings section which makes the migration path from TSD to typings a little clearer.  Hopefully this will lower the fear factor for new users.
This might PR not be perfect so please do say if you'd like this changed further.

Related to #132

LGTM. Only thing I'd change is capitalize Typings when referencing the tool, versus typings when referencing .d.ts "packages".

Actually I'd been deliberately lowercasing it, thinking that it was like npm (everything lowercase seems to be a bit of a convention at the moment).
Done.  typings -> Typings :smile:

Thanks! These instructions are likely to change, but I'll update that when it happens.


Guidence for AWS lambda and API Gateway

Hi, could you provide some guidance on building and deploying, even in a trivial sense, a servant application using wai-lambda?
Thanks

Sure! I'll provide a more verbose answer later but here's some inspiration (for building and deploying with Nix and Terraform):
Building the lambda: https://github.com/deckgo/deckdeckgo/blob/3f5a9202a05699c2275e489f826b42d74a82955c/infra/default.nix#L4-L15
Deploying:
https://github.com/deckgo/deckdeckgo/blob/3f5a9202a05699c2275e489f826b42d74a82955c/infra/lambda.tf#L49-L54
https://github.com/deckgo/deckdeckgo/blob/3f5a9202a05699c2275e489f826b42d74a82955c/infra/lambda.tf#L3


Client Sided Moves

These are still client sided, esp isn't toggleable I click B and it just plays (client sided).

The script is not doing anything that makes the pieces move by themselves. I can ensure you it is not my script.


[azservicebus] Quicker reattach of mostly-idle links

Fixing the 'stale' sender by adding in some special double-iteration-0 logic in the
amqpLinks.Retry().
This changes the semantics of how ResetAttempts() works but it wasn't used anywhere
anymore and it makes more sense this way anyways.
Fixes #17182

/azp run go - azservicebus

/azp run go - azservicebus

(missed adding in a copyright comment for the new stress test file)


Fix map view

 Fix map of search results

Coverage remained the same at 65.263% when pulling 02d289d5a0619c85554c04caec83a9fe74591773 on fix-map-ui into 9a4bfd42d3e1f9cff3e11968addb3af96c06aef4 on master.


Syntax ambiguity in definitions

REPL reports an interesting error on the following definition:
def isPrime(n) = 2.to(n - 1).forall(i => n % i != 0)
syntax error: <input>:1:43 - error: Failed to resolve name n in definition for isPrime, in module __REPL

The reason for this error is that the definition is interpreted as an expression, not as a top-level definition. As @bugarela noticed:
// This is how the REPL is parsing it:
val __input = def isPrime = (n => field(to(2, isub(n, 1)), "forall")) { (i => neq(imod(n, i), 0)) }
// And this is how it should be parsed
def isPrime = (n => forall(to(2, isub(n, 1)), (i => neq(imod(n, i), 0))))

There are several factors here:

REPL recognizes the above line as an expression, because I have recently swapped the priorities of expressions and top-level declarations in the grammar:

https://github.com/informalsystems/tnt/blob/38a1d677b90c3fae96554586417ab83fa8c3279e/tntc/src/generated/Tnt.g4#L132
This was done in #377 to complain about top-level nondet declarations, see #378.

Although the above problem appears only in REPL, we could probably write a top-level definition that has exactly the same problematic behavior.

The moment we understand what's going on, there are easy fixes to that:
// use braces
def isPrime(n) = { [2.to](http://2.to/)(n - 1).forall(i => n % i != 0) }
// use parentheses
def isPrime(n) = (2.to(n - 1).forall(i => n % i != 0))
// use semicolon
def isPrime(n) = 2.to(n - 1).forall(i => n % i != 0);

All of the above solutions work. However, I worry that the users will find the initial syntax error counterintuitive and blocking their understanding of the syntax. Perhaps, we should require {...} or (...) by default. However, this would automatically require another layer of indentation, which is what we wanted to avoid.

The particular error reported case no longer causes problems with the parser.


Add ability to pass a template/block.

Thank you for this project.
It would be great if we could do something like:
{{#mail-check}}
    {{input type="text" value=model.email name='email' placeholder='Enter your email' more-data='bla bla bla'}}
{{/mail-check}}

Thanks for creating this issue, definitely seems reasonable to me. I'll look into adding support for blocks this weekend.


How to change GoogleMap marker pin and dot color using react native

Hi, @rborn @bendman and others please help me,
Capture
hi all, How can change dot color using react native, dot color in the sense - inside marker pin one of the dot is there.i'm talking about that. please refer the screen shot,
![Capture]
(https://user-images.githubusercontent.com/13535859/69316588-2aefb380-0c5f-11ea-9ef9-b1708951ad45.PNG)

I think you need to use a custom marker the default markers don't have this feature
Closing the issue for not respecting the template

Hi rborn thank you so much for you reply. I done custom marker. :)


Load the actual Source Code Pro Bold font

Currently, we only load the normal Source Code Pro font, but we use the
bold version in some places anyway. This results in browsers making up
a bold variant, which is done inconsistently and often with bad metrics.
Load the actual bold variant instead. Fixes #812.

Thanks for the fix.


refactor: remove actor framework

Linked Issues

Closes #593.
Closes #688.

Notes to Reviewer

As a reviewer, please pay particular attention to the following areas when reviewing this PR and tick the above boxes after you have completed the steps.
INX Changes

[x] Run chronicle using an INX connection.
[x] Ensure that the database is populated correctly.

Bring back the environment stuff for specifying the location of the config.


Execute Dockerized TFLite model with QCS6490

Describe the issue
Hi, I'm trying to execute yolo with a Docker container on QCS6490. Docker is executed on QCS6490 with Qualcomm linux v1.1.
QNN SDK 2.27
After installing required QNN libraries and exporting devices, I'm following instructions described here.
https://github.com/quic/ai-hub-models/issues/26
To build and run container, I've started from this guide: https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-50/image-segmentation-using-python.html?vproduct=1601111740013072&versionId=35c3bc73-6ae0-4179-b66b-a01844b5a87f&facet=Qualcomm Intelligent Multimedia SDK
After executing code mentioned in above issue (issue/26), I get this error:
[INFO] LD_LIBRARY_PATH = /root/qairt/<IP_ADDRESS>926/lib/aarch64-ubuntu-gcc9.4
[INFO] LD_LIBRARY_PATH exists = True
[INFO] ADSP_LIBRARY_PATH = /root/qairt/<IP_ADDRESS>926/lib/hexagon-v68
[INFO] ADSP_LIBRARY_PATH exists = True
[INFO] Skel dir path = /root/qairt/<IP_ADDRESS>926/lib/hexagon-v68/unsigned
[INFO] Path exists = True
QNNTFLiteDelagate loaded
/prj/qct/webtech_hyd18/mlg_user_admin/qaisw_source_repo/qaisw_repo_release/snpe_src/avante-tools/prebuilt/dsp/hexagon-sdk-4.2.0/ipc/fastrpc/rpcmem/src/rpcmem_android.c:38:dummy call to rpcmem_init, rpcmem APIs will be used from libxdsprpc
ERROR: [QNN Delegate] Failed to create device_handle for Backend ID 6, error=1008
Traceback (most recent call last):
  File "/root/tflite_qnn.py", line 36, in <module>
    interpreter = tf.lite.Interpreter(
  File "/root/py/.venv/lib/python3.10/site-packages/tensorflow/lite/python/interpreter.py", line 495, in __init__
    self._interpreter.ModifyGraphWithDelegate(
RuntimeError: Restored original execution plan after delegate application failure.

Expected behavior
Clear guide on how to execute model with QNN Delegate supported as containerized application to be executed on Qualcomm linux.
Host configuration:

OS and version: Qualcomm linux 1.1
Browser [e.g. chrome, safari]
QAI-Hub-Models version:
QAI-Hub client version:

Closing this issue as we discussed on Slack that Discord may be a good place to discuss


Fixed #26776 - Proper url() documentation.

Fixed documentation for url() view parameter.
See https://code.djangoproject.com/ticket/26776 for details.

merged in a12826bba7a6d75862f99ae5cd48c4c1854208b8, thanks!


When currency is an ERC20 in _settle, it seems that approval of currency is missing　　　　　[Important]

If you take the fee from factory by calling transferFrom, you need to approve() it prior to it.

Resolved in d9a1474b976b62f22157acef732431912ba65d96


Add Code Snippets

An alternative to the source generator Issue.
Example in video.
https://user-images.githubusercontent.com/51510658/162033208-8fe760c7-a9eb-4969-bfd6-2ede7c2569f9.mp4

Excellent contribution to save development times

we need to fill the request parameters from the request entity to the constructor


Replace the community classroom links by WeMakeDevs links

Change of mention of Community Classroom to WeMakeDevs is also appreciated.

I would like to work on this issue. Can you please assign it to me?
It will be my first issue to work on so I would need some guidance, and I also want to gain some git knowledge about issues and PRs along the way!

Thank you! I will check this repo thoroughly and make the changes asap.

https://github.com/WeMakeDevs/roadmaps/blob/696f3c8c87720c5bc1379a56b44e99bd9ef8c885/DevRel/Readme.md?plain=1#L47
Hi, just wanted to know that should I change the commclassroom keyword in these types of links to wemakedevs or wait till the wemakedevs.org will be up and running.

@abhishekchandra2522k all instances of commclassroom will need to be changed to WeMakeDevs. Please edit any instance you see


want to go from launchRequest to accepting an intentRequest.

Im connecting Alexa to Cognitive Codes SILVIA conversational AI.  If I say "tell Silvia hello" it works great, SILVIA opens with a hello statement.  But if I just say "use SILVIA", of course, it goes to launchRequest.  structurally, I want it to execute intentRequest, not launchRequest.  the problem is that the json coming from Alexa is marked as launchRequest.

Not an issue specific this library, so closing.


New package: Devicetree compiler version 1.6.1

This adds the Devicetree compiler (dtc) version 1.6.1.
Replaces previous attempt in #114001
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The package manager bot determined there was an issue with installing the application correctly. Please check the application installs correctly. Once repaired, please push an update to your pull request.

winget install --manifest <path> seems to work fine locally for me. The logs do not seem to show any useful information.
@stephengillie @Trenly @mdanish-kh pinging you since you commented on this PR's predecessor, any clues as to what is wrong?

@carlescufi - If you go to the artifacts of the pipeline run, you can download additional logs from the check which aren't able to be exposed to the Azure Pipelines console. In these logs I see
2024-12-28 07:41:46.975 [FAIL] Installer failed security check. Url: https://github.com/carlescufi/winget-packages/raw/refs/heads/main/packages/dtc/1.6.1/dtc-msys2-1.6.1-x86_64.zip Result: 0x80004005
2024-12-28 07:41:46.975 [CLI ] Terminating context: 0x8a15002d at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

This error usually means that it isn't a URL that Windows Defender Smart Screen is aware of. Typically, these errors resolve themselves in a day or two after SmartScreen finishes scanning the URL. I believe Stephen's automation will attempt a retry after a day automatically, but if not, feel free to simply close and re-open this PR to kick off a new validation run

This error usually means that it isn't a URL that Windows Defender Smart Screen is aware of. Typically, these errors resolve themselves in a day or two after SmartScreen finishes scanning the URL. I believe Stephen's automation will attempt a retry after a day automatically, but if not, feel free to simply close and re-open this PR to kick off a new validation run

I see, thank you @Trenly.

@wingetbot run

CC @piernov


NativeScript 7 build error: "export 'Style' (reexported as 'StyleBase') was not found in './map-view'

I have upgraded from NS6 to NS7.
When I run ns build android I get this warning:
WARNING in ../node_modules/nativescript-google-maps-sdk/map-view-common.js 72:0-30
"export 'Style' (reexported as 'StyleBase') was not found in './map-view'
 @ ../node_modules/nativescript-google-maps-sdk/map-view.js
 @ ./app/authenticated/home-page/components/geo-clocking-button/modals/google-maps-modal/google-maps-modal.component.ts
 @ ./app/authenticated/authenticated.module.ts
 @ ./app/main/app.module.ts
 @ ./main.ts

Im also getting this warning! :D

Im also getting this warning! :D

@aquinn637 @VanderSP
I am also getting this warning, then my app crashed, when I tried to access page which has map on it.

WARNING in ../node_modules/nativescript-google-maps-sdk/map-view-common.js 72:0-30
"export 'Style' (reexported as 'StyleBase') was not found in './map-view'
@ ../node_modules/nativescript-google-maps-sdk/map-view.js
@ ./app/app.module.ts
@ ./main.ts

and then, after build

Restarting application on device 89E97691-1479-4B58-894C-F78169AEBCA6...
***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error: Uncaught ReferenceError: NativeClass is not defined
at
../node_modules/nativescript-google-maps-sdk/map-view.js(file: node_modules/nativescript-google-maps-sdk/map-view.ios.js:49:0)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./app/app.module.ts(file: src/app/app.module.ts:1:0)
at webpack_require(file: src/webpack/bootstrap:816:0)
at fn(file: src/webpack/bootstrap:120:0)
at (file:///app/bundle.js:6071:73)
at ./main.ts(file:///app/bundle.js:6122:30)

Let me know guys if anyone has a solution to it

Try this, temp fix, it works for me on ns7 / angular 11

What if im getting one on android? what i should change in map-view-common.js?

I have upgraded from NS6 to NS7.
When I run ns build android I get this warning:
WARNING in ../node_modules/nativescript-google-maps-sdk/map-view-common.js 72:0-30
"export 'Style' (reexported as 'StyleBase') was not found in './map-view'
 @ ../node_modules/nativescript-google-maps-sdk/map-view.js
 @ ./app/authenticated/home-page/components/geo-clocking-button/modals/google-maps-modal/google-maps-modal.component.ts
 @ ./app/authenticated/authenticated.module.ts
 @ ./app/main/app.module.ts
 @ ./main.ts

did you find any solutions?

Based on @kefahB suggested I have created custom local package so each time we didn't need to change in node_modules/nativescript-google-maps-sdk/map-view.ios.js.
you can download package here: https://github.com/jitendraP-ashutec/nativescript-googlemap-sdk-package/blob/main/nativescript-google-maps-sdk-4.0.0.tgz
and place this file into root folder in your project and run below command to install this package into locally:
npm install nativescript-google-maps-sdk-4.0.0.tgz
I have tested it on Nativescript 7.0.10 and Angular 10.1.5.

Based on @kefahB suggested I have created custom local package so each time we didn't need to change in node_modules/nativescript-google-maps-sdk/map-view.ios.js.
you can download package here: https://github.com/jitendraP-ashutec/nativescript-googlemap-sdk-package/blob/main/nativescript-google-maps-sdk-4.0.0.tgz
and place this file into root folder in your project and run below command to install this package into locally:
npm install nativescript-google-maps-sdk-4.0.0.tgz
I have tested it on Nativescript 7.0.10 and Angular 10.1.5.

@jitendraP-ashutec thanks, very useful for now.

What if im getting one on android? what i should change in map-view-common.js?

same here, any news?

As reported by @alexmeia it does work. I tried it on android.

@leocrawf on an android emulator or a device ?  for me it works on my phone but not on my emulator

@DavidMares22 to be specific it worked on my android device, but not on the emulator.

@DavidMares22 it is now working on my android emulator. I am using an android 10 emulator.

@leocrawf  Great!. I'll try android 10 then, which version were you using before?

There is an issue when I try to do a build. This fix will only work with tns run [platform] but not tns build android ....... THis is my error:
ERROR in chunk vendor [initial]
vendor.js
/home/leo/Dev/Nativescript/MY PRODUCTS/mobileapp/appv7/node_modules/@nativescript/webpack/hmr/hot-loader.js!/home/leo/Dev/Nativescript/MY PRODUCTS/mobileapp/appv7/node_modules/nativescript-google-maps-sdk/map-view.js cc2715304aae9456372a50f12e5c36f0
Circular reexports "../node_modules/nativescript-google-maps-sdk/map-view.js".Style --> "../node_modules/nativescript-google-maps-sdk/map-view-common.js".StyleBase -(circular)-> "../node_modules/nativescript-google-maps-sdk/map-view.js".Style
Executing webpack failed with exit code 2.

@leocrawf I have managed to resolve that error by removing

export { StyleBase as Style };

from the file map-view.android.js
and the add it to the file map-view-common.js

I also have this same problem, but I didn't want to change files inside node_modules, did anyone solve it differently?

As a solution to this problem you can simply add
    alias['./map-view'] = resolve(projectRoot, 'node_modules/@nativescript/core');

in your webpack.config.js file. As long as your project doesn't have map-view file without any extension, you can sleep well. Hope it helps.

P

As a solution to this problem you can simply add
    alias['./map-view'] = resolve(projectRoot, 'node_modules/@nativescript/core');

in your webpack.config.js file. As long as your project doesn't have map-view file without any extension, you can sleep well. Hope it helps.

@MattCCC @Przemase thanks for the solution.

I'm still having this issue... I'm still on webpack<5. Can someone please take a look at my config and let me know if you see anything that can be causing this issue. Thanks in advance.
CONFIG  {
  mode: 'production',
  context: '/Users/myproj/app',
  externals: [ /^~\/package.json((\/.*)|$)/, /^package.json((\/.*)|$)/ ],
  watchOptions: {
    ignored: [
      '/Users/myproj/app/App_Resources',
      '**/.*'
    ]
  },
  target: [Function: nativescriptTarget],
  entry: { bundle: './app.ts' },
  output: {
    pathinfo: false,
    path: '/Users/myproj/platforms/android/app/src/main/assets/app',
    sourceMapFilename: '[file].map',
    libraryTarget: 'commonjs2',
    filename: '[name].js',
    globalObject: 'global',
    hashSalt: '1647539132598'
  },
  resolve: {
    extensions: [ '.ts', '.js', '.scss', '.css' ],
    modules: [ 'node_modules/@nativescript/core', 'node_modules' ],
    alias: {
      './map-view': '/Users/myproj/node_modules/@nativescript/core',
      '~/package.json': '/Users/myproj/package.json',
      '~': '/Users/myproj/app',
      'tns-core-modules': '@nativescript/core'
    },
    symlinks: true
  },
  resolveLoader: { symlinks: false },
  node: {
    http: false,
    timers: false,
    setImmediate: false,
    fs: 'empty',
    __dirname: false
  },
  devtool: 'none',
  optimization: {
    runtimeChunk: 'single',
    noEmitOnErrors: true,
    splitChunks: { cacheGroups: [Object] },
    minimize: false,
    minimizer: [ [TerserPlugin] ]
  },
  module: {
    rules: [ [Object], [Object], [Object], [Object], [Object], [Object] ]
  },
  plugins: [
    DefinePlugin { definitions: [Object] },
    CleanWebpackPlugin {
      dangerouslyAllowCleanPatternsOutsideProject: false,
      dry: false,
      verbose: false,
      cleanStaleWebpackAssets: true,
      protectWebpackAssets: true,
      cleanAfterEveryBuildPatterns: [],
      cleanOnceBeforeBuildPatterns: [Array],
      currentAssets: [],
      initialClean: false,
      outputPath: '',
      apply: [Function: bound apply],
      handleInitial: [Function: bound handleInitial],
      handleDone: [Function: bound handleDone],
      removeFiles: [Function: bound removeFiles]
    },
    { apply: [Function: apply] },
    GenerateNativeScriptEntryPointsPlugin {
      appEntryName: 'bundle',
      files: {}
    },
    NativeScriptWorkerPlugin {
      options: {},
      [Symbol(NATIVESCRIPT_WORKER_PLUGIN_SYMBOL)]: true
    },
    PlatformFSPlugin {
      platform: 'android',
      platforms: [Array],
      ignore: []
    },
    WatchStateLoggerPlugin {},
    WebpackObfuscatorPlugin { options: [Object], excludes: [Array] },
    ForkTsCheckerWebpackPlugin { options: [Object] }
  ]
}


ssh key validate newline

Signed-off-by: James Talton<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/10129

/retest


 Maybe you have a good way around it.

Thanks for the patches!

Sure, no problem! Could you update the JadConfig version in graylog2-server once you consider it production ready?

Yes, of course. But I'd like to think about refactoring the converters to get rid of the code duplication a bit.


[doc] Wrong example for DeviceMappingsManager.registerMeasure()

For me the following code doesn't work:
https://github.com/kuzzleio/kuzzle-device-manager/blob/5812b9f1e6feb4e4d4f993991a30fa4282217ec0/doc/1/classes/devices-custom-properties/register-measure/index.md?plain=1#L38-L61
I needed to do something similar to this:
 deviceManagerPlugin.devices.registerMeasure(
   'temperature',
   {
     fahrenheit: { type: 'float' },
     celsius: { type: 'float' }
   });

In addition to the different hierarchical position of the properties (no properties) the third argument doesn't exist on the method (any more):
https://github.com/kuzzleio/kuzzle-device-manager/blob/5812b9f1e6feb4e4d4f993991a30fa4282217ec0/lib/core-classes/DeviceMappingsManager.ts#L56

Also this document seems to have the same mistake:
https://github.com/kuzzleio/kuzzle-device-manager/blob/c81198fd2b44d9db3b2a19fafd6681e1e2efdd8b/doc/1/guides/mappings/index.md?plain=1#L198-L209

Hello @UncleSamSwiss
Thanks for pointing this mistake. We are currently working on the plugin v2 which will improve this part


Errors when using fp16-mode with high resolutions

Hi Hzwer, thanks for your work! When interpolating resolutions larger than FullHD (WQHD or UHD) in fp16 mode, i'm getting strange errors on the right half and the bottom of the interpolated frames (see example). The parsed, original frames are ok. Without fp16 or smaller resolutions everything is ok, too. I tested a bit and the error seems to occur for every pixel with one of its indices greater than 2000. Even if I crop the height to say 200 pixels, the right half is still buggy.
As a workaround I split my images in 4 tiles (with some padding) an combine the interpolated tiles later. But this is obviously not ideal.
If this is related to precision errors, how could it be dependant of the position of the pixel / size of the array? Isn't the fp16 math identical for every entry/pixel? Is there any fix possible? I would love to benefit from my tensor cores (rtx 3090).
Btw. im on v3.8, but the error was present before.
Thanks a lot!

Thank you very much for your feedback. I think this may require retraining the model. I will learn how to train the fp16 model.

Thank's, I look forward to the retrained model. Would be great if it
works, because the fp16 speed is phenomenal (~x4).
------ Originalnachricht ------
Von: "hzwer" @.>
An: "hzwer/arXiv2020-RIFE" @.>
Cc: "cheesywheesy" @.>; "Author"
@.>
Gesendet: 06.08.2021 05:10:14
Betreff: Re: [hzwer/arXiv2020-RIFE] Errors when using fp16-mode with
high resolutions (#188)

Thank you very much for your feedback. I think this may require
retraining the model. I will learn how to train the fp16 model.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hzwer/arXiv2020-RIFE/issues/188#issuecomment-893968768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDEBNYBHPXWU577AGA7K4LT3NHBNANCNFSM5BTZXTBQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

fp16 does not work with newer models.


Neynar Api Key

Does this setup require me to have Neynar Api Key for the message validation on my server?
https://github.com/Zizzamia/a-frame-in-100-lines/blob/d5a963526f07eeb1bd275178be765d8b67db441a/app/api/frame/route.ts#L10C77-L10C95

The NEYNAR_ONCHAIN_KIT is a default one you can use to try out your Frame.
But has some rate-limiting, so if your Frame is used by a lot of people, might not work occasionally.
To avoid that we advice to get your own Neynar Key.

Thank You.


Namespace Issue

There is a namespace issue if you install this extension along with ckanext-spatial.
Both extensions have a file that's labeled the same "public/js/common_map.js".

i wonder if this is the issue or just we are providing conflicting commonLeafletMap functions in there

@jguo144 a new pull request was merged and @calvinmetcalf changed the leaflet function name. Please try this out with the new commit.

Changing the leaflet function name and renaming common_map.js to ags_common_map.js fixed the issue.


add a runkit badge for node packages

like
[![Try Mockttp on RunKit](https://badge.runkitcdn.com/mockttp.svg)](https://npm.runkit.com/mockttp)

also consider defining a custom example: https://runkit.com/docs/resources#pages


Merkle airdrop data for 1inch airdrops

Would you consider publishing the amounts and merkle index numbers for all addresses that received an 1inch airdrop, please?
For the Uniswap airdrop the data is readily available as a whole at https://mrkl.uniswap.org/ and chunked at https://github.com/Uniswap/mrkl-drop-data-chunks.
Your backend returns the data for one address through these endpoints:
https://governance.1inch.io/v1.1/distribution/0x3e1ad9ab7cd9a3c48f8fe4ef1fe95ce9bd061294
https://governance.1inch.io/v1.1/distribution/v2/0x3e1ad9ab7cd9a3c48f8fe4ef1fe95ce9bd061294
However, the complete data for all addresses is not available.
Rationale: To check a batch of addresses for a claimable reward, the complete list of rewarded addresses is needed and their index number in the merkle tree, so that the function isClaimed(index) on the 1inch MerkleDistributor contract can be called on chain.

Code for the dataset generation is available at https://github.com/1inch/1inch-airdrop


Max out CPU resources for EKS-A CLI presubmits

/woof
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve

/override eks-anywhere-prowjobs-lint-presubmit


import-blacklist: allow package name preferences?

(forking from https://github.com/Microsoft/tslint-microsoft-contrib/issues/422)
When there are two modules that declare variables with the same name, it's easy to mistakenly import from the wrong package:
import { action } from "mobx"; // this one?
import { action } from "mobx-safe"; // or this one?

A rule that lets projects map imports to their preferred package imports would help:
{
    "rules": {
        "import-blacklist": [
            true,
            "rxjs",
            {
                "mobx-safe": {
                    "action": {
                        "override": ["*"],
                        "reason": ["Technical mumbo jumbo..."]
                    }
                }
            }
        ]
    }
}

...though this config could be misleading, as the "rxjs" setting tends away from that module while "mobx-safe"'s tends towards that one. I'm not sure if I have a preference to add to import-blacklist or make a new rule.

@JoshuaKGoldberg Would my PR here address your use case? https://github.com/palantir/tslint/pull/3926

Looks like it!

Fixed by #3926 🙌


Error 404 on http://sailorproject.org/main/index.lua

The "Sailor" link in the header on the news, about, donate, etc. pages links to index.lua instead of /index.lua, causing a 404 when trying to navigate back home.

Oops! Fixed :)


[IDEA] Automate project archival requests

Problem to solve
There's currently no way for project owners to archive projects without requesting manually in Discord. This creates a secondary problem of needing to verify that the requester is in fact the owner of the project being archived.
Proposal

Add an archived property to project metadata, and a form for updating the property. Allowing project owners to manually set their project to archived: true via the app will allow:

their ownership of the project to be verified
the project can immediately appear as "archived" or "pending archive" (even though it will need to be manually filtered into the archived list)

Connect the "archive project" form to a Discord channel, or have it create a Github issue automatically. When a project is archived, the Peel team will be notified that it should be manually added to the archived list.

duplicate of #567 , will keep this since it includes a more up to date proposal


Blobs Mypy Fix

Can one of the admins verify this patch?

live CI:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=360018&view=results

Closing this PR and opening a new one...messed up rebase big time