Bug: Runtime TypeError ("Cannot read property 'call' of undefined")

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

General information
We have an Angular 2 application running and I was asked to upgrade Angular (including it's CLI) to the newest version (Note: I'm not really involved in the project, so I don't know how the application is built or where the dependencies are used).
I tried upgrading using the 1.0 update guide.
Building the app with ng build works (no error messages), but when I navigate to the website, I get an error message in the console.
Versions
@angular/cli: 1.0.2
node: 7.9.0
os: win32 x64
@angular/animations: 4.1.1
@angular/common: 4.1.1
@angular/compiler: 4.1.1
@angular/core: 4.1.1
@angular/forms: 4.1.1
@angular/http: 4.1.1
@angular/platform-browser: 4.1.1
@angular/platform-browser-dynamic: 4.1.1
@angular/router: 4.1.1
@angular/cli: 1.0.2
@angular/compiler-cli: 4.1.1

Repro steps / packages
I don't know what exactly causes this issue, therefore I don't know how to reproduce it.
packages.json
...
  "dependencies": {
    "@angular/animations": "^4.1.1",
    "@angular/common": "^4.1.1",
    "@angular/compiler": "^4.1.1",
    "@angular/core": "^4.1.1",
    "@angular/forms": "^4.1.1",
    "@angular/http": "^4.1.1",
    "@angular/platform-browser": "^4.1.1",
    "@angular/platform-browser-dynamic": "^4.1.1",
    "@angular/router": "^4.1.1",
    "@ngx-translate/core": "^6.0.1",
    "@webcomponents/custom-elements": "^1.0.0-rc.3",
    "clarity-angular": "^0.9.3",
    "clarity-icons": "^0.9.3",
    "clarity-ui": "^0.9.3",
    "core-js": "^2.4.1",
    "moment": "^2.18.1",
    "mutationobserver-shim": "^0.3.2",
    "ng2-file-upload": "^1.2.1",
    "ngx-bootstrap": "^1.6.6",
    "reflect-metadata": "^0.1.10",
    "rxjs": "^5.3.1",
    "web-animations-js": "^2.2.5",
    "zone.js": "^0.8.10"
  },
  "devDependencies": {
    "@angular/cli": "~1.0.2",
    "@angular/compiler-cli": "^4.1.1",
    "@types/jasmine": "2.5.47",
    "@types/node": "~7.0.18",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "~1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "protractor": "~5.1.0",
    "ts-node": "~3.0.4",
    "tslint": "~5.2.0",
    "typescript": "~2.2.0",
    "webpack": "~2.5.0"
  }
}

.angular-cli.json
{
  "$schema"<EMAIL_ADDRESS>  ...
  "apps": [
    {
      "root": "src",
      "outDir": "dist",
      "assets": [
        "assets",
        "favicon.ico"
      ],
      "index": "index.html",
      "main": "main.ts",
      "polyfills": "polyfills.ts",
      "test": "test.ts",
      "tsconfig": "tsconfig.app.json",
      "testTsconfig": "tsconfig.spec.json",
      "prefix": "app",
      "styles": [
        "../../Content/less/clarity/datagrid.css",
        "../node_modules/clarity-icons/clarity-icons.min.css",
        "styles.css"
      ],
      "scripts": [
        "../node_modules/core-js/client/shim.min.js",
        "../node_modules/mutationobserver-shim/dist/mutationobserver.min.js",
<EMAIL_ADDRESS>        "../node_modules/clarity-icons/clarity-icons.min.js",
        "../node_modules/web-animations-js/web-animations.min.js",
        "../node_modules/reflect-metadata/Reflect.js"
      ],
      "environmentSource": "environments/environment.ts",
      "environments": {
        "dev": "environments/environment.ts",
        "prod": "environments/environment.prod.ts"
      }
    }
  ],
...

tsconfig.json
{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "baseUrl": "src",
    "sourceMap": true,
    "declaration": false,
    "module": "es2015",
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2016",
      "dom"
    ]
  }
}

The log given by the failure
I get this console error message at runtime (application is then stuck at "Loading..."):

Webpack is trying to get the module with the Id 0:

modules[0] is undefined though.
Although when checking stats.json using the webpack analyzer, the module with the id 0 (./~/<EMAIL_ADDRESS>exists.
Desired functionality
Proper bootstrapping of the application.
Mention any other details that might be useful
Someone had a similar problem and according to sokra this issue was fixed in 2.5.0. I got version 2.5.0 of webpack and put it manually in the node_modules folder of angular cli but the issue still persists.
When I create a new application using ng new [name], it works fine. As soon as I put my src files and my dependencies in there I get this error.

I haven't seen any similar issues yet, so without a repro there isn't much we can do to investigate. Can you try to make a simple one that we can look at? It might be something simple but there's just no way of knowing without a repro.

Are you using navigator geolocation? Because I got the same error, and when I commented the code below, everything worked.
/* if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition((data)=>{this.getBusinessesNearPosition(data)}, (error) => { this.getNearUser(4x,-xx) });
} */

This issue is related to https://github.com/webpack/webpack/issues/959 and https://github.com/AngularClass/angular-starter/issues/456. But since webpack config is embedded in cli, we cannot apply the same fix.

Getting the same error.
Locally it works fine, but fails in my dev server

i had this issue and it was because i was not including vendor.bundle.js

Getting the same error.
Locally it works fine, but fails in prod.
any solution please

Same here, locally works but not in production

I had the same issue when I uploaded the www folder built by ionic serve to my website. I found that if I instead build using npm run ionic:build --prod, this problem appears to have been solved.

@Leffe108 If Ionic-cli is like angular-cli you musn't use serve for production, that is only for development cause it start a new webpack-server (node) and dont need that only for build the production app, besides in the first instruction you are not setting the env vars, maybe that is the error.
In my case the error is just the oposite, ng server build a pack that works in local, in production pipeline I use ng build and it dont works, both with same env vars.

Hello all,
The same problem: works OK locally and Fails in production (ng build --env=prod --output-hashing none). Two days fighting with this issue. All npm packages are up to date.
Please, provide with any update.

Sorry for getting a bit of topic including ionic commands above. But to get to a solution the team member above asked for a simple repo or steps to reproduce. So to get forward we need to find out what a minimal repo that reproduces this looks like and provide it to the team so the problem can get solved.

Same error here ... the error doesn't help much to debug....quite annoying

Hello all,
The same problem: works OK locally and Fails in production (ng build --env=prod --output-hashing none). Two days fighting with this issue. All npm packages are up to date.
Please, provide with any update.

To localize the problem, I do the following

Build the project from scratch “kendo-ui-first-look” followed by http://www.telerik.com/blogs/using-kendo-ui-with-angular-2.
Update to the latest packages: npm, webpack, @angular/cli, webpack-dev-server.
Running: ng build --env=prod --output-hashing none
Transfer dist to the machine (with Lighttpd server)
Launch in Chrome

The same problem occurs on this virgin project.

For me the error is gone with 1.3.0-beta.1

mariannafld: Thanks for providing a way to reproduce it. I'm sorry if I sounded like I could fix it, but I just re-read the status of the thread and saw that a lot of people had the problem, but none had answered the question from Angular member to provide repo or steps to reproduce.
But if it is solved in 1.3.0-beta.1 it may be that the team found a way to reproduce it or fix it anyway.

Update @angular/cli to version 1.3.0-beta.1 did not solved the problem for me. Angular team, please, try to reproduce this in clean project http://www.telerik.com/blogs/using-kendo-ui-with-angular-2  (without installing kendo-ui ).
Thank you in advance

Hmmm... What version of typescript are you using?
Also updating typescript to the latest version fixes it for me, it wasn't just only the new beta version of angular-cli. I was on Typescript 2.3.4 and I'm now on 2.4.1

Seems like there's no fix to this issue yet. The funny thing is, 1 min it was working fine and the next min boom things fell apart.

Yes... Still no solution. Typescript update didn't lead to desired results:(.  :-)
Ayway... did you already put zone.js to version 0.8.12 instead of 0.8.13? Zone.js has a bug in 0.8.13. Angular cli has fixed zone.js to 0.8.12 but offcourse that is only for a new project you start.

@richardsengers  you are my hero. lol. I downgraded zone.js to 0.8.12 and voilà!  it worked.

 But, my current zone.js is 0.8.12. And the deployment still doesn't  work. Could you, please, provide me with a list of your main npm pacakges?

Currently my project is running with these dependencies:
"dependencies": {
    "@angular/animations": "^4.3.0",
    "@angular/cdk": "^2.0.0-beta.8",
    "@angular/common": "^4.3.0",
    "@angular/compiler": "^4.3.0",
    "@angular/core": "^4.3.0",
    "@angular/flex-layout": "^2.0.0-rc.1",
    "@angular/forms": "^4.3.0",
    "@angular/http": "^4.3.0",
    "@angular/material": "^2.0.0-beta.8",
    "@angular/platform-browser": "^4.3.0",
    "@angular/platform-browser-dynamic": "^4.3.0",
    "@angular/router": "^4.3.0",
    "@ngrx/core": "^1.2.0",
    "@ngrx/effects": "^2.0.4",
    "@ngrx/router-store": "^1.2.6",
    "@ngrx/store": "^2.2.3",
    "@ngrx/store-devtools": "^3.2.4",
    "@ngx-translate/core": "^7.0.0",
    "@ngx-translate/http-loader": "^0.1.0",
    "core-js": "^2.4.1",
    "hammerjs": "^2.0.8",
    "howler": "^2.0.4",
    "redux": "^3.7.2",
    "rxjs": "^5.4.2",
    "zone.js": "^0.8.12"
  },
  "devDependencies": {
    "@angular/cli": "^1.2.1",
    "@angular/compiler-cli": "^4.3.0",
    "@types/hammerjs": "^2.0.34",
    "@types/howler": "^2.0.2",
    "@types/jasmine": "2.5.38",
    "@types/node": "^6.0.83",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "~1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.0",
    "pug": "^2.0.0-rc.1",
    "pug-loader": "^2.3.0",
    "ts-node": "~2.0.0",
    "tslint": "~4.5.0",
    "typescript": "~2.2.0"
  }

@mariannafld I've removed all the ^ from the packages so these are the versions which are installed
"dependencies": {
    "@agm/core": "1.0.0-beta.0",
    "@angular-mdl/core": "4.0.8",
    "@angular-mdl/popover": "0.6.3",
    "@angular-mdl/select": "0.10.4",
    "@angular/animations": "4.2.6",
    "@angular/cdk": "2.0.0-beta.8",
    "@angular/common": "4.2.6",
    "@angular/compiler": "4.2.6",
    "@angular/core": "4.2.6",
    "@angular/forms": "4.2.6",
    "@angular/http": "4.2.6",
    "@angular/material": "2.0.0-beta.8",
    "@angular/platform-browser": "4.2.6",
    "@angular/platform-browser-dynamic": "4.2.6",
    "@angular/router": "4.2.6",
    "@covalent/core": "1.0.0-beta.6",
    "@types/auth0-js": "8.6.2",
    "angular2-jwt": "0.1.28",
    "auth0-js": "7.6.1",
    "bootstrap": "4.0.0-alpha.6",
    "color-namer": "1.3.0",
    "core-js": "2.4.1",
    "css-element-queries": "0.4.0",
    "deep-extend": "0.5.0",
    "font-awesome": "4.7.0",
    "highcharts": "5.0.12",
    "medium-editor": "5.23.1",
    "moment": "2.18.1",
    "moment-timezone": "0.5.13",
    "mydatepicker": "2.0.24",
    "ng2-file-upload": "1.2.1",
    "ng2-slim-loading-bar": "4.0.0",
    "ng2-validation": "3.9.1",
    "ngx-color-picker": "4.1.0",
    "papaparse": "4.3.3",
    "rxjs": "5.1.0",
    "tether-shepherd": "1.8.1",
    "zone.js": "0.8.4"
  },
  "devDependencies": {
    "@angular/cli": "1.2.1",
    "@angular/compiler-cli": "4.2.6",
    "@types/highcharts": "4.2.57",
    "@types/jasmine": "2.5.53",
    "@types/node": "6.0.60",
    "codelyzer": "3.0.1",
    "jasmine-core": "2.6.4",
    "jasmine-spec-reporter": "3.3.0",
    "karma": "1.7.0",
    "karma-chrome-launcher": "2.2.0",
    "karma-cli": "1.0.1",
    "karma-coverage-istanbul-reporter": "0.2.3",
    "karma-jasmine": "1.1.0",
    "karma-jasmine-html-reporter": "0.2.2",
    "protractor": "5.1.2",
    "ts-node": "3.0.4",
    "tslint": "5.3.2",
    "typescript": "2.3.3"
  }

Hope this helps you a bit

@mariannafld  here is my list of npm packages

  "dependencies": {
    "@angular/animations": "^4.3.0",
    "@angular/cdk": "^2.0.0-beta.8",
    "@angular/common": "^4.3.0",
    "@angular/compiler": "^4.3.0",
    "@angular/core": "^4.3.0",
    "@angular/forms": "^4.3.0",
    "@angular/http": "^4.3.0",
    "@angular/material": "^2.0.0-beta.8",
    "@angular/platform-browser": "^4.3.0",
    "@angular/platform-browser-dynamic": "^4.3.0",
    "@angular/router": "^4.3.0",
    "angular2-moment": "^1.5.0",
    "angularfire2": "^4.0.0-rc.1",
    "core-js": "^2.4.1",
    "firebase": "^4.1.3",
    "hammerjs": "^2.0.8",
    "material-design-lite": "^1.3.0",
    "lodash": "^4.17.4",
    "moment": "^2.18.1",
    "node-sass": "^4.5.3",
    "rxjs": "^5.4.2",
    "zone.js": "^0.8.12"
  },
  "devDependencies": {
    "@angular/cli": "^1.2.1",
    "@angular/compiler-cli": "^4.3.0",
    "@angular/language-service": "^4.3.0",
    "@types/jasmine": "2.5.45",
    "@types/node": "~6.0.60",
    "codelyzer": "~3.0.1",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.0.4",
    "tslint": "~5.3.2",
    "typescript": "^2.4.1"
  }

Good day to all.
Still, the problem exists:(.
These are dependencies from empty test project:
"dependencies": {
"@angular/cli": "^1.3.0-beta.1",
"@angular/common": "^4.3.0",
"@angular/compiler": "^4.3.0",
"@angular/core": "^4.3.0",
"@angular/forms": "^4.3.0",
"@angular/http": "^4.3.0",
"@angular/platform-browser": "^4.3.0",
"@angular/platform-browser-dynamic": "^4.3.0",
"@angular/router": "^3.3.1",
"core-js": "^2.4.1",
"npm": "^5.2.0",
"rxjs": "^5.0.1",
"ts-helpers": "^1.1.1",
"webpack": "^3.3.0",
"webpack-dev-server": "^2.5.1",
"zone.js": "^0.8.12"
},
"devDependencies": {
"@angular/compiler-cli": "^4.3.0",
"@types/jasmine": "2.5.38",
"@types/node": "^6.0.42",
"codelyzer": "~2.0.0-beta.1",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "2.5.0",
"karma": "1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-remap-istanbul": "^0.2.1",
"protractor": "~4.0.13",
"ts-node": "1.2.1",
"tslint": "^4.3.0",
"typescript": "^2.4.1"
}
One more thread I found that talk about the same problem in different context:
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/456
It is so easy to reproduce when creating new empty project  http://www.telerik.com/blogs/using-kendo-ui-with-angular-2 (without installing kendo-ui ).

@mariannafld
First, change "zone.js": "^0.8.12" to "zone.js": "0.8.12" ...  without the ^
Then ... remove your node_modules folder
Then ... npm install

Nothing....
I close to develop manic-depressive syndrome:)
On each new item in the tread - I'm in 'Hi'
On the suggest implementation - I'm in 'Down'

Just started running into this issue after upgrading from 1.1.1 of the cli to 1.2

Heya, can someone upload to github a project where I can run npm install && ng serve and see this behaviour?

I don't have an easy way to upload a project but I think it stems from this commit https://github.com/angular/angular-cli/commit/2090f64  and related issue https://github.com/angular/angular-cli/issues/7021

I noticed, refreshing the remote machine's browser repeatedly, gets it working for me. I mean not always tho, but when it doesn't I do delete my node_modules folder and npm install, this temporarily fixes it, but when ever I install or import a new package it gets bugged up again. And I have to repeat my lucky process.

I obviously understand this is something people are experiencing, but I cannot reproduce myself on a new project. Reports that this is also happening in your project are useful to determine impact, but not so much to figure out how to fix it.
So if you're experiencing this bug, and want to help getting it fixed, the absolute best way is to provide a simple reproduction that the CLI team can follow. Make a new project, add the bare minimum of code, up load to github, and post here with instructions on how to use the repro.
Ideally it should be as simple as git clone, npm install, ng serve, open browser, see console. The harder it is to reproduce, the less likely it will be fixed soon.
Once we have a repro, we can investigate and develop a solution against it.

Dear friends,
Sorry for disappearing for a month (was switched to another project).
Filipesilva, per your request, I uploaded my project, created today from scratch: https://github.com/mariannafld/TestAngularCLI-Deployment

Run: ng build --env=prod --output-hashing none
move created dist folder to real device
Exception:
Uncaught SyntaxError: Unexpected token <
bootstrap e48bca6c55378bbd138f:54 Uncaught TypeError: Cannot read property 'call' of undefined
at webpack_require (bootstrap e48bca6c55378bbd138f:54)
at Object.../../../../../src/main.ts (environment.ts:3)
at webpack_require (bootstrap e48bca6c55378bbd138f:54)
at Object.0 (main.ts:11)
at webpack_require (bootstrap e48bca6c55378bbd138f:54)
at webpackJsonpCallback (bootstrap e48bca6c55378bbd138f:25)
at main.bundle.js:1

Thank you in advance

I experience same problem in our application as well but only in the case I turn on In Chrome the Throttling to Slow 3G.

Also having the same issue :|
Not sure what's actually causing it.

@filipesilva
The error is triggered by registering a callback on $transitions without defining the first parameter.
Example That Causes Error:
$transitions.onStart(() => {/* do stuff */});

Example That Does Not Cause Error
$transitions.onStart("*", () => {/* do stuff */});

still having this problem with ng build --aot --prod --build-optimizer please angular cli team solve this issue I really need to run my project :(

@Brocco can you investigate the repros provided?

Any news?
ng serve working fine but ng build and ng build  --prod --env=prod is giving me that error.
Keeps me from publishing my application.
"dependencies": {
"@agm/core": "1.0.0-beta.0",
"@amcharts/amcharts3-angular": "1.4.0",
"@angular/animations": "^4.4.0-RC.0",
"@angular/cdk": "^2.0.0-beta.10",
"@angular/compiler": "4.2.6",
"@angular/core": "4.2.6",
"@angular/forms": "4.2.6",
"@angular/http": "4.2.6",
"@angular/material": "^2.0.0-beta.10",
"@angular/platform-browser": "^4.4.0-RC.0",
"@angular/platform-browser-dynamic": "4.2.6",
"@angular/router": "4.2.6",
"@ngx-translate/core": "^7.2.2",
"@ngx-translate/http-loader": "^1.0.2",
"@swimlane/ngx-charts": "^6.0.2",
"@swimlane/ngx-datatable": "9.3.0",
"@types/leaflet": "1.0.63",
"amcharts3": "3.21.2",
"angular-calendar": "0.17.4",
"axios": "^0.16.2",
"bootstrap-sass": "^3.3.7",
"chart.js": "2.6.0",
"core-js": "2.4.1",
"cross-env": "^5.0.1",
"d3": "^4.9.1",
"hammerjs": "2.0.8",
"jquery": "^3.1.1",
"laravel-mix": "^1.0",
"leaflet": "1.0.3",
"lodash": "^4.17.4",
"ng-build": "^0.1.12",
"ng-factory": "^1.1.0",
"ng2-charts": "1.6.0",
"ng2-validation": "4.2.0",
"rxjs": "5.4.2",
"squeezebox": "1.1.12",
"vue": "^2.1.10",
"zone.js": "0.8.12"
},
"devDependencies": {
"@angular/cli": "1.4.1",
"@angular/common": "^4.3.6",
"@angular/compiler-cli": "4.2.6",
"@angular/language-service": "4.2.6",
"@types/jasmine": "2.5.52",
"@types/jasminewd2": "^2.0.3",
"@types/node": "8.0.1",
"axios": "^0.16.2",
"bootstrap-sass": "^3.3.7",
"codelyzer": "3.1.1",
"cross-env": "^5.0.1",
"jasmine-core": "2.6.4",
"jasmine-spec-reporter": "4.1.1",
"jquery": "^3.1.1",
"karma": "1.7.0",
"karma-chrome-launcher": "2.1.1",
"karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "1.3.0",
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"laravel-mix": "^1.0",
"lodash": "^4.17.4",
"protractor": "5.1.2",
"ts-node": "3.1.0",
"tslint": "5.4.3",
"typescript": "2.3.4",
"uglify-js": "^2.8.29",
"undertaker-app-tasks": "^0.5.2",
"vue": "^2.1.10"
}

Hey guys, i just fixed it for me 👍
My problem was, that i included the *.bundle.js files in the wrong order.
I loaded them dynamically via PHP (because of the different hashes generated in the prod version) and included them in my blade.php file (alphabetically by default)
@foreach($jsBundles as $bundle)     <script type="text/javascript" src="/_app/{{ $bundle }}"></script> @endforeach
I was wondering why ng serve worked but ng prod not so i included them in this order
`

`
And now it is working again. Maybe it will help one or another

MazzMazz, thank you for your input.
Unfortunately, it didn't worked for me.
Angular CLI team, please, try to provide us with a solution. It is become so crucial for my project!
There is another thread here (Uncaught TypeError: Cannot read property ‘call’ of undefined in Chrome #1847) with the same problem.
Maybe this link will give some hint? http://gonodejs.com/2017/01/24/node-js-angularjs2-cannot-read-property-call-of-undefined-when-bootstrapping/
Thank you in advance

@MazzMazz
thanks for pointing me to the right direction!

After restoring the strict order in the index.html generated by the CLI everything is fine again :-)

I'm still getting a similar error running

CLI 1.5.0-beta.2
TS 2.5.3
rxjs 5.4.2:

Running
ng build --prod --build-optimizer
Builds successfully but then at run time when lazy loading a module it shoots out the following error:
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'call' of undefined
TypeError: Cannot read property 'call' of undefined
    at __webpack_require__ (index.js:35)
    at Object../node_modules/rxjs/Subscriber.js (index.js:34027)
    at __webpack_require__ (index.js:35)

Has there been any development in this issue?

Hi all, I'm trying to figure out what's happening here but I'm getting a lot of conflicting reports/repros. Some people mention build optimizer but some also don't, some say it only happens on deploy others say it's also serve.
The root cause of this problem seems to be related to script loads.
So for @mariannafld, @rokerkony and @MazzMazz's report it sounds like it's related to how you deploy: you might be serving some scripts out of order and then some modules are not available.
@DanialV and @RicardoVaranda mention --build-optimizer specifically, and that might mean it's malfunctioning and removing some modules that are needed.
But I must reiterate: I need a repro to investigate. If you are experiencing this please setup a simple repro from a new project, make the least changes possible for me to see it, upload it to github, and let me know what steps to follow.

@RicardoVaranda has provided a reproduction in https://github.com/RicardoVaranda/BuildOptimizerBug. Will investigate.

After setting script.async = false; I'm still getting the below error while deploying the application.
Uncaught TypeError: Cannot read property 'call' of undefined
at webpack_require (bootstrap b67e0d5dd7bab816096c:54)
at Object.../../../../../src/main.ts (ui.component.ts:10)
at webpack_require (bootstrap b67e0d5dd7bab816096c:54)
at Object.0 (.*$:105)
at webpack_require (bootstrap b67e0d5dd7bab816096c:54)
at webpackJsonpCallback (bootstrap b67e0d5dd7bab816096c:25)
at main.bundle.js:1
Has there any solution been identified for this issue

This definitely isn't a fix by any means but clearing the cache in chrome fixes it temporarily for our team. The problem still comes up every now and again but it at least fixes it for a while so we can keep working.

For people having the Runtime TypeError ("Cannot read property 'call' of undefined") error when using --build-optimizer, there is a fix in https://github.com/angular/devkit/pull/201. This fix should be released in<EMAIL_ADDRESS>This bug affected libraries packages with webpack. The problem was that build optimizer added require() calls to tslib, that failed lookup since since the library had its own custom __webpack_require__ function (with its own list of modules).
For users that get the Runtime TypeError ("Cannot read property 'call' of undefined") error when NOT using --build-optimizer, please provide a minimal repro.
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
So far the cases I've seen seem related to the way code is being deployed. If you are using a custom index.html and include script tags out of order from dist/index.html, you will get this error. Make sure to use the same order.
This error generally means that Webpack was not able to find a module the application needs. If you include scripts out of order, you might not have all the packages you need loaded at the right time.

An update to  bootstrap version to 1.9.3 has resolved the issue in our team. And was required to do browser refresh continuously initially to get it work.
Package.json was updated with the below version for ngx-bootstrap
"ngx-bootstrap": "^1.9.3"

Can someone explain a fix as 'dumbed down' as possible?
Im not loading my scripts in a weird way just got a normal app ive got angualr material on and im getting this ever, how do i apply this 'fix'?

Made a post on stackoverflow outlining the problem and the current solution, If I should add more information/am missing anything there please @ me here with what I should update
@filipesilva is my post relevant/suitable?
https://stackoverflow.com/questions/46720805/cannot-read-property-call-of-undefined-angular-2-build-error-potential-solu/46720806?noredirect=1#comment80388366_46720806

@filipesilva,
The simple application to test deployment problem is uploaded to github.

Navigate to .
For deployment following command is used:
ng build --env=prod --output-hashing none

@kenji-1996 the fix for people having this problem with build optimizer is to reinstall node_modules, which should pick up<EMAIL_ADDRESS>automatically. You can check which version you have with npm ls @angular-devkit/build-optimizer.
@mariannafld in your repro project I tried running ng build --env=prod --output-hashing none and opening http://localhost:4200/ in my browser. I did not see any error. If I had to bet you're running into cache problems on your deployment, but that's not something we can help you with here.

@filipesilva updated my stackoverflow post to include the new information you gave me, Thanks!
https://stackoverflow.com/questions/46720805/cannot-read-property-call-of-undefined-angular-2-build-error-potential-solu/46720806#46720806

I'm getting a similar runtime error
polyfills.bundle.js:formatted:3431 Uncaught TypeError: Cannot read property 'type' of undefined
Running cli 1.4.0

I'm getting this error while running the starter

steps:

update to ionic@latest
ionic start appName super
ionic serve

repo: https://github.com/bookofdom/ionic-issue

test

ionic
cached serviceworker.js  caused the problem for me.
had it enabled initially.
then commented it out.
but it was still cached in browser.
cleared cache and works fine now.

@richardsengers Thanks it worked. I had zone.js 0.8.14 and downgrading it to 0.8.12 fixed the issue

I had a similar issue with this but just running a fresh npm install fixed the problem, so not sure what particular mismatch it was in terms of dependencies.
Like having fun with the GAC all over again!

This issue also still persists with webpack v3.8.1, node v8.9.1 and angular v5.0.3. Downgrading zone.js to v0.8.12 does not work.

Had the same error.   Solved.  I have my own "index.html" for integration purpose in rails. There I mixed up the sequence of javascript-file loading.

if you turn main.bundle.js and vendor.bundle.js this error happens.

`
<base href="/">
<app-root>Lade Vordialog...</app-root>
<![if !IE]>
<script type="text/javascript" src="apollo/ang/inline.bundle.js"></script>
<script type="text/javascript" src="apollo/ang/styles.bundle.js"></script>
<script type="text/javascript" src="apollo/ang/vendor.bundle.js"></script>
<script type="text/javascript" src="apollo/ang/main.bundle.js"></script>
<![endif]>

<![if IE]>
<script type="text/javascript" src="ang/inline.bundle.js"></script>
<script type="text/javascript" src="ang/styles.bundle.js"></script>
<script type="text/javascript" src="ang/vendor.bundle.js"></script>
<script type="text/javascript" src="ang/main.bundle.js"></script>
<![endif]>
`

@erhard Cool guy ! l have set __Zone_enable_cross_context_check = true to solve some issues under IE and forgot to add <!if IE> annotation so that chrome doesn't work fine. You made me realize that. [BUG] IE11 -> Can't execute code from a freed script

Using latest Angular CLI 5. I inexplicably started getting this error in IE during development, though Chrome was fine. I reverted all my changes since before the error began, error was still there. I restarted 'ng serve' but the error was still there.  I closed the browser window and opened another and it went away. Weird.

I was hitting this same problem with prod builds. Workaround was to add --sourcemaps to the ng build command line. Without this parameter I keep hitting the problem

none of the proposed solutions seem to work, I tried the following without success:

upgrading angular-cli to 1.6.6 (also tried latest 1.7.2)
downgrading zone to 0.8.12
adding --output-hasing none or --common-chunk none to ng build
clearing browser cache

anyone find any solution :)

try ng upgrade if none of the above works for you

Simply add the scripts in below mentioned order and it will work 👍

Happy Coding !!!
Thanks,
Ravin

still getting this error...
my zone.js version is 0.8.18 so i don't think it still has the bug in version 0.8.13
and the order of scripts in my index.html is exactly as recommened: main.bundle.js goes after vendor.bundle.js

I my case order was the issue. Mine zone.js version is 0.8.19. The issue is still reproducible if I change the scripts order.

I see this issue in my project when using ng serve --aot on rebuilds.

Same, my lazy-loaded modules are throwing this error on rebuilds using ng serve --aot. If I terminate the process and build from scratch it's not an issue.

 Everything they touch, even their professional services for which I have subscribed are loaded with bugs. They are always running AFTER new tech and features but for what reason? Bad design  choices, bad community handling. Ionic is using their community to fix bugs and thats it, they pushing the nerve of their peer members to the limits to find out if someone will do the fixing for them. Rolling out Ionic4....already? Make one release stable for god sake. Ionic team please do less so we can both achieve more.

I am getting the same error when using ng build --watch on aot and enabled sourcemaps.

We have the same error as @AndrewEckart, everything serves fine, but on rebuild, the error is thrown

Same Issue, fixes when rebuild application, problem occurs when for example move a module to another folder.

The solution for me was rather simple.    Clear cache and hard reload.     This seems to happen when I add a new page or service and don't restart the dev server.

Hey guys, i just fixed it for me
My problem was, that i included the *.bundle.js files in the wrong order.
I loaded them dynamically via PHP (because of the different hashes generated in the prod version) and included them in my blade.php file (alphabetically by default)
@foreach($jsBundles as $bundle)

@Endforeach
I was wondering why ng serve worked but ng prod not so i included them in this order
inline.bundle.js
polyfills.bundle.js
scripts.bundle.js
vendor.bundle.js
main.bundle.js
And now it is working again. Maybe it will help one or another

Was this for entry field there should follow this order.
SomeWhere else.

I did have a webpack version 4.8.3.
I changed my webpack.config.js to export a function instead of an object and then I ran the command
npm install webpack@latest
The webpack version 4.33.0 (after I did npm install webpack@latest -> 4.33.0) seems to have the fix for this.
Boom my issue was resolved.
The one thing I dont understand is that the I havent changed any configuration nor I have changed any code since 60days prior to todays date(june 4th). This version of webpack seems to have some issue that did not come up when I first started using it.


tdx-tools repo is gone

The deployment guide for Intel TDX + H100 mentions that we need the tdx-tools repo which was removed by Intel (I don't know where did it move). I think a fix seems necessary.

If you are looking at TDX tree to build guest here are some options

https://github.com/canonical/tdx
https://sigs.centos.org/virt/tdx/

Those above will not support PCIe passthrough. We are aware of the respository being removed and have already created a new documentation guide which is undergoing a review now, and should be published within a week.

Hi Rob, when you say PCIe passthrough, do you mean giving the entire device to CVM?

Those above will not support PCIe passthrough. We are aware of the respository being removed and have already created a new documentation guide which is undergoing a review now, and should be published within a week.

checking to see if it has been published


Replace Unit with Any in method signatures

This PR resolves #381.

@mijicd Overall, this looks great! However, we decided in that ticket to use wildcards _ instead of Any, to better communicate the intent in the API. Should be a minor tweak, though.

@jdegoes done. However, I couldn't overcome all Any occurrences, i.e. the IO.unit used in folds as empty case are still ascribed as IO[Nothing, Any].

@jdegoes it has been resolved by replacing fold with map + getOrElse.

On Dec 3, 2018, at 7:13 PM, John A. De Goes<EMAIL_ADDRESS>wrote:
@jdegoes commented on this pull request.
In core/shared/src/main/scala/scalaz/zio/Promise.scala:

@@ -183,7 +183,7 @@ object Promise {
case (p, io) => io.flatMap(c => pRef.set(Some((c, p))) *> IO.now(p))
}.uninterruptibly
b <- p.get

     } yield b).ensuring(pRef.get.flatMap(_.fold(IO.unit)(t => release(t._1, t._2))))

     } yield b).ensuring(pRef.get.flatMap(_.fold(IO.unit: IO[Nothing, Any])(t => release(t._1, t._2))))

Does this happen with IO[Nothing, Any] too, or just IO[Nothing, _]?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mijicd This helps us but doesn't help the users of the library. Can you see if Any has any advantage here over wildcards for type inference?

@jdegoes not sure that I understand. From the point of view of problematic usages (i.e. Option.fold), both approaches suffer from type inference issues. Replacing fold with map + getOrElse removes the need for adding explicit (and perhaps too broad) type annotations. Reading through the #381 discussion lead me to conclusion that using wildcards is the preferable approach, with the risk of being removed in 3.2.

From the point of view of problematic usages (i.e. Option.fold), both approaches suffer from type inference issues.

All right. This is what I was interested in. I am not sure why Scala can't unify them to IO[Nothing, Any].


hugolib: Support sub-sections in permalink settings

This enables both the variants below:
Current (first level only):
"blog": ":section/:title",

Nested (all levels):
"blog": ":sections/:title",

Should ideally been part of Hugo 0.22, but better late than never ...
Fixes #3580

@moorereason @digitalcraftsman thinking about it, we should probably just bake this into the single "section" setting. Not sure who would want both? Maybe.

but I like the distinction between section and sections.

Me too, thinking about it. There could easily be use cases where one wanted a tree, but with a flat URL structure, and this does match with how we use .Section.


Modify external function interface to pass ADF object

Currently in the ADF a set of specific variables is passed to each external script.  However, this makes certain parts of the internal ADF code quite complex, and makes the python ADF/script interface overly rigid and potentially difficult to work with.
To alleviate this, it might be better to pass either the main ADF object itself, or another script-specific object, into each external script.  This would make the ADF/script interface simple and common to essentially all scripts, give the scripts access to every variable that the ADF holds (that isn't private), and would make the ADF lib code itself a lot cleaner.  The downside is that a script developer would need to learn how to use this object, but with good documentation that learning effort will  hopefully be minimal.
For the discussion that helped initiate this issue, please see:  https://github.com/NCAR/ADF/discussions/65

Thanks @nusbaume . I support this idea, but want to make sure the object is easy to use by the developers. So maybe we need an example of how it might be used by a plotting routine. It doesn't have to be implemented to do this, but how would I write a simple plot routine to use the data? Maybe a short session for those interested would be useful. I'm happy to help.


[Ordem Paranormal] Bugfix - Adding missing class to Sanidade

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: Ordem Paranormal

The publisher of this game is: Jâmbo

The name of this game system/family is: Ordem Paranormal

[X] I have followed the Character Sheets Standards when building this sheet.

[X] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Adding a missing class to the Sanidade points container

Character Sheet Info Roll20 Internal Use only.


sys: mkdirAs: do chown if dir already exists

Fix buildkitd --group GROUP issue when /run/buildkit already exists
and is owned by the root.
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

AppVeyor failure is unrelated

Travis failures (CRIU) are also unrelated

GLTM


Fix Issue 397

Fixing #397

Thanks for the PR.  Sorry for the delay.  Would you mind throwing an empty imgData declaration in the block above?  Perhaps on line 974?  After the move, it isn't being declared.  After that this PR looks great.  Thanks.  For future reference.  There's no need to minify and update the version.  Since there's usually multiple PR's per release, this causes more conflicts than it helps.

Ok, sorry for the changed version and min.js. I needed it for a local deploy.
I reverted these changes and added imgData = null to the declaration block.

Not your fault.  I put it in the README, but that was more for my own purposes.  I can see why that'd be confusing.
Thanks for the PR, I'd like to pull it down and check a few things, but I don't see any reason why this shouldn't be in the next version.

Great, thank you.
It was helpful in the README, so we already could use a fixed version locally.


feat(runtime): support cuda/cudnn field in runtime.yaml

Description

related: https://github.com/star-whale/starwhale/issues/747
dependency pr: https://github.com/star-whale/starwhale/pull/862

Modules

[x] Client

Checklist

[x] run code format and lint check
[ ] add unit test
[ ] add necessary doc

LGTM


Validator ignores Collection kind of arrays

Laravel Version: 5.6.26
PHP Version: 7.1
Database Driver & Version: n/a

Description:
Not sure if this is a bug but I burned myself on this:
$data = collect([['a' => 'b'], ['a' => 'c']]);
$validator = Validator::make(['v' => $data->pluck('a')], ['v.*' => 'lets-skip-this']);
dd($validator->passes()); // true

Obviously when I use $data->pluck('a')->toArray() validator squawks that rule does not exist (which is correct), but it took me some time to realize that validator ignores collection kind of arrays - and I have to pass pure arrays to it.

Feel free to submit a PR to the docs to help make it more obvious


Add language: Robot Framework

Hello, I'd like to help contribute and add the Robot Framework language. Should I start by creating a monorepo for RobotFramework cheats? I think Robot Framework could be added using the Prefix rf/ since robotframework/ is too long. Additionally, there are 6,000+ questions in StackOverflow with the tag [robotframework]. I did read the README and CONTRIBUTING file, I am just wondering what the current preference is on how to contribute since I read this quote:

Instead of creating yet another mediocre cheat sheet repository, we are concentrating our efforts on creation of a unified mechanism to access selected existing well developed and good maintained cheat sheet repositories covering topics of our interest: programming and operating systems usage.

So I checked one of the existing sources Learn X in Y Minutes and it does not have Robot Framework yet. Do you want me to contribute to their repository first?

Upon further investigation, it looks like Learn X in Y Minutes is an abandoned repository. Only two active contributors in the past year (very few merged PRs). Also has issues with PR spam according to the author here. I believe contributing to their repository would be worthless. So that leaves me with the option to create my own repository for Robot Framework cheats, if you agree with that idea.

@kalyncoose if you will volunteer to review at least one PR weekly, maybe guys won't mind adding you as a maintainer.

Now, if Hacktoberfest could incentivize people to review and manage PRs it would be a different story!

@abitrolly I think you misunderstood me, I don't want to become a maintainer - just a contributor. What do you want me to do?

@kalyncoose understood. I just proposed an option to avoid maintaining your own repository.

@abitrolly Thanks. I'll figure it out sometime.


NSD returns 3 NSEC3 records for NODATA response

While debugging queries for ira.go.ug/DS, I have noticed that NSD returns 3 NSEC3 records in the authority section. I don't believe the extra NSEC3 record causes any harm. However, operationally, it has a consequence, which is a bigger response, compared to say BIND or Knot DNS. If an NSD server limits the UDP buffer size to 1232 (as is the recommendation these days), it causes truncation, and the client tries again over TCP. Compare the following responses:
NSD with 4096-byte buffer size:

; <<>> DiG 9.16.20 <<>> +norec +dnssec ira.go.ug ds @ns.icann.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14066
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 8, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;ira.go.ug.			IN	DS

;; AUTHORITY SECTION:
ug.			14400	IN	SOA	root.eahd.or.ug. servers.i3c.co.ug.<PHONE_NUMBER> 86400 3600 2592000 14400
ug.			14400	IN	RRSIG	SOA 8 1 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
8r4475uh5oosjqhv6dhdmccf6mllupgv.ug. 14400 IN NSEC3 1 1 10 799D670A 90U6TO1ODSNCOIFUT34IFNPP1IECC15L NS SOA RRSIG DNSKEY NSEC3PARAM
8r4475uh5oosjqhv6dhdmccf6mllupgv.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
dpk1ca38i2bp09sfh57ishifd8ebi04s.ug. 14400 IN NSEC3 1 1 10 799D670A IA8GCNUUS76RKVEMFSB6O4KQ09S1I5CS NS DS RRSIG
dpk1ca38i2bp09sfh57ishifd8ebi04s.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
qk9e3k4slop401t887vvsnna8lq2fjbs.ug. 14400 IN NSEC3 1 1 10 799D670A SS5UP489HPGNTUTRSH295N0AGS13GJ08 NS DS RRSIG
qk9e3k4slop401t887vvsnna8lq2fjbs.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]

NSD with 1232-byte buffer:

;; Truncated, retrying in TCP mode.

; <<>> DiG 9.16.20 <<>> +norec +dnssec +nsid ira.go.ug ds @ns-ug.afrinic.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64509
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 8, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; NSID: 73 30 34 2d 6e 73 32 2e 6a 6e 62 ("s04-ns2.jnb")
;; QUESTION SECTION:
;ira.go.ug.			IN	DS

;; AUTHORITY SECTION:
ug.			14400	IN	SOA	root.eahd.or.ug. servers.i3c.co.ug.<PHONE_NUMBER> 86400 3600 2592000 14400
ug.			14400	IN	RRSIG	SOA 8 1 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
8r4475uh5oosjqhv6dhdmccf6mllupgv.ug. 14400 IN NSEC3 1 1 10 799D670A 90U6TO1ODSNCOIFUT34IFNPP1IECC15L NS SOA RRSIG DNSKEY NSEC3PARAM
8r4475uh5oosjqhv6dhdmccf6mllupgv.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
dpk1ca38i2bp09sfh57ishifd8ebi04s.ug. 14400 IN NSEC3 1 1 10 799D670A IA8GCNUUS76RKVEMFSB6O4KQ09S1I5CS NS DS RRSIG
dpk1ca38i2bp09sfh57ishifd8ebi04s.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
qk9e3k4slop401t887vvsnna8lq2fjbs.ug. 14400 IN NSEC3 1 1 10 799D670A SS5UP489HPGNTUTRSH295N0AGS13GJ08 NS DS RRSIG
qk9e3k4slop401t887vvsnna8lq2fjbs.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]

And a BIND server:

; <<>> DiG 9.16.20 <<>> +norec +dnssec +nsid ira.go.ug ds @root.eahd.or.ug
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10510
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;ira.go.ug.			IN	DS

;; AUTHORITY SECTION:
8R4475UH5OOSJQHV6DHDMCCF6MLLUPGV.ug. 14400 IN NSEC3 1 1 10 799D670A 90U6TO1ODSNCOIFUT34IFNPP1IECC15L NS SOA RRSIG DNSKEY NSEC3PARAM
8R4475UH5OOSJQHV6DHDMCCF6MLLUPGV.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
ug.			14400	IN	SOA	root.eahd.or.ug. servers.i3c.co.ug.<PHONE_NUMBER> 86400 3600 2592000 14400
ug.			14400	IN	RRSIG	SOA 8 1 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]
DPK1CA38I2BP09SFH57ISHIFD8EBI04S.ug. 14400 IN NSEC3 1 1 10 799D670A IA8GCNUUS76RKVEMFSB6O4KQ09S1I5CS NS DS RRSIG
DPK1CA38I2BP09SFH57ISHIFD8EBI04S.ug. 14400 IN RRSIG NSEC3 8 2 14400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 63693 ug. [omitted]

It seems like NSD is emitting these three NSEC3 records, the closest encloser hash(ug)=8r4... and the qname denial the hash(ira.go.ug) is sks8feam03k55b2mg7jg22jiacq57pbs and the qk9... record denies it. The dpk... record denies the next-closer, it is hash(go.ug) is f8shj4rsfkis1fn5930m5otqn8dpv8i3.
To create the proof, the closest encloser and next encloser records must be present to provide the closestencloser part of the proof. This is necessary because it must be signed with optout. It would also be needed for like unsigned-referrals.
The go.ug is an empty nonterminal. These have been the cause of interop issues, with signers producing different nsec3 records, and other issues.
So the response from NSD now, includes also the qname denial nsec3, that the others do not include. It would not be needed for a delegation, but since it is a nodata answer this is not a delegation. Perhaps we should fix it, but I also do not want other interop issues. Although if the other servers serve it maybe so can we.

After looking at it I think that NSD adds the third NSEC3 record because it is required. That is the record that has the optout bit that is pertinent for this span of domain names. So, this record proves if the destination is covered by an optout NSEC3 span or not. Now, NSD adds it without checking if optout is in use. In the given zone optout is enabled for the output you have.
So there is unique information in that NSEC3 that is not actually present in the other ones. The other NSEC3 records also have an optout flag, but this may apply to a different span of domain names.
I think this is the reason that the third NSEC3 record is present. It is a surprisingly good reason.
The other code works in practice, I presume, that you cite, thus it may be that the information is not used in any way.


Changes found in test run

I tried it on an Ubuntu 20.04 server and php7.2 wasn't available there as an apache module so I used php7.4


GUI representation of fancy zones should not be called Window1

GUI representation of zones should not be called Window1  but something like fancyzone layout example

@07pepa nice catch!
Thanks you.


Passcode trigger inside App

Android
If you have a passcode enabled and click offscreen while viewing a file, you will be forced to re-enter the passcode w/o ever having left the app.
Reproduce

Have a passcode enabled.
Navigate to the Hive.
Select a file for action.
Instead of choosing to open the file, click back to the Hive.
You will be required to enter your passcode.

This has always been true.
On android, viewing a file is leaving the app as it uses another app to
view it.
That is why in the passcode settings you can set it to only require a
passcode after a certain timeout.
On Fri., 11 Nov. 2016 at 06:08, soqa<EMAIL_ADDRESS>wrote:

Android
If you have a passcode enabled and click offscreen while viewing a file,
you will be forced to re-enter the passcode w/o ever having left the app.
Reproduce

Have a passcode enabled.
Navigate to the Hive.
Select a file for action.
Instead of choosing to open the file, click back to the Hive.
You will be required to enter your passcode.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SpiderOak/SpiderOakMobileClient/issues/735, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAh39-OB0vU8Mmp-jYkM_4alWvKbhACLks5q82tlgaJpZM4KvBVo
.

I had a feeling this was the case, I just thought I would mention it since I haven't tested this guy in a long while. :)

Tommy: even if we haven't actually completed the action of viewing the file yet?

Not sure.
It might be that something has changed in terms of when Cordova or Android itself decides the app has gone “into the background”…
Certainly fixing this would be a thing unto itself outside the scope of this work… but maybe a simple short timeout (20-30 seconds?) could be added as a default? That would be pretty easy, probably...

On 11 Nov. 2016, at 7:26 am, reneelynn<EMAIL_ADDRESS>wrote:
Tommy: even if we haven't actually completed the action of viewing the file yet?
https://cloud.githubusercontent.com/assets/3867179/20192956/a1fb48a2-a751-11e6-9d5f-5e01355cebfc.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/SpiderOak/SpiderOakMobileClient/issues/735#issuecomment-259798029, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh391XAI9RLYIeY8qbwTlEhzw2u7rHrks5q833pgaJpZM4KvBVo.

I'm ok with it being outside the scope, I just wanted to make sure we were all on the same page on whether it was expected behavior or not.


View inset for bottom and trailing separately

Hi @jjochen ,
We are able to specify the inset with which the floating button should be placed like below.
actionButton.display(inViewController: self, viewInset: 30)

Here in above image, the inset with which button is placed is kept at 15 its from the right and 15 its from the bottom.
What if we need to place at a position of 30 pts from the right and 60 pts from the bottom. I need to have something like below.

Hey @rajtharan-g,
you can use layout constraints like with any other view.
display(inViewController:) doesn't do anything but addSubview and define some layout constrains.
See here and here.
If you want to use layout constraints you should remove display(inViewController:) and use addSubview plus whatever constraints you want instead.
In any case, it probably makes sense to improve display(inViewController:) some more. I will do it as soon as I find some time 😉


Acronym for group manages service accounts is incorrect in a section of this document

Should be GMSA, but displayed as GSMA here: GSMA uses the Microsoft Key Distribution Service that is located on Windows Server 2012 or later domain controllers. Windows uses the Microsoft Key Distribution Service to protect secrets stored and used by the GSMA. Before you can create a GSMA, you must first create a root key for the service. You can skip this if your environment already uses GSMA.

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

ID: b063e00b-84e5-9da7-2229-e0e24da3b877
Version Independent ID: da9f4867-2aa3-aefa-1603-ddb2ab1ed624
Content: Prepare and Deploy Windows Server 2016 Active Directory Federation Services (Windows Hello for Business)
Content Source: windows/security/identity-protection/hello-for-business/hello-cert-trust-adfs.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dolmont

@officedocsbot assign @jvsam

Interesting typo, seeing that the acronym GMSA (for "Group Managed Service Accounts") is written correctly both before & after that paragraph.

Hi @admingst we appreciate your feedback. The typo errors are fixed via this commit f1a4df4 added by @martyav. The changes will be displayed here at docs.microsoft.com in the next scheduled publishing run.
Thanks for being part of the Microsoft Docs Community and for helping improve the quality of the technical documentation!


Copper from drowned

Maybe not as a regular drop but a special one when being killed by some tool. More interesting to automate


Configuration of Owned Types on derived type

I have a class structure like this
`
public class FullName
{
public string FirstName { get; private set; }
public string LastName { get; private set; }
}
public abstract  class Contact
{
}
public class Person : Contact
{
public FullName Name { get; private set; }
}
`
I am trying to configure the 'Name' property of 'Person' like
builder.Entity<Person>().OwnsOne(e => e.Name);
With the expectation that this will generate columns on the Contacts table with names
Name_FirstName Name_LastName
But it produces the following exception
Cannot use table 'Contacts' for entity type 'Person.Name#FullName' since it has a relationship to a derived entity type 'Person'. Either point the relationship to the base type 'Contact' or map 'Person.Name#FullName' to a different table.

System.InvalidOperationException: Cannot use table 'Contacts' for entity type 'Person.Name#FullName' since it has a relationship to a derived entity type 'Person'. Either point the relationship to the base type 'Contact' or map 'Person.Name#FullName' to a different table.
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.IsIdentifyingPrincipal(IEntityType dependEntityType, IEntityType principalEntityType)
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.<>c__DisplayClass12_0.<ValidateSharedTableCompatibility>b__0(IEntityType unvalidatedType)
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.ValidateSharedTableCompatibility(IReadOnlyList`1 mappedTypes, String tableName)
   at Microsoft.EntityFrameworkCore.Internal.SqlServerModelValidator.ValidateSharedTableCompatibility(IReadOnlyList`1 mappedTypes, String tableName)
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.ValidateSharedTableCompatibility(IModel model)
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model)
   at Microsoft.EntityFrameworkCore.Internal.SqlServerModelValidator.Validate(IModel model)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.<>c__DisplayClass5_0.<GetModel>b__0(Object k)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel()
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
   at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__7_1(IServiceProvider p)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass22_0.<RealizeService>b__0(ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider()
   at Microsoft.EntityFrameworkCore.DbContext.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.get_Instance()
   at Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_1.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)

Is this a bug, an unsupported feature or am I not configuring this correctly?
I can't find a lot (any) documentation on Owned Types and I have looked through the unit tests but this doesn't seem to be a case that was tested. I am also not sure what the statement 'Either point the relationship to the base type 'Contact' ' means and how to do this. I have tried different approaches and the only thing I can find that works is putting the Name property on the Contact class which defeats the whole purpose.
Further technical details
EF Core version: 2.0.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 1703
IDE: Visual Studio 2017 15.2.5

Duplicate of #8973
It is not supported atm because of querying the data isn't working correctly. As the exception message say, either you can defined owned type on the base type (instead of derived type) or map it to separate table.


Class "Intervention\Image\ImageServiceProvider" not found in intervention/image 3.3

Describe the bug
I did composer require intervention/image then when I reloaded my page it brought up the ImageServiceProvider not found error

all these is happening in config/app in my laravel app. how do I resolve this
Environment :

PHP Version: 8.1
OS: Windows, Linux (Apache, Nginx)
Intervention Image Version: 3.3
GD or Imagick: GD

See #1279

Not applicable for Laravel 9.52 because it requires illuminate/support ^10.0

I also faced the same issue.
Comment intervention from your provider class and aliases.
Use it directly in your laravel app instead.
You can initialize Image Intervention with this line:
$manager = new \Intervention\Image\ImageManager(
        new \Intervention\Image\Drivers\Gd\Driver()
    );
    $image = $manager->read($imageFile);
    ```

I finally used jpegoptim instead of intervention/image and it works perfectly.

Okay then but then just in case you would be handling more than jpeg files you can always use the code I pasted to initialize


sc-transcation-pool refactor

This is part of an ongoing client refactor.

[x] Refactor all subsystems to use TransactionPool interface instead of concrete type BasicPool.
[x] Move TransactionPool interface from sp_transaction_pool to sc_transaction_pool_api
[x] Make ChainApi private as it doesn't need to be exposed to end users.
[x] collapse sc_transaction_graph into sc_transaction_pool

Hmm so the companion build keeps failing, not sure why

Am guessing that txpool_api needs to point to sc_ crate now not sp_ in rpc/Cargo.toml in polkadot

cool so this just needs on more approval so i can forget about it

bot merge


Feature/hookup color correction

Overview
This PR adds initial support for the color correction UI and bulk editing layers.
Initial support has been added to display false color composites for Landsat 8; however, to be flexible those settings likely need to be abstracted into a datasource or supported with
We will likely need to go through a few design/fixup iterations until we're satisfied with how the UI works, but this PR should at least unblock some of the other tasks we want to do for the color correction UI.
Checklist

[x] Styleguide updated, if necessary
[x] Swagger specification updated, if necessary

Demo
Editing a single scene:

Bulk correcting:

Notes

Sigmoidal correction is disabled until #761 is fixed
State isn't stored so switching between color corrections doesn't work in likely the final way we desire. Not sure if it is worth focusing on that at the moment until we have a way to store some of these parameters server side

Testing Instructions

Create a project with the Egypt scenes

Go to project editor

Test editing a single scene

Test switching color mode

Test bulk editing

On the color-correction pane, clicking "Reset" doesn't reset the sliders.

Fixed with 9b279

On the scene-selection pane, if I click the select-all button and then manually deselect some scenes, and then click the color-correct button, all of the scenes will continue to be color-corrected, including the ones that I deselected.

Fixed with 61c9e

On a fresh load of the color-correction pane, the red/blue/greenGamma variables don't seem to be getting initialized properly ...

Also fixed with 9b279
@ddohler this should be ready for review again


Refactor time series pred

Codecov Report

Merging #208 into master will decrease coverage by 0.58%.
The diff coverage is 5%.

@@            Coverage Diff            @@
##           master    #208      +/-   ##
=========================================
- Coverage   63.49%   62.9%   -0.59%
=========================================
  Files          20      20
  Lines        1219    1232      +13
=========================================
+ Hits          774     775       +1
- Misses        445     457      +12

Impacted Files
Coverage Δ

dpemu/plotting_utils.py
22.8% <5%> (-1.55%)
:arrow_down:

dpemu/utils.py
44.82% <0%> (ø)
:arrow_up:

dpemu/dataset_utils.py
60% <0%> (+6.26%)
: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 39c246e...ac94871. Read the comment docs.


Excessive rebuilding when nothing changed

Describe the bug
In the last 3 weeks (between 36051bdccf6a68e1cceead66e59869114d1088ba and the current main branch) something changed that causes cargo to do partial rebuild when it is not really necessary. This is especially noticeable in VSCode on slow machines or while working with containers and trying to execute something on command line.
Steps to reproduce (if applicable)
Steps to reproduce the behavior:

Run the following 3 commands:

cargo clean
cargo build --features=postgres
cargo run --features=postgres -- run --service searcher --service metastore --config ../config/quickwit.yaml

Expected behavior
3 weeks ago the run command started the service immediately. Now it goes through a partial rebuild process that takes minutes on some machine.

It might somehow be a compiler regression. I've bisected it to #3244, and the problematic part seems to be going from rust 1.68 to 1.69. On 9c4368008b12fcdf2688006b049a48bbcdb69dc5 (main right now), I don't have the issue if I force compiling with 1.68

That's unfortunate. I suspected it might be the case, but was hoping it's just some easy to fix bug in a build script.

@guilload suggested running rustup override set 1.68.0 as a work-around. It worked for me.

I think we might be also affected by https://github.com/bytecodealliance/rustix/issues/562
I see this all the time while running tests in VSCode on both 1.68 and 1.69
 *  Executing task: cargo test --package quickwit-indexing --lib --all-features -- actors::indexing_service::tests --nocapture

warning: /home/igor/Projects/quickwit-oss/quickwit/quickwit/Cargo.toml: unused manifest key: workspace.rust-version
    Blocking waiting for file lock on build directory
   Compiling rustix v0.36.13
   Compiling procfs v0.14.2
   Compiling prometheus v0.13.3
   Compiling quickwit-common v0.6.0 (/home/igor/Projects/quickwit-oss/quickwit/quickwit/quickwit-common)

Could you try adding --verbose? With this flag, cargo adds "Dirty" messages which indicate what prompted it to perform rebuilds.

@sunfishcode with --verbose I get this:
       Dirty rustix v0.36.13: the dependency build_script_build was rebuilt<PHONE_NUMBER>.122302115s, 13h 21m 42s after last build at<PHONE_NUMBER>.941573652s)
   Compiling rustix v0.36.13
.. skipped ..
       Dirty procfs v0.14.2: the dependency rustix was rebuilt
   Compiling procfs v0.14.2
.. skipped ..
       Dirty prometheus v0.13.3: the dependency procfs was rebuilt
   Compiling prometheus v0.13.3
.. skipped ..
       Dirty quickwit-common v0.6.0 (/home/igor/Projects/quickwit-oss/quickwit/quickwit/quickwit-common): the dependency prometheus was rebuilt

That in turn triggers rebuild of the rest of quickwit codebase that depends on quickwit-common.

@sunfishcode one additional observation that might be important here. We also pull rustix v0.37.19 as part of another dependency and it doesn't have the same issue.

Thanks! Looking into it, this is likely to be due to an issue which was fixed in rustix 0.37, so I've now backported the fix to 0.36 and released it in  0.36.14.

@sunfishcode wow, that was fast! Thanks a lot, that really helps. While it doesn't solve the original issue (it seems that we have a somewhat similar problem with proc-macro2) the new version resolved many issues that I had in VS Code interactions while switching between building and running tests.

I think I figured it out. It looks like a regression in rust. Unfortunately, I cannot reproduce it using a small project with a manageable size, but I know the mechanism that is causing the issue and know how to fix it.
I suspect the issue is triggered by this change in 1.69.0 that is producing different command lines for building crates with edition = "2018" depending on how you build it. We have quite a few of these in our dependency tree, but it all starts with unicode_ident. When it is built using cargo build command it is compiled like this
Running `CARGO=/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=unicode_ident CARGO_MANIFEST_DIR=/home/igor/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.8 CARGO_PKG_AUTHORS='David Tolnay<EMAIL_ADDRESS>CARGO_PKG_DESCRIPTION='Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='(MIT OR Apache-2.0) AND Unicode-DFS-2016' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=unicode-ident CARGO_PKG_REPOSITORY='https://github.com/dtolnay/unicode-ident' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.8 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps:/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/lib:/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/lib' rustc --crate-name unicode_ident --edition=2018 /home/igor/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=181 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=0 -C metadata=ae9e877358182a13 -C extra-filename=-ae9e877358182a13 --out-dir /home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps -L dependency=/home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps --cap-lints warn`

When it is built using cargo run it is compiled like this:
Running `CARGO=/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=unicode_ident CARGO_MANIFEST_DIR=/home/igor/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.8 CARGO_PKG_AUTHORS='David Tolnay<EMAIL_ADDRESS>CARGO_PKG_DESCRIPTION='Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='(MIT OR Apache-2.0) AND Unicode-DFS-2016' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=unicode-ident CARGO_PKG_REPOSITORY='https://github.com/dtolnay/unicode-ident' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.8 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps:/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/lib:/home/igor/.rustup/toolchains/1.69-aarch64-unknown-linux-gnu/lib' rustc --crate-name unicode_ident --edition=2018 /home/igor/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=181 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C metadata=6bb1a5f23e3b8481 -C extra-filename=-6bb1a5f23e3b8481 --out-dir /home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps -L dependency=/home/igor/Projects/quickwit-oss/quickwit/quickwit/target/debug/deps --cap-lints warn`

The lines are basically identical with a very small inclusion. The first line has -C debuginfo=0 in it, which also changes fingerprint and causes all that rebuilding. The fix is actually quite silly. Replacing
[profile.dev]
debug = 0

with
[profile.dev]
debug = false

fixes the issue.

I opened rust-lang/cargo#12163

Based on the description of the issue in the previous comment, we might need to circle back to this. The workaround that I proposed is currently not working in nightly.


Fix the link to headers in Route File Naming

[x] Docs

The link to headers in the Route File Naming was pointing to https://remix.run/docs/en/v1/routes/headers when it should have been point to https://remix.run/docs/en/v1/route/headers

This is still a typo in the docs so this PR should be merged.


[Overlay] Dragging Calibration of body proportion.

I have an idea that may help to better calibrate the proportions of the body to get the Slime in 1X1 calibration
The idea is to create an app within steam that will work exclusively for calibrating the position of the trackers.
This application is made for use with SteamVR, and when you enter it asks which trackers you will use with SlimeVR.
After selecting the desired types of trackers, squares representing the trackers will appear in front of the user.
The next step now is to grab the tracker within the application and drag it to where the corresponding tracker is in the body.
After doing this with all the trackers, the program will create a code containing the skeleton configuration that can be used in the SlimeVR software.

Yes, this is something that would make sense to be in the slimevr overlay. But I have not implemented it, as its quite involved.
If you wish to work on it, by all means!


backport PR Bump upload-artifact

…ons/upload-artifact@v4 (#3893)
backport commit
https://github.com/opensearch-project/security/commit/83723432cca6e78d23e034b5149ff72d5907fde3
Testing
Testing done at local fork
Check List

[v] New functionality includes testing
[v] New functionality has been documented
[v] Commits are signed per the DCO using --signoff

The upload (&download) of artifacts is 10x faster & more reliable according to GitHub artifact v4 announcement blog
https://github.blog/2024-02-12-get-started-with-v4-of-github-actions-artifacts/

The upload (&download) of artifacts is 10x faster & more reliable according to GitHub artifact v4 announcement blog
https://github.blog/2024-02-12-get-started-with-v4-of-github-actions-artifacts/

@nicheexpress That isn't compelling unless that is the majority of time this branch spends on its workflows.  I took a look at a recent pull requests GitHub actions for comparison [1], it looks like even if it works exactly as reported we'd go from 9 seconds to .9 seconds to upload artifacts on workflows that take between 18 - 60 minutes to execute which at best a 0.75% improvement.
This does not look worth the risk of accepting a change for such a tiny improvement, what do you think?

[1] https://github.com/opensearch-project/security/actions/runs/8344192962

Interesting, I see your point. However, it's not a big improvement for the overall build time after all.
On the other hand, the change does seem trivial.
I don't want to waste any more of your time, so I'll leave the discretion to you.


Generates a PR preview

As soon as a PR is created which changes something in the "solutions", a preview of this "solution" is automatically generated as a png and made available as an artifact.

@SchettlerKoehler We have a problem in GitHub action. I think this is in regard to this PR.
setup-matix npm install failed with this error for each new PR:
npm ERR! enoent ENOENT: no such file or directory, open '/home/runner/work/architectures/architectures/package.json'

@MarvDan is already looking into it


Problem after install the package

Filament Version
v3
Plugin Version
3
PHP Version
8.1
Problem description
Hello Dears,
I have installed the plugin and followed the installation guide and everything is good but after I used the editor I got the following issue.
Uncaught TypeError: editor(...).chain(...).focus(...).toggleCodeBlock is not a function
at [Alpine] editor().chain().focus().toggleCodeBlock().run() (eval at safeAsyncFunction (http://new-bayern-web-app.test/livewire/livewire.js?id=d02a3788:1251:21), :3:57)
at livewire.js?id=d02a3788:1273:23
at tryCatch (livewire.js?id=d02a3788:1193:14)
at livewire.js?id=d02a3788:3787:7
at handler4 (livewire.js?id=d02a3788:3114:27)
at livewire.js?id=d02a3788:3179:7
at HTMLButtonElement. (livewire.js?id=d02a3788:3116:54)

Expected behavior
The expected is working normally after installation.
Steps to reproduce

Reproduction repository
No response
Relevant log output
No response

@awcodes
Can you help me?

well, you missed some steps about the styling and custom theme.
But your overriding the tools with an empty array so they aren't getting registered with the tiptap js editor. ->tools() should never be an empty array. :)

@awcodes
I have followed the documentation installations steps and I'll share a SS with you.

Finally, I have run the build command of npm.

well, you missed some steps about the styling and custom theme.
But your overriding the tools with an empty array so they aren't getting registered with the tiptap js editor. ->tools() should never be an empty array. :)

Thanks, It's working now.

Your styles are still not getting loaded correctly. That's why you're seeing the blue ring around the buttons.
Probably has to do with your tailwind.config.js not using the filament preset.

glad you got it working though. cheers.

glad you got it working though. cheers.

All appreciate for you. <3


⚠ Bofrost.at has degraded performance

In f966080, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3117 ms

Resolved: Bofrost.at performance has improved in 37a6955.


Add support for specific servers

Add support for specific servers as requested by:
https://github.com/phirecc/wgnord/issues/5
I'm doing this by taking the letters / number from "wgnord c"
and if numbers are at the end of "wgnord c" like for "wgnord c  de333"
in get_contry_code we remove the number
and in the sever selection we use only the number.
Then we check if that number exists in the hostnames.
If not we try once more whit a higher limit.
from there if can stop

if there are less results than limits (no more servers to use)
the index was found
or if there was no number in the first place it will stop on the first try
Then if there is no index we select 0 (best server).
The rest basically works the same.

Be happy for any and all ideas, to make this  better

Cool that you're working on this.
I think there may be a more elegant solution using the API itself. There is probably an endpoint for getting the info for a specific server identifier (like de333).
Back when I wrote this script I had to reverse engineer the client to figure out the API. Apparently the client is open source now: https://github.com/NordSecurity/nordvpn-linux
See https://github.com/NordSecurity/nordvpn-linux/blob/a56dc8557b1d361b4352a18efd7daaf4014d6612/core/urls.go#L97
The script currently makes a request to this API endpoint (URIdecoded):
https://$host/v1/servers/recommendations?limit=20&filters[servers.status]=online&filters[servers_technologies]=35&filters[servers_technologies][pivot][status]=online&fields[servers.id]&fields[servers.name]&fields[servers.hostname]&fields[servers.station]&fields[servers.status]&fields[servers.load]&fields[servers.created_at]&fields[servers.groups.id]&fields[servers.groups.title]&fields[servers.technologies.id]&fields[servers.technologies.metadata]&fields[servers.technologies.pivot.status]&fields[servers.specifications.identifier]&fields[servers.specifications.values.value]&fields[servers.locations.country.name]&fields[servers.locations.country.code]&fields[servers.locations.country.city.name]&fields[servers.locations.country.city.latitude]&fields[servers.locations.country.city.longitude]&coordinates[longitude]=$longitude&coordinates[latitude]=$latitude&fields[servers.ips]&filters[country_id]=$country_code

The fields[servers.hostname] parameter can probably be set to something to identify the server.
I haven't gotten around to working on this yet since I don't use the script as much myself, feel free to give it a try

Not shure if i will try to implement that, i think about it.
Tanks for the pointers i think i can make it work.
But right now i not feeling up to it.
I probably look into it tomorrow.

i tried around but but i cant get the api to give me a server based on server name or hostname (tried both).
it seems to be ignored by the api, the way i made it work is not as bad.
Mabye consider it, because there is basically no time lost and it already works.
The api seems to have some more rules and trying to find that stuff,
probably not worth the time when this is already doing the job.
But if you think this should not be in there thats fine, we leave this feature of then.
Of course someone could always implement it with the api in the future,
although not sure if that will happen, your call.

This PR adds quite a bit of complexity to script. I'll leave it open while evaluating the API approach.

Ok, now i have reduced the complexity by removing the while loop, and we just get all the servers of the selected country.
As the api sends just text it will still be very fast to get the servers of the country selected.
Also the api will still filter by country selected so not all servers of the entire world are retrieved (this was already the case, beforehand).
I can still revert if needed of couse but the complexity added is rather minimal now.
Tell me what you think.
You can of course also go for pull request 10 instead of this.
I personally think its a bit more dynamic if we grab the currently active servers.
I mean what if a server shuts down, in that case this will still work but i think
10 grabs the update of the severs once in a while, this live version i think is a bit nicer.
Well still just my thoughts, your call.

I think I prefer this to my PR now.
Could you remove the bashisms (check with shellcheck) and the comments?

I hope this is what you had in mind.

my mistake i misread shellcheck as spellcheck.
But i also just checked with shellcheck.
There was nothing printed for my lines,
so they are good according to shellcheck.

Looks good now. shellcheck would've detected those bashisms (double-bracket conditionals) for you. It's a useful tool.


Consider using pytest-mypy-plugins

Hi! Thanks for this awesome project!
I am TypedDjango team member, we maintain types for, well, django. And we do pretty much the same job.
For example, we also test our types the similar way as you do in tests/. We even created a tool called pytest-mypy-plugins (announcing post) to help us with this task. Maybe it will be also helpful to you as well.
That's how the simplest test looks like:
- case: compose_two_wrong_functions
  main: |
    from returns.functions import compose

    def first(num: int) -> float:
        return float(num)

    def second(num: float) -> str:
        return str(num)

    reveal_type(compose(first, second)(1))  # N: builtins.str*

In case you like - I can send a PR with the refactored tests. Or we can collaborate on this together.
Ask any questions you have!
P.S. This project was listed in awesome-python-stubs list.

I like the idea of trying this. I will however not have time to rewrite the tests myself, so would be great if you can do this.
(You will need to sign the CLA, see README.)


Loading bar for img?

Hi, is there a way to display the loading bar when an <img ...> is loading?.

Not unless you're requesting the image through an XHR request.


Mentions working only once

Hello, my friend. Thanks for your lib, it is very usefull, but when i tyiping text and use mention, I cant see the list of mentions when I write @ for second time

Hi @sfucko, I am unable to reproduce the error. Would you mind telling me the detailed steps you have taken to achieve the error?
In the meantime, I am in the process of reverting majority of my libraries to Kotlin, this library is one of them. It shouldn't be a problem if you're using Java, but I thought you should know.

Hi there, I encountered this issue too.
If you'll mention someone at the beginning of the sentence (AutoCompleteTextView is empty) and then immediately mention someone else it won't show you suggestions.

Hello, here is screenshot where first mention isn't at the begining but
second isnt working
10 июля 2017 г. 8:17 пользователь "CripyIce"<EMAIL_ADDRESS>написал:

Hi there, I encountered this issue too.
If you'll mention someone at the beginning of the sentence
(AutoCompleteTextView is empty) and then immediately mention someone else
it won't show you suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HendraAnggrian/socialview/issues/12#issuecomment-314008024,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANB5GwSRp_F19cDiKLn0W0zZS6B7DhW8ks5sMbPhgaJpZM4OSCK1
.

10 июля 2017 г. 12:36 пользователь "Владимир Подлипняк" <
<EMAIL_ADDRESS>написал:

Hello, here is screenshot where first mention isn't at the begining but
second isnt working
10 июля 2017 г. 8:17 пользователь "CripyIce"<EMAIL_ADDRESS>написал:

Hi there, I encountered this issue too.
If you'll mention someone at the beginning of the sentence
(AutoCompleteTextView is empty) and then immediately mention someone else
it won't show you suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HendraAnggrian/socialview/issues/12#issuecomment-314008024,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANB5GwSRp_F19cDiKLn0W0zZS6B7DhW8ks5sMbPhgaJpZM4OSCK1
.

@CripyIce @sfucko okay I can see the problem and version 0.15.0 should fix this issue. It is also the first version fully written in Kotlin. There's also example app in java, equivalent to that in Kotlin.
Now naturally, this thing requires more testing now. I really appreciate you guys helping and let me know if I can be any of help.


Add pagination. Missing people are getting many.

It becomes cumbersome for someone to go back to the top if they are using a smaller device.

if we have to do pagination, consider:

sorting the list in newest to oldest, so that the newest entries come first.
consider cutting into 12 per page, at 100% zoom, the site is designed to display 3 cards.

@wkambale don't we need to display one card per row instead of two on smaller devices?
Seeing details on two or three cards on the same row seems hard.

from your screenshot, the two look okay to me. I think it would become hard on 3.

@iluyimbazi the screenshot in this instance is stretched. But on my small phone, everything is small.
Kindly try it on your phone.

I am not disagreeing with you, it is totally a screen size issue here. Could you be able to tell your screen size or phone model so that they add more media queries for smaller screens? I am on 15PM and see it with no issues but clearly understand what you mean.

@iluyimbazi  it's 12p

I earlier saw a suggestion to add pagination, though it could improve a couple of things this is a "wall" and should be treated as such without pages I think

I earlier saw a suggestion to add pagination, though it could improve a couple of things this is a "wall" and should be treated as such without pages i think a scroll to top button could solve the issue of scrolling too deep.


Add toMatchTitle matcher

Adds a new matcher toMatchTitle which will check that a page or frame has a given title.  This PR uses the idea I suggested in #97 to be a single matcher that accepts a string for exact matching or a regex for regex based matching.  Seemed to work really easily and results in just having one matcher to deal with.
Accepts a Page, Frame, or iframe ElementHandle.

Codecov Report

Merging #98 (96bcfe3) into master (26e074b) will decrease coverage by 0.68%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   95.48%   94.79%   -0.69%
==========================================
  Files          12       13       +1
  Lines         177      192      +15
  Branches       28       30       +2
==========================================
+ Hits          169      182      +13
- Misses          8       10       +2

Impacted Files
Coverage Δ

src/matchers/utils.ts
100.00% <ø> (ø)

src/matchers/toMatchTitle/index.ts
85.71% <85.71%> (ø)

src/matchers/index.ts
100.00% <100.00%> (ø)

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 26e074b...96bcfe3. Read the comment docs.


The position of the institute and e-mail address set by author-info-blocks.

Hi, thank you so much for your beautiful works. They are really useful and nice.
However, I found a problem in author-info-blocks.lua. That problem is, as mentioned in this Stack Overflow post, when I set Abstract and TOC, the authors' names and affiliations are divided into two blocks by them.
Is there any solution?
Thank you for your help.

Apologies for the late reply. There is currently no solution to this.

I hope you don't mind. Thank you for your reply and adding the label.


ticdc(ddl): disable syncing timeout when replicate physical ddls

What problem does this PR solve?
When synchronizing Reorg or partition DDLs to the downstream database, if the execution takes too long and times out, TiCDC may re-execute the operation, resulting in duplicate execution of the DDLs on the downstream.
Issue Number: ref #2543
What is changed and how it works?
When executing Reorg or Partition DDLs in TiDB, disable the timeout mechanism by default
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
NA
Will it cause performance regression or break compatibility?
NA
Do you need to update user documentation, design documentation or monitoring documentation?
NA
Release note
`None`

/test all

/test cdc-integration-kafka-test

/test all

/test all

/test verify

/test all

/test all

/test all

/merge


[Perf Framework] Need documentation on how to configure

There doesn't appear to be any existing documentation on how to use the .NET Perf Test framework, beyond using the sample project as a reference.
There is some behavior that is hard to know without debugging. For instance, if your perf scenario classes end with "Test" you need to strip it off before passing it in as a command line argument? The sample actually uses test in the scenario names, but I didn't find any docs explaining this. I know this now after debugging and finding this code.
Also, there is no documentation on how to actually run the tests locally.

/cc @mikeharder in case these docs already exist and I'm just looking in the wrong place

There is some documentation here:
https://github.com/Azure/azure-sdk-for-net/wiki/Writing-performance-tests-for-Client-libraries
Currently, one of the best ways to understand how to build and run perf tests is by looking at the pipeline logs and/or the perf automation code:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1925758&view=logs&j=42ded549-05ee-5cdb-7ba7-7a948a0cc056&t=49e32a0b-4245-531b-0723-9d45113ffbd3
https://github.com/Azure/azure-sdk-tools/blob/main/tools/perf-automation/Azure.Sdk.Tools.PerfAutomation/Cpp.cs
Related, we encourage people to use the perf pipelines as much as possible, rather than testing locally.  It's usually faster and easier, and you don't need to manually deploy resources, setup your VM, etc.
But if you are doing a lot of inner-loop development and testing, or testing scenarios which don't have pipelines yet, then running locally can make sense.  We can also add pipelines for more scenarios as needed, it's pretty easy (mostly copying an existing pipeline).

I'd suggest we move that wiki content into a README in the perf directory. I didn't know to even look in the wiki directory.

I have no objection, if you or someone on the .NET team would like to create a PR for this.  @AlexanderSher is taking point as the perf representative for .NET.

The same is true for changes to the perf framework itself, like the behavior of removing the "Test" suffix from the verb names.  If the .NET team wants to change this, I have no objection.  Whatever you think makes the perf framework most useful for your team internally.  We do need to be careful about breaking changes, or doing this differently than other languages, but we should be able to accommodate most changes.


1.12.2  SF/SV: Sponge ignores the server.properties  worldborder  size

Spotted while creating a new fresh server setup: After launching the server, fixing the eula.txt, and editing the server.properties file to have a worldborder size of 1000, then relaunching....
... both spongevanilla and spongeforge ignore that file setting, and have the worldborder set at 60million
Since the server grabs all the other initial settings that may be set in the server.properties file, one would expect it would, override the internal default
I am currently running...

SpongeForge version: spongeforge-1.12.2-2486-7.0.0-BETA-2665
SpongeVanilla version: spongevanilla-1.12.2-7.0.0-BETA-337

I know that I observed this behavior many moons ago and thought it had been reported but I see no open issues for any of the implimentations or common.  If this is a duplicate of something, I apologize in advance for not spotting it.

Hmm, follow up work shows that the mojang server jar all by itself also fails to read the border setting from the properties file, so that takes the pressure off.
Unless that is something that Sponge can step in and clean up a spill mojang made... :)

What setting are you expecting to control the world border.
"""
This sets the maximum possible size in blocks, expressed as a radius, that the world border can obtain. Setting the world border bigger causes the commands to complete successfully but the actual border will not move past this block limit. Setting the max-world-size higher than the default doesn't appear to do anything.
Examples:
Setting max-world-size to 1000 will allow you to have a 2000x2000 world border.
Setting max-world-size to 4000 will give you an 8000 x 8000 world border.
"""
https://minecraft.gamepedia.com/Server.properties

aah my misunderstanding :)

well actually... no maybe not.  Yes ( a quck check confirms physically that vanilla mojang does have an unsurvivable area beyond the 2x distance, sure..
I think what tended to alert and surprise me is that the
/worldborder get
command should display the border size.... it displays 60mil
And I think - and will make something shortly to test this - that sponge gets its worldborder size from the same spot that the vanilla setting is from, and though there may be a physical barrier constructed at the 2000 mark, the /worldborder being 60M  hands that information to the chunk pregenerating code as well  (which would explain some tests before running for eons and only getting 0% done...)
The game seems to require using the /worldborder command in order to 'synchronize' the data stored in two different places.

Did a bit more digging, both mojang by itself and spongevanilla behave the same way (due to core obviously)
Whatever the setting is in the server properties, that radius gets used for the border, but that value is not written into the NBT of level.dat file at all, which holds the default 60M value, until the /worldborder command gets used to set it, then the dat file is updated.
It need not be fresh-new server - failing to set the worldborder by command (or presumedly, programmaticaly in sponge), the value in the properties file is used for the barrier, but not the worldborder ever...
This would definitely explain a lot of some of the trial issues and problems folks have had pregenerating worlds in the past, if they fail to set the border diameter by command first, or within whichever plugin takes it as an argument (but most do not require that entry, and use 'the default' settings to call the pregenerator).  For those of us who set the value in the properties file when setting up servers, and see that the boundary is right where its expected to be, we wouldn't need to specify a radius /diameter for whatever plugin is going to pregenerate, hence it sometimes taking many many hours and not really getting anywhere..it actually was, getting there and beyond.
Until this gets fixed up, it would probabably be good for any authors who offer world pregen to specify the diameter be manditory entry...


how to close auto reply on group chat?

how to close auto reply on group chat?
only reply when i @bot.

I have encountered a similar question and added filters in bot.py to ensure that the bot replies to messages sent to @bot and incoming messages reply to the bot. It would be greatly appreciated if the author could add some configuration to facilitate this filtering process.

All group chat features will be added soon

Hi! I've just added support of group chats. Please update the code (git pull) and send /help_group_chat to bot to get instructions (I also added video instruction there)
@EsqerYasen @ericz15 @clemsau