LookupError: App 'dynamic_preferences' doesn't have a 'userpreferencemodel' model.

Starting with a blank database, I am having problems running migrations:
    $ python manage.py migrate

    Applying dynamic_preferences.0001_initial...Traceback (most recent call last):
      File "/usr/local/lib/python3.5/site-packages/django/apps/config.py", line 163, in get_model
        return self.models[model_name.lower()]
    KeyError: 'userpreferencemodel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "manage.py", line 22, in <module>
        execute_from_command_line(sys.argv)
      File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
        utility.execute()
      File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv
        self.execute(*args, **cmd_options)
      File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute
        output = self.handle(*args, **options)
      File "/usr/local/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 204, in handle
        fake_initial=fake_initial,
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 115, in migrate
        state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
        state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
        state = migration.apply(state, schema_editor)
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/migration.py", line 129, in apply
        operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/operations/models.py", line 95, in database_forwards
        if self.allow_migrate_model(schema_editor.connection.alias, model):
      File "/usr/local/lib/python3.5/site-packages/django/db/migrations/operations/base.py", line 115, in allow_migrate_model
        return router.allow_migrate_model(connection_alias, model)
      File "/usr/local/lib/python3.5/site-packages/django/db/utils.py", line 311, in allow_migrate_model
        model=model,
      File "/usr/local/lib/python3.5/site-packages/django/db/utils.py", line 300, in allow_migrate
        allow = method(db, app_label, **hints)
      File "/usr/local/lib/python3.5/site-packages/rest_models/router.py", line 105, in allow_migrate
        model = apps.get_model(app_label, model_name)
      File "/usr/local/lib/python3.5/site-packages/django/apps/registry.py", line 195, in get_model
        return self.get_app_config(app_label).get_model(model_name.lower())
      File "/usr/local/lib/python3.5/site-packages/django/apps/config.py", line 166, in get_model
        "App '%s' doesn't have a '%s' model." % (self.label, model_name))
    LookupError: App 'dynamic_preferences' doesn't have a 'userpreferencemodel' model.

Doing showmigrations I see:
    $ python manage.py showmigrations

    ...
     [X] 0007_alter_validators_add_error_messages
     [X] 0008_alter_user_username_max_length
    captcha
     [X] 0001_initial
    contenttypes
     [X] 0001_initial
     [X] 0002_remove_content_type_name
    database
     [X] 0001_initial
    dynamic_preferences
     [ ] 0001_initial
     [ ] 0002_auto_20150712_0332
     [ ] 0003_auto_20151223_1407
     [ ] 0004_move_user_model
    dynamic_preferences_users
     [ ] 0001_initial
    ...

What could be the problem?

In development, removing all migrations for dynamic_preferences and recreating them works:
  ...
  Applying dynamic_preferences.0001_initial... OK
  Applying dynamic_preferences_users.0001_initial... OK
  ...

But this is not an acceptable workaround because I can not run this in production, where I can not remove the migrations of third-party applications.

I'm having a similar issue with a blank database but in my case it seems something related to global_preference_form_builder() function.

Hi @gonvaled and @marcofvera.
I'm sorry for remaining silent for such a long time. I have little times these days.
I think the issue you're facing is caused by #140. I'll take a few hours today to start a new project, reproduce the issue and find a possible workaround.

@marcofvera I cannot reproduce your issue, so I'd like to know more about your project. Is there any minimum code that reproduces the issue you could share ? Or at least a full stack trace ?

@EliotBerriot I'm sorry for the delay.. I just saw your comment now. I've tried to use the version 1.6 but still not working on my environment. Here is the full stack trace:
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/base.py", line 327, in execute
    self.check()
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/base.py", line 359, in check
    include_deployment_checks=include_deployment_checks,
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/management/base.py", line 346, in _run_checks
    return checks.run_checks(**kwargs)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/checks/registry.py", line 81, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/checks/urls.py", line 16, in check_url_config
    return check_resolver(resolver)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/urls/resolvers.py", line 254, in check
    for pattern in self.url_patterns:
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/urls/resolvers.py", line 405, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
    return import_module(self.urlconf_name)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/marco/git/funnydation/funnydation/funnydation/urls.py", line 7, in <module>
    from funnydation.views import HomeView, LoginView, LogoutView, PreferencesView
  File "/Users/marco/git/funnydation/funnydation/funnydation/views.py", line 42, in <module>
    class PreferencesView(FormMixin, TemplateView):
  File "/Users/marco/git/funnydation/funnydation/funnydation/views.py", line 43, in PreferencesView
    form_class = global_preference_form_builder(section='general')
  File "/Users/marco/funnydation/lib/python3.6/site-packages/dynamic_preferences/forms.py", line 126, in global_preference_form_builder
    return preference_form_builder(GlobalPreferenceForm, preferences, **kwargs)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/dynamic_preferences/forms.py", line 109, in preference_form_builder
    section=preference.section.name, name=preference.name)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/dynamic_preferences/managers.py", line 146, in get_db_pref
    pref = self.queryset.get(section=section, name=name)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/query.py", line 374, in get
    num = len(clone)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/query.py", line 232, in __len__
    self._fetch_all()
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/query.py", line 1118, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 899, in execute_sql
    raise original_exception
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
    cursor.execute(sql, params)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/Users/marco/funnydation/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: dynamic_preferences_globalpreferencemodel

Here is part of the code where I'm using the global_preference_form_builder() function:
class PreferencesView(FormMixin, TemplateView):
    form_class = global_preference_form_builder(section='general')
    success_url = reverse_lazy('preferences')
    template_name = 'preferences.html'

@marcofvera this happens because you are creating the form at module level, which requires database access.
Return the form class from the get_form_class method instead :)


feat(core): Add auto-instrumentation for otel

What/Why?
This change adds open telemetry auto instrumentation setup for the developers to view spans and traces on supported instruments. With this first increment on otel setup we can hook lightstep to view the traces by following these steps:

Grab LIGHTSTEP_ACCESS_TOKEN from lightstep access tokens and add it to your local environment
Run lightstep developer mode by following the steps mentioned in their official documentation

You will need docker installed for running this locally

Once you have the lightstep dev mode up and running, run catalyst locally and interact with the store
You can now start seeing traces in lightstep under the service we used the access token for

Testing

Closing this PR for now.


Replace asyncio with concurrent.futures

Resolves:

https://github.com/Vlsir/Vlsir/issues/56
https://github.com/Vlsir/Vlsir/issues/61
https://github.com/dan-fritchman/Hdl21/issues/122

Twinned with:

https://github.com/dan-fritchman/Hdl21/pull/143

Major changes:

Scrub asyncio from VLSIR and deprecate any *_async functions
Use concurrent.futures.ThreadPoolExecutor for multithreading in both spice.py and xyce.py
Removed async tests, did not replace with new tests for parallelism

This is quite awesome.
My first thought was - does the ThreadPoolExecutor really know how to parallelize thosee subprocesses? The language has s global interpreter lock after all; these aren't "real" threads we're firing up.
Anyway short answer is: yes!
My little test case was this:
import time
import subprocess
import concurrent.futures

def sleep_and_print(t: int):

    # Print some stuff to indicate we're starting
    print(f"starting {t}")

    # Method 1: use the built-in `time` / `sleep` methods:
    # time.sleep(t)

    # Method 2 - a bit closer to simulation: start a subprocess
    proc = subprocess.Popen(
        f"sleep {t}",
        shell=True,
        stdout=subprocess.PIPE,
        stderr=subprocess.PIPE,
    )
    stdout, stderr = proc.communicate()

    # Print some stuff to indicate we're done
    print(f"slept {t}")
    return t

with concurrent.futures.ThreadPoolExecutor() as executor:
    # Create some input sleep-times, a long one first and then shorter ones
    inp = [5, 1, 2, 3, 4]

    # Submit and wait for em
    futures = [executor.submit(sleep_and_print, i) for i in inp]
    results = [future.result() for future in concurrent.futures.as_completed(futures)]

Which, as you'd want, prints this:
$ python xyz.py
starting 5
starting 1
starting 2
starting 3
starting 4
slept 1
slept 2
slept 3
slept 4
slept 5

Great!
While I don't see anything about GIL-releasing, or knowledge of subprocess, or anything else directly related to this in the ThreadPool docs, this guy's blog (https://superfastpython.com/threadpoolexecutor-vs-gil/) does cover it, and says the same: it does what ya want.

So, ready to merge?

The students just taught me today - after leaving review comments, there is a "Submit Review" button I needed to hit, or they don't show up. Whoops!


Initial content offset notification

Notify components confirming to HUBComponentContentOffsetObserver protocol of initial content offset when component appears.
@Goos

Current coverage is 93.74% (diff: 100%)

Merging #56 into master will increase coverage by 0.27%

@@             master        #56   diff @@
==========================================
  Files            56         56
  Lines          3797       3803     +6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3549       3565    +16
+ Misses          248        238    -10
  Partials          0          0

Powered by Codecov. Last update 2317b94...4b58f6c


Remove the limit of amount tradable in the CM and automatically add the available quantity in either wallet as liquidity

Currently:
The maximum amounts tradable by the CM is ‘per session’. The bot will trade that amount and then stop when it’s traded. The CM needs to restart their satellite when reloading.
Change:
Let’s change that so that whatever amount is in the CM wallet is subject to trade. This way the bot runner doesn’t need to restart. And also the bot runner can deposit more to that wallet remotely and it will work
The bot should automatically add whatever is in either wallet account to the liquidity available.
This also means for example of the bot sell 10 ETHtz for 10 eth. The 10eth should then be available for swap in the other direction. immediately. The user shouldn’t have to restart or do anything to make that happen.

Can we link this to the resolution of #78?


QRoute.withChild monted to / not worked.

Example routes config:
final routes = [
    QRoute.withChild(
        name: AdminRoute,
        path: '',
        builderChild: (child) => AdminPage(child),
        initRoute: 'dashboard',
        children: [
          QRoute(
              name: 'dashboard',
              path: 'dashboard',
              builder: () => DashboardPage()),
          QRoute(
              name:  'settings',
              path: 'settings',
              builder: () => SettingsPage())
        ])
  ];
];

When I try to navigate to QR.toName('settings') I got the Dashboard page instead of the Settings page.
Log:
QR: Finding Match for //settings under root
QR: Navigator with name [admin] was removed
QR: adding Route: Key: [0](admin), Full Path: / to the navigator with Key: [-1](Root)
QR: Finding Match for dashboard under path /
QR: adding Route: Key: [1](dashboard), Full Path: //dashboard to the navigator with Key: [8](admin)

When you use Route.withChild you need to set a path for the parent.
with your definition, the routes tree will be

'/' => AdminPage
'/dashboard' => DashboardPage
'/settings' => SettingsPage

so the routes will be defined as sibling as in
   QRoute(
              name: 'admin',
              path: '',
              builder: () => AdminPage()),
   QRoute(
              name: 'dashboard',
              path: 'dashboard',
              builder: () => DashboardPage()),
   QRoute(
              name:  'settings',
              path: 'settings',
              builder: () => SettingsPage())

but what you need to do is to define the routes as children
    QRoute.withChild(
        name: AdminRoute,
        path: 'admin',
        builderChild: (child) => AdminPage(child),
        initRoute: 'dashboard',
        children: [
          QRoute(
              name: 'dashboard',
              path: 'dashboard',
              builder: () => DashboardPage()),
          QRoute(
              name:  'settings',
              path: 'settings',
              builder: () => SettingsPage())
        ])

to get

'/admin' => AdminPage

'/admin/dashboard' => DashboardPage
'/admin/settings' => SettingsPage

Okey, Is there a way how to get the address for redirect to admin by name? This is needs for QMiddleware.

unfortunately no, not right now, but this will be a good idea to redirect to name. I will try to implement it soon


Log is not working

Hi Team,
I am using robotframework of java version(please find maven dependency below for the same). Actually when i am using Log keyword its not displaying anything on my console. Also, i tried with Log To Console and i get error as No keyword defined.

org.robotframework
robotframework
2.8.1

Can anyone help me to do it?

Log keyword is designed to log only to the log file, not to the console, by default. Log To Console and console argument to Log are both new in RF 2.8.2:
http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Log


Reformat json schema

Apply proper format to json schema. No content changes.

@Alex-Izquierdo how do we generate this is there a formatter that you use?

how do we generate this is there a formatter that you use?

@mkanoor I usually have it integrated by default in my IDE (format on-save), in the case of json, IDE's usually comes with that feature without additional plugins. We have a ticket in our backlog to include it in our workflows.
Ref:
https://www.jetbrains.com/help/pycharm/reformat-and-rearrange-code.html
https://code.visualstudio.com/docs/languages/json#_formatting

This can be done nicely using prettier hook on pre-commit, feel free to borrow from https://github.com/ansible/ansible-lint/blob/main/.pre-commit-config.yaml#L31-L58
If in doubt, I can make a PR myself to add it but we have two other PRs to pre-commit config to merge before that.

@Alex-Izquierdo can you resolve the conflict then we can merge this?

@mkanoor I have added a json formatter for pre-commit.


[question] how can I test for localhost??

As titile, I want to know how to test my local project.
Thanks.

Please see the examples directory. There's a number of examples there showing how to use the chromedp project. If you'd like to write unit tests in the "Go way", the best examples that exist today are in the main folder, with the _test.go extension.


Add need schema

This is the first step of planned work to copy Needs to the
Publishing API, where they will be treated as content.
This provides the basic schema and example for Needs, and will need to be
enhanced with additional fields later on.
Paired with @issyl0
Trello

(You can ignore the tests for multipage-frontend - I'm fixing those)


small idea: create and export the basic model types as well as the complete type

I'm finding it useful to create types of all my Prisma models: export type UserDB = z.infer<typeof UserModel>
I'm doing this because I end up cleaning data up a bit and transforming it when I pull it from the DB, so it makes some sense to create a new type derived from the base types which I can then use to construct more accurate types for the client code. zod-prisma could do this when it's creating the complete types etc. I just wonder if anyone else is doing this and whether it would be a useful addition to the library?

Hmmm. I can certainly see the use case for this.  Thanks for the suggestion!

I've had a bit of a rethink on this one. I may just be that my app and schema are a bit complex. Like I never query a single table and return it, it's always complicated join queries, and I also have to transform a some of the data to be consumed client side.. But I've found in practice it's better to write my client side types by hand.


updates to build process inc artifacts bundled in PyPI pacakge

@elais requested Pydantic classes
it looks like nmdc.yaml is the only source file that's getting bundled

less of an issue due to pending switch to cookiecutter branch


A CORS cross-domain error occurred in Hexo + Fluid + Zeabur

Logs:
Access to XMLHttpRequest at 'https://{my twikoo comment link}' from origin 'https://{my blog link}' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Failed to load resource: net::ERR_FAILED
twikoo.all.min.js:2  Uncaught (in promise) 0
t @ twikoo.all.min.js:2
u @ twikoo.all.min.js:2

It was working fine yesterday, but the problem suddenly appeared today.
These are all part of the same Zeabur project.

This is not an error that can be repeated often, and it seems to be browser independent.
Because in the same browser, just did not report this error.

https://twikoo.js.org/faq.html#部署后遇到评论失败-0-管理面板进不去

If you see Access to XMLHttpRequest at ... No 'Access-Control-Allow-Origin' header is present on the requested resource.: Please visit envId first to check whether the cloud function is running normally. If it is not running normally, please redeploy the cloud function and make sure not to miss any steps. If it is running normally, please start the website locally (localhost) and visit the management panel-configuration management-general, clear the CORS_ALLOW_ORIGIN field and save, then refresh and try again.

sure


Add Support for SSL Network Connections

This PR adds support for SSL connection based on previous PR#667.

This PR moves the logic of handling SSL request from NetworkConnection to ProtocolHandler. It's because different protocols have different ways to handle SSL request from first data package.
It corrects some logic in StateMachine() function to address SSL package.
It sets the 'data' directory as the default directory for server key files and certificates. User can set the file path by setting 'private_key_file' and 'certificate_file'. The provided path is relative to the Data directory(peloton/data/).

Now, it functions in a basic way and the user can connect to Peloton using SSL. But we didn't handle some errors properly and didn't add multithread in SSL yet.

This PR does not run checks. Will submit a new PR later.


Add man page to zblacklist

zblacklist needs a manpage. Copy the .ronn file for zmap and make it be about zblacklist

Fixed by 2694b233fa0c198fa00334acd8f6519fad828249

Does this get installed by the current cmake configuration?


Adding filepath argument to convertNameToId function

Since I have no description of what this PR does, I’m closing it, but I’d be happy to reopen it if there is a linked explanation.


ActionBar with custom Layout compiled with AOT

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
{
  "nativescript": {
    "id": "com.###########.#####",
    "tns-android": {
      "version": "5.4.0"
    },
    "tns-ios": {
      "version": "5.4.2"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "dependencies": {
    "@angular/animations": "~8.0.0",
    "@angular/common": "~8.0.0",
    "@angular/compiler": "~8.0.0",
    "@angular/core": "~8.0.0",
    "@angular/forms": "~8.0.0",
    "@angular/http": "~8.0.0-beta.10",
    "@angular/platform-browser": "~8.0.0",
    "@angular/platform-browser-dynamic": "~8.0.0",
    "@angular/router": "~8.0.0",
    "nativescript-angular": "~8.0.0",
    "nativescript-fingerprint-auth": "^7.0.1",
    "nativescript-platform-css": "^1.6.9",
    "nativescript-plugin-firebase": "^9.0.1",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-sidedrawer": "^6.0.0",
    "reflect-metadata": "~0.1.12",
    "rxjs": "~6.5.0",
    "tns-core-modules": "~5.4.0",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~8.0.0",
    "@ngtools/webpack": "~8.0.0",
    "nativescript-dev-typescript": "~0.10.0",
    "nativescript-dev-webpack": "~0.24.0"
  },
  "gitHead": "8c1a4866a66daab09bf5ef8e5a96472687192373",
  "readme": "NativeScript Application"
}

✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.2 version and is up to date.
✔ Component tns-core-modules has 5.4.3 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.

Describe the bug
I am using an custom ActionBar like followed:
<ActionBar class="mat-bg-header" title="" flat="true">
    <GridLayout *ngIf="environmentService.device == 'android'" columns="auto,10,*,auto,*,10,auto,15">

        <GridLayout col="6" rows="auto,20" columns="auto,20,10,auto,20">

        </GridLayout>
    </GridLayout>

    <ActionItem *ngIf="environmentService.device == 'ios'" ios.position="left" android.position="left">

    </ActionItem>

    <ActionItem *ngIf="environmentService.device == 'ios'" ios.position="right" android.position="popup">
        <GridLayout rows="auto,20" columns="auto,20,10,auto,20">

        </GridLayout>
    </ActionItem>
</ActionBar>

After that i call:
 tns run android --bundle --env.uglify --env.aot --env.snapshot
Which will result in:
ERROR in : 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("ol="0" (tap)="onOpenDrawer()" class="material-icons mat-bg-header" text="">
        [ERROR ->]<GridLayout col="6" rows="auto,20" columns="auto,20,10,auto,20">
            <Label row="0" col="0" r")
: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("<ActionBar class="mat-bg-header" title="" flat="true">
    [ERROR ->]<GridLayout *ngIf="environmentService.device == 'android'" columns="auto,10,*,auto,*,10,auto,15">
   ")
: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("m *ngIf="environmentService.device == 'ios'" ios.position="right" android.position="popup">
        [ERROR ->]<GridLayout rows="auto,20" columns="auto,20,10,auto,20">
            <Label row="0" col="0" rowSpan="")

So I removed --env.aot and works.
It seems that the AOT Option is causing this issue.
To Reproduce
Take the ActionBar code (loaded in a shared module) and try to run it with:

tns run android --bundle --env.uglify --env.aot --env.snapshot

Expected behavior
Should compile for the USB connected device.
Sample project
I don't have this project public but can invite on GitHub.
Additional context
Haven't found something so far.

Hi @Cateye82,
I tested the described problem in a sample project, however, was unable to recreate the issue. For your convenience, I am attaching my sample project. Please review it and make the needed changes, that will allow us to reproduce the problem.
Archive.zip

Hi @tsonevn,
thank you for your reply, I will take a look to your code as soon as possible. Right now I just proofed that your code compiles fine. Hopefully I will find the difference compared to mine to post the solution here.

HI @tsonevn,
I made the changes to the source code to reproduce the issue.
Basically I separated the ActionBar into the "topbar" component and loaded it by the "shared" module.
Archive.zip

Hi @Cateye82,
Thank you for the additional info and the new sample project.
I was able to recreate the problem, however, after adding the NO_ERRORS_SCHEMA  in the shared.module.ts file, the issue is no longer reproducible. For example:
import {NgModule, NO_ERRORS_SCHEMA} from '@angular/core';

import {NativeScriptCommonModule} from "nativescript-angular/common";
import {NativeScriptFormsModule} from 'nativescript-angular/forms';
import {NativeScriptHttpModule} from 'nativescript-angular/http';
import {NativeScriptHttpClientModule} from "nativescript-angular/http-client";

import {FormsModule, ReactiveFormsModule} from "@angular/forms";

import {TopbarComponent} from "../topbar/topbar.component";

@NgModule({
    imports: [
        NativeScriptCommonModule,
        NativeScriptFormsModule,
        NativeScriptHttpModule,
        NativeScriptHttpClientModule,
        FormsModule,
        ReactiveFormsModule
    ],
    declarations: [
        TopbarComponent
    ],
    exports: [
        NativeScriptCommonModule,
        NativeScriptFormsModule,
        NativeScriptHttpModule,
        NativeScriptHttpClientModule,
        FormsModule,
        ReactiveFormsModule,
        TopbarComponent
    ],
    schemas: [
        NO_ERRORS_SCHEMA
    ]
})
export class SharedModule {
}

Can you try adding the NO_ERRORS_SCHEMA in your project into the shared module and check if you will be able to recreate the problem.
For your convenience, I am attaching the project with the needed change.
Archive.zip

Hi @tsonevn,
you are right, this solved my issue. It didn't came to my mind that the missing schema is causing such an error. Thank you for your support.


options argument is not passed into emotion styled function

🐛 Bug Report
As seen here: https://github.com/gregberge/xstyled/blob/9cec90b9574162148b5e4cbd7b8727d3e12ac22f/packages/emotion/src/styled.ts#L37
Original emotion styled is called only with component argument, while the underlying library styled, can also take an additional options argument used mostly with shouldForwardProp.
To Reproduce
Following code is not working as expected, isUnderlined prop is still being pushed into the RouterLink component:
import styled from "@xstyled/emotion";

export const Link = styled(RouterLink, {
  shouldForwardProp: (propName) => propName !== "isUnderlined",
})<LinkProps>`
  color: link.text;
  text-decoration: ${(props) =>
    props.isUnderlined === false ? "none" : "underlined"};
`;

Expected behavior
Changing the import to direct import from emotion fixes the behaviour, although obviously it loses the access to theme, so needs to be worked around using the th helper.
import styled from "@emotion/styled";

export const Link = styled(RouterLink, {
  shouldForwardProp: (propName) => propName !== "isUnderlined",
})<LinkProps>`
  color: ${th.color("link.text")};
  text-decoration: ${(props) =>
    props.isUnderlined === false ? "none" : "underlined"};
`;

Hello @macocha, thanks for reporting, I will investigate it as soon as I have a moment.


When trying to install BTCPAY

[+] Building 0.0s (0/0)
ERROR: unable to prepare context: path "./src/btcpay" not found

                  Install Error

Previous installation detected. Please cleanly uninstall before trying again.

Can't see any BTCPL

If .src/btcpay is not found, a relative path, it suggests you are running the Parmanode script from outside its directory, or you've put it somewhere weird and don't have permission

all my issues were caused by running the installer outside of HOME as root.
This got fixed by re-installing in Home/Desktop


Enable HBAO in the sandbox tool.

Motivation and Context
This enables HBAO in the sandbox tool.
Depends on: https://github.com/facebookresearch/habitat-sim/pull/2223

How Has This Been Tested
Tested locally.

@xavierpuigf

Do you have suggestions for how to do this generally for habitat-lab?

SimulatorConfiguration now has a enable_hbao flag. I believe that the correct approach would be to add a enable_hbao configuration flag in structured configs, then pass it to habitat-sim in habitat_simulator.py's create_sim_config.

Why do we care about giving this option? Are things slower?

HBAO is great for creating visuals for humans, but it's unlikely to help trained agents converge faster. It does have a performance impact, albeit not very large. I would not enable this feature when training.


Development 313 minting

Description

Fixing minting so it always works against mainnet
Adding Info and link to docs
Enhancements to the UI

Changes

Adding the minting url in the in the build-env script
Changing the title and adding a warning
adding a minting.md file

Related Issues
#1566
Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

Can we make the spacing consistent here? Maybe move the "How to get receipt hashes to test" section downwards so that there isn't alot of unused space at the bottom. Please also increase the font size. It is a bit difficult to read.

I won't increase the font size as that would make this info dialogue inconsistent with all the other ones.


test(behavior_path_planner): implement node test for pull_out module

Description

Related with https://github.com/autowarefoundation/autoware.universe/issues/3723
Implement node_interface test for pull_out module.
Following PR should be merged first.
https://github.com/autowarefoundation/autoware.universe/pull/3857
https://github.com/autowarefoundation/autoware.universe/pull/3868
Tests performed
test success with old/new architecuture by following command.
colcon test --event-handlers console_cohesion+ --packages-select behavior_path_planner

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

approval from rtc is necessary to plan path from the scene module.
going to imlement flag to execute plan() without approval from rtc.
convert this pr to draft until that feature is implemented.


Upgrade PyO3 and numpy to 0.16.0

This commit updates pyo3 and numpy to the latest release 0.16.0. The
details on these releases can be found here:
https://pyo3.rs/v0.16.0/changelog.html
and
https://github.com/PyO3/rust-numpy/blob/main/CHANGELOG.md
Unfortunately there are a number of breaking changes and deprecations we
will have to update our usage to account for. This commit starts the
process by fixing the compiler errors due to changes in behavior a
subsequent commit will address the deprecation warnings.

Deprecate the #[pyproto] traits. (https://github.com/PyO3/pyo3/pull/2173)

I think that will be the most amount of work from moving to PyO3 0.16 as most of our custom return types use #[pyproto]. The removal is only going to happen around the PyO3 0.18 release, but it would good to move from #[pyproto]to#[pymethod]` before that.

Yeah, that's what my next step was to tackle all of those pyproto deprecation warnings. They will fail the clippy run in ci without fixing all the deprecation warnings (it's why I tagged it on hold). But I wanted to push up what I had after tracking down all the private pyfunctions.

Yeah, that's what my next step was to tackle all of those pyproto deprecation warnings. They will fail the clippy run in ci without fixing all the deprecation warnings (it's why I tagged it on hold). But I wanted to push up what I had after tracking down all the private pyfunctions.

We can temporarily use #![allow(deprecated)] (along the lines of https://github.com/PyO3/pyo3/pull/2173) and open a separate issue to migrate away from #[pyproto]

I just pushed 58ab94e to fix pyproto deprecation warnings. For the most part the changes were straightforward. I just had to redefine our own version of the deprecated pyo3::gc::PyGCProtocol since it's the most convenient way to adjust the behavior of each class regarding garbage collection.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

136 of 155 (87.74%)  changed or added relevant lines in 19 files are covered.
7 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 98.412%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/iterators.rs
58
77
75.32%

Files with Coverage Reduction
New Missed Lines
%

src/generators.rs
1
98.52%

src/isomorphism/vf2.rs
2
96.24%

src/iterators.rs
2
93.15%

src/shortest_path/all_pairs_dijkstra.rs
2
98.54%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
11094

Relevant Lines:
11273

💛  - Coveralls


Can we use url for reading image?

‘Image::fromFile’ uses ‘file_get_contents’ so this should work with URLs as well.


Feature/additional tests

Increases test coverage. If PR #2 is merged first this will need rebasing against master

Coverage decreased (-2.03%) to 97.973% when pulling ad3d95871f3452dd2d871b7bd43d5f208728e7ec on feature/additional-tests into ffe3dcfb1c8a5a1a734098d815b47f64f036a6e6 on feature/process-file.


VisBug doesn't open on certain websites

When trying to open VisBug on YouTube or YouTube Music, an error is logged to the browser's console:

And the extension's sidebar doesn't show up. I couldn't find more sites to reproduce this bug, but I could consistently reproduce it on Windows 10, using Google Chrome and Microsoft Edge without any other extension installed.

ew yeah, i see it too. looks like they've got a custom element polyfill that changed how to define custom elements or something..
will investigate further to see how i can make my bundle not conflict with that custom-elements-es5-adapter-vflset/ file.
thanks for reporting!


Cannot attach dbs by attach_dbs at mssql-server-linux

Cannot attach database files by attach_dbs env on linux image. Is it possible?

Can we get an explanation as to why this is currently different between Windows and Linux SQL Server images? What is the desired workaround?

@perrysk-msft implemented attach_dbs as an experiment to see if that would be useful on Windows containers.  It is implemented using PowerShell scripting in the entrypoint.  We could do something similar on the Linux container side using bash scripts or something, but our longer term goal is to implement this as something that is actually part of the engine that is executed on sqlservr start.  We'll get to that eventually but it is backlogged behind other priorities right now.  In the sense of trying to be efficient we're not spending time on a temporary solution in bash scripts on the Linux side.
You can do something like this on your own using an approach similar to what @perrysk-msft did but just use bash scripting instead.  You can see his implementation for Windows here:
https://github.com/Microsoft/mssql-docker/tree/master/windows/mssql-server-windows
You'll see that the CMD in the Dockerfile runs the start.ps1 PowerShell.  Inside of the start.ps1 you'll see how he parses the JSON that is passed in via the env variable.
If you dont really care about it being parameterized as an env var so that it can be used in different situations you can try an implementation similar to this:
https://github.com/twright-msft/mssql-node-docker-demo-app


Restructure Project

MacOS support
standalone .exe and binary generation (You don’t need to install NodeJS or node_modules anymore)
converted your plugin to a Rojo project
converted your JavaScript project to TypeScript
reformatted your plugin using Stylua
added GitHub Actions CD workflow that builds the plugin .rbxm file and the standalone Windows .exe and MacOS binary
rewrote server in TypeScript

You might want to add a "production" branch. The CD workflow will only run when this branch is updated.


Search for URL in institutionCode, better search error messages

Add more helpful error message when multiple repositories match the given institutionCode (either by acronym, URL, or name).

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (256f9e3) 85.81% compared to head (533301c) 59.92%.

:exclamation: Current head 533301c differs from pull request most recent head 8978418. Consider uploading reports for the commit 8978418 to get more accurate results

Files
Patch %
Lines

...pp/models/dataset_record/darwin_core/occurrence.rb
0.00%
25 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3649       +/-   ##
================================================
- Coverage        85.81%   59.92%   -25.90%
================================================
  Files             2020     1519      -501
  Lines            74283    46186    -28097
================================================
- Hits             63749    27675    -36074
- Misses           10534    18511     +7977

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


Inactivity note

As everyone already noticed, this repo is not being maintained anymore as I didn't write dotnet for at least 3 years.
I'm sorry for don't taking care of this sooner but if anyone would like to take care of it there is two possibilities:
1 - add someone else that wants to move things forward (or transfer the entire repo)
2- simply fork it and create another nuget package
Feel free to ping me here if you would like to take the ownership.

@lucascebertin I know you left repo as is, but can you resolve PRs please? Thank you.

  I attempted to push changes pertaining to an Oracle upgrade to a feature branch but was unable to do so from my machine; not sure if you're prohibiting contributions or if I've got some config issue on my machine.

Sorry, as you can see, I'm not actively looking to this repository anymore plus I'm not a dotnet developer anymore because of that I'm trying to pass the ownership.
Sorry again, all branchs are locked to contribute directly, it's strictly necessary to send pull requests but as I said I can't do that anymore.
If you (or anyone else) have interest in pushing this work forward, please, let me know and I add you as a contributor/owner.
And, of course, you can fork it and create your own path.

I gave it some thought, but the timing's not quite right for me to pick this up - I'm likely to find myself in the same position that you are in a couple months.  Sorry I can't make it work right now.  If you find another taker, I can still contribute the changes at a later date if that individual is interested.

I would consider myself as a decent dotnet developer and I often find myself using this repository in my projects.
If you don't find anyone else to maintain this project any longer, I would like to do this and resolve issues (for example reading from appsettings.json file as some already requested).
I currently have a full time job and are studying at the same time, but I think working 15-25 hours a month on this project and resolving issues is doable for me.
I would be happy if I could take care of this!

Awesome, @AHeiming, today I'll add you as a maintainer into this.
Is it ko for you?


Ft backend api modified

Description
Modifies user category APIs
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added necessary inline code documentation

Based on the approval received from the team members and Codacy. This request is merged and closed


chore: be more patient in WaitKubernetesAPIServer

This patch increases the retry interval to a more sensible value in WaitKubernetesAPIServer,
in case when istio sidecar in enabled, the init/restore, etc. job wait for the istio proxy to be ready
with proper patience.
Closes #5382

/test limit=local ft=smoke

/test


Doubts about the networks parameters and FLOPs

Hi, Fancy! Thanks for your excellent work.
StyleSwin synthesizes a 1024x1024 image with 40.86M params and 50.90B FLOPs, as shown in the paper of Table 6.
But I reproduced the results by running:
from thop import profile
flops, params = profile(generator, (noise,))             # noise: torch.Size([1, 512])
print('flops: ', flops /<PHONE_NUMBER>, 'params: ', params / 1000000)
flops, params = profile(discriminator, (real_img,))  # real_img: torch.Size([1, 3, 1024, 1024])
print('flops: ', flops /<PHONE_NUMBER>, 'params: ', params / 1000000)

The generator params are 28.28M with 47.36B FLOPs.
The discriminator params are 27.73M with 50.19B FLOPs.
I don't know where the problem is. Looking forward to your reply!

It is because thop does not recognize costome operates like EqualConv, so it will not take these parameters into account. Therefore, we recommand to calculate the params and FLOPs using provided code. Thanks.


Updated Friendly Names

updated Device types under peripheralKinds
updated Protocol provider class under providerID
updated Provider under providerName

@TerryWarwick,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Improve Character Editor

[ ] Remove alternative name editor from Character Editor (to use the editor integrated one instead)
[ ] Remove icon selector from Character Editor (same as above)
[ ] Add a color indicator
[ ] Review load time from portraits.
[ ] Save the same way as the TimelineEditor

Remove alternative name editor from Character Editor (to use the editor integrated one instead)
Why not rename "alternative name" to "default name", so when a text event is associated with that character, the showname that shows up is default unless overridden by the text event's showname?

Remove icon selector from Character Editor (same as above)
There is no editor-integrated icon selector, is there? I don't think we should remove the character icon selector.

Why not rename "alternative name" to "default name"...
Becasue default name was the same name as the resource, but since both of them (alternative and default) are exposed in the editor, I'll use those instead.

There is no editor-integrated icon selector, is there? I don't think we should remove the character icon selector.
It is, that's why I'm removing it, the icon frame will be a displayer only


Fails to build for simulator: cannot find 'PiPViewCoordinator' in scope

Steps to Reproduce
Execute flutter run on the code sample (https://github.com/saibotma/jitsi_meet_wrapper/tree/main/jitsi_meet_wrapper/example; Revision: 6d4fac50683af57f845efaac3ed36cb8e2c03176) running on an iOS simulator.
Expected results:
Should build and run successfully
Actual results:
Crashes with the following error:
Command CompileSwiftSources failed with a nonzero exit code
    /Users/tobias/Documents/Dev/projects/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Classes/CustomPiPViewCoordinator.swift:165:33: error: cannot find 'PiPViewCoordinator' in scope
                    in: Bundle(for: PiPViewCoordinator.self),
                                    ^~~~~~~~~~~~~~~~~~

It works when building for a hardware device, though.
It also works when running the example from Xcode.
The same issue occurs on a similar plugin: https://github.com/gunschu/jitsi_meet/issues/309
And another issue regarding this topic also exists, but got closed because of “timeout”: https://github.com/flutter/flutter/issues/91958

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-DE)
    • Flutter version 2.5.3 at /Users/tobias/Documents/Dev/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (8 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/tobias/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
    • IntelliJ at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-1/212.5457.46/IntelliJ IDEA.app
    • Flutter plugin version 62.0.3
    • Dart plugin version 212.5632

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Tobias’s iPhone (mobile) • 8b798eed53199f1046bc52e9f41762dd0ce95403 • ios            • iOS 12.5.5 16H62
    • iPhone 12 mini (mobile)  • 1AA31ADD-DA00-4FFD-8375-D6D662C1C041     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)          • macos                                    • darwin-x64     • macOS 11.6 20G165 darwin-x64
    • Chrome (web)             • chrome                                   • web-javascript • Google Chrome 96.0.4664.93

@saibotma
Cloned the repo you shared and tried running it on iOS simulator, but getting below compile errors:
error: no such module '_Concurrency'     import _Concurrency
Can you provide us flutter run --verbose and ios/podfile ? You may put the entire verbose log in a textfile and share it here.
Thanks.

Absolutely have no clue why you get this error, as I don't get it with a freshly cloned repo. Nevertheless, here is the verbose log and podfile:
log.txt
Podfile.zip

Works on Flutter 2.8. I close this issue.

@saibotma
Can you provide updated flutter doctor -v and flutter run --verbose ?

Thanks for reopening. Here are the updated filed:
doctor.txt
verbose.txt

@saibotma
From verbose log, it seems to be pointing towards a custom class named PiPViewController:
CustomPiPViewCoordinator.o

/Users/tobias/Documents/Dev/projects/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Classes/CustomPiPViewCoordinator.swift:165:33: error: cannot find 'PiPViewCoordinator' in scope
                               in: Bundle(for: PiPViewCoordinator.self),

Check this and this link and see if it helps.

No, this should not be a problem with the custom class. It works when I run the app via Xcode on a simulator. It just does not work with the flutter tools.

@saibotma
I am trying to run the project you shared earlier, but getting below error:
`This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate
this app to the V2 embedding.
Take a look at the docs for migrating an app:
https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects`

Can you please update it for v2 so that I can run from my end and check the issue ?

@darshankawar
It actually already is using the V2 embedding.
I nevertheless followed the guide and changed some stuff.
Please take another look here: https://github.com/saibotma/jitsi_meet_wrapper/tree/7141ec22faa0ef40e729f1c7964a2e0edd53b936

Thanks for the update. Running it on simulator using latest master, I do see the same error, as below:
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.PgPiaq/flutt
    	er_ios_build_temp_dirc3pIXy/temporary_xcresult_bundle

    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Cla
    sses/CustomPiPViewCoordinator.swift:165:33: error: cannot find
    'PiPViewCoordinator' in scope
                    in: Bundle(for: PiPViewCoordinator.self),
                                    ^~~~~~~~~~~~~~~~~~
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    Command CompileSwift failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

    Result bundle written to path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.PgPiaq/flutt
    	er_ios_build_temp_dirc3pIXy/temporary_xcresult_bundle

Uncategorized (Xcode): Command CompileSwift failed with a nonzero exit code

Swift Compiler Error (Xcode): Cannot find 'PiPViewCoordinator' in scope
/Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Classes
/CustomPiPViewCoordinator.swift:164:32

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
dhs@Dhss-MacBook-Pro example %

The error is pointing to CustomPiPViewCoordinator.swift class:
/// Customize the presentation of exit pip button
    open func configureExitPiPButton(target: Any,
                                     action: Selector) -> UIButton {
        let buttonImage = UIImage.init(named: "image-resize",
                // Need to get image from original coordinator code.
                in: Bundle(for: PiPViewCoordinator.self),
                compatibleWith: nil)

However, running the same code on device gives me below error which is different from above:

 error log

Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.2k2MSu/flutt
    	er_ios_build_temp_dirwmUKF3/temporary_xcresult_bundle

    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Cla
    sses/CustomPiPViewCoordinator.swift:2:8: error: failed to build module
    'JitsiMeetSDK' from its module interface; the compiler that produced it,
    'Apple Swift version 5.5 (swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)', may
    have used features that aren't supported by this compiler, 'Apple Swift
    version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)'
    import JitsiMeetSDK
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Cla
    sses/CustomPiPViewCoordinator.swift:2:8: error: failed to build module
    'JitsiMeetSDK' from its module interface; the compiler that produced it,
    'Apple Swift version 5.5 (swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)', may
    have used features that aren't supported by this compiler, 'Apple Swift
    version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)'
    import JitsiMeetSDK
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Cla
    sses/CustomPiPViewCoordinator.swift:2:8: error: failed to build module
    'JitsiMeetSDK' from its module interface; the compiler that produced it,
    'Apple Swift version 5.5 (swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)', may
    have used features that aren't supported by this compiler, 'Apple Swift
    version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)'
    import JitsiMeetSDK
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Cla
    sses/CustomPiPViewCoordinator.swift:2:8: error: failed to build module
    'JitsiMeetSDK' from its module interface; the compiler that produced it,
    'Apple Swift version 5.5 (swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)', may
    have used features that aren't supported by this compiler, 'Apple Swift
    version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)'
    import JitsiMeetSDK
           ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example
    /build/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK
    .framework/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:1
    0:8: error: no such module '_Concurrency'
    import _Concurrency
           ^
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

    Result bundle written to path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.2k2MSu/flutt
    	er_ios_build_temp_dirwmUKF3/temporary_xcresult_bundle

Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): No such module '_Concurrency'
/Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/bui
ld/ios/Debug-iphoneos/XCFrameworkIntermediates/JitsiMeetSDK/JitsiMeetSDK.framewo
rk/Modules/JitsiMeetSDK.swiftmodule/arm64-apple-ios.swiftinterface:9:7

Swift Compiler Error (Xcode): Failed to build module 'JitsiMeetSDK' from its
module interface; the compiler that produced it, 'Apple Swift version 5.5
(swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)', may have used features that aren't
supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45
clang-1<IP_ADDRESS>)'
/Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/ios/Classes
/CustomPiPViewCoordinator.swift:1:7

Error launching application on Darshan's iphone.
dhs@Dhss-MacBook-Pro example %

I tried adding below entry in the podfile and ran again which got rid of the PiPViewCoordinator error, but giving me different errors as below:
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 x86_64'

 new error log

Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.k3QxKX/flutter_ios_build_temp_dirn82jlA/te
    	mporary_xcresult_bundle

    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/build/ios/Debug-iphonesimulat
    or/jitsi_meet_wrapper/jitsi_meet_wrapper.framework/Modules/module.modulemap:9:12: error: header
    'jitsi_meet_wrapper-Swift.h' not found
        header "jitsi_meet_wrapper-Swift.h"
               ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/ios/Runner/GeneratedPluginReg
    istrant.m:10:9: note: submodule of top-level module 'jitsi_meet_wrapper' implicitly imported here
    #import <jitsi_meet_wrapper/JitsiMeetWrapperPlugin.h>
            ^
    /Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/ios/Runner/GeneratedPluginReg
    istrant.m:18:4: error: use of undeclared identifier 'JitsiMeetWrapperPlugin'
      [JitsiMeetWrapperPlugin registerWithRegistrar:[registry registrarForPlugin:@"JitsiMeetWrapperPlugin"]];
       ^
    2 errors generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

    Result bundle written to path:
    	/var/folders/w0/6j3m5z913hbd94smbfmz6y6h0000gn/T/flutter_tools.k3QxKX/flutter_ios_build_temp_dirn82jlA/te
    	mporary_xcresult_bundle

Parse Issue (Xcode): Header 'jitsi_meet_wrapper-Swift.h' not found
/Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/build/ios/Debug-iphonesimulator/j
itsi_meet_wrapper/jitsi_meet_wrapper.framework/Modules/module.modulemap:8:11

Semantic Issue (Xcode): Use of undeclared identifier 'JitsiMeetWrapperPlugin'
/Users/dhs/Documents/NCFlutter/jitsi_meet_wrapper/jitsi_meet_wrapper/example/ios/Runner/GeneratedPluginRegistr
ant.m:17:3

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
dhs@Dhss-MacBook-Pro example %

Can you now take a look at it and see if it helps further to resolve ?

Thanks @darshankawar for playing around the code. I can confirm the error messages. However i wonder why GeneratedPluginRegistrant.m contains "wrong" imports. It is auto generated, how can adjust what is generated? What could be the issue?

I will keep it open and label for further insights from the team on this behavior.
From the log, I see below entries:
Parse Issue (Xcode): Header 'jitsi_meet_wrapper-Swift.h' not found
Semantic Issue (Xcode): Use of undeclared identifier 'JitsiMeetWrapperPlugin' which could be related to https://github.com/flutter/flutter/pull/94747.
Also, from the project I see you are using a third party wrapper interface jitsi_meet_wrapper_platform_interface: ^0.0.1.
/cc @jmagman

Adding the following to the Podfile worked for me:
post_install do |installer|   installer.pods_project.targets.each do |target|     flutter_additional_ios_build_settings(target)     target.build_configurations.each do |config|       config.build_settings['ENABLE_BITCODE'] = 'NO'       config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"     end   end end

@saibotma
Can you confirm if you are still getting the reported error using latest stable version of the framework and whether using above solution would help in your case ?

The error is gone with the latest version of Flutter (3.3.7).

Thanks for confirming. Closing as fixed per above comment.


To add Google Drive Clone

Project title
Google drive Clone is made using react , redux toolkit and firebase.
Project Description
Google drive which is very popular for storing images , pdf and images will be cloned using react , redux toolkit and firebase.
Doc Domain
[] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below
Are you contributing under any open-source program ?
I am a SSOC contributor please assign me this issue @Vikash-8090-Yadav

@Vikash-8090-Yadav @shubhisingh184 sir, can you please assign it to me


fix bug ignoring numlock when using keypad

Fixes imgui-rs/imgui-rs#817
I did NOT test this thoroughly!!
it works on my end but that's about it... Please do not merge unless this is fully tested

appreciate the warning!

On a sidenote, if you update this, I would personally really really really REALLY appreciate if you published a new version of imgui-rs.
I'm using an updated version of implot-rs, and I've spent a day in dependency hell with things half-working for obscure reasons which I don't even want to try and understand (like thinking it was all working except legends on implot would not register clicks). Needless to say it was infuriating, at the end of the day I could only make it work using the latest version from the git repo, so if you could just push a hotfix version like 0.12.1 it would have saved (and likely will) me a lot of headaches :)a
PS: Congrats on your game it looked like a big success


Switch from Google Workspace should consider using SharePoint Migration Manager

Migrate Google files to Microsoft 365 for business in the Switch from Google Workspace to Microsoft 365 might need an update. I see that it was authored in January. Migrate Google Workspace to Microsoft 365 with Migration Manager is more recent and uses a different method that may be easier for small businesses to follow.
I think @JoanneHendrickson and @twernermsft will be interested in this.

@Efren @.***> something to think about with the Google Workspace > M365 migration content?
From: Tom Resing @.>
Sent: Friday, July 2, 2021 3:07 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Tom Werner @.>; Mention @.>
Subject: [MicrosoftDocs/microsoft-365-docs] Switch from Google Workspace should consider using SharePoint Migration Manager (#5534)
Migrate Google files to Microsoft 365 for businesshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fbusiness-video%2Fmoveto-microsoft-365%2Fmover-migrate-files%3Fview%3Do365-worldwide&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216107180|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Js8IriUuDJEbcX0XFHE4ZzhcKK%2FReXXwKBFYI1GBPfY%3D&reserved=0 in the Switch from Google Workspace to Microsoft 365 might need an update. I see that it was authored in January. Migrate Google Workspace to Microsoft 365 with Migration Managerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepointmigration%2Fmm-google-overview&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216117182|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7IgRMkVdaF0tF6EfAvoRN1RL58D%2B68n1A0UPBH55XXQ%3D&reserved=0 is more recent and uses a different method that may be easier for small businesses to follow.
I think @JoanneHendricksonhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJoanneHendrickson&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216117182|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=bJPCM3pWVvr8hbxTQRPp5Bb%2FTN0oO597SPTtg%2Fra4SM%3D&reserved=0 and @twernermsfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftwernermsft&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216127175|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=gfqALbXaI4WsLnC780NLMPWxyms5hM3i07qn0ekViEw%3D&reserved=0 will be interested in this.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F5534&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216127175|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FZp7cg4lCWFC54%2FFbbnkdstAVPQXyWvEeyiVerUpE2A%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIO7RBK6NXJKRCUSQ7PV6ODTVYZ6ZANCNFSM47XN6KUQ&data=04|01|twerner%40microsoft.com|9fc4d9b946e94fea62c908d93da5a933|72f988bf86f141af91ab2d7cd011db47|1|0|637608604216137173|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ybclvXMUsryYJZtODAvtsq586ltB374ZErOpR2TUYy4%3D&reserved=0.

@efrene Please help us in resolving this issue. Thanks

@efrene Gentle reminder.

Thanks. The old article has been swapped out for the newer one in the Switch from Google Workspace to Microsoft 365 set.  We hope to have an accompanying video in the near future. Thanks,


collision-rs no longer exists

Hi,
I was trying to compile steven on msys2 because I use steven to test if the rustc package works, and collision-rs no longer exists. It is supposed to be here: https://github.com/csherratt/collision-rs but that page no longer exists, in fact the GitHub user no longer exists. This seems to be a fork of it: https://github.com/erickt/collision-rs but I'm not sure how up to date it is and it doesn't have a cargo.toml.

Thats a shame, wonder what happened to it. That other repo is so old it pre-dates cargo and I didn't keep a fork of the original collision-rs repo (I really should have).
You may be able to get it to build by replacing
collision = {git = "https://github.com/csherratt/collision-rs", rev = "f80825e"}

with
collision = "0.9.0"

In Cargo.toml.
I don't maintain this anymore due to not having the time sadly so if that doesn't work you are on your own.

Thanks @TheUnnamedDude !


Update webgl-rendering-context.md

Update WebGLContextAttributes
Discussion here at : https://github.com/jeffreylanters/react-unity-webgl/issues/514

Blocked by #545

Blocked by #545

My commit wasn't gpg signed so it couldn't be merged. I fixed it now so you can merge it whenever you want @jeffreylanters
Thank you very much

Released in https://github.com/jeffreylanters/react-unity-webgl/releases/tag/v9.5.1
Thanks for your contribution!


A noobish question about training...

@lucidrains
First of all, everything seems to be working now in Google Colab so thank you very much for fixing it.
I have a quick question about training if you do not mind...
I get very high loss results. Here is the example:
training:   1%|          | 509/100000 [1:55:22<387:23:57, 14.02s/it]training loss: 2.495532512664795
Is this normal and I simply need to train more? Or does it mean that there is a problem somewhere?
2.49 in 2 hours is way too much IMHO. I am pretty sure I am not doing it right so your advice would be really apppreciated.
Thank you.
P.S. I am running your wiki8 example in Google Colab Pro.

@asigalov61 ohh, but it shows you've only run 509 steps, even in 2 hours? that doesn't seem quite right

Yes, I know 500 steps are nothing but the loss would not go down so I did not see the point to continue running it...
Here are the settings:
NUM_BATCHES = int(1e5)
BATCH_SIZE = 28
GRADIENT_ACCUMULATE_EVERY = 4
LEARNING_RATE = 1e-4
VALIDATE_EVERY  = 100
GENERATE_EVERY  = 500
GENERATE_LENGTH = 512
SEQ_LEN = 4096
I increased the batches so I was wondering if the LR or anything else needs to be adjusted.
It may also be my code which I am checking right now, but I do not think it is causing the loss to stand still IMHO...

ohhh, keep the batch size at 4, and the learning rate at 3e-4, and just leave it on overnight! it'll descend
it's because you are reaching for a sequence length of 4096

@lucidrains Thank you so much for your advice! I appreciate it a lot and I will do exactly what you suggest. I also found a few bugs within my code so hopefully correcting these things will help it to work properly.
To be honest, I am a bit disappointed by the performance of these latest SOTA transformers... They are slow and complex while not offering many advantages over the older implementations IMHO.
In fact, for my purposes, GPT2 remains unbeatable so I am yet to find a new thing to switch to :(
Anyways, thanks again.
Alex

@asigalov61 yes, I mostly agree with you! the ones I would recommend are https://github.com/lucidrains/routing-transformer and Longformer, which huggingface already has in their repository. Microsoft also has a sparse attention cuda kernel that is quite good https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/ops/sparse_attention/sparse_self_attention.py . Finally, on the cutting edge is https://github.com/lucidrains/performer-pytorch , which has potential, but still needs to prove itself (imo)

@lucidrains Yes, thank you again for your advice! Much appreciated.
I will try the Performer shortly and the Routing transformer as well. I know that its the latest and the greatest so to speak so def. worth a try...Its just I specialize in Music AI so not all implementations/approaches work well with music.
From my research and experience, I think I need something with sparse attention (thanks for recommending deep speed) and/or something with multiple embeddings (whatever that may mean as I am not sure). But if you have any ideas/sugestions, I would love to hear them.
Thank you.

@lucidrains Ok, so I think I got it to work in some capacity, but the loss is still pretty high for some reason. I did what you have suggested (4 batches/3-e4) but it did not help much. Perhaps I need to train longer as you have also suggested. However, I did get very good results with the Routing Transformer so I know that it is not a problem on my end IMHO.
I trained Routing and Sinkhorn for the same amount of time and here is what I've got:
Sinkhorn:
training:   0%|          | 327/100000 [41:06<198:57:29,  7.19s/it]training loss: 1.4748221635818481
Routing:
training:   1%|          | 1216/100000 [43:04<57:31:25,  2.10s/it]training loss: 0.5062560439109802
Same dataset and everything obviously.
Also, the Routing transformer showed much faster performance with the same 4096 seq. Why is it so?
Thanks.

@lucidrains Re-training the Sinkhorn properly right now and will post results shortly.

@lucidrains Tried training again but results were about the same. Maybe I used way too many batches? But with 4 batches it would not go down at all...This was trained on music so maybe why...Not sure...
NUM_BATCHES = int(1e5)
BATCH_SIZE = 28
GRADIENT_ACCUMULATE_EVERY = 4
LEARNING_RATE = 3e-4
VALIDATE_EVERY  = 100
GENERATE_EVERY  = 500
GENERATE_LENGTH = 1024
SEQ_LEN = 4096
Trained for 3 hours to 1.32 loss
Generation 2048 @ 0.8
The samples were not good at all :(
Perhaps this particular implementation does not like music if you are getting good results with say NLP...
Music-Sinkhorn_MIDI_Output_Samples.zip


Fix broken links in std.range.chain

What do you mean by 'broken'? I'm trying them on https://dlang.org/phobos/std_range.html and they work just fine.

@dkorpel On this page, it's broken
https://dlang.org/library/std/range/chain.html


Support SpaNET SVM1 main board

Hi team, would be great if we can support the SVM1 (SV-Mini) controller.
Here are some images and a capture of the debug output...

Let me know if any other information will help...
putty.log

Looks to be working well!


flaky behaviour for the .has method

Describe the bug
The .has function has unpredictable behavior when used with a ttl
How To Reproduce (best to provide workable code or tests!)
Has been tested with node versions 16, 18 and 20 on 3 separate machines (windows, linux and mac)
Doesn't work.
import Keyv from 'keyv';
import { setTimeout as sleep } from 'node:timers/promises';

const cache = new Keyv();

await cache.set('token', 1, 2000);
await sleep(1000);
console.log(await cache.has('token')); // should evaluate to true - is true
await sleep(1000);
console.log(await cache.has('token')); // should evaluate to false - is true

Works
import Keyv from 'keyv';
import { setTimeout as sleep } from 'node:timers/promises';

const cache = new Keyv();

await cache.set('token', 1, 2000);
await sleep(1000);
console.log(await cache.get('token'), await cache.has('token')); // should evaluate to 1 true - is 1 true
await sleep(1000);
console.log(await cache.get('token'), await cache.has('token')); // should evaluate to undefined false - is undefined false

What i could gather from the source code is the .has method doesn't check for the ttl itself and directly used the .get method of the underlying storage driver, A map in my case.
Thank you very much. This library is really helpful

@elliot40404 - thanks for sending this over and I will be working to test this and if if so get a fix out with v5 of keyv which should be in alpha this quarter.

Hey @jaredwray, thanks for looking into this. I can take this on if you like and create a PR.

That would be great. Do you want to work on main branch for this?

Yes I can work on main, but if you have any other branch on mind please do let me know.

@elliot40404 - this was a pretty nasty bug and we added in more code to handle all the use cases. Here all all the cases we now handle on has and it will be released in v5 when alpha goes live in the next couple weeks.

When it is Map() the has does not handle expiring so we need to detect that type and handle it for that case.
If it is a Keyv Storage Adapter we need to assume they will handle the expiring correctly. Note, we found a bug in @keyv/sqlite and have plans to fix that also in the next 30 days where it doesnt handle the expires.
If it does not have a has function on the storage adapter then we handle it all ourselves and check the expires

Nice find!


[Web] having trouble with loading models from local path

System Info
"@xenova/transformers": "^2.17.1",
"next": "14.2.3",
"react": "^18",
"react-dom": "^18"

Environment/Platform

[X] Website/web-app
[ ] Browser extension
[ ] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
Describe the issue
I'm trying to load the models from the public folder in nextjs v14 dev / build, facing issues. I tried to search related issues but still stuck.
When the model is loaded from hugging face , it runs as expected.
some screenshots:

I did set the local path as /models/, with trailing slash (console does show thprogress of the files being loaded)
https://github.com/xenova/transformers.js/issues/502#issuecomment-1878655983

ps.
https://github.com/microsoft/onnxruntime/issues/20491
created a issue /report there as well (by mistake. at that time searched github for related issues , ended up there and oof.) i will close that.
Reproduction

Setup nextjs v14
setup text generation pipeline
try to load model files from local path

was able to identify what was causing this issue .
I already had git installed in my system, assumed this would be enough.
Try running  git lfs --version in the terminal , if you receive errors relating to this command does not exist , the cloning of bigger files are not completed properly.
you need to install git-lfs to properly clone.
if you are in ubuntu please use sudo apt-get install git-lfs to install it.
After installation please try cloning the hugging face repo and try loading it locally again.
Closing this issue.


Incorrect Mason setup order causes errors when running Mason commands

Describe the bug
The import order for mason, mason-lspconfig, and lspconfig is not set. This means that sometimes when you run the :Mason command, you get an error like this:

The mason-lspconfig repo explains here that it's important the setup() functions to be called in a specific order:

mason.nvim
mason-lspconfig.nvim
Setup servers via lspconfig

I'd be happy to open a PR with the fix! You can see how I fixed it with a simple change in my own config here.
To Reproduce

Install the latest kickstart.nvim
Run nvim -c Mason
If you don't see the error, close neovim and repeat steps 1 and 2. I usually see it within 5 tries.

Desktop

OS: pop_os!
Terminal: Kitty

Neovim Version

NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

Please do submit a PR!

I'd love to! I'll make the PR tomorrow after work :D

If I understand correctly, this issue is fixed by #455, isn't it?

Yep! Thanks for checking in, I meant to close this.


community: Integrate Xinference Chat

Xorbits Inference(Xinference) is a powerful and versatile library designed to serve language, speech recognition, and multimodal models. Xinference supports a variety of GGML-compatible models including chatglm, whisper, and vicuna, and utilizes heterogeneous hardware and a distributed architecture for seamless cross-device and cross-server model deployment.

This PR integrates Xinference chat into LangChain.

Dependencies: To install the depenedencies for this integration, run

pip install "xinference[all]"

Example Usage:

To start a local instance of Xinference, run xinference.
To deploy Xinference in a distributed cluster, first start an Xinference supervisor using xinference-supervisor:
xinference-supervisor -H "${supervisor_host}"
Then, start the Xinference workers using xinference-worker on each server you want to run them on.
xinference-worker -e "http://${supervisor_host}:9997"
To use Xinference with LangChain, you also need to launch a model. You can use command line interface (CLI) to do so. Fo example: xinference launch -n vicuna-v1.3 -f ggmlv3 -q q4_0. This launches a model named vicuna-v1.3 with model_format="ggmlv3" and quantization="q4_0". A model UID is returned for you to use.
Now you can use Xinference with LangChain:
from langchain.chat_models import ChatXinference
from langchain.schema import AIMessage, HumanMessage, SystemMessage

chat = ChatXinference(
    server_url=server_url,  # Xinference server url
    model_uid=model_uid,  # Xinference model uid
    generate_config={
        "max_tokens": 5,
        "temperature": 0,
    },
)

messages = [
    SystemMessage(
        content="You are a helpful assistant that translates English to Italian."
    ),
    HumanMessage(
        content="Translate the following sentence from English to Italian: "
        "I love programming."
    ),
]
chat(messages)

AIMessage(content=' Io amo programmare.')

Xinference is still under rapid development. Feel free to join our Slack community to get the latest updates!
Request for review: @hwchase17, @baskaryan
Twitter handle: https://twitter.com/Xorbitsio

@baskaryan Hi, I have resolved the lint issue. Can you review this PR?

@hwchase17, @baskaryan Can you review this PR?

@hwchase17 @baskaryan Hi, this PR is updated, could you review it?

@hwchase17 Can you tell me why this PR was closed?


Add support for getting snapshot size

It'd be great if we could easily make the resulting snapshot's size available. For the CLI tool, perhaps just logging it to stdout, but in the embedding API having an accessor for it would be great.
And I guess there are at least two different sizes to be had here: the size added to the wasm file, and the size of the instance Memory. The latter might be more important, since the former is easy to derive.

We could certainly add some logging of this information, but it is also easy to get via wasm-objdump -h. Given that, do you still think it is worth adding?


Introduce --force arg to install extension without prompts

Introduce --force arg to install extension without prompts
Fixes #58434

Shouldn't you also have updated the related documentation and the CLI --help screen?

Also, it would be nice if this change were covered by a test. To make sure it remains functional.

@bittner Added doc. Thanks for reminding.
Would be great to have a test but it's hard for cli. Sorry.


ScrollContainer touch scrolling works on Android but not Linux

Godot version:
3.2.4-beta3
OS/device including version:
Ubuntu 20.04 LTS, touchscreen laptop (Lenovo IdeaPad C340)
Issue description:
A scroll container with overflowing content and its scrollbars visible can be scrolled using touch gestures on Android.
The same project run on a touchscreen laptop on Linux does not support touch scrolling. It is necessary to grab the scrollbars to move the content. Also the case when "Enable touch from mouse" is active in the settings.
By a quick glance at the source code, seems that a is_touchscreen condition is checked before handling any touch gestures.
Some ideas:

Discriminate on touch input peripheral (mouse / touch / pen) to take drag scroll into account or not.
Expose the choice as an option to the user

Steps to reproduce:
Use a ScrollContainer with overflowing content on a Linux machine (see minimal reproduction project). Ideally a touchscreen laptop. An external touchscreen was not tested due to lack of access to such hardware, but would be interesting to try as well.
Run the same project on Android and notice how the image scrolls nicely using touch gestures.
Minimal reproduction project:
scrollcontainer_touch_on_pc.zip

As far as I know, touch events haven't been implemented consistently on all platforms.


fix: Poll socket if connect() returns EINPROGRESS

This should not happen because iouring should know how to handle
einprogress internally.

Are you sure it happens with uring socket and not epoll?
How do you reproduce this?

On Mon, Apr 10, 2023, 17:56 Roy Jacobson @.***> wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/romange/helio/pull/63
Commit Summary

5984033
https://github.com/romange/helio/pull/63/commits/59840338ec6107b5092cf9c8401c74685eff6d36
fix: Poll socket if connect() returns EINPROGRESS

File Changes
(1 file https://github.com/romange/helio/pull/63/files)

M util/uring/uring_socket.cc
https://github.com/romange/helio/pull/63/files#diff-1d6c1b3cc892e2377f12731641e614acc04bfc30dcb95940643eca3b69bd37a3
(11)

Patch Links:

https://github.com/romange/helio/pull/63.patch
https://github.com/romange/helio/pull/63.diff

—
Reply to this email directly, view it on GitHub
https://github.com/romange/helio/pull/63, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4BFCEJAQMRGVKTIUT5ZPTXAQNQFANCNFSM6AAAAAAWZCETVE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This should not happen because iouring should know how to handle einprogress internally. 1. Are you sure it happens with uring socket and not epoll? 2. How do you reproduce this?

Apparently this can happen if the socket has a timeout. I based this code on the way it is done in liburing
I didn't manage to reproduce this in a unit test, replication_test.py in current dragonflydb master reproduces it very reliably.

seems to have been caused by the same root issue as the one fixed in https://github.com/romange/helio/commit/7322b320c15baf6ac504d897d0a7f5b440510248


Entire changelog used when using --no-increment flag

Currently when running using the --no-increment flag, the entire changelog is provided:
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.0.0-beta.1] - 2022-07-29
- Change1
## [1.0.0-beta.0] - 2022-07-21
- First release

This coupled with git.release=true means the github release's content contains the entire changelog.
Expected
Only the content for the latest version to be included in the release content
Actual
Entire content of the changelog is contained in the release information

Fiddling around, I think the fix is something like this:
  getChangelog(latestVersion) {
    const { isIncrement } = this.config;
    // Return the unchanged changelog content when no increment is made
    if (!isIncrement) {
      return this.getLatestVersionLog(latestVersion);
    }

    // ... all this stays the same though you might want to pull it out into it's own function
    // for symmetry with getLatestVersionLog such as getUnreleasedVersionLog
  }

  getLatestVersionLog(latestVersion) {
    const latestVersionTitle = `## [${latestVersion}]`;
    const hasLatestVersionSection = this.changelogContent.includes(latestVersionTitle);

    if (!hasLatestVersionSection) {
      throw Error(`Missing section for previous release ("${latestVersion}") in ${filename}.`);
    }

    const titleStart = this.changelogContent.indexOf(latestVersionTitle);
    const contentStart = this.changelogContent.indexOf(this.EOL, titleStart) + 1;
    const nextTitle = `## [`;
    let endIndex = this.changelogContent.indexOf(nextTitle, contentStart);
    if (endIndex === -1) {
      endIndex = this.changelogContent.length;
    }
    const changelogContent = this.changelogContent.substring(contentStart, endIndex).trim();
    if (!changelogContent) {
      throw Error(`There are no entries under "${latestVersionTitle}" section in ${filename}.`);
    }
    this.setContext({ changelog: changelogContent });
    return changelogContent;
  }

Sorry for the tag @webpro however I'm just wanting to know if this is a fix you're interested in taking? This is the last piece I needed before migrating my workflows to release-it so I'm a bit excited and wanting to close this out.

Sorry for the late reply, not sure why I missed it.
But yes! Would be a great addition/fix to have in this plugin. Happy to review and merge your PR.


Regression: @override_setting('WAFFLE_SWITCH_DEFAULT=True') broken by recent commit

I have a test that uses this syntax to ensure a waffle switch is set:
@override_setting('WAFFLE_SWITCH_DEFAULT=True')
def test_thing(self):
    ...

After upgrading to django-waffle 0.10.1, this test failed, so I started installing specific commits and running the test again.  Before https://github.com/jsocol/django-waffle/commit/d73293cb2b6f84798e0ba1edd9328b218221834e the test passes, but on and after this commit, the test fails.

Try it against master. 7da872b69791c28c86f92516865a1500514d9ce9 specifically re-overhauls how settings work to fix @override_settings.

Please reopen this if the problem persists on master. It shouldn't.

Master works, sorry for the false alarm.  Thanks, @jsocol !

Any chance this fix could get a PyPI release?

No worries! That will be in 0.10.2 or 0.11, depending on how I break up those releases. 0.10.2 is blocked on some caching troubles I ran into that really, really need resolving.


MODOAIPMH-224 - Retrieve records from inventory and SRS for GetRecord response - MARC format

MODOAIPMH-224 - Retrieve records from inventory and SRS for GetRecord response - MARC format
Purpose
Add functionality to retrieve records from Inventory and generate MARC on the fly.
Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[x] Code coverage on new code is 80% or greater
[x] Duplications on new code is 3% or less
[x] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[x] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

@obozhko-folio  could you check module descriptor as new endpoints are used