es-module-shims Uncaught Error

For which library do you need help?
native-federation
Question
Hi, I set up native federation to connect two angular 18 app which are on two different repositories.
My configurations are almost the same for my two apps, the host app is working fine, but the remote one does not pass the boostrapping of the app. I can still see my home page, but it's only cached information that I get from the server, cause I also installed angular ssr.
The app is working fine on server side but not on client side. I get an error from es-module-shims, I tried to skip all my packages but I still have the error so I think that it comes from the boostrapping of the app in the main.js file.

I don't understant what causes this error, and I tried different version of es-module-shims.
Here is my angular.json file:
{
  "$schema"<EMAIL_ADDRESS>  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "mfe-evenement": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        }
      },
      "root": "mfe-evenement",
      "sourceRoot": "mfe-evenement/src",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-architects/native-federation:build",
          "configurations": {
						"production": {
							"target": "mfe-evenement:esbuild:production"
						},
            "qa": {
							"target": "mfe-evenement:esbuild:qa"
						},
						"development": {
							"target": "mfe-evenement:esbuild:development",
							"dev": true
						}
					}
        },
        "esbuild": {
          "builder": "@angular-devkit/build-angular:application",
          "options": {
            "outputPath": "dist/mfe-evenement/",
            "index": "mfe-evenement/src/index.html",
            "browser": "mfe-evenement/src/main.ts",
            "polyfills": [
							"zone.js",
							"es-module-shims",
              "@angular/localize/init"
						],
            "tsConfig": "mfe-evenement/tsconfig.app.json",
            "inlineStyleLanguage": "scss",
            "assets": ["mfe-evenement/src/favicon.ico", "mfe-evenement/src/assets/"],
            "styles": [
              "node_modules/bootstrap/dist/css/bootstrap.min.css",
<EMAIL_ADDRESS>            ],
            "stylePreprocessorOptions": {
              "includePaths": ["./SASS-Modules"]
            },
            "allowedCommonJsDependencies": [
              "html2canvas",
              "canvg",
              "@angular-architects/native-federation",
              "compression",
              "moment",
              "jspdf"
            ],
            "server": "mfe-evenement/src/main.server.ts",
            "ssr": {
              "entry": "mfe-evenement/server.ts"
            },
            "scripts": [],
            "extractLicenses": false,
            "sourceMap": true,
            "optimization": true
          },
          "configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "mfe-evenement/src/environments/environment.ts",
                  "with": "mfe-evenement/src/environments/environment.prod.ts"
                }
              ],
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "700kb",
                  "maximumError": "15mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "80kb",
                  "maximumError": "1mb"
                }
              ],
              "outputHashing": "all"
            },
            "qa": {
              "fileReplacements": [
                {
                  "replace": "mfe-evenement/src/environments/environment.ts",
                  "with": "mfe-evenement/src/environments/environment.qa.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractLicenses": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "2mb",
                  "maximumError": "5mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ]
            },
            "development": {
              "optimization": false,
              "extractLicenses": false,
              "sourceMap": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-architects/native-federation:build",
          "options": {
            "target": "mfe-evenement:serve-original:development",
            "rebuildDelay": 0,
            "dev": true,
            "port": 0
          }
        },
        "serve-original": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "buildTarget": "mfe-evenement:esbuild:production"
            },
            "qa": {
              "buildTarget": "mfe-evenement:esbuild:qa"
            },
            "development": {
              "buildTarget": "mfe-evenement:esbuild:development"
            }
          },
          "defaultConfiguration": "development",
          "options": {
            "port": 4201,
            "publicHost": "http://localhost:4201"
          }
        },
        "lint": {
          "builder": "@angular-eslint/builder:lint",
          "options": {
            "lintFilePatterns": ["mfe-evenement/src/**/*.ts", "mfe-evenement/src/**/*.html"]
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "buildTarget": "mfe-evenement:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "polyfills": [
							"zone.js",
							"es-module-shims",
              "@angular/localize/init"
						],
            "tsConfig": "mfe-evenement/tsconfig.spec.json",
            "inlineStyleLanguage": "scss",
            "assets": ["mfe-evenement/src/favicon.ico", "mfe-evenement/src/assets"],
            "styles": [
              "mfe-evenement/src/styles.scss",
              "node_modules/bootstrap/dist/css/bootstrap.css",
<EMAIL_ADDRESS>            ],
            "scripts": []
          }
        }
      }
    }
  }
}

my package.json file:
{
  "name": "mfe-evenement",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "build-prod": "ng build --configuration production",
    "build-qa": "ng build --configuration qa",
    "watch": "ng build --watch --configuration development",
    "run:all": "node<EMAIL_ADDRESS>    "format:fix": "pretty-quick --staged",
    "precommit": "run-s format:fix lint",
    "format:check": "prettier --config ./.prettierrc --list-different \"src/{app,environments,assets}/**/*{.ts,.js,.json,.css,.scss}\"",
    "lint": "ng lint"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^18.2.8",
    "@angular/cdk": "^18.2.8",
    "@angular/common": "^18.2.8",
    "@angular/compiler": "^18.2.8",
    "@angular/core": "^18.2.8",
    "@angular/forms": "^18.2.8",
    "@angular/material": "^18.2.8",
    "@angular/platform-browser": "^18.2.8",
    "@angular/platform-browser-dynamic": "^18.2.8",
    "@angular/platform-server": "^18.2.8",
    "@angular/router": "^18.2.8",
    "@angular/service-worker": "^18.2.8",
    "@angular/ssr": "^18.2.8",
    "@ng-bootstrap/ng-bootstrap": "^17.0.1",
    "@types/compression": "^1.7.5",
    "bootstrap": "^5.3.3",
    "brotli": "^1.3.3",
    "calendar-link": "^2.7.0",
    "compress-brotli": "^1.3.12",
    "compression": "^1.7.4",
    "express": "^4.19.2",
    "gzipper": "^8.1.0",
    "isbot": "^5.1.17",
    "jspdf-html2canvas": "^1.5.2",
    "ngx-bootstrap": "^18.0.2",
    "ngx-cookie-service": "^18.0.0",
    "ngx-device-detector": "^8.0.0",
    "rxjs": "^7.8.1",
    "tslib": "^2.6.2",
    "zone.js": "^0.14.10"
  },
  "devDependencies": {
    "@angular-architects/native-federation": "^18.2.2",
    "@angular-devkit/build-angular": "^18.2.8",
    "@angular-eslint/builder": "^18.3.1",
    "@angular-eslint/eslint-plugin": "^18.3.0",
    "@angular-eslint/eslint-plugin-template": "^18.3.0",
    "@angular-eslint/schematics": "^18.3.0",
    "@angular-eslint/template-parser": "^18.3.0",
    "@angular-ru/prettier": "^14.0.13",
    "@angular/cli": "^18.2.8",
    "@angular/compiler-cli": "^18.2.8",
    "@angular/localize": "^18.2.8",
    "@schematics/angular": "^18.2.8",
    "@types/express": "^4.17.21",
    "@types/jest": "^29.5.0",
    "@types/node": "^20.11.15",
    "@typescript-eslint/eslint-plugin": "^7.2.0",
    "@typescript-eslint/parser": "^7.2.0",
    "es-module-shims": "^1.10.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-angular": "^4.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "ng-packagr": "^18.2.1",
    "ngx-build-plus": "^18.0.0",
    "prettier": "^3.2.4",
    "prettier-eslint": "^16.3.0",
    "thread-loader": "^3.0.4",
    "typescript": "^5.5.4"
  }
}

my federation.conf.js file:
const { withNativeFederation, shareAll } = require('@angular-architects/native-federation/config');

module.exports = withNativeFederation({
  name: 'mfeEvenement',

  exposes: {
    'component': 'mfe-evenement/src/app/app.component.ts',
  },

  shared: {
    ...shareAll({
      singleton: true,
      strictVersion: true,
      requiredVersion: 'auto',
    }),
  },
  skip: [
    'rxjs/ajax',
    'rxjs/fetch',
    'rxjs/testing',
    'rxjs/webSocket',
    'compression',
    'compress-brotli',
    'gzipper',
    'brotli',
    // Add further packages you don't need at runtime
  ],
});

my app.config.ts file:
import { LocationStrategy, PathLocationStrategy } from '@angular/common';
import { provideHttpClient, withFetch } from '@angular/common/http';
import { ApplicationConfig, APP_ID, importProvidersFrom, isDevMode, provideZoneChangeDetection } from '@angular/core';
import { provideClientHydration } from '@angular/platform-browser';
import { withHttpTransferCacheOptions } from '@angular/platform-browser';
import { provideServiceWorker } from '@angular/service-worker';
import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
import { withInMemoryScrolling } from '@angular/router';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SEOService } from './shared/services/seo.service';
import { PaginationService } from './shared/services/pagination.service';
import { EventsService } from './shared/services/events.service';
import { FilterService } from './shared/services/filter.service';
import { DataGouvService } from './shared/services/data-gouv.service';
import { ProfilService } from './shared/services/profil.service';
import { StorageService } from './shared/services/storage.service';
import { WindowEventService } from './shared/services/window.event.service';

export const appConfig: ApplicationConfig = {
  providers: [
    importProvidersFrom(BrowserAnimationsModule),
    SEOService,
    PaginationService,
    EventsService,
    FilterService,
    DataGouvService,
    ProfilService,
    StorageService,
    WindowEventService,
    { provide: LocationStrategy, useClass: PathLocationStrategy },
    provideServiceWorker('ngsw-worker.js', {
      enabled: !isDevMode(),
      registrationStrategy: 'registerWhenStable:30000',
    }),
    provideClientHydration(
      withHttpTransferCacheOptions({
        includePostRequests: true,
      })
    ),
    provideRouter(
      routes,
      withInMemoryScrolling({
        scrollPositionRestoration: 'enabled',
        anchorScrolling: 'enabled',
      })
    ),
    provideZoneChangeDetection({ eventCoalescing: true }),
    { provide: APP_ID, useValue: 'mfe-evenement' },
    provideHttpClient(withFetch()),
  ],
};

Hi,
do you call initFederation?

yes, here is my maain .ts file

import { initFederation } from '@angular-architects/native-federation';
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app/app.component';
import { appConfig } from './app/app.config';

initFederation()
  .catch((err) => console.error('Error fist fede*******:', err))
  .then((_) => bootstrapApplication(AppComponent, appConfig))
  .catch((err) => console.error('**********Error last :', err))

Hi @manfredsteyer, do you have any lead that could help me debug it ?

Hi @joepeace01! In our app we also have microfrontends in different repositories. I discovered that even minimal version mismatch of shared library in mfe and shell causes native-federation-runtime to select version of mfe for it instead of shell's one.
Selection of version seems to happen here: https://github.com/angular-architects/module-federation-plugin/blob/main/libs/native-federation-runtime/src/lib/init-federation.ts#L104. getExternalUrl(shared) is getting lib from cache map which is previously set by shell config processing. The key in that map is strictly package name + package version.
We have solved our problem by setting versions of shared packages strictly equal in both repositories, without any ^ or ~.
Hope it will help.

hi @manfredsteyer, back on this topic, wanted to know if you had the chance to look into it ? I'm confused cause I don't have this issue on my shell. They both have similar configurations except what's specific to shell and remote. I'm having those errors locally when starting the remote app on port 4201. None of the api calls are working, I only get a static version of the home page


Better repo filter results ordering

In the example below, I would expect to have the results ordered the other way because the gitlab-org/gitlab-core-team/general matches the search string (gitlab-org), "first/better" than community-coders/gitlab-org/gitlab 🙂

Hello  @zillemarco  I will like to pick this issue up.

Hello @

Hello @zillemarco I will like to pick this issue up.

@Baah-Danso-Kenneth assigning this to you now.

Hello @

Hello @zillemarco I will like to pick this issue up.

@Baah-Danso-Kenneth assigning this to you now.

Thank you

Hi @Baah-Danso-Kenneth. Are you done working on this issue?

I have written the logic for the code am yet to test it and make a PR.
On Tue, Jul 2, 2024 at 10:58 AM Adeyinka Oresanya @.***>
wrote:

Hi @Baah-Danso-Kenneth https://github.com/Baah-Danso-Kenneth. Are you
done working on this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/badging/badging/issues/70#issuecomment-2202737578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7NKH6YEMDHJ6PZZORPKTX3ZKKBW7AVCNFSM6AAAAABJ6ER2HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBSG4ZTONJXHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have written the logic for the code am yet to test it and make a PR.
On Tue, Jul 2, 2024 at 10:58 AM Adeyinka Oresanya @.***>
wrote:

Hi @Baah-Danso-Kenneth https://github.com/Baah-Danso-Kenneth. Are you
done working on this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/badging/badging/issues/70#issuecomment-2202737578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7NKH6YEMDHJ6PZZORPKTX3ZKKBW7AVCNFSM6AAAAABJ6ER2HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBSG4ZTONJXHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Awesome! So we are trying to clear up all the current issues we have now before the end of next week.
Please when should we expect your PR?

@Baah-Danso-Kenneth  Awesome!
So we are trying to clear up all the current issues we have now before the end of next week.
Please when should we expect your PR?

@Baah-Danso-Kenneth

@Baah-Danso-Kenneth Awesome!
So we are trying to clear up all the current issues we have now before the end of next week.
Please when should we expect your PR?

Hi @zillemarco! I am waiting on your response, please!

@Baah-Danso-Kenneth

@Baah-Danso-Kenneth Awesome!

So we are trying to clear up all the current issues we have now before the end of next week.

Please when should we expect your PR?

Hi @zillemarco! I am waiting on your response, please!

Hi @adeyinkaoresanya sorry for the delay.
I'm not really sure what you're waiting from me though, this issue was picked up by @Baah-Danso-Kenneth.

@Baah-Danso-Kenneth

@Baah-Danso-Kenneth Awesome!

So we are trying to clear up all the current issues we have now before the end of next week.

Please when should we expect your PR?

Hi @zillemarco! I am waiting on your response, please!

Hi @adeyinkaoresanya sorry for the delay.
I'm not really sure what you're waiting from me though, this issue was picked up by @Baah-Danso-Kenneth.

Oh my goodness! Sincere apologies, I meant to tag @Baah-Danso-Kenneth

@Baah-Danso-Kenneth

@Baah-Danso-Kenneth Awesome!

So we are trying to clear up all the current issues we have now before the end of next week.

Please when should we expect your PR?

Hi @zillemarco! I am waiting on your response, please!

Hi @adeyinkaoresanya sorry for the delay.
I'm not really sure what you're waiting from me though, this issue was picked up by @Baah-Danso-Kenneth.

Oh my goodness! Sincere apologies, I meant to tag @Baah-Danso-Kenneth

All good, no worries 🙂


Add test for action_with_%s_as_%s that fails in django1.6

I noticed after changing versions to django1.6 that querying on attributes like action_with_%s_as_%s not raises a FieldError. Since the code to add the attributes is still in setup_generic_relations I think this is probably a bug.
https://github.com/justquick/django-activity-stream/issues/220

As you can see the test passes for django>=1.5,<1.6. I didn't realize that it fails also for django<1.5

that's not an actual field to be filtered, it's the name of the generic relation. it's mostly there to provide a unique name and you should not be using it directly in your project

Coverage remained the same at ?% when pulling f3ee677b63a25731ef9f2c2544f3e9021df5dff0 on AlexRiina:master into a267e6aee4a49d6f26fc60c9f2f8e97d719376ed on justquick:master.


lp is 5x slower in CUPS 2.2.5

Hi,
I print a lot of files on a Mac with the command line like this:
lp -d MYPRINTER -t MYFILENAME -o SelectColor=Grayscale /path/to/my/pdffile.pdf
I use PHP with shell_exec to do this in my script. It works fine, but after the macOS update from Sierra to High Sierra these commands are five times slower. I need the result that the line print command returns (= "request id is MYPRINTER-1111 (1 file(s))")
With High Sierra comes the CUPS version 2.2.5. I don't know which version it was with Sierra, but I tested it with CUPS version 1.7.5 and it was much faster with the same file.
with CUPS 1.7.5:   0.0792 seconds
with CUPS 2.2.5:    0.4058 seconds
Thanks for your help!

I'm not sure where the difference might lie (in CUPS or some other component), however a difference of 327ms (just shy of 1/3 second) is not significant and could be caused by any number of things (even filesystem changes).
Sorry, but we don't have the resources to track this down for you.

ok, thanks anyway.
With my PHP script I print with each session 400 pdf-files in a row and so the script runs now 2min and 17sec longer :)
My workaround is to discard the response by adding a  >/dev/null 2>/dev/null & at the end of the lp command line and search afterwards if the request was successful. Maybe I will write a logfile instead of /dev/null

FWIW, you can always create a single job with multiple files, if the overhead is somehow associated with running the command itself.

Thanks, I keep that in mind. In my case every lp command is different (some are colored, some are duplex...). I will do it now like this and read the results in the next step.
echo 'MYFILENAME' $(lp -d MYPRINTER -t MYFILENAME -o KMDuplex=Double -o page-ranges=1-1 -o SelectColor=Grayscale -o KMInputSlot=TrayLCT -o MediaType=CustomMedia5 /path/to/my/pdffile.pdf) >>/var/log/lp_request.log 2>>/var/log/lp_request.log &

it is now faster again with mac os mojave and cups 2.2.9


New M2M number range for NL

Imported from Google Code issue #332 created by<EMAIL_ADDRESS>on 2013-08-01T08:05:30.000Z:

What steps will reproduce the problem?

Look up<PHONE_NUMBER>67 as an NL number.

What is the expected output? What do you see instead?
Expected output is that the number is considered valid, but it's not.
What version of the product are you using? On what operating system?
Used the public test verstion at http://libphonenumber.googlecode.com/svn/trunk/javascript/i18n/phonenumbers/demo-compiled.html.
Please provide any additional information below.
Since 2013-03-01 a new number range starting with 0970 has been allocated for Machine-to-Machine (M2M) communication. Numbers in this range are 12 digits long. Details on this range are available from https://www.acm.nl/nl/download/publicatie/?id=10289 (in Dutch).

This particular number range is used for mobile internet SIMs used in tablets and laptops. The numbers are typically not used for calling, although my wife has received incoming calls on hers from some subscribers (not all).
Since this range is intended and used for the consumer market, it's rather widespread. Especially Android apps (such as Kontalk) would benefit from this addition, but I'm sure there are other usecases as well.

Hi, just to let you know that my project @kontalk uses libphonenumber for both client (Android) and server. I could implement an ad-hoc check for both client and server, but it would be really nicer if libphonenumber would support this: some tablet users came forward that they wish to use Kontalk on their tablet, linked to its own phone number (those tablets have an internal SIM linked to a M2M number).

If you'd like to investigate M2M support in libphonenumber, please see:
https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#what-about-m2m-machine-to-machine-numbers

One of the reasons libphonenumber doesn't support M2M so far is because no one could explain their use to us sufficiently.

I'm sorry but this is absolutely preposterous. If the developers don't know of any usecases then they have simply failed to read the issues about M2M and their comments carefully! And to be honest, it has been awfully mute in most if not all of those issues. I'm sure many people are well able and willing to answer questions if there were any, but they're not even asked, or the questions are completely different between issues! The icing on the cake is that these issues have now all been closed despite a solution not being available, nor a clear "won't fix" answer, nothing!
I even created a "canonical" M2M issue here: #680 but it has barely received any attention at all. If Google was serious about evaluating M2M support, I'd at least expect crystal clear and consistent communication. The country-specific M2M issues also don't have anything to do with arguments for or against, although hinging on the general issue of M2M support.
Can we please have a fruitful discussion over at #680? I'll try to answer questions, and I'm sure others will be willing to as well.

We're actually working towards a solution for M2M and as a first step, we're communicating consistently.

We've created a FAQ and M2M is one of the first FAQ entries.
We're now consistent in how we respond to requests around M2M.
The FAQ entry explains why we don't understand the issue yet and how to engage with us.

I missed #680. Let's continue the discussion there.


EDDI ot working

EDDI not working

From:
<EMAIL_ADDRESS>

Please don't open separate issues for ones that already exist. This is a duplicate issue of #179. This is due to ED Horizons 2.3 App changes.

Until a new release is made you can drop in a replacement-file for the CompanionApp -library as described in the readme in this zip: https://www.dropbox.com/sh/kvevq3u9qbi9mm5/AAAHgcMdqmLh7sR4ZSbJOuQba?dl=0&preview=EDDI_commanders_fix.zip

Duplicate of #179


Config.json -> Params.json

Hi,
I'm completely new to MLX. I want to convert TinyLlama to MLX and I'm trying to convert a HuggingFace config.json to params.json. Is there any way to do this?
Thank you!

One option (used for BERT and Phi-2, and maybe others) is to just define a dataclass that holds the config variables, and a dict from model names to instances of that dataclass. Check out this as an example:
https://github.com/ml-explore/mlx-examples/blob/main/bert/model.py#L25


Add basic linter action for PRs

Adding the vale-action/reviewdog github action to run for PRs open against main. Note that it will fail on errors, more work will be needed to get suggestions and warnings posted automatically as review comments, and it is still recommended that vale is run locally against changes before opening a PR.
This was tested on a fork, so there may need to be changes (such as to the TOKEN) before it works properly under the Foundriesio account.
Signed-off-by: Katrina Prosise<EMAIL_ADDRESS>Readiness

[ ] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for bf9a605ba99546f37e35f5650782eca50d7fdaaa are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1917/docs/artifacts/html/index.html


meraki_networks_vlan_profiles silently fails when attempting to create a resource on the default profile

Upstream: https://github.com/cisco-open/terraform-provider-meraki/issues/94

closed via latest release and https://github.com/cisco-open/terraform-provider-meraki/pull/116


Too strict TS typings

The renderers prop is typed as readonly renderers?: {[nodeType: string]: Component<any, any>};
however Component only allows class component, not functional components.
The react typings does instead export a type named ReactType that can be used for all components. So the renderers prop should be typed as  readonly renderers?: {[nodeType: string]: ReactType};

Thanks for reporting. I don't use TS myself, so it's hard for me to stay on top of this. Could you send a pull request?

Sure, done


Restrict text width in boxes with line break

When adding long titles or descriptions for divisions/organisations, text expands past the borders of the text box, or disappears within the header

Fixed: https://github.com/technologiestiftung/organigramming-berlin/pull/41


Change in solution

Hey,
I have a project that i use internally for file uploading. It is a little more rounded out with more features. I would like to use the name you've taken. It seems that you havn't updated this package in over 12 months.
Are you open to transferring the ownership to me?

@dalefrancis88 you can take a PR

Sorry I am not sure what you're saying
I have a completely different solution, I just want the name
On 22 Jun. 2017 11:02 pm, "jerry"<EMAIL_ADDRESS>wrote:

@dalefrancis88 https://github.com/dalefrancis88 you can take a PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jerryshew/react-file-upload/issues/2#issuecomment-310373373,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0iTS3P1ECSf9q58J07ynvPzwZFS-X5ks5sGmXXgaJpZM4OBwKs
.

sorry, i have plan to update this package in the future, btw can you show your project link, i'm Interested.

Hey man, so there still has been no-update in a year? are you open to passing on the repository?

Hey, how's it going? i'm still happy to take ownership of this project if you'd like


[Bug report]: Balance not updating without Ledger

Platform
Desktop
Version
1.4.1
Description
Firefly doesn´t update balance of ledger profile.
Expected behaviour
For the addresses already known by firefly the wallet should update the balance according to tangle.
(ofc it can´t create new addresses without ledger)
Ledger should imho be as less as possible connected to the PC - normally it´s stored somewhere - and definitly not for just updating the balance on already known addresses.
Actual behaviour
Doesn´t auto update.
When pressing update button -> Message no Device recognized
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Have Ledger Wallet with already received coins.
Use same address to send coins to
checking in firefly if coins received (doesn´t work when Ledger not connected)

Operating System
Windows
Diagnostics
No response
Developer Profile
No
Profile Type
Hardware (Ledger)
Staking
Previously staked
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @trimat1, we're planning on moving to a single address strategy soon. With that, it will be easier to stow away the Ledger device since we only worry about one address to search for a balance on whereas now we have to consider an arbitrary number of addresses where the funds may be (somewhat better for privacy, but not really).


Failed to install toga-demo using pip

Expected Behavior

Install toga-demo using  pip3 install toga-demo
Current Behavior

Using pip to install toga-demo results in an error:
$ pip install toga-demo
Collecting toga-demo
From cffi callback <function _verify_callback at 0x7fd673a14668>:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 313, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'
  Could not find a version that satisfies the requirement toga-demo (from versions: )
No matching distribution found for toga-demo

Steps to reproduce

Run pip install toga-demo

Your Environment

Python Version: 3.5.3

Operating System and Version (select from the following and list the specific version number; if your OS is not listed, list that as well)

[ ] OSX
[ ] Linux
[ ] Windows
[X] Ubuntu 16.04LTS

Toga Target (the type of app you are trying to generate)

[ ] android
[ ] cocoa
[ ] django
[ ] gtk
[ ] iOS
[ ] tvOS
[ ] watchOS
[ ] winforms
[ ] win32
[ ] Other (please specify)

If it helps, you might want to create a new virtualenv and install fresh packages https://github.com/pyca/pyopenssl/issues/728

You're also going to need to make sure you're using Python 3. The stack track you've shown highlights that you're running Python 2.7.


[Fix #7073] Fix false positive in Naming/RescuedExceptionsVariableName

Remove memoization of preferred_name.
Closes #7073

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks! Would you mind also taking over the stale https://github.com/rubocop-hq/rubocop/pull/6908, as it's related?

Yes, some help on #6908 would be very helpful 👍


test(repo): setup unit tests

Closes a4c047

The github action issue that seems to be unrelated to the changes of this PR may be resolved with https://github.com/cytechmobile/radicle-planning-boards/pull/75/files#r1636317563

Setup looks good, well done!
I only found minor things.
Also it would be good to add a reference to the awesome vitest VS Code extension among our recommended extensions.

Good point. Added it.


Error while setting java path on ubuntu

Hi, i installed openjdk & maven on ubuntu instance. I set environmental variables for both on ubuntu. But again it is throughing error as "JAVA_HOME" path not available.
Can anyone help me on this?
Please note the attachment.

Thanks,
madhu

Path of java was
JAVA_HOME="/usr/lib/jvm/java-11-oracle/ "
This is for java-11
But better use java-8 instead of java-11 as Jenkins and maven are stable with java-8
If you install java-8 the path will somehow look like
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"

install java-8-openjdk and set java path.
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"

hi madhu,
Please set environmental variables.
sudo vi /etc/profile
export JAVA_HOME="/usr/lib/jvm/java-11-oracle"
export PATH=JAVA_HOME/bin:$PATH
export M2_HOME="/usr/share/maven"
export PATH=M2_HOME/bin:$PATH
source /etc/profile
java-11 also working fine

hi madhu,
Please set environmental variables.
sudo vi /etc/profile
export JAVA_HOME="/usr/lib/jvm/java-11-oracle"
export PATH=JAVA_HOME/bin:$PATH
export M2_HOME="/usr/share/maven"
export PATH=M2_HOME/bin:$PATH
source /etc/profile
java-11 also working fine

I think for Ubuntu we use environment rather than profile and we use profile for redhat and CentOS for setting environmental variables and from class room discussion I came to know that java-8 was the stable version for jenkins rather than java-11
And for setting maven environment we use
sudo vi /etc/profile.d/mavenenv.sh
export JAVA_HOME="/usr/lib/jvm/java-11-oracle"
export PATH=JAVA_HOME/bin:$PATH
export M2_HOME="/usr/share/maven"
export PATH=M2_HOME/bin:$PATH
Source /etc/profile.d/mavenenv.sh

thank you all, now it is showing mvn version.


Compact layout

I made some small edits to the app's layout - specifically the homepage (logo smaller re: https://github.com/davidlago/mbta-ninja/issues/39, added some color to the MBTA) and to the nav bar on line pages (clearer back button, smaller text in a few places). Obviously the visual edits are somewhat subjective, but I think these are good improvements for the usability. On iPhone 4 sized screens, almost all of the lines were being pushed below the fold because of the large title, subtitle, and logo.

Great idea, @deverstalmage! Would you mind updating it so that the MBTA is back to black, and sqashing it into one commit? Thanks!

I'm not really sure what happened with my rebase here - would you rather I just close and make a new PR?

That would be great, thanks @deverstalmage!


Hide all items by default

Hi,
First, I'd like to thank you for this great script I just discovered.
I was wondering if there was a simple way to hide all the items by default when you only have an Instant Search filter. I would like the items to show only when the user types its request in the input.
Thanks very much!
Maxime

Duplicate of issue #90 and has been resolved.


Update step-1-hello-world-2680aa9.md - using npx ui5 init

Running ui5 init will not work when the command line is not installed globally. You need to run npx ui5 init

Hi @bvarwig, thanks for your contribution! We'll take a look and will get back to you.


🔧⚙🔩 [Breaking Change] (code + test) Deprecated and remove unused functions and its testing items.

Target

Deprecated and remove unused functions and its testing items.

Modify Code Scope

Source Code

module _utils.zookeeper

Testing Code

Integration Testing

testing module _utils.zookeeper

Effecting Scope

Nothing, the functions be deprecated and removed are all unused.

Description

Deprecated and remove unused functions.
Remove all the testing items of deprecated functions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.1%) to 94.261%

Files with Coverage Reduction
New Missed Lines
%

smoothcrawler_cluster/_utils/zookeeper.py
1
93.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1084

Relevant Lines:
1150

💛  - Coveralls


vm1/va1: better white balance defaults

default off at max temp (6500)

looks like this was already fixed


add ARDA, AlignGAN, DAN, GMM-GAN, PAN, SSGAN, SteinGAN, VAW-GAN

Add new GANs:

Adversarial Representation Learning for Domain Adaptation (ARDA)
AlignGAN
Distributional Adversarial Networks (DAN)
Gaussian Mixture Model (GMM-GAN)
Perceptual Adversarial Networks (PAN)
Secure Steganography GAN (SSGAN)
SteinGAN
Variational Autoencoding Wasserstein GAN (VAW-GAN)

Sorry for late action, was away. Looks good to me!


Fix owner-points name

Signed-off-by: Patrick<EMAIL_ADDRESS>I accidentally gave them the wrong name in the documentation, PGM refers to it as points owner when in XML it uses owner-points.

Will take a look this afternoon 👍

Will take a look this afternoon 👍


KOGITO-879 KOGITO-880 KOGITO-881: State Control API (undo/redo)

KOGITO-879: Define State Control API
KOGITO-880: Create JSInterop layer for StateControl API
KOGITO-881: Integrate State Control API in Stunner to handle Undo & Redo
@tiagobento @ederign could you please take a look?
This is part of an ensemble, please merge with:
https://github.com/kiegroup/kogito-tooling/pull/66
https://github.com/kiegroup/appformer/pull/894
https://github.com/kiegroup/kie-wb-common/pull/3156
https://github.com/kiegroup/jbpm-wb/pull/1414
https://github.com/kiegroup/drools-wb/pull/1310
https://github.com/kiegroup/kie-wb-distributions/pull/1013

@tiagobento could you please take a look again?

@tiagobento your turn again

@ederign Feel free to merge this after these changes are made.

@tiagobento last cleanup

@pefernan I compiled the VSIX along with the other PRs for this feature. After installing the VSIX file in VSCode undo/redo (both from VSCode's menu and keyboard shortcuts) did nothing. Did I do something wrong!?

@manstis no no, that's fine. It's going to be fully integrated when the new VSCode WebView API is there. That's my next step. If you want I can provide you an extension with to try it with custom commands

@pefernan No, that's fine thank-you.. if I was a bit eager please ignore me :-)

@manstis I will never ignore you


Polynomial

Needed to support expression rearrangement (by collecting like terms).

Merged https://github.com/PolymerLabs/arcs/pull/4556 which contains these changes. Therefore, closing this PR.


Chain: Only query on GSI if projects all

[Update] Only choose a GSI in chain where if the GSI is defined
to project all fields. The reason being is that GSI with only
some keys or just KEYS_ONLY will not resolve all fields on the
objects and therefore can be confusing. Should explicitly query
with find_all_by_secondary_index otherwise leave as TODO to
deal with such cases.
[Update] Update README discussing GSI implicit querying with
where.

@pboling Just realized a case where this might not return what you'd expect is if GSI doesn't have all the attributes. So I'd rather do this to keep the end result expected with all field values.
I leave the other case as a TODO since it feels like it'd be pretty involved to implement. I feel like the ideal solution would rely on 2 things:

Implementing select with Chaining
Implementing the logic to determine if can use GSI

Determining if table is just the GSI keys then would be okay to use GSI
Determining if select overlaps with GSI keys then would be okay to use GSI
If not, then querying GSI but then knowing to query base table for remaining attributes in select or if no select then all attributes.

I believe this is the ideal solution for underlying where since we'd expect the fully realized objects if we did where rather than partials.
Finally I believe this is not necessary for Local Secondary Indexes since from docs:

When you query a local secondary index, the query can also retrieve attributes that are not projected into the index. DynamoDB will automatically fetch these attributes from the base table, but at a greater latency and with higher provisioned throughput costs.

I did not test this because you have to create the local secondary indexes while creating table and didn't have the time to build such out.
Side note: Not sure if it's issue with DynamoDB Locally or with testing suite but when I tried testing these things locally in specs it returned all fields but when I tested in a production like environment, I found it returned only the keys specified like expected.

Coverage increased (+0.02%) to 96.685% when pulling e63fa027e94f736484b5173929e831cf5e5d5211 on richardhsu:richardhsu/chain-index-only-for-all into 461ad3d3b1ac51cd52c474797f47145fa55d8d60 on Dynamoid:master.

Coverage increased (+0.02%) to 96.685% when pulling 8a81def8fe859b7ac19d961b0e2e93c8c6db8c89 on richardhsu:richardhsu/chain-index-only-for-all into 461ad3d3b1ac51cd52c474797f47145fa55d8d60 on Dynamoid:master.

This is great.  @richardhsu please rebase on latest master to fix the conflict in the readme, then I will merge this.

Coverage increased (+0.02%) to 96.684% when pulling 55f539aad725f349ef5bd8745f4da2bfb1873ad6 on richardhsu:richardhsu/chain-index-only-for-all into 4177d1188a459ef7833963e7f260ace29e9c527a on Dynamoid:master.

Coverage increased (+0.02%) to 96.684% when pulling 55f539aad725f349ef5bd8745f4da2bfb1873ad6 on richardhsu:richardhsu/chain-index-only-for-all into 4177d1188a459ef7833963e7f260ace29e9c527a on Dynamoid:master.

Coverage increased (+0.02%) to 96.684% when pulling 55f539aad725f349ef5bd8745f4da2bfb1873ad6 on richardhsu:richardhsu/chain-index-only-for-all into 4177d1188a459ef7833963e7f260ace29e9c527a on Dynamoid:master.


Improve the visual appearance of the Alert component

The Alert component has been further tested together with our other components, and it turns out that it does not fit in as it is now. Especially the thick frame on the far left and the lack of a frame around which "frames" it properly against different background colors. Title and preamble are not completely connected regarding spacing. Less padding around the alert than there is between title / introduction. We also received feedback that it looked a bit "Windows 95" / old fashioned.
We should design and implement 3 different sizes of the component and and a more suitable design like this:

### Tasks
- [ ] https://github.com/digdir/designsystemet/issues/1792
- [ ] https://github.com/digdir/designsystemet/issues/1791

When it comes to sizes, we have decided to set a standard font-size only for free text inside the alert component.
If you use any of out typography components, the developer has to make sure the correct sizes are being used. Padding will change accordion to the size set.
We will add examples and guidelines for text inside the alert in Storybook.
This is so we can make this component SSR friendly in the future, since we won't need a context.


fix: component args

Summary
If a component flag is followed by an argument that has a - prefix, we treat it as an argument, and not as a shorthand flag.
I added further tests based on we need to support.
There is a problem.  We are unable to handle both shorthand expansion like -xyz -> -x -y -z and shorthand assignment such as -n1234, -n1234 is equivalent to -n=1234 and -n 1234.  We cannot lookup the component flags to know that -n1234 should not be expanded.  Just pass through to the component and let the component parse.
How did you test this change?
Inputs based on https://github.com/spf13/pflag?tab=readme-ov-file#command-line-flag-syntax
Unit testing and manual
Issue
https://lacework.atlassian.net/browse/GROW-2677

We may not be handling:

-abc  => -a=true -b=true -c=true
-abcs "hello" => -a=true -b=true -c=true -s="hello"
-absd="hello" => -a -b -s="hello" -d="hello"
-abcs1234 => -a=true -b=true -c=true -s=1234


Move mysql into subfolder

Move the mysql into a subfolder within the drivers

I am working on this ticket


Looking further into the issue I found that Scrutinizer was the cause of the hangup. Reviewing ScrutinizerCI shows that the tests have been silently failing to receive the remote code coverage.
From what I see in an older spot of the repo is that TravisCI was setup to send those coverage reports. These reports are not being sent by Github and it seems due to those configs lacking the proper script call.
Proposed Fixes:

Send coverage from GitHub to Scrutinizer
Disable external code coverage for Scrutinizer

My go-to would be disabling external code coverage or even scrutinizer at all.
Never had a single benefit of it.
At the end: even if scrutinizer fails but all other tests pass and I approve the changes I will merge it. I really don't care about it. 😅
But I believe that removing the config wasn't enough but @freekmurze would have to disable it on the scrutinizer platform itself.
Will ask him today to do so. 😊

Done.


add merbridge in Projects Related to eBPF

Fixes https://github.com/zoidbergwill/awesome-ebpf/issues/72

like crossing an Einstein-Rosen Bridge

This is a cool reference, but not really descriptive. Could we have something a bit more helpful? I see the project has this on its website:

Merbridge replaces iptables rules with eBPF to intercept traffic. It also combines msg_redirect to reduce latency with a shortened datapath between sidecars and services.

(I don't mind mixing the two if it's not too long, let's just not have only the bridge.)
And thank you for the PR!

Updated.
The website


Is it possible to create standalone comments?

This is partially related to the above, so I hope you don't mind me asking here, but is there a way to create a standalone comment without attaching it to a specific sequence, map, or pair in the doc?
My use case is that I am generating a YAML file one field at a time based a different configuration data source.  For each field, I want to either add it as a pair to the document or add a commented out pair to the document.
E.g., a very simplified example:
// assumes 'legacyConfig' var (JSON) and 'yamlDoc' var (YAML Document)
const supportedFields = ['name', 'id', 'url'];
supportedFields.forEach(f => {
  if (legacyConfig[f] != null) {
    yamlDoc.add(new Pair(f, legacyConfig[f]));
  } else {
    yamlDoc.add(new Comment(`${f}: ${f) value`)); // <-- this is what I want to do
  }
});

resulting in YAML like so (if the legacy config has only name and url):
name: Foo
#id: id value
url: http://example.org/foo

I guess I can do that today by keeping a reference to the last added pair and appending the new comment to the last added pair's comment value, but something like above would be much cleaner.
BONUS:
I'm really asking to see if anything like this exists now, but if it's something that needs to be developed, then it would be really cool if I could do something like this:
const myPair = new Pair('foo', 'bar');
myPair.commentOut = true;
doc.add(myPair);

// or

doc.add((new Pair('foo', 'bar')).commentedOut());

This would make adding commented out sections of more complex YAML even easier!

Standalone comments do not currently exist in yaml at the AST level. The lower-level CST does parse comments into separate nodes, but when parsing that into the AST they're assigned to node properties. I would not recommend working with the CST for this; it's not really meant to be used to create new content.
I think the easiest way to get what you want is to extend the Pair class and override its toString(ctx, onComment, onChompKeep) method with something like this (untested code):
import { Pair } from 'yaml/types'

class CommentPair extends Pair {
  toString(ctx, onComment, onChompKeep) {
    const str = super.toString(ctx, onComment, onChompKeep)
    return str.replace(new RegExp(`^(${ctx.indent})?`, 'gm'), '$&# ')
  }
}

In case it's not clear, that should add an appropriate-indented '# ' for each line of the stringified output of Pair.toString(). Adding a CommentPair to a mapping should otherwise work exactly like normal pairs do.

I'll give that a try!  Thanks!

Yes, I can confirm, that works well, thank you!
One note for any TypeScript users looking at this, here is the typed implementation:
class CommentPair extends Pair {
  toString(ctx: Schema.StringifyContext, onComment?: () => void, onChompKeep?: () => void) {
    // @ts-ignore the Pair (super) type doesn't declare the 3-arg toString overload
    const str = super.toString(ctx, onComment, onChompKeep);
    return str.replace(new RegExp(`^(${ctx.indent})?`, 'gm'), '$&# ');
  }
}

@eemeli - if you do any future work on types, and if this sort of use is expected to be common, you may want to consider putting the 3-arg toString overload in the type definitions.

Closing, as the original issue is hopefully solved and the missing method typings will be included in the next release.

Thanks again, @eemeli!


Pyclass Hygiene Structs and Complex Enums

Bug Description
While working on the str implementation for pyclass, I found that eq for pyclass for structs had a hygiene issue.  I created a test in the pyclass hygiene tests to cover this scenario and it passes.  I noticed that complex and tuple enums do not have any tests for hygiene, so I added them, but am struggling to get them to fully pass.
Steps to Reproduce

Add the following test cases to src/tests/hygiene/pyclass.rs:

#[crate::pyclass(eq, ord)]
#[pyo3(crate = "crate")]
#[derive(PartialEq, PartialOrd)]
pub struct PointEqOrd {
    x: u32,
    y: u32,
    z: u32,
}

#[crate::pyclass(eq, ord)]
#[pyo3(crate = "crate")]
#[derive(PartialEq, PartialOrd)]
pub enum ComplexEnumEqOrd {
    Variant1 { a: u32, b: u32 },
    Variant2 { c: u32 },
}

#[crate::pyclass(eq, ord)]
#[pyo3(crate = "crate")]
#[derive(PartialEq, PartialOrd)]
pub enum TupleEnumEqOrd {
    Variant1(u32, u32),
    Variant2(u32),
}

Backtrace
Errors were of the type:

error: cannot find macro `unreachable` in this scope
  --> src/tests/hygiene/pyclass.rs:79:1
   |
79 | #[crate::pyclass()]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
   |
1  + use core::unreachable;
   |
1  + use std::unreachable;
   |

error[E0423]: expected value, found enum `std::result::Result`
  --> src/tests/hygiene/pyclass.rs:79:1
   |
79 | #[crate::pyclass()]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
help: the following enum variants are available
   |
79 | (std::result::Result::Err(/* fields */))
   |
79 | (std::result::Result::Ok(/* fields */))

I am now encountering the following errors for my enum test cases that I'm not quite sure how to resolve:
error[E0599]: no function or associated item named `from` found for struct `pyclass_init::PyClassInitializer` in the current scope
   --> src/tests/hygiene/pyclass.rs:87:1
    |
87  | #[crate::pyclass(eq, ord)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PyClassInitializer<_>`
    |
   ::: src/pyclass_init.rs:136:1
    |
136 | pub struct PyClassInitializer<T: PyClass>(PyClassInitializerImpl<T>);
    | ----------------------------------------- function or associated item `from` not found for this struct
    |
note: if you're trying to build a new `pyclass_init::PyClassInitializer<_>`, consider using `pyclass_init::PyClassInitializer::<T>::new` which returns `pyclass_init::PyClassInitializer<_>`
   --> src/pyclass_init.rs:150:5
    |
150 |     pub fn new(init: T, super_init: <T::BaseType as PyClassBaseType>::Initializer) -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is in scope
    = note: this error originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `From` which provides `from` is implemented but not in scope; perhaps you want to import it
    |
1   + use std::convert::From;
    |
help: there is an associated function `try_from` with a similar name
    |
87  | try_from
    |

error[E0599]: no method named `clone` found for reference `&u32` in the current scope
   --> src/tests/hygiene/pyclass.rs:87:1
    |
87  | #[crate::pyclass(eq, ord)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is in scope
help: there is a method `clone_from` with a similar name, but with different arguments
   --> /var/home/zyell/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/clone.rs:169:5
    |
169 |     fn clone_from(&mut self, source: &Self) {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: this error originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it
    |
1   + use std::clone::Clone;
    |

### Your operating system and version

Bluefin fedora 40

### Your Python version (`python --version`)

3.12.4

### Your Rust version (`rustc --version`)

1.79.0

### Your PyO3 version

main

### How did you install python? Did you use a virtualenv?

virtualenv

### Additional Info

_No response_

resolved in #4359


Dark Iron Smoking Pipe is not currently being used

Arcane Mage Pre-Raid BiS  333 iterations 360 duration

Arcane Mage Pre-Raid BiS - Smoking Pipe  333 iterations 360 duration

I have tried a few different runs and it seems to vary a bit (which is to be expected) but it is consistently ~20 dps higher~

Looks like it is just not using the Dark Iron Smoking Pipe
In combat log I see
[00:00:000] You gain Icon of the Silver Crescent
[00:19:990] Icon of the Silver Crescent on You ends
[02:07:720] You gain Icon of the Silver Crescent
[02:27:710] Icon of the Silver Crescent on You ends
and I do not see correlated entries for the Dark Iron Smoking Pipe

Closing as Duplicate of https://github.com/marisa-ashkandi/tbcsim/issues/78 and commenting that this trinket was missed as well


Inspector ranges

Some of the inspector ranges are exagerated, for example why node2D rotation goes from -1440 to 1440, instead of -360 to 360, or light2D energy from -some_big_number to some_big_number, even though energy set to negative does not have effect, and also going above 100 does not seem to have effect either.

exagerating the rotation range was done in order to better animate some
node rotations (this was requested by artists), light2D energy should
really be clamped..
On Mon, May 23, 2016 at 7:33 PM, Daniel Ramirez<EMAIL_ADDRESS>wrote:

Some of the inspector ranges are exagerated, for example why node2D
rotation goes from -1440 to 1440, instead of -360 to 360, or light2D energy
from -some_big_number to some_big_number, even though energy set to
negative does not have effect, and also going above 100 does not seem to
have effect either.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/4791

good to know, im going to work on some of the ranges, but as you mentioned people have different needs, but i think that changing values with the slider must be visible, if the changes are too big to be visible probably the range should be changed

Closing, we got a new inspector - ranges were supported anyway, they just need to be defined. IMO, this issue is outdated, if a specific property needs a range defined or changed, we should have a specific issue or just create a PR to do it.


How to make a separate npm command to run mix with different config?

My webpack.mix.js looks so:
let mix = require('laravel-mix')
mix.react('resources/assets/js/app.js', 'public/js')
    .sass('resources/assets/sass/app.scss', 'public/css');

The npm scripts are default:
"scripts": {
  "dev": "npm run development",
  "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
  "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
  "watch-poll": "npm run watch -- --watch-poll",
  "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
  "prod": "npm run production",
  "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},

The issue is that production script compiles both js and sass and runs very long. Most of time I need to compile only sass which should be very quick, but I'm struggling how to make a command to compile sass without js?
I tried this command:
"css": "node-sass --include-path resources/assets/sass --output-style compressed --precision=8 resources/assets/sass/app.scss public/css/app.css"

But it doesn't properly include files from node_modules. And after half hour googling I decided that it's not worth teaching this command to include things from node_modules properly, better stick to laravel-mix.
Then I tried to run mix with custom config parameters (note the --only-sass):
"css": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --only-sass --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
and process it in webpack.mix.js:
if (process.argv.includes('--only-sass')) {
    mix.sass('resources/assets/sass/app.scss', 'public/css');
} else {
    mix.react('resources/assets/js/app.js', 'public/js')
        .sass('resources/assets/sass/app.scss', 'public/css');
}

But this also didn't work because webpack fails when meets unknown parameters 😫
Then I tried to pass the parameter as env variable (notice the ONLY_SASS):
"css": "cross-env NODE_ENV=production ONLY_SASS=true node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
this also didn't work because cross-env  seems to set only first parameter.
Now I'm giving up. Any ideas how to achieve what I need? The task looks so simple at glance and so complicated in reality.

Hey Stalinko,
we use process.env for that.
We use different "modes" so one "all" and another two "css" and "js".
So for your example: process.env.ONLY_SASS

@SudoGetBeer but I tried that and it didn't work. This is my latest example:
"css": "cross-env NODE_ENV=production ONLY_SASS=true node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
ONLY_SASS looks to be undefined because cross-env accepts just one variable.

Okay maybe a few snippets from our config help:
script:
"scripts": {
   "dev": "npm run development",
   "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
   "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
   "watch-poll": "npm run watch -- --watch-poll",
   "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
   "prod": "npm run production",
   "prod-css": "MODE=copy npm run prod",
   "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
 },

In the webpack.mix.js
let mix = require('laravel-mix');

const arg = process.env.MODE;
console.log('MODE Env: '+arg);

....

the when I run npm run prod-css I get

MODE Env: copy

In the console.

@SudoGetBeer thanks a lot! It didn't work right how you wrote it, but pushed me onto the right way.
In windows env variables don't set up without cross-env.
So finally I've got 2 new scripts:
  "scripts": {
      ...
      "css": "cross-env MODE=css npm run prod",
      "js": "cross-env MODE=js npm run prod"
  },

And this is the updated webpack.mix.js:
let mix = require('laravel-mix')

const mode = process.env.MODE;

if (mode === 'css') {
    console.log('Compiling CSS')
    mix.sass('resources/assets/sass/app.scss', 'public/css');
} else if (mode === 'js') {
    console.log('Compiling JS')
    mix.react('resources/assets/js/app.js', 'public/js');
} else {
    mix.react('resources/assets/js/app.js', 'public/js')
        .sass('resources/assets/sass/app.scss', 'public/css');
}

Now all 3 commands work like a charm:
npm run prod
npm run css
npm run js


WordPress Error: Plugin could not be activated because it triggered a fatal error.

I received the plugin generated from wp2static.com by entering my email. When I tried to activate this plugin I got the following error:

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/ioqdt68boaz1/public_html/(website URL)/wp-content/plugins/static-html-output-plugin/src/Controller.php on line 42

So I downloaded the .zip from the git repo and uploaded it that way, which gave me the following error:

Fatal error: Class 'WP2Static\Controller' not found in /home/ioqdt68boaz1/public_html/(website URL)/wp-content/plugins/wp2static-master/wp2static.php on line 24

Hi @jamesravelle if new to WP2Static, I suggest starting with the somewhat simpler version today, which the latest build is for download at: https://github.com/WP2Static/static-html-output-plugin/files/4822705/static-html-output-plugin-6.6.21.zip
I'll post some official releases for the more modern/developer-friendly WP2Static in future

*Simpler version is named "Static HTML Output"

I've been tracking this project since prior to hiatus, WP2Static is great but the 5.5 fail is making me search for options today... Sigh

FWIW static html outpit 6.6.21 is also dead on arrival on 5.5

Hi @matthewfisch,
I haven't heard reports of failure on WP 5.5. It may rather be that our minimum PHP version has bumped up to PHP 7.3 since the last version you were using.
Can you try checking/updating to at least PHP 7.3 (7.4 if you can) and let me know if still getting issues?

It sounds like a composer issue? Have you run composer install?

@leonstafford sorry for the frustration yesterday -- of course I scheduled a wordpress migration for the one week period of this upgrade problem. I'll experiment a bit with things after I prep my new environment and let you know if I come to any conclusions.

@matthewfisch no worries at all! I am often frustrated with tech and would not pretend I haven't been the cause of many user
's frustrations over the years! Working to improve that though :D
Please let me know as any issues pop up. Cheers

@leonstafford Im trying to install the plugin throught the wp-cli:
wp --allow-root plugin install static-html-output-plugin --activate
but Im receiving this:
Warning: static-html-output-plugin: Plugin not found.
Warning: The 'static-html-output-plugin' plugin could not be found.
Error: No plugins installed.

do you know whats happening?

Hi @LuizCarlosAbbott,
I think the version you're after is this one:
https://github.com/WP2Static/static-html-output-plugin/files/4822705/static-html-output-plugin-6.6.21.zip
And WP-CLI should allow you to install that from local ZIP, but not remote file, as far as I recall, so you'd need something like:
curl https://github.com/WP2Static/static-html-output-plugin/files/4822705/static-html-output-plugin-6.6.21.zip
wp --allow-root plugin install static-html-output-plugin-6.6.21.zip --activate

@LuizCarlosAbbott and this is probably why the workflow you were previously using is now failing, sorry for that!
https://staticword.press/t/removal-of-wp2static-from-wordpress-org

@LuizCarlosAbbott also, please be aware of the plugin name change in the UI and CLI, no longer wp2static for that one, once installed, it should be statichtmloutput, which maps to this repo: https://github.com/WP2Static/static-html-output
The repo we're discussing this in now (https://github.com/WP2Static/wp2static) is for a fork of the project, which will continue with the wp2static naming.
Confusing, I know. Sorry x2!

When did the fork happen?
Here's what I've discovered. I guess I can just keep running with 6.6.7?
WP2Static 6.6.7:
Works on PHP 7.1 & WP 5.4 (Self hosted @ AWS)
Works on PHP 7.3 & WP 5.4 (LocalWP Container)
Works on PHP 7.4 & WP 5.4 (LocalWP Container & Flywheel)
Works on PHP 7.4 & WP 5.5 (LocalWP Container & Flywheel)
Static HTML Output 6.6.21:
Not working on PHP 7.4 & WP 5.4 (Flywheel)
Not working on PHP 7.4 & WP 5.5 (Flywheel)
WP2Static 7.1:
Not working on PHP 7.4 & WP 5.4 (Flywheel)
Not working on PHP 7.4 & WP 5.5 (Flywheel)
Error as noted in the thread head.

@matthewfisch is that FlyWheel on Win or Mac (or less likely - Linux)?
Can't recommend Local by FlyWheel on Windows, as it's all kinds of terrible. macOS may not be as bad, but haven't tried in a while.
There are enough users installing 6.6.21 without issue, so if it's an option for you to workaround, I suggest using a different environment.

If 6.6.7 is working for you, then no need to update in a hurry, but a lot of issues that could affect export quality were fixed in 6.6.21

Leon,
I was simulating using Flywheel local for Linux (got it working on
debian, no thanks to missing documentation and some bugs). The same
problems were encountered on flywheel's servers however.
Also worth noting I tried pulling a blank WP from flywheel, but also
importing directly to "local" from my old WP server. Same problem.
-Matt
On Fri, Aug 28, 2020 at 5:21 PM Leon Stafford<EMAIL_ADDRESS>wrote:

If 6.6.7 is working for you, then no need to update in a hurry, but a lot
of issues that could affect export quality were fixed in 6.6.21
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WP2Static/wp2static/issues/650#issuecomment-683152039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6E2A2VHBWQBUUBW7X4MNTSDANVNANCNFSM4QMGGULQ
.

--
Matthew Fisch, CISSP
Founder & CEO
FortMesa, Inc.
Delivering team security culture.
+1<PHONE_NUMBER> <+1+518+444+4181>
<EMAIL_ADDRESS>https://fortmesa.com/
[image: linkedin] https://www.linkedin.com/in/matthewfisch
Book a Meeting https://mail.fortmesa.com/meetings/mfisch

should be a bit easier now, with compilation instructions on homepage, along with easy to install binaries for those who've donated/existing license holders or those who simply click through to find the links.
There's a few bug fixes that have been merged in today and not published to wp2static.com's releases yet, but should be available soon (version 7.1.5)


Support for A100 MIG

I've seen https://github.com/NVIDIA/enroot/commit/c3922846cb18ebe614d1c845315e801b3006c4a6 but it's still no clear to me if enroot already fully supports "A100 GPU to be securely partitioned into up to seven separate GPU Instances"

MIG supports containers using Docker Engine
https://docs.nvidia.com/datacenter/tesla/mig-user-guide/index.html

The article doesn't mention enroot.

MIG support in the NVIDIA container stack is implemented in a low-level library called libvnidia-container.
Here is a summary of changes that were made to support it:
https://docs.google.com/document/d/13LyeFxuWLSwDjCXKx7RyWWRZEAqA-mghtK3GRPvGv1s/edit
This document walks through examples with docker, but as far as I know, enroot also uses libnvidia-container under the hood, so should be able to leverage these features as well.

Enroot does support MIG, you can use the usual NVIDIA_VISIBLE_DEVICES envvar and select which instance is passed through, this is similar to docker.
The commit https://github.com/NVIDIA/enroot/commit/c3922846cb18ebe614d1c845315e801b3006c4a6 adds support for configuring MIG inside the enroot container. For this you will need to set NVIDIA_MIG_CONFIG_DEVICES

BTW @elgalu, I forgot to mention that there is also an extra hook that we ship for MIG:
https://github.com/NVIDIA/enroot/blob/master/conf/hooks/extra/50-mig-config.sh
This will automatically toggle the configure bit if the GPU is visible in the container and MIG is enabled on said GPU.


FakeUnleash resetAll should also reset variants

Coverage increased (+0.007%) to 92.977% when pulling 7235ef7042f15eb8a7ba5f998ad3d8c8253a4824 on blankg:reset-variants into e420ae9d1324ccb0d7878edcbbe1e4aeca0d410b on Unleash:master.

Thanks ;)


None of these files exist Single date picker

I got a Syntax Error with the error showing in the image. Saying none of these files exist on android emulator.  I followed the Android caveats and it didn't work.
This is my implementation code:
export const DateInput = ({ mode, label }: DateInputProps) => {
  const [opened, setOpened] = React.useState(false);

  const onDismiss = React.useCallback(() => {
    setOpened(false);
  }, [setOpened]);

  return (
    <>
      <TextInput mode={mode} label={label}
        right={<TextInput.Icon color="rgba(0,0,0,0.6)" name="calendar" forceTextInputFocus={false}
          onPress={() => setOpened(true)}
        />}
      />
      <DatePickerModal mode="single" visible={opened} onConfirm={ () => console.log('confirmed')} onDismiss={onDismiss}/>
    </>
  );
};

Any help is appreciated. Thanks

Did you install via npm or via github directly?

DatePickerInput is added in the library itself!


Have collect bail on token expired error

When you get ClientError: An error occurred (RequestExpired) when calling DescribeVolumes operation: Request has expired, the session has expired so the collect should bail.

Yeah, I ran into this as well. My scenario was somewhat different, though, and I'm not sure whether it fits here directly, or should be a different issue entirely.
My IAM identity was given permissions to assume an audit role in the target account, but that role credential/token was only valid for an hour. Collect would take longer than an hour to run, and would consequently hit this condition when the token expired. In those situations, would it not be possible to attempt to refresh the token, and continue, giving up only if the refresh also failed?


Enable non-card payment methods

Requested on the forum https://community.couchers.org/t/donate-and-become-a-financial-contributor/1425/2
Stripe guide
https://stripe.com/payments/payment-methods-guide
Seems you just add these to the API call?
https://stripe.com/docs/api/payment_methods/object#payment_method_object-type

Not a priority right now


Schema validation is too complex

The 3rd part is not needed. OneOf (a,b) already blocks having a AND b.
  - oneOf:
      - required:
          - healthCheck
      - required:
          - healthChecks
      - allOf:
          - not:
              required:
                - healthCheck
          - not:
              required:
                - healthChecks

https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/20d235a4636fc502c5534eb51cf81f43301d3422/dm/templates/backend_service/backend_service.py.schema#L40

The third branch is for both of them being missing


expires -> expiresAt

This PR...

Renames expires to expiresAt, to match Prisma's naming convention for dates
Updates documentation accordingly
Updates several package dependencies

@wSedlacek Care to give a quick review?

Closing, as this is out of date.


staking functional tests: expect exception on testing failed transactions

also fixing transaction with fee exceeding u64::MAX

I think the tests may still fail because programmable pool tests send two invalid transactions to verify that the smart contract is not accepted and those asserts are not addressed in this PR. If people are OK with it, it may be easier to just disable smart contract tests in this PR and once this is merged, I can send a PR that properly fixes the PP tests.


Archiving non-static fileName every day after downtime

Using v4.6.4
<target xsi:type="AsyncWrapper" name="asyncFile">
    <target xsi:type="File"
              fileName="${basedir}\log_${date:format=yyyy-MM-dd}.log"
              archiveFileName="${basedir}\log\log_{#}.log"
              archiveNumbering="Date"
              archiveEvery="Day"
              archiveDateFormat="yyyy-MM-dd"
              concurrentWrites="true"
              keepFileOpen="false"
              layout="${longdate} ${uppercase:${level}} ${message}"/>
    </target>
</target>

Same scenario as in issue #2523:
if the "archiveEvery" parameter (in my case Day) changes when the app is not running, it won't archive the existing logs if the "fileName" is non-static (if it's static, it works)

In the above example, log_2019-06-09 and log_2019-06-10 (initially) were added instead of replacing the existing ones because the change happened during downtime.
The next 2 logs log_2019-06-11 (which replaced log_2019-06-10) and log_2019-06-12 (which replaced log_2019-06-11) were created when the app was up
In the mentioned issue #2523, one response was "You need to change your logging-setup, so the fileName remains static"
As I am bound to using a date in the fileName, is there a way of achieving this? Is there an option that I'm missing?
Workaround attempt:
"archiveOldFileOnStartup" doesn't help in this regard and even if it did, it would mean the current file being archived multiple times if the app would be restarted multiple times in the same day, but again, it doesn't help with the root problem, archiving when "fileName" is non-static
Thank you

Sorry for the late reply, we still need to check this in code.

I see this is a duplicate of https://github.com/NLog/NLog/issues/2523
This is unfortunate still an known issue.

PR for fixing this would be welcome:)

Work-around is doing this (Stop using static-filename-archive-logic and just use dynamic-archive-logic):
    <target xsi:type="File"
              fileName="${basedir}\log_${date:format=yyyy-MM-dd}.log"
              maxArchiveFiles="7"
              concurrentWrites="true"
              keepFileOpen="false"
              layout="${longdate} ${uppercase:${level}} ${message}"/>

See also https://github.com/NLog/NLog/issues/3807#issuecomment-587661413

Closing due to inactivity. Wellcome to create pull-request with improvements.


Create welcome page(s) for CLI

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
These should be inspired by the default setup for SvelteKit, Astro, and other CLI apps. Just a simple welcome pages that display when you run the dev server after install.

Skeleton Logo
Welcome text
Docs Link
GitHub link
Social links

Perhaps a small interactive demo page with a few components?
What type of pull request would this be?
Other
Any links to similar examples or other references we should review?

@niktek FYI, I'll get this asap.

@niktek Here's what I've worked up for the first pass.

routes.zip
NOTE: you'll also need to apply this to the app.html body tag:
<body data-theme="skeleton">

data-theme is injected into the body dynamically with the theme that was selected in the installer
There are now 3 options:

Bare Bones
Welcome
AppShell, AppBar and Drawer

src/ and static/ dirs are copied over now from source template-sites
Stripped comment to delete everything from layout, as well... it wouldn't be a good idea to remove the imports :P

Also, you have to assign this one to me for me to be able to close it out.


Import TaskWarrior task list

To support transitioning from TW to TC, we'll want to be able to import the output of task export, at least capturing the basic set of tasks.  If that misses recurrences or some other not-very-comparable feature, that's probably OK.

Tagging TBD, pending https://github.com/taskchampion/taskchampion/discussions/162.

I'd find this useful just for my own manual testing, importing my taskwarrior task DB and checking that it shows up in all the right ways.

I got a start on this in https://github.com/taskchampion/taskchampion/compare/main...djmitche:issue94.  Just needs tests.  It worked with my TW task list :)


[camera]Support flash on taking pictures

This PR support flash mode (off, on, auto) on each time take pictures

@tungvn i've tried to implement your changes but the flash is still not working, would you possibly be able to assist me in getting it to work?

@tungvn i've tried to implement your changes but the flash is still not working consistently, i've got it to work on a Samsung device however the flash is not working on a Google Pixel 2 XL. Would you possibly be able to assist me in getting it to work?

Yes. Now I test on a Samsung Note 9, it is also not working. I am not a native coder and I am stuck for fixing this issue.

I would also appreciate this feature.

I would really appreciate this feature. Currently there is no way to turn on flash while using the camera plugin?

I would really appreciate this feature. Currently there is no way to turn on flash while using the camera plugin?

I test this PR on iOS and some Android devices, it worked. But it has some issues on Samsung devices and I am trying to fix it.

Is this merged?

Looking foward to it

Please add this asap

@tungvn why did you close your PR? I got a similar implementation and its working on Pixel 2XL (besides I got a Pixel 2 XL). If you like I can request a PR

Go for it, flash functionality is being highly demanded :)

March, 2020. We still need this future! Use flash/torch is a essential feature for a camera package like this! Please merge this PR.

Flash/torch is a essential feature for a camera package like this! Please give this a priority

We still need it

I hope this feature will be implemented soon.

I need this feature too for a project I am working on right now.

i also need this feature!

More than 2 years later, such an elementary feature is missing from such a great framework. Sad to see this (Also, I need this feature very badly!)
Hope the Flutter team sorts out the camera plugin

Anyone who reaches this page, this issue has been solved now. New features to the camera plugin are no longer being added, but there is a third-party plugin called 'camerawesome'. Do check it out! It has all the features the camera plugin couldn't incorporate (well, almost)!
https://pub.dev/packages/camerawesome


Separation of unknown speakers

hi，Does sepformer support the separation of unknown speakers? (That is, the speakers in the test set are not in the training set). I haven't seen the relevant introduction. If not, which models of speechbrain support the separation of unknown speakers, thank you!

Sure,
all the available models for separation (e.g, sepformer, convtasnet, etc)
support inference on speakers which are not in the test set.
On Fri, 10 Sept 2021 at 09:16, srdfjy @.***> wrote:

hi，Does sepformer support the separation of unknown speakers? (That is,
the speakers in the test set are not in the training set). I haven't seen
the relevant introduction. If not, which models of speechbrain support the
separation of unknown speakers, thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/982, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVUHZOCTWFRG7O7Z5WTUBIAMFANCNFSM5DZKFFYA
.

hi @mravanelli ，I run the default recipe, the speaker in the test set is not in the training set, and sisnr only has 2 points. Is there any special configuration required? Thanks!

Here Cem could be more precise. But the official performance metrics that
people report in the papers are all derived from test sets with different
speakers. These days, we are working on speech separation on real data and
it seems that the sepformer works well in this setting as well.
On Fri, 10 Sept 2021 at 11:05, srdfjy @.***> wrote:

hi @mravanelli https://github.com/mravanelli ，I run the default recipe,
the speaker in the test set is not in the training set, and sisnr only has
2 points. Is there any special configuration required? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/982#issuecomment-916974960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVWJPZIELPG3UFUZCG3UBIND5ANCNFSM5DZKFFYA
.

The current recipe does not support variable number of speakers, but this is a feature we will add in the near future.

hi，If I use "create-speaker-mixtures (https://www.merl.com/demos/deep-clustering/create-speaker-mixtures.zip)" to generate a data set, do I need to use "sepformer-customdataset.yaml" Is this configuration to run the recipe?

No, you can just use the WSJ0Mix recipe in this case. You can refer to the README.md in the WSJ0Mix recipe to see what command to run.

hi, what is the usage scenario of "https://github.com/speechbrain/speechbrain/tree/develop/recipes/WSJ0Mix/separation/hparams/sepformer-customdataset.yaml"?

Hello, this is if you have a dataset other than the supported recipes we currently have (WSJ0mix, WHAM!, WHAMR!, LibriMix)


Family / Style name exceeds 20 characters

Observed behaviour
I'm getting error messages about family / style names being too long.
>>  [1;36;40mcom.google.fonts/check/name/family_and_style_max_length [0m with (('font[0]', 'RedHatDisplay-Black.ttf'),)
    [1;35;40mCombined length of family and style must not exceed 20 characters. [0m
 *  [1;33;40mWARN [0m: The combined length of family and style exceeds 20 chars in the following 'MACINTOSH' entries: FONT_FAMILY_NAME = 'Red Hat Display Black' / SUBFAMILY_NAME = 'Regular'
 *  [1;33;40mWARN [0m: The combined length of family and style exceeds 20 chars in the following 'WINDOWS' entries: FONT_FAMILY_NAME = 'Red Hat Display Black' / SUBFAMILY_NAME = 'Regular'

Expected behaviour
I've tested the fonts on Windows 10 and everything installs correctly. Is this a real error?
Resources and exact process needed to replicate
https://github.com/jeremymickel/RedHat

Thanks for reminding me about this, @jeremymickel!
We already have another issue about this at #2179 and I will increase this limit to 27 chars.
Please see the details on the other issue to understand the reasoning behind this.


testing: invalid testing.go:1343: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test error

$ go version
I use play.golang.org website.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
I use play.golang.org website.
What did you do?
I run this test
https://go.dev/play/p/BtIQcyQJYxR
What did you expect to see?
I expected to see this
=== RUN   TestRunFatal
=== RUN   TestRunFatal/Alex
    prog_test.go:11: Alex
--- FAIL: TestRunFatal (0.00s)
    --- FAIL: TestRunFatal/Alex (0.00s)
FAIL

Program exited.

This output is from slightly modified version of my test
https://go.dev/play/p/QeGIM_xxA4E
What did you see instead?
I see this
=== RUN   TestRunFatal
=== RUN   TestRunFatal/Alex
=== CONT  TestRunFatal
    prog_test.go:11: Alex
=== CONT  TestRunFatal/Alex
    testing.go:1343: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
--- FAIL: TestRunFatal (0.00s)
    --- FAIL: TestRunFatal/Alex (0.00s)
FAIL

Program exited.

Perhaps I don't understand how tests work. But I was surprised and confused by the
    testing.go:1343: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test

error message. I also tried reading testing.FailNow documentation at
https://pkg.go.dev/testing#T.FailNow
The documentation talks about goroutines, but I don't have any goroutines in my test.
Thank you for investigating this.
Alex

Document in https://pkg.go.dev/testing#T.Run
Run runs f as a subtest of t called name. It runs f in a separate goroutine and blocks until f returns or calls t.Parallel to become a parallel test.
Document in https://pkg.go.dev/testing#T.Fatal
Fatal is equivalent to Log followed by FailNow.
https://go.dev/play/p/BtIQcyQJYxR A new goroutine is opened in the code t.Run() of. In this goroutine, TestRunFatal's t.Fatal() calls TestRunFatal's t.FailNow(). This is expected behavior.

This is expected behavior.

Maybe you are correct @qiulaidongfeng .
Alex

That's right, this behavior is expected. The test captures t from the parent test and fails it from the subtest, which isn't allowed.

On the topic of error messages and documentation, I think this could probably be a bit clearer, or have an example. I wonder if any of the go.dev tutorials point this out.


Exception: Stack is empty?

I am following the v2 example. I have the same code in my dialog class as listed here except my class' name is LoginDialog.cs. I see this exception in the emulator however:

My Web.config looks like the following:

I know I'm doing something wrong but I'm not sure what?

Needed to list the Active Directory values in the Global.asax.cs file like so:
        protected void Application_Start()
        {
            GlobalConfiguration.Configure(WebApiConfig.Register);

            AuthSettings.Mode = ConfigurationManager.AppSettings["ActiveDirectory.Mode"];
            AuthSettings.EndpointUrl = ConfigurationManager.AppSettings["ActiveDirectory.EndpointUrl"];
            AuthSettings.Tenant = ConfigurationManager.AppSettings["ActiveDirectory.Tenant"];
            AuthSettings.RedirectUrl = ConfigurationManager.AppSettings["ActiveDirectory.RedirectUrl"];
            AuthSettings.ClientId = ConfigurationManager.AppSettings["ActiveDirectory.ClientId"];
            AuthSettings.ClientSecret = ConfigurationManager.AppSettings["ActiveDirectory.ClientSecret"];
        }


shpool process hanging on ssh credentials timeout

Both with mosh & ssh + shpool, I've been finding shpool process hanging. If the shpool process is directly killed, then detach + list work fine, but if I try an shpool list with the process live, the daemon hangs and a systemctl --user restart shpool is need -- aka, everything getting killed.
It appears connected with ssh credentials timing out; refreshing the credentials doesn't seem to solve the problem.
What I find in the logs is:
2024-09-25T08:27:57.783362Z ERROR ThreadId(274) handling new connection: writing version header
Caused by:
0: serializing data
1: invalid value write: error while writing multi-byte MessagePack value
2: error while writing multi-byte MessagePack value
3: Broken pipe (os error 32)

shpool version 0.7.0

That error message isn't neccicarily a sign of something going wrong, since the shpool attach process will probe the control socket to see if someone is listening in order to decide if it needs to autodaemonize. It just hangs up immediately while the daemon tries to initiate the handshake, causing this error to get generated in the daemon logs, but it doesn't actually indicate something is going wrong.
Can you post some step-by-step instructions for how to reproduce the issue? I've had ssh credential timeouts without seeing issues with shpool, so I'm not quite sure how to try to reproduce this.

pkill ssh-agent is enough to trigger it for me -- but not necessary, since the usual condition doesn't involve restarting the ssh-agent, but simply allowing the creds to go stale and/or (unclear) letting the ssh control master time out.

shpool doesn't really know anything about ssh, so the problem probably isn't directly related to ssh. There is probably some way to reproduce the issue purely with shpool commands, though it might be hard to find.


Added L1 prefetches for KNM in matmul kernel

Codecov Report

Merging #173 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   12.98%   12.97%   -0.02%
==========================================
  Files         182      182
  Lines       28458    28480      +22
  Branches     5344     5354      +10
==========================================
  Hits         3695     3695
- Misses      24282    24305      +23
+ Partials      481      480       -1

Impacted Files
Coverage Δ

src/generator_gemm_avx512_microkernel.c
0% <0%> (ø)
:arrow_up:

src/libxsmm_main.c
51.68% <0%> (-0.27%)
:arrow_down:

src/generator_gemm_common.c
47.4% <0%> (ø)
:arrow_up:

src/libxsmm_malloc.c
43.46% <0%> (ø)
:arrow_up:

src/generator_x86_instructions.c
22.08% <0%> (ø)
:arrow_up:

src/generator_gemm_sse3_avx_avx2_avx512.c
61.42% <0%> (+1.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Merge master into caffeinated-opencoarrays?

Is this appropriate?  Also, is there a way to specifically reject the changes to the version-number in the PROJECT statement near the beginning of the top-level CMakeLists.txt file?

 All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.2 out of 3 committers have signed the CLA.:white_check_mark: zbeekman:white_check_mark: rouson:x: Damian RousonDamian Rouson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).

Current coverage is 39.12%

Merging #155 into caffeinate-opencoarrays will decrease coverage by -0.07% as of 3a9bfd2

@@            caffeinate-opencoarrays    #155   diff @@
=======================================================
  Files                             2       2
  Stmts                           893     892     -1
  Branches                          0       0
  Methods                           0       0
=======================================================
- Hit                             350     349     -1
  Partial                           0       0
  Missed                          543     543

Review entire Coverage Diff as of 3a9bfd2

Uncovered Suggestions

+1.92% via src/mpi/mpi_caf.c#1904...1920
+1.58% via src/mpi/mpi_caf.c#2002...2015
+1.58% via src/mpi/mpi_caf.c#1557...1570
See 7 more...

Powered by Codecov. Updated on successful CI builds.

@zbeekman It appears that one way to reject the version-number changes might be to use the edit icon in the [Files changed] view to manually make the edits in the merge, but I'm not certain if the manual edits then show up as new commits or something.

@rouson I'll merge this on the command line so as to preserve the 2.0.0 version number. I probably won't get to this until tomorrow afternoon.

@rouson you've updated your user.email and the CLA issue is from commits before this, yes?

On Mar 3, 2016, at 8:10 PM, Izaak Beekman<EMAIL_ADDRESS>wrote:
@rouson https://github.com/rouson you've updated your user.email and the CLA issue is from commits before this, yes?

Yes.


Enable Java Vector module for Java 22 in launcher.py

This seems too specific. Also, this will break on older JVMs, or newer JVMs (after Vector is final). Let me think about this more. We have a seemingly related problem of other required options like --add-opens.

This seems too specific. Also, this will break on older JVMs, or newer JVMs (after Vector is final). Let me think about this more. We have a seemingly related problem of other required options like --add-opens.

I have refactored my Trino PR so that the Vector module is no longer required. We will automatically fall back to existing code paths if Vector module isn't found. So now it's just a matter of finding a convenient way to add --add-modules=jdk.incubator.vector. We could just add it to all the jvm configs in the codebase and add it to our jvm configs documentation and leave it at that. The other option is to add it to core/docker/bin/run-trino which will cover our main mode of deployment.

We could just add it to all the jvm configs in the codebase and add it to our jvm configs documentation and leave it at that. The other option is to add it to core/docker/bin/run-trino which will cover our main mode of deployment.

I like this direction.

We could just add it to all the jvm configs in the codebase and add it to our jvm configs documentation and leave it at that. The other option is to add it to core/docker/bin/run-trino which will cover our main mode of deployment.

I like this direction.

We had an offline discussion about this, the consensus was to change launcher.py to add --add-modules=jdk.incubator.vector if we detect the JVM to be version 22 and to update this version check with each subsequent new Java version until it is no longer needed.

Thanks!


Can add support pdf link in Android OS?

Is your feature request related to a problem? If so, Please describe.

Describe the solutions you came up with

Additional context

any idea on how to shou .pdf link on Android ?  on iOS, .pdf file is supported